summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Changes preparing for iBCS supportsos1994-08-248-48/+69
| | | | | Reviewed by: Submitted by:
* Changes preparing for iBCS supportsos1994-08-242-8/+6
| | | | | Reviewed by: Submitted by:
* New file declaring the sysent structuressos1994-08-241-0/+58
| | | | | Reviewed by: Submitted by:
* Changes preparing for iBCS2 supportsos1994-08-242-2/+16
| | | | | Reviewed by: Submitted by:
* Added iBCS2 filessos1994-08-242-66/+94
| | | | | Reviewed by: Submitted by:
* Pay attention to *all* errors from copyinstr(). This patch fixes a bugdg1994-08-241-8/+16
| | | | | that causes a no-panic instant reboot when bogus argv/envvs are fed to execve().
* Initialized v_writecount.dg1994-08-242-4/+6
|
* Corrected some comments regarding ptes/pdes.dg1994-08-232-6/+6
|
* Re-enabled inlining of inb.paul1994-08-232-22/+6
| | | | | | | | | | Changed u_int_inb to just inb and deleted define. The code generated is identical to that generated with the cast so the problem was obviously fixed at some point after gcc 1.4 Reviewed by: Submitted by:
* I've disabled this piece of code since it's what'spaul1994-08-232-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hosing syscons. Doesn anyone know anything about this or can we just delete it now? /* * This roundabout method of returning a u_char helps stop gcc-1.40 from * generating unnecessary movzbl's. */ #ifdef disable_for_gcc-2_6_0 #define inb(port) ((u_char) u_int_inb(port)) #endif static inline u_int u_int_inb(u_int port) { u_char data; /* * We use %%dx and not %1 here because i/o is done at %dx and not at * %edx, while gcc-2.2.2 generates inferior code (movw instead of movl) * if we tell it to load (u_short) port. */ __asm __volatile("inb %%dx,%0" : "=a" (data) : "d" (port)); return data; } Reviewed by: Submitted by:
* I was in bourne-shell mode when I wrote this.. *blush*.jkh1994-08-233-9/+12
| | | | Submitted by: jkh
* Ran ft.c through ident.paul1994-08-2315-1744/+1776
| | | | | | | | | | | | | Added a missing #ifdef INET wrapper in lpt.c Main change: Removed the timeout_func_t casts from timeout calls and correctly defined the timeout routines to conform to the new format. lpt.c doesn't have this change. Reviewed by: Submitted by:
* Fix the libkern references to hopefully DTRT. See comments regardingjkh1994-08-233-21/+63
| | | | | | a slight change in how profiled version is selected - may need to adjust some .mk macros if PROF is foolishly initialized anywhere to a null value. Submitted by: jkh
* remove unnecessary occurrence ofcsgr1994-08-221-5/+1
| | | | | | | | #ifndef _SYS_TTYCHARS_H_ #define _SYS_TTYCHARS_H_ ... #endif Submitted by: Geoff
* print "BUSY" instead of error number if filesystem was busy duringdg1994-08-222-10/+26
| | | | | vfs_unmountall() - this is the most common case. If it was a different error, then print the error number.
* Restore the intr_* array variables that were removed in the previousbde1994-08-221-1/+5
| | | | | | | | | | | | revision. They caused redundant redeclaration warnings because I forgot to declare them as extern and gcc-2.6.0 treats "extern int x[];" slightly different from "int x[];" (this is probably a bug). The new versions will cause RR warnings from gcc-2.4.5 because it does not understand that the second declaration in "extern int x[]; int x[1];" is not redundant. The variables don't actually need to be declared in a header file because they are used in only one C source file and one assembler source file, but I want all public variables and comments about them to be findable by grepping *.h.
* Pad `_cpu_vendor' to finish on a 32-bit boundary so that most of thebde1994-08-223-9/+9
| | | | locore globals aren't misaligned.
* Idempotency #endif was not at end of file or commented.bde1994-08-221-3/+3
|
* - Fix warnings in df, etc. caused by misplaced declaration of doumount().bde1994-08-221-4/+4
| | | | - Fix bogus comments caused by misplaced #endif.
* - Fix attribute for __pure2.bde1994-08-221-3/+3
| | | | - Update name of idempotency identifier in comment to match code.
* modified include stucture to 2.0 style.sos1994-08-221-2/+3
| | | | | Reviewed by: Submitted by:
* Fixed minor typo in diagnostic message.dg1994-08-222-4/+4
|
* Added (timeout_func_t) casts to timeout/utimeoute calls.paul1994-08-212-25/+21
| | | | | Reviewed by: Submitted by:
* Another typo by mepaul1994-08-211-3/+3
| | | | | Reviewed by: Submitted by:
* Remove the idempotency I added -- it was wrong.paul1994-08-211-6/+1
| | | | | Reviewed by: Submitted by:
* Fix typo (define -> ifndef)paul1994-08-211-2/+2
| | | | | Reviewed by: Submitted by:
* Removed disk type from disklabel lines, not needed for installingpaul1994-08-212-6/+6
| | | | | | | bootblocks. Reviewed by: Submitted by:
* Fixed bootblocks to work with FreeBSD 2.0paul1994-08-218-32/+46
| | | | | | | | | | | | | 1) Fixed up some header locations 2) Replaced list of boot files with /kernel 3) Changed disklabel use in Makefile to conform to 4.4 4) Added size command in Makefile to get close estimate of bootblock sizes. Total size of text and data must be below 64K, slightly overestimated since a.out header subsequently gets stripped. 5) Various buffer sizes are set to 8192 bytes in sys.c. In 4.4 MAXBSIZE is set to 64K which is too big for the bootblocks to deal with. Submitted by: Paul Richards
* Made idempotentpaul1994-08-2117-24/+93
| | | | | Reviewed by: Submitted by:
* Made idempotentpaul1994-08-211-1/+6
| | | | | Reviewed by: Submitted by:
* More idempotency....... this is fun :-)paul1994-08-2123-23/+134
|
* Made idempotent.paul1994-08-2111-11/+66
| | | | Submitted by: paul
* Made idempotent -- made some of them more consistent with rest of tree.paul1994-08-2128-109/+175
| | | | | Reviewed by: Submitted by:
* Made idempotentpaul1994-08-219-10/+52
|
* Made idempotent.paul1994-08-2121-21/+122
| | | | Submitted by: Paul
* Make idempotent.paul1994-08-2115-22/+85
| | | | Submitted by: Paul
* Made idempotent.paul1994-08-218-14/+46
| | | | | Reviewed by: Submitted by:
* Made them all idempotent.paul1994-08-2150-55/+293
| | | | | Reviewed by: Submitted by:
* Implemented filesystem clean bit via:dg1994-08-2015-65/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | machdep.c: Changed printf's a little and call vfs_unmountall() if the sync was successful. cd9660_vfsops.c, ffs_vfsops.c, nfs_vfsops.c, lfs_vfsops.c: Allow dismount of root FS. It is now disallowed at a higher level. vfs_conf.c: Removed unused rootfs global. vfs_subr.c: Added new routines vfs_unmountall and vfs_unmountroot. Filesystems are now dismounted if the machine is properly rebooted. ffs_vfsops.c: Toggle clean bit at the appropriate places. Print warning if an unclean FS is mounted. ffs_vfsops.c, lfs_vfsops.c: Fix bug in selecting proper flags for VOP_CLOSE(). vfs_syscalls.c: Disallow dismounting root FS via umount syscall.
* 1) cleaned up after Garrett - fixed more redundant declarations, changeddg1994-08-2027-107/+58
| | | | | | | | use of timeout_t -> timeout_func_t in aha1542 and aha1742 drivers. 2) fix a bug in the portalfs that was uncovered by better prototyping - specifically, the time must be converted from timeval to timespec before storing in va_atime. 3) fixed/added some miscellaneous prototypes
* Woops...forgot to commit this file. Part of Terry Lambert's loadable kerneldg1994-08-201-0/+363
| | | | module support, with NetBSD improvements.
* Removed bogus save of CMAP2.dg1994-08-193-12/+3
|
* Reviewed by:ats1994-08-191-3/+3
| | | | | | Corrected a little typo in a comment. Throw out the typedef timeout_t with an ifdef __FreeBSD__, it is already defined in sys/systm.h .
* Hmmm...my workaround for Garrett's new exec prototypes wasn't sufficient.dg1994-08-191-3/+3
| | | | | I guess we'll have to not specify what the args to the exec functions are.
* Terry Lambert's loadable kernel module support w/improvements from thedg1994-08-1912-28/+1080
| | | | NetBSD group.
* 1. Make this idempotent.jkh1994-08-192-2/+18
| | | | | | | | | | | | | | | | | | 2. Hack. Hack is to define RCSID() to null macro so that new msun stuff will compile. This does NOT belong here, and I DON'T want it to stay, I just need to put this here for now to enable msun and we need to talk about what our RCSID story is supposed to be. We talked about supporting RCSID() one day, and everyone seemed to like the idea reasonably well of making it a macro you could just no-op this way, but we never did anything. Now I see that JTCs code has it and I'm loath to remove it or do anything until we've discussed it some more. Well, so how about it? What's our story vis-a-vis RCSID() going to be? Submitted by: jkh
* Smash together Poul-Henning's, Garrett's and Steve Gerakines 24f changesjkh1994-08-191-66/+264
| | | | | | | into one, hopefully functioning, Ultrastore driver. Any Ultrastore owners out there - please speak up! We need to test this puppy. Reviewed by: Submitted by:
* Added my ProAudioSpectum SCSI driver for cards with the 5380 SCSI-chip.phk1994-08-198-6/+1168
| | | | | | | | | | | | This is the slowest and most stupid of our SCSI-drivers, but it is there and it works. It has been tested with CD-ROM and disk. It uses no interrupts, no DMA, just polled I/0. Transfer-rate is <= 100Kbyte/sec. If you set the jumpers on the board, you can change the unit-number and you will be able to have four of these co-exist in one computer, why one would do that is somewhat unclear though. If I ever get my hand on the docs for this, I will improve it of course, but for now we can install and access those CD-ROMs.
* Added {} around two initializers for spare[2] in some structs. This calmsphk1994-08-183-9/+9
| | | | down -Wall a little bit.
* Fix up some sloppy coding practices:wollman1994-08-18104-385/+378
| | | | | | | | | | | | - Delete redundant declarations. - Add -Wredundant-declarations to Makefile.i386 so they don't come back. - Delete sloppy COMMON-style declarations of uninitialized data in header files. - Add a few prototypes. - Clean up warnings resulting from the above. NB: ioconf.c will still generate a redundant-declaration warning, which is unavoidable unless somebody volunteers to make `config' smarter.
OpenPOWER on IntegriCloud