base.hh (3894:60a7b0a3602f) base.hh (3923:a8ce86366fd3)
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;

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

101// uint64_t intstatus;
102 TheISA::Interrupts interrupts;
103
104 public:
105 virtual void post_interrupt(int int_type);
106 virtual void post_interrupt(int int_num, int index);
107 virtual void clear_interrupt(int int_num, int index);
108 virtual void clear_interrupts();
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;

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

101// uint64_t intstatus;
102 TheISA::Interrupts interrupts;
103
104 public:
105 virtual void post_interrupt(int int_type);
106 virtual void post_interrupt(int int_num, int index);
107 virtual void clear_interrupt(int int_num, int index);
108 virtual void clear_interrupts();
109 bool checkInterrupts;
110
111 bool check_interrupts(ThreadContext * tc) const
112 { return interrupts.check_interrupts(tc); }
113
114 class ProfileEvent : public Event
115 {
116 private:
117 BaseCPU *cpu;

--- 165 unchanged lines hidden ---
109
110 bool check_interrupts(ThreadContext * tc) const
111 { return interrupts.check_interrupts(tc); }
112
113 class ProfileEvent : public Event
114 {
115 private:
116 BaseCPU *cpu;

--- 165 unchanged lines hidden ---