christos
eb314d8358
printf -> kprintf, sprintf -> ksprintf
1996-10-11 01:50:21 +00:00
christos
19d8368f2f
printf -> kprintf, sprintf -> ksprintf
1996-10-11 00:44:42 +00:00
christos
de08983084
add in_addr_t and in_port_t
1996-10-11 00:43:00 +00:00
christos
848c9d8f02
printf -> kprintf, sprintf -> ksprintf
1996-10-11 00:39:22 +00:00
christos
06555645c2
printf -> kprintf, sprintf -> ksprintf
1996-10-11 00:24:36 +00:00
christos
8f56de03e1
printf -> kprintf
1996-10-11 00:22:09 +00:00
christos
60dd5ceebe
printf -> kprintf, sprintf -> ksprintf
1996-10-11 00:06:28 +00:00
christos
c47b25b2e5
add -Wall -Wstrict-prototypes -Wmissing-prototypes.
...
We are compiling cleanly now!
1996-10-11 00:04:22 +00:00
christos
1f54d4ded6
add in_addr_t and in_port_t and use them.
1996-10-11 00:02:47 +00:00
christos
e6302ff46c
- add missing prototypes
...
- printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:56:50 +00:00
christos
946833855f
printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:51:21 +00:00
christos
4335eeb4ed
- fix uninitialized sticks
...
- printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:51:19 +00:00
christos
a60beecedb
printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:44:49 +00:00
christos
9beb92aad7
printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:32:59 +00:00
christos
01d75c7c68
- printf -> kprintf, sprintf -> ksprintf
...
- make this compile cleanly.
1996-10-10 23:31:40 +00:00
christos
117a51c5a5
printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:31:17 +00:00
christos
d5bc24be7a
- printf -> kprintf, sprintf -> ksprintf
...
- replace sequences of sprintf(p, ...); p += strlen(p) with p += sprintf(p,
1996-10-10 23:30:58 +00:00
christos
1005eb6f98
printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:25:50 +00:00
christos
98d5537195
- make this compile again
...
- printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:22:58 +00:00
christos
6d7ad25bea
printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:12:43 +00:00
christos
2768f040b3
- fix NSIP; it referenced non-existing functions.
1996-10-10 23:04:26 +00:00
christos
0e189933f5
printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:02:20 +00:00
christos
10191279fb
- printf -> kprintf, sprintf -> ksprintf
1996-10-10 22:59:41 +00:00
christos
2688e678b9
- add missing prototypes
...
- printf -> kprintf, sprintf -> ksprintf
1996-10-10 22:58:29 +00:00
christos
60d201973e
printf -> kprintf, sprintf -> ksprintf
1996-10-10 22:46:11 +00:00
christos
2b33d9d53a
- printf -> kprintf, sprintf -> ksprintf
...
- use a debugging printf macro instead of #ifdef #endif everywhere.
1996-10-10 22:45:37 +00:00
christos
153ead2dff
- Use debugging printf - macros instead if #ifdef #endif everywhere
...
- printf -> kprintf, sprintf -> ksprintf
1996-10-10 22:43:21 +00:00
christos
aa4d49153b
- printf -> kprintf, sprintf -> ksprintf
1996-10-10 22:40:49 +00:00
christos
c514106b9d
printf -> kprintf, sprintf -> ksprintf
1996-10-10 22:39:39 +00:00
christos
5d85fa8122
printf -> kprintf, sprintf -> ksprintf
1996-10-10 22:25:05 +00:00
christos
4c14cd79b2
- printf -> kprintf, sprintf -> ksprintf
1996-10-10 22:18:34 +00:00
christos
48635ba80c
- printf -> kprintf, sprintf -> ksprintf
...
- ifdef unused variable
1996-10-10 22:14:18 +00:00
christos
43ffb37118
- printf -> kprintf, sprintf -> ksprintf
...
- fix a bug where tp was used before it was initialized
- remove unused variable
1996-10-10 22:12:15 +00:00
christos
a551ed0d3d
- printf -> kprintf, sprintf -> ksprintf
...
- Fix an | -> ||
1996-10-10 22:08:05 +00:00
christos
58953408cb
printf -> kprintf, sprintf -> ksprintf
1996-10-10 22:04:48 +00:00
christos
e51a0f737a
- printf -> kprintf, sprintf -> ksprintf
...
- fix unused variable warning
- include <systm.h>
1996-10-10 21:27:25 +00:00
christos
ce31bd3eb6
- printf -> kprintf, sprintf -> ksprintf
...
- Remove unused variable
- include <systm.h>
1996-10-10 21:26:04 +00:00
christos
18f1d603f0
- printf to kprintf, sprintf -> ksprintf
1996-10-10 21:25:07 +00:00
christos
764db9b35b
- printf -> kprintf, sprintf -> ksprintf
...
- provide a default case to handle an unknown model number.
- include <systm.h>
- remove unused variable.
1996-10-10 21:23:28 +00:00
christos
245e10b406
- printf -> kprintf, sprintf -> ksprintf
...
- ifdef an unused variable.
1996-10-10 21:21:52 +00:00
christos
3b23328ae6
printf -> kprintf, sprintf -> ksprintf
1996-10-10 21:11:37 +00:00
christos
b5c4f2fc49
printf -> kprintf, sprintf -> ksprintf
1996-10-10 20:25:34 +00:00
christos
ee2c8600ee
- printf -> kprintf, sprintf -> ksprintf
...
- remove kvtop declaration.
1996-10-10 20:04:03 +00:00
christos
ea39989829
- printf -> kprintf, sprintf -> ksprintf
...
- add an #ifdef FreeBSD for an unused variable
1996-10-10 20:00:59 +00:00
christos
b54342c9b9
- printf -> kprintf, sprintf -> ksprintf
...
- include <systm.h>
1996-10-10 19:59:17 +00:00
christos
95e30eafe7
printf -> kprintf, sprintf -> ksprintf
1996-10-10 19:58:18 +00:00
christos
bf78c76b40
- move a variable declaration that is unused under NetBSD into the ifdef
...
for FreeBSD
- printf -> kprintf, sprintf -> ksprintf
1996-10-10 19:55:48 +00:00
christos
a9f11a46e4
printf -> kprintf, sprintf -> ksprintf
1996-10-10 19:54:10 +00:00
christos
9cbe3b9d5f
- printf -> kprintf, sprintf -> ksprintf
...
- include systm.h
1996-10-10 19:53:03 +00:00
christos
9cc736c839
- printf -> kprintf, sprintf -> ksprintf
...
- remove unused variables.
- fix cleanup code in case of probe failure.
1996-10-10 19:52:10 +00:00
christos
e596968eda
- printf -> kprintf, sprintf ksprintf
...
- const poisoning for the copy routines.
- fu* su* fixes:
XXX:
1. These are poorly named [better names should have real sizes in them]
2. Not all of them are in use implemented
3. Interface is broken; no way to detect errors in fu*
4. The kernel man 9 pages for copy, fetch and store leave a lot to be
desired.
1996-10-10 19:25:45 +00:00
christos
5476886e52
printf -> kprintf, sprintf -> ksprintf
1996-10-10 17:47:29 +00:00
christos
de1b2b437e
printf -> kprintf, sprintf -> ksprintf
1996-10-10 17:16:17 +00:00
jtc
c5364e6a93
S_ISFIFO(x) should not return true with sockets. S_ISSOCK(x) should
...
not return true with fifos. Users who want the previous behavior can
use (S_ISFIFO(x) || S_ISSOCK(x)).
1996-10-10 14:34:37 +00:00
thorpej
4a23efc7bc
Fix botch in netbsd-1-2 merge (multiple inclusion of <sys/tty.h>),
...
pointed out by Jonathan Stone <jonathan@DSG.Standford.EDU>.
1996-10-10 00:27:41 +00:00
cgd
c11d591cfe
add support for ELF toolchain, including weak alias support (for upcoming
...
libc changes) and reference warnings.
1996-10-09 22:41:54 +00:00
cgd
6d0af59ad0
change __va_list's "offset" field to be a 'int' to match what gcc now
...
uses, plus add a compatibility hack so that code compiled with old
versions of gcc (e.g. libraries) can work with code compiled with
new versions.
1996-10-09 21:13:04 +00:00
explorer
e331708d2f
turn off floppy motor (and light) even if the drive isn't found. This fixes
...
some laptop indicator lights which would be stuck on after the probe
1996-10-09 16:10:14 +00:00
matthias
9176e41d88
* Pull over prototyping fixes from i386.
1996-10-09 07:45:28 +00:00
matthias
b43657168e
* Add prototypes.
...
* Add support for ddb and kgdb.
1996-10-09 07:45:25 +00:00
matthias
9d22d4d454
* Fix declaration of setconf.
1996-10-09 07:45:23 +00:00
matthias
85ddb3de03
* A few prototyping tweakes and deletion of unused variables.
...
(pulled over from i386).
1996-10-09 07:45:20 +00:00
matthias
e90bc618bd
* Support for ddb.
...
* New patchable variable maxphysmem to limit physical memory.
That's useful to simulate small machines for testing install
kernels.
* Make debugging crashdumps with gdb -k work.
* microtime is moved to clock.c.
* Reserve memory for symbol table when ddb is configured.
* Move checks for RB_KDB into consinit.
1996-10-09 07:45:17 +00:00
matthias
89a49bedc6
* Set _kernel_text to the correct value.
...
* Fix a typo in delay().
* Disable generation of profiling prologue for proc_trampoline,
sigcode, idle, handle_trap, flush_icache, svc and interrupt.
* A few tweaks to make kgdb and ddb work nicer.
1996-10-09 07:45:13 +00:00
matthias
560bd7e107
* New file for kgdb support.
1996-10-09 07:45:06 +00:00
matthias
9c3592a5ca
* Reduce softint latency.
...
* Pull over change from i386 to make statclock > (tty | net | bio).
1996-10-09 07:45:05 +00:00
matthias
1dceda47e0
* Make it work for NetBSD and not for mach. Most of
...
this was done by Phil Budne.
* Remove things not used by NetBSD.
* Make stacktracebacks work better.
1996-10-09 07:45:03 +00:00
matthias
4484a4406d
* New file for routines common for kgdb and ddb support.
1996-10-09 07:45:00 +00:00
matthias
6f37f75ecb
* Make it work for NetBSD and not for mach. Most of
...
this was done by Phil Budne.
* Move some functions shared with kgdb to db_memrw.c.
1996-10-09 07:44:59 +00:00
matthias
79ded0d7e1
* Make it work for NetBSD and not for mach. Most of
...
this was done by Phil Budne.
1996-10-09 07:44:56 +00:00
matthias
afd88ad8ed
* Remove unused function spinwait.
...
* Add Phil Budne's microtime.
1996-10-09 07:44:54 +00:00
matthias
00695d93ae
* Now that ddb works, boot should set esym to the correct value...
1996-10-09 07:42:13 +00:00
matthias
483cff53cd
* Add the README file from Ian Dall's original distribution.
1996-10-09 07:40:45 +00:00
matthias
84b238b8eb
* Add files needed for kgdb and ddb.
...
* Delete (commented out) ntoh.s.
1996-10-09 07:34:42 +00:00
matthias
f0c2efd752
* Remove ncr_minphys. Simply use minphys.
...
* Protect interrupt code with splbio.
* Don't use intr_disable/intr_enable in the pdma routines.
1996-10-09 07:29:58 +00:00
matthias
f28c7ec9dd
* Don't use ansi c prototypes. Use the __P() macro.
...
* Support for bpf added.
* Don't duplicate code, use ether_ifattach instead.
* Recode plipreceive and pliptransmit in assembler.
This improves performance from 40 kbyte/s to 50 kbyte/s
between a 30mhz pc532 and a 25mhz i386.
1996-10-09 07:29:55 +00:00
matthias
f8c337b300
* Remove intr_disable/intr_enable stuff.
...
* Reduce softint latency.
1996-10-09 07:28:52 +00:00
matthias
f673492195
* redefine MAXPHYS to 128k to support DAT-tapes with a
...
very large blocksize.
1996-10-09 07:28:50 +00:00
matthias
b5542a0938
* The expression to which ICU_CLK_HZ is defined has to be
...
protected by parentheses.
1996-10-09 07:28:47 +00:00
matthias
0a6d52bb21
* Make it work for NetBSD (and not mach). Most of
...
this was done by Phil Budne.
* Delete unused macros.
* Define a few things to support kgdb.
1996-10-09 07:28:44 +00:00
matthias
b1bd20fbe2
* Delete define for DELAY.
...
* Add prototype for delay()
* Add prototypes for functions from various
machine dependent files.
1996-10-09 07:28:43 +00:00
matthias
1ebd4878ae
* Include profiling prologue not only when PROF is
...
defined but also when GPROF is defined.
* Provide _ENTRY and _ASENTRY to make it possible to
define functions that should not be profiled.
1996-10-09 07:28:40 +00:00
matthias
b83348353f
* ddb now works.
...
* Profiling works as well.
1996-10-09 07:21:47 +00:00
thorpej
63a2506f79
Merge netbsd-1-2 branch back into mainline.
1996-10-09 01:15:04 +00:00
thorpej
f2e79979ad
Merge the netbsd-1-2 branch back into the mainline.
1996-10-09 00:59:15 +00:00
mrg
9545fa196f
select -> poll
1996-10-09 00:50:55 +00:00
thorpej
0644233c4c
Merge the netbsd-1-2 branch back into the mainline.
1996-10-09 00:49:40 +00:00
thorpej
401d011da6
Merge netbsd-1-2 branch back into mainline.
1996-10-09 00:14:32 +00:00
mycroft
02ee12e4ba
Use PHOLD() and PRELE() rather than frobbing p_holdcnt directly.
1996-10-09 00:04:39 +00:00
thorpej
b1b86c0c98
Merge the netbsd-1-2 branch into the mainline.
1996-10-08 23:40:40 +00:00
thorpej
d498950fe3
Merge netbsd-1-2 branch back into mainline.
1996-10-08 22:56:04 +00:00
thorpej
8ef7e73ff1
Merge netbsd-1-2 branch back into mainline.
1996-10-08 22:18:02 +00:00
jtc
edd633aef1
Changed "../../m68k/fpe/files.fpe" to "arch/m68k/fpe/files.fpe" because of config changes
1996-10-08 18:03:00 +00:00
jtc
705b2e0726
Changed "std.sun3" to "arch/sun3/conf/std.sun3" because of config changes
1996-10-08 18:01:47 +00:00
jtc
149707f018
Add const qualifer to second arg of bus_print
1996-10-08 17:55:23 +00:00
ws
e9276ff40b
Add (first cut of) description of what to do when porting KGDB to
...
new architectures or implementing new device drivers for it.
Note the interface to serial lines (SLIP/PPP) is not yet described here.
1996-10-08 16:39:55 +00:00
cgd
35ae7afd12
remove #include of <machine/exec.h> from exec.h and place it, as
...
a #include of <machine/aout_machdep.h>, in exec_aout.h.
1996-10-08 13:10:29 +00:00
cgd
e36e19cf1e
repoint at shared aout_machdep.h, not exec.h
1996-10-08 13:07:26 +00:00
cgd
472889f8e4
moved to aout_machdep.h (via repository copy)
1996-10-08 12:57:37 +00:00
cgd
1878cacd45
KNF, de-static the functions that were static (so they'll show up
...
in ddb, etc.)
1996-10-08 03:40:40 +00:00
gibbs
b9c06e6fa3
dev/microcode/aic7xxx/aic7xxx.seq,
...
dev/microcode/aic7xxx_seq.h,
dev/ic/aic7xxxreg.h:
Remove intrinsic knowledge about SDTR and WDTR messages and replace it
with a generic message system that allows the kernel driver to handle
SDTR, WDTR and any other type of extended message it chooses too. This
makes the sequencer code much simpler, makes extended message handling
debuggable since the bulk of the work is in the kernel driver, and saves
lots of instruction space.
Regen microcode header file.
dev/ic/aic7xxx.c, dev/ic/aic7xxxvar.h:
Add code to handle WDTR and SDTR negotiation in light of the changes in
the message interface to the sequencer. Don't reject targets that
negotiate async by sending an SDTR with a 0 offset. Use an sdtr message
with 0,0 to negotiate async when a target suggests a period that is too
long for us to handle. Some tape and cdrom drives don't like us doing
the message reject that we did in the past.
Fix a problem with handing the QUEUE FULL condition.
Fix a race condition (most likely the cause of the SCB paging problems) that
might allow the sequencer to get unpaused before the condition that caused
it to be paused (a SEQINT) was handled.
Race condition pointed out by Doug Ledford <dledford@dialnet.net> and
by "Dan Willis" <dan@plutotech.com>.
dev/pci/ahc_pci.c:
Add support for the 2940AU, an aic7860 based controller.
dev/pci/pcidevs.h, dev/pci/pcidevs_data.h:
Add product IDs for the 2940AU, aic7860 and aic7855.
Regen data file.
scsi/scsi_message.h:
Add MSG_EXT_SDTR_LEN and MSG_EXT_WDTR_LEN - the length of bytes in these
extended messages.
Thanks to Chuck Cranor <chuck@maria.wustl.edu> for testing these changes
out for me.
1996-10-08 03:04:02 +00:00
cgd
d557a6a159
change md_coredump struct to actually reflect the machine-dependent stuff
...
that's dumped. use it, rather than a hack, to export the info to user-land
(gdb).
1996-10-07 23:57:21 +00:00
cgd
912e6fef44
include <sys/exec.h> rather than <machine/exec.h>
1996-10-07 21:47:33 +00:00
cgd
6ab18a1959
don't include <machine/exec.h> explicitly. No other changes needed, since
...
<sys/exec.h> was already being included.
1996-10-07 21:43:02 +00:00
cgd
5094e48557
don't include <machine/exec.h> here. Even if it's necessary,
...
it's already included by <sys/exec.h>.
1996-10-07 19:55:07 +00:00
cgd
7b01c01516
read user SP into core dump's trapframe
1996-10-07 19:09:17 +00:00
cgd
cd3ab82ec2
clean up a comment added in the last commit
1996-10-07 18:29:24 +00:00
cgd
5d4cf83257
when loading interpreter: check its vnode type, check its mount point
...
for NOEXEC and NOSUID, and make sure the interpreter file is executable.
The mount point checks are done because, even though the interpreter
is not the program being 'executed', code from the interpreter is being
executed, and so the mount point's flags should be respected.
1996-10-07 18:24:48 +00:00
christos
3e00b323f3
Fix PR/2801: Zero length svr4_mmap() should return EINVAL.
1996-10-07 16:16:14 +00:00
jonathan
ba4d6af5fa
Merge back MIPS3 locore stack-traceback code.
1996-10-07 11:20:53 +00:00
thorpej
eeef0d1784
Prototypes for functions in locore.s and machdep.c (oops, forgot to
...
check this in the other day...)
1996-10-07 06:29:30 +00:00
thorpej
24d2e8ec5f
Sanity sweep.
1996-10-07 04:45:41 +00:00
thorpej
a2f9031d2f
Add support for copying the miniroot from HP-IB cartridge tape.
1996-10-07 04:45:10 +00:00
scottr
872c12f95f
Update ROM vectors for PB 500
1996-10-07 04:05:02 +00:00
scottr
f8b0c86aa8
The 68LC040 generates a format 4 stack frame for floating point
...
exceptions, which puts the address of the instruction we faulted
on in a different location. Copy it and handle as we normally would,
restoring the saved PC before returning.
The FPE should probably be reworked to take advantage of the 68LC040's
precalculated effective address, at some point.
1996-10-07 03:16:47 +00:00
jonathan
45c47f41aa
Fix for elf{32,64} changes: make <mips/reloc.h> re-includable,
...
Use elf_xxx section names (not elf32_xxx)in mips/mips/elf.c
1996-10-07 03:15:03 +00:00
jonathan
fbdaac9a7a
Use "MIPS1" and "MIPS3" as preprocessor tokens to select {config,compile}-time
...
support for mips-1 (r2000 family) and mips-3 (r4000 family) CPUs.
Avoids inconsistent use of CPU_R2000 and CPU_R3000.
1996-10-07 02:17:33 +00:00
scottr
4d11703980
Disable 040 caches in doboot(), and some minor stylistic changes to make
...
the hand-coded assembly consistent throughout.
1996-10-07 01:37:20 +00:00
chuck
b10785c0e4
fix "control reaches end of non-void function" in check_eh() for -Werror.
1996-10-06 21:24:36 +00:00
thorpej
bc504916f3
Garbage-collect some sun3-specific stuff, add some debugging code,
...
and KNF.
1996-10-06 19:07:53 +00:00
thorpej
61a0ffca58
Fixup (unused) netstrategy() routine's calling convention (just returns
...
EIO). Garbage collect unused netioctl() - conf.c redirects netioctl()
to noioctl().
1996-10-06 19:07:00 +00:00
thorpej
a3c29be5e0
Fixup ctstrategy() calling convention. The standalone ct driver
...
works again.
1996-10-06 19:05:27 +00:00
cgd
c11ba5f711
key on ELF_TOOLCHAIN being defined (presumably in /etc/mk.conf)
...
to signal that the build is happening on a machine with an ELF
toolchain. This is temporary, until a better toolchain-recognition
scheme is worked out.
1996-10-06 18:32:22 +00:00
jonathan
71d4d3075e
Commit 1.2 release branch changes (1.6.4.1) back onto main branch.
1996-10-06 06:46:34 +00:00
jonathan
998ce62cdf
Update pmax drivers to use "const" on 2nd arg to cfprint_t:
...
turbocnhannel: include/tc_machdep.h, tc/tc_subr.c, tc/asic.c
kn01 baseboard: pmax/mainbus.c
1996-10-06 06:29:51 +00:00
mycroft
767522373b
If we get a RXRDY interrupt, but RXRDY is not set in the LSR, briefly set IER
...
to 0. This fixes a condition where some UARTs send an infinite stream of
RXRDY interrupts.
1996-10-06 01:52:26 +00:00
mycroft
d1f08e3e87
Serial console changes:
...
* Enable FIFO with trigger level 1.
* Set DTR and RTS so terminals are happy.
1996-10-06 01:46:04 +00:00
mycroft
6ea58d5fae
Serial console changes:
...
* Enable FIFO with trigger level 1.
* Set DTR and RTS so terminals are happy.
* Do not set IEN.
1996-10-06 01:42:45 +00:00
thorpej
67cd067f25
Nuke __BDEVSW_DUMP_OLD_TYPE.
1996-10-06 00:15:31 +00:00
thorpej
39cbdb7e9f
Fix kernel crash dumps. Still uses the old format for now.
1996-10-06 00:14:12 +00:00
mrg
6ad189ffbb
minor copyright update.
1996-10-05 23:50:49 +00:00
mrg
a632bcbe9c
update for kern/sa lib Makefile.inc changes.
1996-10-05 23:46:43 +00:00
mrg
7b71cdec46
minor copyright update.
1996-10-05 23:41:53 +00:00
leo
84ed172edb
Minimal bus.h. Together with the minimal pci implementation, we have just
...
enough functionality to find a VGA card....
Will be expanded when I buy more pci-cards ;-)
1996-10-05 21:45:30 +00:00
leo
080ee49d98
minimal pci support
1996-10-05 21:41:36 +00:00
thorpej
d01962702f
General cleanup:
...
- make a prototyping sweep
- do some garbage collection
- always print the status of enabling memory parity checking
Still some more to do.
1996-10-05 09:22:47 +00:00
thorpej
84b3384afb
Check for internal HP-IB in SYSFLAG much earlier (i.e. before the MMU
...
is turned on).
1996-10-05 09:19:58 +00:00
thorpej
f52b60c3a0
Prototype ledcontrol().
1996-10-05 09:18:22 +00:00
thorpej
2ec75a3c3c
Cast a volatile pointer to caddr_t for a call to badbaddr().
1996-10-05 09:17:38 +00:00
thorpej
a6a1f78d0c
Handle kernel trace traps and breakpoints like the Sun3 port:
...
- Only pass user trace traps and breakpoints on to trap().
Gets rid of some hair in the trace/breakpoint trap cases.
- Before entering the debugger, switch to a temporary
stack so that the debugger can alter the stack pointer.
- Add glue for KGDB (still not complete).
Some other minor cleanup:
- Protect against some bad pointer derefs.
- Be more a little more verbose when a fatal trap
occurs to aid debugging.
1996-10-05 07:24:10 +00:00
thorpej
8499e0131e
Handle kernel trace traps and breakpoints like the Sun3 port:
...
- Only pass user trace traps and breakpoints on to trap().
- Before entering the debugger, switch to a temporary
stack so that the debugger can alter the stack pointer.
- Add glue for KGDB (still not complete).
Clearly mark the MMU enable trampoline code.
1996-10-05 07:16:52 +00:00
thorpej
0ff075f6e7
Define FR_SIZE as sizeof(struct trapframe)
1996-10-05 07:11:44 +00:00
thorpej
2f9a90e967
Don't lower spl before calling main. For now, do it right before
...
calling hilinit(). Eventually, would like to enable them only after
autoconfiguration is finished.
1996-10-05 07:06:11 +00:00
scottr
d2be4a69c2
Expand tab in copyright message; it loses on some consoles.
1996-10-05 06:32:43 +00:00
thorpej
2793eb282e
If console is on an ite, make sure the HIL is initialized enough for
...
the keyboard to work. Fixes a bug where booting with `-d' worked
only on systems using a serial console.
While I'm here, eliminate some redundancy in the ite console intialization
code.
1996-10-05 05:22:04 +00:00
jtk
fb2727b7e6
update to compile; needs new enum name 'Elf_sht_progbits'
1996-10-05 00:12:49 +00:00
thorpej
5f728fb6de
Garbage-collect some now-unused PANICBUTTON code.
1996-10-04 22:22:15 +00:00
thorpej
608fae21af
Clean up handling of non-maskable interrupts.
1996-10-04 22:19:47 +00:00
thorpej
5c34a4ce35
Use FBTYPE_RESERVED3 for our `unknown' fbtype ... RESERVED1 seems to
...
have disappeared.
1996-10-04 20:35:53 +00:00
thorpej
3db7555465
Returning ENODEV is not correct in a poll entry point. Instead, since
...
read/write returns an error, use seltrue().
1996-10-04 20:34:33 +00:00