dfr
e6912eb9df
Update to use elf_generic.h.
1998-08-17 08:05:55 +00:00
dfr
c6e0f3c5a9
Disable some unnecessary debugging code.
1998-08-17 08:04:42 +00:00
bde
9e27b29fba
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
80d9c672e1
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
fd999b742a
Add code from NetBSD to print CIA capabilities and try to detect Pyxis bugs.
1998-08-11 08:51:09 +00:00
dfr
3454605751
Sync with i386/isa/diskslice_machdep.c 1.31.
1998-08-11 07:17:36 +00:00
dfr
adbadeedc1
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
2882dcd255
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
f43a7c1a9c
Add some more useful macros.
...
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
1998-08-07 08:17:39 +00:00
dfr
3f4718364a
Update so that it should build a working kernel for the platforms supported
...
so far.
1998-08-07 08:16:31 +00:00
dfr
f0dc47baed
Tweaks to console support.
...
Fixes for AS 600.
1998-08-07 08:15:16 +00:00
dfr
a90f51195a
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
506dee0328
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
ca7833d043
Cosmetic change to driver registration.
1998-07-31 09:20:35 +00:00
dfr
501e6a31b5
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
2446fc2943
Add definitions of EV56 INT1/INT2/INT4/INT8 memory spaces.
1998-07-31 09:14:49 +00:00
dfr
8a797b3a00
Merge with i386/isa/diskslice_machdep.c 1.30
1998-07-31 09:13:25 +00:00
dfr
b99598d6ac
Change load address to 0xfffffc0000300000 to help support AS200.
1998-07-30 08:12:14 +00:00
dfr
62e36a420d
Remove spurious printf.
1998-07-30 08:10:26 +00:00
dfr
7ccaec5082
Fix msgbuf so that it actually works properly.
1998-07-29 18:36:29 +00:00
bde
690e655ec2
Fixed print format errors.
1998-07-29 16:43:00 +00:00
bde
8498bf4764
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
ebdd0888b1
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
93ab89b30e
Macros for accessing alpha sparse device ports and memory.
1998-07-27 09:40:35 +00:00
dfr
bd66cc2399
Support the disabled keyword for isa devices.
1998-07-27 09:38:26 +00:00
dfr
0668f6953d
Fix a stupid bug preventing gdb from seeing the right value of 'v0'.
1998-07-26 18:47:47 +00:00
dfr
03ddb15c2b
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
f424d5f084
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
953622fb2a
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
15d5de14dc
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
cc3eb8a152
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
f103a50fde
Move the mcclock from root to isa.
1998-07-22 08:30:25 +00:00
dfr
eb3dbdd0de
Add a simple ISA bus. No support for memory mapped devices or DMA as yet.
1998-07-22 08:29:26 +00:00
dfr
9cb558a8da
Add sio support.
1998-07-22 08:28:24 +00:00
dfr
8964f60d8e
Add platform functions for manipulating PCI irqs.
...
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
1998-07-22 08:27:56 +00:00
dfr
9bc86e47bd
Add declaration of {aquire,release}_timer2().
1998-07-22 08:26:23 +00:00
dfr
b5978db404
Add macros and chipset support for accessing device i/o memory on the alpha.
1998-07-22 08:25:39 +00:00
dfr
5dfe812895
Add KN20AA support.
...
Add entries for syscons.
1998-07-22 08:24:39 +00:00
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