Commit Graph

23268 Commits

Author SHA1 Message Date
drochner
bd3b88b6a6 Move the translation of keypad and function keys into the realm of the
terminal emulation. For this, change the interface to wsdisplay_kbdinput()
to take a "keysym_t" as argument. From there, the code is handed to the
appropriate emulation module via a new entry point: "translate".
Nuke the ioctls dealing with global assignment of character sequences
to keypad/function keys.
The "sun" emulation works much better now!
1998-06-15 17:48:32 +00:00
drochner
e96a163c22 #define NUL 0 -- isn't that great? 1998-06-15 17:38:39 +00:00
drochner
7560f4c5d7 Fix broken pointer arithmetic.
Being here, add hooks for the highly-desired-but-not-yet-done
vt100 emulation.
1998-06-15 17:10:37 +00:00
drochner
64839bcf9d document PCKBD_LAYOUT 1998-06-15 13:10:18 +00:00
bouyer
eeb09bb8c8 Treat OSCIOCIDENTIFY just as SCIOCIDENTIFY regarding permissions, don't
require the file descriptor to be open read/write. Fix PR kern/5592
from John F. Woods.
1998-06-15 08:16:01 +00:00
kleink
60fa03b1ac Move the setjmp()/longjmp() prototypes inside _KERNEL protection. This is
necessary since the `label_t' type is defined for _KERNEL source only, and
there are userlevel sources (i.e. filesystem maintenance tools) that make use
of kernel source files which include this header; also, using the (different)
kernel implementations and prototypes of setjmp()/longjmp() would be wrong
for these programs.
1998-06-14 20:18:56 +00:00
kleink
1fbd0b3749 GC the unused `physadr' type, which was not able to hold a complete physical
address on 2 architectures anyhow.  Also, move the definition of the `label_t'
type inside _KERNEL protection, since it is specific to the in-kernel
setjmp()/longjmp() implementations.
1998-06-14 20:09:22 +00:00
kleink
513959b129 interupt' -> interrupt' 1998-06-14 19:47:14 +00:00
billc
3f29603abd delete WARPED 1998-06-14 12:50:26 +00:00
billc
fcbc3ab14f moved WARPED to updated NBFTP 1998-06-14 12:47:31 +00:00
ragge
a4d0eae36b Add catch function for keyboard. 1998-06-14 11:52:35 +00:00
kleink
2d869bbacf KNF, mostly of FFS_EI changes. 1998-06-13 16:26:22 +00:00
drochner
b45b8e0fc0 clean up if a controlling process exits while a switch is in progress,
initialize the flag used for keeping track of this
1998-06-13 14:36:32 +00:00
drochner
61edae3ba0 fix initialization in non-console case 1998-06-13 14:28:50 +00:00
drochner
d9088c141e Fix last change: If BOOTP/DHCP was successful, don't try RARP/BOOTPARAM. 1998-06-13 14:13:25 +00:00
tv
dc8a6b4a21 Fix boogered gcc warning workaround the right way. 1998-06-13 04:33:40 +00:00
tv
ffc503dc80 Clean up boogered gcc warning workaround (remove goto completely) and remove
a redundant `if'.
1998-06-13 04:28:46 +00:00
tv
bbdf63fab8 The ATAPI disktype is now rather fixed in stone since a device uses it for
booting (Shark).  Add to mainline.
1998-06-13 04:20:24 +00:00
tv
254edea7e0 Merge Shark/OFW changes for device configuration. 1998-06-12 23:59:22 +00:00
tv
cb168e274b Add to mainline. 1998-06-12 23:29:27 +00:00
cgd
651b44e211 Rework the way kernel include files are installed. In the new method,
as with user-land programs, include files are installed by each directory
in the tree that has includes to install.  (This allows more flexibility
as to what gets installed, makes 'partial installs' easier, and gives us
more options as to which machines' includes get installed at any given
time.)  The old SYS_INCLUDES={symlinks,copies} behaviours are _both_
still supported, though at least one bug in the 'symlinks' case is
fixed by this change.  Include files can't be build before installation,
so directories that have includes as targets (e.g. dev/pci) have to move
those targets into a different Makefile.
1998-06-12 23:22:30 +00:00
tv
67856105fa Merge RiscPC and Shark files; now all machines will make the proper device
config files.
1998-06-12 23:21:53 +00:00
cgd
87dc093422 replace ${MACHINE} with mvme68k, so that these Makefiles can safely
be run when MACHINE != mvme68k.
1998-06-12 23:11:45 +00:00
tv
49fd1860fe Add UVM support. 1998-06-12 23:08:52 +00:00
mjacob
b6ac862e01 Roll back to 1.55 level since 1.56 will not compile. 1998-06-12 21:14:43 +00:00
tv
11e9a04748 Add a hack to make the ofisa.o compile using the old MD isadma code, for
now.
1998-06-12 21:07:44 +00:00
tsubai
4486c63ae4 Add primary boot (bootxx) and installboot command. 1998-06-12 21:07:23 +00:00
tsubai
18bfac1eca Initialize "minaddr" to 0 in cpu_startup() when UVM is defined. 1998-06-12 20:58:57 +00:00
gwr
0050a1b95b Sync with the sun3 version. 1998-06-12 20:07:50 +00:00
gwr
26753f7bf7 In _save_symtab, ignore any symbol table if preserving it would
cause our memory use to exceed the 1MB limit (on the 3/50 only).
1998-06-12 20:06:30 +00:00
drochner
08f2cdd7c4 clean up vga_isa_match() - always return "2" on success to make the
driver win over "pcdisplay"
1998-06-12 18:45:48 +00:00
drochner
96840772f5 reserve the VGA BIOS area (but don't worry if it fails) 1998-06-12 18:41:01 +00:00
drochner
ad793db324 access the "raw keyboard" flag inside spltty() to make sure there is
no screen switch in between
1998-06-12 18:15:27 +00:00
drochner
684086c4c7 copy of GENERIC, but with wscons console 1998-06-12 15:42:02 +00:00
fair
a23c899718 apply patch from PR#4626 to allow DDB to deal with kernel traps. 1998-06-12 10:02:44 +00:00
leo
53023f94d2 Make this compile for the M68060 (Thomas Gerner) 1998-06-12 09:27:37 +00:00
thorpej
dfeb8f794c Delete a debugging clause that is no longer necessary, and also can't
work properly if we're testing for a pmap active on _other_ processors.
1998-06-12 07:28:07 +00:00
thorpej
0a47d0d577 Rename active_pmap() to PMAP_ISACTIVE(). 1998-06-12 00:45:47 +00:00
drochner
81fd096b37 Since wscons can support VT_xxx ioctl()s, enable them if NWSDISPLAY > 0.
Implement KDGKBTYPE and KDGKBENT, this will make X servers happy.
1998-06-11 22:26:13 +00:00
drochner
107df2472d add options for new compatibility stuff, add wsdisplay_compat_usl.c 1998-06-11 22:16:27 +00:00
drochner
68891be537 implement a way to get raw keyboard data (for X) 1998-06-11 22:15:14 +00:00
drochner
0aa10dad6b Add calls to process / VT synchronization functions (as provided in
wsdisplay_compat_usl.c).
add "sleeping ok" argument to wsdisplay_switch()
implement a way to get raw keyboard data (for X)
some cleanup
1998-06-11 22:13:52 +00:00
drochner
95ce034ada add "sleeping ok" argument to wsdisplay_switch()
implement a way to get raw keyboard data (for X)
1998-06-11 22:08:57 +00:00
drochner
c90fa98f4a add "sleeping ok" argument to wsdisplay_switch() 1998-06-11 22:03:15 +00:00
drochner
8fb1d35ab5 Implement the VT access and keyboard control ioctl()s needed for
compatibility to PCVT, syscons and the Linux console.
1998-06-11 22:00:04 +00:00
scw
cee1e443db Use DEV_BSIZE in place of MAXBSIZE for the static 'iobuf' in devopen().
Use of the latter caused the 1st and 2nd stage boot loaders to occupy
over 64k of memory. This caused them to fail on a 4Mb mvme147 since
they are loaded at 0x3f0000.
Reported by Kristen A. McIntyre and Maxime Kurkdjian.
1998-06-11 19:04:57 +00:00
fair
af3c9e43de turn on LKM by default, per PR#4423 1998-06-11 19:02:35 +00:00
thomas
2ea2848317 Fix egcs warning 1998-06-11 16:31:45 +00:00
thorpej
ff16cd85c0 In pmap_enter(): if old PTE was not valid, we don't need to sync
the I-stream, for the same reason we don't need to invalidate the TLB.
1998-06-11 10:36:08 +00:00
thorpej
2683c2826d Track mappings entered w/ VM_PROT_EXECUTE, and only synchronize the
I-stream when changing PTE bits or removing mappings that were entered
w/ EXECUTE protection.
1998-06-11 10:30:14 +00:00
thorpej
c5a827e7f6 Per leo@netbsd.org: Don't call isa_dmainit() if NISADMA == 0. 1998-06-11 08:43:01 +00:00
leo
127d319668 Add some function decls previously declared elsewhere??? While here make them
static.
1998-06-11 08:36:54 +00:00
leo
6c721e05f1 Fix typo. 1998-06-11 08:32:00 +00:00
leo
d30382ffb4 Don't call isa_dmainit() when NISADMA == 0. 1998-06-11 08:29:33 +00:00
thorpej
c0c2cb0f9a Garbage-collect the old PMAPSTATS stuff; it didn't compile, and should
just be redone from scratch.  Get it out of the way now to make it easier
to restructure a few things.
1998-06-11 05:16:35 +00:00
thorpej
3af0f95d24 Define a macro to test PG_EXEC. 1998-06-11 05:10:41 +00:00
thorpej
55207ad8b4 Define a software PTE bit to track VM_PROT_EXEC. 1998-06-11 05:09:47 +00:00
thorpej
afc9b7c59b Significantly reduce the number of I-stream synchronizations by really
decoupling this operation from TLB invalidations (e.g. pull I-stream
syncs out of loops, executing them only once, etc.).
1998-06-11 05:08:37 +00:00
sakamoto
2855774022 Remove unused message. 1998-06-11 05:03:30 +00:00
thorpej
817b595bab Separate syncing the I-stream from invalidating the translation buffer. 1998-06-11 02:45:21 +00:00
thorpej
ab7bc85ff7 Pull in <sys/timepps.h> here so that other things that include comvar.h
will compile.
1998-06-11 02:01:58 +00:00
thorpej
1abd24fffe Correct a comment. 1998-06-11 00:34:16 +00:00
tv
fe2278980b Missing include <sys/systm.h>. 1998-06-10 22:58:05 +00:00
tv
16a3c1c5c7 dev_pager_alloc panic workaround for arm32 - temporary. 1998-06-10 22:41:03 +00:00
thorpej
b121e9e772 Add a shutdown hook for SCSI-2 and higher disks that issues a SYNCHRONIZE CACHE
operation with address 0 length 0, which, according to the SCSI-2 spec, should
be interpreted as "synchronize all remaining blocks beginning at address 0".
1998-06-10 22:17:39 +00:00
tv
7ea013ce82 Include "pc.h" and check NPC - allows ofcons to be the system console. 1998-06-10 21:55:30 +00:00
tv
209848d4ab Change dev' -> self' in ofisaattach(), compile error 1998-06-10 16:48:21 +00:00
tsubai
5c89a4e36b Move static variables to struct softc.
Remove unused struct members.
1998-06-10 16:27:30 +00:00
kleink
74ce7ac984 KNF: only include one of <sys/{param,types}.h>, not both. 1998-06-10 15:57:39 +00:00
jonathan
bbc2d1522a PPS support from April, reworked and extended to match the PPS-API
Internet Draft (draft-mogul-pps-api-02.txt).
1998-06-10 12:06:23 +00:00
bouyer
de7be831ac Make this compile with the recent ISA DMA changes. 1998-06-10 10:24:13 +00:00
jonathan
78741b6227 Definitions for PPS (Pulse-Per-Second) API. 1998-06-10 08:18:58 +00:00
gwr
dbeb2648a6 Switch over to MACHINE_NEW_NONCONTIG 1998-06-10 02:42:14 +00:00
thorpej
4ad627c09b Do the unaligned buffer fixup without copying data, more-or-less lifted
from the Shark CS8900 driver.
1998-06-10 01:15:50 +00:00
sommerfe
a90d5cd12e Truncate mbufs to the correct length before forwarding; fixes pr5560 1998-06-10 00:47:57 +00:00
wrstuden
9e4ad7086e Remove two incorrect ntoh's which make a comparison of a constant w/ a
value from a packet not work right (only one of them needs ntoh!).

Fixes a bug reported by David Brownlee, and which has been present
in NetAtalk from the Sun 4 port (and thus FreeBSD and OpenBSD too).
1998-06-10 00:43:58 +00:00
thorpej
f8e69a4627 Don't enable BUS_SPACE_DEBUG automatically if DEBUG is defined. 1998-06-09 22:53:57 +00:00
gwr
1b01ec0993 First cut at UVM support. Compiles, but not tested yet. 1998-06-09 20:47:17 +00:00
gwr
c714d95b83 First cut at MACHINE_NEW_NONCONTIG - not enabled yet. 1998-06-09 20:31:28 +00:00
gwr
557be5668b Move sun3x _pmap_fault macro from pmap.h to trap.c 1998-06-09 19:58:50 +00:00
thorpej
a3db0f915e Define the SYNCHRONIZE CACHE command. 1998-06-09 19:03:24 +00:00
thorpej
02182100df Use config_defer(). 1998-06-09 18:49:33 +00:00
thorpej
ab548fbb40 Remove the PCI-ISA bridge callback mechanism; it's no longer needed. 1998-06-09 18:48:41 +00:00
thorpej
387a1c5d41 Implement config_defer(), a generic mechanism to defer the configuration
of a device until all of its parent's children have been attached.
1998-06-09 18:46:12 +00:00
gwr
d74e1744f5 Fix a warning 1998-06-09 17:19:01 +00:00
gwr
d0a7f4f72b Make this compile... 1998-06-09 17:10:11 +00:00
gwr
6e85156429 Simplify ifdefs in cg4b_ldcmap() 1998-06-09 16:10:25 +00:00
gwr
3634eb6176 Make this work on the 3/80, which has the Brooktree DAC
wired high-byte-only like the sparc. (yuck!)
1998-06-09 14:38:59 +00:00
ragge
b25b5bddd1 #ifdef _KERNEL whole this file. 1998-06-09 14:03:24 +00:00
ragge
f6a6201ac7 Bugfix; now VS3100/m76 also works. 1998-06-09 14:02:01 +00:00
tv
bb63045726 Add recent ddb_init() interface change. 1998-06-09 12:01:28 +00:00
tsubai
3e21bf604d Remove unused variables. 1998-06-09 11:30:09 +00:00
ross
69717a7f0e Fix a UVM #if so {} balance is preserved and ctags(1) doesn't lose. 1998-06-09 09:31:58 +00:00
dbj
ddff5f8e94 Initial import of NetBSD/next68k. 1998-06-09 07:53:05 +00:00
scottr
7171cca4b8 Protect various config(8)-generated files from inclusion while
building LKMs.  Fixes PR 5557.
1998-06-09 07:46:31 +00:00
thorpej
be62e9cb1b Nuke __BROKEN_INDIRECT_CONFIG. 1998-06-09 07:35:06 +00:00
thorpej
5bc2217a49 Nuke __BROKEN_INDIRECT_CONFIG. 1998-06-09 07:24:55 +00:00
mikel
c1f8034333 ffs_ -> ext2fs_ in warning; art@openbsd.org 1998-06-09 06:33:22 +00:00
sakamoto
949c52c154 add address conversion macro for MPC105 and some fix. 1998-06-09 05:53:30 +00:00
sakamoto
040581ceed Add UVM support. 1998-06-09 05:41:19 +00:00