This commit is contained in:
Alvin-Zilverstand committed 2026-10-09 03:19:53 +02:00
1 parent 6dc841f956
commit 3d06f94e48
46 files changed
+5830 -543

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
#ifndef BOB64_FIRMWARE_STORE_H
#define BOB64_FIRMWARE_STORE_H
#include "efi.h"
#include "filesystem.h"
#include "heap.h"
#define BOB64_FIRMWARE_SNAPSHOT_LIMIT 61440u
#define BOB64_FIRMWARE_SNAPSHOT_HEADER_SIZE 24u
#define BOB64_FIRMWARE_SNAPSHOT_NOT_FOUND 1
int bob64_firmware_snapshot_save(EFI_RUNTIME_SERVICES *services,BOB64_HEAP *heap,
const void *snapshot,usize snapshot_size,
EFI_STATUS *firmware_status,
UINTN *maximum_variable_size,
UINTN *remaining_storage_size);
int bob64_firmware_snapshot_restore(EFI_RUNTIME_SERVICES *services,
BOB64_FILESYSTEM *filesystem);
#endif