Commit Graph

27 Commits

Author SHA1 Message Date
provos
0f09ed48a5 remove trailing \n in panic(). approved perry. 2002-09-27 15:35:29 +00:00
thorpej
0fb6b9a8f8 Rework the interrupt code, shaving some cycles off in the process.
Rather than an "iointr" routine that decomposes a vector into an
IRQ, we maintain a vector table directly, hooking up each "iointr"
routine at the correct vector.  This also allows us to hook device
interrupts up to specific vectors (c.f. Jensen).

We can shave even more cycles off, here, and I will, but it requires
some changes to the alpha_shared_intr stuff.
2001-07-27 00:25:18 +00:00
thorpej
b0ce38fd8a Switch to the new `evcnt' mechanism for counting interrupts. Maintain
a per-CPU interrupt counter for clock, device, and interprocessor
interrupts.
2000-06-05 21:47:26 +00:00
cgd
cffb580806 Implement the more flexiable `evcnt' interface as discussed (briefly) on
tech-kern and now documented in evcnt(9).
2000-06-04 19:14:14 +00:00
nisimura
ae55376f19 - Remove unused bt459reg.h.
- sfbvar.h has gone, placing patch on holes for now.  Every TC framebuffer
  has a single explosure of xxfb_cnattach() which could be bridged by MI
  land.
2000-03-26 10:32:51 +00:00
nisimura
8bf44847a8 Fix DEC3000/300 TC slot numbering. There is an address space hole
between two TC option cards and 3 builtin TC devices.  Was uncovered by
mrg's change made at Nov 1999 and pointed by tsutsui.
2000-03-14 05:53:33 +00:00
nisimura
c6641d91a8 Merge IOASIC register definitions. 2000-02-03 08:13:44 +00:00
drochner
f6f48ed7e7 clean up error handling in TC graphics console attachment: all functions
return 0 on success and an errno on failure
1999-08-07 12:58:27 +00:00
drochner
31a77e61b3 Leave out display console related bits if wscons is not compiled in.
Should fix link error reported by Kevin <kev@drule.org>.
1999-03-28 13:48:40 +00:00
thorpej
5194c207d0 Fix printf format problems on Alpha. (IRONIC?!) 1999-02-12 01:45:42 +00:00
briggs
67be755f17 DTRT if sfb is not configured in the kernel. 1998-10-23 23:49:31 +00:00
briggs
ab9470909c Preliminary support for both serial consoles and kbd/display wscons
consoles for TC alphas.  Based on code from Takuya Koumoto
<takuya-k@is.aist-nara.ac.jp> as well as some parts of Toru Nishimura's
and Matthias Drochner's work on pmax wscons.  This relies on the
NEW_SCC_DRIVER.
1998-10-22 01:03:07 +00:00
thorpej
693b3e7262 Nuke the idea of <machine/options.h>. It completely defeats the purpose
of fine-grain option dependencies.
1997-09-02 13:17:47 +00:00
cgd
90789b53dd by default, provide RCS IDs for NetBSD/alpha kernel files in kernel binaries.
This can be disabled (to save a bit of space) with the NO_KERNEL_RCSIDS
options, which is present but commented out in the ALPHA config file.
In ELF-format kernels, these strings are present in the kernel binary but
are not loaded into memory.  (In ECOFF-format kernels, there's no easy way
to keep them from being loaded, so they _are_ loaded into memory.)
1997-04-07 23:39:37 +00:00
cgd
059aaedd65 clean up NetBSD RCS ID strings, include machine/options.h 1997-04-06 22:31:45 +00:00
christos
8d9699acda backout previous kprintf change 1996-10-13 02:59:55 +00:00
christos
946833855f printf -> kprintf, sprintf -> ksprintf 1996-10-10 23:51:21 +00:00
cgd
9905bce8a5 (1) Clean up interrupt handling slightly. 1996-07-14 04:06:27 +00:00
cgd
0cefc7ef74 clean and update for new defintions, prototypes, etc. 1996-07-09 00:53:48 +00:00
cgd
666c7f6fd4 interrupt counters for TurboChannel systems. 1996-06-05 00:30:48 +00:00
cgd
cb0eb158e7 fix the test for option slot interrupts. If a given interrupt is
disabled (and therefore can't have caused the actual I/O interrupt),
don't try to call its handler even if its bit is set in the interrupt
register.
1996-05-01 23:19:50 +00:00
cgd
576c769331 clean up copyrights and RCS IDs 1996-04-12 06:07:05 +00:00
cgd
ba87ccc479 update for latest MI TC and SCSI code, and clean up in the face of
config changes.
1996-04-12 01:31:43 +00:00
cgd
a5c7435308 update for new turbochannel configuration code. 1995-12-20 00:43:20 +00:00
cgd
207c4ddca2 MB -> wbflush 1995-08-03 00:52:29 +00:00
cgd
93d789f4a5 cleanup, add some comments, and (oh yeah!) look at interrupt bits 1995-03-24 14:59:37 +00:00
cgd
dd5a5290f2 update from my local tree; better CPU configuration, support for 3000/300. 1995-03-08 00:38:44 +00:00