Deleted Added
sdiff udiff text old ( 8739:925f15f96322 ) new ( 8741:491297d019f3 )
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;

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

50
51using namespace std;
52using namespace TheISA;
53
54Pc::Pc(const Params *p)
55 : Platform(p), system(p->system)
56{
57 southBridge = NULL;
58}
59
60void
61Pc::init()
62{
63 assert(southBridge);
64
65 /*

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

110 /*
111 * Mask the PICs. I'm presuming the BIOS/bootloader would have cleared
112 * these out and masked them before passing control to the OS.
113 */
114 southBridge->pic1->maskAll();
115 southBridge->pic2->maskAll();
116}
117
118void
119Pc::postConsoleInt()
120{
121 southBridge->ioApic->signalInterrupt(4);
122 southBridge->pic1->signalInterrupt(4);
123}
124
125void

--- 50 unchanged lines hidden ---