Commit Graph

4962 Commits

Author SHA1 Message Date
jonathan
8e556dece3 Change default optimization level from -O to -O2. 1995-06-09 06:44:41 +00:00
phil
9999c610fb Updated To.Do 1995-06-09 06:03:45 +00:00
phil
36c6fc31be Various updates for the new NCR scsi driver and tweeks to the interrupt
code. (From Matthias Pfaller)
1995-06-09 05:59:56 +00:00
phil
a8674363a7 Replacement of the NCR driver by the Leo Weppelman NCR driver as
ported by Matthias Pfaller (Thanks to both!) and a RCS id.
1995-06-09 04:36:14 +00:00
briggs
d37674426a "Always compile before you commit." 1995-06-09 02:19:47 +00:00
briggs
90caf013ba In the interrupt routine, bail out if we've not been initialized, yet. 1995-06-08 12:52:02 +00:00
cgd
e58dfa2a1a make match/attach routines and cfdriver struct mi 1995-06-07 07:06:16 +00:00
cgd
d4f62dcb69 update from Ignatios Souvatzis 1995-06-07 00:13:52 +00:00
pk
a47021162b Prototype sysarch(2) (Thorsten Lockert, PR#1096) 1995-06-05 19:36:23 +00:00
ragge
215feb7abb New file pcb.h. USRTEXT changed to 0x400. 1995-06-05 17:17:57 +00:00
ragge
3c6303e76b Enabled auto reboot. Fixed bug in conf.c. Started use of rpb.
Detecting kernel stack overflow. Removed local mapping of
sigtramp code. Frob kernel stack pages in cpu_swapin().
Cleaned up some code and changed to KNF.
1995-06-05 16:26:23 +00:00
pk
bf834e228d Add UNION option. 1995-06-05 12:46:31 +00:00
mycroft
ee9e2e35fa Increase the delay after pulsing the keyboard reset line. 1995-06-05 03:47:51 +00:00
mycroft
1922f9e648 Use the memory mapping set up by the BIOS. 1995-06-05 03:07:34 +00:00
mycroft
4ea6427a03 Increase size of imask[]. Sigh. 1995-06-04 20:22:50 +00:00
mycroft
bd99191320 IPL_IMP includes IPL_NET, IPL_BIO, and possibly IPL_TTY. 1995-06-04 08:32:24 +00:00
mycroft
8bb190daa3 Add a separate IPL_IMP, used by splimp(). 1995-06-04 08:29:41 +00:00
mycroft
d4e9fde6e5 Handle most of the address fixups during bootstrap with a macro. 1995-06-02 18:14:04 +00:00
pk
c86cba88fe Update SCSI decls. 1995-06-02 17:53:51 +00:00
mycroft
3126edd708 Arrest the KNF policeman. 1995-06-02 17:51:21 +00:00
gwr
788562b9ed Use the exec header left by the boot program to validate the
symbol table size, and then preserve symbols for ddb.
1995-06-02 16:46:18 +00:00
gwr
3fda1f293a Keep the exec header so the kernel can find it. 1995-06-02 16:44:20 +00:00
pk
c0c45bba22 Try to recover from multi-byte messages sent by a target for which we
get an "Illegal command" (why is this?) when we try to pull it in.
On detection of this condition, we reset the SCSI bus and simply stop asking
this target for an identify messages, for now.
1995-06-02 15:46:47 +00:00
pk
4770e5e7c5 Try to recover from multi-byte messages sent by a target for which we
get an "Illegal command" (why is this?) when we try to pull it in.
On detection of this condition, we reset the SCSI bus and simply stop asking
this target for an identify messages, for now.
1995-06-02 13:43:30 +00:00
brezak
cfe5401c83 Integrate patch from Lon Willett that is part of release 3.20 1995-06-02 02:48:41 +00:00
gwr
73a128e326 Add a man page. 1995-06-02 00:22:47 +00:00
gwr
f38968b1dd boot --> ufsboot 1995-06-01 21:15:20 +00:00
gwr
7f6fe50cb7 clean up import conflicts 1995-06-01 21:03:07 +00:00
gwr
a48381d6df Make this build in libsa 1995-06-01 20:44:40 +00:00
gwr
506236d9e5 Booting from ufs works now. 1995-06-01 20:37:44 +00:00
gwr
81c8755972 Moved to ufsboot 1995-06-01 20:26:32 +00:00
gwr
9b910268e1 Better reset code, and reset the chip when it goes comatose. 1995-06-01 20:22:17 +00:00
mycroft
d69f7885b7 Allow [nh]to[hn][ls]() to do constant folding. 1995-06-01 17:19:18 +00:00
pk
8066369f08 Deal with v.3 proms (sigh). 1995-06-01 14:36:17 +00:00
cgd
b86de4fbbd invoke shutdown hooks 1995-05-31 20:45:14 +00:00
jonathan
ae4eae4f63 Change reference in asm code from `__mcount'' to `___mcount'', to be
consistent with the (default) prepending of underscores to identifiers.

Because this reference is inside an ASM string it's too hairy to
conditionalize to support different toolchains that don't prepend underscores.
(Just don't do profiling with  such  toolchains.)
1995-05-31 00:25:06 +00:00
jonathan
8a93b408d6 Fix BPF bit-rot in receive side of pmax/dev/if_le.c: prepend ether header. 1995-05-31 00:15:46 +00:00
briggs
0b3271404c Make genassym depend on its C source. 1995-05-31 00:09:55 +00:00
pk
ff6265b288 Remove useless msgbufmapped definition.
Two cases of incorrect addressing while not mapped at KERNBASE.
Some more sun4m stuff.
1995-05-30 20:29:42 +00:00
gwr
d992496652 New version that supports writing a Sun disklabel (rewritten). 1995-05-30 15:38:14 +00:00
gwr
68950abf69 Make sure curpcb is up-to-date before possibly copying it.
Let child start at spl0 (just like system call entry).
1995-05-30 15:36:58 +00:00
gwr
3b4e8765b5 Take care of curpcb->pcb_ps in vm_machdep, and use appropriate IPL.
Add missing line accidently dropped near the end of cpu_switch().
1995-05-30 15:32:37 +00:00
pk
95fcffe527 eeprom device for Sun4 from Jason Thorpe. 1995-05-29 23:56:27 +00:00
pk
555da07c0f eeprom device (from Jason Thorpe). 1995-05-29 23:53:50 +00:00
hpeyerl
f6d7cb01ee Check curproc != NULL before PMAP_ACTIVATE.
From Chuck Cranor <chuck@maria.wustl.edu>
1995-05-29 19:36:22 +00:00
leo
74d95b443e Add CLKBROKEN define, so GEM version that are 2 years off on the RTC can
be identified.
1995-05-28 21:02:21 +00:00
leo
e4b2ec5091 Add emulator. 1995-05-28 19:58:18 +00:00
leo
1579fb8674 Add HZ=64, remove FPCOPROC. 1995-05-28 19:56:14 +00:00
leo
c21a70ad06 Define a config for the kernel on the boot-floppy. It should be resonably
small and boot on both TT and Falcon.
1995-05-28 19:53:48 +00:00
leo
d8cb2b8dfa According to diffs from Waldi Raven:
Make speed/clock-source selection smarter. This makes the baudrates more
 accurate and allows speeds upto 115k baud.
1995-05-28 19:50:26 +00:00
leo
27a11d1735 Remove the pointer to view_t from the grf-structure, use viewview(dev)
to obtain the pointer instead. This removes a kernel-crash that happened
when something was written to the console while the console was being
resized.
1995-05-28 19:45:36 +00:00
leo
d66ffa3fe1 Use <dev/ic/mc146818.h>. Change systemclock settings. Usable values for
HZ are now 48/64/96.  This reduces the interrupt overhead, because we
don't need the extra division by 4 in the interrupt handler.
1995-05-28 19:38:49 +00:00
leo
04246ac4f8 Add emulation traps. 1995-05-28 19:33:13 +00:00
leo
b88f1c35c4 Remove FPCOPROC use fputype instead. 1995-05-28 19:31:50 +00:00
leo
896cbdecbf - Remove FPCOPROC ifdef's. Make fpu code dependant on fputype.
- Change clock interrupt handler: remove extra division by 4.
1995-05-28 19:17:54 +00:00
leo
0a93016a82 Define T_FPEMUL? for locore.s 1995-05-28 19:14:30 +00:00
leo
25b59487ea Add FS_OTHER type partitions to 'user-partitions' 1995-05-28 19:11:51 +00:00
leo
a0f558aed0 Make ST_POOL_SIZE configurable through config. 1995-05-28 19:10:17 +00:00
ragge
ae74b4ebab Changed *_MIN to be correct. 1995-05-28 18:38:30 +00:00
leo
633db03b5b Check for a different year-base in the RTC. 1995-05-28 10:56:16 +00:00
pk
06ffffda03 Propagate bootpaths 1995-05-27 08:12:51 +00:00
gwr
4dbca7a672 Cleanup in cpu_fork - remove use of curproc
Startup code now ensures proc0pcb is valid.
1995-05-26 17:20:30 +00:00
gwr
851d298eea Add a comment 1995-05-26 17:17:47 +00:00
gwr
17f5406aea Initialize proc0pcb.sr here (before cpu_fork copies it). 1995-05-26 17:09:37 +00:00
briggs
81712d5ba7 Make a diagnostic message DIAGNOSTIC. 1995-05-25 11:48:06 +00:00
mycroft
22aa7c18f0 Update curpcb before possibly copying it. 1995-05-25 01:11:29 +00:00
mycroft
8e18358c86 Make sure proc0's md_regs is initialized. 1995-05-25 01:09:10 +00:00
gwr
5adf2494d3 Update cpu_fork() to eliminate double mapping of kernel stacks. 1995-05-24 21:08:42 +00:00
gwr
bf7679cb99 Add child_return() 1995-05-24 21:07:46 +00:00
gwr
55cb8a7f53 Add missing conditional (thanks to Jason Thorpe)
Add pmap_collect()
1995-05-24 21:06:40 +00:00
gwr
fc49efe441 Make this more like the other m68k ports. 1995-05-24 21:04:51 +00:00
gwr
179595bf13 Add FPF_REGS and FPF_FPCR for FPU save/restore code. 1995-05-24 21:02:53 +00:00
gwr
7554244ef3 Make struct cpu_disklabel hold the Sun disk label. 1995-05-24 21:00:15 +00:00
gwr
b2b4514bbc Define struct saif 1995-05-24 20:58:05 +00:00
gwr
bbabbc2614 Sunc with sparc version (adds key repeat capability) 1995-05-24 20:57:00 +00:00
gwr
6867f7fcbd Update cpu_fork() to eliminate double mapping of kernel stacks. 1995-05-24 20:55:33 +00:00
gwr
6e6f7ede65 Improve probe (should reject "sc" board now) 1995-05-24 20:52:27 +00:00
gwr
51e2d10bd0 Sunc with sparc version (adds key repeat capability) 1995-05-24 20:51:31 +00:00
gwr
20f34f40d2 Turn off IFF_MULTICAST for now... 1995-05-24 20:49:38 +00:00
gwr
29e0f797d4 Fix missing return(0) - from Jason Thorpe - fixes PR 1049 1995-05-24 20:47:41 +00:00
gwr
a5e62834f4 Merged locore code back into locore.s 1995-05-24 20:42:13 +00:00
gwr
23718d5ee4 Merged locore code back into locore.s 1995-05-24 20:29:16 +00:00
gwr
ea63c8d798 Fix range check for kernel stack pointers. 1995-05-24 20:23:34 +00:00
gwr
31870d2eec Compute value of ssp correctly. 1995-05-24 20:23:05 +00:00
hpeyerl
caef1dfaa2 KNF police. 1995-05-24 13:12:12 +00:00
cgd
471cfd3fc5 define pcicd, pciattach() here now. 1995-05-23 03:43:58 +00:00
leo
631261a801 Set A2 to PS_STRINGS. 1995-05-21 13:55:16 +00:00
leo
a1006d16dd ite_newsize(): Do not reallocate a display when the actual display mode
will be the same. Fixes a nasty bug where ite0 and ite1 share the same
bitmap.
1995-05-21 11:00:13 +00:00
leo
c8ca7ae526 Fix UL-handling 1995-05-21 10:56:54 +00:00
leo
13f71a235d Add prototype for grf_get_best_mode() 1995-05-21 10:55:57 +00:00
leo
02dd55abb3 - Add grf_get_best_mode()
- Only update 'real' colormap when actually displaying
- Fix TT-HIGH video mode
1995-05-21 10:54:44 +00:00
leo
555b2f67be Minor fixes. 1995-05-21 10:52:18 +00:00
leo
fc0c4cd1b9 Get syscall() code in sync with the rest of the world. 1995-05-21 10:50:41 +00:00
leo
de6e84e901 Fixup free_stmem(). 1995-05-21 10:48:53 +00:00
leo
d6b3669598 Remove icode, it doesn't seem to be used. 1995-05-21 10:45:59 +00:00
pk
92414dd1c7 Use a different method to discriminate a 82077 from a 82072 (from Chris Torek);
using the NE7CMD_VERSION command is too unreliable.
1995-05-20 20:03:37 +00:00
pk
c3d5b45b6e Name fd register structures more appropriately. 1995-05-20 19:59:52 +00:00
pk
b4cf60ac8a cpu_swapout() not needed after all. 1995-05-19 06:57:41 +00:00
mycroft
5ea2d5e6a6 Clean up the FPU state more thoroughly on exec. 1995-05-18 18:59:16 +00:00
cgd
abdf873225 remove these at paulus's request. There's only one da30 in existence,
and he's planning on taking it out of service.
1995-05-17 08:30:58 +00:00