Commit Graph

225 Commits

Author SHA1 Message Date
gpalmer
a1f44848b3 Add BREAK_TO_DEBUGGER so that config stops whining 1998-08-21 23:43:15 +00:00
dfr
6171fd666c Add support for TurboChannel alphas (DEC 3000/300 and 3000/500).
Obtained from: NetBSD
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
1998-08-20 08:27:11 +00:00
dfr
9c410acd54 Add Miata system type and pull in the LOCATE_PCS macro from NetBSD. 1998-08-17 08:26:12 +00:00
dfr
e468ba5e45 Add breakpoint() for BREAK_TO_DEBUGGER. 1998-08-17 08:21:31 +00:00
dfr
0b040eaa37 Update to use elf_generic.h. 1998-08-17 08:05:55 +00:00
dfr
38a4039324 Disable some unnecessary debugging code. 1998-08-17 08:04:42 +00:00
bde
9841490daf Use [u]intptr_t instead of [u_]long for casts between pointers and
integers.  Don't forget to cast to (void *) as well.
1998-08-16 01:21:52 +00:00
dfr
39f312c54c I managed to break sparse configuration accesses with my last commit.
Pointed out by: Andrew Gallatin <gallatin@cs.duke.edu>
1998-08-13 08:11:27 +00:00
dfr
1e3ae169ea Add code from NetBSD to print CIA capabilities and try to detect Pyxis bugs. 1998-08-11 08:51:09 +00:00
dfr
8ccc09809b Sync with i386/isa/diskslice_machdep.c 1.31. 1998-08-11 07:17:36 +00:00
dfr
14fa8c272d Lots of changes, including:
* Support for AlphaStation 200, 250, 255, 400
* Untested support for UDB, Multia, AXPpci33 (Noname)
* Support for Personal Workstation 433a/433au, 500a/500au, 600a/600au (Miata)
* Some minor fixes and improvements to interrupt handling.

