dev: Include basic devices in NULL ISA build
Review Request #2161 - Created Feb. 13, 2014 and submitted
| Information | |
|---|---|
| Andreas Hansson | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 10065:64aecee7d755 --------------------------- dev: Include basic devices in NULL ISA build This patch enbles use of the basic PIO devices as part of the NULL build. Although it might seem counter intuitive to have a PIO device without being able to execute a driver, this change enables us to break a device class hierarchy into an ISA-agnostic part, and an ISA-specific part, without requiring multiple-inheritance. The ISA-agnostic base class is a PIO device, but does not make use of the port.
All regressions pass
Posted (Feb. 13, 2014, 8:18 a.m.)
I don't follow your rationale, but I don't see any harm in what you're doing either... but I think you're doing it awkwardly ;-).
-
src/dev/SConscript (Diff revision 1) -
If you want these files to be compiled in unconditionally, why not just list them once above the if instead of listing them twice?
Review request changed
Updated (Feb. 13, 2014, 8:32 a.m.)
Description: |
|
||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+5 -8) |
Ship It!
