summaryrefslogtreecommitdiff
path: root/src/dev/x86/pc.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2008-06-12 00:56:54 -0400
committerGabe Black <gblack@eecs.umich.edu>2008-06-12 00:56:54 -0400
commit1f5b992b582f0d8de792df24a81d4a25642b3e45 (patch)
treed999408f4be49c380dc6846f2d2d479064cba6e3 /src/dev/x86/pc.hh
parent16e26fbf03260f362f6090503626f2068d76f89e (diff)
downloadgem5-1f5b992b582f0d8de792df24a81d4a25642b3e45.tar.xz
X86: Make the platform object initialize channel 0 of the PIT.
Diffstat (limited to 'src/dev/x86/pc.hh')
-rw-r--r--src/dev/x86/pc.hh9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/dev/x86/pc.hh b/src/dev/x86/pc.hh
index 6e3a7f45e..3a042fc46 100644
--- a/src/dev/x86/pc.hh
+++ b/src/dev/x86/pc.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2004-2005 The Regents of The University of Michigan
+ * Copyright (c) 2008 The Regents of The University of Michigan
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -38,6 +38,7 @@
#define __DEV_PC_HH__
#include "dev/platform.hh"
+#include "dev/x86/south_bridge/south_bridge.hh"
#include "params/PC.hh"
class IdeController;
@@ -48,10 +49,16 @@ class PC : public Platform
public:
/** Pointer to the system */
System *system;
+ SouthBridge * southBridge;
public:
typedef PCParams Params;
+ /**
+ * Do platform initialization stuff
+ */
+ void init();
+
PC(const Params *p);
/**