Chameleon

Chameleon Svn Source Tree

Root/tags/2.1/i386/libsaio/nvidia_helper.h

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
10typedef struct cardList_t
11{
12char* model;
13uint32_t id;
14uint32_t subid;
15uint64_t videoRam;
16struct cardList_t* next;
17} cardList_t;
18
19void add_card(char* model, uint32_t id, uint32_t subid, uint64_t videoRam);
20void fill_card_list(void);
21cardList_t* FindCardWithIds(uint32_t id, uint32_t subid);
22
23#endif //__LIBSAIO_NVIDIA_HELPER_H

Archive Download this file

Revision: 2381