Commit Graph

105956 Commits

Author SHA1 Message Date
pk fe233fdc10 The `fast trap' handlers are now pssed as an optional argument to
bus_intr_establish(). Allow fall-back on a regular interrupt handler if
the interrupt level must be shared with another device.
2002-12-10 12:11:21 +00:00
pk 4f62e0f7c8 * intr_establish() now takes an optional `fast trap' routine argument.
* also remove __P().
2002-12-10 12:04:51 +00:00
pk 6f945ab887 Allow a `fast trap' handler installation to be undone if an interrupt level
must be shared. This requires drivers that request the installation of
a `fast trap' handler to supply a regular interrupt handler as well to fall
back on.

The `fast trap' routine (if present) is now passed as an additional
argument to intr_establish().
2002-12-10 12:03:08 +00:00
rafal 3171f081c8 Make this work on fast platforms by making sure signals are held for at
least 1us.  Documentation I've found for the simple (SPP) parallel port
mode says that data should be stable 500ns before STROBE, STROBE should
be pulsed for no less than 500ns, and that data should be stable another
500ns after STROBE has been de-asserted.

Makes lpt@ebus on my Sun Ultra5 work with my HP DeskJet 712C, at least in
polled mode.  Thanks to Martin for astutely noting it was probably a bug
with STROBE being pulsed too quickly.
2002-12-10 07:19:25 +00:00
hamajima 764daa3585 turn off light of LCD, when I closed cover 2002-12-10 06:18:07 +00:00
thorpej 78ea2dd367 Use __LDPGSZ (which must be == USRTEXT) as the text address for a.out
executables, and eliminate the USRTEXT constant, which was only used
by the a.out exec code.
2002-12-10 05:14:24 +00:00
thorpej f09fc7f074 Don't include <i386/isa/icu.h> 2002-12-10 05:05:11 +00:00
thorpej 9004406585 Error out if we get an unexpected buffer type. 2002-12-10 01:09:09 +00:00
simonb 5115869b27 Fix pickier constraints in gcc 3.3. Kernels compiled with gcc
"3.3 20021123" (with a small patch from Ian Dall to fix a -O2
problem) and binutils "2.13.90 20021124" now work on the pc532.
2002-12-09 23:47:47 +00:00
jmc 0215635717 Checkpoint commit:
1. Reduce debugging level to sane levels
2. Fix bugs in alloc_data_map related to allocing whole bytes of bitmap at
a time.

At this point the driver is functional. It talks to a local drive here and
can label/newfs. Performance is...lacking at the moment as its chewing cpu
heavily (probably due to the number of memcpy's) and will be the next area
attacked.
2002-12-09 23:42:53 +00:00
jmc 151668ce8d Drop default debugging level to something a bit more sane 2002-12-09 23:39:18 +00:00
simonb 6a5e492b57 Remove the explicit `makeoptions MACHINE_ARCH="mipse{b,l}"' for kernel
builds and use the endianness of the toolchain being used to determine
the endianness of the kernel.
2002-12-09 22:54:09 +00:00
jmc 33736c059a Ooops...Make sure for status to set error and resid before calling the
completion routines. Makes reads actually return data to userland now which
means I can now put a disklabel on the drive.
2002-12-09 22:28:21 +00:00
manu 1e050715ea Stupid (but harmful) copy/paste mistake. 2002-12-09 22:28:16 +00:00
manu 9e08cf7d46 Remove debug printf (now ktrace does the job) 2002-12-09 21:53:28 +00:00
manu 6492e2171f Added support for dumping mach messages in ktrace/kdump. While we are
there, KNFify a few functions.
2002-12-09 21:29:20 +00:00
wiz 84f0e13d3a Some typo and grammar fixes. Begin new sentences with upper case letters. 2002-12-09 18:59:07 +00:00
gavan ec86ec411e Default to MDF and screen mode configured in RISC OS 2002-12-09 17:28:59 +00:00
thorpej 2c75f5b061 No need to depend on userland libraries here. 2002-12-09 16:30:40 +00:00
david 213339df22 Restore the cardbus config line. Cardslot is upset with pcmcia only. 2002-12-09 16:24:39 +00:00
pk 04e582df1b setsoftint() is no longer used. 2002-12-09 16:13:58 +00:00
pk 48a30a2e35 Soft interrupts use their own set of handlers lists. 2002-12-09 16:13:23 +00:00
pk c822c6bd84 Finish the switch to the softintr(9) framework.
To make this work, we now have to use separate handler lists for hardware
and software interrupts as the soft interrupt handlers do not return
an `interrupt handled' status.

Thanks to Matt Fredette for providing an initial set of patches on port-sparc.
2002-12-09 16:11:50 +00:00
perry 21bf723223 comment out/comment/move p64h2apic line. 2002-12-09 15:50:57 +00:00
ad 318c4b22be Fix LP64 issues. 2002-12-09 15:24:28 +00:00
scw c7eafb778a The walnut port has been subsumed by the new evbppc port. 2002-12-09 14:57:47 +00:00
scw 599e82b578 The walnut port has been subsumed by the new evbppc port. 2002-12-09 14:45:59 +00:00
scw 226f0cfd96 s/walnut/evbppc/ 2002-12-09 14:31:47 +00:00
scw 16af9da786 The walnut port has been subsumed by the new evbppc port. 2002-12-09 14:20:52 +00:00
chris 5e606f5b98 Add a couple of missing THREAD_UNLOCK's, for the error exit path.
No functional change on Mainline, however SA branch probably needs this.
2002-12-09 14:14:59 +00:00
scw 1d4f4f766c The walnut port has been subsumed by the new evbppc port. 2002-12-09 14:08:02 +00:00
scw 3838a93e9d The walnut port has been subsumed by the new evbppc port.
XXX: There is some work to do here to allow for different
installation notes for different eval boards...
2002-12-09 14:03:52 +00:00
lukem 92a480785a correct description of -D 2002-12-09 13:42:08 +00:00
tsutsui 8c3c217b4d cosmetics. 2002-12-09 13:38:30 +00:00
tsutsui a92570f14c As per discussion with soda, all EISA based Jazz machines seem to require
the same method to access TOD clock, so move chipset-dependent mcclock
routines to appropriate files.

This should also fix Express RISCserver and RISCserver2200 (aka R96) support
which has been broken since "struct platform" was introduced.
2002-12-09 13:36:26 +00:00
uwe 65dd4ff755 Do a few overlooked s/shutdown/power/. 2002-12-09 13:22:48 +00:00
scw 4df9ab06e4 Add evbppc. 2002-12-09 13:00:05 +00:00
scw 95bf009dca s/walnut/evbppc/ 2002-12-09 12:56:15 +00:00
scw 0e6f5edb27 Delete walnut, add evbppc.
While I'm here, add sh5 and evbsh5.
2002-12-09 12:53:41 +00:00
scw cc0125e443 Add evbppc, delete walnut. 2002-12-09 12:51:54 +00:00
scw 84058abd72 The walnut port has been subsumed by evbppc. 2002-12-09 12:49:55 +00:00
scw 69e33812c6 Delete section 8 manpage dirs for walnut, and add evbppc. 2002-12-09 12:48:22 +00:00
scw a7ebdbe931 Delete man8.walnut, and add man8.evbppc. 2002-12-09 12:43:16 +00:00
jdolecek d9944f3152 need -mno-abicalls in AFLAGS as well, so that .S would be compiled as
non-PIC same way as .c
2002-12-09 12:42:18 +00:00
scw 0ca6c9c4d5 Move etc.walnut/* to etc.evbppc and tweak BUILD_KERNELS in Makefile.inc
to pick up the renamed install kernel.
2002-12-09 12:37:10 +00:00
scw 5b5dfad81e Add evbppc. 2002-12-09 12:29:17 +00:00
scw 67d6f49379 Changes/additions to support evbppc. 2002-12-09 12:28:12 +00:00
scw e1b9461296 Note addition of evbppc. 2002-12-09 12:22:58 +00:00
jdolecek a74b5c71e2 build with -ffreestanding 2002-12-09 12:20:56 +00:00
scw f1d6e9e873 Add pmc.h 2002-12-09 12:17:42 +00:00