1 | /*␊ |
2 | * Copyright (c) 2012 cparm <armelcadetpetit@gmail.com>. All rights reserved.␊ |
3 | *␊ |
4 | */␊ |
5 | ␊ |
6 | #ifndef __LIBSAIO_GFX_HELPER_H␊ |
7 | #define __LIBSAIO_GFX_HELPER_H␊ |
8 | ␊ |
9 | typedef struct cardList_t␊ |
10 | {␊ |
11 | ␉char␉␉␉*model;␊ |
12 | ␉uint32_t␉␉id;␊ |
13 | ␉uint32_t␉␉subid;␊ |
14 | ␉uint64_t␉␉videoRam;␊ |
15 | ␉struct cardList_t␉*next;␊ |
16 | } cardList_t;␊ |
17 | ␊ |
18 | void add_card(char *model, uint32_t id, uint32_t subid, uint64_t videoRam);␊ |
19 | void fill_card_list(void);␊ |
20 | cardList_t *FindCardWithIds(uint32_t id, uint32_t subid);␊ |
21 | ␊ |
22 | #endif //__LIBSAIO_GFX_HELPER_H␊ |
23 | |