]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Include/Library/QemuFwCfgLib.h
OvmfPkg/QemuFwCfgLib: add QemuFwCfgSkipBytes()
[mirror_edk2.git] / OvmfPkg / Include / Library / QemuFwCfgLib.h
index 3e017d53a97eacb05db39dae6cf9d73752688831..41c3817470a2633305b98c08687f958abd979dc7 100644 (file)
@@ -158,6 +158,22 @@ QemuFwCfgWriteBytes (
   );\r
 \r
 \r
+/**\r
+  Skip bytes in the firmware configuration item.\r
+\r
+  Increase the offset of the firmware configuration item without transferring\r
+  bytes between the item and a caller-provided buffer. Subsequent read, write\r
+  or skip operations will commence at the increased offset.\r
+\r
+  @param[in] Size  Number of bytes to skip.\r
+**/\r
+VOID\r
+EFIAPI\r
+QemuFwCfgSkipBytes (\r
+  IN UINTN                  Size\r
+  );\r
+\r
+\r
 /**\r
   Reads a UINT8 firmware configuration value\r
 \r