Skip to content

Commit

Permalink
Build bochs with ne2000 support, and add sample lines in bochsrc.txt
Browse files Browse the repository at this point in the history
to match.
  • Loading branch information
Michael Brown committed Jul 2, 2007
1 parent e3bbfd7 commit 8febe42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/bochs/README
Expand Up @@ -27,7 +27,7 @@ To get bochs running is fairly simple:
pushd bochs
./configure --enable-all-optimisations --enable-pci --enable-pnic \
--enable-debugger --enable-magic-breakpoints \
--enable-disasm --enable-show-ips
--enable-disasm --enable-show-ips --enable-ne2000
popd

4. Build bochs:
Expand Down
3 changes: 3 additions & 0 deletions contrib/bochs/bochsrc.txt
Expand Up @@ -145,6 +145,7 @@ megs: 32
#optromimage3: file=optionalrom.bin, address=0xd2000
#optromimage4: file=optionalrom.bin, address=0xd3000
optromimage1: file=../../src/bin/pnic.rom, address=0xd0000
#optromimage1: file=../../src/bin/rtl8029.rom, address=0xd0000

#optramimage1: file=/path/file1.img, address=0x0010000
#optramimage2: file=/path/file2.img, address=0x0020000
Expand Down Expand Up @@ -631,6 +632,7 @@ private_colormap: enabled=0
# ne2k: ioaddr=0x240, irq=9, mac=b0:c4:20:00:00:01, ethmod=vde, ethdev="/tmp/vde.ctl"
# ne2k: ioaddr=0x240, irq=9, mac=b0:c4:20:00:00:01, ethmod=vnet, ethdev="c:/temp"
pnic: mac=fe:fd:00:00:00:01, ethmod=tuntap, ethdev=/dev/net/tun:tap0
#ne2k: ioaddr=0x240, irq=9, mac=fe:fd:00:00:00:01, ethmod=tuntap, ethdev=/dev/net/tun:tap0

#=======================================================================
# KEYBOARD_MAPPING:
Expand Down Expand Up @@ -684,6 +686,7 @@ user_shortcut: keys=ctrl-alt-del
# i440fxsupport: enabled=1, slot1=pcivga, slot2=ne2k
#=======================================================================
i440fxsupport: enabled=1, slot1=pcipnic
#i440fxsupport: enabled=1, slot1=ne2k

#=======================================================================
# USB1:
Expand Down

0 comments on commit 8febe42

Please sign in to comment.