gwr
aa67eda78f
Correct zs_unit in zs_kgdb_init().
...
Similar problem as zs.c:consinit().
1997-10-22 17:03:35 +00:00
gwr
9053a6f401
Correct the values of zs_unit in consinit(),
...
so ddb will work on the keyboard/display.
1997-10-22 14:39:38 +00:00
thorpej
665f7d1a6e
Implement __RENAME() in <machine/cdefs.h>
1997-10-22 05:20:32 +00:00
pk
332129fdf1
Enable reselect' and
synch negotiation' by default.
1997-10-20 18:05:21 +00:00
pk
004f196dcf
Nuke 5.25 inch formats.
1997-10-19 23:29:47 +00:00
pk
a0d6bae726
Add an odd-ball japanese floppy format (PR#2903).
...
A good time to get rid of the hard-coded floppy sector size.
1997-10-19 22:29:21 +00:00
christos
7507e6a5e9
Make this compile again.
1997-10-19 20:34:54 +00:00
augustss
e7029fc0da
Make the audio API (almost) SunOS compatible.
...
The changes is to allow some limited mixer manipulation through
the audio device (instead of the mixer device).
This rendered 4 methods in audio_hw_if unused so garbage collect these.
1997-10-19 07:41:33 +00:00
gwr
c5b23be7bf
Make sure vunmapbuf will kmem_free_wakeup() the same VA range
...
that came from kmem_alloc_wait(). (Same problem as PR#4120).
1997-10-18 00:17:21 +00:00
gwr
0308bf1ac6
Use common zs code.
1997-10-17 23:59:44 +00:00
christos
801520ffac
fix chrtoblk declaration
1997-10-16 23:43:16 +00:00
mycroft
b328298e4c
Fix up includes.
1997-10-16 10:49:00 +00:00
mycroft
482e74d998
Fix up includes.
1997-10-16 10:35:49 +00:00
explorer
80513cb5ae
o Make usage of /dev/random dependant on
...
pseudo-device rnd # /dev/random and in-kernel generator
in config files.
o Add declaration to all architectures.
o Clean up copyright message in rnd.c, rnd.h, and rndpool.c to include
that this code is derived in part from Ted Tyso's linux code.
1997-10-13 00:46:08 +00:00
mycroft
3081c6f8cf
AudioC[A-Z] -> AudioC[a-z]
...
AudioElinear -> AudioEslinear
1997-10-11 12:43:51 +00:00
mycroft
20b05a6bc4
Make these closer to working.
1997-10-11 09:10:25 +00:00
mrg
74f573d85d
remove advertising clause from all my licenses.
1997-10-10 05:39:47 +00:00
bouyer
6ab3092b11
Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern.
...
Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses
bswap32). Contribution of assembly versions of these are welcome.
Add byte-swapping of ext2fs metadata for big-endian systems.
Tested on i386 and sparc.
1997-10-09 15:42:19 +00:00
jtc
4229acf79d
Fix tipo inherited from old version of TNF copyright template.
1997-10-09 08:37:20 +00:00
jtc
da7890c526
Fix tipo inherited from old version of TNF copyright template.
1997-10-09 08:31:58 +00:00
thorpej
3b4ad2b60e
Copyright assigned to The NetBSD Foundation.
1997-10-05 18:15:51 +00:00
lukem
7d508b124f
define SIZE?=size, and use ${SIZE} instead of size. makes cross
...
compilation easier
1997-10-03 07:17:00 +00:00
christos
0c2a9deb8f
Oops, missed a space in previous formatting change.
1997-10-02 04:23:09 +00:00
pk
feaaceb801
Missing `#ifdef SUN4M' in pmap_release(); rearrange slightly to look
...
more natural.
1997-10-01 19:21:17 +00:00
christos
7f41ec0345
PR/4162: Chris Jones: make cleandir does not work properly; it does not
...
remove the object files and the .depend file in the kernel build directory.
1997-09-30 22:50:53 +00:00
pk
da4ac7ec5a
GC setpte*() declarations.
1997-09-27 18:04:47 +00:00
pk
450cdbdaab
Move the "unimplemented software trap" message within `#ifdef DIAGNOSTIC'
...
and use uprintf() for the notification.
1997-09-27 18:03:39 +00:00
pk
70ca0fdc80
Move the per-processor counter register into cpuinfo.
1997-09-27 18:01:30 +00:00
pk
d0b1ee0833
* Optimize pmap_{zero,copy}_page4m() a bit by pre-computing the PTE addresses
...
of the reserved KVAs (vpage[]) used by these routines. This avoids the
context switching in there.
* In pmap_redzone(), remove the first kernel address (at KERNBASE) from
the kernel maps instead of just turning off the PTE `valid' bits.
The latter doesn't create a "red zone" at all, but causes the VM to
allocate a new page if the red zone is touched.
1997-09-27 17:58:03 +00:00
pk
7482ebb584
Insert a hack to allocate IOMMU addresses congruent to the kernel virtual
...
address that being DVMAed to.
1997-09-27 17:49:33 +00:00
mrg
fa6b4a3a7b
add (commented) options BLINK, per PR#4075.
1997-09-27 09:56:25 +00:00
pk
f338821834
Do not set CPUFLG_CACHEPAGETABLES inappropriately on microsparcs
1997-09-26 22:17:23 +00:00
pk
665c7aa080
* Implement a private page table storage allocator for SRMMUs. It provides
...
uncached (if needed) chunks of memory of the two sizes (256 and 1024
bytes) that the SRMMU ever needs.
* Change pmap_changeprot4m() so that is does not rely setpte4m() because
setpte4m() cannot be used for anything other than VAs that are in the
pmap associated with the current context.
In the same vain, make sure that kvm_uncache() switches to context 0.
1997-09-26 22:15:37 +00:00
fair
40f6f7e831
Make the #ifdef expression prior to the declaration and use of
...
"nptesg" match each other, per PR#4024.
1997-09-25 07:31:28 +00:00
pk
40c87730b3
Move KERNBASE to 0xf0000000.
1997-09-23 19:59:27 +00:00
pk
f5bb941f5b
MSGBUFSIZE needs no obscure adjustment; initmsgbuf() takes care of that.
1997-09-23 08:23:29 +00:00
pk
c209086562
The symbol `_msgbufaddr' is no longer exported.
1997-09-23 08:19:56 +00:00
pk
9632cb41c6
Fix some lossage resulting from changed message buffer initialization:
...
don't buck the trend and move the call to initmsgbuf() to cpu_startup()
in machdep.c (like most other ports do) where we can setup things right
in one go. (This means that the CSRG copyright will no longer be in
the kernel logs).
1997-09-23 08:16:26 +00:00
christos
b562e93fc1
Remove duplicate declaration
1997-09-22 20:35:51 +00:00
christos
676d60fa45
Fix printf formatting; remove extra spaces, add : at the end.
1997-09-22 20:34:45 +00:00
leo
fb0bc9eeae
Fix (hopefully) the compile errors introduced by the msgbuf changes.
1997-09-22 15:03:58 +00:00
pk
fca3465b96
Do not skip over a break trap instruction, now that the DDB code can
...
do it properly.
1997-09-20 19:00:40 +00:00
pk
9b3d64edb9
Remove the `segmap' array from the header. Insert an offset and count
...
field to get to it instead.
Add field `kernbase' so libkvm can be independent of the kernel's link address.
1997-09-20 18:23:51 +00:00
pk
59ed02a11b
pmap_dumpsize() returns a number of disk blocks.
1997-09-20 18:18:33 +00:00
pk
1cd19dc013
Change crash dump layout a bit so the size of the `cpu_kcore' structure
...
does not depend on the value of KERNBASE.
Change pmap_dumpsize() to return disk block units, in stead of pages.
1997-09-20 18:14:01 +00:00
leo
2b138578d7
Correct for the extra member in 'struct kern_msgbuf' when calculating
...
the number of bytes we want to allocate.
1997-09-20 12:10:09 +00:00
leo
d4713d24c2
Implement the kernel part of pr-1891. This allows for a more flexible sized
...
msgbuf. Note that old 'dmesg' and 'syslogd' binaries will continue running,
though old 'dmesg' binaries will output a few bytes of junk at the start of
the buffer, and will miss a few bytes at the end of the buffer.
1997-09-19 13:52:37 +00:00
pk
bb3e7cdb98
Fix viking/MXCC botch similar to pmap.c.
1997-09-18 20:44:43 +00:00
pk
ef73834bdc
Check for the `VIKING_PCR_TC' being set, just in case. If it isn't set,
...
delay the use of the `CPUFLG_CACHEPAGETABLES' flag.
1997-09-18 20:29:15 +00:00
pk
eac8e745a7
Add a function to stop sun4m counters and call it early during
...
auto-configuration.
1997-09-18 20:25:34 +00:00