include/cper.h: Update cper_ia32x64_context_t
Use flexible array member cper_ia32x64_context to simplify the struct usage. Change-Id: I729cb914031b55b2b58bc9e459ee0ea15c7626e8 Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/90479 Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
14a7a2315e
commit
e393fd00a4
2 changed files with 3 additions and 5 deletions
|
|
@ -289,7 +289,7 @@ typedef struct cper_ia32x64_context {
|
|||
u16 array_size;
|
||||
u32 msr_addr;
|
||||
u64 mmap_addr;
|
||||
/* N bytes of register array */
|
||||
u8 register_array[]; /* N bytes of register array */
|
||||
} __packed cper_ia32x64_context_t;
|
||||
|
||||
/* IA32/X64 Processor Context Information, Types field (Table N.13) */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue