This is the start of the FreeBSD/x86_64 kernel.
This commit is contained in:
parent
9180e65944
commit
bcd9cd0d4e
50
sys/conf/Makefile.amd64
Normal file
50
sys/conf/Makefile.amd64
Normal file
@ -0,0 +1,50 @@
|
||||
# Makefile.x86_64 -- with config changes.
|
||||
# Copyright 1990 W. Jolitz
|
||||
# from: @(#)Makefile.i386 7.1 5/10/91
|
||||
# from FreeBSD: src/sys/conf/Makefile.i386,v 1.255 2002/02/20 23:35:49
|
||||
# $FreeBSD$
|
||||
#
|
||||
# Makefile for FreeBSD
|
||||
#
|
||||
# This makefile is constructed from a machine description:
|
||||
# config machineid
|
||||
# Most changes should be made in the machine description
|
||||
# /sys/x86_64/conf/``machineid''
|
||||
# after which you should do
|
||||
# config machineid
|
||||
# Generic makefile changes should be made in
|
||||
# /sys/conf/Makefile.x86_64
|
||||
# after which config should be rerun for all machines.
|
||||
#
|
||||
|
||||
# Which version of config(8) is required.
|
||||
%VERSREQ= 500010
|
||||
|
||||
STD8X16FONT?= iso
|
||||
|
||||
.if !defined(S)
|
||||
.if exists(./@/.)
|
||||
S= ./@
|
||||
.else
|
||||
S= ../../..
|
||||
.endif
|
||||
.endif
|
||||
.include "$S/conf/kern.pre.mk"
|
||||
|
||||
MKMODULESENV+= MACHINE=x86_64
|
||||
|
||||
%BEFORE_DEPEND
|
||||
|
||||
%OBJS
|
||||
|
||||
%FILES.c
|
||||
|
||||
%FILES.s
|
||||
|
||||
%FILES.m
|
||||
|
||||
%CLEAN
|
||||
|
||||
%RULES
|
||||
|
||||
.include "$S/conf/kern.post.mk"
|
72
sys/conf/files.amd64
Normal file
72
sys/conf/files.amd64
Normal file
@ -0,0 +1,72 @@
|
||||
# This file tells config what files go into building a kernel,
|
||||
# files marked standard are always included.
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
# The long compile-with and dependency lines are required because of
|
||||
# limitations in config: backslash-newline doesn't work in strings, and
|
||||
# dependency lines other than the first are silently ignored.
|
||||
#
|
||||
|
||||
dev/kbd/atkbd.c optional atkbd
|
||||
dev/kbd/atkbdc.c count atkbdc
|
||||
dev/kbd/kbd.c optional atkbd
|
||||
dev/kbd/kbd.c optional kbd
|
||||
dev/kbd/kbd.c optional sc
|
||||
dev/kbd/kbd.c optional ukbd
|
||||
dev/kbd/kbd.c optional vt
|
||||
dev/sio/sio.c optional sio
|
||||
dev/sio/sio_isa.c optional sio isa
|
||||
dev/sio/sio_pccard.c optional sio card
|
||||
dev/sio/sio_pccard.c optional sio pccard
|
||||
dev/sio/sio_pci.c optional sio pci
|
||||
dev/sio/sio_puc.c optional sio puc
|
||||
dev/syscons/apm/apm_saver.c optional apm_saver apm
|
||||
dev/syscons/schistory.c count sc
|
||||
dev/syscons/scmouse.c optional sc
|
||||
dev/syscons/scterm.c optional sc
|
||||
dev/syscons/scterm-dumb.c optional sc
|
||||
dev/syscons/scterm-sc.c optional sc
|
||||
dev/syscons/scvesactl.c optional sc vga vesa
|
||||
dev/syscons/scvgarndr.c optional sc vga
|
||||
dev/syscons/scvidctl.c optional sc
|
||||
dev/syscons/scvtb.c optional sc
|
||||
dev/syscons/syscons.c optional sc
|
||||
dev/syscons/sysmouse.c optional sc
|
||||
isa/atkbd_isa.c optional atkbd
|
||||
|
||||
libkern/ffs.c standard
|
||||
kern/subr_diskmbr.c standard
|
||||
|
||||
x86_64/x86_64/autoconf.c standard
|
||||
x86_64/x86_64/bios.c standard
|
||||
x86_64/x86_64/bioscall.s standard
|
||||
x86_64/x86_64/busdma_machdep.c standard
|
||||
x86_64/x86_64/critical.c standard
|
||||
x86_64/x86_64/db_disasm.c optional ddb
|
||||
x86_64/x86_64/db_interface.c optional ddb
|
||||
x86_64/x86_64/db_trace.c optional ddb
|
||||
x86_64/x86_64/dump_machdep.c standard
|
||||
x86_64/x86_64/elf_machdep.c standard
|
||||
x86_64/x86_64/exception.s standard
|
||||
x86_64/x86_64/i686_mem.c standard
|
||||
x86_64/x86_64/identcpu.c standard
|
||||
x86_64/x86_64/initcpu.c standard
|
||||
x86_64/x86_64/k6_mem.c standard
|
||||
# locore.s needs to be handled in Makefile to put it first. Otherwise it's
|
||||
# now normal.
|
||||
# x86_64/x86_64/locore.s standard
|
||||
x86_64/x86_64/machdep.c standard
|
||||
x86_64/x86_64/mem.c standard
|
||||
x86_64/x86_64/nexus.c standard
|
||||
x86_64/x86_64/pmap.c standard
|
||||
x86_64/x86_64/support.s standard
|
||||
x86_64/x86_64/swtch.s standard
|
||||
x86_64/x86_64/sys_machdep.c standard
|
||||
x86_64/x86_64/trap.c standard
|
||||
x86_64/x86_64/vm86.c standard
|
||||
x86_64/x86_64/vm_machdep.c standard
|
||||
|
||||
x86_64/isa/clock.c standard
|
||||
x86_64/isa/intr_machdep.c standard
|
||||
x86_64/isa/ithread.c standard
|
58
sys/conf/options.amd64
Normal file
58
sys/conf/options.amd64
Normal file
@ -0,0 +1,58 @@
|
||||
# $FreeBSD$
|
||||
# Options specific to the AMD x86-64 platform kernels
|
||||
|
||||
PANIC_REBOOT_WAIT_TIME opt_panic.h
|
||||
MAXMEM
|
||||
PERFMON opt_perfmon.h
|
||||
KSTACK_PAGES
|
||||
|
||||
# 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
|
||||
|
||||
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
|
||||
|
||||
VESA opt_vesa.h
|
||||
VESA_DEBUG opt_vesa.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
|
||||
# -------------------------------
|
Loading…
Reference in New Issue
Block a user