Chameleon

Chameleon Commit Details

Date:2017-03-23 01:22:14 (3 years 2 months ago)
Author:ErmaC
Commit:2852
Parents: 2851
Message:Handle macro definition for ati.c/gma.c/nvidia.c from config.h
Changes:
M/branches/ErmaC/Enoch/i386/boot2/config.h
M/branches/ErmaC/Enoch/i386/libsaio/ati.c
M/branches/ErmaC/Enoch/i386/libsaio/gma.c
M/branches/ErmaC/Enoch/i386/libsaio/nvidia.c

File differences

branches/ErmaC/Enoch/i386/libsaio/gma.c
3333
3434
3535
36
3637
3738
3839
......
4445
4546
4647
47
48
49
50
51
52
53
54
5548
5649
5750
- http://www.insanelymac.com/forum/topic/288241-intel-hd4000-inject-aaplig-platform-id/
*/
#include "config.h"
#include "libsa.h"
#include "saio_internal.h"
#include "bootstruct.h"
#include "vbe.h"
#include "graphics.h"
#ifndef DEBUG_GMA
#define DEBUG_GMA 0
#endif
#ifndef REPLACE_DEVICE_ID
#define REPLACE_DEVICE_ID 0
#endif
#if DEBUG_GMA
#define DBG(x...)printf(x)
#else
branches/ErmaC/Enoch/i386/libsaio/nvidia.c
4747
4848
4949
50
5051
5152
5253
......
5657
5758
5859
59
60
61
62
6360
6461
6562
*SOFTWARE.
*/
#include "config.h"
#include "boot.h"
#include "bootstruct.h"
#include "pci.h"
#include "nvidia.h"
#include "nvidia_helper.h"
#ifndef DEBUG_NVIDIA
#define DEBUG_NVIDIA 0
#endif
#if DEBUG_NVIDIA
#define DBG(x...)printf(x)
#else
branches/ErmaC/Enoch/i386/libsaio/ati.c
55
66
77
8
89
910
1011
11
12
13
14
1512
1613
1714
*
*/
#include "config.h"
#include "ati.h"
#include "convert.h"
#ifndef DEBUG_ATI
#define DEBUG_ATI 0
#endif
#if DEBUG_ATI
#define DBG(x...)printf(x)
#else
branches/ErmaC/Enoch/i386/boot2/config.h
1313
1414
1515
16
17
18
19
20
21
22
23
24
25
1626
1727
1828
#define DEBUG_BOOT2 0
#define DEBUG_INTERRUPTS 0
////////////////////////////////// ati.c
#define DEBUG_ATI 0
////////////////////////////////// nvidia.c
#define DEBUG_NVIDIA 0
////////////////////////////////// gma.c
#define DEBUG_GMA 0
#define REPLACE_DEVICE_ID 0
////////////////////////////////// cpu.c
#define DEBUG_CPU 0

Archive Download the corresponding diff file

Revision: 2852