Initial XTOS boot protocol support
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
2022-11-07 20:21:07 +01:00
parent 3c6136811b
commit f0868b91ec
5 changed files with 232 additions and 6 deletions

View File

@@ -21,11 +21,13 @@
#define _ARCH_I686 1
#define _XT32 1
#define EFI_ERROR_MASK 0x80000000
#define XTOS_KERNEL_ADDRESS 0x81800000
#elif defined(__amd64__) || defined(__x86_64__)
#define _ARCH amd64
#define _ARCH_AMD64 1
#define _XT64 1
#define EFI_ERROR_MASK 0x8000000000000000
#define XTOS_KERNEL_ADDRESS 0xFFFFF80800000000
#else
#error Unknown architecture
#endif