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; --- 397 unchanged lines hidden (view full) --- 406 panic("i8042 \"Read input port\" command not implemented.\n"); 407 case ContinuousPollLow: 408 panic("i8042 \"Continuous poll low\" command not implemented.\n"); 409 case ContinuousPollHigh: 410 panic("i8042 \"Continuous poll high\" command not implemented.\n"); 411 case ReadOutputPort: 412 panic("i8042 \"Read output port\" command not implemented.\n"); 413 case WriteOutputPort: |
414 warn("i8042 \"Write output port\" command not implemented.\n"); 415 lastCommand = WriteOutputPort; |
416 case WriteKeyboardOutputBuff: |
417 warn("i8042 \"Write keyboard output buffer\" " |
418 "command not implemented.\n"); |
419 lastCommand = WriteKeyboardOutputBuff; |
420 case WriteMouseOutputBuff: 421 DPRINTF(I8042, "Got command to write to mouse output buffer.\n"); 422 lastCommand = WriteMouseOutputBuff; 423 break; 424 case WriteToMouse: 425 DPRINTF(I8042, "Expecting mouse command.\n"); 426 lastCommand = WriteToMouse; 427 break; 428 case DisableA20: 429 panic("i8042 \"Disable A20\" command not implemented.\n"); 430 case EnableA20: 431 panic("i8042 \"Enable A20\" command not implemented.\n"); 432 case ReadTestInputs: 433 panic("i8042 \"Read test inputs\" command not implemented.\n"); 434 case SystemReset: 435 panic("i8042 \"System reset\" command not implemented.\n"); 436 default: |
437 warn("Write to unknown i8042 " |
438 "(keyboard controller) command port.\n"); 439 } 440 } else { 441 panic("Write to unrecognized port %#x.\n", addr); 442 } 443 pkt->makeAtomicResponse(); 444 return latency; 445} --- 115 unchanged lines hidden --- |