gwr
5ea3281a61
Adapt to redesigned autoconfig scheme for obio, and
...
define a fast ETHER_CMP routine for dev/ic/am7990.c
1996-03-26 14:42:18 +00:00
gwr
8eb8bb83b4
Take advantage of the new config attach stuff by
...
splitting out the obio and vme support code.
1996-03-26 14:38:29 +00:00
jonathan
449a7f5b59
Remove files moved to mips/mips; they are included in mips/conf/files.mips.
...
Add the pmax-specific portion of trap handler, pmax/pmax_trap.c, which
was split off from pmax/trap.c.
1996-03-26 12:21:39 +00:00
jonathan
bfa1f425bc
Add mips/mips/mem.c and mips/mips/process_machdep.c
1996-03-26 11:45:59 +00:00
jonathan
467aeaf9f5
Remove src/sys/arch{pmax/pmax,pica/pica}cpu_exec.c; no significant differences,
...
or for which the Pica port is an older revision of the pmax branch.
A merged version with the NetBSD/pmax revision history is in mips/mips/.
cpu_exec.c
elf.c
mem.c
process_machdep.c
1996-03-26 11:43:41 +00:00
pk
c299fd2d61
Bitfields are unsigned.
1996-03-26 01:28:50 +00:00
pk
a8564828ee
Back to normal printf()s, now that gcc understands `%b'.
1996-03-26 00:35:25 +00:00
mrg
8d14f53bd0
install stand tools.
1996-03-25 22:48:09 +00:00
pk
3d5031d609
PROM does not like %p's..
1996-03-25 20:46:56 +00:00
perry
0e05503b1b
added to support rd (ramdisk) pseudodevice needed for new install system.
1996-03-25 18:49:18 +00:00
perry
0c01ef4333
Add changes to support rd (ramdisk) pseudodevice, needed for new
...
install system.
1996-03-25 18:47:47 +00:00
perry
4a9fd2c5f4
Added support for rd (ramdisk) pseudodevice, needed for new install system.
1996-03-25 18:44:29 +00:00
jonathan
97f32908b1
Split trap handler into mips-generic and port-specific functions:
...
* Delete pmax-specific functions and declarations from trap.c
* Delete mips-geeneric functions and declaratinos from pmax_trap.c
* Rename the function pointer used to handle hardware interrupts to
"mips_hardware_intr". Define it in trap.c. Change references elsewhere,
including machdep.c.
Verified to boot on a 5000/200.
1996-03-25 06:44:17 +00:00
jonathan
458024d39d
Random additions from the Pica r4k port:
...
* Add spl4() and spl5() functions from the Pica port.
* Add MachFPTrap() as an alternate entry point for MachFPInterrupt.
The r4k reports floating-point execptions as a trap, not an interrupt,
and the Pica port uses the name MachFPTrap().
* Add nops to the Mach_spl?() functions and MachFPInterrupt, as required
for the r4k port.
Commit "floppy" interrupt counter for vmstat -i.
1996-03-25 06:40:39 +00:00
jonathan
522f8705a1
Copy src/sys/arch/pmax/pmax/trap.c to pmax_trap.c.
...
trap.c will contain the port-independent mips trap-handling functions.
pmax_trap.h will contain the pmax-specific interrupt handlers.
1996-03-25 05:55:30 +00:00
perry
3a7ebace87
Add COMPAT_11 option.
1996-03-25 05:45:08 +00:00
briggs
b329936803
Fix for more pedantic -W options.
1996-03-25 03:27:51 +00:00
jonathan
e920e8f829
Force reporting of memory errors for the 3MAX (aka kn02 aka 5000/200) to
...
always be eight digits.
Copy the kn02 memory-interrupt reporting function to the kn03 (5k/240)
memory-error handler, since the 3MAXPLUS seems to use the same ECC hardware
as the 3MAX.
1996-03-25 03:18:15 +00:00
jonathan
36424c73cf
Rename the original pmax/include/machAsmDefs.h file, with CVS history,
...
to mips/include/asm.h.
Until all references to <machine/machAsmDefs.h> in the pmax and
pica tree are changed to use <mips/asm.h> directly, just do
#include <mips/asm.h>, for compatibility.
1996-03-25 02:55:18 +00:00
jonathan
3b5a818c4e
Rename from pmax/include/machAsmDefs.h to mips/include/asm.h.
...
Update the include-idempotency preprocessor token to match.
References to machAsmDefs in vendor (sprite, 4.4bsd) headers left unchanged,
for historical accuracy.
1996-03-25 02:50:50 +00:00
briggs
2422f1bc4e
Get rid of a compiler warning about Debugger();
1996-03-24 16:58:46 +00:00
jonathan
29aa0d22ca
Replace pica and pmax include/trap.h with versions that #include <mips/cpu.h>,
...
after merging the definition of T_USER in the pmax port, and moving
the result to mips/cpu.h.
1996-03-24 08:17:04 +00:00
jonathan
71b212b66a
Change pmax T_USER bit (software only) to be 0x20, the same as the
...
Pica port. (The r4000 CPU used in the pica has more hardware execption types.)
1996-03-24 08:12:53 +00:00
jonathan
c5f3b155a3
Replace pica and pmax include/cpu.h with versions that #include <mips/cpu.h>,
...
and add port-specific and r3k vs. r4k definitions.
1996-03-24 07:54:42 +00:00
mhitch
e1d4601b24
Fix for SCSI mode sense disk_pages structure change, and use the _lto3b()
...
conversion function.
1996-03-24 04:12:27 +00:00
pk
2dd9317452
Remove reference to sense code "internals".
1996-03-23 21:09:04 +00:00
jonathan
893a0b508b
fix case typo: CLKF_BASEPRI_R4k to _R4K
1996-03-23 20:28:19 +00:00
jonathan
cd58cb9caa
Factor out r3000 versus r4000 differences (CLKF_USERMODE() and CLKF_BASEPRI()),
...
provide r3k and r4k versions of each, and move to sys/arch/mips/include.
Note in comments where each mips-based port should provide
definitions in its own cpu.h after including this file.
1996-03-23 20:21:49 +00:00
jonathan
cc54da72aa
Just include the merged pica/pmax r2000/r4000 mips_opcode.h from
...
mips/include/mips_opcode.h.
1996-03-23 19:10:06 +00:00
jonathan
78aac1c7b9
Merge in additions of missing MIPS-I opcodes, and r4000-in-32-bit mode
...
opcodes from the Pica port. Per Fogelstrom claims the latter are all
supposedly MIPS-II (r6000) instructions, rather than MIPS-III (R4000),
but we haven't checked to be sure. Are LL/SC really in MIPS-II?
CVS:: ----------------------------------------------------------------------
1996-03-23 18:49:29 +00:00
is
a6a8779b4e
It looks like the sense_data structure lost the extended_ prefix in the
...
name of some of its members. Adapt sbic.c to this. (Fixes PR 2245)
1996-03-23 15:09:54 +00:00
scottr
ecd20bc823
Add PPP compression options
1996-03-23 06:12:11 +00:00
jonathan
bfb10e5bdf
Rename "pmax_elf_makecmds()" to "mips_elf_makecmds()".x
1996-03-23 04:59:00 +00:00
jonathan
8fb3add520
* Change setregs() to copy the initial entry point to $t9, to support PIC
...
code following the MIPS ELF abi.
* Move the kn01 interrupt handler outside of #ifdef DS5000, to support
3100-only kernels.
* Add #ifdef DS3100 around kn01_enable_intr() to allow configuring
turbochannel-only kernels.
Configuration-time support for specific models of DECstation still needs
more thought/work.
1996-03-23 04:35:03 +00:00
jonathan
1ca217b445
Replace the following header files from src/sys/arch/pica/include/
...
with versions that include equivalent files from <mips/include>.
(cvs magic copied the previous revisions, with history, to
src/sys/arch/mips/include).
ansi.h bsd-aout.h cdefs.h ecoff.h elf.h endian.h exec.h float.h ieeefp.h
kdbparam.h limits.h pcb.h pmap.h proc.h profile.h ptrace.h reg.h regdef.h
regnum.h reloc.h setjmp.h signal.h stdarg.h types.h varargs.h vmparam.h
NB: Some files (e.g., limits.h reloc.h pmap.h) add pica-specific #defines
to the generic mips support.
1996-03-23 03:42:25 +00:00
leo
634f5ade49
Correct #ifdef that survived the after-debug cleanup (Thanks Chris).
1996-03-22 09:07:03 +00:00
gwr
ac302c84e6
Correct type of the nofault pointer.
1996-03-21 23:03:49 +00:00
gwr
edf28f2285
Catch-up with cf_driver/cf_attach changes.
1996-03-21 23:01:21 +00:00
is
2ecf0a7b85
Interupts must be disabled and cleared before the PROM is read, as the int
...
line is shared with one of the PROMs address lines.
From PR #1478 by Jukka Marin.
1996-03-21 21:00:21 +00:00
scottr
32a38f24e7
DEBUG -> SBC_DEBUG, and fix comment regarding sbc_options
1996-03-21 04:49:20 +00:00
mark
cb3bacff44
Added abort function that just hangs in an infinite loop.
...
GCC/arm addeds calls to abort to the end of functioned declared
as not returning e.g. panic().
1996-03-20 18:57:58 +00:00
mark
9adb4b41cb
Make this work following the attachment changes.
1996-03-20 18:49:56 +00:00
mark
6973956563
Fixed references to match function.
1996-03-20 18:46:58 +00:00
mark
c8d47951ba
Fix references to the match function.
1996-03-20 18:38:00 +00:00
is
ab622e51f5
- Zeroth version of M68060 support (dont want to cause emulation traps for
...
the "Fast Assembler Version of the copy loop)
- Yet another sanity check included: initialize unused receive buffers to
zero sender id; and test for sender hardware id of zero in the receiver.
Gives us better error messages in case flaky hardware causes spurious
receive interupts.
1996-03-20 13:28:50 +00:00
leo
8106a55133
And more proto's.....
1996-03-20 13:11:56 +00:00
leo
e0aeb3dc13
Another bit of prototyping...
1996-03-20 12:41:30 +00:00
jonathan
212f41c0da
Merge more header files with arch/mips/include, by replacing
...
with versions that #inlude the <mips/XXX.h> file:
reloc.h regnum.h varargs.h
1996-03-20 09:49:29 +00:00
leo
083fa0d1b9
Belongs to the last changes made to the ??boot/??boot.s files I did
...
yesterday.
1996-03-20 08:23:35 +00:00
leo
7b7df70d77
Fix typo in neew config changes.
1996-03-20 08:17:48 +00:00
scottr
0b59005d3d
Fix a long-standing bug uncovered by the new device attachment
...
model. Thanks to Jason Thorpe for the fix (fixed PR 2235).
1996-03-20 05:10:54 +00:00
jonathan
69a70ec129
Merge in changes from the Pica port.
...
Still needs more thought for single-stepping and process_write_regs().
1996-03-20 01:30:49 +00:00
jonathan
5d4883f9ed
Add "mips" to the machine line, to make config create a link
...
compile/XXXX/mips -> mips/include, and to use mips/conf/files.mips.
1996-03-20 01:17:06 +00:00
thorpej
5c98887b14
Fix typo.
1996-03-19 22:56:53 +00:00
jonathan
e3bc270a69
Change "XXX_pmax" to "XXX_mips" in preparation for merging with
...
Pica reloc.h.
1996-03-19 22:18:45 +00:00
jonathan
f8342fcf97
Remove #ifdef LANGUAGE_C - protected definition of "struct reg".
...
(It was a duplicate of the real definition reg.h and was never used.)
1996-03-19 15:20:39 +00:00
leo
414369f5c6
Use the right cd-names.
1996-03-19 13:16:47 +00:00
leo
38432e7448
Debugger() prototype is in systm.h, don't define Debugger() here.
1996-03-19 13:15:34 +00:00
is
f6ff8b93d4
Add clobber lists at the appropriate places. The MMU initialization would
...
brake with gcc272 -O2.
1996-03-19 11:12:10 +00:00
jonathan
4758b69e7b
Replace ansi.h with a version that just does #include <mips/ansi.h>.
1996-03-19 11:00:16 +00:00
jonathan
53143b46f1
more merged pmax/mips header files: types.h
...
Replace header files from src/sys/arch/pmax/include/ with versions that
include equivalent files from <mips/include>.
(cvs magic copied the previous revisions, with history, to
src/sys/arch/mips/include).
1996-03-19 05:18:26 +00:00
jonathan
e1373a1fbf
Replace the following additional header files from src/sys/arch/pmax/include/
...
with versions that include equivalent files from <mips/include>,
after merging changes from the pmax and pica ports into the
src/sys/arch/mips/include tree.
ptrace.h cdefs.h pmap.h signal.h kdbparam.h
1996-03-19 04:39:01 +00:00
jonathan
d2c42783a3
Add trap definitions added for the r4000 port.
...
Note: T_USER is different in the pmax and pica ports!
1996-03-19 04:34:57 +00:00
jonathan
ac7c6304db
Add eight 32-bit (XXX) words of reserved space to struct sigcontext,
...
for binary compatibilty with the pica port.
1996-03-19 04:22:04 +00:00
jonathan
ad4d94c4f3
Change "pmax_xxx" macros to "mips_xxx" macros, in preparation
...
for moving to src/sys/arch/mips/include/pmap.h.
1996-03-19 04:15:15 +00:00
jonathan
648169b854
Kernel config file for source code shared by mips-based NetBSD ports.
1996-03-19 03:26:29 +00:00
jonathan
ed6c35ae96
Replace the following header files from src/sys/arch/pmax/include/
...
with versions that include equivalent files from <mips/include>.
(cvs magic copied the previous revisions, with history, to
src/sys/arch/mips/include).
bsd-aout.h elf.h endian.h exec.h float.h ieeefp.h limit.h pcb.h proc.h
profile.h reg.h regdef.h setjmp.h stdarg.h vmparam.h
1996-03-19 03:06:28 +00:00
jonathan
23e6b87149
Replace the following header files from src/sys/arch/pmax/include/
...
with versions that include equivalent files from <mips/include>.
(cvs magic copied the previous revisions, with history, to
src/sys/arch/mips/include).
[bsd-aout.h elf.h endian.h exec.h float.h ieeefp.h limit.h pcb.h proc.h]
[profile.h reg.h regdef.h setjmp.h stdarg.h vmparam.h]
plus (missed one:)
ecoff.h
1996-03-19 03:06:27 +00:00
jonathan
234b085111
Replace the following header files from src/sys/arch/pmax/include/
...
with versions that include equivalent files from <mips/include>.
(cvs magic copied the previous revisions, with history, to
src/sys/arch/mips/include).
bsd-aout.h elf.h endian.h exec.h float.h ieeefp.h limit.h pcb.h proc.h
profile.h reg.h regdef.h setjmp.h stdarg.h vmparam.h
1996-03-19 03:06:27 +00:00
jonathan
dcb272ef6e
Remove pmax-specific CLK_TICK to prepare for moving to sys/arch/mips.
1996-03-19 02:45:48 +00:00
jonathan
b495cef581
Add additional mips CPU and FPU ids from Pica port:
...
IDT r3081 family, r4600, MIPS-IV architecture, others.
1996-03-19 02:42:28 +00:00
jonathan
1cc17fc971
Change "pmax" -> "mips" before moving to sys/arch/mips/include.
1996-03-19 02:12:05 +00:00
jonathan
c29eb3ea76
NetBSD's ieee FP definitions for the pmax are valid for other mips cpus;
...
change preprocessor XXX_PMAX_YYY #defines to XXX_MIPS_YYY.
1996-03-18 22:40:21 +00:00
christos
3c3a955cf2
Avoid unused label warning.
1996-03-18 21:48:19 +00:00
mark
11e435f55e
Declaration of Debugger() now matches the prototype in systm.h
1996-03-18 21:33:05 +00:00
mark
8ac78e8698
RCS Id police.
1996-03-18 21:23:09 +00:00
leo
39a234873d
Build the 'stand' directory.
1996-03-18 21:08:36 +00:00
leo
d36f15a208
Take care of the case that <start_of_video> < <memtop>
1996-03-18 21:06:19 +00:00
mark
4973a32e6d
RCS Id police.
1996-03-18 19:54:53 +00:00
mark
3689687703
RCS Id police.
1996-03-18 19:33:04 +00:00
ragge
8fa15eb73f
Ubareset are now possible, devices that wants it now set it up
...
during autoconfig. ifubareset (if_reset) no longer used, actually
it's just a normal ubareset and is now handled like that.
1996-03-18 16:47:24 +00:00
scottr
2d7b856ea6
Update to NetBSD 1.1B struct cfdriver naming conventions.
1996-03-18 06:52:54 +00:00
mhitch
d2ac60afc0
A couple more misses from the device attachment changes:
...
afcd_cd --> afsc_cd
atzsccd --> atzsc_cd
1996-03-18 04:58:36 +00:00
jonathan
69f4059642
Change kn01 (pmax,3100) interrupt-enable signature to match
...
the NetBSD-1.1 convention. Change the mainbus `struct confargs'
and the "generic" interrupt-establish method, used by devices that
appear on both a kn01 and TC decstations, to match.
Change the macros in autconf.h accordingly.
1996-03-18 01:47:06 +00:00
jtk
5e4b11dfc1
updated spkr attachment to use new pckbd attribute
1996-03-18 01:46:23 +00:00
jtk
83bdfcf5c9
attach the speaker device to pckbd (it falls in the I/O range of the
...
keyboard/console device cluster)
1996-03-18 01:26:10 +00:00
jonathan
2d2bc47dae
Additional fixes to complete the NetBSD/1.1B config changes:
...
Add new device-attach struct cfattach le_tc_ca and struct cfdriver le_cd.
Change IOASIC cfdriver references from "ioasiccd" to "ioasic_cd".
Change "mainbuscd" to "mainbus_cd"
1996-03-18 01:22:27 +00:00
ragge
6275c70064
Convert all devices according to the changes to config.
1996-03-17 22:56:15 +00:00
ragge
dfaa8f2e96
Update from Ken Wellsch: The DHU driver can now handle DMA transfers.
1996-03-17 22:51:48 +00:00
ragge
3b5cb56887
Do not have debugging enabled by default.
1996-03-17 22:49:55 +00:00
ragge
b7cf2432a0
Fix type clashes.
1996-03-17 22:44:48 +00:00
jonathan
f7af868d1f
Additional fixes to complete the NetBSD/1.1B config changes:
...
change IOASIC cfdriver references from "ioasiccd" to "ioasic_cd"
1996-03-17 22:20:08 +00:00
jonathan
077638548b
Additional fixes to complete the NetBSD/1.1B config changes:
...
update the old-config to new-config glue used with the 4.4bsd/pmax
SCSI drivers to use new device attach declarations and names for
the "oldscsibus", "tz" and "rz" drivers.
1996-03-17 22:14:21 +00:00
jonathan
ffd8d4cdc7
Additional fixes to complete the NetBSD/1.1B config changes:
...
Update the kn01 (3100 aka pmax) interrupt handler to use XXX_cd instead
of XXXcd.
1996-03-17 22:12:13 +00:00
jonathan
cdf4e87e7a
Additional fixes to complete the NetBSD/1.1B config changes:
...
add missing structure name in the definition of `struct cfattach sfb_ca'.
1996-03-17 22:02:59 +00:00
christos
4d4d2d999a
Remove 'volatile' from the romhalt and romboot routines, and local prototype
...
declarations.
1996-03-17 21:40:11 +00:00
is
ecc1ccd3cd
These should be and clauses, after cgd's recent config change (the second
...
one). Should probably also be done to the view packet, but I'm not 100% sure.
1996-03-17 19:36:33 +00:00
cgd
94907fa254
adjust to deal with expression support for optional file specs
1996-03-17 13:21:09 +00:00
cgd
1f7332bada
fix typo in recent attachment changes: (interface) attributes for asc
...
specified twice.
1996-03-17 06:09:10 +00:00
cgd
0cfd94f31d
fix typos in recent attachment changes.
1996-03-17 06:08:12 +00:00
mhitch
b00a2c1e30
Clean up typos and other errors from new device attachment changes.
1996-03-17 05:53:57 +00:00
pk
59ff996be6
Avoid "unused variable" warning.
1996-03-17 03:19:34 +00:00
thorpej
3cd14f7597
New device attachment scheme:
...
- split softc size and match/attach out from cfdriver into
a new struct cfattach.
- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.
1996-03-17 02:00:30 +00:00
thorpej
77abd102b7
New device attachment scheme:
...
- split softc size and match/attach out from cfdriver into
a new struct cfattach.
- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.
1996-03-17 01:38:52 +00:00
thorpej
82d914d090
New device attachment scheme:
...
- split softc size and match/attach out from cfdriver into
a new struct cfattach.
- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.
1996-03-17 01:26:49 +00:00
thorpej
5c67e5fad9
New device attachment scheme:
...
- split softc size and match/attach out from cfdriver into
a new struct cfattach.
- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.
1996-03-17 01:16:48 +00:00
thorpej
08607bc611
New device attachment scheme:
...
- split softc size and match/attach out from cfdriver into
a new struct cfattach.
- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.
1996-03-17 01:03:02 +00:00
mrg
4fe3a900f3
comment: LEAPYEAR is not entirely correct
1996-03-17 00:56:24 +00:00
christos
5b2bf5a548
add rom routines declarations
1996-03-16 23:51:44 +00:00
christos
64356e6df3
fix printf format strings
1996-03-16 23:31:45 +00:00
christos
dafa7f2c60
fix format strings. move rom routine decls in bsd_openprom.h
1996-03-16 23:31:42 +00:00
christos
ed2239daea
Fix format strings in panic()
1996-03-16 23:31:40 +00:00
christos
0c4805af23
Fix typo in fsrtoname() use && as intended instead of &
1996-03-16 23:31:36 +00:00
christos
4b636d71eb
cast argument to probeget()
1996-03-16 23:28:37 +00:00
christos
2cb7b87853
fix formats in printf() and panic()
1996-03-16 23:28:35 +00:00
christos
5c32202b7e
fix format in printf()
1996-03-16 23:28:33 +00:00
christos
fe4bb997c9
fix format in panic()
1996-03-16 23:28:30 +00:00
christos
09ff5d56a7
fix format in printf()
1996-03-16 23:28:28 +00:00
christos
aab8906300
fix format in log()
1996-03-16 23:28:27 +00:00
christos
f2b8b6e73e
include <sys/systm.h>
1996-03-16 23:28:25 +00:00
christos
02bcb06a88
This could have never worked (fb in attach was never initialized); include <sys/systm.h>
1996-03-16 23:28:23 +00:00
mhitch
ae815da330
change Debugger() from an int function to a void function to match the
...
prototype in sys/systm.h.
1996-03-16 18:45:44 +00:00
ragge
f9ee92c45a
Support installation of /usr/mdec files.
1996-03-16 11:03:11 +00:00
ragge
33aad32f37
Accept adapter numbering in boot.
1996-03-16 11:02:28 +00:00
mhitch
a5c0ced572
Removed Debugger() declaration - the prototype is in sys/systm.h.
1996-03-16 08:19:43 +00:00
thorpej
0c71728320
Change the PS/2 mouse driver to be a child of the "pckbd" attribute,
...
which represents the "keyboard controller". Give "pc" and "vt" drivers
the "pckbd" attribute. In pcattach() (pccons and pcvt), attach children
of the keyboard controller.
1996-03-16 06:08:46 +00:00
jtc
2ce5f1478b
Add _BSD_WINT_T_ definition so we can handle wint_t type added in NA1.
1996-03-16 01:31:45 +00:00
thorpej
58a3d4e742
RCS id police.
1996-03-16 00:17:52 +00:00
thorpej
0bbcd292a1
RCS id police.
1996-03-16 00:07:07 +00:00
mhitch
48118d719d
Correct 53c710 initialization for the A4000T. Remove the A4000T probe
...
debugging output.
1996-03-15 22:11:09 +00:00
is
1c6c1c4af9
If compiling with "options M68060", tell compiler not to use
...
instructions which have to be emulated by the operating system on that
chip. This code will still run on M68020, M68030 and M68040, but
might be a bit slower on those chips.
1996-03-15 20:09:52 +00:00
is
ed24bc5ba8
AMIGA_68060 flag in cpu.h and genassym.c.
1996-03-15 19:47:45 +00:00
chuck
1079c8c2aa
change Debugger() from an int function to a void function to match the
...
prototype in sys/systm.h (which was just put in in by christos)
with revision 1.43 of sys/systm.h
revision 1.43
date: 1996/03/14 18:59:12; author: christos; state: Exp; lines: +1 -3
systm.h: Bring Debugger() prototype into scope.
1996-03-15 00:07:18 +00:00
christos
6d492269e0
Add -Wall -Wstrict-prototypes -Wmissing-prototypes
...
to the kernel build. The sparc is clean now!
1996-03-15 00:02:28 +00:00
christos
9af46afa21
Fix prototypes for the latest kpc changes.
1996-03-15 00:01:21 +00:00
christos
9673aca601
Fix prototypes that were added with the latest kpc changes.
1996-03-15 00:00:39 +00:00
mark
6cb2a43b5e
RCS Id police.
1996-03-14 23:10:59 +00:00
christos
99fff354c6
fdopen -> filedescopen
1996-03-14 22:18:02 +00:00
leo
55b65fb49a
Switch to the mi ramdisk driver.
1996-03-14 21:41:04 +00:00
christos
25b31cbc91
fdopen -> filedescopen
1996-03-14 21:31:56 +00:00
christos
ab0e60a42f
fdopen -> filedescopen
1996-03-14 21:20:59 +00:00
christos
9c75606e8c
Add prototypes and fix bugs:
...
- softclock was called with extra argument.
- missing %x formats in printf's
- kgdb_copy called with only two arguments.
Fix conf.c so that it used the _conf.h files from other places instead of
rolling its own.
1996-03-14 21:08:50 +00:00
christos
9a07d9dec9
Add missing prototypes and fix the fp struct for svr4.
1996-03-14 19:49:04 +00:00
christos
03b701e393
Bring prototypes into scope and fix compiler warnings.
1996-03-14 19:44:30 +00:00
christos
ab59f984ab
Add and bring prototypes into scope.
1996-03-14 19:41:49 +00:00
scottr
2a5cf25e29
Back out previous change; kernel longjmp() has 1 arg.
1996-03-14 16:42:44 +00:00
scottr
24dcca72bd
Optimize user-side TLB invalidation when !defined(M68020).
1996-03-14 05:50:06 +00:00
cgd
0926920201
(1) remove the #ifdef i386 from pci.c, and provide a machine-dependent
...
hook (pci_md_attach_hook()) to do any machine-dependent attachment
gunk, e.g. on the i386 printing out the configuration mode (if bus 0)
(2) don't pass max device number for a given bus in, use
PCI_MAX_DEVICE_NUMBER, which can be defined on a per-machine basis.
(defaults to 32. on i386, it's 32 if pci conf mode == 1, 16 if 2.)
1996-03-14 02:37:59 +00:00
cgd
20af97b2c0
don't pass max device number for a given bus in, use
...
PCI_MAX_DEVICE_NUMBER, which can be defined on a per-machine basis.
(defaults to 32. on i386, it's 32 if pci conf mode == 1, 16 if 2.)
1996-03-14 02:37:28 +00:00
pk
485ccae478
Insert child_return() for the benefit of child return path from cpu_fork().
1996-03-14 00:55:59 +00:00
pk
0b1cba4b0b
Implement cpu_set_kpc() and use its machinery to by-pass a child out
...
of the kernel from cpu_fork().
1996-03-14 00:54:34 +00:00
pk
d48d8e1512
Install machinery for cpu_set_kpc().
1996-03-14 00:54:06 +00:00
pk
808df5543f
Remove cpu_set_init_frame().
1996-03-14 00:49:20 +00:00
pk
894fde6bdd
Remove __FORK_BRAINDAMAGE.
1996-03-14 00:48:30 +00:00
pk
dc3c7fb2ba
Actually enter executables where promised...
1996-03-14 00:11:29 +00:00
scottr
4d30db274f
Back out previous change.
1996-03-13 23:42:45 +00:00
mark
46e6b251f1
Raise the spl level while modifing the keyboard autorepeat and delay
...
rates.
Added missing = to test for alphabetic characters so that caps lock
applies to Z as well as A-Y.
1996-03-13 21:51:32 +00:00
mark
a2ff705689
Added code to handle indents in monitor definition files.
1996-03-13 21:47:15 +00:00
mark
cb6f3bb55c
Removed references to the kstack double mapping from the old debug
...
shell.
1996-03-13 21:45:54 +00:00
mark
32f0b6e092
curpcb is declared in pcb.h so don't declare it here.
...
removed debug printing when faulting in new page tables for the user
process stack.
1996-03-13 21:41:41 +00:00
mark
ba893940d3
savectx() now justs syncs the pcb, it no longer needs to copy the stack.
...
cpuswitch() simplified, now pushes and pulls a switchframe structure
on entry and exit. Added extra comments to indicate the states of
various registers throughout cpuswitch().
Added proc_trampoline function.
1996-03-13 21:39:10 +00:00
mark
5c857a37ef
Use the value returned from initarm() to set the stack pointer before
...
calling main().
1996-03-13 21:34:17 +00:00
mark
bbf2aa16b5
Removed kstack references. Updated code that sets up the pcb for proc0
...
now that double mapping has gone.
initarm() now returns the address to be loaded into the stack pointer
before calling main() to kick things off.
1996-03-13 21:32:39 +00:00
mark
d253d345a2
Since kernel stack double mapping no longer exists there is no
...
point in trying to perform a postmortem on it following an panic.
1996-03-13 21:26:52 +00:00
mark
52f490ccf6
No longer need to allocate hooks for kernel stack double mapping during
...
pmap bootstrapping.
1996-03-13 21:25:04 +00:00
mark
7045f47891
The kstack pte fields no longer exist so remove them.
1996-03-13 21:22:32 +00:00
mark
caf9dd3edc
Removed external declaration of kstack. No longer relevant now kstack
...
double mapping has been removed.
No longer need to fixup the trap frame address to take double mapping
into consideration.
1996-03-13 21:21:00 +00:00
mark
043ef25c23
Remove cpu_set_init_frame macro. This is no longer needed now
...
cpu_set_kpc() has been implemented.
1996-03-13 21:18:06 +00:00
mark
f9f45be67c
Removed all the double mapping code from cpu_fork().
...
Arrange for the child process to return to user land via child_return()
on leaving cpuswitch().
Added function cpu_set_kpc().
1996-03-13 21:16:15 +00:00
mark
8fbba52c87
Removed option __FORK_BRAINDAMAGE at last.
1996-03-13 21:10:43 +00:00
mark
ffa6eab259
Removed the kstack pte fields. These are no longer needed as the kernel
...
stack is no longer double mapped.
1996-03-13 21:08:36 +00:00
mark
f96ae702d7
Added switchframe structure to describe the stack frame pushed on the
...
stack at the beginning of cpuswitch().
1996-03-13 21:06:34 +00:00
mark
c353f32f10
_mcount() can now be declared inline.
1996-03-13 21:04:55 +00:00
mark
fb4eacf0a5
Removed comments describing debugging code that has long since gone.
...
Added new comments for parts of the undefined vector entry point.
1996-03-13 21:00:26 +00:00
mark
1e97524220
SCSI scanner device added to the list of SCSI devices configured.
1996-03-13 20:57:45 +00:00
mark
f6c46bc20c
Added hooks for the SCSI scanner device driver.
1996-03-13 20:55:21 +00:00
mark
d389b21913
Added boot time override for the memory test during probing. This
...
memory test apparently causes hangups on some etherH interfaces.
Until this can be debugged with an offending interface the memory
test can be bypassed.
1996-03-13 20:52:35 +00:00
mark
c117a7f133
Only call the debugger if DDB is defined.
1996-03-13 20:28:50 +00:00
scottr
eb473e57bd
Add second argument to longjmp() call.
1996-03-13 19:04:04 +00:00
jonathan
dc6fdf6cdc
First commit of Per Fogelstrom's port to the Acer pica r4400/isa machine.
1996-03-13 04:58:04 +00:00
scottr
b4225290a4
Use 851-specific instructions only #if defined(M68020).
1996-03-12 23:46:32 +00:00
is
905b10d4bc
M68060 additional frame formats and bits. Closes PR 1174.
...
This shouldn't break anything; I find ... grep ... all the relevant
kernel sources subdirecotry trees I could think of for the defines
that don't use the new FSLW or FPF6 prefix. But in case it does anyway,
tell me immediately.
1996-03-12 22:21:51 +00:00
scottr
6208752b50
Oops; fix typo.
1996-03-12 21:34:57 +00:00
scottr
d504ec531e
Add "options M68020" so that 68851-specific code is only compiled when
...
we want it (we don't support the 020 without an 851 anyway). Note that
M68030 no longer implies support for 020+851.
This also allows us to compile with -m68030 iff M68020 isn't specified
in the config file.
1996-03-12 21:06:22 +00:00
scottr
89f7d665d5
KNF.
1996-03-12 19:18:49 +00:00
scottr
61927fc337
Fix typo (pointed out by Shinya Taniguchi, PR 2203)
1996-03-12 06:01:16 +00:00
scottr
04de5b5b08
Back out the previous change; we'll trust adjustments to the clock
...
except on shutdown.
1996-03-12 04:34:46 +00:00
scottr
e11f39f4a9
Don't sync the RTC at shutdown time.
1996-03-12 04:24:47 +00:00
perry
1faa1f926b
close prs #2076 and #2159 : Install kernels have had DIAGNOSTIC and
...
KTRACE removed to make them fit on the floppies. All kernels have had
the comment typo "internally consistency" changed to "internal consistency".
1996-03-12 01:32:43 +00:00
phil
a3448dcd3e
Update it.
1996-03-11 23:14:43 +00:00
phil
509ba91070
have files.pc532 use include feature for scsi.
...
use MI ncr driver.
1996-03-11 23:09:09 +00:00
phil
26ee503b71
More precise DELAY function.
1996-03-11 22:50:17 +00:00
phil
6d5bf6a3ea
Support for move to MI ncr5380 driver.
1996-03-11 20:56:48 +00:00
phil
d92d9aa2f7
Move the pc532 ncr5380 driver to the MI one.
1996-03-11 20:50:50 +00:00
leo
2273338717
Add the include files and the atari kernel support for new format panic
...
dumps.
1996-03-10 21:54:44 +00:00
briggs
9e087f0d26
Pass 2nd arg to longjmp--even though it's ignored.
1996-03-10 19:55:22 +00:00
briggs
679b7627d0
Use label_t instead of jmp_buf and don't include setjmp.h.
1996-03-10 19:54:41 +00:00
leo
7da79507e9
Take the type of the attached monitor into account when selecting a
...
display-mode. Includes hack to make things work on non-VGA monitors.
1996-03-10 11:42:35 +00:00
cgd
0a6a29c792
update for new commulti->com attach interface. com ports at 'ast'
...
multiport cards no longer need 'flags 1', because the "don't set IEN"
requirement is communicated by the commulti_attach_args. com.c no longer
recognizes 'flags 1' at all.
1996-03-10 09:03:13 +00:00
ragge
f01a5dd8cc
We lost declaration of kernel_pmap_store somewhere, put it back.
1996-03-09 23:39:51 +00:00