ers@gem5.org>>
抄送: Gabe Blackmailto:gabe.bl...@gmail.com>>;Pouya
Fotouhimailto:pfoto...@ucdavis.edu>>
主题: [gem5-users] Re: How to add a new pcie device on GEM5
时间: 2020-10-27 12:52:30
I second Gabe's suggestion. I think the IDE controller is a good starting point
since it mostly mo
I second Gabe's suggestion. I think the IDE controller is a good starting
point since it mostly models the controller and passes more complicated
(device specific) functions to the disks.
I mostly templated based on the IDE controller when we started adding a PCI
interface for GPU (see WIP here:
The VirtIO device would be a pretty good example, although it does some
unusual things as far as determining how big it's BARs are supposed to be.
The IDE controller is a pretty simple device that's a little more
representative in that way. A lot of the complexity is in the actual disks
Hi,
I’d recommend having a look at the VirtIO device….
(I don’t know if there are better examples, more experienced people are welcome
to chime in)
Giacomo
From: Liyichao via gem5-users
Sent: 22 October 2020 11:51
To: gem5 users mailing list
Cc: Liyichao
Subject: [gem5-users] How to add a