Commit Graph

88305 Commits

Author SHA1 Message Date
augustss 6d8419a6cc Handle Zip quirks differently.
Ugh!  This driver need major overhaul.
2001-11-23 01:15:28 +00:00
augustss 6f95b070ca Update mass storage protocol numbers. 2001-11-23 01:14:45 +00:00
simonb 1b1e4bd3d1 Remove hardcoded values for HZ (under different names!) from mcclock.c
and clock_machdep.h, so that now HZ can be any supported frequency of
the mc146818a/ds1287a RTCs.
Tested at 256Hz and 2048Hz.
2001-11-23 01:04:11 +00:00
dillo d1be3cca41 Make metadata logging of set-id bits work for unprived installs.
These bits were cleared from mode before a call to fchmod and later
that changed value was logged.
2001-11-22 23:27:38 +00:00
simonb bd2791dcde Wrap a long line, some other minor KNF. 2001-11-22 23:24:44 +00:00
augustss 37c8189778 Correct a comment. 2001-11-22 21:59:33 +00:00
jdolecek d5c1ba9ed2 add a comment clarifying the DMA support, g/c the commented
out isa_dmacascade() call
some minor intendation changes, while here
2001-11-22 20:25:58 +00:00
thorpej 5278f1771c Remove kerndebug.h from non-Shark code (it's a Shark-specific header
file, and probably should be done away with anyway).
2001-11-22 19:19:48 +00:00
jmc 5a0f427e5a Oops. typo which can break things for non-new toolchain builds if MKTOOLS isn't
set
2001-11-22 19:09:42 +00:00
thorpej b9d3276c2e No need for <machine/rtc.h> here. 2001-11-22 18:40:12 +00:00
thorpej b393d0d3f7 Kill <machine/katelib.h>. Any place that still uses it should just
reference <arm/arm32/katelib.h> until such time as all use of this
file has been purged from the face of the earth.
2001-11-22 18:34:30 +00:00
thorpej 88bba2e5a4 Add cpu_cpwait() calls after TLB updates that are not expected to
be followed up by a pmap_update().
2001-11-22 18:24:43 +00:00
thorpej 67fd41ddbf Add 26-bit and 32-bit types.h files, which indicate the programming
model in use for a given platform (__PROG26 vs __PROG32), then pulls
in <arm/types.h>.  Change each ARM port to pull in <arm/arm26/types.h>
or <arm/arm32/types.h> as appropriate.  Change all references to PROG26
and PROG32 to __PROG26 and __PROG32.  Eliminate the opt_progmode.h
header file.
2001-11-22 17:59:57 +00:00
takemura 5815e5f567 Fixed bus stuff to compile vrpciu.c (VR4131 CPU). 2001-11-22 14:22:30 +00:00
tron 59d12b63b8 Add a handler for SIGCHLD which collects dead childs via wait3(2) so that
"rpc.statd" won't leave zombies arround.
2001-11-22 12:23:15 +00:00
tsutsui e7fb452657 Fix some debug code in bios_configure_memory(). 2001-11-22 12:17:00 +00:00
tron 3428499c33 Use ANSI signature for signal handler function. 2001-11-22 12:04:41 +00:00
jmc 9a35e17e68 Make the null rule execute something so make is appeased if the .y file is
newer than the checked in .c file. Otherwise make errors out.
2001-11-22 08:20:07 +00:00
simonb 944346b889 KNF, ANSIfy.
Change print_addr() to take an db_addr_t argument instead of a long.
2001-11-22 06:58:03 +00:00
simonb 973ad566f7 Update the CP0 register names.
Make some tables line up nicely.
Make print_addr() static.
2001-11-22 06:00:31 +00:00
yamt 5bf4d5554b use little-endian crc on multicast hash for admtek chips. 2001-11-22 05:03:04 +00:00
soren 7e84b9e1db Add wscons devices. 2001-11-22 04:50:04 +00:00
augustss 7467533f5a Improve dump routine slightly. 2001-11-22 04:31:01 +00:00
augustss 6e3a855c27 Fix a bug in qTD chain allocation.
Fix a qTD leak.
Handle out of memory conditions better.