Submitted by: Andrew Gallatin <gallatin@cs.duke.edu> (AS200, Miata)
Obtained from: NetBSD (some code for AS200, Miata, Noname)
1998-08-10 07:53:59 +00:00
dfr
761d9d54d4 Add support for type1 pci configuration cycles for cia (not pyxis yet).
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
1998-08-07 08:18:44 +00:00
dfr
e5b04e07fa Add some more useful macros.
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
1998-08-07 08:17:39 +00:00
dfr
1318aeef6d Update so that it should build a working kernel for the platforms supported
so far.
1998-08-07 08:16:31 +00:00
dfr
309c20855a Tweaks to console support.
Fixes for AS 600.
1998-08-07 08:15:16 +00:00
dfr
9917ef17e9 Port syscons to the alpha. The driver itself has moved to sys/isa as it will
hopefully become a portable driver usable by all architectures.  The api
support files have had to be copied to sys/alpha/include since userland
programs expect to find them in <machine/*.h>.

All the revision history of the i386 syscons has been retained by a
repository copy.
1998-08-06 09:15:54 +00:00
yokota
bc008436d8 1. Reorganized screen saver related code so that both the LKM screen
saver and splash screen can all work properly with syscons.  Note that
the splash screen option (SC_SPLASH_SCREEN) does not work yet, as it
requires additional code from msmith.

- Reorganized the splash screen code to match the latest development
  in this area.
- Delay screen switch in `switch_scr()' until the screen saver is
  stopped, if one is running,
- Start the screen saver immediately, if any, when the `saver' key is
  pressed. (There will be another commit for `kbdcontrol' to support
  this keyword in the keymap file.)
- Do not always stop the screen saver when mouse-related ioctls
  are called.  Stop it only if the mouse is moved or buttons are
  clicked; don't stop it if any other mouse ioctls are called.

2. Added provision to write userland screen savers.  (Contact me if you
are interested in writing one.)

- Added CONS_IDLE, CONS_SAVERMODE, and CONS_SAVERSTART ioctls to
  support userland screen savers.

3. Some code clean-ups.
1998-08-03 11:30:45 +00:00
dfr
cfd64aad1b Cosmetic change to driver registration. 1998-07-31 09:20:35 +00:00
dfr
bf09d2a530 Only perform byte/word accesses in the correct EV56 memory space.
Sparse macros have moved to <machine/swiz.h>.
Fix sparse memory access so that it actually works as intended.
Tidy up sparse configuration access slightly.
1998-07-31 09:17:51 +00:00
dfr
b625472982 Add definitions of EV56 INT1/INT2/INT4/INT8 memory spaces. 1998-07-31 09:14:49 +00:00
dfr
38242d9f9c Merge with i386/isa/diskslice_machdep.c 1.30 1998-07-31 09:13:25 +00:00
dfr
9d54ff3ae4 Change load address to 0xfffffc0000300000 to help support AS200. 1998-07-30 08:12:14 +00:00
dfr
d80c9abb4e Remove spurious printf. 1998-07-30 08:10:26 +00:00
dfr
ef16b52a63 Fix msgbuf so that it actually works properly. 1998-07-29 18:36:29 +00:00
bde
db1476d7dd Fixed print format errors. 1998-07-29 16:43:00 +00:00
bde
69a95a40eb Fixed printf format errors.
Use offsetof() instead of null pointer hacks.  Use a home made offsetof()
because including <stddef.h> is not permitted in LKMs.
1998-07-29 15:50:41 +00:00
dfr
41f3f8402f Record the new physical address of the pcb in pmap_swapin_proc.
Third attempt at pmap_remove().  This one actually works properly :-).
1998-07-28 09:34:50 +00:00
dfr
f094c57975 Macros for accessing alpha sparse device ports and memory. 1998-07-27 09:40:35 +00:00
dfr
efa6af45a0 Support the disabled keyword for isa devices. 1998-07-27 09:38:26 +00:00
dfr
06480be58e Fix a stupid bug preventing gdb from seeing the right value of 'v0'. 1998-07-26 18:47:47 +00:00
dfr
a7abab6d77 Fix a stupid bug in the new pmap_remove().
Arrange for soft modified/referenced flags to be cleared when a page is freed.
1998-07-26 18:13:28 +00:00
dfr
31a8d7d917 Fix pmap_enter_quick() to stop it hanging when the level 2 pte exists
but isn't valid.

Reimplement pmap_remove() to be much more efficient at removing large
stretches of addresses.

As part of reimplementing pmap_remove() fix pmap_protect() so that it stands
a hope of working.
1998-07-24 09:43:27 +00:00
dfr
8d88e2a74a Add ISA support.
Remove mcclock hack which was only needed because ISA wasn't done yet.
1998-07-22 08:34:19 +00:00
dfr
022134a3cd Add some convenience functions for accessing device memory.
Add a DDB command to allow access to inb/inw/inl from the debugger.
1998-07-22 08:33:30 +00:00
dfr
724ff52f73 Merge KN20AA support from Andrew Gallatin.
Add support for device memory access.
Add support for ISA irqs.
1998-07-22 08:32:17 +00:00
dfr
8085ee7c61 Move the mcclock from root to isa. 1998-07-22 08:30:25 +00:00
dfr
ef1579259b Add a simple ISA bus. No support for memory mapped devices or DMA as yet. 1998-07-22 08:29:26 +00:00
dfr
e233ac6623 Add sio support. 1998-07-22 08:28:24 +00:00
dfr
ac5e49ef34 Add platform functions for manipulating PCI irqs.
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
1998-07-22 08:27:56 +00:00
dfr
805268d158 Add declaration of {aquire,release}_timer2(). 1998-07-22 08:26:23 +00:00
dfr
edb96ea9cb Add macros and chipset support for accessing device i/o memory on the alpha. 1998-07-22 08:25:39 +00:00
dfr
c3394b3e66 Add KN20AA support.
Add entries for syscons.
1998-07-22 08:24:39 +00:00
dfr
1aaf7a4353 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
89f69e7883 Support header for sysbeep() implementation. 1998-07-22 08:21:36 +00:00
dfr
213ed986ec Make ptrace single steps over branches work as intended. 1998-07-22 08:20:57 +00:00
dfr
e8ea6e058b Add support for sio's soft interrupts. 1998-07-22 08:20:15 +00:00
dfr
d20199dc2b 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
3a477e3458 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
fcb95f73ac 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
bd037721d8 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