aboutsummaryrefslogtreecommitdiff
path: root/sys/pc98
Commit message (Collapse)AuthorAgeFilesLines
* Merged from the following changes.Yoshihiro Takahashi2000-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 Notes: svn path=/head/; revision=68360
* Move suser() and suser_xxx() prototypes and a related #define fromPoul-Henning Kamp2000-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>. Notes: svn path=/head/; revision=67893
* Restore GDC mode to initial mode instead of 24KHz.Yoshihiro Takahashi2000-10-282-2/+2
| | | | | | | Submitted by: Tomokazu HARADA <tkhara@osk4.3web.ne.jp> Notes: svn path=/head/; revision=67788
* Fixed extention memory check routine.Yoshihiro Takahashi2000-10-283-4/+5
| | | | | | | Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) Notes: svn path=/head/; revision=67786
* Convert all users of fldoff() to offsetof(). fldoff() is badPoul-Henning Kamp2000-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 Notes: svn path=/head/; revision=67708
* As the blocking model has seems to be troublesome for many, disableMark Murray2000-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. Notes: svn path=/head/; revision=67689
* Catch up to the new swi code.John Baldwin2000-10-255-16/+4
| | | | | | | Noticed by: phk Notes: svn path=/head/; revision=67580
* - Overhaul the software interrupt code to use interrupt threads for eachJohn Baldwin2000-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 Notes: svn path=/head/; revision=67551
* Used kbio.h and consio.h instead of machine/console.h.KATO Takenori2000-10-204-6/+6
| | | | Notes: svn path=/head/; revision=67370
* Merged from sys/i386/isa/npx.c revision 1.86.KATO Takenori2000-10-201-1/+1
| | | | Notes: svn path=/head/; revision=67369
* Merged from sys/i386/isa/clock.c revision 1.160.KATO Takenori2000-10-203-9/+9
| | | | Notes: svn path=/head/; revision=67368
* Merged from sys/i386/i386/machdep.c revisions 1.417 and 1.418.KATO Takenori2000-10-202-34/+20
| | | | Notes: svn path=/head/; revision=67367
* Converted `da' and `wd' into `rda' and `rwd', respectively.KATO Takenori2000-10-181-2/+2
| | | | | | | Submitted by: MURAMATSU Atsushi <amura@ma3.seikyou.ne.jp> Notes: svn path=/head/; revision=67288
* Merged from sys/i386/i386/machdep.c revision 1.416.KATO Takenori2000-10-182-14/+18
| | | | Notes: svn path=/head/; revision=67282
* Remove unneeded #include <machine/clock.h>Poul-Henning Kamp2000-10-1513-13/+0
| | | | Notes: svn path=/head/; revision=67164
* Clean up as in isa/* - resource_query_string() loop cosmetic tweaks.Peter Wemm2000-10-153-9/+10
| | | | Notes: svn path=/head/; revision=67156
* Fixed warnings.Yoshihiro Takahashi2000-10-151-3/+1
| | | | Notes: svn path=/head/; revision=67154
* Fixed warnings.Yoshihiro Takahashi2000-10-159-44/+60
| | | | Notes: svn path=/head/; revision=67142
* Fixed include files to use sys/{cons,fb,kb}io.h instead ofKATO Takenori2000-10-095-7/+11
| | | | | | | machine/console.h. Notes: svn path=/head/; revision=66870
* Initiate deorbit burn sequence for <machine/mouse.h>.Poul-Henning Kamp2000-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. Notes: svn path=/head/; revision=66860
* Merged from sys/isa/sio.c revision 1.316.KATO Takenori2000-10-062-2/+2
| | | | Notes: svn path=/head/; revision=66738
* Merged from sys/i386/isa/npx.c revision 1.85.KATO Takenori2000-10-061-1/+1
| | | | Notes: svn path=/head/; revision=66737
* Merged from sys/i386/isa/clock.c revisions 1.158 and 1.159.KATO Takenori2000-10-063-348/+159
| | | | Notes: svn path=/head/; revision=66736
* Merged from sys/i386/i386/machdep.c revision 1.415.KATO Takenori2000-10-062-6/+12
| | | | Notes: svn path=/head/; revision=66735
* Merged from sys/i386/i386/machdep.c revision 1.414.KATO Takenori2000-10-032-2/+2
| | | | Notes: svn path=/head/; revision=66585
* Added NEC PC-9801-83, 84, PC-9801-103, 104, PC-9801N-25 and PC-9801N-J02RYoshihiro Takahashi2000-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 Notes: svn path=/head/; revision=66550
* Merged from sys/i368/i386/machdep.c revision 1.413.KATO Takenori2000-10-022-48/+8
| | | | Notes: svn path=/head/; revision=66536
* Big mbuf subsystem diff #1: incorporate mutexes and fix things up somewhatBosko Milekic2000-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? Notes: svn path=/head/; revision=66475
* Merged from sys/i386/i386/machdep.c revision 1.411.KATO Takenori2000-09-232-12/+2
| | | | Notes: svn path=/head/; revision=66294
* Merged from sys/i386/conf/GENERIC revision 1.279.KATO Takenori2000-09-231-4/+0
| | | | Notes: svn path=/head/; revision=66293
* Merged from sys/isa/sio.c revision 1.315.KATO Takenori2000-09-222-14/+52
| | | | Notes: svn path=/head/; revision=66250
* Merged from sys/i386/i386/machdep.c revision 1.410.KATO Takenori2000-09-222-0/+74
| | | | Notes: svn path=/head/; revision=66248
* Merged from sys/i386/conf/GENERIC revision 1.278.KATO Takenori2000-09-221-0/+1
| | | | Notes: svn path=/head/; revision=66247
* Merged from sys/isa/fd.c revision 1.187.KATO Takenori2000-09-152-2/+10
| | | | | | | Pointed out by: nyan Notes: svn path=/head/; revision=65878
* Merged from sys/i386/isa/sio.c revision 1.314.KATO Takenori2000-09-152-0/+2
| | | | Notes: svn path=/head/; revision=65877
* Merged from sys/i386/isa/clock.c revision 1.157.KATO Takenori2000-09-153-21/+21
| | | | Notes: svn path=/head/; revision=65876
* Merged from sys/i386/i386/machdep.c revision 1.408.KATO Takenori2000-09-152-12/+12
| | | | Notes: svn path=/head/; revision=65875
* Remove the mtx_t, witness_t, and witness_blessed_t types. Instead, justJohn Baldwin2000-09-142-4/+4
| | | | | | | | | use struct mtx, struct witness, and struct witness_blessed. Requested by: bde Notes: svn path=/head/; revision=65856
* - Changed the structure name (struct disk -> struct softc).Yoshihiro Takahashi2000-09-141-420/+61
| | | | | | | | - Converted to disk_create() interface. - Removed unnecessary code. Notes: svn path=/head/; revision=65831
* Merged from sys/isa/sio.c revision 1.312.KATO Takenori2000-09-132-0/+18
| | | | Notes: svn path=/head/; revision=65810
* Merged from sys/i386/conf/GENERIC revision 1.275.KATO Takenori2000-09-131-1/+1
| | | | Notes: svn path=/head/; revision=65809
* Merged from sys/i386/conf/GENERIC revision 1.274.KATO Takenori2000-09-131-1/+1
| | | | Notes: svn path=/head/; revision=65808
* Add the ability to define a "shutdown" and "shutdown and poweroff" keyDavid Malone2000-09-111-0/+12
| | | | | | | | | | | to syscons. I have a man page to follow describing the format of the kbdmap file. PR: 19273 Reviewed by: sheldonh Notes: svn path=/head/; revision=65759
* Merged from sys/isa/sio.c revisions 1.309 - 1.311.KATO Takenori2000-09-082-18/+50
| | | | Notes: svn path=/head/; revision=65611
* Merged from sys/i386/i386/machdep.c revision 1.407.KATO Takenori2000-09-082-2/+2
| | | | Notes: svn path=/head/; revision=65608
* Merged from sys/i386/i386/machdep.c revision 1.406.KATO Takenori2000-09-072-20/+54
| | | | Notes: svn path=/head/; revision=65569
* Merged from sys/isa/sio.c revision 1.306, 1.307 and 1.308.KATO Takenori2000-09-072-74/+220
| | | | Notes: svn path=/head/; revision=65568
* Merged from sys/i386/isa/npx.c revision 1.84.KATO Takenori2000-09-071-5/+13
| | | | Notes: svn path=/head/; revision=65567
* Merged from sys/i386/isa/clock.c revision 1.156.KATO Takenori2000-09-073-162/+327
| | | | Notes: svn path=/head/; revision=65566
* Merged from sys/i386/i386/machdep.c revision 1.405.KATO Takenori2000-09-032-0/+4
| | | | Notes: svn path=/head/; revision=65410