mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-03 09:55:01 +00:00
hv: clean up function definitions in console.h
seperate the function definitions into debug/release directories to better distinguish debug/release libraries Tracked-On: #861 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
30
hypervisor/release/console.c
Normal file
30
hypervisor/release/console.c
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* Copyright (C) 2018 Intel Corporation. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <hypervisor.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) {}
|
||||
|
||||
void uart16550_set_property(__unused bool enabled, __unused bool port_mapped, __unused uint64_t base_addr) {}
|
||||
|
||||
void shell_init(void) {}
|
||||
void shell_kick(void) {}
|
Reference in New Issue
Block a user