Changes between Version 44 and Version 45 of Developer/Simulators/QEMU
- Timestamp:
- 11/30/10 02:46:33 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Developer/Simulators/QEMU
v44 v45 187 187 188 188 {{{ 189 qemu - cpu 486 -m 8 -boot a \189 qemu -M isapc -cpu 486 -m 8 -boot a \ 190 190 -fda /home/joel/qemu/pc386_fda \ 191 191 -hda fat:/home/joel/qemu/hd \ … … 211 211 212 212 This matches the defaults as presented in the QEMU manual. The single network interface available to the RTEMS application will have the IP address 10.0.2.5. All of the RTEMS network demos can run in this environment given proper configuration. 213 == Setting the IRQ number == 214 215 216 By default, QEMU uses IRQ 9, while RTEMS uses IRQ 5. I just hard-coded 217 the IRQ in my struct rtems_bsdnet_ifconfig, along with the IO address 218 (0x300) while I am at it. 219 220 {{{ 221 static struct rtems_bsdnet_ifconfig netdriver_config = { 222 (char *)BSP_NE2000_NETWORK_DRIVER_NAME, 223 BSP_NE2000_NETWORK_DRIVER_ATTACH, 224 NULL, 225 NULL, 226 NULL, 227 NULL, 228 0, 229 0, 230 0, 231 0, 232 0x300, 233 9, 234 0, 235 NULL 236 }; 237 }}} 238 239 --[wiki:User:SimonPerreault User:SimonPerreault] Mon Nov 29 16:43:38 EST 2010 213 240 = Debugging with QEMU = 214 241