770abdbb9c
stolen from the ia64/ia32 code (indeed there was a repocopy), but I've redone the MD parts and added and fixed a few essential syscalls. It is sufficient to run i386 binaries like /bin/ls, /usr/bin/id (dynamic) and p4. The ia64 code has not implemented signal delivery, so I had to do that. Before you say it, yes, this does need to go in a common place. But we're in a freeze at the moment and I didn't want to risk breaking ia64. I will sort this out after the freeze so that the common code is in a common place. On the AMD64 side, this required adding segment selector context switch support and some other support infrastructure. The %fs/%gs etc code is hairy because loading %gs will clobber the kernel's current MSR_GSBASE setting. The segment selectors are not used by the kernel, so they're only changed at context switch time or when changing modes. This still needs to be optimized. Approved by: re (amd64/* blanket)
63 lines
1.5 KiB
Plaintext
63 lines
1.5 KiB
Plaintext
# $FreeBSD$
|
|
# Options specific to the AMD x86-64 platform kernels
|
|
|
|
MAXMEM
|
|
PERFMON opt_perfmon.h
|
|
|
|
# Change KVM size. Changes things all over the kernel.
|
|
KVA_PAGES opt_global.h
|
|
|
|
CLK_CALIBRATION_LOOP opt_clock.h
|
|
TIMER_FREQ opt_clock.h
|
|
|
|
MAXCONS opt_syscons.h
|
|
SC_ALT_MOUSE_IMAGE opt_syscons.h
|
|
SC_CUT_SPACES2TABS opt_syscons.h
|
|
SC_CUT_SEPCHARS opt_syscons.h
|
|
SC_DEBUG_LEVEL opt_syscons.h
|
|
SC_DFLT_FONT opt_syscons.h
|
|
SC_DISABLE_DDBKEY opt_syscons.h
|
|
SC_DISABLE_REBOOT opt_syscons.h
|
|
SC_HISTORY_SIZE opt_syscons.h
|
|
SC_KERNEL_CONS_ATTR opt_syscons.h
|
|
SC_KERNEL_CONS_REV_ATTR opt_syscons.h
|
|
SC_MOUSE_CHAR opt_syscons.h
|
|
SC_NO_CUTPASTE opt_syscons.h
|
|
SC_NO_FONT_LOADING opt_syscons.h
|
|
SC_NO_HISTORY opt_syscons.h
|
|
SC_NO_SYSMOUSE opt_syscons.h
|
|
SC_NORM_ATTR opt_syscons.h
|
|
SC_NORM_REV_ATTR opt_syscons.h
|
|
SC_PIXEL_MODE opt_syscons.h
|
|
SC_RENDER_DEBUG opt_syscons.h
|
|
SC_TWOBUTTON_MOUSE opt_syscons.h
|
|
SC_NO_SUSPEND_VTYSWITCH opt_syscons.h
|
|
DEV_SPLASH opt_splash.h
|
|
|
|
VGA_ALT_SEQACCESS opt_vga.h
|
|
VGA_DEBUG opt_vga.h
|
|
VGA_NO_FONT_LOADING opt_vga.h
|
|
VGA_NO_MODE_CHANGE opt_vga.h
|
|
VGA_SLOW_IOACCESS opt_vga.h
|
|
VGA_WIDTH90 opt_vga.h
|
|
|
|
ATKBD_DFLT_KEYMAP opt_atkbd.h
|
|
|
|
KBD_DISABLE_KEYMAP_LOAD opt_kbd.h
|
|
KBD_INSTALL_CDEV opt_kbd.h
|
|
KBD_MAXRETRY opt_kbd.h
|
|
KBD_MAXWAIT opt_kbd.h
|
|
KBD_RESETDELAY opt_kbd.h
|
|
KBDIO_DEBUG opt_kbd.h
|
|
|
|
# -------------------------------
|
|
# EOF
|
|
# -------------------------------
|
|
HAMMER opt_cpu.h
|
|
PPC_PROBE_CHIPSET opt_ppc.h
|
|
PPC_DEBUG opt_ppc.h
|
|
PSM_HOOKRESUME opt_psm.h
|
|
PSM_RESETAFTERSUSPEND opt_psm.h
|
|
PSM_DEBUG opt_psm.h
|
|
IA32
|