-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arm64: Pass RAM boundary and enable-dcache flag to purgatory
When "enable-dcache" is passed to the kexec() command line, kexec-tools passes this information to purgatory, which in turn enables cache during sha-256 verification. RAM boundary which includes all the sections is needed for creating identity page mapping and to enable d-cache for those areas. Therefore these informations are passed to purgatory as well. Signed-off-by: Pratyush Anand <panand@redhat.com>
- Loading branch information
Pratyush Anand
committed
Aug 19, 2016
1 parent
272dcac
commit 77cb6d4
Showing
4 changed files
with
53 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#ifndef _TYPES_H_ | ||
#define _TYPES_H_ | ||
|
||
#define min(x,y) ({ \ | ||
typeof(x) _x = (x); \ | ||
typeof(y) _y = (y); \ | ||
(void) (&_x == &_y); \ | ||
_x < _y ? _x : _y; }) | ||
|
||
#define max(x,y) ({ \ | ||
typeof(x) _x = (x); \ | ||
typeof(y) _y = (y); \ | ||
(void) (&_x == &_y); \ | ||
_x > _y ? _x : _y; }) | ||
|
||
#endif /* _TYPES_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters