summaryrefslogtreecommitdiffstats
path: root/sys/pc98
Commit message (Collapse)AuthorAgeFilesLines
* Merged from sys/i386/conf/GENERIC revisions 1.292 - 1.294.kato2000-12-161-2/+1
|
* Merged from sys/i386/i386/machdep.c revision 1.425.kato2000-12-162-8/+30
|
* Removed the VoxWare sound drivers.nyan2000-12-102-40/+4
|
* Fixed to support 3Com 3C569B for PC-98.nyan2000-12-091-4/+0
| | | | Submitted by: "Hirokazu WATANABE" <gwna@geocities.co.jp>
* Convert more malloc+bzero to malloc+M_ZERO.dwmalone2000-12-088-22/+12
| | | | | Submitted by: josh@zipperup.org Submitted by: Robert Drehmel <robd@gmx.net>
* Staticize some malloc M_ instances.phk2000-12-081-1/+1
|
* Merged from sys/i386/isa/clock.c revision 1.164.kato2000-12-053-0/+15
|
* Merged from sys/i386/i386/machdep.c revision 1.424.kato2000-12-052-28/+0
|
* Don't use p->p_sigstk.ss_flags to keep state of whether themarcel2000-11-302-10/+34
| | | | | | | | | | | | | | | process is on the alternate stack or not. For compatibility with sigstack(2) state is being updated if such is needed. We now determine whether the process is on the alternate stack by looking at its stack pointer. This allows a process to siglongjmp from a signal handler on the alternate stack to the place of the sigsetjmp on the normal stack. When maintaining state, this would have invalidated the state information and causing a subsequent signal to be delivered on the normal stack instead of the alternate stack. PR: 22286
* Merged from sys/i386/i386/userconfig.c revision 1.185.kato2000-11-291-2/+1
|
* Make diskerr() always log with printf.phk2000-11-264-5/+5
|
* Merged from sys/i386/i386/machdep.c revision 1.422.kato2000-11-262-2/+2
|
* Lock down the network interface queues. The queue mutex must be obtainedjlemon2000-11-252-28/+16
| | | | | | | | | | | | | | before adding/removing packets from the queue. Also, the if_obytes and if_omcasts fields should only be manipulated under protection of the mutex. IF_ENQUEUE, IF_PREPEND, and IF_DEQUEUE perform all necessary locking on the queue. An IF_LOCK macro is provided, as well as the old (mutex-less) versions of the macros in the form _IF_ENQUEUE, _IF_QFULL, for code which needs them, but their use is discouraged. Two new macros are introduced: IF_DRAIN() to drain a queue, and IF_HANDOFF, which takes care of locking/enqueue, and also statistics updating/start if necessary.
* Merged from sys/i386/i386/machdep.c revision 1.421.kato2000-11-202-0/+4
|
* Merged from the following changes.nyan2000-11-058-54/+184
| | | | | | | | | | sys/conf/Makefile.i386 1.211 sys/conf/files.i386 1.329 sys/isa/fd.c 1.186, 1.188 and 1.189 sys/isa/sio.c 1.305 and 1.317 sys/i386/conf/GENERIC 1.270, 1.281, 1.282 and 1.284 sys/i386/i386/machdep.c 1.419 sys/i386/i386/userconfig.c 1.184
* Move suser() and suser_xxx() prototypes and a related #define fromphk2000-10-291-1/+0
| | | | | | | | | <sys/proc.h> to <sys/systm.h>. Correctly document the #includes needed in the manpage. Add one now needed #include of <sys/systm.h>. Remove the consequent 48 unused #includes of <sys/proc.h>.
* Restore GDC mode to initial mode instead of 24KHz.nyan2000-10-282-2/+2
| | | | Submitted by: Tomokazu HARADA <tkhara@osk4.3web.ne.jp>
* Fixed extention memory check routine.nyan2000-10-283-4/+5
| | | | Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
* Convert all users of fldoff() to offsetof(). fldoff() is badphk2000-10-272-4/+0
| | | | | | | | | | | | | | | | | | | | | | | because it only takes a struct tag which makes it impossible to use unions, typedefs etc. Define __offsetof() in <machine/ansi.h> Define offsetof() in terms of __offsetof() in <stddef.h> and <sys/types.h> Remove myriad of local offsetof() definitions. Remove includes of <stddef.h> in kernel code. NB: Kernelcode should *never* include from /usr/include ! Make <sys/queue.h> include <machine/ansi.h> to avoid polluting the API. Deprecate <struct.h> with a warning. The warning turns into an error on 01-12-2000 and the file gets removed entirely on 01-01-2001. Paritials reviews by: various. Significant brucifications by: bde
* As the blocking model has seems to be troublesome for many, disablemarkm2000-10-271-0/+1
| | | | | | | it for now with an option. This option is already deprecated, and will be removed when the entropy-harvesting code is fast enough to warrant it.
* Catch up to the new swi code.jhb2000-10-255-16/+4
| | | | Noticed by: phk
* - Overhaul the software interrupt code to use interrupt threads for eachjhb2000-10-255-29/+29
| | | | | | | | | | | | | | | | | | | type of software interrupt. Roughly, what used to be a bit in spending now maps to a swi thread. Each thread can have multiple handlers, just like a hardware interrupt thread. - Instead of using a bitmask of pending interrupts, we schedule the specific software interrupt thread to run, so spending, NSWI, and the shandlers array are no longer needed. We can now have an arbitrary number of software interrupt threads. When you register a software interrupt thread via sinthand_add(), you get back a struct intrhand that you pass to sched_swi() when you wish to schedule your swi thread to run. - Convert the name of 'struct intrec' to 'struct intrhand' as it is a bit more intuitive. Also, prefix all the members of struct intrhand with 'ih_'. - Make swi_net() a MI function since there is now no point in it being MD. Submitted by: cp
* Used kbio.h and consio.h instead of machine/console.h.kato2000-10-204-6/+6
|
* Merged from sys/i386/isa/npx.c revision 1.86.kato2000-10-201-1/+1
|
* Merged from sys/i386/isa/clock.c revision 1.160.kato2000-10-203-9/+9
|
* Merged from sys/i386/i386/machdep.c revisions 1.417 and 1.418.kato2000-10-202-34/+20
|
* Converted `da' and `wd' into `rda' and `rwd', respectively.kato2000-10-181-2/+2
| | | | Submitted by: MURAMATSU Atsushi <amura@ma3.seikyou.ne.jp>
* Merged from sys/i386/i386/machdep.c revision 1.416.kato2000-10-182-14/+18
|
* Remove unneeded #include <machine/clock.h>phk2000-10-1513-13/+0
|
* Clean up as in isa/* - resource_query_string() loop cosmetic tweaks.peter2000-10-153-9/+10
|
* Fixed warnings.nyan2000-10-151-3/+1
|
* Fixed warnings.nyan2000-10-159-44/+60
|
* Fixed include files to use sys/{cons,fb,kb}io.h instead ofkato2000-10-095-7/+11
| | | | machine/console.h.
* Initiate deorbit burn sequence for <machine/mouse.h>.phk2000-10-091-1/+1
| | | | | | | | | | Replace all in-tree uses with <sys/mouse.h> which repo-copied a few moments ago from src/sys/i386/include/mouse.h by peter. This is also the appropriate fix for exo-tree sources. Put warnings in <machine/mouse.h> to discourage use. November 15th 2000 the warnings will be converted to errors. January 15th 2001 the <machine/mouse.h> files will be removed.
* Merged from sys/isa/sio.c revision 1.316.kato2000-10-062-2/+2
|
* Merged from sys/i386/isa/npx.c revision 1.85.kato2000-10-061-1/+1
|
* Merged from sys/i386/isa/clock.c revisions 1.158 and 1.159.kato2000-10-063-348/+159
|
* Merged from sys/i386/i386/machdep.c revision 1.415.kato2000-10-062-6/+12
|
* Merged from sys/i386/i386/machdep.c revision 1.414.kato2000-10-032-2/+2
|
* Added NEC PC-9801-83, 84, PC-9801-103, 104, PC-9801N-25 and PC-9801N-J02Rnyan2000-10-023-0/+7
| | | | | | | | support which use National Semiconductor DP8393X (SONIC) as ethernet controller. Currently, this driver is used on only PC-98. Submitted by: Motomichi Matsuzaki <mzaki@e-mail.ne.jp> Obtained from: NetBSD/pc98
* Merged from sys/i368/i386/machdep.c revision 1.413.kato2000-10-022-48/+8
|
* Big mbuf subsystem diff #1: incorporate mutexes and fix things up somewhatbmilekic2000-09-302-26/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to accomodate the changes. Here's a list of things that have changed (I may have left out a few); for a relatively complete list, see http://people.freebsd.org/~bmilekic/mtx_journal * Remove old (once useful) mcluster code for MCLBYTES > PAGE_SIZE which nobody uses anymore. It was great while it lasted, but now we're moving onto bigger and better things (Approved by: wollman). * Practically re-wrote the allocation macros in sys/sys/mbuf.h to accomodate new allocations which grab the necessary lock. * Make sure that necessary mbstat variables are manipulated with corresponding atomic() routines. * Changed the "wait" routines, cleaned it up, made one routine that does the job. * Generalized MWAKEUP() macro. Got rid of m_retry and m_retryhdr, as they are now included in the generalized "wait" routines. * Sleep routines now use msleep(). * Free lists have locks. * etc... probably other stuff I'm missing... Things to look out for and work on later: * find a better way to (dynamically) adjust EXT_COUNTERS * move necessity to recurse on a lock from drain routines by providing lock-free lower-level version of MFREE() (and possibly m_free()?). * checkout include of mutex.h in sys/sys/mbuf.h - probably violating general philosophy here. The code has been reviewed quite a bit, but problems may arise... please, don't panic! Send me Emails: bmilekic@freebsd.org Reviewed by: jlemon, cp, alfred, others?
* Merged from sys/i386/i386/machdep.c revision 1.411.kato2000-09-232-12/+2
|
* Merged from sys/i386/conf/GENERIC revision 1.279.kato2000-09-231-4/+0
|
* Merged from sys/isa/sio.c revision 1.315.kato2000-09-222-14/+52
|
* Merged from sys/i386/i386/machdep.c revision 1.410.kato2000-09-222-0/+74
|
* Merged from sys/i386/conf/GENERIC revision 1.278.kato2000-09-221-0/+1
|
* Merged from sys/isa/fd.c revision 1.187.kato2000-09-152-2/+10
| | | | Pointed out by: nyan
* Merged from sys/i386/isa/sio.c revision 1.314.kato2000-09-152-0/+2
|
* Merged from sys/i386/isa/clock.c revision 1.157.kato2000-09-153-21/+21
|
OpenPOWER on IntegriCloud