summaryrefslogtreecommitdiffstats
path: root/sys/pc98
Commit message (Collapse)AuthorAgeFilesLines
* MFi386: revisions from 1.342 to 1.344nyan2002-06-191-0/+2
|
* Backout previous change and merge from sys/dev/sio/sio.c revision 1.375.nyan2002-06-192-12/+46
|
* Merged from sys/isa/fd.c revision 1.233.nyan2002-06-192-86/+58
|
* Make the speed used by gdb over serial settable in the kernel configuration.n_hibma2002-06-182-30/+52
| | | | | | This facilitates the use in circumstances where you are using a serial console as well. GDB doesn't support anything higher than 9600 baud (19k2 if you are lucky), but the console does.
* Fix typo in the BSD copyright: s/withough/without/schweikh2002-06-022-2/+2
| | | | | Spotted and suggested by: des MFC after: 3 weeks
* MFi386: revision 1.519nyan2002-05-142-2/+2
|
* Merged from sys/isa/fd.c revisions from 1.229 to 1.232.nyan2002-05-142-36/+130
|
* Merged from sys/dev/syscons/syscons.c revision 1.384nyan2002-05-141-1/+2
|
* Typo fix: detects -> detect.jmallett2002-05-031-1/+1
| | | | Reviewed by: phk
* Don't export timecounter structures under debug. with sysctl, theyphk2002-04-303-18/+0
| | | | contain no truly interesting data anymore.
* Tidy up some loose ends.peter2002-04-292-4/+4
| | | | | | | | | | | | i386/ia64/alpha - catch up to sparc64/ppc: - replace pmap_kernel() with refs to kernel_pmap - change kernel_pmap pointer to (&kernel_pmap_store) (this is a speedup since ld can set these at compile/link time) all platforms (as suggested by jake): - gc unused pmap_reference - gc unused pmap_destroy - gc unused struct pmap.pm_count (we never used pm_count - we track address space sharing at the vmspace)
* Simplify the RFC2783 and PPS_SYNC timestamp collection API.phk2002-04-262-14/+4
|
* Remove the tc_update() function. Any frequency change to thephk2002-04-263-6/+0
| | | | | | timecounter will be used starting at the next second, which is good enough for sysctl purposes. If better adjustment is needed the NTP PLL should be used.
* MFi386: revision 1.339.nyan2002-04-251-1/+1
|
* Merged from sys/dev/syscons/syscons.c revision 1.383nyan2002-04-251-2/+2
|
* Rework the kernel environment subsystem. We now convert the staticmux2002-04-172-2/+4
| | | | | | | | | | | | | | | | | environment needed at boot time to a dynamic subsystem when VM is up. The dynamic kernel environment is protected by an sx lock. This adds some new functions to manipulate the kernel environment : freeenv(), setenv(), unsetenv() and testenv(). freeenv() has to be called after every getenv() when you have finished using the string. testenv() only tests if an environment variable is present, and doesn't require a freeenv() call. setenv() and unsetenv() are self explanatory. The kenv(2) syscall exports these new functionalities to userland, mainly for kenv(1). Reviewed by: peter
* MFi386: revision 1.517.kato2002-04-112-10/+18
|
* GC various bits and pieces of USERCONFIG from all over the place.phk2002-04-093-14/+0
|
* GC the "dumplo" variable, which is no longer used.phk2002-04-072-2/+0
| | | | A lot of sys/*/*/machdep.c seems not to be.
* Merged from sys/dev/syscons/syscons.c revisions 1.381 and 1.382.nyan2002-04-061-1/+6
|
* Merged from sys/isa/fd.c revision 1.228.nyan2002-04-062-2/+2
|
* Merged from sys/dev/sio/sio.c revisions 1.370 and 1.371.nyan2002-04-062-20/+108
|
* Change callers of mtx_init() to pass in an appropriate lock type name. Injhb2002-04-044-6/+8
| | | | | | | most cases NULL is passed, but in some cases such as network driver locks (which use the MTX_NETWORK_LOCK macro) and UMA zone locks, a name is used. Tested on: i386, alpha, sparc64
* Moved signal handling and rescheduling from userret() to ast() so thatbde2002-04-042-0/+4
| | | | | | | | | | | they aren't in the usual path of execution for syscalls and traps. The main complication for this is that we have to set flags to control ast() everywhere that changes the signal mask. Avoid locking in userret() in most of the remaining cases. Submitted by: luoqi (first part only, long ago, reorganized by me) Reminded by: dillon
* Dike out a highly insecure UCONSOLE option.ru2002-04-031-1/+0
| | | | | | TIOCCONS must be able to VOP_ACCESS() /dev/console to succeed. Obtained from: OpenBSD
* - Move the MI mutexes sched_lock and Giant from being declared in thejhb2002-04-022-20/+2
| | | | | | | | | | various machdep.c's to being declared in kern_mutex.c. - Add a new function mutex_init() used to perform early initialization needed for mutexes such as setting up thread0's contested lock list and initializing MI mutexes. Change the various MD startup routines to call this function instead of duplicating all the code themselves. Tested on: alpha, i386
* Change the suser() API to take advantage of td_ucred as well as do ajhb2002-04-018-21/+21
| | | | | | | | | | | | general cleanup of the API. The entire API now consists of two functions similar to the pre-KSE API. The suser() function takes a thread pointer as its only argument. The td_ucred member of this thread must be valid so the only valid thread pointers are curthread and a few kernel threads such as thread0. The suser_cred() function takes a pointer to a struct ucred as its first argument and an integer flag as its second argument. The flag is currently only used for the PRISON_ROOT flag. Discussed on: smp@
* MFi386: revision 1.508.kato2002-03-312-16/+24
|
* MFi386: revision 1.506.nyan2002-03-302-8/+18
|
* MFi386: revision 1.507.kato2002-03-272-2/+2
|
* Compromise for critical*()/cpu_critical*() recommit. Cleanup the interruptdillon2002-03-275-10/+51
| | | | | | | | | | | | | | | | | | | disablement assumptions in kern_fork.c by adding another API call, cpu_critical_fork_exit(). Cleanup the td_savecrit field by moving it from MI to MD. Temporarily move cpu_critical*() from <arch>/include/cpufunc.h to <arch>/<arch>/critical.c (stage-2 will clean this up). Implement interrupt deferral for i386 that allows interrupts to remain enabled inside critical sections. This also fixes an IPI interlock bug, and requires uses of icu_lock to be enclosed in a true interrupt disablement. This is the stage-1 commit. Stage-2 will occur after stage-1 has stabilized, and will move cpu_critical*() into its own header file(s) + other things. This commit may break non-i386 architectures in trivial ways. This should be temporary. Reviewed by: core Approved by: core
* Push BIO_FORMAT into a local hack inside the floppy drivers wherephk2002-03-262-0/+2
| | | | it belongs.
* Merged from sys/dev/sio/sio.c revisions 1.366 and 1.369.nyan2002-03-252-4/+20
|
* Merged from sys/dev/syscons/syscons.c revision 1.379.nyan2002-03-251-0/+1
|
* Fix style.nyan2002-03-254-31/+23
|
* MFi386: revision 1.65.kato2002-03-201-5/+2
|
* Remove __P.kato2002-03-2017-215/+215
|
* Remove __P.kato2002-03-201-7/+7
|
* MFi386: revision 1.505 (remove __P.)kato2002-03-202-12/+12
|
* MFi386: revision 1.504.kato2002-03-202-20/+8
|
* MFi386: revision 1.503.kato2002-03-202-120/+46
|
* Use the dx register for the destination port address. A immediate portnyan2002-03-131-2/+5
| | | | | | | address of outb is only 8 bits. Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) MFC after: 3 days
* MFi386: revision 1.502nyan2002-03-132-0/+8
|
* Free allocated buffer at siodetach().nyan2002-03-102-0/+8
| | | | MFC after: 3 days
* MFi386: revision 1.501nyan2002-03-102-2/+2
|
* - The pc98_ttspeedtab() function returns an error status instead of a divisor,nyan2002-03-082-32/+32
| | | | | | and sets a divisor to the third argument. - The second argument of the pc98_set_baud_rate() function is changed from int to u_int.
* MFi386: revision 1.125nyan2002-03-081-0/+20
|
* MFi386: revision 1.498.nyan2002-03-022-4/+4
|
* Simple p_ucred -> td_ucred changes to start using the per-thread ucredjhb2002-02-271-1/+1
| | | | reference.
* Disksort will not "munge" requests, BIO_ORDERED or not, so removephk2002-02-222-8/+4
| | | | use of BIO_ORDERED.
OpenPOWER on IntegriCloud