CloverBootloader/rEFIt_UEFI/Platform/card_vlist.h

58 lines
1.0 KiB
C
Raw Normal View History

/*
* 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"
2020-08-17 21:40:52 +02:00
class CARDLIST {
public:
UINT32 Signature = 0;
XString8 Model = XString8();
UINT32 Id = 0;
UINT32 SubId = 0;
UINT64 VideoRam = 0;
UINTN VideoPorts = 0;
BOOLEAN LoadVBios = 0;
CARDLIST() {}
CARDLIST(const CARDLIST& other) = delete; // Can be defined if needed
const CARDLIST& operator = ( const CARDLIST & ) = delete; // Can be defined if needed
~CARDLIST() {}
};
#define CARDLIST_SIGNATURE SIGNATURE_32('C','A','R','D')
2020-10-03 19:02:31 +02:00
void
FillCardList (
const TagDict* CfgDict
);
const CARDLIST*
FindCardWithIds (
UINT32 Id,
UINT32 SubId
);
2020-10-03 19:02:31 +02:00
void
AddCard (
CONST CHAR8 *Model,
UINT32 Id,
UINT32 SubId,
UINT64 VideoRam,
UINTN VideoPorts,
BOOLEAN LoadVBios
);
#endif /* PLATFORM_CARD_VLIST_H_ */