Last change
on this file was 101291, checked in by vboxsync, 19 months ago |
EFI/FirmwareNew: Make edk2-stable202308 build on all supported platforms (using gcc at least, msvc not tested yet), bugref:4643
|
-
Property svn:eol-style
set to
native
|
File size:
741 bytes
|
Line | |
---|
1 | /** @file
|
---|
2 | Serial Port Library backed by SBI console.
|
---|
3 |
|
---|
4 | Common functionality shared by PrePiDxeSerialPortLibRiscVSbi and
|
---|
5 | PrePiDxeSerialPortLibRiscVSbiRam implementations.
|
---|
6 |
|
---|
7 | Copyright (c) 2023, Intel Corporation. All rights reserved.<BR>
|
---|
8 | SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
9 |
|
---|
10 | **/
|
---|
11 |
|
---|
12 | #ifndef SERIAL_PORT_SBI_COMMON_H_
|
---|
13 | #define SERIAL_PORT_SBI_COMMON_H_
|
---|
14 |
|
---|
15 | #include <Base.h>
|
---|
16 | #include <Library/SerialPortLib.h>
|
---|
17 | #include <Library/BaseRiscVSbiLib.h>
|
---|
18 |
|
---|
19 | BOOLEAN
|
---|
20 | SbiImplementsDbcn (
|
---|
21 | VOID
|
---|
22 | );
|
---|
23 |
|
---|
24 | BOOLEAN
|
---|
25 | SbiImplementsLegacyPutchar (
|
---|
26 | VOID
|
---|
27 | );
|
---|
28 |
|
---|
29 | UINTN
|
---|
30 | SbiLegacyPutchar (
|
---|
31 | IN UINT8 *Buffer,
|
---|
32 | IN UINTN NumberOfBytes
|
---|
33 | );
|
---|
34 |
|
---|
35 | UINTN
|
---|
36 | SbiDbcnWrite (
|
---|
37 | IN UINT8 *Buffer,
|
---|
38 | IN UINTN NumberOfBytes
|
---|
39 | );
|
---|
40 |
|
---|
41 | #endif /* SERIAL_PORT_SBI_COMMON_H_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.