mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
afa8862328
a heavily stripped down FreeBSD/i386 (brutally stripped down actually) to attempt to get a stable base to start from. There is a lot missing still. Worth noting: - The kernel runs at 1GB in order to cheat with the pmap code. pmap uses a variation of the PAE code in order to avoid having to worry about 4 levels of page tables yet. - It boots in 64 bit "long mode" with a tiny trampoline embedded in the i386 loader. This simplifies locore.s greatly. - There are still quite a few fragments of i386-specific code that have not been translated yet, and some that I cheated and wrote dumb C versions of (bcopy etc). - It has both int 0x80 for syscalls (but using registers for argument passing, as is native on the amd64 ABI), and the 'syscall' instruction for syscalls. int 0x80 preserves all registers, 'syscall' does not. - I have tried to minimize looking at the NetBSD code, except in a couple of places (eg: to find which register they use to replace the trashed %rcx register in the syscall instruction). As a result, there is not a lot of similarity. I did look at NetBSD a few times while debugging to get some ideas about what I might have done wrong in my first attempt.
92 lines
1.9 KiB
Plaintext
92 lines
1.9 KiB
Plaintext
# $FreeBSD$
|
|
hint.fdc.0.at="isa"
|
|
hint.fdc.0.port="0x3F0"
|
|
hint.fdc.0.irq="6"
|
|
hint.fdc.0.drq="2"
|
|
hint.fd.0.at="fdc0"
|
|
hint.fd.0.drive="0"
|
|
hint.fd.1.at="fdc0"
|
|
hint.fd.1.drive="1"
|
|
hint.ata.0.at="isa"
|
|
hint.ata.0.port="0x1F0"
|
|
hint.ata.0.irq="14"
|
|
hint.ata.1.at="isa"
|
|
hint.ata.1.port="0x170"
|
|
hint.ata.1.irq="15"
|
|
hint.adv.0.at="isa"
|
|
hint.adv.0.disabled="1"
|
|
hint.bt.0.at="isa"
|
|
hint.bt.0.disabled="1"
|
|
hint.aha.0.at="isa"
|
|
hint.aha.0.disabled="1"
|
|
hint.aic.0.at="isa"
|
|
hint.aic.0.disabled="1"
|
|
hint.atkbdc.0.at="isa"
|
|
hint.atkbdc.0.port="0x060"
|
|
hint.atkbd.0.at="atkbdc"
|
|
hint.atkbd.0.irq="1"
|
|
hint.atkbd.0.flags="0x1"
|
|
hint.psm.0.at="atkbdc"
|
|
hint.psm.0.irq="12"
|
|
hint.vga.0.at="isa"
|
|
hint.sc.0.at="isa"
|
|
hint.sc.0.flags="0x100"
|
|
hint.vt.0.at="isa"
|
|
hint.vt.0.disabled="1"
|
|
hint.pcic.0.at="isa"
|
|
# hint.pcic.0.irq="10" # Default to polling
|
|
hint.pcic.0.port="0x3e0"
|
|
hint.pcic.0.maddr="0xd0000"
|
|
hint.pcic.1.at="isa"
|
|
hint.pcic.1.irq="11"
|
|
hint.pcic.1.port="0x3e2"
|
|
hint.pcic.1.maddr="0xd4000"
|
|
hint.pcic.1.disabled="1"
|
|
hint.sio.0.at="isa"
|
|
hint.sio.0.port="0x3F8"
|
|
hint.sio.0.flags="0x10"
|
|
hint.sio.0.irq="4"
|
|
hint.sio.1.at="isa"
|
|
hint.sio.1.port="0x2F8"
|
|
hint.sio.1.irq="3"
|
|
hint.sio.2.at="isa"
|
|
hint.sio.2.disabled="1"
|
|
hint.sio.2.port="0x3E8"
|
|
hint.sio.2.irq="5"
|
|
hint.sio.3.at="isa"
|
|
hint.sio.3.disabled="1"
|
|
hint.sio.3.port="0x2E8"
|
|
hint.sio.3.irq="9"
|
|
hint.ppc.0.at="isa"
|
|
hint.ppc.0.irq="7"
|
|
hint.ed.0.at="isa"
|
|
hint.ed.0.disabled="1"
|
|
hint.ed.0.port="0x280"
|
|
hint.ed.0.irq="10"
|
|
hint.ed.0.maddr="0xd8000"
|
|
hint.cs.0.at="isa"
|
|
hint.cs.0.disabled="1"
|
|
hint.cs.0.port="0x300"
|
|
hint.sn.0.at="isa"
|
|
hint.sn.0.disabled="1"
|
|
hint.sn.0.port="0x300"
|
|
hint.sn.0.irq="10"
|
|
hint.ie.0.at="isa"
|
|
hint.ie.0.disabled="1"
|
|
hint.ie.0.port="0x300"
|
|
hint.ie.0.irq="10"
|
|
hint.ie.0.maddr="0xd0000"
|
|
hint.fe.0.at="isa"
|
|
hint.fe.0.disabled="1"
|
|
hint.fe.0.port="0x300"
|
|
hint.le.0.at="isa"
|
|
hint.le.0.disabled="1"
|
|
hint.le.0.port="0x300"
|
|
hint.le.0.irq="5"
|
|
hint.le.0.maddr="0xd0000"
|
|
hint.lnc.0.at="isa"
|
|
hint.lnc.0.disabled="1"
|
|
hint.lnc.0.port="0x280"
|
|
hint.lnc.0.irq="10"
|
|
hint.lnc.0.drq="0"
|