mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-10 09:40:53 +01:00
Update 2 typedef struct to make them compatible C and C++
This commit is contained in:
parent
38204b0b4c
commit
926ecc8d9b
@ -56,20 +56,19 @@ extern CHAR8* gDeviceProperties;
|
||||
|
||||
//BOOLEAN setup_nvidia_devprop(pci_dt_t *nvda_dev);
|
||||
|
||||
struct nvidia_pci_info_t;
|
||||
typedef struct {
|
||||
typedef struct nvidia_pci_info_t
|
||||
{
|
||||
UINT32 device; // VendorID + DeviceID
|
||||
CHAR8 *name_model;
|
||||
} nvidia_pci_info_t;
|
||||
|
||||
struct nvidia_card_info_t;
|
||||
typedef struct
|
||||
typedef struct nvidia_card_info_t
|
||||
{
|
||||
UINT32 device; // VendorID + DeviceID
|
||||
UINT32 subdev; // SubdeviceID + SubvendorID
|
||||
CHAR8 *name_model;
|
||||
UINT8 *custom_NVCAP;
|
||||
}nvidia_card_info_t;
|
||||
} nvidia_card_info_t;
|
||||
|
||||
#define DCB_MAX_NUM_ENTRIES 16
|
||||
#define DCB_MAX_NUM_I2C_ENTRIES 16
|
||||
|
Loading…
Reference in New Issue
Block a user