438 Commits

Author SHA1 Message Date
ba9cf30e67 Clean up linker script symbols 2022-11-03 15:41:14 -04:00
b9675019e7 Rename BOOTX64.EFI -> HOS.EFI 2022-11-03 13:54:42 -04:00
aa9809e0ed README: add building instructions 2022-11-03 13:34:21 -04:00
07202b902b README: fix headings 2022-11-03 13:30:09 -04:00
08501e86bb README: Add HOS System Requirements 2022-11-03 13:29:05 -04:00
10a2d63e08 Add instructions to run HOS from GRUB 2022-11-03 13:27:24 -04:00
8aa01ba122 Build HELLO page tables from unused memory instead of scratch buffer 2022-11-02 22:49:42 -04:00
0b326e2e36 Move PAGE_SIZE from hulk.hippo to hulk.pagetable 2022-11-01 22:23:26 -04:00
e49c27cbbc Increase scratch space to 10MB 2022-10-30 21:29:19 -04:00
49677c8499 PageTableEntry improvements
- fix alias this
- add properties for dirty/accessed
- add opIndex for direct indexing
2022-10-29 22:07:38 -04:00
1e1c389caf Turn on EFER NXE bit to allow no-execute pages 2022-10-27 23:42:18 -04:00
7b531e36ea Fix HELLO check that HULK bss and stack region could be found 2022-10-26 23:26:25 -04:00
7540d4302e Add a couple more page table flags 2022-10-26 23:18:08 -04:00
ba7c2996d5 Add MSR_EFER and rdmsr() 2022-10-26 22:45:09 -04:00
707d42bec4 Remove PageTable.opIndex and .opIndexAssign, use .entry 2022-10-26 21:58:22 -04:00
476ae7d6fd Move hos.* modules to hulk.* 2022-10-26 00:16:07 -04:00
4a431f7d93 Use hulk.pagetable from hello 2022-10-26 00:05:49 -04:00
555ec9b627 Split PageTable struct out from hulk.hurl to hulk.pagetable 2022-10-25 23:30:17 -04:00
c11361d40f Build new page tables in HULK 2022-10-19 23:59:11 -04:00
c8a81b1101 Add PAGE_SIZE constant 2022-10-18 21:53:38 -04:00
41531cf4d2 Rename Hurl to hurl for consistency 2022-10-18 20:59:13 -04:00
edbe33bcfa Add ApicRegisters structure 2022-10-18 20:48:46 -04:00
747e824dae Fix calcuation of reserved HULK binary pages 2022-10-18 16:23:13 -04:00
b1be5b888f Add apic module that does not do anything yet 2022-10-18 12:56:02 -04:00
dba58b2277 acpi: show APIC address found 2022-10-18 12:55:41 -04:00
72b83b0c3c Hurl.debug_lookup(): show page table entry index 2022-10-18 12:54:27 -04:00
90711adada Actually calling Hurl.initialize() helps a lot 2022-10-18 12:51:08 -04:00
4f98c469b7 Add Hurl.debug_lookup() 2022-10-18 11:18:19 -04:00
7d2b535df5 Add hulk.acpi module 2022-10-18 00:48:56 -04:00
2f1a12be81 Add Hurl.map_range() 2022-10-18 00:48:40 -04:00
5ca95a5662 memcpy*() should take const src ptr 2022-10-18 00:47:46 -04:00
7471a846ec Locate the ACPI XSDT 2022-10-17 21:48:43 -04:00
2ee920fdd2 Reset console position on OSOD 2022-10-14 17:10:32 -04:00
d24eafbd63 Tweak VirtualBox instructions 2022-10-14 16:05:35 -04:00
6f94bc3ddd Add VirtualBox instructions and task to create a VMDK 2022-10-14 15:57:26 -04:00
777820d471 Tell rscons the map files are side-effect files 2022-10-14 15:28:38 -04:00
b3ca9af48a Disable PIC 2022-09-06 22:35:41 -04:00
43d945b5e8 Enable interrupts and halt CPU 2022-09-04 23:03:20 -04:00
bc7fd3f2fc Add idt module and set up IDT 2022-09-04 22:25:46 -04:00
b72c69ef1c Clear interrupts on HULK startup just in case 2022-09-01 15:50:59 -04:00
66bd51ffb0 Add hulk.gdt module and create our own GDT 2022-09-01 15:43:00 -04:00
16143a727a Avoid using SSE instructions in writef functions 2022-08-23 22:48:52 -04:00
63e6fd4bb5 Add run-vb task 2022-08-20 19:57:10 -04:00
b4a4638a82 Create HOS.img with a GPT partition table and EFI partition 2022-08-20 19:01:25 -04:00
93763917c1 Rename hos.img -> HOS.img 2022-08-18 23:03:16 -04:00
743cf9ffef Update to rscons 3.1.0 2022-08-11 15:08:49 -04:00
b9f051017c Rename max_physical_address -> physical_address_limit 2022-05-03 19:46:46 -04:00
59890868c1 Fix efibootmgr command to install HOS to physical machine 2022-05-03 16:18:47 -04:00
6b715c9051 Add README.md with installation instructions 2022-05-01 16:17:11 -04:00
89f7d2120f Add Hurl struct with map() method 2022-05-01 09:26:33 -04:00