mark
fd18f1a45b
Remove some redundant .req statements.
1998-04-01 22:55:45 +00:00
mark
077c15ab4d
Remove some redundant .req statements.
...
Make various entry points non-profiling.
1998-04-01 22:55:05 +00:00
mark
268d889d0d
Make the floppy_read_fiq and floppy_write_fiq entry points non-profiling.
1998-04-01 22:53:32 +00:00
mark
7f98e08105
Remove some redundant .req statements.
1998-04-01 22:52:24 +00:00
mark
f4c5b8f91a
Define profiling and non-profiling versions of the ENTRY and ASENTRY
...
macros. No extra profiling code is generated if profiling is turned
on yet, but get the structure ready. (from cgd).
1998-04-01 22:50:22 +00:00
pk
437796f42a
Move initialization of `proc0.p_addr' from cpu_startup() to bootstrap().
1998-04-01 14:03:26 +00:00
ender
84ada512a7
Add the newly created bus_space.c so it gets compiled.
1998-03-31 22:09:28 +00:00
pk
763a681898
Accommodate cgsix bus-attach split.
1998-03-31 21:12:15 +00:00
pk
e3e74bd0d5
Factor out bus code into separate files.
1998-03-31 21:05:04 +00:00
jonathan
d850158a7e
Garbage-collect pmax_boardtype. Remoe pmaxtype.h includes from TC
...
framebuffer code. Elsewhere, use systype.
1998-03-31 11:32:52 +00:00
jonathan
e485e43d44
Add writebuffer-flush for Decstation 5400, 5100 which use
...
coprocessor 3 for writebuffer control.
1998-03-31 11:04:10 +00:00
jonathan
88d943c976
Add emtpy entries for unused systypes between 5400 (0x6) and 5500 (0xb)
1998-03-31 11:00:01 +00:00
drochner
e9ca6a9081
Remove conditionals on PCVT_{NET,FREE}BSD to make the source easier to
...
read.
1998-03-31 08:22:13 +00:00
thorpej
7e74fb627d
Allow this to work w/ UVM (API issue).
1998-03-31 08:18:33 +00:00
thorpej
8c33969680
Fix PR # kern/68 by ensuring that a PC has a valid mapping before attempting
...
to disassemble it.
1998-03-31 08:16:28 +00:00
mycroft
4fe1e7a83d
Make main() return int to shut up egcs. (Yuck.)
1998-03-31 05:29:21 +00:00
matthias
28b0f7408b
Make this compile again after the changes to the tty subsystem.
1998-03-30 20:10:26 +00:00
mhitch
57f61ecbbd
Modify TK50 check to also check for a TZ30 tape, and adjust the modesense
...
data length accordingly.
1998-03-30 19:50:47 +00:00
cgd
05bb5a1d2f
revert back to 1.28
1998-03-30 17:52:03 +00:00
pk
be4108fec1
Replace direct `sparc_bus_map()' calls with bus space map method.
1998-03-30 14:21:38 +00:00
pk
c2d9565240
mainbus `pa_addr' is now a `bus_addr_t'.
1998-03-30 14:15:57 +00:00
pk
fed9d8e6d6
Make mainbus attach phys addr field a bus_addr_t.
1998-03-30 14:15:12 +00:00
jonathan
ba4e7c74a9
Remove ancient non-MI pmax/tc/tc.c code.
1998-03-30 10:41:34 +00:00
jonathan
2f23758d46
garbage-collect "extern int systype"
1998-03-30 09:52:11 +00:00
jonathan
9d3e5cca36
garbage-collect old integrated frontend from sii backend.
1998-03-30 09:47:51 +00:00
jonathan
05bfc158d1
Undo previous rev; systype is declared extern in pmaxtype.h (while it lasts).
1998-03-30 09:44:03 +00:00
jonathan
fff42c01c8
Define IPL_ constants for pmax.
1998-03-30 09:07:08 +00:00
jonathan
920f9e8dc9
Declarations for shared 3max(kn02)/3maxplus(kn03/kn05) memory
...
subsystem and NVRAM code.
1998-03-30 09:02:03 +00:00
jonathan
e7e94824b9
Move sprintf() of model string after call to model-specific *_os_init()
...
routine, so that cpu_mhz is set.
1998-03-30 06:45:37 +00:00
mycroft
1a36e9e970
Add explicit int types for egcs.
1998-03-30 06:07:40 +00:00
mycroft
1fc84bbd8d
Add explicit int types for egcs, and nuke register.
1998-03-30 06:05:39 +00:00
mycroft
450748892d
Make the previous slightly less nasty.
1998-03-30 06:04:29 +00:00
mycroft
38008a99e3
Add explicit int types for egcs, and nuke register.
1998-03-30 06:02:13 +00:00
mrg
ca86fc945e
<pmax/pmax/trap.h> has been obsoleted...
1998-03-30 04:45:50 +00:00
mycroft
d4da63c6c3
Eliminate cs_heldchar. It is not necessary in my version of the driver.
1998-03-30 02:41:21 +00:00
jonathan
b800227f95
Garbage-collect old code for direct attachment.
1998-03-30 02:34:25 +00:00
jonathan
e7312dce1d
* Mouse reset blocks waiting for response for mouse.
...
Only initialize the mouse if we are using rcons as the console device.
1998-03-30 02:15:37 +00:00
mycroft
692fe3cc96
Use a 4-bit table to speed up the CRC even further, without increasing the
...
code size too much.
1998-03-29 23:14:14 +00:00
pk
a55cefe6b4
Initialize `par_err_reg' in the mainbus attach function.
1998-03-29 22:13:30 +00:00
pk
b782c3448c
obio_bus_probe() => bus_space_probe()
1998-03-29 22:10:32 +00:00
pk
2ad26b801c
Fill in the bus tag's `bus_space_unmap' method.
1998-03-29 22:06:58 +00:00
pk
82663a0330
Implement `_obio_bus_map()' and insert it into the obio bus' bus tag.
...
Remove obio_bus_probe().
1998-03-29 22:05:05 +00:00
pk
57a8159633
Enter `obio_find_rom_map()' prototype.
...
Make `oba_paddr' field a `bus_addr_t'.
Define temporary compat `obio_bus_map()'.
1998-03-29 22:02:46 +00:00
pk
11928be0ff
`sparc_bus_mmap()' declaration moved to machdep.c
1998-03-29 22:00:33 +00:00
pk
759c8965a3
Use `obio_find_rom_map()' explicitly instead of using `obio_bus_map()'
...
without a proper bus tag.
1998-03-29 21:59:44 +00:00
pk
2f1dd95a2d
Declare `sparc_bus_unmap()' static.
1998-03-29 21:56:32 +00:00
tron
8295d8475b
writedisklabel() always used the offset of the first partition in the MBR
...
to address the disklabel even if NetBSD resides on another partition.
1998-03-29 21:30:20 +00:00
mrg
47a62a0eed
use bitmask_snprintf.
1998-03-29 05:10:45 +00:00
mrg
b61e2629f2
remove register from decl.
1998-03-29 05:08:46 +00:00
scottr
8e25cfb973
Better integration of Power Manager IC ADB driver into the direct ADB driver framework,
...
from Takashi Hamada. Also includes a handler for unsolicited ADB
packets.
1998-03-29 03:50:30 +00:00
jonathan
0e0d7a04aa
Split 3max (kn02) and 3maxplus (kn03, kn05) memory-error handling out
...
dec_3max.c into a shared file. These models have compatible memory
subsystems, the same memory slots, and (apparently) the same error reporting.
Add markers for where MNN probes for configurations with a mixture of
RAM sizes and for Prestoserve NVRAM (in normal RAM slots) should go.
1998-03-29 01:12:14 +00:00
thorpej
f1821c7811
Adjust for recent ttyopen() and dialout device changes.
1998-03-28 23:49:06 +00:00
thorpej
0ce9e8b825
We don't have software-only maps, so a NULL pmap_t will never be passed
...
to pmap functions.
1998-03-28 19:53:42 +00:00
pk
2a65520c69
bus_space_probe() prototype.
1998-03-28 19:45:29 +00:00
thorpej
cbc72091e5
Remove a comment that is not applicable in NetBSD - we don't have
...
software-only maps.
1998-03-28 19:44:49 +00:00
pk
89444e9309
Implement generic bus probe function.
1998-03-28 19:44:08 +00:00
thorpej
ce4810822b
Add autoconfiguration support for the Cypress 82C693 PCI-ISA bridge,
...
found on AlphaPC164SX boards.
Partially from Anders Magnusson <ragge@ludd.luth.se>.
1998-03-28 06:58:43 +00:00
cgd
7fa109343c
cope with name fixup in pcidevs
1998-03-28 02:12:02 +00:00
cgd
c0ac8bae67
GC alpha's ECOFF_TOOLCHAIN make variable, and related bits. Nobody
...
should be using an ECOFF toolchain on NetBSD/alpha any more.
1998-03-28 00:50:41 +00:00
thorpej
4893f22399
Much more sane boot block builds, from Chris Demetriou.
1998-03-28 00:21:35 +00:00
mark
66477b8680
Only call dosoftints() from splx if there is a soft interrupt actually
...
pending. This save us doing a function call and a bunch of instructions
for every splx() call. (Patch from cgd).
1998-03-28 00:14:51 +00:00
mark
b6fa862ee6
Remove un-necessary prototype of set_boot_devs() (from cgd).
1998-03-28 00:06:03 +00:00
mark
fcade25040
Make physlock global rather than a static local to mmrw() (from cgd).
1998-03-28 00:04:46 +00:00
cgd
56eaa22285
kill some unused variables that i missed in my last checkin
1998-03-27 23:39:57 +00:00
cgd
db74b327b9
fix a few bogus pointer checks (was checking pointers which would
...
never be against NULL, instead of checking the correct pointer against
NULL). Pointed out (with diff) to Mark Brinicombe on March 17, no reply.
1998-03-27 19:28:52 +00:00
thorpej
a95651eaea
Add a PMAP_KERNEL_PTE() macro that returns the PTE for a given KVA. If
...
DEBUG, this performs a table walk. Othwise, the Virtual Page Table is
used. Use this macro in a few places where this was done by-hand.
Make vtophys() use PMAP_KERNEL_PTE(). In non-DEBUG cases, this is
a fair bit faster.
1998-03-27 19:18:04 +00:00
scottr
e3e82a2bd2
Move bus_space implementation to bus_space.c.
1998-03-27 18:11:31 +00:00
scottr
a1c2154bd6
Add (commented out) ALTXBUTTONS option.
1998-03-27 06:12:32 +00:00
scottr
57191652f3
Don't map Opt-{1,2,3} to mouse buttons unless the ALTXBUTTONS option is
...
specified. (Doing so breaks German keyboards!) Fixes PR 4929.
1998-03-27 06:10:54 +00:00
cgd
b3d285e625
add -nostdinc to CPPFLAGS, so that /usr/include won't be used
1998-03-27 01:32:53 +00:00
ross
2ce8cda3e5
Get rid of a /* in a comment.
1998-03-27 01:17:18 +00:00
thorpej
b1e15c2005
Add some robustness to pmap_alloc_physpage(): Instead of panic'ing if
...
we can't get a page, find an inactive pmap and pmap_collect() it,
freeing up a few pages. Go ahead and die if we can't allocate a page
after 5 tries.
1998-03-27 00:52:43 +00:00
sakamoto
2467110095
Change commented out default baudrate(38400 to 9600) of serial console.
1998-03-27 00:11:07 +00:00
sakamoto
94a783a350
allow use of new wscons code.
1998-03-27 00:07:53 +00:00
sakamoto
f9133e686e
Change default console. pc -> wscons
1998-03-26 23:51:08 +00:00
sakamoto
6143f6a20e
Allow to use the new VGA and keyboard controller drivers as console
1998-03-26 23:45:59 +00:00
sakamoto
a46fb646ee
add entries for the new wscons stuff
1998-03-26 23:43:43 +00:00
sakamoto
a81efa33bc
tell drivers that this port knows about the new wscons code
...
(and generates the NWSCONS etc include files)
1998-03-26 23:42:53 +00:00
sakamoto
3334a0d040
Add bus_space_copy_region_N().
1998-03-26 23:41:51 +00:00
thorpej
b86884a71a
Give pmap_collect() some substance: when called, a process is being
...
swapped out, so remove all of the physical mappings the process has
in order to free up the page table pages.
Since the pmap module is allowed to "forget" mappings, pmap_collect()
may be called in other situations where the memory situation is desperate,
although it's more likely that the pages will simply be needed again the
next time a process runs.
1998-03-26 22:18:36 +00:00
mark
653457f11b
Remove the variable oldtm from diagnostic printf() statement as this
...
variable no longer exists.
1998-03-26 21:27:12 +00:00
mark
35dc347724
Bring this more up to date.
1998-03-26 20:43:02 +00:00
mark
8003976152
The ehbug option is dead now the etherH driver has been replaced with
...
an NE2000 attachment.
1998-03-26 20:42:34 +00:00
mark
cd0f9898b5
Fix problems with microsecond timestamping in microtime().
...
Remove some old dead code.
1998-03-26 20:07:18 +00:00
mark
26634e5f83
Cleaned up the IOMD access macros.
1998-03-26 20:05:49 +00:00
mark
6fa49296d7
Include machine/asm.h. Removed un-necessary .req directives. Use the
...
ENTRY() macro for declaring function entry points.
1998-03-26 20:05:13 +00:00
mark
c6b5400405
Add a couple of missing brackets in the arm_byte_to_page and
...
arm_page_to_byte macros.
1998-03-26 19:57:13 +00:00
mark
47ec7dab23
This file is no longer included by anything and is out of date. All
...
podule definitions can be found in the podulebus subdirectory.
1998-03-26 19:55:53 +00:00
chuck
5f8c3edfed
add pmap_dump as a DEBUG function
1998-03-26 19:49:51 +00:00
thorpej
531db9e0d3
Sanity check the virtual addresses in the kernel and non-kernel cases
...
of pmap_enter() (and pmap_kenter_*()). Remove diagnostic check for
kernel pmap in pmap_alloc_asn().
1998-03-26 19:06:28 +00:00
thorpej
040f7cbc70
Remove references to pmap.old.h - It should have just been pmap.h, but
...
that isn't necessary, either, since <vm/vm.h> is already included.
1998-03-26 18:17:13 +00:00
pk
f3d6050987
Typo in initial interrupt register mapping code.
1998-03-26 16:11:40 +00:00
tsubai
3ff4af3e9e
Add MIPS_INT_MASK_FPU definition and remove unnecessary code.
1998-03-26 13:15:01 +00:00
jonathan
6b2d0fa8a0
* Create /sys/arch/mips/include/intr.h, with extern declaration of
...
interrupt-callout vector from mips locore dispatch code to port code.
* Move branch-emulation declaration to mips/include/trap.h.
* Garbage-collect pmax/pmax/trap.h.
Not needed now pmax/pmax_trap.c is gone, and after above tidy-up.
1998-03-26 12:46:33 +00:00
jonathan
01be9f533f
Add extern declaration of old "systype" global variable holding model type,
...
until all pmax code uses platform support.
1998-03-26 11:44:28 +00:00
jonathan
4d3f17a9f7
Garbage-collect oldstyle model-select options from GENERIC.
1998-03-26 11:35:42 +00:00
jonathan
9376fa1a1b
Commit MIPS_INT_MASK_FPU change: use MD symbol to check for pending FPU
...
interrupts.
1998-03-26 09:21:05 +00:00
thorpej
dd3d062237
Delete a couple of gratuitous printfs.
1998-03-26 06:36:36 +00:00
thorpej
8a86fd47be
It's Just Wrong to configure a KN02 system slot as an IOCTL ASIC, but
...
since it's currently done that way, nuke the gratuitous printf that
reports the behavior.
1998-03-26 06:35:27 +00:00
thorpej
38d5126caf
Set cpu_model in the dec_foo_init() functions, make them consistent and
...
descriptive, and print the model before reporting physical memory size.
1998-03-26 06:32:37 +00:00