Root/
Source at commit 2381 created 10 years 21 days ago. By ifabio, Apply patch: (Credits to Thomas Jansen aka tja) - Reading options from all devices during boot. The options for the boot menu are only read from the devices rd(0,0) or bt(0,0). Consequently, boot menu options (e.g. "Quiet Boot", "Timeout", etc.) in plists on other devices (like most users have) are ignored. This patch extends the list of paths to search for the options plist on all devices that can be found. | |
---|---|
1 | /*␊ |
2 | * Copyright (c) 2012 cparm <armelcadetpetit@gmail.com>. All rights reserved.␊ |
3 | *␊ |
4 | */␊ |
5 | ␊ |
6 | ␊ |
7 | #ifndef __LIBSAIO_NVIDIA_HELPER_H␊ |
8 | #define __LIBSAIO_NVIDIA_HELPER_H␊ |
9 | ␊ |
10 | typedef struct cardList_t␊ |
11 | {␊ |
12 | ␉char* model;␊ |
13 | ␉uint32_t id;␊ |
14 | ␉uint32_t subid;␊ |
15 | ␉uint64_t videoRam;␊ |
16 | ␉struct cardList_t* next;␊ |
17 | } cardList_t;␊ |
18 | ␊ |
19 | void add_card(char* model, uint32_t id, uint32_t subid, uint64_t videoRam);␊ |
20 | void fill_card_list(void);␊ |
21 | cardList_t* FindCardWithIds(uint32_t id, uint32_t subid);␊ |
22 | ␊ |
23 | #endif //__LIBSAIO_NVIDIA_HELPER_H |