OvmfPkg: Improve style and formatting in BhyveFwCtlLib.h

There were some problems with the formatting and style that made the
file difficult to read.

Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
Message-Id: <20201130053412.2-5-rebecca@bsdio.com>
Acked-by: Peter Grehan <grehan@freebsd.org>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Build-tested-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
Rebecca Cran 2020-11-29 22:34:11 -07:00 committed by mergify[bot]
parent 8d676f54ff
commit 3cdfedc20e

View File

@ -8,8 +8,8 @@
**/
#ifndef __BHYVE_FW_CTL_LIB__
#define __BHYVE_FW_CTL_LIB__
#ifndef _BHYVE_FW_CTL_LIB_
#define _BHYVE_FW_CTL_LIB_
/**
Sysctl-like interface to read host information via a dot-separated
@ -29,19 +29,19 @@
@param[] Data - return buffer pointer
@param[] Size - pointer to length
@return RETURN_SUCCESS Valid data/len returned.
RETURN_UNSUPPORTED f/w interface not present.
RETURN_NOT_FOUND OID not found.
RETURN_BUFFER_TOO_SMALL Return message truncated.
RETURN_INVALID_PARAMETER Buffer too large
RETURN_PROTOCOL_ERROR Unknown error from host
@return RETURN_SUCCESS Valid data/len returned.
RETURN_UNSUPPORTED f/w interface not present.
RETURN_NOT_FOUND OID not found.
RETURN_BUFFER_TOO_SMALL Return message truncated.
RETURN_INVALID_PARAMETER Buffer too large.
RETURN_PROTOCOL_ERROR Unknown error from host.
**/
RETURN_STATUS
EFIAPI
BhyveFwCtlGet (
IN CONST CHAR8 *Name,
OUT VOID *Item,
IN OUT UINTN *Size
IN CONST CHAR8 *Name,
OUT VOID *Item,
IN OUT UINTN *Size
);
#endif
#endif /* _BHYVE_FW_CTL_LIB_ */