cpu/x86/mtrr: Make 'above4gb' variable a bool
No need for this to be a signed or unsigned int. TEST=tested with rest of patch train. Change-Id: I409c04b928211e0e89eec324fdf3fa3997c73576 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/86942 Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com> Reviewed-by: Shuo Liu <shuo.liu@intel.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
c8069bc53f
commit
8da0d01ba0
2 changed files with 15 additions and 14 deletions
|
|
@ -103,10 +103,10 @@ void x86_setup_mtrrs_with_detect_no_above_4gb(void);
|
|||
/*
|
||||
* x86_setup_var_mtrrs() parameters:
|
||||
* address_bits - number of physical address bits supported by cpu
|
||||
* above4gb - if set setup MTRRs for addresses above 4GiB else ignore
|
||||
* above4gb - if true, set setup MTRRs for addresses above 4GiB else ignore
|
||||
* memory ranges above 4GiB
|
||||
*/
|
||||
void x86_setup_var_mtrrs(unsigned int address_bits, unsigned int above4gb);
|
||||
void x86_setup_var_mtrrs(unsigned int address_bits, bool above4gb);
|
||||
void enable_fixed_mtrr(void);
|
||||
/* Unhide Rd/WrDram bits and allow modification for AMD. */
|
||||
void fixed_mtrrs_expose_amd_rwdram(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue