Deleted Added
sdiff udiff text old ( 9290:90dd57ca9a7e ) new ( 9623:327bf4242521 )
full compact
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 panic("i8042 \"Write output port\" command not implemented.\n");
415 case WriteKeyboardOutputBuff:
416 panic("i8042 \"Write keyboard output buffer\" "
417 "command not implemented.\n");
418 case WriteMouseOutputBuff:
419 DPRINTF(I8042, "Got command to write to mouse output buffer.\n");
420 lastCommand = WriteMouseOutputBuff;
421 break;
422 case WriteToMouse:
423 DPRINTF(I8042, "Expecting mouse command.\n");
424 lastCommand = WriteToMouse;
425 break;
426 case DisableA20:
427 panic("i8042 \"Disable A20\" command not implemented.\n");
428 case EnableA20:
429 panic("i8042 \"Enable A20\" command not implemented.\n");
430 case ReadTestInputs:
431 panic("i8042 \"Read test inputs\" command not implemented.\n");
432 case SystemReset:
433 panic("i8042 \"System reset\" command not implemented.\n");
434 default:
435 panic("Write to unknown i8042 "
436 "(keyboard controller) command port.\n");
437 }
438 } else {
439 panic("Write to unrecognized port %#x.\n", addr);
440 }
441 pkt->makeAtomicResponse();
442 return latency;
443}

--- 115 unchanged lines hidden ---