bsh
7b6639153c
make atomic_{set,clear}_bit() inline for arm32 ports, and
...
add <machine/atomic.h> for them.
2002-10-19 12:22:33 +00:00
scw
7feac76e17
Tick off a few more items, and add a new one.
2002-10-19 11:13:11 +00:00
scw
873eee59ff
Add fast assembler versions of in_cksum() and in4_cksum().
...
(Well, as fast as can be expected on a cpu with no carry flag)
2002-10-19 09:01:44 +00:00
scw
80b7fbca17
Ditch the crude and slow bytewise copyin()/copyout()/kcopy() code in favour
...
of the asm memcpy() in libkern.
2002-10-19 08:56:45 +00:00
scw
1e0542ac19
Fix a spurious looping PC/FP message when we stop due to not finding
...
the caller's stack frame.
2002-10-19 08:50:30 +00:00
scw
c01b319dcc
There seem to be some stability problems with the scif serial port driver
...
at the moment, possibly as a side-effect of some yet-to-be-committed SH5
speed-ups.
Work-around it for now by using com0 as the console.
2002-10-19 08:43:32 +00:00
scw
472a1ad6b2
When setting up to probe a com(4) port for use as the console, make sure
...
the port is powered up and configured correctly.
2002-10-19 08:39:50 +00:00
junyoung
abbf53bb9c
Add NEW_BUFQ_STRATEGY (disabled by default).
2002-10-19 05:58:25 +00:00
junyoung
7e4d58b1b8
Move NEW_BUFQ_STRATEGY to misc options section.
2002-10-19 05:55:09 +00:00
bjh21
a531a4ae8e
Undo recent cpu_switch register usage changes in order to decrease nathanw_sa
...
merge pain.
2002-10-19 00:10:53 +00:00
bjh21
7dd8880e90
The grand cpu_switch register reshuffle!
...
In particular, use r8 to hold the old process, and r7 for medium-term
scratch, saving r0-r3 for things we don't need saved over function
calls. This gets rid of five register-to-register MOVs.
2002-10-18 23:06:33 +00:00
bjh21
3d1b6867f0
In cpu_switch(), stack more registers at the start of the function,
...
and hence save fewer into the PCB. This should give me enough free
registers in cpu_switch to tidy things up and support MULTIPROCESSOR
properly. While we're here, make the stacked registers into an
APCS stack frame, so that DDB backtraces through cpu_switch() will
work.
This also affects cpu_fork(), which has to fabricate a switchframe and
PCB for the new process.
2002-10-18 21:32:57 +00:00
wrstuden
0ce4a385a5
Should have done this sooner. Bump to version 1.7 to indicate good
...
alloc.c.
2002-10-18 21:22:40 +00:00
thorpej
c96a6edaf4
Make sure the footbridge device has the interface attribute.
2002-10-18 20:03:02 +00:00
nathanw
c1cc872908
Catch up some code inside #ifdef DEBUG to recent pvo_entry changes.
2002-10-18 20:02:23 +00:00
tsutsui
88590b41ed
Add (commented out) options NEW_BUFQ_STRATEGY and pseudo-device cgd.
...
(sync with GENERIC)
2002-10-18 19:30:03 +00:00
junyoung
e4b7588c28
Add NEW_BUFQ_STRATEGY (disabled by default).
2002-10-18 15:11:08 +00:00
scw
a7be530a95
Add code to support tracing back through a stackframe which was created
...
using a "movi imm, Rn / sub R15, RN, R15" pair. This is how the compiler
creates frames which are too big to fit in the immediate field of "addi";
something which happens a lot with -O0 ...
While I'm here, add a simple heuristic to detect infinite loops caused by
tracing back through some non-leaf asm routines which don't set up frames.
2002-10-18 09:16:14 +00:00
grant
f525c02fbe
remove 'UT' from fxp and rtk, as these have been tested and known
...
to work. some whitespace cleanup.
2002-10-18 01:59:27 +00:00
grant
c571e22b48
add comment about pciide and wd flags (from i386 GENERIC).
2002-10-18 01:54:15 +00:00
yamt
dcde342d09
add an entry for 0x83 to intel_cpuid_cache_info.
2002-10-18 00:51:22 +00:00
thorpej
b000f2251b
* Add "struct device" to the softc.
...
* Add missing notice.
Problems pointed out by Jonathan Stone.
2002-10-17 22:03:40 +00:00
jdolecek
3a80cf174b
initSH3(): prefix the extern edata[], end[] with '_', so that the kernel links
...
XXX this is probably wrong, other sh3 platforms don't need/have this
2002-10-16 21:26:32 +00:00
jdolecek
e7bc7ac4bd
tsc_microtime(): use splclock() for !MULTIPROCESSOR (cosmetic, this is used
...
for MULTIPROCESSOR only currently)
2002-10-16 21:01:22 +00:00
mycroft
64f9a5eccd
Fix a sign extension bug that caused pmap_growkernel() to fail with >2GB KVA.
...
Symptom observed and verified fixed by tls.
2002-10-16 18:48:05 +00:00
petrov
d7612810f1
Add wscons devices, sync with sparc.
2002-10-16 17:52:09 +00:00
martin
f47b939a22
Since we now use pmap_kenter_pa, which ignores PMAP_LITTLE, don't bother
...
to pass that as flags. We've already changed the ASIs used to access the
mapped pages acordingly.
2002-10-16 16:11:41 +00:00
martin
9b3cdc3ab5
Make 32bit sparc64 kernels with DEBUG and DIAGNOSTIC compile.
2002-10-16 11:05:10 +00:00
lukem
2da742de79
tweak the comments describing the memory disk size
2002-10-16 02:46:03 +00:00
lukem
29ba686238
crank the memory disk from 1440k to 1600k; things have Grown a bit.
2002-10-16 02:44:27 +00:00
bsh
475d72b0be
fix a bug sneaked into cpu_reset() in "- . - 8 purge"
...
(s/mov pc,lr/mov lr,pc/)
2002-10-15 23:10:32 +00:00
jdolecek
bebf9e4b2e
remove duplicate options USERCONF - we get it from WALNUT config
2002-10-15 21:54:24 +00:00
bjh21
441e8907fe
Switch to using the MI C versions of setrunqueue() and remrunqueue().
...
GCC produces almost exactly the same instructions as the hand-assembled
versions, albeit in a different order. It even found one place where it
could shave one off. Its insistence on creating a stack frame might slow
things down marginally, but not, I think, enough to matter.
2002-10-15 20:53:38 +00:00
bjh21
a9b87645e0
ANSIfy. Un-__P().
2002-10-15 20:50:01 +00:00
bjh21
7ee3ff8794
KNF -- this file was making my eyes hurt.
...
No functional change.
2002-10-15 20:46:12 +00:00
junyoung
fb173f7efd
Add (commented out) VGA_RASTERCONSOLE.
2002-10-15 18:20:58 +00:00
thorpej
dbdee1d904
The zstty device must have an interface attribute in order for
...
children to attach; it is not sufficient to have an interface
atttribute which only happens to have the same name.
Fix the same mistake with the sabtty declaration.
2002-10-15 15:11:07 +00:00
jdc
86fda61426
Uncomment audioamd0 at obio0.
2002-10-15 13:53:01 +00:00
jdc
d1f466e658
Add audioamd at obio attachment. Now we have working audio on 4/600's :
...
audioamd0 at obio0 slot 0 offset 0x500000 level 13 softpri 4
audio0 at audioamd0: full duplex
2002-10-15 13:49:52 +00:00
bjh21
d599df9587
Continue the " - . - 8" purge. Specifically:
...
add rd, pc, #foo - . - 8 -> adr rd, foo
ldr rd, [pc, #foo - . - 8] -> ldr rd, foo
Also, when saving the return address for a function pointer call, use
"mov lr, pc" just before the call unless the return address is somewhere
other than just after the call site.
Finally, a few obvious little micro-optimisations like using LDR directly
rather than ADR followed by LDR, and loading directly into PC rather than
bouncing via R0.
2002-10-14 22:32:50 +00:00
elric
34b6e58083
Add cgd(4).
2002-10-14 19:42:34 +00:00
elric
b76bc64358
Add cgd to the ALPHA.
2002-10-14 19:40:58 +00:00
elric
5ab71e20b0
Added commented out cgd(4)s to GENERIC configs.
2002-10-14 18:39:22 +00:00
elric
a855471fb4
Added a commented out cgd(4).
2002-10-14 18:23:30 +00:00
scw
fd0556a4dc
Interrupt handles are now allocated from KSEG0.
2002-10-14 14:22:44 +00:00
scw
a92b12e63a
Enable the early bus_space_map() of the sysfpga's registers.
2002-10-14 14:21:35 +00:00
scw
89612efe30
Interrupt overhaul:
...
- Allocate interrupt handles dynamically from a pool(9) to reduce the
number of TLB misses during interrupt dispatch.
- Fully support evcnt(9) in all interrupt dispatchers.
2002-10-14 14:19:27 +00:00
scw
041aef4bee
Preparation for compat_netbsd32.
2002-10-14 14:13:27 +00:00
takemura
97bde1b442
Battery status should be represented in APM 1.0 style.
2002-10-14 13:34:09 +00:00
scw
bd8765b9da
Add a couple more items.
2002-10-14 10:52:41 +00:00