mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-30 10:31:02 +00:00
This tests I8042 scancode and typematic. BUG=chrome-os-partner:19236 TEST=Pass all tests many times. BRANCH=None Change-Id: I8457b7b807b694b0bae32abf1647961f946dc5e1 Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/61553 Reviewed-by: Randall Spangler <rspangler@chromium.org>
34 lines
601 B
C
34 lines
601 B
C
/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
/* LPC module for Chrome EC emulator */
|
|
|
|
#include "lpc.h"
|
|
|
|
test_mockable int lpc_keyboard_has_char(void)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
test_mockable int lpc_keyboard_input_pending(void)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
test_mockable void lpc_keyboard_put_char(uint8_t chr, int send_irq)
|
|
{
|
|
/* Do nothing */
|
|
}
|
|
|
|
test_mockable void lpc_keyboard_clear_buffer(void)
|
|
{
|
|
/* Do nothing */
|
|
}
|
|
|
|
test_mockable void lpc_keyboard_resume_irq(void)
|
|
{
|
|
/* Do nothing */
|
|
}
|