/kernel/trunk/genarch/src/acpi/acpi.c |
41,7 → 41,7 |
struct acpi_xsdt *acpi_xsdt = NULL; |
|
struct acpi_signature_map signature_map[] = { |
{ (__u8 *)"APIC", (struct acpi_sdt_header **) &acpi_madt, "Multiple APIC Description Table" } |
{ (__u8 *)"APIC", (void *) &acpi_madt, "Multiple APIC Description Table" } |
}; |
|
static int rsdp_check(__u8 *rsdp) { |
/kernel/trunk/generic/src/lib/func.c |
45,7 → 45,7 |
void halt() |
{ |
#ifdef CONFIG_DEBUG |
bool rundebugger; |
bool rundebugger = false; |
|
// TODO test_and_set not defined on all arches |
// if (!test_and_set(&haltstate)) |
/kernel/trunk/generic/src/time/timeout.c |
98,7 → 98,7 |
*/ |
void timeout_register(timeout_t *t, __u64 time, timeout_handler_t f, void *arg) |
{ |
timeout_t *hlp; |
timeout_t *hlp = NULL; |
link_t *l, *m; |
ipl_t ipl; |
__u64 sum; |
/kernel/trunk/Makefile |
45,7 → 45,7 |
# |
|
DEFS = -D$(ARCH) -DARCH=\"$(ARCH)\" -DRELEASE=\"$(RELEASE)\" "-DNAME=\"$(NAME)\"" |
CFLAGS = -fno-builtin -fomit-frame-pointer -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -nostdlib -nostdinc -Igeneric/include/ |
CFLAGS = -fno-builtin -fomit-frame-pointer -Wall -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -nostdlib -nostdinc -Igeneric/include/ |
LFLAGS = -M |
AFLAGS = |
|
/kernel/trunk/arch/ia64/src/fmath.c |
43,15 → 43,7 |
|
double fmath_get_decimal_exponent(double num) |
{ //TODO: |
double value; |
// log10(2)*log2(x) => log10(x) |
/* __asm__ __volatile__ ( \ |
"fldlg2 #load log10(2) \n\t" \ |
"fxch %%st(1) \n\t" \ |
"fyl2x #count st(0)*log2(st(1))->st(1); pop st(0) \n\t" \ |
: "=t" (value) : "0"(num) ); |
*/ return value; |
|
return 0; |
} |
|
__u64 fmath_get_binary_mantisa(double num) |
/kernel/trunk/arch/ppc32/src/fmath.c |
43,15 → 43,7 |
|
double fmath_get_decimal_exponent(double num) |
{ //TODO: |
double value; |
// log10(2)*log2(x) => log10(x) |
/* __asm__ __volatile__ ( \ |
"fldlg2 #load log10(2) \n\t" \ |
"fxch %%st(1) \n\t" \ |
"fyl2x #count st(0)*log2(st(1))->st(1); pop st(0) \n\t" \ |
: "=t" (value) : "0"(num) ); |
*/ return value; |
|
return 0; |
} |
|
__u64 fmath_get_binary_mantisa(double num) |