From: Pawel R. <paw...@in...> - 2023-01-25 09:25:25
|
changeset dcc226f98508 in /hg/p/tboot/code details: http://hg.code.sf.net/p/tboot/code/code?cmd=changeset;node=dcc226f98508 description: Revert change for log memory extension As mentioned in an e-mail from Łukasz Hawryłko changeset b06289220ef8 introduced memory overlaps that I was not aware of. Unfortunately, setups that I tested on did not have any issues and so I was not anticipating any. This revert should fix it to at previous correct state. diffstat: include/config.h | 2 +- include/tboot.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diffs (24 lines): diff -r 4a904a608c70 -r dcc226f98508 include/config.h --- a/include/config.h Fri Dec 23 10:15:47 2022 +0100 +++ b/include/config.h Wed Jan 25 10:20:43 2023 +0100 @@ -56,7 +56,7 @@ /* address/size for memory-resident serial log (when enabled) */ #define TBOOT_SERIAL_LOG_ADDR TBOOT_LOWMEM_START -#define TBOOT_SERIAL_LOG_SIZE 0x32000 +#define TBOOT_SERIAL_LOG_SIZE 0x08000 /* address/size for modified e820 table */ #define TBOOT_E820_COPY_ADDR (TBOOT_SERIAL_LOG_ADDR + \ diff -r 4a904a608c70 -r dcc226f98508 include/tboot.h --- a/include/tboot.h Fri Dec 23 10:15:47 2022 +0100 +++ b/include/tboot.h Wed Jan 25 10:20:43 2023 +0100 @@ -131,7 +131,7 @@ #define ZIP_COUNT_MAX 10 typedef struct { uuid_t uuid; - uint32_t max_size; + uint16_t max_size; uint16_t curr_pos; uint16_t zip_pos[ZIP_COUNT_MAX]; uint16_t zip_size[ZIP_COUNT_MAX]; |