Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 333 → Rev 334

/SPARTAN/trunk/arch/ia32/src/pm.c
69,9 → 69,6
 
struct tss *tss_p = NULL;
 
/* TODO: Does not compile correctly if it does not exist ???? */
int __attribute__ ((section ("K_DATA_START"))) __fake;
 
/* gdtr is changed by kmp before next CPU is initialized */
struct ptr_16_32 protected_bootstrap_gdtr = { .limit = sizeof(gdt), .base = KA2PA((__address) gdt) };
struct ptr_16_32 gdtr = { .limit = sizeof(gdt), .base = (__address) gdt };
/SPARTAN/trunk/arch/ia32/src/acpi/madt.c
131,7 → 131,6
for (h = &acpi_madt->apic_header[0]; h < end; h = (struct madt_apic_header *) (((__u8 *) h) + h->length)) {
madt_entries_index_cnt++;
}
printf("MADT: Found %d entries\n", madt_entries_index_cnt);
 
/* create madt apic entries index array */
madt_entries_index = (struct madt_apic_header * *) malloc(madt_entries_index_cnt * sizeof(struct madt_apic_header * *));
142,7 → 141,6
madt_entries_index[index++] = h;
}
 
 
/* Quicksort MADT index structure */
qsort(madt_entries_index, madt_entries_index_cnt, sizeof(__address), &madt_cmp);