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
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
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
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
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
07c4b937eb
prep has no special dependencies on pccons; remove.
2001-11-21 22:40:45 +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
jmc
2229499bfb
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-21 22:10:54 +00:00
uwe
8390d1903a
Skip relocation if OpenFirmware already loaded us at the right address.
2001-11-21 21:38:00 +00:00
thorpej
e2397b7f93
Change symtab info to unsigned longs.
2001-11-21 20:31:49 +00:00
thorpej
4b1d2d4ce9
Add bootinfo stuff for NetBSD/sgimips. Changes to kernel and bootloader
...
forthcoming.
2001-11-21 20:29:31 +00:00
wiz
1fd7eeefcd
"than" instead of "then".
2001-11-21 19:14:19 +00:00
thorpej
4e63f44f6c
Initial cut at a bootloader for NetBSD/sgimips, by Michael Hitch.
2001-11-21 19:09:06 +00:00
wiz
1f1e26bd6d
Presence looks better with a 'c' instead of an 's'.
2001-11-21 19:01:31 +00:00
wiz
55e6492076
Explicitly write explicitly without a second e.
2001-11-21 17:33:26 +00:00
augustss
9c6275fe9e
Add a commented out ehci driver (for the adventurous).
2001-11-21 17:11:02 +00:00
augustss
bc136d1c2e
Make it compile without debug.
2001-11-21 16:22:58 +00:00
augustss
9dae283057
Add another "feature".
2001-11-21 16:12:56 +00:00
augustss
b2dc7b3fd3
Follow a safer protocol when updating the QH.
...
The EHCI driver isn't really working properly, but now the SCSI driver
correctly identifies my CD-RW drive! :-)
2001-11-21 16:05:13 +00:00
augustss
2c4813fa9d
Use NULL not 0.
2001-11-21 15:48:37 +00:00
augustss
df1a49923c
Fix indentation and typos.
2001-11-21 15:37:41 +00:00
augustss
5539d5afe6
Implement (incorrect?) data toggle clear method.
...
Implement allocation of qTD chains.
2001-11-21 14:00:12 +00:00
augustss
6bba920516
Wrap dump routine prototypes in #ifdef USB_DEBUG
2001-11-21 13:44:47 +00:00
augustss
ca0b46691f
Mask correct interrupt after error interrupt.
2001-11-21 13:43:38 +00:00
augustss
02f41ec3e6
Mask the correct interrupt after a door bell interrupt.
2001-11-21 13:42:19 +00:00
augustss
0adc2bbba2
Implement bulk transfers.
2001-11-21 13:04:50 +00:00
augustss
2d72c2726c
Add some interrupt processing.
2001-11-21 12:28:23 +00:00
augustss
4d4da7e06a
Fix typo in comment.
2001-11-21 12:25:55 +00:00
uch
df2b478d48
increase the value of maxusers to 16.
2001-11-21 11:28:09 +00:00
enami
eca8404326
Don't use __func__ as variable. It prevents compilation.
...
Use __FUNCTION__ instead.
2001-11-21 09:08:38 +00:00
augustss
1029005107
Pay more attention to if the HC is being unplugged.
2001-11-21 08:18:39 +00:00