2001-06-17 09:39:44 +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.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
2007-10-25 14:16:07 +00:00
|
|
|
font.h optional sc \
|
2007-12-14 23:47:39 +00:00
|
|
|
compile-with "uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x16.fnt && file2c 'u_char dflt_font_16[16*256] = {' '};' < ${SC_DFLT_FONT}-8x16 > font.h && uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x14.fnt && file2c 'u_char dflt_font_14[14*256] = {' '};' < ${SC_DFLT_FONT}-8x14 >> font.h && uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x8.fnt && file2c 'u_char dflt_font_8[8*256] = {' '};' < ${SC_DFLT_FONT}-8x8 >> font.h" \
|
2004-01-21 05:19:59 +00:00
|
|
|
no-obj no-implicit-rule before-depend \
|
|
|
|
clean "font.h ${SC_DFLT_FONT}-8x14 ${SC_DFLT_FONT}-8x16 ${SC_DFLT_FONT}-8x8"
|
2006-06-08 23:38:01 +00:00
|
|
|
#
|
2004-01-21 05:19:59 +00:00
|
|
|
|
2007-12-14 23:47:39 +00:00
|
|
|
crypto/blowfish/bf_enc.c optional crypto | ipsec
|
|
|
|
crypto/des/des_enc.c optional crypto | ipsec | netsmb
|
2008-06-07 22:58:32 +00:00
|
|
|
dev/bm/if_bm.c optional bm powermac
|
2008-10-26 19:37:38 +00:00
|
|
|
dev/adb/adb_bus.c optional adb
|
|
|
|
dev/adb/adb_kbd.c optional adb
|
|
|
|
dev/adb/adb_mouse.c optional adb
|
|
|
|
dev/adb/adb_hb_if.m optional adb
|
|
|
|
dev/adb/adb_if.m optional adb
|
2008-10-25 06:18:12 +00:00
|
|
|
dev/cfi/cfi_bus_lbc.c optional cfi
|
2004-01-21 05:19:59 +00:00
|
|
|
dev/fb/fb.c optional sc
|
2005-06-09 19:45:09 +00:00
|
|
|
dev/hwpmc/hwpmc_powerpc.c optional hwpmc
|
2004-01-21 05:19:59 +00:00
|
|
|
dev/kbd/kbd.c optional sc
|
2007-12-16 01:02:47 +00:00
|
|
|
dev/ofw/openfirm.c optional aim
|
2008-01-31 01:57:33 +00:00
|
|
|
dev/ofw/openfirmio.c optional aim
|
2007-12-16 01:02:47 +00:00
|
|
|
dev/ofw/ofw_bus_if.m optional aim
|
2008-12-20 00:33:10 +00:00
|
|
|
dev/ofw/ofw_if.m optional aim
|
2007-12-16 01:02:47 +00:00
|
|
|
dev/ofw/ofw_bus_subr.c optional aim
|
|
|
|
dev/ofw/ofw_console.c optional aim
|
|
|
|
dev/ofw/ofw_disk.c optional ofwd aim
|
2009-01-15 02:46:43 +00:00
|
|
|
dev/ofw/ofw_iicbus.c optional iicbus aim
|
2008-12-20 00:33:10 +00:00
|
|
|
dev/ofw/ofw_standard.c optional aim
|
2007-12-14 23:47:39 +00:00
|
|
|
dev/powermac_nvram/powermac_nvram.c optional powermac_nvram powermac
|
2008-03-03 20:40:20 +00:00
|
|
|
dev/quicc/quicc_bfe_ocp.c optional quicc mpc85xx
|
2007-12-14 23:47:39 +00:00
|
|
|
dev/scc/scc_bfe_macio.c optional scc powermac
|
2009-01-25 18:20:15 +00:00
|
|
|
dev/sound/macio/aoa.c optional snd_davbus | snd_ai2s powermac
|
|
|
|
dev/sound/macio/davbus.c optional snd_davbus powermac
|
|
|
|
dev/sound/macio/i2s.c optional snd_ai2s powermac
|
|
|
|
dev/sound/macio/snapper.c optional snd_ai2s iicbus powermac
|
|
|
|
dev/sound/macio/tumbler.c optional snd_ai2s iicbus powermac
|
2004-01-21 05:19:59 +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
|
2004-01-21 05:19:59 +00:00
|
|
|
dev/syscons/scvtb.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/teken/teken.c optional sc
|
2008-03-03 20:40:20 +00:00
|
|
|
dev/tsec/if_tsec.c optional tsec
|
2008-08-26 10:41:49 +00:00
|
|
|
dev/tsec/if_tsec_ocp.c optional tsec mpc85xx
|
2008-03-03 20:40:20 +00:00
|
|
|
dev/uart/uart_bus_ocp.c optional uart mpc85xx
|
2006-03-31 01:42:55 +00:00
|
|
|
dev/uart/uart_cpu_powerpc.c optional uart
|
2004-07-11 01:38:25 +00:00
|
|
|
kern/syscalls.c optional ktr
|
2007-12-14 23:47:39 +00:00
|
|
|
libkern/ashldi3.c standard
|
|
|
|
libkern/ashrdi3.c standard
|
|
|
|
libkern/bcmp.c standard
|
2008-02-23 20:16:38 +00:00
|
|
|
libkern/cmpdi2.c standard
|
2007-12-14 23:47:39 +00:00
|
|
|
libkern/divdi3.c standard
|
|
|
|
libkern/ffs.c standard
|
|
|
|
libkern/ffsl.c standard
|
|
|
|
libkern/fls.c standard
|
|
|
|
libkern/flsl.c standard
|
|
|
|
libkern/lshrdi3.c standard
|
2009-02-28 16:21:25 +00:00
|
|
|
libkern/memmove.c standard
|
2007-12-14 23:47:39 +00:00
|
|
|
libkern/memset.c standard
|
|
|
|
libkern/moddi3.c standard
|
|
|
|
libkern/qdivrem.c standard
|
|
|
|
libkern/ucmpdi2.c standard
|
|
|
|
libkern/udivdi3.c standard
|
|
|
|
libkern/umoddi3.c standard
|
2007-12-16 01:02:47 +00:00
|
|
|
powerpc/aim/clock.c optional aim
|
|
|
|
powerpc/aim/copyinout.c optional aim
|
|
|
|
powerpc/aim/interrupt.c optional aim
|
|
|
|
powerpc/aim/locore.S optional aim no-obj
|
|
|
|
powerpc/aim/machdep.c optional aim
|
|
|
|
powerpc/aim/mmu_oea.c optional aim
|
2009-04-04 00:22:44 +00:00
|
|
|
powerpc/aim/mmu_oea64.c optional aim
|
2008-04-27 22:33:43 +00:00
|
|
|
powerpc/aim/mp_cpudep.c optional aim smp
|
2007-12-16 01:02:47 +00:00
|
|
|
powerpc/aim/nexus.c optional aim
|
|
|
|
powerpc/aim/ofw_machdep.c optional aim
|
|
|
|
powerpc/aim/ofwmagic.S optional aim
|
|
|
|
powerpc/aim/swtch.S optional aim
|
|
|
|
powerpc/aim/trap.c optional aim
|
|
|
|
powerpc/aim/uma_machdep.c optional aim
|
|
|
|
powerpc/aim/vm_machdep.c optional aim
|
2008-03-03 20:40:20 +00:00
|
|
|
powerpc/booke/clock.c optional e500
|
|
|
|
powerpc/booke/copyinout.c optional e500
|
|
|
|
powerpc/booke/interrupt.c optional e500
|
|
|
|
powerpc/booke/locore.S optional e500 no-obj
|
|
|
|
powerpc/booke/machdep.c optional e500
|
|
|
|
powerpc/booke/pmap.c optional e500
|
|
|
|
powerpc/booke/swtch.S optional e500
|
|
|
|
powerpc/booke/trap.c optional e500
|
|
|
|
powerpc/booke/vm_machdep.c optional e500
|
2008-02-23 20:16:38 +00:00
|
|
|
powerpc/fpu/fpu_add.c optional fpu_emu
|
|
|
|
powerpc/fpu/fpu_compare.c optional fpu_emu
|
|
|
|
powerpc/fpu/fpu_div.c optional fpu_emu
|
|
|
|
powerpc/fpu/fpu_emu.c optional fpu_emu
|
|
|
|
powerpc/fpu/fpu_explode.c optional fpu_emu
|
|
|
|
powerpc/fpu/fpu_implode.c optional fpu_emu
|
|
|
|
powerpc/fpu/fpu_mul.c optional fpu_emu
|
|
|
|
powerpc/fpu/fpu_sqrt.c optional fpu_emu
|
|
|
|
powerpc/fpu/fpu_subr.c optional fpu_emu
|
2008-10-25 06:03:40 +00:00
|
|
|
powerpc/mpc85xx/lbc.c optional mpc85xx
|
2008-04-26 17:57:29 +00:00
|
|
|
powerpc/mpc85xx/mpc85xx.c optional mpc85xx
|
2008-03-03 20:40:20 +00:00
|
|
|
powerpc/mpc85xx/nexus.c optional mpc85xx
|
|
|
|
powerpc/mpc85xx/ocpbus.c optional mpc85xx
|
|
|
|
powerpc/mpc85xx/opic.c optional mpc85xx
|
|
|
|
powerpc/mpc85xx/pci_ocp.c optional pci mpc85xx
|
2008-10-14 14:54:14 +00:00
|
|
|
powerpc/ofw/ofw_pcibus.c optional pci aim
|
2007-12-16 01:02:47 +00:00
|
|
|
powerpc/ofw/ofw_pcib_pci.c optional pci aim
|
2009-04-05 18:40:15 +00:00
|
|
|
powerpc/ofw/ofw_real.c optional aim
|
2007-12-16 01:02:47 +00:00
|
|
|
powerpc/ofw/ofw_syscons.c optional sc aim
|
2009-04-04 17:05:17 +00:00
|
|
|
powerpc/powermac/ata_kauai.c optional powermac ata | powermac atamacio
|
|
|
|
powerpc/powermac/ata_macio.c optional powermac ata | powermac atamacio
|
|
|
|
powerpc/powermac/ata_dbdma.c optional powermac ata | powermac atamacio
|
2008-06-07 21:56:48 +00:00
|
|
|
powerpc/powermac/dbdma.c optional powermac pci
|
2007-12-14 23:47:39 +00:00
|
|
|
powerpc/powermac/grackle.c optional powermac pci
|
|
|
|
powerpc/powermac/hrowpic.c optional powermac pci
|
2009-01-15 02:52:31 +00:00
|
|
|
powerpc/powermac/kiic.c optional powermac kiic
|
2007-12-14 23:47:39 +00:00
|
|
|
powerpc/powermac/macio.c optional powermac pci
|
|
|
|
powerpc/powermac/openpic_macio.c optional powermac pci
|
|
|
|
powerpc/powermac/pswitch.c optional powermac pswitch
|
|
|
|
powerpc/powermac/uninorth.c optional powermac pci
|
2008-10-26 19:37:38 +00:00
|
|
|
powerpc/powermac/cuda.c optional powermac cuda
|
|
|
|
powerpc/powermac/pmu.c optional powermac pmu
|
|
|
|
powerpc/powermac/macgpio.c optional powermac pci
|
2009-04-04 00:22:44 +00:00
|
|
|
powerpc/powermac/cpcht.c optional powermac pci
|
2009-02-21 02:15:08 +00:00
|
|
|
powerpc/powerpc/altivec.c optional aim
|
2003-01-22 01:34:37 +00:00
|
|
|
powerpc/powerpc/atomic.S standard
|
2001-06-17 09:39:44 +00:00
|
|
|
powerpc/powerpc/autoconf.c standard
|
|
|
|
powerpc/powerpc/bcopy.c standard
|
2007-12-19 18:00:50 +00:00
|
|
|
powerpc/powerpc/bus_machdep.c standard
|
2002-07-09 12:47:14 +00:00
|
|
|
powerpc/powerpc/busdma_machdep.c standard
|
2001-06-17 09:39:44 +00:00
|
|
|
powerpc/powerpc/copystr.c standard
|
2003-02-05 12:09:53 +00:00
|
|
|
powerpc/powerpc/cpu.c standard
|
2007-12-14 23:47:39 +00:00
|
|
|
powerpc/powerpc/db_disasm.c optional ddb
|
|
|
|
powerpc/powerpc/db_hwwatch.c optional ddb
|
|
|
|
powerpc/powerpc/db_interface.c optional ddb
|
|
|
|
powerpc/powerpc/db_trace.c optional ddb
|
2009-04-04 02:12:37 +00:00
|
|
|
powerpc/powerpc/dump_machdep.c standard
|
2001-06-17 09:39:44 +00:00
|
|
|
powerpc/powerpc/elf_machdep.c standard
|
2008-03-03 20:40:20 +00:00
|
|
|
powerpc/powerpc/fpu.c optional aim
|
2001-06-17 09:39:44 +00:00
|
|
|
powerpc/powerpc/fuswintr.c standard
|
2006-08-24 21:52:11 +00:00
|
|
|
powerpc/powerpc/gdb_machdep.c optional gdb
|
2002-06-29 09:50:20 +00:00
|
|
|
powerpc/powerpc/in_cksum.c optional inet
|
2002-07-09 11:12:20 +00:00
|
|
|
powerpc/powerpc/intr_machdep.c standard
|
2007-12-14 23:47:39 +00:00
|
|
|
powerpc/powerpc/mem.c optional mem
|
2005-11-08 06:48:08 +00:00
|
|
|
powerpc/powerpc/mmu_if.m standard
|
2008-04-30 00:50:50 +00:00
|
|
|
powerpc/powerpc/mp_machdep.c optional smp
|
2002-07-09 11:26:10 +00:00
|
|
|
powerpc/powerpc/openpic.c standard
|
2002-07-09 11:12:20 +00:00
|
|
|
powerpc/powerpc/pic_if.m standard
|
2005-11-08 06:48:08 +00:00
|
|
|
powerpc/powerpc/pmap_dispatch.c standard
|
2004-01-21 05:19:59 +00:00
|
|
|
powerpc/powerpc/sc_machdep.c optional sc
|
2002-07-10 12:26:17 +00:00
|
|
|
powerpc/powerpc/setjmp.S standard
|
2002-04-30 11:13:16 +00:00
|
|
|
powerpc/powerpc/sigcode.S 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
|
|
|
powerpc/powerpc/stack_machdep.c optional ddb | stack
|
2001-06-17 09:39:44 +00:00
|
|
|
powerpc/powerpc/suswintr.c standard
|
|
|
|
powerpc/powerpc/syncicache.c standard
|
|
|
|
powerpc/powerpc/sys_machdep.c standard
|
2009-04-04 00:22:44 +00:00
|
|
|
powerpc/powerpc/uio_machdep.c standard
|
2007-10-25 14:16:07 +00:00
|
|
|
powerpc/psim/iobus.c optional psim
|
|
|
|
powerpc/psim/ata_iobus.c optional ata psim
|
|
|
|
powerpc/psim/openpic_iobus.c optional psim
|
|
|
|
powerpc/psim/uart_iobus.c optional uart psim
|