Commit Graph

105291 Commits

Author SHA1 Message Date
scw 0f91ed3dfa Quell uninitialised variable warnings. 2002-11-24 11:37:54 +00:00
scw 7009056578 Quell an uninitialised variable warning. 2002-11-24 11:09:13 +00:00
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 84677ad64e fix calculation bugs that prevents coalescing from working properly.
PR 19133.
2002-11-24 08:47:28 +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 304258c96f Compile mbr and mbr_bootsel on x86_64 2002-11-23 23:45:51 +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
jschauma d571e4f803 Do not abort incomplete deletion if the cwd was removed. Instead, warn,
stay in no-longer existing dir and continue with removal of db-files;
otherwise, the packages contents would be removed, but the package not
uninstalled.  Pointed out by Grant in PR pkg/18384.  OK'd by hubertf.
2002-11-23 22:31:18 +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
fvdl 370e22c9fd Enable ELF32 nlist (as well as ELF64) for x86-64. 2002-11-23 19:28:45 +00:00
provos 048da773ed error messages need to go to stderr 2002-11-23 17:42:45 +00:00
thorpej 2e0f3f1f87 Mention xor5, xor6, xor7, and xor8. 2002-11-23 17:36:28 +00:00
wiz ad774d9d77 Fix stack alignment; uses same alignment as COMPAT_LINUX.
Found by manu.
2002-11-23 17:35:06 +00:00
thorpej df201a40b9 Correct a comment. 2002-11-23 17:23:51 +00:00
thorpej 5df3ea5331 Oops, the _init() and _fini() entry points need to be in the .init
and .fini sections, respectively (same as the {init,fini}_fallthru
stubs).

This is needed on PowerPC, where otherwise the linker would be unhappy
with the relocation records for the fallthru stubs when building a
shared library.
2002-11-23 17:21:22 +00:00
fvdl 589e13bd6f Define both BOOT_ELF32 and BOOT_ELF64 2002-11-23 16:05:40 +00:00
thorpej bf3979a00a Use objcopy to a.out'ify the install kernel image. 2002-11-23 16:02:55 +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
chris 0caaced5a9 Add arm asm version of memcmp, basically it's strncmp.S without the
check for *src != 0
2002-11-23 14:26:04 +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
blymn c26f63141b Renamed verified exec fingerprint loader 2002-11-23 11:24:03 +00:00
blymn 01ab9ad2be Change name of verified exec fingerprint loader. 2002-11-23 11:11:15 +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
blymn 9d90ef846f Renamed the verified exec fingerprint loader. 2002-11-23 10:53:55 +00:00
blymn 5447f70f9c Renamed verified exec fingerprint loader. 2002-11-23 10:52:49 +00:00
blymn e58c186212 Removed poorly named fingerprint loader utility for verified exec. 2002-11-23 10:51:03 +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
blymn 6ad0917189 Added veriexecctl to examples tree. 2002-11-23 10:30:04 +00:00
blymn e644ca2e85 Added verified exec directory. 2002-11-23 10:25:56 +00:00