e1000 memory mapped I/O
Posted: Wed May 14, 2014 2:47 pm
Hi,
I am trying to write a network driver for Intel 8254x ethernet controller for my 32 bit toy OS.
I am using VMware to develop this. The virtual machine is configured to use "e1000" virtual device.
When read the BAR0 register, the flags in the BAR0 register indicates that the device supports 64 bit memory mapped I/O. But i am my OS is 32 bit. How does it work then?
Do i just take bits 3....31 as the base address or do i need to read other BAR registers?
I am trying to write a network driver for Intel 8254x ethernet controller for my 32 bit toy OS.
I am using VMware to develop this. The virtual machine is configured to use "e1000" virtual device.
When read the BAR0 register, the flags in the BAR0 register indicates that the device supports 64 bit memory mapped I/O. But i am my OS is 32 bit. How does it work then?
Do i just take bits 3....31 as the base address or do i need to read other BAR registers?