mirror of
https://gitlab.com/bztsrc/bootboot.git
synced 2023-02-13 20:54:32 -05:00
Merge branch 'master' of https://gitlab.com/bztsrc/bootboot
This commit is contained in:
commit
cb25851528
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ void parsekernel(int idx, unsigned char *data, int v)
|
|||
pehdr->file_type == PE_OPT_MAGIC_PE32PLUS) {
|
||||
if(v) printf("PE32+\r\nArchitecture: %s\r\n", pehdr->machine == IMAGE_FILE_MACHINE_ARM64 ? "AArch64" : (
|
||||
pehdr->machine == IMAGE_FILE_MACHINE_AMD64 ? "x86_64" : (
|
||||
pehdr->machine == IMAGE_FILE_MACHINE_AMD64 ? "riscv64" : "invalid")));
|
||||
pehdr->machine == IMAGE_FILE_MACHINE_RISCV64 ? "riscv64" : "invalid")));
|
||||
if(pehdr->machine == IMAGE_FILE_MACHINE_ARM64) { ma = 2*1024*1024-1; fa = 4095; initrd_arch[idx] = 1; } else
|
||||
if(pehdr->machine == IMAGE_FILE_MACHINE_AMD64) { ma = 4095; fa = 2*1024*1024-1; initrd_arch[idx] = 2; } else
|
||||
if(pehdr->machine == IMAGE_FILE_MACHINE_RISCV64){ma = 4095; fa = 2*1024*1024-1; initrd_arch[idx] = 3; } else
|
||||
|
|
Loading…
Reference in a new issue