mirror of
https://github.com/Alvin-Zilverstand/bob16.git
synced 2026-11-21 12:52:59 +01:00
21 lines
756 B
C
21 lines
756 B
C
#ifndef BOB64_FIRMWARE_STORE_H
|
|
#define BOB64_FIRMWARE_STORE_H
|
|
|
|
#include "efi.h"
|
|
#include "filesystem.h"
|
|
#include "heap.h"
|
|
|
|
#define BOB64_FIRMWARE_SNAPSHOT_LIMIT (6u*30720u)
|
|
#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
|