Skip to content

[M1] kernel_main: print "hello" over VGA/serial #4

Description

@mitsuakki

First C entry point, called after the jump to long mode. Zero .bss before calling (loop from linker-defined __bss_start to __bss_end). Proves the entire chain: GDT, paging, long mode transition, and the ASM-to-C calling boundary all work together.

Resources:

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions