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
scw
e52022da42
Mark a couple of items as done.
2002-10-14 09:48:20 +00:00
scw
278e4d7886
Quell an uninitialised variable warning.
2002-10-14 09:46:31 +00:00
chs
cb76676a56
merge pte.h for m68k w/ motorola or compatible MMU
...
(only 4k-page platforms so far).
2002-10-14 05:18:45 +00:00
chs
b79663cf62
eliminate PT_ENTRY_NULL in favor of plain old NULL.
2002-10-14 05:11:21 +00:00
takemura
bd737ed276
Added APM device entry.
2002-10-14 04:43:54 +00:00
isaki
516c2ef781
Sort.
2002-10-14 03:40:57 +00:00
takemura
900b200c92
Moved MI APM definitions into dev/apm.
2002-10-14 02:08:37 +00:00
chris
a28f4c93a2
Fix arm kernel build breaks for non multiprocessor systems.
2002-10-13 21:14:28 +00:00
petrov
86b5bbfddd
rearrange streming cache flushes in iommu_dvmamap_sync
2002-10-13 20:17:55 +00:00
bjh21
3d91ec9fdd
Instead of "add rd, pc, #foo - . - 8", use either "adr rd, foo" or (where
...
appropriate) "mov lr, pc". This makes things slightly less confusing and
ugly.
2002-10-13 14:54:47 +00:00
wiz
65cd27e43e
Support 48kHz by using aurateconv.
...
Based on a patch by TAMURA Kent -- thanks!
2002-10-13 14:43:19 +00:00
bjh21
85386dce51
Use cpu_number() to find curpcb rather than assuming we're on CPU 0.
2002-10-13 14:24:09 +00:00
bjh21
75248cc7a1
It appears that MI code requires ci_cpuid to be the CPU number of the CPU
...
in question, whereas the ARM code was using it to hold the model
identification. To fix this, rename:
ci_cpuid -> ci_arm_cpuid
ci_cputype -> ci_arm_cputype (for consistency)
ci_cpurev -> ci_arm_cpurev (ditto)
ci_cpunum -> ci_cpuid
This makes top(1) give correct CPU numbers in its "STATE" column (all 0 for
now).
2002-10-13 12:24:57 +00:00
bjh21
bd4a91a822
Rework (#ifdef'ed out) code to print I/O timings so as to give more
...
information (I was curious).
2002-10-13 12:20:44 +00:00
isaki
61c1cd36f7
Break a long line.
2002-10-13 12:11:36 +00:00
isaki
626365359b
- Delete simple_devprint(), which is meaningless.
...
- "adpcm" device is gone.
2002-10-13 12:09:43 +00:00
bjh21
ce543b334c
Use cpu_number() to find curpcb, rather than assuming CPU 0.
2002-10-13 11:20:37 +00:00
isaki
6a7d5fa9f0
Style fixes.
2002-10-13 10:11:31 +00:00
isaki
0e0b401448
Clean up debug code.
2002-10-13 10:00:47 +00:00
isaki
ed23ae11f5
Style fixes.
2002-10-13 10:00:08 +00:00
bjh21
d8fd346734
Remember the location of each CPU's idle PCB in struct cpu_info.
...
Move allocation of the idle PCB from hydra.c to cpu.c and add some
extra initialisation from cpu_fork().
2002-10-12 21:06:46 +00:00
provos
9f18d528d5
add SYSTRACE
2002-10-12 19:57:44 +00:00
tshiozak
cb23a3a13b
fix wrong uses of ACPI CA API in the last commit, and a bit cosmetic change.
2002-10-12 15:43:00 +00:00