Re: [PATCH] x86/loader: Rectify the address of setup_data

2025-09-11 Thread Xiaoyao Li
On 8/14/2025 10:14 PM, Xiaoyao Li wrote: Commit 214191f6b574 ("x86/loader: read complete kernel") changed the semantics of kernel_size from the piggyback kernel to the whole kernel file, which leads to the setup_data_offset contains setup_size and leads to wrong address of setup_data being writte

[PATCH] x86/loader: Rectify the address of setup_data

2025-08-14 Thread Xiaoyao Li
Commit 214191f6b574 ("x86/loader: read complete kernel") changed the semantics of kernel_size from the piggyback kernel to the whole kernel file, which leads to the setup_data_offset contains setup_size and leads to wrong address of setup_data being written in header[0x250]. Fix it by minusing set