summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add rm -f /var/run/*.pid to prevent random process killing due toache1997-06-011-1/+2
| | | | picking old .pid file
* I've given up on the idea of sizing FIFO's. You can set it with a flagphk1997-06-013-204/+45
| | | | value now, if you know that you have a fifo deeper than 16.
* Don't use -fomit-frame-pointer for ipl_funcs.c if ${PROF} is nonempty,bde1997-06-012-14/+18
| | | | | | | | | | | | | | | is incompatible with -pg. (We use a different version of mcount for profiling frame-pointer-less assembler functions, but gcc doesn't know about this.) Added a missing dependency. Cleaned up trailing backslashes. Added comment about config's limitations/bugs handling dependencies and backslashe/newlines. Finished removing support for isdn drivers.
* Move "typedef struct intrec {} intrec" from sys/interrupt.h to kern_intr.cpeter1997-06-012-21/+21
| | | | | | since that's the only place that it's used. Submitted by: se (apparently on suggestion from dfr)
* on second thoughts, it doesn't even need <machine/ipl.h> either.peter1997-06-012-4/+2
|
* PCI_CLASS_MASS_STORAGE (under PCI_COMPAT) was used in a driver in LINTpeter1997-06-012-2/+4
| | | | still (stallion.c).
* <machine/spl.h> -> <machine/ipl.h>peter1997-06-012-4/+4
|
* typo fix, s/imp/inp'; move lookup call inside splnet since there werepeter1997-06-011-2/+2
| | | | comments on it being outside.
* Go directly to ST_STOPPED when a TerminateReq isbrian1997-06-011-3/+3
| | | | | | | | | received and after the TerminateAck is sent (as per rfc1661) rather than to ST_STOPPING. Going to ST_STOPPING will leave us in a state where we're waiting for the other side to do something - not a good idea, especially as the client side sends a TerminateReq then exits on idle timeout.
* Reduce MAX_M[RT]U back to 2048. Even on a null-modembrian1997-06-012-8/+6
| | | | | | | | ppp link, we gain nothing with a larger mtu. Suggested by: joerg Fix pred1 buffer size (must be == MAX_MTU)
* Add xref to signanosleep(2)peter1997-06-011-0/+1
|
* Doc signanosleep, add to linkspeter1997-06-012-4/+28
|
* Update the sleep(3)/usleep(3) code to use signanosleep(2) if compiled withpeter1997-06-012-17/+117
| | | | | | | -DUSE_NANOSLEEP. Also, seperate the code for _THREAD_SAFE so that it uses the simpler threaded nanosleep() call in libc_r.. We don't go to the same extremes for emulating traditional sleep semantics (ie: eating any SIGALRM that might happen) which things like apache seem to depend on.
* Generate signanosleep(2) syscall wrapperpeter1997-06-011-2/+3
|
* oops, fix a braino that I noticed during the commit.. Don't verify thepeter1997-06-011-5/+7
| | | | | remaining time pointer if it's NULL, since we don't write back in that case! (*blush*!)
* - implement signanosleep(2) by moving common code from nanosleep() into apeter1997-06-011-28/+102
| | | | | | | | shared function. - use p->p_sleepend to try and get more accurate "time remaining" results when the time has been adjusted. - verify writeability of return address so that we can fail before sleeping if the address for the result is bogus.
* Regeneratepeter1997-06-015-6/+16
|
* New syscall, signanosleep(), which is a hybrid of sigsuspend(2) andpeter1997-06-011-2/+3
| | | | | nanosleep(2). It sleeps until either the time expires, or a signal permitted by the supplied mask arrives (eg: SIGALRM if appropriate)
* New field: p_sleepend; so that settime() can adjust the expected wakeuppeter1997-06-011-1/+2
| | | | | | time for things like nanosleep. These sleep in terms of "ticks" and calculate the elapsed time relative to the expected wakeup time and do not return good results when the system time is adjusted.
* Create the release name of SNAPs automagically.joerg1997-06-011-2/+10
|
* Make this puppy compile again - add two includes.jkh1997-06-011-0/+2
|
* Remove initial startup printf's in -direct mode.brian1997-06-014-16/+25
| | | | Make "same magic" error send a NAK (as per rfc).
* Implement "set mtu" command to allow the client tobrian1997-06-015-14/+69
| | | | | | reduce the interface mtu. Allow max mru spec of 16k. Add "show m[rt]u" ability.
* Fix a typo.tegge1997-05-311-2/+2
| | | | Submitted by: Wolfgang Helbig <helbig@MX.BA-Stuttgart.De>
* specify compile-with option to get -fomit-frame-pointer on ipl_funcs.cpeter1997-05-312-4/+6
|
* Revert previous change, use "compile-with" in files.i386 instead.peter1997-05-313-15/+3
|
* Remove "set mtu ..." ability. Currently, this is anbrian1997-05-311-2/+2
| | | | | "alias" for "set mru ...", but there's no such thing as setting your mtu in the ppp protocol (rfc1661).
* Now understand password in ftp:// URLsache1997-05-311-25/+34
|
* Include file update: <machine/spl.h> --> <machine/ipl.h>.kato1997-05-312-1/+2
|
* Synchronize with following changes:kato1997-05-316-7/+13
| | | | | | | | > Revision Changes Path > 1.97 +2 -1 src/sys/i386/i386/trap.c > 1.86 +2 -1 src/sys/i386/isa/clock.c > 1.88 +2 -1 src/sys/i386/isa/isa.c > 1.44 +3 -2 src/sys/i386/isa/npx.c
* Synchronize with sys/i386/conf/files.i386 revision 1.162.kato1997-05-312-2/+4
|
* Synchronize with sys/i386/conf/Makefile.i386 revision 1.98.kato1997-05-312-2/+10
|
* Bruce mentioned to me that Paul Traina had noticed that the ppp_ttypeter1997-05-312-5/+13
| | | | | | | | | | | | interrupt mask hackery wasn't happening when being modloaded via the if_ppp lkm. It seems that the lkm system doesn't particularly like having two sets of load/unload/etc routines. :-] This really should be fixed by having a seperate if_ppp and ppp_tty lkm, but that requires that ppp_tty is loaded after if_ppp, and needs to be able to link with symbols in if_ppp. This gets messy, it is a better task for the in-kernel linker. (if_ppp is generic, ppp_tty is a tty-specific bottom end for if_ppp, it's not _too_ hard to have another "provider" (such as a hdlc sync card) connected to if_ppp)
* don't refer to SWI_*_MASK, it's not SMP/UP kernel portable for the lkm.peter1997-05-311-4/+3
|
* Add prototypes for the spl* funcs and add externs for *_imask. Leavingpeter1997-05-311-1/+39
| | | | | | the *_imask down in the isa machine dependent layers requires code changes to all pci drivers, but the interrupt registration mechanism is in flux at the moment. These can go away when the interface is cleaned and settled.
* s/intrmask/intrmask_t/gpeter1997-05-311-12/+4
| | | | | | | remove warning about ICU_LEN > 32, it's not likely to happen like this, and besides, ICU_LEN is not the ideal indicator of "number of interrupts". Reviewed by: bde, se
* <machine/spl.h> -> <machine/ipl.h>peter1997-05-311-10/+10
| | | | | | s/intrmask/intrmask_t/g Reviewed by: bde, se
* Include file updates.. <machine/spl.h> -> <machine/ipl.h>, addpeter1997-05-3119-28/+41
| | | | | <machine/ipl.h> to those files that were depending on getting SWI_* implicitly via <machine/cpufunc.h>
* add ipl_funcs.c (Hmm.. should probably use a "compile-with" arg ratherpeter1997-05-312-2/+4
| | | | than a Makefile.i386 hook)
* compile ipl_funcs.c with -fomit-frame-pointer, as suggested by Bruce. Thispeter1997-05-313-3/+15
| | | | cuts the cost of a function call instead of an inline.
* move spl.h to ipl.h, minus the inline spl macros. The inline splpeter1997-05-312-164/+62
| | | | | implementation is now in isa/ipl_funcs.c (at least for the time being), leaving the definitions of the SWI_* and cpl/idelayed/ipending.
* remove #include of <machine/spl.h> - they are externed nowpeter1997-05-312-6/+2
| | | | Reviewed by: bde
* move intrhand2_t from isa_device.h to machine/types.h - it's used far morepeter1997-05-312-9/+8
| | | | | | | | than in the isa dependent code. create intrmask_t in machine/types.h (replaces "intrmask" typedef from sys/interrupt.h) Reviewed by: bde
* Store the macro values for SWI_TTY_MASK and SWI_NET_MASK in variables topeter1997-05-311-1/+6
| | | | | | | | | that lkm's can use them for fiddling the masks without being dependent on which mode the kernel is compiled in (SMP or UP). This is particularly for ppp_tty.c which has some domain crossing between the net and tty subsystems. The values are not used in the spl code, they are for reference only (ie: the compiled code uses immediate values rather than an indirect 32 bit address and 32 bit data fetch).
* The SWI_NET_MASK and SWI_TTY_MASK handlers are now back adjacent to thepeter1997-05-318-27/+43
| | | | | | | | top of the hardware interrupt handlers. Apparently this is slightly faster with the bit scanning instruction that looks these up - this set of changes reverts the original change. Reviewed by: bde
* Bruce's original implementation of the splxxx() routines, but as C codepeter1997-05-311-0/+94
| | | | | | | | | | | | | rather than inlines. These are compiled with -fomit-frame-pointer and work out pretty close to the original routines, but it might be a fraction slower. The reason for doing this is to prevent the SWI_* and HWI_* values from being compiled into drivers and lkms etc which is one of the things that prevents the same lkm from being used on both SMP and UP kernels. This gives us a lot more scope for experimenting with the splxxx implementaton for SMP parallelism etc. Reviewed by: bde
* Bruce's original definitions for the spl/ipl code when running on the oldpeter1997-05-311-0/+35
| | | | | | PIC's. Reviewed by: bde
* Definitions for the spl/ipl code when running on an IO APIC.peter1997-05-311-0/+34
| | | | | Obtained from: fsmp (part of what Steve added for IO APIC support) Reviewed by: bde
* - Use `6x86MX' instead of `M2'. Cyrix officially use `6x86MX' for thekato1997-05-314-256/+422
| | | | | | | | | | | | | | CPU code-named `M2'. - Use the result of cpuid instruction instead of DIR to identify 6x86MX cpu. DIR0 and DIR1 are not documented in the data sheet, and cpuid instruction is enabled at reset time. - Add a function, init_6x86MX() to initialize 6x86MX cpu. It supports CPU_SUSP_HLT and CPU_IORT options. It always sets NC1 (640K - 1M is not cached.), and enables L1 cache in write-back mode. - Fix typo in the comment in identblue().
* Fix some old typos and misspellings.jdp1997-05-312-10/+10
|
OpenPOWER on IntegriCloud