mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-04-30 20:53:56 +00:00
Replace the BSD-3-Clause boiler plate license text with an SPDX tag. Fixes: #189 Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
23 lines
471 B
C
23 lines
471 B
C
/*
|
|
* Copyright (C) 2018 Intel Corporation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef SERIAL_H
|
|
#define SERIAL_H
|
|
|
|
#ifdef HV_DEBUG
|
|
int serial_init(void);
|
|
void uart16550_set_property(int enabled, int port_mapped, uint64_t base_addr);
|
|
#else
|
|
static inline int serial_init(void) { return 0; }
|
|
static inline void uart16550_set_property(__unused int enabled,
|
|
__unused int port_mapped,
|
|
__unused uint64_t base_addr)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
#endif
|