X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=dev%2Fplatform.cc;h=58f94db7b4c85a35aab3acdc647876477b195791;hb=c7624c26e71c1edc73a076efe472d253b199c3cc;hp=c39849162d8b7989cf5f4c3de3490d975d7dd73e;hpb=caf5cad959d8c75095590e0e6e1a9ed1f243366e;p=gem5.git diff --git a/dev/platform.cc b/dev/platform.cc index c39849162..58f94db7b 100644 --- a/dev/platform.cc +++ b/dev/platform.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003 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 @@ -32,5 +32,32 @@ using namespace std; +Platform::Platform(const string &name, IntrControl *intctrl, PciConfigAll *pci) + : SimObject(name), intrctrl(intctrl), pciconfig(pci) +{ +} + +Platform::~Platform() +{ +} + +void +Platform::postPciInt(int line) +{ + panic("No PCI interrupt support in platform."); +} + +void +Platform::clearPciInt(int line) +{ + panic("No PCI interrupt support in platform."); +} + +Addr +Platform::pciToDma(Addr pciAddr) const +{ + panic("No PCI dma support in platform."); +} + DEFINE_SIM_OBJECT_CLASS_NAME("Platform", Platform)