Update boot sequence and check PE/COFF image machine type compatibility

This commit is contained in:
2022-12-20 19:11:15 +01:00
parent edee9a8ec6
commit 7c38efc802
3 changed files with 24 additions and 14 deletions

View File

@@ -10,11 +10,11 @@
#define __XTDK_AMD64_KETYPES_H
/* Static Kernel-Mode Address start */
/* Static Kernel-Mode address start */
#define KSEG0_BASE 0xFFFFF80000000000
/* XTOS Kernel address base */
#define KERNEL_ADDRESS_BASE 0x0000000800000000
#define KSEG0_KERNEL_BASE 0x0000000800000000
/* XTOS Kernel stack size */
#define KERNEL_STACK_SIZE 8

View File

@@ -14,7 +14,7 @@
#define KSEG0_BASE 0x80000000
/* XTOS Kernel address base */
#define KERNEL_ADDRESS_BASE 0x01800000
#define KSEG0_KERNEL_BASE 0x01800000
/* XTOS Kernel stack size */
#define KERNEL_STACK_SIZE 8