Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Oct 2003 15:56:10 -0800 (PST)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 40901 for review
Message-ID:  <200310302356.h9UNuAN5087331@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=40901

Change 40901 by peter@peter_daintree on 2003/10/30 15:56:08

	compile hacks. KERNLOAD doesn't exist here since we have dmap.  I need
	to fix this properly.

Affected files ...

.. //depot/projects/hammer/sys/amd64/acpica/madt.c#7 edit

Differences ...

==== //depot/projects/hammer/sys/amd64/acpica/madt.c#7 (text+ko) ====

@@ -200,7 +200,9 @@
 	    (void *)rsdp_ptr.Pointer.Logical);
 	printf("rsdp_ptr.Pointer.Physical = 0x%jx\n",
 	    (uintmax_t)rsdp_ptr.Pointer.Physical);
+#ifdef __i386__
 	KASSERT(rsdp_ptr.Pointer.Physical < KERNLOAD, ("RSDP too high"));
+#endif
 	rsdp = pmap_mapdev(rsdp_ptr.Pointer.Physical, sizeof(RSDP_DESCRIPTOR));
 	if (rsdp == NULL) {
 		if (bootverbose)
@@ -422,7 +424,7 @@
 		if (bootverbose)
 			printf("MADT: Found IO APIC ID %d, Vector %d at %p\n",
 			    apic->IoApicId, apic->Vector,
-			    (void *)apic->IoApicAddress);
+			    (void *)(uintptr_t)apic->IoApicAddress);
 		if (apic->IoApicId >= NIOAPICS)
 			panic("%s: I/O APIC ID %d too high", __func__,
 			    apic->IoApicId);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310302356.h9UNuAN5087331>