From e50cbe8eb763cf63fb44b047d5164f6fbf07eb39 Mon Sep 17 00:00:00 2001 From: Alejandro Sior Date: Fri, 13 May 2022 20:50:39 +0200 Subject: boot: longmode to realmode stub This is the initial commit to the repo. It adds all the code. The last proper thing that I got working before committing is calling real mode functions from long mode using a stub. Next up, I would like to implement a disk reader abstraction over the BIOS in order to read form partitions (most notably FAT32). --- rt/halt.ha | 1 + 1 file changed, 1 insertion(+) create mode 100644 rt/halt.ha (limited to 'rt/halt.ha') diff --git a/rt/halt.ha b/rt/halt.ha new file mode 100644 index 0000000..228beb8 --- /dev/null +++ b/rt/halt.ha @@ -0,0 +1 @@ +export @noreturn fn halt() void; \ No newline at end of file -- cgit v1.2.3