summaryrefslogtreecommitdiffstats
path: root/sys/amd64
Commit message (Collapse)AuthorAgeFilesLines
* Back out previous commit. The bpfilter -> bpf transition will have to be ades1998-11-031-3/+3
| | | | flag day unless we can hack config(8) to smooth things over.
* Rename the 'bpfilter' pseudo-device to 'bpf'. The old syntax is still legaldes1998-11-031-3/+3
| | | | and will stick around for a while.
* Remove the USERCONFIG_BOOT option. Userconfig script data is searchedmsmith1998-11-033-29/+4
| | | | | | | | | | | | | for in a loaded module of type "userconfig_script". The RB_CONFIG flag will always result in the user being left inside userconfig at the end of the script's execution, regardless of 'quit' commands in the script. If the RB_CONFIG flag is not specified, the user will never be left inside userconfig, even if the script does not have an explicit exit command. Add the INTRO_USERCONFIG option. This option forces the userconfig 'intro' screen (after a script has optionally been executed). There is no longer a need to queue an 'intro' command.
* Add John Dyson's SYSCTL descriptions, and an export of more stats topeter1998-10-311-2/+3
| | | | | a sysctl hierarchy (vm.stats.*). SYSCTL descriptions are only present in source, they do not get compiled into the binaries taking up memory.
* Add the ability to specify where on the at_shutdown queue a handler ismsmith1998-10-302-17/+2
| | | | | | | | | installed. Remove cpu_power_down, and replace it with an entry at the end of the SHUTDOWN_FINAL queue in the only place it's used (APM). Submitted by: Some ideas from Bruce Walter <walter@fortean.com>
* A small fragment of new ISA framework: manifest constants for the resourceswollman1998-10-291-0/+43
| | | | implemented by the i386 root nexus.
* Added a second argument, "activate" to the vm_page_unwire() call so thatdg1998-10-281-4/+3
| | | | the caller can select either inactive or active queue to put the page on.
* Check the major number of the boot device more carefully. There was onlybde1998-10-261-5/+3
| | | | | | a problem if the boot blocks passed bad data. Check the major number of the dump device consistently.
* Update timecounters to new interface.phk1998-10-232-22/+22
|
* Quote port names that have a digit in them. IO_TIMER1 was lexed asbde1998-10-221-5/+5
| | | | | | | | { port_name = "IO_TIMER", port_number = 1 } and only worked because it was reassembled to "IO_TIMER1". Trailing digits always work, but this is too magic to depend on. Don't quote port names that don't have a digit in them.
* Removed all `vector xxxintr' specifications. Interrupt handlers are nowbde1998-10-221-30/+30
| | | | configured in drivers.
* Initialize isa_devtab entries for interrupt handlers in individualbde1998-10-223-5/+14
| | | | | | | device drivers, not in ioconf.c. Use a different hack in isa_device.h so that a new config(8) is not required yet. pc98 parts approved by: kato
* Decrement the now unused page table page's wire_count prior to freeing it.dg1998-10-211-1/+3
| | | | | It will soon be required that pages have a zero wire_count when being freed.
* Add driver support for PCI fast ethernet adapters based on thewpaul1998-10-181-1/+2
| | | | | | | | | RealTek 8129/8139 chipset like I've been threatening. Update kernel configs, userconfig.c, relnotes and sysinstall. No man page yet; comming soon. I consider this driver stable enough that I want to give it some exposure in -current.
* Add an ELF_MACHINE_OK() macro for compatability with the Alpha version.peter1998-10-181-1/+3
|
* *gulp*. Jordan specifically OK'ed this..peter1998-10-161-17/+43
| | | | | | | | This is the bulk of the support for doing kld modules. Two linker_sets were replaced by SYSINIT()'s. VFS's and exec handlers are self registered. kld is now a superset of lkm. I have converted most of them, they will follow as a seperate commit as samples. This all still works as a static a.out kernel using LKM's.
* Add commented out bpf entry. (DHCP is popular here, and this is required).obrien1998-10-161-1/+7
| | | | Ok'ed by: jkh
* Fixed two potentially serious classes of bugs:dg1998-10-133-9/+9
| | | | | | | | | | | | | | | | 1) The vnode pager wasn't properly tracking the file size due to "size" being page rounded in some cases and not in others. This sometimes resulted in corrupted files. First noticed by Terry Lambert. Fixed by changing the "size" pager_alloc parameter to be a 64bit byte value (as opposed to a 32bit page index) and changing the pagers and their callers to deal with this properly. 2) Fixed a bogus type cast in round_page() and trunc_page() that caused some 64bit offsets and sizes to be scrambled. Removing the cast required adding casts at a few dozen callers. There may be problems with other bogus casts in close-by macros. A quick check seemed to indicate that those were okay, however.
* Don't print conflict messages in haveseen_isadev() if CC_QUIET isbde1998-10-121-10/+16
| | | | | | | | | specified. This makes haveseen_isadev() useful for searching for a free resource. This increases the bitrot in the pci RESOURCE_CHECK code. Fixed the pre-attach conflict message. The flag for distinguishing pre-attach conflict checks from pre-probe ones was never set.
* mp_machdep.c: Set a vector to boot code (PC-98).kato1998-10-105-16/+16
| | | | locore.s: Tell the bios to warmboot next time (PC-98).
* PC-98 doesn't have CMOS ram.kato1998-10-101-2/+2
|
* PC-98 doesn't have CMOS ram.kato1998-10-103-6/+24
|
* Add entries for MFS which are consistent with the others, now thatjkh1998-10-101-1/+3
| | | | Peter has made this more selectable.
* Allow more flexible use of MFS root.jkh1998-10-101-12/+19
| | | | Submitted by: peter
* Relocate the preload module info from machdep specifically rather thanpeter1998-10-093-38/+10
| | | | | | | trying to do it in locore. We also walk through the module table and relocate any MODINFO_ADDR pointers so that they become KVM relative rather than physical addresses. This means that hacks for adding 0xf0000000 in places like MFS go away.
* Null commit.. CVS aborted on freefall last time (reaonly file).peter1998-10-091-2/+2
| | | | | An elf_reloc() function for the i386. Based on alpha/alpha/elf_machdep.c and rtld-elf/i386/reloc.c.
* An elf_reloc() function for the i386. Based on alpha/alpha/elf_machdep.cpeter1998-10-091-0/+100
| | | | and rtld-elf/i386/reloc.c.
* Initialise kernel environment and module metadata pointers.msmith1998-10-091-1/+6
|
* Fix up the kernel environment and module data pointers in the bootinfo ifmsmith1998-10-083-5/+54
| | | | | they are present. If we are told where the end of the loaded kernel image is, believe it.
* BIOS ROM base address is 0xe8000 on PC-98.kato1998-10-083-3/+18
|
* Fix syntax errors I introduced.obrien1998-10-071-3/+3
|
* Add entries for the adw device driver.gibbs1998-10-071-1/+2
|
* Fix a parent tag reference count bug during tag teardown.gibbs1998-10-071-7/+18
| | | | | | | | | | | Enable optimization for nobounce_dmamap clients by setting the map held by the client to NULL. This allows the macros in bus.h to check against a constant to avoid function calls. Don't attempt to 'free()' contigmalloced pages in bus_dmamem_free(). We currently leak these pages, which is not ideal, but is better than a panic. The leak will be fixed when contigmalloc is merged into the bus dma framework after 3.0R.
* - Implement enabling write allocate on AMD K5/K6/K6-2 cpus.kato1998-10-063-9/+154
| | | | | | | | | | | | The code was originaly contributed by Kelly Yancey <kbyanc@freedomnet.com> in PR i386/6269 and revised by Akio Morita <amorita@meadow.scphys.kyoto-u.ac.jp> and me. Test was performed by Akio Morita and Toshiomi Moriki <moriki@db.is.kyushu-u.ac.jp>. - Fix stylistic bug in identcpu.c. - Update copyright in initcpu.c - Fix typo in LINT. PR: 6269 and 6270
* Undo most of the previous commit.obrien1998-10-051-15/+5
|
* Now require *FS_ROOT to enable the ability to mount a *FS /.obrien1998-10-051-6/+16
| | | | Previously one could config(8) a kernel that would not link.
* Document that ``options xFS_ROOT'' requires the associated ``options xFS''.obrien1998-10-051-5/+5
| | | | Reordered xFS_ROOT's to be below the associated xFS.
* Add dpt driver back to GENERIC and adjust a stale comment.jkh1998-10-031-5/+3
|
* Remove lpt1 - we have userconfig if you have a weird port.msmith1998-10-011-3/+1
| | | | | Remove mse0 - the Microsoft Bus Mouse is a dinosaur. There are probably more Pintos on the road than these on peoples' desks.
* Add sysctl 'machdep.msgbuf_clear'. Setting it to anything causes theabial1998-09-291-4/+25
| | | | | | | kernel message buffer to be cleared. It comes handy in situations when the only logging facility you have is the msgbuf. Reviewed by: jkh
* Don't pretend to support ix86's with 16-bit ints by using longs justbde1998-09-295-18/+18
| | | | to ensure 32-bit variables. Doing so broke ix86's with 64-bit longs.
* Initialize pcb_mpnest to 1 in the child process in cpu_fork(). This shouldtegge1998-09-281-1/+4
| | | | | | | fix the 50% idle problem that the ELF /sbin/init triggered. The problem appeared when the last context switch before a fork() call was due to the kernel faulting in user pages via normal page faults (e.g. copyin). Reviewed by: Peter Wemm <peter@netplex.com.au>
* Use correct virtual address when configuring the per CPU idle page directorytegge1998-09-282-2/+8
| | | | for a vm86 call under SMP.
* Goodbye BOUNCE_BUFFERS, for a hack it has served us well.peter1998-09-253-524/+3
| | | | | | | | The last consumer of this code (the old SCSI system) has left us and the CAM code does it's own bouncing. The isa dma system has been doing it's own bouncing for a while too. Reviewed by: core
* Don't redefine kernel. Makefile.i386 now defines it.bde1998-09-241-5/+1
| | | | Removed some unused includes.
* Attempt to work around a bug in the previous commit related tobde1998-09-202-6/+6
| | | | | non-reentrancy of SMP clock locking. Depend on the giant lock protecting clkintr().
* Ensure that the i8254 timecounter doesn't go backards. It sometimesbde1998-09-202-12/+42
| | | | | | | | | | went backwards when interrupts were masked for more than one i8254 interrupt period. It sometimes went backwards when the i8254 counter was reprogrammed. Neither of these should happen in normal operation. Update the i8254 timecounter support variables atomically. Calling timecounter functions from fast interrupt handlers may actually work in all cases now.
* (requested by gibbs) Remove the SCSI_CAM option (and rework the isp drivermjacob1998-09-181-2/+1
| | | | | that had depended on it for compilation within or without CAM to use __FreeBSD_version instead).
* Mark the syscons and pcvt drivers as being allowed to conflict, so thatmsmith1998-09-171-3/+3
| | | | | well-meaning but uneducated users don't exterminate the psm driver in their zeal to achieve zero conflicts.
* autoconf.c:gibbs1998-09-152-10/+6
| | | | | | | | | | | | | | | | | Convert autoconf hooks from old SCSI system to CAM. busdma_machdep.c: bus_dmamap_free() should expect the nobounce map, not a NULL one. mountroot.c: swapgeneric.c: da and od changes. symbols.raw: Nuke the old disk stat symbols. userconfig.c: Disable the SCSI listing code until it can be converted to CAM.
OpenPOWER on IntegriCloud