feat(kernel): add PL011 UART console and arch I/O helpers
- Add IOSerial: PL011 (0x0900_0000) TX with FIFO-full polling, yield while waiting - Add Arch/IO.h (32-bit MMIO with DSB) and Arch/CPU.h (yield, WFI) - Extend types.h (e.g. ASCII, Address, Int/UInt aliases) - Wire KernelMain to IOSerialPutString for early boot output - Drop .sourcekit-lsp config; note IO glob in CMake (commented)
This commit is contained in:
@@ -5,6 +5,7 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
file(GLOB_RECURSE KERNEL_SOURCES CMAKE_CONFIGURE_DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/Source/KernelMain.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/Source/Arch/entry.S
|
||||
# ${CMAKE_CURRENT_SOURCE_DIR}/Source/IO/*.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/Source/**/*.c
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user