i8042.cc (11007:179bc8ca2d8c) i8042.cc (11320:42ecb523c64a)
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;

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

485 return latency;
486}
487
488void
489X86ISA::I8042::serialize(CheckpointOut &cp) const
490{
491 uint8_t statusRegData = statusReg.__data;
492 uint8_t commandByteData = commandByte.__data;
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;

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

485 return latency;
486}
487
488void
489X86ISA::I8042::serialize(CheckpointOut &cp) const
490{
491 uint8_t statusRegData = statusReg.__data;
492 uint8_t commandByteData = commandByte.__data;
493
493
494 SERIALIZE_SCALAR(dataPort);
495 SERIALIZE_SCALAR(commandPort);
496 SERIALIZE_SCALAR(statusRegData);
497 SERIALIZE_SCALAR(commandByteData);
498 SERIALIZE_SCALAR(dataReg);
499 SERIALIZE_SCALAR(lastCommand);
500 mouse.serialize("mouse", cp);
501 keyboard.serialize("keyboard", cp);

--- 46 unchanged lines hidden ---
494 SERIALIZE_SCALAR(dataPort);
495 SERIALIZE_SCALAR(commandPort);
496 SERIALIZE_SCALAR(statusRegData);
497 SERIALIZE_SCALAR(commandByteData);
498 SERIALIZE_SCALAR(dataReg);
499 SERIALIZE_SCALAR(lastCommand);
500 mouse.serialize("mouse", cp);
501 keyboard.serialize("keyboard", cp);

--- 46 unchanged lines hidden ---