pc.cc (5843:a2c317cefcf8) pc.cc (5844:144524795dfe)
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;

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

107 entry.vector = 0x30;
108 ioApic.writeReg(0x30, entry.bottomDW);
109 ioApic.writeReg(0x31, entry.topDW);
110}
111
112Tick
113Pc::intrFrequency()
114{
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;

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

107 entry.vector = 0x30;
108 ioApic.writeReg(0x30, entry.bottomDW);
109 ioApic.writeReg(0x31, entry.topDW);
110}
111
112Tick
113Pc::intrFrequency()
114{
115 panic("Need implementation\n");
115 panic("Need implementation for intrFrequency\n");
116 M5_DUMMY_RETURN
117}
118
119void
120Pc::postConsoleInt()
121{
122 southBridge->ioApic->signalInterrupt(4);
123 southBridge->pic1->signalInterrupt(4);

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

140Pc::clearPciInt(int line)
141{
142 warn_once("Tried to clear PCI interrupt %d\n", line);
143}
144
145Addr
146Pc::pciToDma(Addr pciAddr) const
147{
116 M5_DUMMY_RETURN
117}
118
119void
120Pc::postConsoleInt()
121{
122 southBridge->ioApic->signalInterrupt(4);
123 southBridge->pic1->signalInterrupt(4);

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

140Pc::clearPciInt(int line)
141{
142 warn_once("Tried to clear PCI interrupt %d\n", line);
143}
144
145Addr
146Pc::pciToDma(Addr pciAddr) const
147{
148 panic("Need implementation\n");
149 M5_DUMMY_RETURN
148 return pciAddr;
150}
151
152Addr
153Pc::calcPciConfigAddr(int bus, int dev, int func)
154{
155 assert(func < 8);
156 assert(dev < 32);
157 assert(bus == 0);

--- 20 unchanged lines hidden ---
149}
150
151Addr
152Pc::calcPciConfigAddr(int bus, int dev, int func)
153{
154 assert(func < 8);
155 assert(dev < 32);
156 assert(bus == 0);

--- 20 unchanged lines hidden ---