i8042.hh (14290:fa11f961ae4e) i8042.hh (14291:722551795497)
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;

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

103 StatusReg statusReg;
104 CommandByte commandByte;
105
106 uint8_t dataReg;
107
108 static const uint16_t NoCommand = (uint16_t)(-1);
109 uint16_t lastCommand;
110
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;

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

103 StatusReg statusReg;
104 CommandByte commandByte;
105
106 uint8_t dataReg;
107
108 static const uint16_t NoCommand = (uint16_t)(-1);
109 uint16_t lastCommand;
110
111 std::vector<::IntSourcePin<I8042> *> mouseIntPin;
112 std::vector<::IntSourcePin<I8042> *> keyboardIntPin;
111 std::vector *> mouseIntPin;
112 std::vector *> keyboardIntPin;
113
114 PS2Device *mouse;
115 PS2Device *keyboard;
116
117 void writeData(uint8_t newData, bool mouse = false);
118 uint8_t readDataOut();
119
120 public:

--- 34 unchanged lines hidden ---
113
114 PS2Device *mouse;
115 PS2Device *keyboard;
116
117 void writeData(uint8_t newData, bool mouse = false);
118 uint8_t readDataOut();
119
120 public:

--- 34 unchanged lines hidden ---