i8254.cc (10642:9d3b6e7dd205) i8254.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;

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

73 } else {
74 panic("Write to undefined i8254 register.\n");
75 }
76 pkt->makeAtomicResponse();
77 return latency;
78}
79
80void
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;

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

73 } else {
74 panic("Write to undefined i8254 register.\n");
75 }
76 pkt->makeAtomicResponse();
77 return latency;
78}
79
80void
81X86ISA::I8254::serialize(std::ostream &os)
81X86ISA::I8254::serialize(CheckpointOut &cp) const
82{
82{
83 pit.serialize("pit", os);
83 pit.serialize("pit", cp);
84}
85
86void
84}
85
86void
87X86ISA::I8254::unserialize(Checkpoint *cp, const std::string &section)
87X86ISA::I8254::unserialize(CheckpointIn &cp)
88{
88{
89 pit.unserialize("pit", cp, section);
89 pit.unserialize("pit", cp);
90}
91
92void
93X86ISA::I8254::startup()
94{
95 pit.startup();
96}
97
98X86ISA::I8254 *
99I8254Params::create()
100{
101 return new X86ISA::I8254(this);
102}
90}
91
92void
93X86ISA::I8254::startup()
94{
95 pit.startup();
96}
97
98X86ISA::I8254 *
99I8254Params::create()
100{
101 return new X86ISA::I8254(this);
102}