Setup processor context (GDT, PCR, TSS) and kernel startup stack before booting XTOS

This commit is contained in:
2023-01-25 18:39:07 +01:00
parent 3ad3149f80
commit 3b08bcaa4f
5 changed files with 573 additions and 1 deletions

View File

@@ -10,7 +10,8 @@ include_directories(
# Specify list of source code files
list(APPEND XTLDR_XTOS_SOURCE
${XTLDR_SOURCE_DIR}/blproto.c
${XTLDR_XTOS_SOURCE_DIR}/xtos.c)
${XTLDR_XTOS_SOURCE_DIR}/xtos.c
${XTLDR_XTOS_SOURCE_DIR}/${ARCH}/cpu.c)
# Link bootloader executable
add_executable(xtos ${XTLDR_XTOS_SOURCE})