Browse Source

Build bochs with ne2000 support, and add sample lines in bochsrc.txt

to match.
tags/v0.9.3
Michael Brown 17 years ago
parent
commit
8febe42f78
2 changed files with 4 additions and 1 deletions
  1. 1
    1
      contrib/bochs/README
  2. 3
    0
      contrib/bochs/bochsrc.txt

+ 1
- 1
contrib/bochs/README View File

27
       pushd bochs
27
       pushd bochs
28
       ./configure --enable-all-optimisations --enable-pci --enable-pnic \
28
       ./configure --enable-all-optimisations --enable-pci --enable-pnic \
29
                   --enable-debugger --enable-magic-breakpoints \
29
                   --enable-debugger --enable-magic-breakpoints \
30
-		  --enable-disasm --enable-show-ips
30
+		  --enable-disasm --enable-show-ips --enable-ne2000
31
       popd
31
       popd
32
 
32
 
33
 4.  Build bochs:
33
 4.  Build bochs:

+ 3
- 0
contrib/bochs/bochsrc.txt View File

145
 #optromimage3: file=optionalrom.bin, address=0xd2000
145
 #optromimage3: file=optionalrom.bin, address=0xd2000
146
 #optromimage4: file=optionalrom.bin, address=0xd3000
146
 #optromimage4: file=optionalrom.bin, address=0xd3000
147
 optromimage1: file=../../src/bin/pnic.rom, address=0xd0000
147
 optromimage1: file=../../src/bin/pnic.rom, address=0xd0000
148
+#optromimage1: file=../../src/bin/rtl8029.rom, address=0xd0000
148
 
149
 
149
 #optramimage1: file=/path/file1.img, address=0x0010000
150
 #optramimage1: file=/path/file1.img, address=0x0010000
150
 #optramimage2: file=/path/file2.img, address=0x0020000
151
 #optramimage2: file=/path/file2.img, address=0x0020000
631
 # ne2k: ioaddr=0x240, irq=9, mac=b0:c4:20:00:00:01, ethmod=vde, ethdev="/tmp/vde.ctl"
632
 # ne2k: ioaddr=0x240, irq=9, mac=b0:c4:20:00:00:01, ethmod=vde, ethdev="/tmp/vde.ctl"
632
 # ne2k: ioaddr=0x240, irq=9, mac=b0:c4:20:00:00:01, ethmod=vnet, ethdev="c:/temp"
633
 # ne2k: ioaddr=0x240, irq=9, mac=b0:c4:20:00:00:01, ethmod=vnet, ethdev="c:/temp"
633
 pnic: mac=fe:fd:00:00:00:01, ethmod=tuntap, ethdev=/dev/net/tun:tap0
634
 pnic: mac=fe:fd:00:00:00:01, ethmod=tuntap, ethdev=/dev/net/tun:tap0
635
+#ne2k: ioaddr=0x240, irq=9, mac=fe:fd:00:00:00:01, ethmod=tuntap, ethdev=/dev/net/tun:tap0
634
 
636
 
635
 #=======================================================================
637
 #=======================================================================
636
 # KEYBOARD_MAPPING:
638
 # KEYBOARD_MAPPING:
684
 #   i440fxsupport: enabled=1, slot1=pcivga, slot2=ne2k
686
 #   i440fxsupport: enabled=1, slot1=pcivga, slot2=ne2k
685
 #=======================================================================
687
 #=======================================================================
686
 i440fxsupport: enabled=1, slot1=pcipnic
688
 i440fxsupport: enabled=1, slot1=pcipnic
689
+#i440fxsupport: enabled=1, slot1=ne2k
687
 
690
 
688
 #=======================================================================
691
 #=======================================================================
689
 # USB1:
692
 # USB1:

Loading…
Cancel
Save