460 Commits

Author SHA1 Message Date
2b87792c67 Store ACPI table pointers in list 2023-10-25 19:13:36 -04:00
e480bd0ed0 Enable PIT ISR to count milliseconds 2023-10-25 12:02:44 -04:00
e357f2ba44 Initialize USB controllers from Usb instead of Pci 2023-10-24 10:44:48 -04:00
f8f9b72588 Store PCI addresses and types as 32-bit uints 2023-10-24 10:25:16 -04:00
d86bf47211 Store a List of discovered PCI devices 2023-10-24 08:49:11 -04:00
757f8f8c65 Make A1.allocate() zero returned memory 2023-10-24 08:48:26 -04:00
8303451929 Add List class 2023-10-24 08:48:00 -04:00
1c6c922b45 Add Pci.Type struct 2023-10-22 21:30:36 -04:00
7632445d43 Add console escape sequences to draw headings 2023-10-21 22:13:20 -04:00
601ea50e4b Console: delay newline rendering until non newline character 2023-10-21 21:21:46 -04:00
722494af44 Console: do not index nonexistent character codes 2023-10-21 21:04:18 -04:00
e1f38bd5ea Initialize RTC after APIC 2023-10-21 20:47:15 -04:00
bcf1bd3bde HELLO: Zero HULK BSS region after mapping it 2023-10-21 20:46:27 -04:00
f7dde241ad Split console into two pages 2023-10-21 20:15:11 -04:00
8638840cd8 Add console header line 2023-10-21 17:08:45 -04:00
4273c703e9 writef: split into writef() and writefv() 2023-10-21 16:45:41 -04:00
b2597fb5da Add hulk.ver module 2023-10-18 19:33:43 -04:00
291ba2bc1c Remove xHCI TODO 2023-10-13 14:17:34 -04:00
71bc3543a1 fontgen: show more error info for invalid character metrics 2023-09-26 12:00:22 -04:00
a87d24d417 Reduce kernel console font size slightly 2023-09-26 09:59:22 -04:00
6fcc6da022 Remove APIC debug outputs 2023-09-24 11:03:21 -04:00
dc07fd0255 Document xHCI runtime registers and interrupter registers 2023-09-23 19:48:14 -04:00
eb0a4b2a4d Document xHCI port registers 2023-09-23 19:28:35 -04:00
0ae3c6c96d Document xHCI operational registers 2023-09-23 11:59:20 -04:00
4814b51daf Dump xHCI extended capabilities 2023-09-19 11:07:18 -04:00
14bb3adf37 Document xHCI capability registers 2023-09-19 11:07:02 -04:00
cda45b205d Remove legacy PCI bus scanning 2023-09-17 16:13:37 -04:00
cfd42550fc Add struct definitions for all PCI header types 2023-09-17 15:22:58 -04:00
673ce8f097 Scan PCI devices via MCFG table 2023-09-17 14:49:02 -04:00
ba0befa21b Check that needed ACPI tables are found 2023-09-17 13:40:26 -04:00
fa4de31aa4 Store pertinent ACPI table pointers 2023-09-17 11:22:58 -04:00
3412d9ece9 Add Klog.fatal_error() 2023-09-17 11:15:02 -04:00
e8978c73f2 Move PCI initialization after ACPI/APIC/RTC 2023-09-17 11:00:48 -04:00
f79b0098c5 Map ACPI tables as disable cache + no execute 2023-09-17 09:12:20 -04:00
10d7e7f0c6 Move parsing of ACPI tables into table structures
Move mapping ACPI table memory into common location
2023-09-17 09:08:01 -04:00
e088f942d1 Use Acpi.Header in ACPI table structures 2023-09-17 08:53:34 -04:00
6514af8e94 Begin parsing MCFG ACPI table 2023-09-17 08:41:08 -04:00
602a7525d2 Add %p format specifier for printing pointers 2023-09-16 17:09:55 -04:00
617b861524 Size to hulk.elf.size 2023-09-15 13:38:25 -04:00
2f968de7ed Disassemble to hulk.elf.txt 2023-09-15 13:37:48 -04:00
68e85999fb Drop unused sections when linking HULK 2023-09-15 13:37:00 -04:00
6b1445935c Update mk-vmdk task to have a file template since VBoxManage createmedium command was failing 2023-09-15 11:04:36 -04:00
665d8aef80 Update qemu command to change machine to q35
This enables PCIe
2023-09-15 11:04:12 -04:00
af5ad73cf7 Update instructions for VirtualBox to change machine chipset
This enables PCIe
2023-09-15 11:03:39 -04:00
4c67faaad4 Rework Kfont to store glyph top as offset from top of text row 2023-09-13 13:48:11 -04:00
4fcea6a283 Reverse framebuffer vertical coordinates to start with 0 at top 2023-09-13 11:57:47 -04:00
c958b9ffcc Remove alpha-blending framebuffer functions 2023-09-13 10:57:45 -04:00
3d911ab191 Adjust console text height by font baseline offset
This fixes having leftover pixels on screen bottom when scrolling the
console up.
2023-09-13 10:52:24 -04:00
d04c5444c7 fontgen: put character number before character data 2023-09-13 08:54:09 -04:00
209658ee09 Use cache to mkdir_p for HulkBinObj builder 2023-09-10 09:48:07 -04:00