interrupts.hh (10280:5b67e1bdf6ad) interrupts.hh (10905:a6ca6831e775)
1/*
2 * Copyright (c) 2007 MIPS Technologies, Inc.
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;

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

111 bool
112 checkInterrupts(ThreadContext *tc) const
113 {
114 return interruptsPending(tc);
115 }
116
117
118 void
1/*
2 * Copyright (c) 2007 MIPS Technologies, Inc.
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;

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

111 bool
112 checkInterrupts(ThreadContext *tc) const
113 {
114 return interruptsPending(tc);
115 }
116
117
118 void
119 serialize(std::ostream &os)
119 serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE
120 {
121 fatal("Serialization of Interrupts Unimplemented for MIPS");
122 }
123
124 void
120 {
121 fatal("Serialization of Interrupts Unimplemented for MIPS");
122 }
123
124 void
125 unserialize(Checkpoint *cp, const std::string &section)
125 unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE
126 {
127 fatal("Unserialization of Interrupts Unimplemented for MIPS");
128 }
129};
130
131}
132
133#endif
134
126 {
127 fatal("Unserialization of Interrupts Unimplemented for MIPS");
128 }
129};
130
131}
132
133#endif
134