mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
NetBSD and OpenBSD fixes:
- Correct timer and interrupt controller mappings - Add ESP clock frequency to avoid division by zero - CS4231 exists only in SS5 - Disable BPP for now, it's not emulated by Qemu anyway With these fixes, one NetBSD kernel even got to root device prompt on SS5. git-svn-id: svn://coreboot.org/openbios/openbios-devel@147 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -491,6 +491,11 @@ ob_esp_init(unsigned int slot, unsigned long base, unsigned long offset)
|
||||
push_str("reg");
|
||||
fword("property");
|
||||
|
||||
PUSH(0x02625a00);
|
||||
fword("encode-int");
|
||||
push_str("clock-frequency");
|
||||
fword("property");
|
||||
|
||||
for (id = 0; id < 8; id++) {
|
||||
if (!esp->sd[id].present)
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user