Chameleon

Chameleon Svn Source Tree

Root/branches/meklort/i386/libsaio/edid.h

Source at commit 340 created 13 years 10 months ago.
By azimutz, Ok.. as i mentioned about the "drivers" override key, this stuff is mostly based on the search algo on search_and_get_acpi_fd, acpi_patcher.c; i just added 2+2 and got 5 in return :) No need to check for ramdisk presence anymore, courtesy of Zef, rev 264. Why check the root of the ramdisk (rd) instead of /Extra? Well, rd's can be aliased as bt(0,0) or not, and the behavior is pretty diff in both situations; a "normal" rd can load "single" files and the paths to it start with rd(0,0).
1/*
2 * edid.h
3 *
4 *
5 * Created by Evan Lojewski on 12/1/09.
6 * Copyright 2009. All rights reserved.
7 *
8 */
9
10
11#define EDID_BLOCK_SIZE128
12#define EDID_V1_BLOCKS_TO_GO_OFFSET 126
13
14char* readEDID();
15void getResolution(UInt32* x, UInt32* y, UInt32* bp);

Archive Download this file

Revision: 340