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
dfr
d79ddbc196
Simplify access to PCI config registers.
1998-07-16 13:38:35 +00:00
dfr
f4eefbb7e5
Make ptrace work.
1998-07-15 20:16:28 +00:00
dfr
cbd425f6e8
Tweaks for cross-building from NetBSD/alpha.
...
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
1998-07-15 20:12:54 +00:00
dfr
4dfca5a54e
Add some debug code.
1998-07-15 20:07:33 +00:00
dfr
e0269fa6c5
An mc146818a clock attached to an isa bus.
1998-07-15 19:21:31 +00:00
dfr
b809321421
Linker script for alpha kernel.
1998-07-15 19:19:24 +00:00
bde
2859579bb3
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
e0df23826a
Overhaul the spl system so that it actually works properly.
1998-07-12 16:32:10 +00:00
dfr
7192e8a507
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
81ebcbfeae
Define option DEC_EB164
1998-07-12 16:28:09 +00:00
dfr
e218271aed
Add entry for prom console.
1998-07-12 16:27:34 +00:00
dfr
6c307ac694
Add some bits and pieces for my test box.
1998-07-12 16:26:52 +00:00
dfr
3422925a11
Update to new interrupt api.
1998-07-12 16:23:19 +00:00
dfr
cd96e0d3b2
Implement CIA interrupts.
...
Obtained from: SRM console magic from NetBSD
1998-07-12 16:17:54 +00:00
dfr
a9fe2ae9f5
Implement intr_create/intr_connect.
1998-07-12 16:16:22 +00:00
dfr
ece5b8151e
Implement promcncheckc.
1998-07-12 16:15:06 +00:00
dfr
66c8e2ce2f
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
72e016ccc7
Add a couple of sysctls and implement sendsig/sigreturn.
...
Obtained from: signal code from NetBSD
1998-07-12 16:10:52 +00:00
dfr
0dd29639cc
Add some generic interrupt dispatch code.
1998-07-12 16:09:30 +00:00
dfr
11ea53f077
Add definition of p_switchtime.
1998-07-12 16:08:15 +00:00
dfr
d5adff507b
Include opt_ddb.h.
1998-07-12 16:07:43 +00:00
dfr
27739ed2f0
Hardwire the root disk of my test box for now.
1998-07-12 16:07:05 +00:00
jkh
32f3637395
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
383b3e7ca9
Oops, forgot to modify the pointer-int typedefs from the i386 version.
1998-07-10 02:34:50 +00:00