OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
HdaControllerInfo.h
Go to the documentation of this file.
1/*
2 * File: HdaControllerInfo.h
3 *
4 * Copyright (c) 2018 John Davis
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights
9 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 * copies of the Software, and to permit persons to whom the Software is
11 * furnished to do so, subject to the following conditions:
12 *
13 * The above copyright notice and this permission notice shall be included in all
14 * copies or substantial portions of the Software.
15 *
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22 * SOFTWARE.
23 */
24
25#ifndef EFI_HDA_CONTROLLER_INFO_H
26#define EFI_HDA_CONTROLLER_INFO_H
27
28#include <Uefi.h>
29
33#define EFI_HDA_CONTROLLER_INFO_PROTOCOL_GUID \
34 { 0xE5FC2CAF, 0x0291, 0x46F2, \
35 { 0x87, 0xF8, 0x10, 0xC7, 0x58, 0x72, 0x58, 0x04 } }
36
38
48typedef
49EFI_STATUS
52 OUT CONST CHAR16 **Name
53 );
54
64typedef
65EFI_STATUS
68 OUT UINT32 *VendorId
69 );
70
78
80
81#endif // EFI_HDA_CONTROLLER_INFO_H
EFI_GUID gEfiHdaControllerInfoProtocolGuid
EFI_STATUS(EFIAPI * EFI_HDA_CONTROLLER_INFO_GET_VENDOR_ID)(IN EFI_HDA_CONTROLLER_INFO_PROTOCOL *This, OUT UINT32 *VendorId)
EFI_STATUS(EFIAPI * EFI_HDA_CONTROLLER_INFO_GET_NAME)(IN EFI_HDA_CONTROLLER_INFO_PROTOCOL *This, OUT CONST CHAR16 **Name)
EFI_HDA_CONTROLLER_INFO_GET_VENDOR_ID GetVendorId
EFI_HDA_CONTROLLER_INFO_GET_NAME GetName