mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-04 13:23:26 +01:00
9cb4016bc5
Rename strerror to efiStrError because of conflict when run cpp_tests on Mac. Switch base64_decode_block to long to avoid warning and cast. Correct GetTableType4(). Size was used without being initialized.
53 lines
807 B
C
53 lines
807 B
C
/*
|
|
* card_vlist.h
|
|
*
|
|
* Created on: 16 Apr 2020
|
|
* Author: jief
|
|
*/
|
|
|
|
#ifndef PLATFORM_CARD_VLIST_H_
|
|
#define PLATFORM_CARD_VLIST_H_
|
|
|
|
#include "../Platform/plist/plist.h"
|
|
|
|
|
|
typedef struct {
|
|
UINT32 Signature;
|
|
LIST_ENTRY Link;
|
|
CHAR8 Model[64];
|
|
UINT32 Id;
|
|
UINT32 SubId;
|
|
UINT64 VideoRam;
|
|
UINTN VideoPorts;
|
|
BOOLEAN LoadVBios;
|
|
} CARDLIST;
|
|
|
|
|
|
#define CARDLIST_SIGNATURE SIGNATURE_32('C','A','R','D')
|
|
|
|
|
|
VOID
|
|
FillCardList (
|
|
const TagDict* CfgDict
|
|
);
|
|
|
|
CARDLIST
|
|
*FindCardWithIds (
|
|
UINT32 Id,
|
|
UINT32 SubId
|
|
);
|
|
|
|
VOID
|
|
AddCard (
|
|
CONST CHAR8 *Model,
|
|
UINT32 Id,
|
|
UINT32 SubId,
|
|
UINT64 VideoRam,
|
|
UINTN VideoPorts,
|
|
BOOLEAN LoadVBios
|
|
);
|
|
|
|
|
|
|
|
#endif /* PLATFORM_CARD_VLIST_H_ */
|