Commit Graph

710 Commits

Author SHA1 Message Date
Rodney W. Grimes
9518d3aea0 >From Charles Hannum
Change movl %es: -2(reg) to use a subl $2,reg when fixing up the IDT
entries for bdb.  This seems to be the best way to go.

Some day soon #ifdef BDB all of Bruces debugger code.
1993-11-13 04:43:25 +00:00
David Greenman
0967373e1c First steps in rewriting locore.s, and making info useful
when the machine panics.

i386/i386/locore.s:
1) got rid of most .set directives that were being used like
	#define's, and replaced them with appropriate #define's in
	the appropriate header files (accessed via genassym).
2) added comments to header inclusions and global definitions,
	and global variables
3) replaced some hardcoded constants with cpp defines (such as
	PDESIZE and others)
4) aligned all comments to the same column to make them easier to
	read
5) moved macro definitions for ENTRY, ALIGN, NOP, etc. to
	/sys/i386/include/asmacros.h
6) added #ifdef BDE_DEBUGGER around all of Bruce's debugger code
7) added new global '_KERNend' to store last location+1 of kernel
8) cleaned up zeroing of bss so that only bss is zeroed
9) fix zeroing of page tables so that it really does zero them all
	- not just if they follow the bss.
10) rewrote page table initialization code so that 1) works correctly
	and 2) write protects the kernel text by default
11) properly initialize the kernel page directory, upages, p0stack PT,
	and page tables. The previous scheme was more than a bit
	screwy.
12) change allocation of virtual area of IO hole so that it is
	fixed at KERNBASE + 0xa0000. The previous scheme put it
	right after the kernel page tables and then later expected
	it to be at KERNBASE +0xa0000
13) change multiple bogus settings of user read/write of various
	areas of kernel VM - including the IO hole; we should never
	be accessing the IO hole in user mode through the kernel
	page tables
14) split kernel support routines such as bcopy, bzero, copyin,
	copyout, etc. into a seperate file 'support.s'
15) split swtch and related routines into a seperate 'swtch.s'
16) split routines related to traps, syscalls, and interrupts
	into a seperate file 'exception.s'
17) remove some unused global variables from locore that got
	inserted by Garrett when he pulled them out of some .h
	files.

i386/isa/icu.s:
1) clean up global variable declarations
2) move in declaration of astpending and netisr

i386/i386/pmap.c:
1) fix calculation of virtual_avail. It previously was calculated
	to be right in the middle of the kernel page tables - not
	a good place to start allocating kernel VM.
2) properly allocate kernel page dir/tables etc out of kernel map
	- previously only took out 2 pages.

i386/i386/machdep.c:
1) modify boot() to print a warning that the system will reboot in
	PANIC_REBOOT_WAIT_TIME amount of seconds, and let the user
	abort with a key on the console. The machine will wait for
	ever if a key is typed before the reboot. The default is
	15 seconds, but can be set to 0 to mean don't wait at all,
	-1 to mean wait forever, or any positive value to wait for
	that many seconds.
2) print "Rebooting..." just before doing it.

kern/subr_prf.c:
1) remove PANICWAIT as it is deprecated by the change to machdep.c

i386/i386/trap.c:
1) add table of trap type strings and use it to print a real trap/
	panic message rather than just a number. Lot's of work to
	be done here, but this is the first step. Symbolic traceback
	is in the TODO.

i386/i386/Makefile.i386:
1) add support in to build support.s, exception.s and swtch.s

...and various changes to various header files to make all of the
	above happen.
1993-11-13 02:25:21 +00:00
Garrett Wollman
d05214e6b4 Added /etc/config as a directory to be maintained. Also added RCS Id. 1993-11-12 20:21:00 +00:00
Nate Williams
45a409ee7b Update to GNU diffutils 2.6
(Forgot to cvs add them)
1993-11-12 07:06:35 +00:00
Nate Williams
c7ed70b75d Updated to GNU diffutils 2.6 1993-11-12 07:05:54 +00:00
Nate Williams
2839c0afd9 Update to GNU diffutils 2.6 1993-11-12 07:05:40 +00:00
Andrew Moore
32c96f840b Removed option to install FreeBSD alongside an existing *BSD
paritition, since disklabel cannot deal with this...
1993-11-12 04:58:31 +00:00
Garrett Wollman
833e2bc7aa Added more options and flags files per suggestions from -hackers. 1993-11-12 03:46:15 +00:00
Garrett Wollman
d94d9910ff Added configuration and flags files for most of the stuff in /etc/rc
and /etc/rc.local.  Unless somebody complains soon, I'll fix the Makefile
to install these and the rc files to use them.
1993-11-12 00:00:06 +00:00
Garrett Wollman
a2afa74527 Added RCS Id. Also changed comment to indicate that /etc/host.conf
determines when and how this file will be consulted.  Added comment to
the effect that (1) zero is not a vaild network number and (2) please
get a valid network number assigned by your provider or by the Internet
Registry.
1993-11-11 22:32:36 +00:00
Rodney W. Grimes
4fd8598445 >From: Adam David <adam@veda.is>
Date: Wed, 10 Nov 1993 00:51:19 GMT
Subject: typo in etc/gettytab

