Commit Graph

28 Commits

Author SHA1 Message Date
72b2d8d525 x86_64: re-implement ml_halt_cpu() in pure assembly 2023-02-05 10:27:29 +00:00
2b2c5a24da x86_64: fix broken multiboot pointer boot arg 2023-02-05 10:26:47 +00:00
1abc7a4f6c x86_64: move non-ML headers to include/arch/ 2023-02-05 09:45:17 +00:00
17b90a484a kernel: print version banner on boot 2023-02-04 19:19:48 +00:00
49d2b0a847 x86_64: make vgacon clear the display on init 2023-02-04 19:19:37 +00:00
dee639968b x86_64: remove vga functions from start_32 and start_64 2023-02-04 19:18:25 +00:00
31cb7aab8b kernel: add basic console registration system and printk() 2023-02-04 19:03:45 +00:00
d0a431c860 kernel: add basic spinlocks 2023-02-04 19:03:30 +00:00
6e290ee18a x86_64: cleanup 2023-02-04 15:25:39 +00:00
c65f034e0e kernel: x86_64: add machine init function called by kernel_init 2023-02-03 20:24:27 +00:00
fe6b7220df Kernel is now compiled with -Wall -Werror -pedantic 2022-12-28 18:40:41 +00:00
23e8e654d9 Changed jump label in gdt_load 2022-12-24 21:11:43 +00:00
0309e1edd1 Adjusted build system to make it more portable 2022-12-24 17:42:33 +00:00
26853c32c8 Implemented GDT initialisation 2022-12-24 10:28:41 +00:00
0c0830cca7 QEMU monitor is now enabled 2022-12-24 10:28:28 +00:00
62ec27e76b start_32 now maps 2GiB of virtual memory instead of 1 GiB 2022-12-24 10:28:01 +00:00
a3be1de07d start_64 vga_clear now clears the screen AND resets the colour attribute bytes 2022-12-21 08:31:11 +00:00
43a15c2dee Boot log is now stored in the build directory 2022-12-21 08:30:23 +00:00
8475a6139e Implemented some basic libc functions and a text console 2022-12-21 08:29:33 +00:00
38202e5ccd Fixed a misnamed label in start_64 print_kernel_identifier 2022-12-15 13:48:55 +00:00
72bf6faadd Started implementing debugging facilities 2022-12-14 21:45:24 +00:00
51e065faaf Fixed some more dodgy formatting 2022-12-14 18:44:46 +00:00
48f00ba3b1 Optimised start_64 vga_clear() 2022-12-14 18:41:41 +00:00
a5c6240761 Adjusted the start_64 kernel identifier message 2022-12-14 18:40:06 +00:00
f9c835b9d6 Removed unused function and error message 2022-12-14 18:33:51 +00:00
a94dfdc952 Reformat for 8-width tabs 2022-12-14 18:31:27 +00:00
766667a6ad Finished implementing paging init and long mode switch 2022-12-13 22:22:04 +00:00
3402207602 Added build system and some core boot files 2022-12-13 20:22:11 +00:00