amd64: sync missing functions/config from i386
authorSimon Schubert <corecode@dragonflybsd.org>
Sun, 30 Aug 2009 08:55:58 +0000 (10:55 +0200)
committerSimon Schubert <corecode@dragonflybsd.org>
Tue, 1 Sep 2009 22:46:07 +0000 (00:46 +0200)
sys/cpu/amd64/include/cpufunc.h
sys/platform/pc64/conf/files
sys/platform/pc64/conf/options

index 2b92073..7969e19 100644 (file)
@@ -388,6 +388,12 @@ cpu_invlpg(void *addr)
 
 #endif
 
+static __inline void
+cpu_nop(void)
+{
+       __asm __volatile("rep; nop");
+}
+
 #endif /* _KERNEL */
 
 static __inline u_short
index 77d6ed0..8019f21 100644 (file)
@@ -154,6 +154,7 @@ kern/syscalls.c                     standard
 platform/pc64/amd64/mp_machdep.c               optional        smp
 dev/misc/atkbd/atkbd_isa.c             optional        atkbd
 dev/misc/atkbdc_layer/atkbdc_isa.c     optional        atkbdc
+dev/misc/ppc/ppc.c                     optional        ppc
 dev/misc/psm/psm.c                     optional        psm
 dev/serial/sio/sio.c                   optional        sio
 bus/isa/syscons_isa.c                  optional        sc
index 0ce4868..c2244a6 100644 (file)
@@ -2,6 +2,21 @@
 # $DragonFly: src/sys/platform/pc64/conf/options,v 1.4 2008/08/29 17:07:15 dillon Exp $
 #
 
+DISABLE_PSE
+PMAP_SHPGPERPROC       opt_pmap.h
+PPC_PROBE_CHIPSET      opt_ppc.h
+PPC_DEBUG              opt_ppc.h
+SHOW_BUSYBUFS
+PANIC_REBOOT_WAIT_TIME opt_panic.h
+MAXMEM
+PERFMON                        opt_perfmon.h
+POWERFAIL_NMI          opt_trap.h
+AUTO_EOI_1             opt_auto_eoi.h
+AUTO_EOI_2             opt_auto_eoi.h
+CONSPEED               opt_comconsole.h
+I586_PMC_GUPROF                opt_i586_guprof.h
+BROKEN_KEYBOARD_RESET  opt_reset.h
+
 # amd64 SMP options
 APIC_IO                        opt_global.h
 
@@ -46,12 +61,3 @@ KBD_MAXRETRY         opt_kbd.h
 KBD_MAXWAIT            opt_kbd.h
 KBD_RESETDELAY         opt_kbd.h
 KBDIO_DEBUG            opt_kbd.h
-
-#
-#
-SHOW_BUSYBUFS
-PANIC_REBOOT_WAIT_TIME  opt_panic.h
-
-AUTO_EOI_1             opt_auto_eoi.h
-AUTO_EOI_2             opt_auto_eoi.h
-