2001-08-03 01:09:10 +00:00
|
|
|
# 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.
|
|
|
|
#
|
2005-06-10 20:58:59 +00:00
|
|
|
atkbdmap.h optional atkbd_dflt_keymap \
|
2016-03-28 19:51:45 +00:00
|
|
|
compile-with "kbdcontrol -P ${S:S/sys$/share/}/vt/keymaps -P ${S:S/sys$/share/}/syscons/keymaps -L ${ATKBD_DFLT_KEYMAP} | sed -e 's/^static keymap_t.* = /static keymap_t key_map = /' -e 's/^static accentmap_t.* = /static accentmap_t accent_map = /' > atkbdmap.h" \
|
2005-06-10 20:58:59 +00:00
|
|
|
no-obj no-implicit-rule before-depend \
|
|
|
|
clean "atkbdmap.h"
|
|
|
|
#
|
2006-11-02 00:01:15 +00:00
|
|
|
sunkbdmap.h optional sunkbd_dflt_keymap \
|
2016-03-28 19:51:45 +00:00
|
|
|
compile-with "kbdcontrol -P ${S:S/sys$/share/}/vt/keymaps -P ${S:S/sys$/share/}/syscons/keymaps -L ${SUNKBD_DFLT_KEYMAP} | sed -e 's/^static keymap_t.* = /static keymap_t key_map = /' -e 's/^static accentmap_t.* = /static accentmap_t accent_map = /' > sunkbdmap.h" \
|
2006-11-02 00:01:15 +00:00
|
|
|
no-obj no-implicit-rule before-depend \
|
|
|
|
clean "sunkbdmap.h"
|
|
|
|
#
|
2005-05-19 22:56:00 +00:00
|
|
|
ukbdmap.h optional ukbd_dflt_keymap \
|
2016-03-28 19:51:45 +00:00
|
|
|
compile-with "kbdcontrol -P ${S:S/sys$/share/}/vt/keymaps -P ${S:S/sys$/share/}/syscons/keymaps -L ${UKBD_DFLT_KEYMAP} | sed -e 's/^static keymap_t.* = /static keymap_t key_map = /' -e 's/^static accentmap_t.* = /static accentmap_t accent_map = /' > ukbdmap.h" \
|
2005-05-19 22:56:00 +00:00
|
|
|
no-obj no-implicit-rule before-depend \
|
|
|
|
clean "ukbdmap.h"
|
|
|
|
#
|
2012-03-27 21:23:56 +00:00
|
|
|
cddl/contrib/opensolaris/common/atomic/sparc64/opensolaris_atomic.S optional zfs compile-with "${ZFS_S}"
|
2010-04-24 16:27:43 +00:00
|
|
|
crypto/blowfish/bf_enc.c optional crypto | ipsec
|
2013-06-28 21:00:08 +00:00
|
|
|
crypto/des/des_enc.c optional crypto | ipsec | netsmb
|
2005-06-10 20:58:59 +00:00
|
|
|
dev/atkbdc/atkbd.c optional atkbd atkbdc
|
|
|
|
dev/atkbdc/atkbd_atkbdc.c optional atkbd atkbdc
|
|
|
|
dev/atkbdc/atkbdc.c optional atkbdc
|
|
|
|
dev/atkbdc/atkbdc_ebus.c optional atkbdc ebus
|
|
|
|
dev/atkbdc/atkbdc_isa.c optional atkbdc isa
|
|
|
|
dev/atkbdc/atkbdc_subr.c optional atkbdc
|
|
|
|
dev/atkbdc/psm.c optional psm atkbdc
|
2005-11-27 21:41:58 +00:00
|
|
|
dev/auxio/auxio.c optional auxio sbus | auxio ebus
|
2004-06-10 05:21:44 +00:00
|
|
|
dev/esp/esp_sbus.c optional esp sbus
|
2003-08-24 01:54:06 +00:00
|
|
|
dev/fb/creator.c optional creator sc
|
2014-08-05 18:19:51 +00:00
|
|
|
dev/fb/creator_vt.c optional creator vt
|
2003-08-24 01:54:06 +00:00
|
|
|
dev/fb/fb.c optional sc
|
2007-06-16 21:48:50 +00:00
|
|
|
dev/fb/gallant12x22.c optional sc
|
2005-05-21 20:50:45 +00:00
|
|
|
dev/fb/machfb.c optional machfb sc
|
2005-06-09 19:45:09 +00:00
|
|
|
dev/hwpmc/hwpmc_sparc64.c optional hwpmc
|
2007-01-20 12:53:30 +00:00
|
|
|
dev/le/if_le_lebuffer.c optional le sbus
|
2006-01-31 22:34:13 +00:00
|
|
|
dev/le/if_le_ledma.c optional le sbus
|
2007-01-20 12:53:30 +00:00
|
|
|
dev/le/lebuffer_sbus.c optional le sbus
|
- Introduce an ofw_bus kobj-interface for retrieving the OFW node and a
subset ("compatible", "device_type", "model" and "name") of the standard
properties in drivers for devices on Open Firmware supported busses. The
standard properties "reg", "interrupts" und "address" are not covered by
this interface because they are only of interest in the respective bridge
code. There's a remaining standard property "status" which is unclear how
to support properly but which also isn't used in FreeBSD at present.
This ofw_bus kobj-interface allows to replace the various (ebus_get_node(),
ofw_pci_get_node(), etc.) and partially inconsistent (central_get_type()
vs. sbus_get_device_type(), etc.) existing IVAR ones with a common one.
This in turn allows to simplify and remove code-duplication in drivers for
devices that can hang off of more than one OFW supported bus.
- Convert the sparc64 Central, EBus, FHC, PCI and SBus bus drivers and the
drivers for their children to use the ofw_bus kobj-interface. The IVAR-
interfaces of the Central, EBus and FHC are entirely replaced by this. The
PCI bus driver used its own kobj-interface and now also uses the ofw_bus
one. The IVARs special to the SBus, e.g. for retrieving the burst size,
remain.
Beware: this causes an ABI-breakage for modules of drivers which used the
IVAR-interfaces, i.e. esp(4), hme(4), isp(4) and uart(4), which need to be
recompiled.
The style-inconsistencies introduced in some of the bus drivers will be
fixed by tmm@ in a generic clean-up of the respective drivers later (he
requested to add the changes in the "new" style).
- Convert the powerpc MacIO bus driver and the drivers for its children to
use the ofw_bus kobj-interface. This invloves removing the IVARs related
to the "reg" property which were unused and a leftover from the NetBSD
origini of the code. There's no ABI-breakage caused by this because none
of these driver are currently built as modules.
There are other powerpc bus drivers which can be converted to the ofw_bus
kobj-interface, e.g. the PCI bus driver, which should be done together
with converting powerpc to use the OFW PCI code from sparc64.
- Make the SBus and FHC front-end of zs(4) and the sparc64 eeprom(4) take
advantage of the ofw_bus kobj-interface and simplify them a bit.
Reviewed by: grehan, tmm
Approved by: re (scottl)
Discussed with: tmm
Tested with: Sun AX1105, AXe, Ultra 2, Ultra 60; PPC cross-build on i386
2004-08-12 17:41:33 +00:00
|
|
|
dev/ofw/ofw_bus_if.m standard
|
2005-11-22 16:37:45 +00:00
|
|
|
dev/ofw/ofw_bus_subr.c standard
|
2002-02-13 16:29:51 +00:00
|
|
|
dev/ofw/ofw_console.c optional ofw_console
|
2010-04-24 16:27:43 +00:00
|
|
|
dev/ofw/ofw_if.m standard
|
|
|
|
dev/ofw/ofw_standard.c standard
|
2001-11-06 20:25:44 +00:00
|
|
|
dev/ofw/openfirm.c standard
|
2002-10-18 15:27:02 +00:00
|
|
|
dev/ofw/openfirmio.c standard
|
2003-06-19 18:06:58 +00:00
|
|
|
dev/ofw/openpromio.c standard
|
2005-11-22 17:25:10 +00:00
|
|
|
dev/pcf/envctrl.c optional pcf ebus
|
2005-10-28 15:58:19 +00:00
|
|
|
dev/pcf/pcf_ebus.c optional pcf ebus
|
2005-11-27 21:41:58 +00:00
|
|
|
dev/sound/sbus/cs4231.c optional snd_audiocs ebus | \
|
|
|
|
snd_audiocs sbus
|
2003-08-24 01:54:06 +00:00
|
|
|
dev/syscons/scgfbrndr.c optional sc
|
Replace syscons terminal renderer by a new renderer that uses libteken.
Some time ago I started working on a library called libteken, which is
terminal emulator. It does not buffer any screen contents, but only
keeps terminal state, such as cursor position, attributes, etc. It
should implement all escape sequences that are implemented by the
cons25 terminal emulator, but also a fair amount of sequences that are
present in VT100 and xterm.
A lot of random notes, which could be of interest to users/developers:
- Even though I'm leaving the terminal type set to `cons25', users can
do experiments with placing `xterm-color' in /etc/ttys. Because we
only implement a subset of features of xterm, this may cause
artifacts. We should consider extending libteken, because in my
opinion xterm is the way to go. Some missing features:
- Keypad application mode (DECKPAM)
- Character sets (SCS)
- libteken is filled with a fair amount of assertions, but unfortunately
we cannot go into the debugger anymore if we fail them. I've done
development of this library almost entirely in userspace. In
sys/dev/syscons/teken there are two applications that can be helpful
when debugging the code:
- teken_demo: a terminal emulator that can be started from a regular
xterm that emulates a terminal using libteken. This application can
be very useful to debug any rendering issues.
- teken_stress: a stress testing application that emulates random
terminal output. libteken has literally survived multiple terabytes
of random input.
- libteken also includes support for UTF-8, but unfortunately our input
layer and font renderer don't support this. If users want to
experiment with UTF-8 support, they can enable `TEKEN_UTF8' in
teken.h. If you recompile your kernel or the teken_demo application,
you can hold some nice experiments.
- I've left PC98 the way it is right now. The PC98 platform has a custom
syscons renderer, which supports some form of localised input. Maybe
we should port PC98 to libteken by the time syscons supports UTF-8?
- I've removed the `dumb' terminal emulator. It has been broken for
years. It hasn't survived the `struct proc' -> `struct thread'
conversion.
- To prevent confusion among people that want to hack on libteken:
unlike syscons, the state machines that parse the escape sequences are
machine generated. This means that if you want to add new escape
sequences, you have to add an entry to the `sequences' file. This will
cause new entries to be added to `teken_state.h'.
- Any rendering artifacts that didn't occur prior to this commit are by
accident. They should be reported to me, so I can fix them.
Discussed on: current@, hackers@
Discussed with: philip (at 25C3)
2009-01-01 13:26:53 +00:00
|
|
|
dev/syscons/scterm-teken.c optional sc
|
2003-08-24 01:54:06 +00:00
|
|
|
dev/syscons/scvtb.c optional sc
|
2003-09-06 23:23:26 +00:00
|
|
|
dev/uart/uart_cpu_sparc64.c optional uart
|
2012-01-21 22:18:33 +00:00
|
|
|
dev/uart/uart_kbd_sun.c optional uart sc | vt
|
2014-08-02 03:48:16 +00:00
|
|
|
dev/vt/hw/ofwfb/ofwfb.c optional vt
|
2010-07-29 12:08:46 +00:00
|
|
|
kern/kern_clocksource.c standard
|
2012-06-22 07:06:40 +00:00
|
|
|
kern/subr_dummy_vdso_tc.c standard
|
2002-03-25 05:01:05 +00:00
|
|
|
kern/syscalls.c optional ktr
|
2014-08-05 09:44:10 +00:00
|
|
|
kern/subr_sfbuf.c standard
|
2004-01-14 08:38:13 +00:00
|
|
|
libkern/ffs.c standard
|
2004-01-13 15:37:23 +00:00
|
|
|
libkern/ffsl.c standard
|
2015-10-22 20:28:37 +00:00
|
|
|
libkern/ffsll.c standard
|
2004-01-13 15:37:23 +00:00
|
|
|
libkern/fls.c standard
|
|
|
|
libkern/flsl.c standard
|
2014-02-14 15:18:37 +00:00
|
|
|
libkern/flsll.c standard
|
2009-02-28 16:21:25 +00:00
|
|
|
libkern/memmove.c standard
|
2003-02-18 09:01:01 +00:00
|
|
|
sparc64/central/central.c optional central
|
2002-07-20 08:16:51 +00:00
|
|
|
sparc64/ebus/ebus.c optional ebus
|
2010-01-10 15:44:48 +00:00
|
|
|
sparc64/ebus/epic.c optional epic ebus
|
2008-08-23 14:28:44 +00:00
|
|
|
sparc64/fhc/clkbrd.c optional fhc
|
2003-02-18 09:01:01 +00:00
|
|
|
sparc64/fhc/fhc.c optional fhc
|
2001-11-09 20:44:44 +00:00
|
|
|
sparc64/isa/isa.c optional isa
|
2004-10-25 10:29:57 +00:00
|
|
|
sparc64/isa/isa_dma.c optional isa
|
2005-11-27 21:41:58 +00:00
|
|
|
sparc64/isa/ofw_isa.c optional ebus | isa
|
2004-04-30 15:00:41 +00:00
|
|
|
sparc64/pci/apb.c optional pci
|
2010-01-10 16:04:55 +00:00
|
|
|
sparc64/pci/fire.c optional pci
|
2015-09-12 22:49:32 +00:00
|
|
|
sparc64/pci/ofw_pci.c optional pci
|
2004-05-08 13:53:47 +00:00
|
|
|
sparc64/pci/ofw_pcib.c optional pci
|
|
|
|
sparc64/pci/ofw_pcib_subr.c optional pci
|
|
|
|
sparc64/pci/ofw_pcibus.c optional pci
|
2011-03-26 16:49:12 +00:00
|
|
|
sparc64/pci/ofw_pci_if.m optional pci
|
2001-11-09 20:44:44 +00:00
|
|
|
sparc64/pci/psycho.c optional pci
|
2010-04-24 16:27:43 +00:00
|
|
|
sparc64/pci/sbbc.c optional sbbc uart
|
2008-09-28 00:07:05 +00:00
|
|
|
sparc64/pci/schizo.c optional pci
|
2005-05-19 14:51:10 +00:00
|
|
|
sparc64/sbus/dma_sbus.c optional sbus
|
2002-02-13 16:29:51 +00:00
|
|
|
sparc64/sbus/sbus.c optional sbus
|
2005-05-19 14:51:10 +00:00
|
|
|
sparc64/sbus/lsi64854.c optional sbus
|
2013-04-04 07:12:24 +00:00
|
|
|
sparc64/sparc64/ata_machdep.c optional ada | da
|
2001-08-03 01:09:10 +00:00
|
|
|
sparc64/sparc64/autoconf.c standard
|
2001-11-09 20:44:44 +00:00
|
|
|
sparc64/sparc64/bus_machdep.c standard
|
|
|
|
sparc64/sparc64/cache.c standard
|
2011-11-27 15:43:40 +00:00
|
|
|
sparc64/sparc64/cam_machdep.c optional scbus
|
2003-03-19 06:55:37 +00:00
|
|
|
sparc64/sparc64/cheetah.c standard
|
2001-08-03 01:09:10 +00:00
|
|
|
sparc64/sparc64/clock.c standard
|
2002-02-13 16:29:51 +00:00
|
|
|
sparc64/sparc64/counter.c standard
|
|
|
|
sparc64/sparc64/db_disasm.c optional ddb
|
|
|
|
sparc64/sparc64/db_interface.c optional ddb
|
|
|
|
sparc64/sparc64/db_trace.c optional ddb
|
|
|
|
sparc64/sparc64/db_hwwatch.c optional ddb
|
2002-10-20 17:03:15 +00:00
|
|
|
sparc64/sparc64/dump_machdep.c standard
|
2001-08-03 01:09:10 +00:00
|
|
|
sparc64/sparc64/elf_machdep.c standard
|
2008-09-20 11:28:42 +00:00
|
|
|
sparc64/sparc64/exception.S standard no-obj \
|
|
|
|
compile-with "${NORMAL_S} -mcpu=ultrasparc"
|
2005-11-27 21:41:58 +00:00
|
|
|
sparc64/sparc64/eeprom.c optional eeprom ebus | eeprom fhc | \
|
|
|
|
eeprom sbus
|
2004-07-10 23:31:17 +00:00
|
|
|
sparc64/sparc64/gdb_machdep.c optional gdb
|
2001-09-30 21:35:32 +00:00
|
|
|
sparc64/sparc64/identcpu.c standard
|
2011-04-20 12:58:30 +00:00
|
|
|
sparc64/sparc64/in_cksum.c optional inet | inet6
|
2008-09-20 11:28:42 +00:00
|
|
|
sparc64/sparc64/interrupt.S standard no-obj \
|
|
|
|
compile-with "${NORMAL_S} -mcpu=ultrasparc"
|
2001-08-10 04:48:48 +00:00
|
|
|
sparc64/sparc64/intr_machdep.c standard
|
2001-11-09 20:44:44 +00:00
|
|
|
sparc64/sparc64/iommu.c standard
|
2008-09-10 20:22:27 +00:00
|
|
|
sparc64/sparc64/jbusppm.c standard
|
2003-02-28 21:59:14 +00:00
|
|
|
sparc64/sparc64/locore.S standard no-obj
|
2001-08-03 01:09:10 +00:00
|
|
|
sparc64/sparc64/machdep.c standard
|
2004-08-01 11:40:54 +00:00
|
|
|
sparc64/sparc64/mem.c optional mem
|
2008-09-20 11:28:42 +00:00
|
|
|
sparc64/sparc64/mp_exception.S optional smp \
|
|
|
|
compile-with "${NORMAL_S} -mcpu=ultrasparc"
|
2002-07-31 15:52:04 +00:00
|
|
|
sparc64/sparc64/mp_locore.S optional smp
|
2002-01-08 05:55:46 +00:00
|
|
|
sparc64/sparc64/mp_machdep.c optional smp
|
2001-11-09 20:44:44 +00:00
|
|
|
sparc64/sparc64/nexus.c standard
|
|
|
|
sparc64/sparc64/ofw_machdep.c standard
|
2001-08-03 01:09:10 +00:00
|
|
|
sparc64/sparc64/pmap.c standard
|
2002-07-29 00:45:13 +00:00
|
|
|
sparc64/sparc64/prof_machdep.c optional profiling-routine
|
2005-11-27 21:41:58 +00:00
|
|
|
sparc64/sparc64/rtc.c optional rtc ebus | rtc isa
|
2001-09-04 01:18:39 +00:00
|
|
|
sparc64/sparc64/rwindow.c standard
|
2003-08-24 01:54:06 +00:00
|
|
|
sparc64/sparc64/sc_machdep.c optional sc
|
2008-09-10 20:22:27 +00:00
|
|
|
sparc64/sparc64/schppm.c standard
|
2003-03-19 06:55:37 +00:00
|
|
|
sparc64/sparc64/spitfire.c standard
|
2010-02-13 19:05:34 +00:00
|
|
|
sparc64/sparc64/ssm.c standard
|
Break out stack(9) from ddb(4):
- Introduce per-architecture stack_machdep.c to hold stack_save(9).
- Introduce per-architecture machine/stack.h to capture any common
definitions required between db_trace.c and stack_machdep.c.
- Add new kernel option "options STACK"; we will build in stack(9) if it is
defined, or also if "options DDB" is defined to provide compatibility
with existing users of stack(9).
Add new stack_save_td(9) function, which allows the capture of a stacktrace
of another thread rather than the current thread, which the existing
stack_save(9) was limited to. It requires that the thread be neither
swapped out nor running, which is the responsibility of the consumer to
enforce.
Update stack(9) man page.
Build tested: amd64, arm, i386, ia64, powerpc, sparc64, sun4v
Runtime tested: amd64 (rwatson), arm (cognet), i386 (rwatson)
2007-12-02 20:40:35 +00:00
|
|
|
sparc64/sparc64/stack_machdep.c optional ddb | stack
|
2008-09-20 11:28:42 +00:00
|
|
|
sparc64/sparc64/support.S standard \
|
|
|
|
compile-with "${NORMAL_S} -mcpu=ultrasparc"
|
2001-08-03 01:09:10 +00:00
|
|
|
sparc64/sparc64/sys_machdep.c standard
|
2002-07-31 15:52:04 +00:00
|
|
|
sparc64/sparc64/swtch.S standard
|
2001-08-10 04:48:48 +00:00
|
|
|
sparc64/sparc64/tick.c standard
|
2002-05-20 16:10:17 +00:00
|
|
|
sparc64/sparc64/tlb.c standard
|
2001-08-03 01:09:10 +00:00
|
|
|
sparc64/sparc64/trap.c standard
|
|
|
|
sparc64/sparc64/tsb.c standard
|
2004-03-22 08:08:25 +00:00
|
|
|
sparc64/sparc64/uio_machdep.c standard
|
2007-01-16 22:08:27 +00:00
|
|
|
sparc64/sparc64/upa.c optional creator
|
2001-08-03 01:09:10 +00:00
|
|
|
sparc64/sparc64/vm_machdep.c standard
|
2010-05-02 19:38:17 +00:00
|
|
|
sparc64/sparc64/zeus.c standard
|