i8042.cc (14290:fa11f961ae4e) | i8042.cc (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; --- 50 unchanged lines hidden (view full) --- 59 statusReg.commandLast = 1; 60 statusReg.keyboardUnlocked = 1; 61 62 commandByte.convertScanCodes = 1; 63 commandByte.passedSelfTest = 1; 64 commandByte.keyboardFullInt = 1; 65 66 for (int i = 0; i < p->port_keyboard_int_pin_connection_count; i++) { | 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; --- 50 unchanged lines hidden (view full) --- 59 statusReg.commandLast = 1; 60 statusReg.keyboardUnlocked = 1; 61 62 commandByte.convertScanCodes = 1; 63 commandByte.passedSelfTest = 1; 64 commandByte.keyboardFullInt = 1; 65 66 for (int i = 0; i < p->port_keyboard_int_pin_connection_count; i++) { |
67 keyboardIntPin.push_back(new ::IntSourcePin<I8042>( | 67 keyboardIntPin.push_back(new IntSourcePin |
68 csprintf("%s.keyboard_int_pin[%d]", name(), i), i, this)); 69 } 70 for (int i = 0; i < p->port_mouse_int_pin_connection_count; i++) { | 68 csprintf("%s.keyboard_int_pin[%d]", name(), i), i, this)); 69 } 70 for (int i = 0; i < p->port_mouse_int_pin_connection_count; i++) { |
71 mouseIntPin.push_back(new ::IntSourcePin<I8042>( | 71 mouseIntPin.push_back(new IntSourcePin |
72 csprintf("%s.mouse_int_pin[%d]", name(), i), i, this)); 73 } 74} 75 76 77AddrRangeList 78X86ISA::I8042::getAddrRanges() const 79{ --- 235 unchanged lines hidden --- | 72 csprintf("%s.mouse_int_pin[%d]", name(), i), i, this)); 73 } 74} 75 76 77AddrRangeList 78X86ISA::I8042::getAddrRanges() const 79{ --- 235 unchanged lines hidden --- |