[editor: fix typo in comment about what things need turned off for
none crt entries]
1993-11-10 01:23:13 +00:00
Paul Richards
ff691de6a9 Added
.if !defined(NOPIC)
SUBDIR+= rtld
.endif

so linker can be built without building ld.so
1993-11-09 21:23:07 +00:00
Paul Richards
f1a0d2dfc6 Cahnged ldconfig.0 to ldconfig.8 for our man system. 1993-11-09 20:39:46 +00:00
Paul Richards
129619c245 Remoed -g flag and added -static. 1993-11-09 20:39:26 +00:00
Paul Richards
68fb91760f Added
SHLIB_MAJOR=0
SHLIB_MINOR=0
1993-11-09 20:25:14 +00:00
Paul Richards
bcd9d0cf11 Added -lgcc_pic to Makefile -- Why do we need this and NetBSD don't ??
Incorporated patch by Guido (inspired by Davidg) that fixes stack
problem. May not be final fix but it works more than the current method.
1993-11-09 04:44:30 +00:00
Paul Richards
bfa077712f shlib update:
Can get rid of local symbols with "ld -x -r" again.
Made LDSO #ifdef DEBUG.
1993-11-09 04:26:11 +00:00
Paul Richards
3923b0019c Updated to newest ld from pk.
lib.c:
Pull in archives containing definitions needed by shared objects.
warnings.c:
Less spurious "undefined symbol" msgs for shared library defined
symbols.
ld.c:
Do a better job of recognising data in text segments, eg. `const char []'.
shlib.c,ld/rtld/{Makefile rtld.c}
Use strsep() in stead of strtok() and restore colons in eg. env. vars.
1993-11-09 04:19:36 +00:00
Andrey A. Chernov
bde1866a63 Added octave-tracking.
Added the slur-mark feature.
Name of ioctl's include sys/spkr.h changed to machine/speaker.h
1993-11-09 02:38:17 +00:00
Andrey A. Chernov
e614aa8a3b Fixed minor bug in M[LSN] interpretation, added octave-tracking.
Added the slur-mark feature.
Name of ioctl's include sys/spkr.h changed to machine/speaker.h
1993-11-09 02:32:30 +00:00
Andrey A. Chernov
4649951014 Name of ioctl's include sys/spkr.h changed to machine/speaker.h 1993-11-09 02:31:53 +00:00
Andrew Moore
2fc79c3815 Applied David Greenman's hack to disable IRQ conflict checking
when COM_MULTIPORT is defined.
1993-11-09 02:12:36 +00:00
Andrey A. Chernov
840c9e583c Virtual consoles now ttyvX, not ttyXX (according to MAKEDEV) 1993-11-09 01:49:38 +00:00
Jordan K. Hubbard
fe40db7b2e Change from David Greenman to return properly unsigned irq. 1993-11-09 01:20:33 +00:00
Andrey A. Chernov
fe04cbf968 Add missing read flush code to siostop 1993-11-08 19:36:32 +00:00
Nate Williams
d88c633bca Removed some extra cruft from the man page to make it look more 'BSD'ish
and less 'GNU'ish
1993-11-08 17:11:29 +00:00
Nate Williams
beeaba5d6e Updated to GNU textutils 1.9 1993-11-08 17:09:50 +00:00
Nate Williams
250e001b2c Updated to GNU textutils-1.9 1993-11-08 17:07:38 +00:00
Rodney W. Grimes
e95e7fce8a Increase timeout in sd_start_unit procedure from 2000 to 6000, per Adam David 1993-11-08 12:11:01 +00:00
Andrew Moore
a59a0c2552 fixed conditional that caused install to see a DOS partition when none exists. 1993-11-08 03:58:31 +00:00
Nate Williams
c4b4b635be From: Larry Jones <scjones@thor.sdrc.com>
Subject: man pages for diff et al.

I finally got tired of not having man pages for diff and friends, so I
edited the appropriate sections of the texinfo manual into man format.
1993-11-08 01:36:04 +00:00
Garrett Wollman
9cad5725f1 Added the netrmp protocol from the Net/2 tape. While of dubious utility,
it's simple enough that it might actually work and be useful on some systems.
(That's more than you can say for netccitt or netimp!)
1993-11-07 22:54:51 +00:00
Garrett Wollman
f4639581fd Get rid of WFJ's use of sleep() for more user-friendly tsleep(). 1993-11-07 21:47:19 +00:00
Garrett Wollman
87e90eb9f3 Add options MACHVMCOMPAT and bump symtab space appropriately. 1993-11-07 21:46:25 +00:00
Garrett Wollman
83e26681ca Made all header files idempotent and moved incorrect common data from
headers into a related source file.
Deleted some very old device-specific headers for devices that we don't
support and likely never will.
1993-11-07 17:52:59 +00:00
Garrett Wollman
9e8258b56f Made all header files idempotent and moved incorrect common data from
headers into a related source file.
1993-11-07 17:51:34 +00:00
Garrett Wollman
13c0dce671 Made all header files idempotent and moved incorrect common data from
headers into a related source file.  Also fixed a bug in ed_probe() where
it was possible to fall off the end of the function
1993-11-07 17:44:34 +00:00
Garrett Wollman
6e393973f5 Made all header files idempotent and moved incorrect common data from
headers into a related source file.  Added cons.h as first step towards
moving i386/i386/cons.h to machine/cons.h where it belongs.
1993-11-07 17:43:17 +00:00
Garrett Wollman
e766e4d9f1 Made all header files idempotent and moved incorrect common data from
headers into a related source file.  (This is the only change to locore.s).
Also fixed pg() to be properly declared and use stdargs.
1993-11-07 17:41:36 +00:00
Garrett Wollman
cafa6f4851 Fixed comment. 1993-11-07 17:40:05 +00:00
Garrett Wollman
6437fb2c06 Make all headers idempotent. All incorrect common data moved out of header
files and into a related source file.
1993-11-07 17:39:25 +00:00
Garrett Wollman
024253188b Try to be a little smarter about touching the date on assym.s, so that
if something changes which doesn't affect it, locore doesn't have to get
rebuilt.  This is at the cost of a genassym and a cmp in every compile,
until someone can figure out how to make `make' smarter itself.
1993-11-07 16:46:33 +00:00
Garrett Wollman
aa2e423c8b Added some more defines that weren't there before. Also bumped up
symtab space again.
1993-11-07 16:44:40 +00:00
Garrett Wollman
3352eb489b Needed to bump up SYMTAB_SPACE again. (This really should be done by the
boot loader...)
1993-11-07 05:26:17 +00:00
Garrett Wollman
70176e63d6 Added CWARNFLAGS and COPTFLAGS defines to Makefile so that we can easily
test various warning and optimization compiler flags without modifying the
Makefile. (From my patch set.)
1993-11-07 04:41:11 +00:00
Paul Richards
727c7fbdc9 Added -lgcc_pic to LDFLAGS in rtld/Makefile 1993-11-07 03:25:25 +00:00
Paul Richards
423a102938 Removed install -d line since our install doesn't support the -d
option.
1993-11-07 03:05:40 +00:00
Garrett Wollman
d55a595346 Added a new flag variable to /etc/netstart, $sendmail_flags, which
gives the flags to be passed to sendmail when it is started.  (If it is
"NO", sendmail is not started.)  Also, always start the portmapper regardless
of the value of $nfs_server; this should prevent the inetd complaints we
have seen from recurring.
1993-11-07 01:19:06 +00:00
Garrett Wollman
5d00bb0d04 Added comment about how to enable NIS hostname resolution. 1993-11-07 01:02:57 +00:00
Garrett Wollman
224d664553 Commented out sortlist entry; most users aren't located at UCB and so
a different sortlist (if any) would be more appropriate.  Users should
configure manually.
1993-11-07 00:58:34 +00:00