diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2022-11-18 15:03:07 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-11-22 12:55:26 +0000 |
commit | b538d71e3230552e2942a83e61dd132693d5241c (patch) | |
tree | ea31733eb4d5f70c023c14beebfdb099234204b4 /src/security/intel | |
parent | f903ef1d5f90728fac9d6772d9c33f9c5ed1501c (diff) |
security: Remove unnecessary space after casts
Change-Id: Ibd41382d0e0ef58498ac925dc9e10b54a76a798a
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69800
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/security/intel')
-rw-r--r-- | src/security/intel/stm/StmPlatformSmm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/security/intel/stm/StmPlatformSmm.c b/src/security/intel/stm/StmPlatformSmm.c index bcf935cb11..e5b3cf1d74 100644 --- a/src/security/intel/stm/StmPlatformSmm.c +++ b/src/security/intel/stm/StmPlatformSmm.c @@ -85,7 +85,7 @@ void setup_smm_descriptor(void *smbase, int32_t apic_id, int32_t entry32_off) TXT_PROCESSOR_SMM_DESCRIPTOR *psd; - smbase_processor = (void *) SMM_DEFAULT_BASE;//we are here + smbase_processor = (void *)SMM_DEFAULT_BASE;//we are here psd = smbase + SMM_PSD_OFFSET; printk(BIOS_DEBUG, @@ -121,8 +121,8 @@ void setup_smm_descriptor(void *smbase, int32_t apic_id, int32_t entry32_off) read_gdtr(&gdtr); - gdtr.base -= (uintptr_t) smbase_processor; - gdtr.base += (uintptr_t) smbase; + gdtr.base -= (uintptr_t)smbase_processor; + gdtr.base += (uintptr_t)smbase; psd->smm_gdt_ptr = gdtr.base; psd->smm_gdt_size = gdtr.limit + 1; // the stm will subtract, so add @@ -159,7 +159,7 @@ void stm_setup(uintptr_t mseg, int cpu, uintptr_t smbase, // some processor to receive a bad value // calculate the location in SMRAM addr_calc = mseg - CONFIG_BIOS_RESOURCE_LIST_SIZE; - stm_resource_heap = (uint8_t *) addr_calc; + stm_resource_heap = (uint8_t *)addr_calc; if (cpu == 0) { |