summaryrefslogtreecommitdiffstats
path: root/OvmfPkg
diff options
context:
space:
mode:
authorRebecca Cran <rebecca@bsdio.com>2020-11-29 22:34:11 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-11-30 17:49:39 +0000
commit3cdfedc20e45fd6848ee691bcdb301ea7e6f157f (patch)
treec610f8ed8a3cff44cbba9236043b93a9a2fda826 /OvmfPkg
parent8d676f54ff2de9fb97f64486a860c3d204e833c1 (diff)
downloadedk2-3cdfedc20e45fd6848ee691bcdb301ea7e6f157f.tar.gz
edk2-3cdfedc20e45fd6848ee691bcdb301ea7e6f157f.tar.bz2
edk2-3cdfedc20e45fd6848ee691bcdb301ea7e6f157f.zip
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>
Diffstat (limited to 'OvmfPkg')
-rw-r--r--OvmfPkg/Include/Library/BhyveFwCtlLib.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/OvmfPkg/Include/Library/BhyveFwCtlLib.h b/OvmfPkg/Include/Library/BhyveFwCtlLib.h
index 13028ec4b5..07fbd60476 100644
--- a/OvmfPkg/Include/Library/BhyveFwCtlLib.h
+++ b/OvmfPkg/Include/Library/BhyveFwCtlLib.h
@@ -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_ */