interrupts.hh (10474:799c8ee4ecba) | interrupts.hh (10905:a6ca6831e775) |
---|---|
1/* 2 * Copyright (c) 2006 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; --- 107 unchanged lines hidden (view full) --- 116 { 117 DPRINTF(Interrupt, "Interrupts all cleared\n"); 118 119 memset(interrupts, 0, sizeof(interrupts)); 120 intstatus = 0; 121 } 122 123 void | 1/* 2 * Copyright (c) 2006 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; --- 107 unchanged lines hidden (view full) --- 116 { 117 DPRINTF(Interrupt, "Interrupts all cleared\n"); 118 119 memset(interrupts, 0, sizeof(interrupts)); 120 intstatus = 0; 121 } 122 123 void |
124 serialize(std::ostream &os) | 124 serialize(CheckpointOut &cp) const |
125 { 126 SERIALIZE_ARRAY(interrupts, NumInterruptLevels); 127 SERIALIZE_SCALAR(intstatus); 128 } 129 130 void | 125 { 126 SERIALIZE_ARRAY(interrupts, NumInterruptLevels); 127 SERIALIZE_SCALAR(intstatus); 128 } 129 130 void |
131 unserialize(Checkpoint *cp, const std::string §ion) | 131 unserialize(CheckpointIn &cp) |
132 { 133 UNSERIALIZE_ARRAY(interrupts, NumInterruptLevels); 134 UNSERIALIZE_SCALAR(intstatus); 135 } 136 137 bool 138 checkInterrupts(ThreadContext *tc) const 139 { --- 61 unchanged lines hidden --- | 132 { 133 UNSERIALIZE_ARRAY(interrupts, NumInterruptLevels); 134 UNSERIALIZE_SCALAR(intstatus); 135 } 136 137 bool 138 checkInterrupts(ThreadContext *tc) const 139 { --- 61 unchanged lines hidden --- |