Commit Graph

29800 Commits

Author SHA1 Message Date
veego
1c599835b4 Restore the defines of UPAGES and NPTEPG. 1997-07-10 08:22:36 +00:00
veego
78996821fa Move the defines of UPAGES and NPTEPG back to the MD param.h, execpt that
the sun3[x] doesn't use NPTEPG.
1997-07-10 08:22:09 +00:00
mikel
3f0dbdf761 xref exit(3) not exit(2) 1997-07-10 07:57:07 +00:00
mikel
68d5856411 xref _exit(2) or exit(3) instead of exit(2) 1997-07-10 07:54:12 +00:00
mikel
d61bcdd8e8 xref execve(2), getdtablesize(3) instead of execv(2), getdtablesize(2) 1997-07-10 07:44:49 +00:00
mikel
143946ffbd xref ddb(4), not ddb(8) 1997-07-10 07:37:23 +00:00
mikel
fdecd6a253 don't xref obsolete crypt(1) 1997-07-10 07:23:03 +00:00
mikel
e4c3c6ef21 there is no checkeq(1) 1997-07-10 07:14:35 +00:00
mikel
809a01767c there is no dbx(5) 1997-07-10 07:08:23 +00:00
mikel
cb104d7c96 xref gdb(1), not obsolete dbx(1) 1997-07-10 07:06:18 +00:00
mikel
d568a943bd eliminate obsolete xref to adb(1), add some relevant xrefs
update literal text from current <sys/types.h>
1997-07-10 06:56:38 +00:00
mikel
b58650d7c5 make explicit comparisons to NULL, s/rindex/strrchr/ 1997-07-10 06:47:29 +00:00
mikel
34164c8eea make toor's shell explicit to shut up /etc/security 1997-07-10 06:38:35 +00:00
mikel
1e7f2b7da9 fix printf formats and implicit comparisons (gcc -Wall) 1997-07-10 06:28:58 +00:00
mikel
3bf6872439 index array with int, not char 1997-07-10 06:26:44 +00:00
mikel
31e6ca8cc3 add prototypes for ksearch(), msearch(), and __ivaliduser() 1997-07-10 06:24:55 +00:00
mikel
4a711f6dd1 add parens (gcc -Wall) 1997-07-10 06:21:51 +00:00
mikel
ad1d686121 make explicit comparisons to NULL (gcc -Wall) 1997-07-10 06:19:53 +00:00
mikel
764d9a9d44 fix typos 1997-07-10 06:18:52 +00:00
mikel
b38a221a9e oops 1997-07-10 06:09:27 +00:00
mikel
0b0a21a5e8 clarify assignments used as conditionals (gcc -Wall) 1997-07-10 05:38:54 +00:00
mikel
7d65d1af46 clarify conditional in for-loop (gcc -Wall) 1997-07-10 05:34:48 +00:00
mikel
d74bc9dc39 xref chown(8) not chown(1), kill extra comma 1997-07-10 05:14:15 +00:00
mikel
0b09e047ba cleanup for gcc -Wall 1997-07-10 05:08:06 +00:00
mikel
fc364ac664 prototype calcsb() 1997-07-10 04:53:35 +00:00
mikel
3a41a9a779 fix printf formats 1997-07-10 04:52:39 +00:00
mikel
c29d171485 kill xrefs to obsolete debuggers 1997-07-10 04:37:22 +00:00
mikel
3a5de8f076 kill xref to nonexistent adb(1) 1997-07-10 04:31:37 +00:00
cgd
c5d237fec8 kill the apm_enabled softc member I added, and instead use apminited,
a global variable (yech, but i'm not out to save the world) which had
the same meaning and ended up being stealthily set in pretty much
the same place.
1997-07-10 04:15:39 +00:00
mikel
d110bb9714 comment out xref to XNSrouted(8) 1997-07-10 04:14:32 +00:00
cgd
ceb9be409e figure out which space we're using in i386_memio_{map,alloc,unmap} by
doing 'if (tag == ...) else if (tag == ...) else panic' rather than
by doing a switch.  This makes life easier for people who need
the i386 bus_space_* functions to access spaces other than the normal
memory and I/O spaces, because it allows them to define an i386
bus_space_tag_t as a pointer to a function table, rather than just
an int.  (They could define it as an int and cast it to a funtion
table pointer, but I think that's bad karma, and this change doesn't
hurt.)
1997-07-10 04:07:00 +00:00
cgd
d2e314622d undo the change done (at my suggestion) in rev 1.236. That is,
mark all of 0 -> IOM_BEGIN as used, even though there are some regions
which are left for use by the BIOS (namely, the first 4k page and the
area after biosbasemem*1024 but before IOM_BEGIN).  Drivers wishing to
manipulate these areas should map them specially, with _i386_memio_map()
rather than bus_space_map() or i386_memio_map().
1997-07-10 03:10:58 +00:00
cgd
cba7918db6 (1) add a flag to the softc to indicate that the APM device may be
disabled even if it's attached.  If disabled, ENXIO on open.
(2) in the case where the code32 segment len overflows the I/O hole,
    instead of giving up truncate it.  (In other words, revert
    change (2) in rev 1.21 which i suggested mistakenly.)
(3) map bios data space in the 0->640k range with _i386_memio_map()
    rather than with bus_space_map(), so that no accounting checks
    are done.  The checks which are done to make sure that allocation
    in this range is safe are sufficient.
(4) check the return value from _i386_memio_map(), and if it indicates
    an error disconnect from the APM BIOS, print an error message,
    and return without having marked the device 'enabled'.
1997-07-10 03:07:29 +00:00
cgd
9989c90b52 rename i386 bus_space_{map,unmap,subregion,alloc,free} implementation
functions (which only work on memory and i/o space) to i386_memio_*,
and make bus_space_* in bus.h be #defines which invoke them.  This makes
life easier for people who need to define the all of the bus_space functions
so that they work on spaces other than memory and I/O space.  Also, add
an _i386_memio_map function which is like i386_memio_map but doesn't do
the extent map checking or allocation.  _i386_memio_map and i386_memio_*
are for use only by machine-dependent code.
1997-07-10 02:36:44 +00:00
christos
487628a792 Fix memory corruption that was caused by debugging code leftovers. 1997-07-10 00:54:44 +00:00
is
e76096387d Make multichannel output work. The cc parameter to hw_start_output is
a byte counter, it seems. Somebody should really write man 9 audio_if.
While here, make debug output invisible #ifndef AUCCDEBUG.
1997-07-09 22:37:08 +00:00
pk
f3dc7ce0f4 Use setpgt4m(), not bzero(), to initialize a pmap's first-level page table.
Fix a slightly misleading comment.
1997-07-09 21:51:26 +00:00
matthias
df05f3a8b1 * Flush the icache from user mode. The original code and the idea came from
Ian Dall. I just did some slight optimizations.
1997-07-09 19:32:51 +00:00
matthias
bb66aaeadc * Make it possible to disable disconnect/reconnect on a per target base.
* Eliminate disable interrupts in ncr_pdma_in. No more fifo overflows at
  high baud rates :-) (Thank's to Ian Dall for this).
1997-07-09 19:28:25 +00:00
matthias
c5e3d310a6 When booting from a md device set RB_DFLTROOT in boothowto. 1997-07-09 19:28:20 +00:00
matthias
1c1450c97a Remove __VM_PMAP_HACK. 1997-07-09 19:27:54 +00:00
matthias
ed60e6a598 This wasn't in use for several years now. 1997-07-09 19:27:33 +00:00
matthias
147aa6816f Remove __VM_PMAP_HACK. 1997-07-09 19:26:34 +00:00
leo
1c21c4994d Make sure the card is probed once. 1997-07-09 14:38:02 +00:00
leo
89325630dd Introduce 'bootversion' in locore.s. Check this to decide if installing
a bootstrap with the running installboot makes sense.
1997-07-09 14:31:12 +00:00
thorpej
b4ab2c89f5 Oops, fix a slight oversight, and remove T_MACHCHECK handling (some
code for this was in my private tree at one time, and I must have
forgotten to g/c the constant from trap.h).  Reported by
enami tsugutomo <enami@but-b.or.jp>, PR #3845.
1997-07-09 07:01:29 +00:00
phil
edce639300 Clean up play, let player see play more often, improve display timing.
Preliminary work from PR 2055 (as reverse patches).
1997-07-09 06:25:45 +00:00
mikel
b81225118c fix typos and other nits 1997-07-09 05:54:15 +00:00
scottr
348e1c023c Add a header file I missed some time back. 1997-07-09 05:52:22 +00:00
mikel
bcb582e71c eliminate dangling FFS references 1997-07-09 05:48:34 +00:00