thorpej
dd588c0660
Add a macro to create a media word from type, subtype, options, and instance.
1998-08-06 02:38:19 +00:00
thorpej
b04ded7264
Completely rewrite the way media descriptions are represented. The same
...
data structure is used, but a much saner matching mechanism is used, one
which allows greater ease in adding new types.
1998-08-06 02:19:34 +00:00
kleink
e2a897639d
KNF (only include one of <sys/{param,types}.h>).
1998-08-05 16:50:39 +00:00
augustss
0c6791d804
Add macro to test iobase validity.
1998-08-05 16:40:22 +00:00
augustss
28e2d6024a
Clarify a comment.
1998-08-05 16:38:09 +00:00
augustss
d8582601c5
Make panic message a little more explicit.
1998-08-05 16:34:36 +00:00
drochner
32fce55082
Improve generation of default disklabels:
...
-store printable product ID in cd's and sd's softc, use it as "typename"
-for this, add a "destination buffer length" argument to scsipi_strvis()
-return ATAPI device type for ATAPI devices
1998-08-05 16:29:04 +00:00
minoura
4df8f47ebc
Switched to MI zs driver.
1998-08-05 16:08:33 +00:00
minoura
e8551dcab3
Fixed stray pointer access reported by Yasufumi Itoh.
1998-08-05 15:57:43 +00:00
minoura
89f91f85fa
Fixed typo.
1998-08-05 14:40:20 +00:00
augustss
a0aeff98c4
Fix two pastos.
1998-08-05 10:16:25 +00:00
perry
c3579ce3f5
bzero->memset, bcopy->memcpy, bcmp->memcmp
1998-08-05 02:45:08 +00:00
perry
54f97ab9d1
bzero->memset, bcopy->memcpy
1998-08-05 02:28:26 +00:00
perry
584757c02b
bzero->memset
1998-08-05 02:11:00 +00:00
perry
bf0943278c
Fix a problem first noticed by a user with a screwed up real time
...
clock past the End of Time.
If time_t is 32 bits, then the "End of Time" is Jan 18/19 2038
(depending on time zone).
This code copes with RTC's past the end of time if time_t is an int32
or less. It just forces the time back to 2037. This will let users
with screwed up clocks to at least boot and function long enough to
set their clocks to something sane.
This kludge is conditioned on an
if (sizeof(time_t) <= sizeof(int32_t))
which will automatically optimize the code out once we switch time_t
to a 64 bit quantity, which should happen well before 2037.
Patch based on code from Michael C. Richardson, with help from
Allen Briggs who pointed out a fencepost error.
1998-08-05 01:21:54 +00:00
perry
f15ade7552
enable nanosleep in linux emul, per pr-5906 from Soren S. Jorvang
1998-08-05 00:44:32 +00:00
thorpej
9186d2da5c
Simple instrumentation of pmap_steal_memory().
1998-08-04 22:40:17 +00:00
jonathan
71c8693225
Add missing "-a" to mkdep line for pmax locore_machdep.S.
...
From Noriyuki Soda.
1998-08-04 20:17:09 +00:00
mark
25997dd19d
IPL_TTY -> IPL_SERIAL.
1998-08-04 20:09:37 +00:00
kleink
7b07ad780a
Per XNS Issue 5, calling recvmsg(2) or sendmsg(2) with an msg.msg_iovlen less
...
than or equal to 0 shall fail with EMSGSIZE; the latter condition was not being
checked for. Also, document the msg.msg_iovlen > {IOV_MAX} case.
1998-08-04 19:48:34 +00:00
mark
b6ffd3a85e
Don't call cpu_tlb_flushID() from the pmap_update macro.
1998-08-04 19:11:29 +00:00
dbj
e9545cf241
Fixed memory probe for color turbo machines.
1998-08-04 19:08:23 +00:00
mark
167a777474
Drop in the lastest round of optimisations from Neil Carson.
...
The cache cleaning code in pmap_copy_page() and pmap_zero_page()
has been rewritten and uses a new function pmap_clean_page().
pmap_remove() has been completely rewritten to make it more efficient
when there are only a few pages that actually need to be removed.
1998-08-04 19:02:19 +00:00
minoura
b72d8d17f9
__BROKEN_INDIRECT_CONFIG fixes.
1998-08-04 16:51:51 +00:00
minoura
ea7f1dbe36
Some files were not deleted with make clean.
...
Keymap files are now installed in /usr/share/keymaps/x68k.
1998-08-04 16:39:55 +00:00
mark
47ac4421e0
In setregs(), only pass the stack value in r12 if COMPAT_1[123] is defined.
1998-08-04 16:25:28 +00:00
mark
4b14908352
Fix the validation of source addresses in db_read_bytes() so that
...
memory ranges mapped with L1 section mappings do not cause aborts
due to lack of L2 page table.
1998-08-04 16:19:54 +00:00
mark
e9c872cd6b
Define a macro L1_MASK to mask out the level 1 pde type bits.
1998-08-04 16:16:22 +00:00
minoura
aced90770c
Message fixes.
1998-08-04 16:10:45 +00:00
minoura
233cd5d60b
RB_POWERDOWN is now supported.
...
Check if the power switch is open (off) in the shutdown_hook,
and try removing the power in cpu_reboot.
poffd default action is now shutdown -p.
1998-08-04 16:07:53 +00:00
augustss
f76fb48283
Use looping DMA for play channel.
...
More cleanup.
1998-08-04 13:14:42 +00:00
kleink
c6ef57702d
UIO_MAXIOV -> IOV_MAX
1998-08-04 12:19:15 +00:00
augustss
5b057ab09f
Allow option AUDIO_INTR_TIME even if the platform does not support
...
FP in the kernel.
1998-08-04 11:26:14 +00:00
kleink
3dc1e8147c
Kill "options FIFO" - they're mandatory now.
1998-08-04 11:19:02 +00:00
perry
242ff31b91
update bzero.c to stub from libc/string
1998-08-04 06:27:08 +00:00
perry
974739923b
replace several special targets with stub .c files, as in libc/string
1998-08-04 05:01:58 +00:00
perry
275d1554aa
Abolition of bcopy, ovbcopy, bcmp, and bzero, phase one.
...
bcopy(x, y, z) -> memcpy(y, x, z)
ovbcopy(x, y, z) -> memmove(y, x, z)
bcmp(x, y, z) -> memcmp(x, y, z)
bzero(x, y) -> memset(x, 0, y)
1998-08-04 04:03:10 +00:00
perry
4d4aa090e9
add memcmp.c
1998-08-04 03:40:43 +00:00
perry
16039920c8
remove memcpy.c -- I forgot this gets built anyway
1998-08-04 03:40:12 +00:00
perry
612c53d05f
add memcmp.c
1998-08-04 03:39:49 +00:00
perry
0b8f8ffda2
remove memmove.c -- I forgot this gets built anyway
1998-08-04 03:38:28 +00:00
perry
58af7a969a
add memcmp.c memcpy.c memmove.c
1998-08-04 03:37:03 +00:00
perry
a611b37e29
add memcmp.S memmove.S
1998-08-04 03:35:59 +00:00
perry
6ee9cbf929
add memcmp.S memmove.S
1998-08-04 03:30:30 +00:00
perry
5ede68eddb
add memcmp.c memmove.S
1998-08-04 03:17:39 +00:00
perry
e0f41ebe62
add memmove.S
1998-08-04 03:16:19 +00:00
mark
d91830b032
Namespace cleanup. Prefix all the JMPBUF* macros with _JB.
1998-08-04 02:01:17 +00:00
perry
542f66b672
add memmove.S
1998-08-04 01:41:26 +00:00
perry
6ea886d397
add memcmp.S
1998-08-04 01:40:57 +00:00
perry
a8627d22ba
Fix formatting, and add memmove.S
1998-08-04 01:14:36 +00:00