xref: /haiku/headers/private/kernel/platform/efi/protocol/apple-setos.h (revision a127b88ecbfab58f64944c98aa47722a18e363b2)
1 // Copyright 2015 Bruno Bierbaumer
2 // Released under the terms of the MIT License
3 
4 #pragma once
5 
6 #include <efi/types.h>
7 
8 #define EFI_APPLE_SET_OS_GUID \
9 	{0xc5c5da95, 0x7d5c, 0x45e6, {0xb2, 0xf1, 0x3f, 0xd5, 0x2b, 0xb1, 0x00, 0x77}}
10 extern efi_guid AppleSetOSProtocol;
11 
12 typedef struct efi_apple_set_os_protocol {
13 	uint64_t Revision;
14 
15 	efi_status (*SetOSVersion) (char* version) EFIAPI;
16 	efi_status (*SetOSVendor) (char* vendor) EFIAPI;
17 } efi_apple_set_os_protocol;
18