Specifications
Code Definitions
91
EFI_LEGACY_REGION_PROTOCOL.BootLock()
Summary
Sets a region to read only and ensures that flash is locked from being inadvertently
modified.
Prototype
typedef
EFI_STATUS
(EFIAPI *EFI_LEGACY_REGION_BOOT_LOCK) (
IN EFI_LEGACY_REGION_PROTOCOL *This,
IN UINT32 Start,
IN UINT32 Length,
OUT UINT32 *Granularity OPTIONAL
);
Parameters
This
Indicates the EFI_LEGACY_REGION_PROTOCOL instance
Start
Start of the region to lock.
Length
Length of the region
Granularity
Lock attribute affects this granularity in bytes.
Description
This function makes a region from 0xC0000 to 0xFFFFF read only and prevents writes to
any alias regions.
Status Codes Returned
EFI_SUCCESS
The region was made read only and flash is
locked.