My USB 2.0 CD-RW now mounts nicely and I can access files.
Performance is still lacking (it's at about 2Mbyte/s).
2001-11-22 04:20:49 +00:00
uwe 1eebb3fde3 Add patches for Mr.Coffee with OBP2.
Miscellaneous cosmetic changes.
2001-11-22 04:18:28 +00:00
gmcgarry 8c620e9ea0 Refer to ``moused'' consistently. 2001-11-22 04:10:07 +00:00
rafal 85cae1f6d1 If we already have a boot device set, don't reset the slot/unit/partition.
Now my Challenge S boots multiuser with the new bootloader without stopping
to ask for boot/root devices.
2001-11-22 03:15:35 +00:00
simonb b9f67baecf <sys/sysctl.h> doesn't need to be after <uvm/uvm_extern.h> anymore, put
it with the other <sys/_foo_.h> include files.
2001-11-22 03:08:01 +00:00
lukem b7eb0e9a18 reference the ufs/[uf]fs headers in ../../sys rather than using those
in /usr/include. this should make it easier to make this a host tool
2001-11-22 02:47:25 +00:00
chs 3f9a8628df we need to hold the pageq lock while calling uvm_page_unbusy() on
pages that uvm_page_unbusy() will free.
2001-11-22 02:42:37 +00:00
soren 6c3e025b46 Nuke cleandir target override. 2001-11-22 02:18:24 +00:00
soren 6e9ab4848f Respect OSLoadPartition even if it doesn't come before SystemPartition in argv.
Add a few comments about the above.
2001-11-22 02:06:32 +00:00
soren b63ced481c Note kernel load adress change. 2001-11-22 01:30:03 +00:00
soren 60ae71115a Change the kernel load address offset from 512K to 420K, the Irix
convention for debugging kernels.
2001-11-22 01:11:51 +00:00
thorpej b2fe046c8c Move the kernel forward in memory, starting it 512K in from the
bottom of RAM.  The bootloader is now loaded 2K in from the bottom
of RAM, so we need to make space for it.
2001-11-22 00:59:23 +00:00
thorpej aabfa72384 - Clean up the bootloader Makefiles somewhat.
- Build an ECOFF version of the bootloader as "boot".  As a temporary
  measure (due to a bug in libbfd which has not yet been fixed, but
  for which a work-around exists as a patch), install and ELF version
  of the bootload as well as "boot.elf".  "boot.elf" will go away once
  the toolchain issue is resolved.
2001-11-22 00:58:07 +00:00
augustss b5e0d97bf7 Add some DIAGNOSTIC tests. 2001-11-22 00:57:14 +00:00
augustss 37f2beed3e Close multiplxees BEFORE removing the event variable they are
using (an interrupt at the wrong point caused disaster).
2001-11-22 00:54:23 +00:00
jmc 440e119ba5 Patch from mycroft to fix case of rm -rf nonexistant on a r/o fs would still
report errors. Checking the fts_errno for ENOENT before attempting removal
fixes this.
2001-11-22 00:16:07 +00:00
jmc 5ac54229c9 Don't make the symlinks on clean rules as well as obj rules. Breaks r/o source
trees that haven't gotten to the make obj recursion part of make build
otherwise.
2001-11-22 00:14:20 +00:00
jmc 0d11dd0127 Check for USETOOLS!=yes in addition to MKTOOLS==no to generate the empty rule
sets. Otherwise platforms not running the new toolchain will end up with
lossage as tools attempt to get built and installed into /bin (due to
bsd.own.mk properly checking USETOOLS before setting up a default TOOLDIR).
Don't print the warning unless MKTOOLS=no
2001-11-22 00:13:10 +00:00
dillo 3bad9b1f33 Repeat James Chacon's fix from sys/lib/lib{kern,sa,z}:
Don't make clean and cleandir depend on the lib subdir.
	Just check for it's existance before running the submake.
	This makes it possible to run a make build (which runs
	cleandir before make obj) in a r/o source tree.
2001-11-22 00:04:55 +00:00
thorpej 3975cecee7 - Adjust bootinfo to work sanely in an ARCS world, and pass some
info along to the kernel (currently just the symbol table info).
- Don't bother with the startprog dance; we don't need to do anything
  special, here, so just call the entry point directly.
- A bunch of random cleanup.
2001-11-21 23:33:17 +00:00
thorpej 38afb59582 - Check for provided bootinfo from the bootloader. If we find it,
save off DDB symbol table information.
- Make loading of memory work reliably with the bootloader; for each
  candidate memory type from ARCS (which now includes LoadedProgram),
  check to see if the kernel is within that chunk, and load the pages
  around it if it is.
2001-11-21 23:27:20 +00:00
thorpej 741c7a2997 sbic -> wd33c93, in preparation for the core driver going into
sys/dev/ic.
2001-11-21 23:22:25 +00:00
soren 24cd3174c5 prep/pccons.h is gone. 2001-11-21 22:40:59 +00:00
soren 07c4b937eb prep has no special dependencies on pccons; remove. 2001-11-21 22:40:45 +00:00
enami bbd072ffbb s/^\.Are/.Ar/ 2001-11-21 22:29:20 +00:00
soren 482d429ddc Install loader in /usr/mdec. 2001-11-21 22:14:51 +00:00
soren 57bd30a92c s/pmax/sgimips/ in comments. 2001-11-21 22:13:55 +00:00