gem5
v20.1.0.0
|
#include <cstring>
#include <vector>
#include "dev/dma_device.hh"
#include "dev/pci/host.hh"
#include "dev/pci/pcireg.h"
#include "params/PciDevice.hh"
#include "sim/byteswap.hh"
Go to the source code of this file.
Classes | |
class | PciDevice |
PCI device, base implementation is only config space. More... | |
Macros | |
#define | BAR_IO_MASK 0x3 |
#define | BAR_MEM_MASK 0xF |
#define | BAR_IO_SPACE_BIT 0x1 |
#define | BAR_IO_SPACE(x) ((x) & BAR_IO_SPACE_BIT) |
#define | BAR_NUMBER(x) (((x) - PCI0_BASE_ADDR0) >> 0x2); |
#define BAR_IO_SPACE | ( | x | ) | ((x) & BAR_IO_SPACE_BIT) |
#define BAR_NUMBER | ( | x | ) | (((x) - PCI0_BASE_ADDR0) >> 0x2); |