Doug Rabson
dd5f72e1fc
Add sio support.
1998-07-22 08:28:24 +00:00
Doug Rabson
68f6efc27f
Add platform functions for manipulating PCI irqs.
...
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
1998-07-22 08:27:56 +00:00
Doug Rabson
41fc8fe7b9
Add declaration of {aquire,release}_timer2().
1998-07-22 08:26:23 +00:00
Doug Rabson
bb4752537d
Add macros and chipset support for accessing device i/o memory on the alpha.
1998-07-22 08:25:39 +00:00
Doug Rabson
515cfabc48
Add KN20AA support.
...
Add entries for syscons.
1998-07-22 08:24:39 +00:00
Doug Rabson
237064085b
Tweaks to stop config(8) warnings and to avoid an unfinished experiment of
...
mine.
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
1998-07-22 08:23:26 +00:00
Doug Rabson
eb7262ea39
Support header for sysbeep() implementation.
1998-07-22 08:21:36 +00:00
Doug Rabson
e0fbfbb576
Make ptrace single steps over branches work as intended.
1998-07-22 08:20:57 +00:00
Doug Rabson
cbda18ce6e
Add support for sio's soft interrupts.
1998-07-22 08:20:15 +00:00
Doug Rabson
e17e8bbe72
Support the DEC_KN20AA platform (AlphaStation 500 or 600).
...
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
1998-07-22 08:19:39 +00:00
Doug Rabson
bba326e18d
Merge changes from Andrew Gallatin to support different CIA based platforms.
...
Add code to identify and attach either serial or VGA console as appropriate.
1998-07-22 08:18:34 +00:00
Doug Rabson
b50b3bda1d
Add code from i386 to support sysbeep(). Doesn't work quite right but it
...
makes a noise.
1998-07-22 08:16:34 +00:00
Doug Rabson
e344c90c80
Change siocn{put,get}c to siogdb{put,get}c to allow a serial console on one
...
line with serial debugging on another line.
1998-07-22 08:15:34 +00:00
Doug Rabson
3a4215418c
Simplify access to PCI config registers.
1998-07-16 13:38:35 +00:00
Doug Rabson
a22401deb1
Make ptrace work.
1998-07-15 20:16:28 +00:00
Doug Rabson
6a5694427a
Tweaks for cross-building from NetBSD/alpha.
...
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
1998-07-15 20:12:54 +00:00
Doug Rabson
718c0cbefb
Add some debug code.
1998-07-15 20:07:33 +00:00
Doug Rabson
a6481f0baf
An mc146818a clock attached to an isa bus.
1998-07-15 19:21:31 +00:00
Doug Rabson
28c3132268
Linker script for alpha kernel.
1998-07-15 19:19:24 +00:00
Bruce Evans
37889b394a
Changed to the C9x draft spelling of the (unsigned) integral type
...
suitable for holding object pointers (ptrint_t -> uintptr_t).
Added corresponding signed type (intptr_t). Changed/added
corresponding non-C9x types for function pointers to match. Don't
use nonstandard types to implement these types, and don't comment
on them in <machine/types.h>.
1998-07-14 05:09:48 +00:00
Doug Rabson
52c008e810
Overhaul the spl system so that it actually works properly.
1998-07-12 16:32:10 +00:00
Doug Rabson
8e8c234f4d
Don't bother calling pmap_emulate_reference() from cpu_fork(). It isn't
...
needed and it panics a DIAGNOSTIC kernel.
1998-07-12 16:30:58 +00:00
Doug Rabson
bb8a6f725b
Define option DEC_EB164
1998-07-12 16:28:09 +00:00
Doug Rabson
3a130d871a
Add entry for prom console.
1998-07-12 16:27:34 +00:00
Doug Rabson
8777a8098d
Add some bits and pieces for my test box.
1998-07-12 16:26:52 +00:00
Doug Rabson
d538e9fca6
Update to new interrupt api.
1998-07-12 16:23:19 +00:00
Doug Rabson
d19af714d3
Implement CIA interrupts.
...
Obtained from: SRM console magic from NetBSD
1998-07-12 16:17:54 +00:00
Doug Rabson
b46e6c4115
Implement intr_create/intr_connect.
1998-07-12 16:16:22 +00:00
Doug Rabson
2895b128c7
Implement promcncheckc.
1998-07-12 16:15:06 +00:00
Doug Rabson
a85c203100
Add some debug code.
...
Always clear TLB in pmap_activate, even if activating curproc's pmap.
1998-07-12 16:13:54 +00:00
Doug Rabson
78e3c75746
Add a couple of sysctls and implement sendsig/sigreturn.
...
Obtained from: signal code from NetBSD
1998-07-12 16:10:52 +00:00
Doug Rabson
56abfaf4eb
Add some generic interrupt dispatch code.
1998-07-12 16:09:30 +00:00
Doug Rabson
cefd88ce75
Add definition of p_switchtime.
1998-07-12 16:08:15 +00:00
Doug Rabson
3b7389bd33
Include opt_ddb.h.
1998-07-12 16:07:43 +00:00
Doug Rabson
323df54807
Hardwire the root disk of my test box for now.
1998-07-12 16:07:05 +00:00
Jordan K. Hubbard
d14897d381
Quick and dirty support for Linux's mremap. Not used by anything
...
but quake2 AFAIK.
Submitted by: Luoqi Chen <luoqi@watermarkgroup.com>
1998-07-10 22:30:08 +00:00
Bruce Evans
1009171eb2
Oops, forgot to modify the pointer-int typedefs from the i386 version.
1998-07-10 02:34:50 +00:00
Bruce Evans
2e480d34aa
Added a kernel-only typedef (ptrint_t) giving an integral type that is
...
least unsuitable for holding an object pointer. This should have been
used to fix warnings about casts between pointers and ints on alphas.
Moved corresponding existing general typedef (fptrint_t) for function
pointers from the i386 <machine/profile.h> to a kernel-only typedef
in <machine/types.h>. Kludged libc/gmon/mcount.c so that it can
still see this typedef.
1998-07-10 02:27:16 +00:00
Warner Losh
f71f5262b1
Add the ability to suspend as well as hibernate to the system. This
...
is the kernel part of my commits, the userlevel stuff will be done in
a separate commit. Add the ability to suspend as well as hibernate to
syscons. Create a new virtual key like hibernate for suspend. Update
apm_bios.h to define more apm bios goodies.
1998-07-06 06:29:07 +00:00
Doug Rabson
be90e52a12
Add support for kernel gdb.
1998-07-05 12:24:18 +00:00
Doug Rabson
638ccebd00
Use byte/word access in badaddr if relevant.
1998-07-05 12:22:56 +00:00
Doug Rabson
36ed9b0405
Support channel B as well as channel A.
1998-07-05 12:16:55 +00:00
Doug Rabson
e6d4206665
Add basic support for 2117x pci chipsets. Currently only pyxis (21174)
...
is supported. Older chipsets will be easy to support later but right now,
I just want to boot my 164LX scratch machine :-).
1998-07-05 12:16:15 +00:00
Doug Rabson
e16d98b08c
Add macros for byte/word sized load and store instructions.
1998-07-05 12:14:15 +00:00
Doug Rabson
ac49021837
Add declaration of the NetBSD/alpha bootinfo.
1998-07-05 12:13:18 +00:00
Doug Rabson
b3cfa43c24
First steps at supporting EB164 (AlphaPC 164, 164LX, 164SX).
1998-07-05 12:10:10 +00:00
Doug Rabson
5aade7d9d3
Define bio_imask to allow the ncr driver to compile. The idea of passing
...
mask address around when registering interrupts is wrong IMHO. We should
use a priority level like IPL_BIO and the lower levels can then translate
it into a mask if they want.
1998-07-05 12:08:59 +00:00
Doug Rabson
43ab2043e9
Make the prom console work as a real device as well as a console.
1998-07-05 11:59:44 +00:00
Doug Rabson
86cabe47cb
Make sure hold_count for level 2 maps is maintained properly.
...
Simplify pmap_mapdev (its still totally wrong for the alpha).
1998-07-05 11:58:35 +00:00
Doug Rabson
f4487e1157
Make breakpoints and single-step work.
1998-06-28 01:00:27 +00:00