i8237.cc (5898:541097c69e22) | i8237.cc (7903:7fcfb515d7bf) |
---|---|
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; --- 105 unchanged lines hidden (view full) --- 114 "register unimplemented.\n"); 115 case 0xd: 116 panic("Write to i8237 master clear/reset register unimplemented.\n"); 117 case 0xe: 118 panic("Write to i8237 clear mask register unimplemented.\n"); 119 case 0xf: 120 panic("Write to i8237 write all mask register bits unimplemented.\n"); 121 default: | 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; --- 105 unchanged lines hidden (view full) --- 114 "register unimplemented.\n"); 115 case 0xd: 116 panic("Write to i8237 master clear/reset register unimplemented.\n"); 117 case 0xe: 118 panic("Write to i8237 clear mask register unimplemented.\n"); 119 case 0xf: 120 panic("Write to i8237 write all mask register bits unimplemented.\n"); 121 default: |
122 panic("Write to undefined i8254 register.\n"); | 122 panic("Write to undefined i8237 register.\n"); |
123 } 124 pkt->makeAtomicResponse(); 125 return latency; 126} 127 | 123 } 124 pkt->makeAtomicResponse(); 125 return latency; 126} 127 |
128void 129X86ISA::I8237::serialize(std::ostream &os) 130{ 131 SERIALIZE_SCALAR(maskReg); 132} 133 134void 135X86ISA::I8237::unserialize(Checkpoint *cp, const std::string §ion) 136{ 137 UNSERIALIZE_SCALAR(maskReg); 138} 139 |
|
128X86ISA::I8237 * 129I8237Params::create() 130{ 131 return new X86ISA::I8237(this); 132} | 140X86ISA::I8237 * 141I8237Params::create() 142{ 143 return new X86ISA::I8237(this); 144} |