Commit Graph

183 Commits

Author SHA1 Message Date
dfr
d2bedeabab 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
dfr
90402a6db5 Support header for sysbeep() implementation. 1998-07-22 08:21:36 +00:00
dfr
db52332709 Make ptrace single steps over branches work as intended. 1998-07-22 08:20:57 +00:00
dfr
6651610ba2 Add support for sio's soft interrupts. 1998-07-22 08:20:15 +00:00
dfr
9249ba813d 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
dfr
028c8a1c5b 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
dfr
385f0cb1c1 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
dfr
dd7b21d1e7 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
dfr
024928fa98 Simplify access to PCI config registers. 1998-07-16 13:38:35 +00:00
dfr
43439d1572 Make ptrace work. 1998-07-15 20:16:28 +00:00
dfr
988e0b33fd Tweaks for cross-building from NetBSD/alpha.
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
1998-07-15 20:12:54 +00:00
dfr
583ae31e95 Add some debug code. 1998-07-15 20:07:33 +00:00
dfr
f14b57be26 An mc146818a clock attached to an isa bus. 1998-07-15 19:21:31 +00:00
dfr
0b4d04df93 Linker script for alpha kernel. 1998-07-15 19:19:24 +00:00
bde
55ddae5a80 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
dfr
f32529a069 Overhaul the spl system so that it actually works properly. 1998-07-12 16:32:10 +00:00
dfr
f2d6c22423 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
dfr
662a5e4c85 Define option DEC_EB164 1998-07-12 16:28:09 +00:00
dfr
bd279b3d39 Add entry for prom console. 1998-07-12 16:27:34 +00:00
dfr
dafe07ff6c Add some bits and pieces for my test box. 1998-07-12 16:26:52 +00:00
dfr
a9e2f7158b Update to new interrupt api. 1998-07-12 16:23:19 +00:00
dfr
f664913b02 Implement CIA interrupts.
Obtained from: SRM console magic from NetBSD
1998-07-12 16:17:54 +00:00
dfr
e377de494c Implement intr_create/intr_connect. 1998-07-12 16:16:22 +00:00
dfr
c53bd8654e Implement promcncheckc. 1998-07-12 16:15:06 +00:00
dfr
483a019b6e Add some debug code.
Always clear TLB in pmap_activate, even if activating curproc's pmap.
1998-07-12 16:13:54 +00:00
dfr
6d945ddc47 Add a couple of sysctls and implement sendsig/sigreturn.
Obtained from: signal code from NetBSD
1998-07-12 16:10:52 +00:00
dfr
f41e40cbe8 Add some generic interrupt dispatch code. 1998-07-12 16:09:30 +00:00
dfr
3bd2433fe9 Add definition of p_switchtime. 1998-07-12 16:08:15 +00:00
dfr
084dad2dd6 Include opt_ddb.h. 1998-07-12 16:07:43 +00:00
dfr
3c4bcba4ef Hardwire the root disk of my test box for now. 1998-07-12 16:07:05 +00:00
jkh
e75406ce05 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
bde
4c73b80db0 Oops, forgot to modify the pointer-int typedefs from the i386 version. 1998-07-10 02:34:50 +00:00
bde
63dd5b520f 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
imp
d1c7cd559f 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
dfr
78bd2b1675 Add support for kernel gdb. 1998-07-05 12:24:18 +00:00
dfr
49590d8c5a Use byte/word access in badaddr if relevant. 1998-07-05 12:22:56 +00:00
dfr
bfd0739c1c Support channel B as well as channel A. 1998-07-05 12:16:55 +00:00
dfr
e9ee4c7825 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
dfr
6c3ebd4526 Add macros for byte/word sized load and store instructions. 1998-07-05 12:14:15 +00:00
dfr
771d8cc0ed Add declaration of the NetBSD/alpha bootinfo. 1998-07-05 12:13:18 +00:00
dfr
fe6b4cc2d3 First steps at supporting EB164 (AlphaPC 164, 164LX, 164SX). 1998-07-05 12:10:10 +00:00
dfr
4853eea201 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
dfr
b16d4fb555 Make the prom console work as a real device as well as a console. 1998-07-05 11:59:44 +00:00
dfr
63e9a0f3ba 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
dfr
40ca608c7a Make breakpoints and single-step work. 1998-06-28 01:00:27 +00:00
dfr
a20fbca38d Add a macro for testing the e_machine field of Elf64_Ehdr. 1998-06-28 00:50:35 +00:00
dfr
17a5ee3c73 Use elf symbols in DDB. 1998-06-28 00:48:48 +00:00
dfr
88bc68bf95 Allow gentrap. 1998-06-28 00:47:50 +00:00
dfr
d5688c26bd Call ddb_trap() for gentrap on SimOS since I am using gentrap for DDB
breakpoints (SimOS uses bpt itself for external debuggers).
1998-06-28 00:47:20 +00:00
dfr
55a2793d50 Add a hack to get the ELF symbols from where SIMOS leaves them. 1998-06-28 00:45:50 +00:00