2000-09-29 13:46:07 +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.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
font8x16.o optional std8x16font \
|
|
|
|
compile-with "uudecode < /usr/share/syscons/fonts/${STD8X16FONT}-8x16.fnt && file2c 'unsigned char font_16[16*256] = {' '};' < ${STD8X16FONT}-8x16 > font8x16.c && ${CC} -c ${CFLAGS} font8x16.c" \
|
|
|
|
no-implicit-rule before-depend \
|
|
|
|
clean "${STD8X16FONT}-8x16 font8x16.c"
|
|
|
|
#
|
|
|
|
atkbdmap.h optional atkbd_dflt_keymap \
|
|
|
|
compile-with "/usr/sbin/kbdcontrol -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" \
|
|
|
|
no-obj no-implicit-rule before-depend \
|
|
|
|
clean "atkbdmap.h"
|
|
|
|
#
|
2003-08-23 02:33:36 +00:00
|
|
|
font.h optional sc_dflt_font \
|
2007-10-25 14:16:07 +00:00
|
|
|
compile-with "uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x16.fnt && file2c 'static u_char dflt_font_16[16*256] = {' '};' < ${SC_DFLT_FONT}-8x16 > font.h && uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x14.fnt && file2c 'static u_char dflt_font_14[14*256] = {' '};' < ${SC_DFLT_FONT}-8x14 >> font.h && uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x8.fnt && file2c 'static u_char dflt_font_8[8*256] = {' '};' < ${SC_DFLT_FONT}-8x8 >> font.h" \
|
2003-08-23 02:33:36 +00:00
|
|
|
no-obj no-implicit-rule before-depend \
|
|
|
|
clean "font.h ${SC_DFLT_FONT}-8x14 ${SC_DFLT_FONT}-8x16 ${SC_DFLT_FONT}-8x8"
|
|
|
|
#
|
|
|
|
ukbdmap.h optional ukbd_dflt_keymap \
|
|
|
|
compile-with "/usr/sbin/kbdcontrol -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" \
|
|
|
|
no-obj no-implicit-rule before-depend \
|
|
|
|
clean "ukbdmap.h"
|
|
|
|
#
|
2008-09-22 16:09:16 +00:00
|
|
|
compat/freebsd32/freebsd32_ioctl.c optional compat_ia32
|
2004-08-16 18:54:23 +00:00
|
|
|
compat/freebsd32/freebsd32_misc.c optional compat_ia32
|
|
|
|
compat/freebsd32/freebsd32_syscalls.c optional compat_ia32
|
|
|
|
compat/freebsd32/freebsd32_sysent.c optional compat_ia32
|
|
|
|
compat/ia32/ia32_sysvec.c optional compat_ia32
|
2003-05-16 21:26:42 +00:00
|
|
|
contrib/ia64/libuwx/src/uwx_bstream.c standard
|
|
|
|
contrib/ia64/libuwx/src/uwx_context.c standard
|
|
|
|
contrib/ia64/libuwx/src/uwx_env.c standard
|
|
|
|
contrib/ia64/libuwx/src/uwx_scoreboard.c standard
|
|
|
|
contrib/ia64/libuwx/src/uwx_step.c standard
|
|
|
|
contrib/ia64/libuwx/src/uwx_str.c standard
|
|
|
|
contrib/ia64/libuwx/src/uwx_swap.c standard
|
|
|
|
contrib/ia64/libuwx/src/uwx_trace.c standard
|
|
|
|
contrib/ia64/libuwx/src/uwx_uinfo.c standard
|
|
|
|
contrib/ia64/libuwx/src/uwx_utable.c standard
|
2007-07-03 12:13:45 +00:00
|
|
|
crypto/blowfish/bf_enc.c optional crypto | ipsec
|
|
|
|
crypto/des/des_enc.c optional crypto | ipsec | netsmb
|
2003-04-29 05:38:41 +00:00
|
|
|
dev/advansys/adv_isa.c optional adv isa
|
|
|
|
dev/aic/aic_isa.c optional aic isa
|
2005-06-10 20:56:38 +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_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/fb/fb.c optional fb | vga
|
2003-04-29 05:38:41 +00:00
|
|
|
dev/fb/vga.c optional vga
|
2005-06-09 19:45:09 +00:00
|
|
|
dev/hwpmc/hwpmc_ia64.c optional hwpmc
|
2009-02-15 20:24:21 +00:00
|
|
|
dev/kbd/kbd.c optional atkbd | sc | ukbd | usb2_input_kbd
|
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-04-29 05:38:41 +00:00
|
|
|
dev/syscons/scvgarndr.c optional sc vga
|
|
|
|
dev/syscons/scvtb.c optional sc
|
2003-09-06 23:23:26 +00:00
|
|
|
dev/uart/uart_cpu_ia64.c optional uart
|
2004-06-30 14:19:28 +00:00
|
|
|
dev/acpica/acpi_if.m standard
|
2003-04-29 05:38:41 +00:00
|
|
|
ia64/acpica/OsdEnvironment.c optional acpi
|
2002-10-24 19:05:04 +00:00
|
|
|
ia64/acpica/acpi_machdep.c optional acpi
|
|
|
|
ia64/acpica/acpi_wakeup.c optional acpi
|
|
|
|
ia64/acpica/madt.c optional acpi
|
2003-10-23 06:11:37 +00:00
|
|
|
ia64/disasm/disasm_decode.c standard
|
|
|
|
ia64/disasm/disasm_extract.c standard
|
|
|
|
ia64/disasm/disasm_format.c standard
|
2009-04-01 19:23:07 +00:00
|
|
|
ia64/ia32/ia32_misc.c optional compat_ia32
|
2005-06-30 07:49:22 +00:00
|
|
|
ia64/ia32/ia32_reg.c optional compat_ia32
|
2004-08-16 18:54:23 +00:00
|
|
|
ia64/ia32/ia32_signal.c optional compat_ia32
|
2004-09-25 04:27:44 +00:00
|
|
|
ia64/ia32/ia32_trap.c optional compat_ia32
|
2000-09-29 13:46:07 +00:00
|
|
|
ia64/ia64/autoconf.c standard
|
|
|
|
ia64/ia64/busdma_machdep.c standard
|
|
|
|
ia64/ia64/clock.c standard
|
2003-07-02 12:57:07 +00:00
|
|
|
ia64/ia64/context.S standard
|
2005-09-10 03:18:51 +00:00
|
|
|
ia64/ia64/db_machdep.c optional ddb
|
2002-05-13 02:40:21 +00:00
|
|
|
ia64/ia64/dump_machdep.c standard
|
2001-09-29 11:46:22 +00:00
|
|
|
ia64/ia64/efi.c standard
|
|
|
|
ia64/ia64/elf_machdep.c standard
|
2006-06-29 19:59:18 +00:00
|
|
|
ia64/ia64/emulate.c standard
|
2003-07-02 12:57:07 +00:00
|
|
|
ia64/ia64/exception.S standard
|
2004-07-10 23:31:17 +00:00
|
|
|
ia64/ia64/gdb_machdep.c optional gdb
|
2009-10-31 22:27:31 +00:00
|
|
|
ia64/ia64/highfp.c standard
|
2000-09-29 13:46:07 +00:00
|
|
|
ia64/ia64/in_cksum.c optional inet
|
|
|
|
ia64/ia64/interrupt.c standard
|
2003-07-02 12:57:07 +00:00
|
|
|
ia64/ia64/locore.S standard no-obj
|
2000-09-29 13:46:07 +00:00
|
|
|
ia64/ia64/machdep.c standard
|
2002-04-28 08:43:47 +00:00
|
|
|
ia64/ia64/mca.c standard
|
2004-08-01 11:40:54 +00:00
|
|
|
ia64/ia64/mem.c optional mem
|
2001-04-27 19:28:25 +00:00
|
|
|
ia64/ia64/mp_machdep.c optional smp
|
2001-09-29 11:46:22 +00:00
|
|
|
ia64/ia64/nexus.c standard
|
2003-07-02 12:57:07 +00:00
|
|
|
ia64/ia64/pal.S standard
|
2000-09-29 13:46:07 +00:00
|
|
|
ia64/ia64/pmap.c standard
|
2003-08-15 18:01:10 +00:00
|
|
|
ia64/ia64/ptrace_machdep.c standard
|
2001-09-29 11:46:22 +00:00
|
|
|
ia64/ia64/sal.c standard
|
2001-10-06 02:03:00 +00:00
|
|
|
ia64/ia64/sapic.c standard
|
2003-07-02 12:57:07 +00:00
|
|
|
ia64/ia64/setjmp.S standard
|
2001-09-29 11:46:22 +00:00
|
|
|
ia64/ia64/ssc.c optional ski
|
|
|
|
ia64/ia64/sscdisk.c optional ski
|
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
|
|
|
ia64/ia64/stack_machdep.c optional ddb | stack
|
2003-07-02 12:57:07 +00:00
|
|
|
ia64/ia64/support.S standard
|
2000-09-29 13:46:07 +00:00
|
|
|
ia64/ia64/sys_machdep.c standard
|
2003-07-02 12:57:07 +00:00
|
|
|
ia64/ia64/syscall.S standard
|
2000-09-29 13:46:07 +00:00
|
|
|
ia64/ia64/trap.c standard
|
2004-03-20 21:06:20 +00:00
|
|
|
ia64/ia64/uio_machdep.c standard
|
2003-09-20 19:27:48 +00:00
|
|
|
ia64/ia64/uma_machdep.c standard
|
2001-10-19 22:25:00 +00:00
|
|
|
ia64/ia64/unaligned.c standard
|
2002-10-19 04:02:16 +00:00
|
|
|
ia64/ia64/unwind.c standard
|
2000-09-29 13:46:07 +00:00
|
|
|
ia64/ia64/vm_machdep.c standard
|
|
|
|
ia64/isa/isa.c optional isa
|
|
|
|
ia64/isa/isa_dma.c optional isa
|
2001-09-29 11:46:22 +00:00
|
|
|
ia64/pci/pci_cfgreg.c optional pci
|
2000-09-29 13:46:07 +00:00
|
|
|
isa/syscons_isa.c optional sc
|
|
|
|
isa/vga_isa.c optional vga
|
2004-08-16 18:54:23 +00:00
|
|
|
kern/imgact_elf32.c optional compat_ia32
|
2003-04-29 05:38:41 +00:00
|
|
|
libkern/bcmp.c standard
|
2004-01-13 15:37:23 +00:00
|
|
|
libkern/ffsl.c standard
|
|
|
|
libkern/fls.c standard
|
|
|
|
libkern/flsl.c standard
|
2000-10-04 17:53:03 +00:00
|
|
|
libkern/ia64/__divdi3.S standard
|
2003-04-29 05:38:41 +00:00
|
|
|
libkern/ia64/__divsi3.S standard
|
2000-10-04 17:53:03 +00:00
|
|
|
libkern/ia64/__moddi3.S standard
|
2003-04-29 05:38:41 +00:00
|
|
|
libkern/ia64/__modsi3.S standard
|
2000-10-04 17:53:03 +00:00
|
|
|
libkern/ia64/__udivdi3.S standard
|
2003-04-29 05:38:41 +00:00
|
|
|
libkern/ia64/__udivsi3.S standard
|
2000-10-04 17:53:03 +00:00
|
|
|
libkern/ia64/__umoddi3.S standard
|
2003-04-29 05:38:41 +00:00
|
|
|
libkern/ia64/__umodsi3.S standard
|
|
|
|
libkern/ia64/bswap16.S standard
|
|
|
|
libkern/ia64/bswap32.S standard
|
2009-02-28 16:21:25 +00:00
|
|
|
libkern/memmove.c standard
|
2007-04-09 14:02:18 +00:00
|
|
|
libkern/memset.c standard
|