pc.cc (5829:2fdbb27f8c70) pc.cc (5830:1758d56964c9)
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;

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

37#include <vector>
38
39#include "arch/x86/intmessage.hh"
40#include "arch/x86/x86_traits.hh"
41#include "cpu/intr_control.hh"
42#include "dev/terminal.hh"
43#include "dev/x86/i82094aa.hh"
44#include "dev/x86/i8254.hh"
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;

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

37#include <vector>
38
39#include "arch/x86/intmessage.hh"
40#include "arch/x86/x86_traits.hh"
41#include "cpu/intr_control.hh"
42#include "dev/terminal.hh"
43#include "dev/x86/i82094aa.hh"
44#include "dev/x86/i8254.hh"
45#include "dev/x86/i8259.hh"
45#include "dev/x86/pc.hh"
46#include "dev/x86/south_bridge.hh"
47#include "sim/system.hh"
48
49using namespace std;
50using namespace TheISA;
51
52Pc::Pc(const Params *p)

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

107{
108 panic("Need implementation\n");
109 M5_DUMMY_RETURN
110}
111
112void
113Pc::postConsoleInt()
114{
46#include "dev/x86/pc.hh"
47#include "dev/x86/south_bridge.hh"
48#include "sim/system.hh"
49
50using namespace std;
51using namespace TheISA;
52
53Pc::Pc(const Params *p)

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

108{
109 panic("Need implementation\n");
110 M5_DUMMY_RETURN
111}
112
113void
114Pc::postConsoleInt()
115{
115 warn_once("Don't know what interrupt to post for console.\n");
116 //panic("Need implementation\n");
116 southBridge->ioApic->signalInterrupt(4);
117 southBridge->pic1->signalInterrupt(4);
117}
118
119void
120Pc::clearConsoleInt()
121{
122 warn_once("Don't know what interrupt to clear for console.\n");
123 //panic("Need implementation\n");
124}

--- 35 unchanged lines hidden ---
118}
119
120void
121Pc::clearConsoleInt()
122{
123 warn_once("Don't know what interrupt to clear for console.\n");
124 //panic("Need implementation\n");
125}

--- 35 unchanged lines hidden ---