acrn-hypervisor/hypervisor/release/console.c

34 lines
678 B
C
Raw Normal View History

/*
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <types.h>
#include <pci.h>
#include <console.h>
size_t console_write(__unused const char *str, __unused size_t len)
{
return 0;
}
char console_getc(void)
{
return '\0';
}
void console_putc(__unused const char *ch) {}
void console_init(void) {}
void console_setup_timer(void) {}
void suspend_console(void) {}
void resume_console(void) {}
bool handle_dbg_cmd(__unused const char *cmd, __unused int32_t len) { return false; }
bool is_pci_dbg_uart(__unused union pci_bdf bdf_value) { return false; }
void shell_init(void) {}
void shell_kick(void) {}