Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 308233 | Differences between
and this patch

Collapse All | Expand All

(-)pmtools-20100123.orig/madt/madt.c (-2 / +2 lines)
Lines 26-33 Link Here
26
26
27
#define printk printf
27
#define printk printf
28
28
29
#include "./tables.c"
30
31
//#define INPUT_FILE "madt.dat"
29
//#define INPUT_FILE "madt.dat"
32
//#include <sys/types.h>
30
//#include <sys/types.h>
33
//#include <sys/stat.h>
31
//#include <sys/stat.h>
Lines 37-42 Link Here
37
#include <stdio.h> // fread
35
#include <stdio.h> // fread
38
#include <stdlib.h> // malloc
36
#include <stdlib.h> // malloc
39
37
38
#include "./tables.c"
39
40
int verbose = 0;
40
int verbose = 0;
41
/*
41
/*
42
/* read standard input
42
/* read standard input
(-)pmtools-20100123.orig/madt/Makefile (+2 lines)
Lines 1-3 Link Here
1
all: madt
2
1
test: madt
3
test: madt
2
	./madt < APIC
4
	./madt < APIC
3
madt: madt.c acpi.h tables.c
5
madt: madt.c acpi.h tables.c
(-)pmtools-20100123.orig/Makefile (-1 / +1 lines)
Lines 1-4 Link Here
1
DIRS = acpidump acpixtract turbostat
1
DIRS = acpidump acpixtract madt turbostat
2
2
3
all:
3
all:
4
	for i in $(DIRS); do $(MAKE) -C $$i $@; done
4
	for i in $(DIRS); do $(MAKE) -C $$i $@; done

Return to bug 308233