pc.cc (8229:78bf55f23338) pc.cc (8739:925f15f96322)
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;

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

51using namespace std;
52using namespace TheISA;
53
54Pc::Pc(const Params *p)
55 : Platform(p), system(p->system)
56{
57 southBridge = NULL;
58 // set the back pointer from the system to myself
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;

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

51using namespace std;
52using namespace TheISA;
53
54Pc::Pc(const Params *p)
55 : Platform(p), system(p->system)
56{
57 southBridge = NULL;
58 // set the back pointer from the system to myself
59#if FULL_SYSTEM //XXX No platform pointer in SE mode.
59 system->platform = this;
60 system->platform = this;
61#endif
60}
61
62void
63Pc::init()
64{
65 assert(southBridge);
66
67 /*

--- 117 unchanged lines hidden ---
62}
63
64void
65Pc::init()
66{
67 assert(southBridge);
68
69 /*

--- 117 unchanged lines hidden ---