summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Use tsleep() rather than sleep so that 'ps' is more informative aboutdg1994-10-0631-86/+86
| | | | the wait.
* Steven Wallace provided a program which broke this stuff. I guess there arephk1994-10-061-1/+8
| | | | | | | more weird kinds of a.out than anyone can argue for. This code failed to load the first 28K of the text-segment, in the case where the first page of the a.out contains only the a.out-header, and the text is still at 0x0. Thanks Steven !
* 1. BOOTSEG and BOOTSTACK are now set from the Makefile, the boot code hasrgrimes1994-10-068-106/+112
| | | | | | | | | | | | | | | | | | | | | been relocated to run in the 64k segment at 0x10000 with the stack at the top of this segment. This corrects the problems machines with 512K base memory had booting. 2. startprog routing rewritten to convert the BOOTSEG ss to a KERNELSEG ss, this eliminated the last of the >512K memory references. Additional cleanup in here included a better way to copy the arguments to the kernel stack. 3. Elimination of argv and esym cruft saved a few bytes. 4. Only need to truncate the head.a_entry to a meg boundary once intead of every time we used it! [Saving more bytes]. 5. Addition of version 1 bootinfo structure support. These boot blocks pass the kernel name in to the kernel now. 6. Removed historical comments about MACH argv stuff, as it is useless now.
* 1. bootinfo.h defines the structure passed in to the kernel by thergrimes1994-10-061-0/+44
| | | | new boot code.
* 1. Eliminate unused esym global from locore, our boot code never supportedrgrimes1994-10-065-74/+161
| | | | | | | | | | | | | | | | | that and when it does it will be done differently. 2. The kernel now does a frame setup on entry so it ``looks'' like a real function call. This will be needed by future boot code and debuggers. 3. Clean up stack offsets to all be in decimal and use %ebp when copying parameters in from the boot code. 4. Implement version 1 of the uniform boot code passing mechanism with support for kernelname passing and nfs_diskless structure passing. 5. Document the 3 different ways the kernel is called depending on what code is calling it.
* Define a new macro. PSEUDO_SET, to hide TEXT_SET(pseudo_set, foo)wollman1994-10-051-1/+3
| | | | from users. Eventually this will be used for LKM support.
* Install line discipline the new way.wollman1994-10-052-15/+19
|
* Allow for loadable line disciplines (eventually).wollman1994-10-051-35/+12
|
* A number of bug-fixes inspired by Mark Treacy:wollman1994-10-053-10/+32
| | | | | | | | | | | - Allow PPP to run multicasts natively. - Deal properly with lots of similarly-named interfaces. - Don't sign-extend if_flags. NB: the last fix (to rtsock.c) must be reversed when we expand if_flags to a reasonable size. Submitted by: Mark Treacy
* Stuff object into v_vmdata rather than pager. Not important which atdg1994-10-0513-125/+207
| | | | | | | the moment, but will be in the future. Other changes mostly cosmetic, but are made for future VMIO considerations. Submitted by: John Dyson
* Fixed minor bug caused by some missing parens that can result in slightlydg1994-10-051-2/+2
| | | | | reduced paging performance by missing a clustering opportunity. Found by Poul-Henning Kamp with gcc -Wall.
* David Greenman told me to do this: (Thanks!) use vm_allocate to allocatephk1994-10-051-5/+5
| | | | | | the uncompression buffer. Now malloc(M_GZIP) is used for all the Huffman- tree stuff only. Numbers so far indicate < 15Kb Malloc use + 32 Kb for the abovementioned buffer while uncompressing.
* Add code to handle CPU_DISRTCSETache1994-10-042-4/+8
|
* Add disable_rtc_set variable to block resettodr() call, needed forache1994-10-045-10/+30
| | | | adjkerntz -i, per Bruce suggestion
* CPU_DISRTCSET added to disable resettodr(), needed in adjkerntz -i,ache1994-10-042-4/+8
| | | | per Bruce suggestion
* USE_RTC_CENTURY addedache1994-10-043-3/+12
|
* RTC_CENTURY usage ifdefed out by USE_RTC_CENTURY compile option,ache1994-10-045-5/+45
| | | | pointed by Bruce
* John Dyson's work in progress. Not currently used.dg1994-10-041-0/+389
|
* Added M_GZIP for the imgact_gzip code. The gzip-code is likely to be usedphk1994-10-042-8/+17
| | | | for other weird things in the future (hint, hint!)
* Moved m_copyback into uipc_mbuf.cphk1994-10-042-55/+55
|
* In sd_get_params() the timeout for the MODE_SENSE command was toorgrimes1994-10-041-2/+2
| | | | | | short. I changed it from 2000 to 4000 and now my disk works fine. Submitted by: John Hay <jhay@mikom.csir.co.za>
* Pull in 1.1.5.1 changes to sd.c from 1.23 to 1.27 (basically the fixes forrgrimes1994-10-041-2/+5
| | | | | | | drives that return sector counts of 0 and cause division by 0 traps during the probe). Reviewed by: Dave <root@hclb.demon.co.uk> Obtained from: FreeBSD 1.1.5.1
* Commented out anti-paging code as it was found to be the cause of adg1994-10-041-3/+3
| | | | buffer deadlock.
* Based on the applause (in this case: not downright rejection :-) I havephk1994-10-041-53/+67
| | | | | | | | | | | | | | | | | cleaned up much of the cruft in this thing. No printf's in the case where things go well. Gzip-headers can contain filenames and comments (as long as they're shorter than the page-size.) I don't think we leak memory, in the "exec/aout" code. I'm not quite sure about the inflate code yet, but I don't think memory is lost. Q: Can I add a class M_GZIP to <sys/malloc.h> and bump M_LAST one up without any thing else needing tweaking ? Poul-Henning
* Fixed bug related to proper sensing of page modification that wedg1994-10-041-8/+9
| | | | | | | inadvertantly introduced in pre-1.1.5. This could cause page modifications to go unnoticed during certain extreme low memory/high paging rate conditions. Submitted by: John Dyson and David Greenman
* First bug-fix. This this depends on something odd. I am looking at it,phk1994-10-031-3/+9
| | | | but every now and then it will fail without an explanation :-(
* Put genassym: back how it was originally, the real bug was in mkdep.rgrimes1994-10-033-6/+6
|
* I added "pserudo-device gzip" as default.phk1994-10-035-5/+13
|
* dependency for genassym was wrong, there is never made a genassym.o file.phk1994-10-033-6/+6
| | | | made i depend on the src.
* Changed the imgact_gzip to "optional gzip" per David Greenman's request.phk1994-10-031-1/+1
|
* ***phk1994-10-031-0/+1456
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WARNING: THIS MATERIAL MIGHT GO AWAY! This material needs the core-groups approval to stay here for the 2.0 release. If the core-group does not concent to this commit, it will be backed out. *** It is a non-gpl'ed "unzip" which will allow execution of a.out files which have been sent through "gzip -9". The idea being saved disk-space. Just now this code has quality rating: "working prototype". To compress a file to be used with this, do it exactly this way: gzip -9 -v < /bin/FOO > /tmp/FOO remember to chmod /tmp/FOO as needed. DON'T compress all of you binaries right away ! There are several things which you should consider first: 1. Using compressed binaries, you use >MUCH< more VM, and thus swap-space. 2. It is slow. 3. It might crash your machine. Apart from that, I welcome comments... NB: There is also a change to sys/conf/files, but cvs core-dumped on me, so it didn't get into the logs or emailed, but the commit seems to have happended OK.
* ***phk1994-10-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | WARNING: THIS MATERIAL MIGHT GO AWAY! This material needs the core-groups approval to stay here for the 2.0 release. If the core-group does not concent to this commit, it will be backed out. *** It is a non-gpl'ed "unzip" which will allow execution of a.out files which have been sent through "gzip -9". The idea being saved disk-space. Just now this code has quality rating: "working prototype". To compress a file to be used with this, do it exactly this way: gzip -9 -v < /bin/FOO > /tmp/FOO remember to chmod /tmp/FOO as needed. DON'T compress all of you binaries right away ! There are several things which you should consider first: 1. Using compressed binaries, you use >MUCH< more VM, and thus swap-space. 2. It is slow. 3. It might crash your machine. Apart from that, I welcome comments...
* Fix 'cursor-disappearce-after-switching-screen-from-X' bugache1994-10-033-6/+6
|
* Add VMIN/VTIME supportache1994-10-031-18/+131
| | | | Obtained from: scratch :-)
* genassym: depends on Makefile and genassym.o, genassym.o dependicies arergrimes1994-10-023-6/+6
| | | | picked up from .depend.
* In case CWARNFLAGS and COPTFLAGS are already defined (from /etc/make.confphk1994-10-023-3/+15
| | | | for instance), don't nuke them.
* (There's two of these now (Am7990.h and am7990.h) and they need topaul1994-10-022-0/+334
| | | | | | | | | | | | be merged at some point) New AMD family ethernet driver. Should support BICC,NE2100, TNIC, AT1500 and anything else that uses a Lance/PCnet type chip. Only been tested with the BICC so far though. Still work to do on performance and MULTICAST support needs to be added but it's basically working and I want the revision history from this point on
* New AMD family ethernet driver. Should support BICC,NE2100, TNIC,paul1994-10-025-0/+4229
| | | | | | | | | AT1500 and anything else that uses a Lance/PCnet type chip. Only been tested with the BICC so far though. Still work to do on performance and MULTICAST support needs to be added but it's basically working and I want the revision history from this point on
* Add back and correct declaration of m_copyback()dg1994-10-021-1/+2
|
* Avoid ddb getting a panic if the code-segment isn't the usual one...phk1994-10-023-12/+15
|
* Patch from HOSOKAWA Tatsumi to fix bug in the size of apm_current_gdt_pdescdg1994-10-023-6/+6
| | | | Submitted by: HOSOKAWA Tatsumi
* GCC cleanup.phk1994-10-0224-148/+156
| | | | | | Reviewed by: Submitted by: Obtained from:
* Ripped out APM-hooks. Not ready for prime time yet.phk1994-10-024-87/+4
|
* Ripped out a lot of stuff made to circumvent the previous bogus assy stuff.phk1994-10-022-644/+276
| | | | | Ripped out the "hooks". Until we know how we want to do it, we shouldn't start hacking anyway. Still panics my machine though.
* All of this is cosmetic. prototypes, #includes, printfs and so on. Makesphk1994-10-0236-675/+918
| | | | GCC a lot more silent.
* apm_bios.h: removed the equiv-stuff. Not needed now that the kernel modulephk1994-10-025-12/+15
| | | | | | works correctly. clock.h & reg.h: prototypes.
* Unused variables, except one with a omnious comment.phk1994-10-022-30/+20
|
* Prototyping and general gcc-shutting up. Gcc has one warning now which looksphk1994-10-0236-483/+1186
| | | | bad, I will get to it eventually, unless somebody beats me to it.
* Prototypes, prototypes and even more prototypes. Not quite done yet, butphk1994-10-0220-41/+152
| | | | getting closer all the time.
* Make fat cursor as early as possible, per Bruce suggestionache1994-10-023-18/+6
|
OpenPOWER on IntegriCloud