Review Board 2.0.15


config, x86: add ethernet support for x86 fullsystem

Review Request #2301 - Created June 13, 2014 and updated

Information
Jiuyue Ma
gem5
2300, 2314, 2315
Reviewers
Default
config, x86: add ethernet support for x86 fullsystem

This patch add a IGbE_e1000 ethernet device to x86 fs system, it does
the followings:
1) add IGbE_e1000 to x86_sys.pc.ethernet,
2) connect x86_sys.pc.ethernet.pio/config/dma to x86_sys.iobus,
3) add interrupt assignment for x86_sys.pc.ethernet in MP table.

   
Review request changed
Updated (July 17, 2014, 5:29 p.m.)

Change Summary:

add interrupt assignment for ethernet in MP table
change summary line to "config, x86"

Summary:

-config: add ethernet support for x86 fullsystem
+config, x86: add ethernet support for x86 fullsystem

Description:

~  

config: add ethernet support for x86 fullsystem

  ~

config, x86: add ethernet support for x86 fullsystem

   
~  

This patch add a IGbE_e1000 ethernet device to x86 fs system.

  ~

This patch add a IGbE_e1000 ethernet device to x86 fs system, it does

  + the followings:
  + 1) add IGbE_e1000 to x86_sys.pc.ethernet,
  + 2) connect x86_sys.pc.ethernet.pio/config/dma to x86_sys.iobus,
  + 3) add interrupt assignment for x86_sys.pc.ethernet in MP table.

Diff:

Revision 5 (+19)

Show changes

Ship it!
Posted (July 18, 2014, 6:39 a.m.)
LGTM. Thanks for fixing this!
  1. Hi,
    Have you ever tried to boot system or use Ethernet device with O3 cpu model? With O3 cpu I get this error:
    
    gem5.opt: build/X86/dev/i8254xGBe.cc:182: virtual Tick IGbE::read(PacketPtr): Assertion `pkt->getSize() == 4' failed.
    Program aborted at tick 131516086224500
    Aborted
    
    The problem is that 'pkt-getSize()' returns 64 with O3 cpu model ...
    Any idea how to fix it?
    
    Thanks,
    Mohammad