Commit Graph

6496 Commits

Author SHA1 Message Date
pk 5307cf957f Use pmap_pa_exists().
Allow read-only access to the prom via /dev/kmem.
1995-03-10 17:06:15 +00:00
pk d374af4496 Prototype for pmap_pa_exists(). 1995-03-10 16:56:27 +00:00
pk eedb392003 Missing #ifdef MACHINE_NONCONTIG.
Add function pmap_pa_exists() to assist /dev/mem.
1995-03-10 16:54:40 +00:00
mycroft 936d442143 Fix another oversight. 1995-03-10 12:20:37 +00:00
mycroft b9e30291a4 Fix oversight in previous change. 1995-03-10 10:56:16 +00:00
chopps b3f539b09c add prototypes before each inline 1995-03-10 04:13:52 +00:00
gwr 91c5750c11 Add bwtwo, cgfour, fb 1995-03-10 02:31:29 +00:00
gwr d8b3f42519 Declare ee_console (for drivers). 1995-03-10 02:29:16 +00:00
gwr 7dc7eb1364 Fix PA_PGNUM for high addresses (cast to unsigned). 1995-03-10 02:28:01 +00:00
gwr 72fe3a22d4 Fix sunos compat code in sigreturn (from Chuck Silvers) 1995-03-10 02:24:42 +00:00
gwr fd555db42e Add bwtwo, cgfour, and fb 1995-03-10 02:22:21 +00:00
gwr f7f7ec9278 Treat high physical addresses like "device" space,
so frame-buffer devices don't go into the pv_lists.
1995-03-10 02:20:40 +00:00
gwr ee5c85f6a1 Synthesize KBD_L1|KBD_UP after return from zsabort.
Simplify PROM mapping stuff, use ee_console.
1995-03-10 02:15:03 +00:00
gwr 8119e6377d Add kdcnpollc so it can call fb_unblank 1995-03-10 02:09:35 +00:00
gwr 151da5e380 Provide ee_console for drivers. 1995-03-10 02:06:54 +00:00
gwr 376432783f Set speed on open (from Chuck Silvers). 1995-03-10 01:57:02 +00:00
gwr 63c3c68de4 New frame-buffer support from Chuck Silvers (plus some tweaks from me) 1995-03-10 01:50:28 +00:00
gwr d0dba9b2d2 Add missing break in switch (not that it mattered 8^) 1995-03-10 01:43:05 +00:00
mycroft fab1d8444c Update to match syscalls.master. 1995-03-09 17:33:07 +00:00
mycroft 57e6889435 Make memory map syscalls consistently use size_t. 1995-03-09 17:28:28 +00:00
mycroft 5e754ab356 Change bcopy() and bzero() prototypes to use size_t. 1995-03-09 15:47:44 +00:00
mycroft 2f805fa51b copy*str() should use size_t. 1995-03-09 12:05:21 +00:00
mycroft d004d5d34c Remove something I don't use. 1995-03-09 11:32:33 +00:00
mycroft b880de68c5 ifconf() takes a u_long, not an int. 1995-03-09 09:47:25 +00:00
mycroft dc3d752c6c Fix last arg to scdebug_ret(). 1995-03-09 08:59:45 +00:00
mycroft 1f5c42f54c Update types. 1995-03-09 08:55:47 +00:00
mycroft 7f1e89164d Update types, and fill in missing debug switch entries. 1995-03-09 08:54:37 +00:00
mycroft cf5fea3430 Fix some types:
* code, args, and rval should use register_t.
* argsize should be a size_t.
1995-03-09 08:03:51 +00:00
mycroft db7371a9b7 Fix some types:
* code, args, and rval should use register_t.
* argsize should be a size_t.
Undo some of the differences between this syscall() and the hp300 version.
1995-03-09 07:57:42 +00:00
mycroft 75556e2e34 Fix some types:
* code, args, and rval should use register_t.
* argsize should be a size_t.
Add syscall debugging hooks.
1995-03-09 07:47:33 +00:00
cgd f6589edbc7 spaces -> tab 1995-03-09 02:20:34 +00:00
pk 03b9b4a4bb Add a CR. 1995-03-08 20:58:05 +00:00
brezak 83fffa3985 Cleanup for SB16 (From Jan Sparud) 1995-03-08 18:27:35 +00:00
fvdl 9e7e8cd294 Add missing structure conversion for IPC_RMID. 1995-03-08 17:27:42 +00:00
pk d61b2703ef Allow for multiple virtual PROM addresses. 1995-03-08 15:51:03 +00:00
fvdl ad4540a424 Fix typo in comment. 1995-03-08 15:17:49 +00:00
mycroft 80d817b8de Fix some types:
* code, args, and rval should use register_t.
* argsize should be a size_t.
Small optimization to the Linux compat code, and don't blindly fail on if
the argument list size is invalid.
1995-03-08 07:12:28 +00:00
mycroft add762f71c Panic if the emulation type is invalid. 1995-03-08 06:49:22 +00:00
mycroft e10c1980be Fix some types:
* code, args, and rval should use register_t.
* argsize should be a size_t.
Some general cleanup, and undo many of the differences between this syscall()
and the hp300 version.
1995-03-08 06:46:03 +00:00
mycroft e518635e13 Fix some types:
* code, args, and rval should use register_t.
* argsize should be a size_t.
Remove old notimp() kluge; replaced by a better mechanism.
Add some of the SunOS compat hooks.
1995-03-08 06:39:06 +00:00
cgd e363664703 fixed sized types, where appropriate. when casting pointers to
integers to do math on them, cast to long.  ioctl commands are
u_longs.
1995-03-08 02:56:49 +00:00
mycroft 4e7630d68f copy*() should use size_t, not u_int or u_long, and especially not a
combination of the two.
1995-03-08 02:48:20 +00:00
cgd 4df31d916c fix cd major number 1995-03-08 02:41:37 +00:00
cgd 95aec707ad fix major number for swap device 1995-03-08 02:40:34 +00:00
cgd d4c091877f cast pointers correctly, ioctl cmds are u_longs, most int \!= long
type bogons.  two on-inspection fixes.
1995-03-08 02:16:07 +00:00
cgd e7c1a9e7f9 cast pointers correctly, ioctl cmds are u_longs, most int != long type bogons 1995-03-08 02:14:50 +00:00
cgd 992d10a16e cast pointers correctly, ioctl cmds are u_longs. 1995-03-08 02:13:59 +00:00
cgd ad86c7f247 size for copyinstr should be u_long 1995-03-08 01:51:49 +00:00
cgd 32ec40eee8 cast pointer to long, not int 1995-03-08 01:51:38 +00:00
cgd 0597756675 size for copyinstr should be u_long 1995-03-08 01:49:37 +00:00