scw
ba1d389688
Fix an uninitialised variable warning.
2002-11-24 11:02:57 +00:00
scw
5521093d4b
Quell an uninitialised variable warning.
2002-11-24 10:52:47 +00:00
scw
5b169b8d2e
Fix a genuine uninitialised variable warning.
2002-11-24 10:51:56 +00:00
scw
009e79b59b
Remove some accidentally committed debug code.
2002-11-24 10:43:15 +00:00
jmc
33169df7d2
Provide a cast when setting up the interrupt handler (npxintr has a different
...
signature than the prototype expects)
2002-11-24 10:19:37 +00:00
yamt
eca07565c3
make sure i_lfs_fragsize is initialized.
...
fix panic "lfs_writefile: more than one fragment!"
PR 18974.
2002-11-24 08:43:26 +00:00
yamt
16a26d41e8
lfs_sync should wait at lfs_writer, not lfs_dirops.
...
PR 18973.
2002-11-24 08:37:43 +00:00
yamt
feacf34c09
lfs_reserve shouldn't block for lfs_unlockvp.
...
otherwise cleaner deadlocks.
PR 19134.
2002-11-24 08:32:22 +00:00
yamt
37b4f42285
blksize() macro shouldn't used for indirect blocks.
...
this fixes "getblk: block size invariant failed" panic.
PR 18977.
2002-11-24 08:27:00 +00:00
yamt
7d0ba73802
correct locking for lfs_rmdir. PR 18976.
2002-11-24 08:23:41 +00:00
simonb
12c35ee2d2
New generic way-aware MIPS32/64 range-index cache functions with proper
...
handling for phyiscally-indexed caches where the way size is greater than
the page size.
These work fine with pass 1 SB1 cores, so g/c those workarounds.
Much thanks to Chris Demetriou for many suggestions and helping me get
my head around all this.
2002-11-24 07:41:29 +00:00
simonb
3a72aadc2b
Add the VI bit in config 0.
2002-11-24 07:28:42 +00:00
simonb
3682edd3d4
Move the curpcb and segbase extern decls to cpu.h to better group together
...
what will need to change for SMP.
Hide 'struct cpu_info' and some macros in #ifdef _KERNEL/#endif.
2002-11-24 07:26:04 +00:00
shin
79606e014b
wipe out all physical memory before hibernate/reset.
...
otherwise, WinCE will not boot on some machine (ex. IBM z50).
2002-11-24 06:02:23 +00:00
takemura
fe56c2b22a
3.3V support for Ricoh 5C[23]96 parts from ngc@ff.iij4u.or.jp.
...
Preliminary bridge identification code from imp@village.org .
2002-11-24 02:46:55 +00:00
chris
01bbc5d994
Add a debug assert that wired pages provide protection flags in the flags
...
argument as well.
Also update a couple of debug messages to NPDEBUG.
2002-11-24 01:09:09 +00:00
chris
3dd552c1b2
Fix's DEBUG kernel's not making it into multiuser on cats. (as spotted by
...
nick)
When wiring a page with pmap_enter you must supply the protection in the
flags as well as in the prot.
2002-11-24 01:07:47 +00:00
fvdl
1e5d37bcda
Recurse into ../i386/stand
2002-11-23 23:53:32 +00:00
fvdl
a186add0a8
If LIBKERN_ARCH is defined, use that as the architecture-specific
...
subdirectory. Needed for the x86_64 32bit compile case.
2002-11-23 23:35:50 +00:00
fvdl
79f52ea3a8
Some hacks to make this compile on x86_64.
2002-11-23 23:34:39 +00:00
thorpej
02c69e5261
Put interface attributes on the device, not another attribute with
...
the same name as the device.
2002-11-23 19:42:41 +00:00
wiz
ad774d9d77
Fix stack alignment; uses same alignment as COMPAT_LINUX.
...
Found by manu.
2002-11-23 17:35:06 +00:00
fvdl
589e13bd6f
Define both BOOT_ELF32 and BOOT_ELF64
2002-11-23 16:05:40 +00:00
fvdl
2861429a88
Correct lowered SPL test.
2002-11-23 15:18:12 +00:00
chris
f86ab1a63e
Sync arm asm libkern files with libc's asm files.
2002-11-23 14:29:29 +00:00
fvdl
9d672e72f5
Use a barrier in spl/splx.
2002-11-23 13:44:41 +00:00
fvdl
c903de3a0a
Fix bogon introduced in devsw switch that made findroot() not find
...
a match for the root disk.
2002-11-23 13:23:41 +00:00
fvdl
4c357c783c
Adapt to i386 intr changes.
2002-11-23 12:53:51 +00:00
kristerw
0e18bd2ffa
Make this identical to the other m68k machine/bswap.h by including
...
m68k/bswap.h instead of sys/bswap.h.
Solves part of PR toolchain/18314.
2002-11-23 11:04:33 +00:00
fvdl
b31699f426
Remove duplicate definitions, include <machine/frameasm.h> instead.
2002-11-23 10:50:09 +00:00
fvdl
e5a9ffde7a
Remove "ioapic.h" include, and always include the intr_find_mpmapping
...
prototype; it's not worth the extra bytes to avoid including this.
2002-11-23 10:37:09 +00:00
scw
2fcea657de
Implemented #2 : Improved TLB management
2002-11-23 09:27:03 +00:00
scw
a3885e9bdd
- Change VM_MIN_KERNEL_ADDRESS to start at KSEG1 instead of KSEG0.
...
- Overhaul the TLB management code such that we now keep track of
the exact TLB slot at which a mapping was inserted, both for user-
space and kernel mappings. This addresses #2 on the TODO list.
2002-11-23 09:25:54 +00:00
scw
dbaff62d21
Make this compile again.
2002-11-23 09:14:14 +00:00
scw
7e40fdd6f9
Keep evbsh5-specific major device declarations separate from the shared
...
sh5 devices.
2002-11-23 09:13:18 +00:00
scw
5f18a49912
Add alphaledio.h
2002-11-23 09:05:27 +00:00
scw
a354470bbf
Support for the alphanumeric LED display on the SuperH Cayman board.
2002-11-23 09:05:03 +00:00
lha
2943f5e96b
install intrdefs.h so it can be used by intr.h (and libkvm)
2002-11-23 05:33:11 +00:00
oster
93e77ce121
Nuke all (but one) of the remaining RF_UTILITY's.
2002-11-23 02:44:14 +00:00
oster
ceb8b43d54
Nuke some #if 0'ed code.
2002-11-23 02:38:59 +00:00
cgd
afa17e6b22
go back to being big-endian by default; was clobbered in last commit
2002-11-23 02:35:39 +00:00
manu
1ee1245718
Add support for two Darwin sysctl
2002-11-23 02:18:53 +00:00
lha
f882e535ec
deal with the .s -> .S change for i386
2002-11-23 02:15:45 +00:00
lha
e5a0293cb5
Add fix a missing CPUVAR define (copied from mach_sigcode.S). Frank
...
promised to a better fix when he wakes up, this just to make it
compile again.
2002-11-23 02:05:51 +00:00
oster
d8bae03774
One less goto.
2002-11-23 01:59:59 +00:00
oster
a14698a359
Bye-bye to the completely unused reconCtrlPtr->priorityList.
2002-11-23 01:58:18 +00:00
manu
0e734a6755
Libraries do not use relative addresses, they are absolute and should be
...
treated as such if we want the same mapping as in Darwin.
While we are there KNFify function names
2002-11-22 23:09:46 +00:00
fvdl
23fb62d8f1
Removed unused function. From kristerw.
2002-11-22 21:21:13 +00:00
oster
540f566858
rf_SelectMirrorDiskPartition() is only needed in a few cases. #if it
...
out in the rest. Thanks to Krister!
2002-11-22 20:56:10 +00:00
tsutsui
f64c3cad31
- Add -msoft-float and -ffreestanding to CFLAGS.
...
- Add -mno-abicalls to AFLAGS.
- Set WARNS?=1
2002-11-22 16:38:22 +00:00