X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=dev%2Fpciconfigall.hh;h=6df03328615277d1ef6838f0e07f6980f49d1d9e;hb=466284b5d29ad0d44c1b020353cf7521be2b90de;hp=9cf2cf9722652f2e63f1163e768b0c0bbdba0bb7;hpb=244ce7fb29cbd7107a5dc0fb640a6154a091ec6e;p=gem5.git diff --git a/dev/pciconfigall.hh b/dev/pciconfigall.hh index 9cf2cf972..6df033286 100644 --- a/dev/pciconfigall.hh +++ b/dev/pciconfigall.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004 The Regents of The University of Michigan + * Copyright (c) 2004-2005 The Regents of The University of Michigan * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -43,6 +43,7 @@ static const uint32_t MAX_PCI_DEV = 32; static const uint32_t MAX_PCI_FUNC = 8; class PciDev; +class MemoryController; /** * PCI Config Space @@ -73,7 +74,7 @@ class PciConfigAll : public PioDevice * @param bus The bus that this device is attached to */ PciConfigAll(const std::string &name, Addr a, MemoryController *mmu, - HierParams *hier, Bus *bus, Tick pio_latency); + HierParams *hier, Bus *pio_bus, Tick pio_latency); /** @@ -102,7 +103,7 @@ class PciConfigAll : public PioDevice * @param data Return the field read. * @return The fault condition of the access. */ - virtual Fault read(MemReqPtr &req, uint8_t *data); + virtual Fault * read(MemReqPtr &req, uint8_t *data); /** * Write to PCI config spcae. If the device does not exit the simulator @@ -113,7 +114,7 @@ class PciConfigAll : public PioDevice * @return The fault condition of the access. */ - virtual Fault write(MemReqPtr &req, const uint8_t *data); + virtual Fault * write(MemReqPtr &req, const uint8_t *data); /** * Start up function to check if more than one person is using an interrupt line