isaki
74b7155205
Ignore incompatible part between GNU tar and pax.
...
idea from Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
2002-05-19 08:14:13 +00:00
augustss
aaf6178285
Handle the "aligment" fault generated by DCBZ when the cache is off.
...
That way you can run the processor with caches off.
2002-05-19 06:35:45 +00:00
nathanw
6b65b300bf
Add missing common or OSF/1 PALcode instructions from the AARM: wtint,
...
clrfen, urti.
2002-05-19 00:23:50 +00:00
jmcneill
f70f5218cf
Add a 'tlp at pci' attachment to the laptop installation kernel. GENERIC_LAPTOP
...
already has this, and some machines (notably, mine :) ) have onboard tlp and
won't boot with INSTALL or GENERIC.
2002-05-18 23:49:40 +00:00
jklos
7cb0b700f0
Updated NKMEMPAGES_MAX_DEFAULT so that large memory systems won't crash
...
when allocating/deallocating lots of memory at once.
2002-05-18 23:00:32 +00:00
tsutsui
e8b1f54f84
Use ${.TARGET} where appropriate.
2002-05-18 19:03:10 +00:00
jdolecek
e8895ed0a1
Various whitespace fixes, and turn 'No packet to start' message to DPRINTF().
...
Mostly inspired by Christian Limpach's patch in port-next68k/16978.
2002-05-18 14:33:35 +00:00
jdolecek
88203d9c69
whitespace & formatting fixes, from Christian Limpach in port-next68/16798
2002-05-18 14:09:44 +00:00
isaki
1dc0c84b6b
Make ELF kernel loadable, by itohy-san.
2002-05-18 13:54:38 +00:00
lukem
572fd50bc0
enable scsi_find (et al) only if NSCSIBUS > 0
2002-05-18 07:32:11 +00:00
uch
272ed861db
BSD raw partition is obsolete. raw partition is changed to C.
2002-05-18 07:13:01 +00:00
lukem
491a00e92d
add missing union sun3sir sun3sir; (hi gimpy!)
2002-05-18 06:59:12 +00:00
lukem
633e8d9515
minor cosmetic tweaks:
...
- put \r\n before OF_open message
- use '0' + i % 10 instead of 'A' + i to print the read block number
2002-05-18 04:24:22 +00:00
lukem
4fa13b2be7
nuke MD installboot, now that it doesn't understand the macppc
...
bootblocks anymore and /usr/sbin/installboot does
2002-05-18 04:06:12 +00:00
eeh
4678e53555
Fix inverted comparison. We only wan to flush the I$ on *userland* executable
...
mappings.
2002-05-18 00:51:15 +00:00
lukem
7f3c3f9b76
Fixes from Bill Studenmund and Allen Briggs:
...
- setup a 32KB (+32byte) stack, instead of 4KB stack
- cache flush: use _start instead of 0x4000, and flush 2k instead of 1k
Features (by me):
- implement:
OF_write() (and grab "stdout" from "/chosen")
putstrn(s,n) using OF_write(); write string s of n bytes long
putstr(s); write fixed-sized string s
putc(c); write char c
- add some useful messages which output the status of loading the
stage 2 bootstrap (which is usually ofwboot)
This code now works on Bill's Beige G3!
2002-05-17 18:45:55 +00:00
jdolecek
46a7bc7d62
Force absolute jumps where necessary, newer gas generates pc-relative
...
jumps, which we don't want here.
Reported, suggested fix, and testing by Christian Limpach in port-next68k/16793.
2002-05-17 18:03:50 +00:00
jdolecek
8d0d2a392c
make kgdb buildable again, g/c next68k/stub.c
...
Changes by Christian Limpach in kern/16794, with some minor adjustment
by me.
2002-05-17 06:44:03 +00:00
eeh
5f3262977c
Don't use smaller trapframes. Causes more problems that it's worth right now. CVS: ----------------------------------------------------------------------
2002-05-16 23:29:42 +00:00
eeh
d3aa1ab1c4
Add a missing carriage return.
2002-05-16 23:21:55 +00:00
eeh
a48bd3e3b4
Make the PCI code actually work.
2002-05-16 20:28:33 +00:00
eeh
ac0772ab66
Correctly print out all out regs in the trapframe.
2002-05-16 20:27:09 +00:00
wiz
0ed95fb29e
#ifdef 1 -> #if 1
2002-05-16 20:05:39 +00:00
wiz
86afeb9db4
Remove bogus stuff after #endif.
2002-05-16 19:56:13 +00:00
wiz
f2fda839cd
Comment out token after #endif.
...
XXX: Weird token here -- please double check.
2002-05-16 19:51:40 +00:00
wiz
79deb5d12d
Comment out token after #endif.
2002-05-16 19:40:53 +00:00
wrstuden
1ada35e0f6
Adjust how we set up our stack. According to the ABI, we store the
...
return pc address at (r1). So don't initialize r1 to be outside our
stack area. Scooted it in 16 bytes to help alignment.
2002-05-16 18:02:47 +00:00
kleink
4647b339e3
Fix typo in attribute name.
2002-05-16 12:12:30 +00:00
briggs
62ee522426
Put options after include to please config(8).
2002-05-16 03:35:20 +00:00
thorpej
4daab7072a
Don't access a scsipi channel's periph table directly; use
...
scsipi_lookup_periph().
2002-05-16 02:50:53 +00:00
uwe
1d33ded1ea
Fix stupid typo in pci_decompose_tag().
2002-05-16 01:33:53 +00:00
thorpej
204183c0fa
* Add "pcitag_t *pba_bridgetag" to pci_attach_args. This is set to
...
NULL for root PCI busses. For busses behind a bridge, it points to
a persistent copy of the bridge's pcitag_t. This can be very useful
for machine-dependent PCI bus enumeration code.
* Implement a machine-dependent pci_enumerate_bus() for sparc64 which
uses OFW device nodes to enumerate the bus. When a PCI bus that is
behind a bridge is attached, pci_attach_hook() allocates a new PCI
chipset tag for the new bus and sets it's "curnode" to the OFW node
of the bridge. This is used as a starting point when enumerating
that bus. Root busses get the OFW node of the host bridge (psycho).
* Garbage-collect "ofpci" and "ofppb" from the sparc64 port.
2002-05-16 01:01:28 +00:00
briggs
5921f0ce6c
Split GENERIC into GENERIC (for the X3 revision of the board in native
...
interrupt mode) and GENERIC.X2 (for the X2 revision of the board or an
X3 in legacy interrupt mode).
2002-05-16 00:20:00 +00:00
briggs
a7656b0fb6
Comment out pciide stuff since it's not working yet.
2002-05-16 00:09:47 +00:00
kleink
87e54a98ec
Presently lacking a better place (or actually use) for this, record
...
the MTX's board ID here, too.
2002-05-15 21:06:11 +00:00
thorpej
dada8613e1
Let machine-dependent code specify how to enumerate the bus.
...
Currently, everyone uses pci_enumerate_bus_generic().
2002-05-15 19:23:51 +00:00
thorpej
11fa11094e
Garbage-collect __PCI_DEV_FUNCORDER.
2002-05-15 18:37:54 +00:00
jdolecek
d50107af75
Comment out QUOTA as well. Suggested by Christian Limpach
...
in port-next68k/16792.
Applied even tho not strictly necessary, kernel nowadays actually
links with this option too.
2002-05-15 18:23:06 +00:00
mrg
32c1ebcb8b
complain if we can't get the recording drq at attach time.
2002-05-15 18:14:41 +00:00
thorpej
a91677eb7b
Implement pci_decompose_tag().
2002-05-15 17:40:11 +00:00
thorpej
4fba408409
Implement pci_decompose_tag().
2002-05-15 17:30:04 +00:00
thorpej
b5e364e5a5
Implement pci_decompose_tag().
2002-05-15 17:15:17 +00:00
thorpej
487d8b5135
(*pc_decompose_tag)() is no longer alpha specific. Move it as appropriate.
2002-05-15 17:09:58 +00:00
thorpej
e19aab3751
Implement pci_decompose_tag().
2002-05-15 17:09:04 +00:00
thorpej
90e921d836
Rename alpha_pci_decompose_tag() to pci_decompose_tag(). There *is*
...
some MI PCI code that uses it, and soon there will be more. (The rationale
for not making it available previously was that it could be mis-used, but
that's true of a lot of things.)
2002-05-15 16:57:41 +00:00
uch
ba21cf86c0
obsolete intrcnt[].
2002-05-15 15:19:54 +00:00
lukem
ee3c8d5e85
convert to using shared_bbinfo from <sys/bootblock.h>, and install as an
...
"${OBJCOPY} -O binary ..." program (rather than as ELF)
2002-05-15 13:55:38 +00:00
lukem
966b42a3e6
bootblock.h:
...
- unify sparc_bbinfo (1064 bytes, with 256 block entries)
and sun68k_bbinfo (296 byte, with 64 block entries)
into shared_bbinfo (512 bytes, with 118 block entries),
which will be also shared by future bbinfo-using platforms
(including macppc)
- add datestamp to *_BBINFO_MAGIC strings, to prevent installboot vs
bootxx version skew.
- add macppc support
*/bootxx.c:
- migrate to new shared_bbinfo structure
installboot:
- add macppc support (still needs applepartmap support and testing)
- improve and add some more warnings & errors to installboot
- implement shared_bbinfo_clearboot() and shared_bbinfo_setboot(), which
perform the majority of the work for bbinfo-using back-ends
(rather than replicating that across multiple back-ends).
2002-05-15 09:44:54 +00:00
lukem
86671d3350
- implement putstr(), and use in various places instead of printf()
...
- wrap more debug stuff in #ifdef DEBUG
- for bootxx, provide minimal panic() which uses putstr() instead of printf()
bootxx is now < 7.5KB
2002-05-15 04:07:41 +00:00
eeh
d295742774
Have CLKF_BASEPRI() always return false for now to prevent hardclock
...
from being blocked by softclock.
2002-05-14 21:21:45 +00:00