Deleted Added
sdiff udiff text old ( 5637:3d2451ebad92 ) new ( 5643:2b1611137af4 )
full compact
1/*
2 * Copyright (c) 2008 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 26 unchanged lines hidden (view full) ---

35#include "params/SouthBridge.hh"
36
37namespace X86ISA
38{
39 class I8254;
40 class I8259;
41 class Cmos;
42 class Speaker;
43 class I82094AA;
44}
45
46class SouthBridge : public SimObject
47{
48 protected:
49 Platform * platform;
50
51 public:
52 X86ISA::I8254 * pit;
53 X86ISA::I8259 * pic1;
54 X86ISA::I8259 * pic2;
55 X86ISA::Cmos * cmos;
56 X86ISA::Speaker * speaker;
57 X86ISA::I82094AA * ioApic;
58
59 public:
60 typedef SouthBridgeParams Params;
61 SouthBridge(const Params *p);
62
63 const Params *
64 params() const
65 {
66 return dynamic_cast<const Params *>(_params);
67 }
68};
69
70#endif //__DEV_X86_SOUTH_BRIDGE_HH__