| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
flag day unless we can hack config(8) to smooth things over.
|
|
|
|
| |
and will stick around for a while.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
a sysctl hierarchy (vm.stats.*). SYSCTL descriptions are only present
in source, they do not get compiled into the binaries taking up memory.
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
implemented by the i386 root nexus.
|
|
|
|
| |
the caller can select either inactive or active queue to put the page on.
|
|
|
|
|
|
| |
a problem if the boot blocks passed bad data.
Check the major number of the dump device consistently.
|
| |
|
|
|
|
|
|
|
|
| |
{ 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.
|
|
|
|
| |
configured in drivers.
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
It will soon be required that pages have a zero wire_count when being
freed.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Ok'ed by: jkh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
locore.s: Tell the bios to warmboot next time (PC-98).
|
| |
|
| |
|
|
|
|
| |
Peter has made this more selectable.
|
|
|
|
| |
Submitted by: peter
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
An elf_reloc() function for the i386. Based on alpha/alpha/elf_machdep.c
and rtld-elf/i386/reloc.c.
|
|
|
|
| |
and rtld-elf/i386/reloc.c.
|
| |
|
|
|
|
|
| |
they are present.
If we are told where the end of the loaded kernel image is, believe it.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Previously one could config(8) a kernel that would not link.
|
|
|
|
| |
Reordered xFS_ROOT's to be below the associated xFS.
|
| |
|
|
|
|
|
| |
Remove mse0 - the Microsoft Bus Mouse is a dinosaur. There are probably
more Pintos on the road than these on peoples' desks.
|
|
|
|
|
|
|
| |
kernel message buffer to be cleared. It comes handy in situations when
the only logging facility you have is the msgbuf.
Reviewed by: jkh
|
|
|
|
| |
to ensure 32-bit variables. Doing so broke ix86's with 64-bit longs.
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
for a vm86 call under SMP.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Removed some unused includes.
|
|
|
|
|
| |
non-reentrancy of SMP clock locking. Depend on the giant lock
protecting clkintr().
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
that had depended on it for compilation within or without CAM to use
__FreeBSD_version instead).
|
|
|
|
|
| |
well-meaning but uneducated users don't exterminate the psm driver in
their zeal to achieve zero conflicts.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|