PERFORCE change 42096 for review

Peter Wemm peter at wemm.org
Tue Nov 11 20:24:39 PST 2003


Peter Wemm wrote:
> http://perforce.freebsd.org/chv.cgi?CH=42096
> 
> Change 42096 by peter at peter_daintree on 2003/11/11 20:16:55
> 
> 	oops. it would seem I haven't added the rest of the curpmap stuff.
> 	hack around it for now.
> 
> Affected files ...
> 
> .. //depot/projects/hammer/sys/amd64/amd64/pmap.c#42 edit
> 
> Differences ...
> 
> ==== //depot/projects/hammer/sys/amd64/amd64/pmap.c#42 (text+ko) ====
> 
> @@ -3007,6 +3007,7 @@
>  	atomic_clear_int(&oldpmap->pm_active, PCPU_GET(cpumask));
>  	atomic_set_int(&pmap->pm_active, PCPU_GET(cpumask));
>  #else
> +if (oldpmap)	/* XXX FIXME */
>  	oldpmap->pm_active &= ~PCPU_GET(cpumask);
>  	pmap->pm_active |= PCPU_GET(cpumask);
>  #endif


And with that, we boot!

peter at hammer[8:20pm]~-105> vmstat -i
interrupt                     total       rate
irq0: clk                           5292         98
irq4: sio0                           160          2
irq6: fdc0                             5          0
irq8: rtc                           6773        125
irq14: ata0                         1313         24
irq15: ata1                           30          0
irq19: bge0 ohci0+                   258          4
^^^^^^^^^^^
Total                         13831        256

peter at hammer[8:21pm]~-107> dmesg | egrep -i 'pic|table|madt'
Table 'FACP' at 0x1fff3040
Table 'HPET' at 0x1fff7400
Table 'SSDT' at 0x1fff7500
Table 'APIC' at 0x1fff7480
MADT: Found table at 0x1fff7480
MADT: Found CPU APIC ID 0 ACPI ID 0: enabled
ACPI APIC Table: <AMD-K8 AWRDACPI>
APIC: CPU 0 has ACPI ID 0
MADT: Found IO APIC ID 2, Vector 0 at 0xfec00000
MADT: intr override: source 0, irq 2
MADT: intr override: source 9, irq 9
ioapic0 <Version 1.1> irqs 0-23 on motherboard

Cheers,
-Peter
--
Peter Wemm - peter at wemm.org; peter at FreeBSD.org; peter at yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5



More information about the p4-projects mailing list