south_bridge.hh (5637:3d2451ebad92) south_bridge.hh (5643:2b1611137af4)
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;
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;
43}
44
45class SouthBridge : public SimObject
46{
47 protected:
48 Platform * platform;
49
50 public:
51 X86ISA::I8254 * pit;
52 X86ISA::I8259 * pic1;
53 X86ISA::I8259 * pic2;
54 X86ISA::Cmos * cmos;
55 X86ISA::Speaker * speaker;
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;
56
57 public:
58 typedef SouthBridgeParams Params;
59 SouthBridge(const Params *p);
60
61 const Params *
62 params() const
63 {
64 return dynamic_cast<const Params *>(_params);
65 }
66};
67
68#endif //__DEV_X86_SOUTH_BRIDGE_HH__
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__