base.cc (5606:6da7a58b0bc8) base.cc (5646:0a488a147fb8)
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;

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

391}
392
393void
394BaseCPU::clear_interrupts()
395{
396 interrupts.clear_all();
397}
398
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;

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

391}
392
393void
394BaseCPU::clear_interrupts()
395{
396 interrupts.clear_all();
397}
398
399uint64_t
400BaseCPU::get_interrupts(int int_num)
401{
402 return interrupts.get_vec(int_num);
403}
404
405void
406BaseCPU::serialize(std::ostream &os)
407{
408 SERIALIZE_SCALAR(instCnt);
409 interrupts.serialize(os);
410}
411
412void

--- 34 unchanged lines hidden ---
399void
400BaseCPU::serialize(std::ostream &os)
401{
402 SERIALIZE_SCALAR(instCnt);
403 interrupts.serialize(os);
404}
405
406void

--- 34 unchanged lines hidden ---