summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Bruce was right, stupid device returns non-busy state too early,ache1994-08-282-16/+12
| | | | add only one DELAY(10) after inb(non_busy) now
* Reformat recent additions to the same style as the original.bde1994-08-281-10/+8
|
* Don't test if a u_int is < 0. The remaining test is sufficient and thebde1994-08-283-6/+6
| | | | extra one caused a warning.
* Update declarations for timeout stuff the same as for the other SCSIbde1994-08-281-3/+4
| | | | drivers.
* Made a little more up to date.dg1994-08-283-12/+48
|
* ddb ps function from 1.1.5. Moved into its own file and cleaned up a bitdg1994-08-271-0/+79
| | | | by me.
* Updated this a bit. It's still woefully out of date.dg1994-08-273-39/+21
|
* 1) Changed ddb into a option rather than a pseudo-device (use options DDBdg1994-08-2725-126/+130
| | | | | | | | | | in your kernel config now). 2) Added ps ddb function from 1.1.5. Cleaned it up a bit and moved into its own file. 3) Added \r handing in db_printf. 4) Added missing memory usage stats to statclock(). 5) Added dummy function to pseudo_set so it will be emitted if there are no other pseudo declarations.
* Continue previous fix:ache1994-08-272-6/+10
| | | | Add MIN_DELAY definition instead of hard-coded 10
* 1) Raw partition number was incorrectly 0, changed to 3ache1994-08-272-10/+44
| | | | | | 2) DELAY(1) does nothing, it affects audio playing f.e: driver can't play second half of disk, changed to DELAY(10) 3) Debugging messages #ifdef DEBUGed
* Obey RFC 793, section 3.4:wollman1994-08-263-5/+6
| | | | | | | | | Several examples of connection initiation follow. Although these examples do not show connection synchronization using data-carrying segments, this is perfectly legitimate, so long as the receiving TCP doesn't deliver the data to the user until it is clear the data is valid (i.e., the data must be buffered at the receiver until the connection reaches the ESTABLISHED state).
* Added ntp_gettime and ntp_adjtime syscalls, both nosys'ed out untilwollman1994-08-264-9/+13
| | | | | someone gets to re-integrating the code. ntp_gettime() should be turned into a sysctl variable and emulated in the library.
* Bring back our support for 57K and 115K.jkh1994-08-261-1/+3
| | | | Submitted by: jkh
* Oops didn't check that init_sysent.c was generated proberly. Fixed.sos1994-08-262-4/+4
| | | | | Reviewed by: Submitted by:
* Changes to new sysent structure. TODO MOD_EXEC support.sos1994-08-261-12/+17
| | | | | Reviewed by: Submitted by:
* Add timex.h for xntpd. The system calls will have to wait for tomorrow,jkh1994-08-261-0/+290
| | | | | when I'm less sleepy. Submitted by: jkh
* Methinks p_sysent should be in the copy-on-fork rather than thewollman1994-08-251-3/+3
| | | | | zero-on-fork section of the struct proc. (At least, my system won't boot unless it is.)
* Add Charles Martin Hannum to copyright notice so he can stop whining andwollman1994-08-252-202/+218
| | | | | | find something useful to do other than taking credit for other people's work. Also make the 3C507 bits match the indentation style of the rest of the code.
* Stop cvs up -P from removing empty compile directories.paul1994-08-251-0/+0
| | | | | Reviewed by: Submitted by:
* Added ${MACHINE}/boot to build bootblocks.paul1994-08-251-2/+2
| | | | Submitted by: Paul Richards
* Updated to final 1.1.5 version (revision 1.56).bde1994-08-253-1413/+1524
| | | | | | | | | | | | | | | | Merged changes from 2.0 version (revisions 1.46-1.50) by hand. Finished conversion to clists: removed flush of tty output buffer in comflush() (most writes were truncated to 256 bytes) and restored bypass of ttyinput() in siopoll(). Finished conversion to 2.0 types - more void *'s, less caddr_t's, less casts, no Dev_t's. Only these things are seriously broken now compared with 1.1.5: waiting for output complete is impossible so ttywait() can deadlock; sioclose() isn't called enough so sioopen() sometimes returns EBUSY unnecessarily; input flow control is not implemented.
* Support speeds 57600 and 115200.bde1994-08-251-12/+16
| | | | Privatize functions.
* Reviewed by:ats1994-08-242-2/+6
| | | | | Submitted by: Add the elink.c file to the necessary modules for the ie and ep driver.
* Reviewed by:ats1994-08-246-6/+424
| | | | | | | | | Submitted by: Add the 3com 3C507 card to the if_ie.c driver. The files elink.c and elink.h are helding routines that are shared between the 3C507 and the 3C509/3C579. if_ie507.h are constant declarations unique to the 3C507. The code is based on the NetBSD driver if_ie.c donated to NetBSD by Rafal Boni and then modified by Charles Hannum.
* 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:
OpenPOWER on IntegriCloud