Root/
Source at commit 132 created 14 years 8 days ago. By diebuche, Adding lebidous latest changes | |
---|---|
1 | /*␊ |
2 | * ati_resolution.h␊ |
3 | * ␊ |
4 | *␊ |
5 | * Created by Le Bidou on 19/03/10.␊ |
6 | * Copyright 2010 ---. All rights reserved.␊ |
7 | *␊ |
8 | */␊ |
9 | ␊ |
10 | #ifndef _ATI_RESOLUTION_H_␊ |
11 | #define _ATI_RESOLUTION_H_␊ |
12 | ␊ |
13 | #include "libsaio.h"␊ |
14 | #include "autoresolution.h"␊ |
15 | #include "shortatombios.h"␊ |
16 | ␊ |
17 | #define ATI_SIGNATURE1 "ATI MOBILITY RADEON"␊ |
18 | #define ATI_SIGNATURE2 "ATI Technologies Inc"␊ |
19 | ␊ |
20 | typedef struct {␊ |
21 | unsigned char *base;␊ |
22 | ATOM_ROM_HEADER *AtomRomHeader;␊ |
23 | unsigned short *MasterCommandTables;␊ |
24 | unsigned short *MasterDataTables;␊ |
25 | } bios_tables_t;␊ |
26 | ␊ |
27 | char detect_ati_bios_type(vbios_map * map);␊ |
28 | ␊ |
29 | vbios_map * open_ati_vbios(vbios_map * map, bios_tables_t ati_tables);␊ |
30 | ␊ |
31 | bool ati_set_mode_1(vbios_map* map, UInt8 idx, UInt32* x, UInt32* y);␊ |
32 | bool ati_set_mode_2(vbios_map* map, UInt8 idx, UInt32* x, UInt32* y);␊ |
33 | ␊ |
34 | #endif |