]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/GenericBdsLib/R8Lib.h
UEFI HII: Merge UEFI HII support changes from branch.
[mirror_edk2.git] / MdeModulePkg / Library / GenericBdsLib / R8Lib.h
1 /**@file
2 Copyright (c) 2007, Intel Corporation
3
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12
13 **/
14
15
16
17 /**
18 Get current boot mode.
19
20 @param HobStart Start pointer of hob list
21 @param BootMode Current boot mode recorded in PHIT hob
22
23 @retval EFI_NOT_FOUND Invalid hob header
24 @retval EFI_SUCCESS Boot mode found
25
26 **/
27 EFI_STATUS
28 R8_GetHobBootMode (
29 IN VOID *HobStart,
30 OUT EFI_BOOT_MODE *BootMode
31 )
32 ;
33
34
35
36
37 /**
38 Get the next guid hob.
39
40 @param HobStart A pointer to the start hob.
41 @param Guid A pointer to a guid.
42 @param Buffer A pointer to the buffer.
43 @param BufferSize Buffer size.
44
45 @retval EFI_NOT_FOUND Next Guid hob not found
46 @retval EFI_SUCCESS Next Guid hob found and data for this Guid got
47 @retval EFI_INVALID_PARAMETER invalid parameter
48
49 **/
50 EFI_STATUS
51 R8_GetNextGuidHob (
52 IN OUT VOID **HobStart,
53 IN EFI_GUID * Guid,
54 OUT VOID **Buffer,
55 OUT UINTN *BufferSize OPTIONAL
56 )
57 ;
58
59