9#ifndef MEDIA_SANITIZE_PROTOCOL_H_
10#define MEDIA_SANITIZE_PROTOCOL_H_
12#define MEDIA_SANITIZE_PROTOCOL_GUID \
14 0x0d799a99, 0x25af, 0x429e, { 0x92, 0x72, 0xd0, 0xb2, 0x7d, 0x6d, 0x5f, 0x14 } \
19#define MEDIA_SANITIZE_PROTOCOL_REVISION 0x00010000
27#define PURGE_ACTION_NO_ACTION 0x00000000
28#define PURGE_ACTION_OVERWRITE 0x00000001
29#define PURGE_ACTION_BLOCK_ERASE 0x00000002
30#define PURGE_ACTION_CRYPTO_ERASE 0x00000004
31#define PURGE_ACTION_RESET_REQUIRED 0x00000008
32#define PURGE_ACTION_NO_DEALLOCATE 0x00000010
33#define PURGE_ACTION_INVERT_OW_PATTERN 0x00000020
34#define PURGE_ACTION_ALLOW_UNRESTRICTED_SANITIZE_EXIT 0x00000040
39#define FORMAT_SES_NO_SECURE_ERASE_REQUESTED 0x0
40#define FORMAT_SES_USER_DATA_ERASE 0x1
41#define FORMAT_SES_CRYPTOGRAPHIC_ERASE 0x2
73 IN VOID *SectorOwBuffer
105 IN UINT32 PurgeAction,
106 IN UINT32 OverwritePattern
138 IN UINT32 SecureEraseAction
171extern EFI_GUID gMediaSanitizeProtocolGuid;
UINT32 SanitizeCapabilities
EFI_BLOCK_IO_MEDIA * Media