summaryrefslogtreecommitdiffstats
path: root/sys/i386
Commit message (Collapse)AuthorAgeFilesLines
* A set of changes to reduce the number of include files the kerneljulian2001-07-082-2/+2
| | | | | | takes from /usr/include. I cannot check them on alpha.. (will try beast) Briefly looked at by: Warner Losh <imp@harmony.village.org>
* Move vm_page_zero_idle() from machine-dependant sections to adillon2001-07-051-61/+0
| | | | | machine-independant source file, vm/vm_zeroidle.c. It was exactly the same for all platforms and updating them all was getting annoying.
* Reorg vm_page.c into vm_page.c, vm_pageq.c, and vm_contig.c (for contigmalloc).dillon2001-07-041-1/+1
| | | | | | | | | | | Also removed some spl's and added some VM mutexes, but they are not actually used yet, so this commit does not really make any operational changes to the system. vm_page.c relates to vm_page_t manipulation, including high level deactivation, activation, etc... vm_pageq.c relates to finding free pages and aquiring exclusive access to a page queue (exclusivity part not yet implemented). And the world still builds... :-)
* With Alfred's permission, remove vm_mtx in favor of a fine-grained approachdillon2001-07-046-41/+22
| | | | | | | | | (this commit is just the first stage). Also add various GIANT_ macros to formalize the removal of Giant, making it easy to test in a more piecemeal fashion. These macros will allow us to test fine-grained locks to a degree before removing Giant, and also after, and to remove Giant in a piecemeal fashion via sysctl's on those subsystems which the authors believe can operate without Giant.
* Make the code to read the kernel message buffer via sysctl machine-tmm2001-07-031-42/+0
| | | | | independent and rename the corresponding sysctls from machdep.msgbuf and machdep.msgbuf_clear (i386 only) to kern.msgbuf and kern.msgbuf_clear.
* Add Transmeta Crusoe LongRun support.iwasaki2001-07-031-0/+198
| | | | | | Submitted by: Tamotsu HATTORI <athlete@kta.att.ne.jp> Reviewed by: arch@ folks MFC after: 1 week
* Quiet warning by removing ast() prototype.jhb2001-07-031-1/+0
| | | | Forgotten by: jhb (me)
* Allow Giant to be recursed when a process terminates.jhb2001-07-031-2/+2
|
* gif(4) and stf(4) modernization:brooks2001-07-021-1/+1
| | | | | | | | | | | - Remove gif dependencies from stf. - Make gif and stf into modules - Make gif cloneable. PR: kern/27983 Reviewed by: ru, ume Obtained from: NetBSD MFC after: 1 week
* A slightly more complete change to timeouts:mjacob2001-07-021-0/+4
| | | | | | | | | | 1. Add SA_IO_TIMEOUT as an option (4 minutes default) to cover reads, writes, wfm, test unit ready. 2. Add internal SCSIOP_TIMEOUT (e.g., for mode sense) at 1 minute. This should not require an option, but is cleaner to parameterize. MFC after: 1 week
* Move wl driver to dev/wl. Repo copied to dev/wl, the old copiesimp2001-07-022-2781/+0
| | | | | | | | removed and a minimal number of changes to make it compile in the new location. # I have a fully converted on a disk that may be crashed. If it is # crashed, I'll redo the work.
* Repo copy i82586.h to dev/ic/i82586.h.imp2001-07-021-332/+0
| | | | | This file currently is very ie specific, but I have plans to change that...
* Don't need the .keep_me files. Obrien and I committed past each other.imp2001-07-012-1/+1
| | | | | | | Add 0-9 to the list of possible kernel names at matsushita-san's suggestion. Submitted by: Makoto MATSUSHITA-san <matusita@jp.FreeBSD.org>
* Ensure sys/${MACHINE}/compile/FOO existsobrien2001-06-301-0/+0
| | | | Reviewed by: arch, imp, peter, and the USENIX terminal room secret kernel cabal
* Really do proper keepme files in the compile directories. Useimp2001-06-302-0/+1
| | | | | | | | | | .cvsignore file for [A-Za-z]* to keep these directories around rather than waste a file on .keepme. This should also make people's built trees place nice with CVS. Idea for .cvsignore: peter (although I suggested the regexp) Pointed out by: Makoto MATSUSHITA-san <matusita@jp.FreeBSD.org> Llama's costuming by: Fernamdo Llamas
* Ensure sys/${MACHINE}/compile/FOO existsobrien2001-06-301-0/+0
| | | | | Reviewed by: arch, imp, peter and the USENIX terminal room secret kernel cabal
* Repo copy i8237.h to dev/ic so we can get rid of some of the final vestigesimp2001-06-303-14/+2
| | | | of includes of i386 files from non-i386 ports.
* Move ast() and userret() to sys/kern/subr_trap.c now that they are MI.jhb2001-06-291-120/+0
|
* Remove cruft from old bus.imp2001-06-291-3/+0
|
* Remove file that hasn't been used since ze/zp.imp2001-06-291-191/+0
|
* Add a new MI pointer to the process' trapframe p_frame instead of usingjhb2001-06-2915-46/+45
| | | | | | various differently named pointers buried under p_md. Reviewed by: jake (in principle)
* Grab Giant around trap_pfault() for now.jhb2001-06-291-0/+4
|
* Get kernel profiling on SMP systems closer to working by replacing thejhb2001-06-284-25/+8
| | | | | mcount spin mutex with a very simple non-recursive spinlock implemented using atomic operations.
* Provide access to the IA32 hardware debug registers from the ddbbsd2001-06-283-22/+120
| | | | | | | kernel debugger. Proper use of these registers allows setting hardware watchpoints for use in kernel debugging. MFC after: 2 weeks
* Remove dgmbrian2001-06-271-8/+3
|
* Spell digi rightbrian2001-06-271-3/+3
|
* Merged from sys/i386/include/bus_at386.h revision 1.14.nyan2001-06-261-1/+1
|
* Recognize FC-PGA2 Pentium III (Tualatin).kato2001-06-261-0/+1
|
* Add code to detect Transmeta Crusoe cpus.dfr2001-06-251-2/+55
|
* - Grab the proc lock around CURSIG and postsig(). Don't release the procjhb2001-06-221-3/+4
| | | | | | | | lock until after grabbing the sched_lock to avoid CURSIG racing with psignal. - Don't grab Giant for addupc_task() as it isn't needed. Reported by: tegge (signal race), bde (addupc_task a while back)
* Make the hw.physmem and hw.usermem variables unsigned so that they dontpeter2001-06-221-2/+2
| | | | come up as negative on machines with >2GB ram.
* Don't set CONSPEED to the default and deobfuscate the comment.dd2001-06-211-1/+2
| | | | | PR: 28296 Submitted by: bde, Giorgos Keramidas <keramida@ceid.upatras.gr>
* Actually document TCPDEBUG.wollman2001-06-191-1/+3
|
* Fix punctuation in comment.wollman2001-06-191-2/+2
|
* Initialize mutexes needed early on all in the same place so that thejhb2001-06-181-15/+6
| | | | | | startup routine more closely matches that of alpha and ia64. At some point the common mutexes shared across all platforms probably should move into sys/kern_mutex.c.
* - Add support for decoding syscall names. (Brought over from the new alphajhb2001-06-181-37/+61
| | | | | | | | | | | | trace code that was brought over from NetBSD.) - Check for "syscall_with_err_pushed" as the label prior to a syscall trap frame rather than "Xlcall_syscall" and "Xint0x80_syscall". We don't have a valid trapframe during the short range of code that those two symbols now cover. - Simplify db_next_frame() to avoid duplicating the code for the different trap frame types. - Don't try to trace a swapped-out process. (Brought over from NetBSD via the new alpha trace code.)
* Include sys/pcpu.h to get the prototype for globaldata_register() to quietjhb2001-06-183-0/+3
| | | | a warning.
* Don't assume that resource type is ioport and rid equal 0.nyan2001-06-171-5/+6
|
* Move cardbus and pccard bus bridge devices to near the bridge chips. Thisimp2001-06-171-2/+2
| | | | | is so that all the pccard options are together and this reduces diffs with GENERIC.
* MFGENERIC:imp2001-06-171-12/+9
| | | | | | | | | 1.307 Turn on kernel debug support 1.309 Turn off pcm 1.311 move wx to miibus chipsets 1.312 Comment out USERCONFIG Reminded by: mihira-san <sanpei@sanpei.org>
* Fix "alignemnt" typo.alex2001-06-162-2/+2
|
* Fix warnings:peter2001-06-151-48/+48
| | | | | 585: warning: missing braces around initializer 605: warning: missing braces around initializer
* Fix warnings:peter2001-06-151-3/+3
| | | | | 908: warning: long unsigned int format, unsigned int arg (arg 3) 887: warning: `timezero' defined but not used
* Removed unused files.nyan2001-06-142-319/+0
|
* Correct typo.nyan2001-06-142-5/+5
|
* Moved the wd33c93 specific file to sys/dev/ic.nyan2001-06-142-158/+1
|
* With this commit, I hereby pronounce gensetdefs past its use-by date.peter2001-06-132-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace the a.out emulation of 'struct linker_set' with something a little more flexible. <sys/linker_set.h> now provides macros for accessing elements and completely hides the implementation. The linker_set.h macros have been on the back burner in various forms since 1998 and has ideas and code from Mike Smith (SET_FOREACH()), John Polstra (ELF clue) and myself (cleaned up API and the conversion of the rest of the kernel to use it). The macros declare a strongly typed set. They return elements with the type that you declare the set with, rather than a generic void *. For ELF, we use the magic ld symbols (__start_<setname> and __stop_<setname>). Thanks to Richard Henderson <rth@redhat.com> for the trick about how to force ld to provide them for kld's. For a.out, we use the old linker_set struct. NOTE: the item lists are no longer null terminated. This is why the code impact is high in certain areas. The runtime linker has a new method to find the linker set boundaries depending on which backend format is in use. linker sets are still module/kld unfriendly and should never be used for anything that may be modular one day. Reviewed by: eivind
* Hints overhaul:peter2001-06-124-7/+13
| | | | | | | | | - Replace some very poorly thought out API hacks that should have been fixed a long while ago. - Provide some much more flexible search functions (resource_find_*()) - Use strings for storage instead of an outgrowth of the rather inconvenient temporary ioconf table from config(). We already had a fallback to using strings before malloc/vm was running anyway.
* Add PSEUDOFS, and note that LINPROCFS depends on it.des2001-06-111-1/+3
|
* Move the files from i386/isa/ic/ to dev/ic/.nyan2001-06-104-366/+0
|
OpenPOWER on IntegriCloud