Commit Graph

284 Commits

Author SHA1 Message Date
des
81a1333c81 Use the correct value for banksize so splash_pcx works in LFB modes. 1999-06-28 13:52:29 +00:00
grog
4621a54de7 Reenable Vinum build 1999-06-24 05:21:19 +00:00
yokota
4f4eb0cfe5 The second phase of syscons reorganization.
- Split syscons source code into manageable chunks and reorganize
  some of complicated functions.

- Many static variables are moved to the softc structure.

- Added a new key function, PREV.  When this key is pressed, the vty
  immediately before the current vty will become foreground.  Analogue
  to PREV, which is usually assigned to the PrntScrn key.
  PR: kern/10113
  Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de>

- Modified the kernel console input function sccngetc() so that it
  handles function keys properly.

- Reorganized the screen update routine.

- VT switching code is reorganized.  It now should be slightly more
  robust than before.

- Added the DEVICE_RESUME function so that syscons no longer hooks the
  APM resume event directly.

- New kernel configuration options: SC_NO_CUTPASTE, SC_NO_FONT_LOADING,
  SC_NO_HISTORY and SC_NO_SYSMOUSE.
  Various parts of syscons can be omitted so that the kernel size is
  reduced.

  SC_PIXEL_MODE
  Made the VESA 800x600 mode an option, rather than a standard part of
  syscons.

  SC_DISABLE_DDBKEY
  Disables the `debug' key combination.

  SC_ALT_MOUSE_IMAGE
  Inverse the character cell at the mouse cursor position in the text
  console, rather than drawing an arrow on the screen.
  Submitted by: Nick Hibma (n_hibma@FreeBSD.ORG)

  SC_DFLT_FONT
  makeoptions "SC_DFLT_FONT=_font_name_"
  Include the named font as the default font of syscons.  16-line,
  14-line and 8-line font data will be compiled in.  This option replaces
  the existing STD8X16FONT option, which loads 16-line font data only.

- The VGA driver is split into /sys/dev/fb/vga.c and /sys/isa/vga_isa.c.

- The video driver provides a set of ioctl commands to manipulate the
  frame buffer.

- New kernel configuration option: VGA_WIDTH90
  Enables 90 column modes: 90x25, 90x30, 90x43, 90x50, 90x60.  These
  modes are mot always supported by the video card.
  PR: i386/7510
  Submitted by: kbyanc@freedomnet.com and alexv@sui.gda.itesm.mx.

- The header file machine/console.h is reorganized; its contents is now
  split into sys/fbio.h, sys/kbio.h (a new file) and sys/consio.h
  (another new file).  machine/console.h is still maintained for
  compatibility reasons.

- Kernel console selection/installation routines are fixed and
  slightly rebumped so that it should now be possible to switch between
  the interanl kernel console (sc or vt) and a remote kernel console
  (sio) again, as it was in 2.x, 3.0 and 3.1.

- Screen savers and splash screen decoders
  Because of the header file reorganization described above, screen
  savers and splash screen decoders are slightly modified.  After this
  update, /sys/modules/syscons/saver.h is no longer necessary and is
  removed.
1999-06-22 14:14:06 +00:00
yokota
ef7a7a001b Print verbose messages when there is error.
Oked by: des
1999-06-16 14:04:45 +00:00
roger
f972f1b1f1 Add bktr (Bt848/Bt878 driver loadable module) to the Makefile i386 only section 1999-06-12 15:11:33 +00:00
roger
4a31cbf098 Change perl5 to perl (same change as made in the fxp module) 1999-06-12 15:08:50 +00:00
roger
33418bb41d Makefile to build a loadable bktr Bt848/Bt878 device driver
This allows the bt848 grabber to be loaded in the boot loader or
after bootup without the need for a custom kernel
1999-06-12 15:00:19 +00:00
jb
e452020bd2 Remove vinum from the build until Greg reviews phk's cdevsw changes.
Preferred by: phk (rather than committing the patch without review).
1999-06-02 07:15:17 +00:00
jlemon
b5d4171ff6 Unifdef VM86.
Reviewed by:	silence on on -current
1999-06-01 18:20:36 +00:00
grog
ea4b34b015 Reenable vinum build. 1999-05-15 06:13:27 +00:00
phk
8669d7040a Vinum doesn't compile right now. 1999-05-13 09:43:29 +00:00
des
b4d631fafd MFS: indent-assisted style cleanup. 1999-05-10 15:25:50 +00:00
des
d2156fab80 A little closer to style(9). 1999-05-08 11:51:51 +00:00
bde
ffb41f0ed8 Fixed bitrot in comments. 1999-05-06 03:35:44 +00:00
obrien
99320bfeca MFS: don't build the pcic.ko module. 1999-05-05 20:58:15 +00:00
billf
e10abce1f8 Add procfs_rlimit.c so the kernel actually compiles.
PR:		kern/11497
Submitted by:	Jos Backus <jos.backus@nl.origin-it.com> (misordered patch)
Pointy Hat:	phk, adrian
1999-05-04 21:08:58 +00:00
jkh
1ff822af67 Add missing copyright. 1999-05-04 12:58:56 +00:00
jkh
2364b674a3 Add "fire" screen saver.
Submitted by:	Brad Forschinger <retch@flag.blackened.net>
1999-05-04 12:23:32 +00:00
msmith
ae853b3a11 Allow loadable interface drivers with BPF support to be loaded into a kernel
that doesn't have it.  This is achieved by having minimal do-nothing stubs
enabled when there are no bpfilter devices configured.

Driver modules should be built with BPF enabled for maximum
convenience (but can be built without it for maximum performance).
1999-04-28 01:18:13 +00:00
ghelmer
aa25704686 Reference kld(4).
Submitted by:	Nathan Ahlstrom <nrahlstr@winternet.com>
1999-04-23 16:12:44 +00:00
peter
3dd008201a No need to use a magic IPFIREWALL_MODULE - the build system supplies
one already we can test for.
1999-04-20 14:31:23 +00:00
peter
1626101dd4 Kill joy for the time being, it used lkm unconditionally, breaking world.
Submitted by:	"Steven G. Kargl" <kargl@troutmask.apl.washington.edu>
1999-04-19 20:36:06 +00:00
peter
3fb6d34732 Remove LKM module glue Makefile. 1999-04-19 14:31:55 +00:00
dfr
219dec9bd3 Use perl, not perl5 to compile interfaces. 1999-04-18 13:31:23 +00:00
bde
4b9d91f834 Actually build the new fxp module.
Updated comments about rotten modules.

Fixed disorder and English errors.
1999-04-18 03:18:33 +00:00
peter
82d728b4a9 Disconnect lkm subdir so we don't build a lkm module, in case something
I do breaks world or the nightly snapshots.  (you can still do it by hand
though for the moment)
1999-04-17 16:31:13 +00:00
grog
eeaec3c191 Reverse last checkin, which was a regression. Grrr. 1999-04-17 07:48:34 +00:00
grog
c7b8375f00 Replace with the correct version which sources in the other .gdbinits. 1999-04-17 04:14:40 +00:00
peter
245187b52e Add a sample loadable pci driver Makefile.. 1999-04-16 21:52:27 +00:00
peter
4c7fabcc47 Drop the atapi module from the build, it's just wasting time. 1999-04-13 18:53:54 +00:00
bde
0e55e133aa Fixed bogus SRCS definition which broke make depend'. Plain make'
worked accidentally because the rule to generate ${OBJS} from ${SRCS}
is sloppy.

Fixed style bugs.
1999-04-13 09:11:20 +00:00
des
2dc3d69d77 PCX loader for pseudo-device splash. 1999-04-12 13:39:11 +00:00
des
791f19da95 Centralize and reorganize a few macros. 1999-04-12 13:34:58 +00:00
grog
c3355422b5 Add kldstat macro, which basically does the same thing as kldstat(8) 1999-04-10 04:04:16 +00:00
ghelmer
0047b416e6 Replace LKM with KLD.
Submitted by:	Nathan Ahlstrom <nrahlstr@winternet.com>
1999-04-06 13:57:33 +00:00
grog
ec96761e24 'fr' macro: trace back to new kernel base 0xc0000000 1999-04-05 03:55:44 +00:00
grog
51fa277045 Correct forgotten defs in defproc macro 1999-04-04 03:33:45 +00:00
grog
bd632685aa Various bug fixes to make them actually work. 1999-03-31 05:54:20 +00:00
yokota
3bb5e2e4c7 Make the splash screen alternate "fade out" and "fade in" action at
regular intervals, when the module is used as a screen saver.

Submitted by: asami
1999-03-29 15:13:53 +00:00
grog
6ba2a35d6e Restructure the .gdbinit files:
.gdbinit.crash contains a top-level .gdbinit suitable for debugging
               crash dumps

.gdbinit.serial contains a top-level .gdbinit suitable for serial
              debugging

Each of these two files reads the following files:

.gdbinit.kernel: This file contains general macros suitable for kernel
               debugging.  It is not related to vinum

.gdbinit.vinum:  This file contains macros specific to debugging
               vinum.

.gdbinit.paths:  Contains information about the location of the source
               and object files on the system.
1999-03-28 09:12:17 +00:00
grog
01520b2c3f Restructure the .gdbinit files:
.gdbinit.crash contains a top-level .gdbinit suitable for debugging
               crash dumps

.gdbinit.serial contains a top-level .gdbinit suitable for serial
		debugging

Each of these two files reads the following files:

.gdbinit.kernel: This file contains general macros suitable for kernel
		 debugging.  It is not related to vinum

.gdbinit.vinum:  This file contains macros specific to debugging
		 vinum.

.gdbinit.paths:  Contains information about the location of the source
		 and object files on the system.
1999-03-28 09:10:56 +00:00
julian
c26ea8f875 quick BDE premption 1999-03-14 20:43:09 +00:00
julian
8ad9ed65a4 A bit of a hack, but allows the vn device to be a module again.
Submitted by: Matt Dillon <dillon@freebsd.org>
1999-03-14 20:40:15 +00:00
julian
0c3f3973d2 Submitted by: Matt Dillon <dillon@freebsd.org>
The old VN device broke in -4.x when the definition of B_PAGING
changed. This patch fixes this plus implements additional capabilities.
The new VN device can be backed by a file ( as per normal ), or it can
be directly backed by swap.

Due to dependencies in VM include files  (on opt_xxx options) the new
vn device cannot be a module yet. This will be fixed in a later commit.
This commit delimitted by tags {PRE,POST}_MATT_VNDEV
1999-03-14 09:20:01 +00:00
grog
91cf8ffed0 Improve the manner in which the location of the kld is found. It
should now be completely automatic.
1999-03-13 07:42:15 +00:00
newton
66edcaeeb1 Oops. Adding a Makefile might help anyone who wants to use streams
as a module...
1999-02-22 14:02:42 +00:00
n_hibma
62572be175 Update for the man page. 4.0 is using KLD's not LKM's. 1999-02-22 13:08:38 +00:00
newton
2d24e4c75d Converted "streams" pseudo-device into a KLD 1999-02-22 11:44:46 +00:00
fenner
1fff269456 Clean up some .Os macro uses: quotes are not needed, multiple arguments
don't really work if the first one isn't "FreeBSD", and "FreeBSD-Experimental"
isn't an OS name.
1999-02-15 08:34:14 +00:00
bde
87e388cc70 Honor ${LDFLAGS} for building svr4_genassym. This is part of fixing
world breakage (mainly for cross-world cases).  The world Makefile
attempts to build tools static so that nonexistent or wrong shared
libraries and interpreters don't get used.  This is broken anyway
since the world Makefile doesn't know about svr4_genassym.

Force building svr4_genassym static.  This is part of "fixing"
aout-to-elf-build breakage.  aout-to-elf-build abuses NOTOOLS to
avoid rebuilding all the aout tools.  This saves time and avoids
some complications.  However, it breaks all the internal tools --
they get linked to target libraries which might not work.  Cases
where the host can run the target's static libraries are "fixed"
by encrufting all Makefiles that build internal tools to build the
tools static.

Don't add .depend to CLEANFILES -- it just breaks the separation of
`make cleandepend' from `make clean'.

Removed some superflous explicit dependencies.
1999-02-06 07:48:24 +00:00