base.hh (5606:6da7a58b0bc8) base.hh (5645:0d35ed236aa1)
1/*
2 * Copyright (c) 2002-2005 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;

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

105
106#if FULL_SYSTEM
107 protected:
108// uint64_t interrupts[TheISA::NumInterruptLevels];
109// uint64_t intstatus;
110 TheISA::Interrupts interrupts;
111
112 public:
1/*
2 * Copyright (c) 2002-2005 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;

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

105
106#if FULL_SYSTEM
107 protected:
108// uint64_t interrupts[TheISA::NumInterruptLevels];
109// uint64_t intstatus;
110 TheISA::Interrupts interrupts;
111
112 public:
113 TheISA::Interrupts *
114 getInterruptController()
115 {
116 return &interrupts;
117 }
118
113 virtual void post_interrupt(int int_num, int index);
114 virtual void clear_interrupt(int int_num, int index);
115 virtual void clear_interrupts();
116 virtual uint64_t get_interrupts(int int_num);
117
118 bool check_interrupts(ThreadContext * tc) const
119 { return interrupts.check_interrupts(tc); }
120

--- 156 unchanged lines hidden ---
119 virtual void post_interrupt(int int_num, int index);
120 virtual void clear_interrupt(int int_num, int index);
121 virtual void clear_interrupts();
122 virtual uint64_t get_interrupts(int int_num);
123
124 bool check_interrupts(ThreadContext * tc) const
125 { return interrupts.check_interrupts(tc); }
126

--- 156 unchanged lines hidden ---