i82094aa.cc (9808:13ffc0066b76) | i82094aa.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; --- 246 unchanged lines hidden (view full) --- 255void 256X86ISA::I82094AA::lowerInterruptPin(int number) 257{ 258 assert(number < TableSize); 259 pinStates[number] = false; 260} 261 262void | 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; --- 246 unchanged lines hidden (view full) --- 255void 256X86ISA::I82094AA::lowerInterruptPin(int number) 257{ 258 assert(number < TableSize); 259 pinStates[number] = false; 260} 261 262void |
263X86ISA::I82094AA::serialize(std::ostream &os) | 263X86ISA::I82094AA::serialize(CheckpointOut &cp) const |
264{ 265 uint64_t* redirTableArray = (uint64_t*)redirTable; 266 SERIALIZE_SCALAR(regSel); 267 SERIALIZE_SCALAR(initialApicId); 268 SERIALIZE_SCALAR(id); 269 SERIALIZE_SCALAR(arbId); 270 SERIALIZE_SCALAR(lowestPriorityOffset); 271 SERIALIZE_ARRAY(redirTableArray, TableSize); 272 SERIALIZE_ARRAY(pinStates, TableSize); 273} 274 275void | 264{ 265 uint64_t* redirTableArray = (uint64_t*)redirTable; 266 SERIALIZE_SCALAR(regSel); 267 SERIALIZE_SCALAR(initialApicId); 268 SERIALIZE_SCALAR(id); 269 SERIALIZE_SCALAR(arbId); 270 SERIALIZE_SCALAR(lowestPriorityOffset); 271 SERIALIZE_ARRAY(redirTableArray, TableSize); 272 SERIALIZE_ARRAY(pinStates, TableSize); 273} 274 275void |
276X86ISA::I82094AA::unserialize(Checkpoint *cp, const std::string §ion) | 276X86ISA::I82094AA::unserialize(CheckpointIn &cp) |
277{ 278 uint64_t redirTableArray[TableSize]; 279 UNSERIALIZE_SCALAR(regSel); 280 UNSERIALIZE_SCALAR(initialApicId); 281 UNSERIALIZE_SCALAR(id); 282 UNSERIALIZE_SCALAR(arbId); 283 UNSERIALIZE_SCALAR(lowestPriorityOffset); 284 UNSERIALIZE_ARRAY(redirTableArray, TableSize); 285 UNSERIALIZE_ARRAY(pinStates, TableSize); 286 for (int i = 0; i < TableSize; i++) { 287 redirTable[i] = (RedirTableEntry)redirTableArray[i]; 288 } 289} 290 291X86ISA::I82094AA * 292I82094AAParams::create() 293{ 294 return new X86ISA::I82094AA(this); 295} | 277{ 278 uint64_t redirTableArray[TableSize]; 279 UNSERIALIZE_SCALAR(regSel); 280 UNSERIALIZE_SCALAR(initialApicId); 281 UNSERIALIZE_SCALAR(id); 282 UNSERIALIZE_SCALAR(arbId); 283 UNSERIALIZE_SCALAR(lowestPriorityOffset); 284 UNSERIALIZE_ARRAY(redirTableArray, TableSize); 285 UNSERIALIZE_ARRAY(pinStates, TableSize); 286 for (int i = 0; i < TableSize; i++) { 287 redirTable[i] = (RedirTableEntry)redirTableArray[i]; 288 } 289} 290 291X86ISA::I82094AA * 292I82094AAParams::create() 293{ 294 return new X86ISA::I82094AA(this); 295} |