i8237.cc (7903:7fcfb515d7bf) i8237.cc (10905:a6ca6831e775)
1/*
2 * Copyright (c) 2008 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;

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

121 default:
122 panic("Write to undefined i8237 register.\n");
123 }
124 pkt->makeAtomicResponse();
125 return latency;
126}
127
128void
1/*
2 * Copyright (c) 2008 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;

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

121 default:
122 panic("Write to undefined i8237 register.\n");
123 }
124 pkt->makeAtomicResponse();
125 return latency;
126}
127
128void
129X86ISA::I8237::serialize(std::ostream &os)
129X86ISA::I8237::serialize(CheckpointOut &cp) const
130{
131 SERIALIZE_SCALAR(maskReg);
132}
133
134void
130{
131 SERIALIZE_SCALAR(maskReg);
132}
133
134void
135X86ISA::I8237::unserialize(Checkpoint *cp, const std::string &section)
135X86ISA::I8237::unserialize(CheckpointIn &cp)
136{
137 UNSERIALIZE_SCALAR(maskReg);
138}
139
140X86ISA::I8237 *
141I8237Params::create()
142{
143 return new X86ISA::I8237(this);
144}
136{
137 UNSERIALIZE_SCALAR(maskReg);
138}
139
140X86ISA::I8237 *
141I8237Params::create()
142{
143 return new X86ISA::I8237(this);
144}