| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
Pointed out by: Pawel Jakub Dawidek <nick@garage.freebsd.pl>
MFC after: 1 week
|
|
|
|
| |
Approved by: Nate Lawson
|
|
|
|
|
|
|
| |
variable. This makes changing the size of an mbuf or cluster for
testing/debugging/whatever purposes easier.
Submitted by: sam
|
|
|
|
|
|
|
|
| |
- use strncpy just in case.
- __P() cleanup.
Obtained from: KAME
MFC after: 1 week
|
|
|
|
| |
mangling and creates an .ent directive with the mangled name.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
prototypes of cpu_halt(), cpu_reset() and swi_vm() from md_var.h to
cpu.h. This affects db_command.c and kern_shutdown.c.
ia64: move all MD prototypes from cpu.h to md_var.h. This affects
madt.c, interrupt.c and mp_machdep.c. Remove is_physical_memory().
It's not used (vm_machdep.c).
alpha: the MD prototypes have been left in cpu.h with a comment
that they should be there. Moving them is left for later. It was
expected that the impact would be significant enough to be done in
a seperate commit.
powerpc: MD prototypes left in cpu.h. Comment added.
Suggested by: bde
Tested with: make universe (pc98 incomplete)
|
| |
|
|
|
|
|
|
| |
libkse. Tested under libc_r, libkse, libthr.
Reviewed by: deischen
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A timecounter will be selected when registered if its quality is
not negative and no less than the current timecounters.
Add a sysctl to report all available timecounters and their qualities.
Give the dummy timecounter a solid negative quality of minus a million.
Give the i8254 zero and the ACPI 1000.
The TSC gets 800, unless APM or SMP forces it negative.
Other timecounters default to zero quality and thereby retain current
selection behaviour.
|
|
|
|
| |
#includes to this file. Otherwise, it doesn't compile.
|
|
|
|
|
|
| |
Don't free them, so some code can still reference them.
Reviewed by: deischen
|
|
|
|
| |
a key is less than 0.
|
|
|
|
|
|
| |
to convert the pte's physical address into a vm page.
Reviewed by: peter
|
| |
|
|
|
|
|
|
|
|
|
| |
Sign extension happens after the shift, not before so that boundary
cases like 0x40000000 will not be caught properly.
Instead, right shift ndirty. It is guaranteed to be a multiple of 8.
While here, do some manual code motion and code commoning.
Range check bug pointed out by: iedowse
|
|
|
|
|
|
|
|
| |
We didn't try to list all the variants so there isn't much shrinkage
here.
Remove list of supported mlx(4) devices; readers should get this
information from the manual page.
|
|
|
|
| |
for the 8100 this time.
|
|
|
|
|
|
|
|
|
|
| |
case, a "Vortex86" mini PC), the PCI device ID value in the EEPROM (0x8100)
does not agree with the PCI device ID returned by pci_get_device() (0x8139).
This means that while rl_probe() matches the device, rl_attach() doesn't.
Work around this by adding an entry to the rl_devs table for the 8100 with
a device ID of 0x8100.
Also, get rid of extra instance of __FBSDID(). One is enough.
|
|
|
|
|
| |
PR: 55534
Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
|
|
|
|
|
|
|
|
|
| |
- Update some stale comments.
- Sort a couple of includes.
- Only set 'newcpu' in updatepri() if we use it.
- No functional changes.
Obtained from: bde (via an old diff I got a long time ago)
|
|
|
|
|
| |
with corresponding changes to alpha-2 and alpha-3. (Odd choice of codes,
though.)
|
|
|
|
|
|
|
|
|
|
|
| |
get the same value from ip->i_ump->um_devvp.
This saves a pointer in the memory copies of inodes, which can
easily run into several hundred kilobytes.
The extra indirection is unmeasurable in benchmarks.
Approved by: mckusick
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- deprecate routes#N, as it is hard to keep consistency with
rtprefixN. accept any number of "rtprefix", "rtrefix0",
..., "rtprefix99".
- deprecate "addrs#N", as it is difficult for users to keep
consistency with "addrN".
accept 100 prefix info in maximum - like "addr", "addr0"
... "addr99". WARNS=2 clean on netbsd.
old configuration file should work just fine.
behavior change:
previously, we rejected "addrN" if there's "addr", and we rejected
"addr" if there is "addrN". now we accept both without problem.
- when an advertised prefix configured from the kernel has been added
or invalidated, notice the change in a short delay.
- when invalidating a prefix, do not bark even if there is
inconsistency about prefix lifetimes.
- wrap more specific route info code into ROUTEINFO.
Obtained from: KAME
MFC after: 1 week
|
|
|
|
|
|
|
| |
(While applying this patch from the PR, delete a stray comma.)
PR: 55527
Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
|
| |
|
|
|
|
|
|
|
| |
recent Vinum changes. Fixes non-i386 build on vinumio.c.
Accidental oversight of: grog
Fix hopefully not minded by: grog
|
|
|
|
|
| |
Obtained from: KAME
MFC after: 1 week
|
|
|
|
|
| |
Obtained from: KAME
MFC after: 1 week
|
| |
|
|
|
|
|
| |
Obtained from: KAME
MFC after: 1 week
|
|
|
|
|
| |
Obtained from: KAME
MFC after: 1 week
|
|
|
|
|
| |
Obtained from: KAME
MFC after: 1 week
|
| |
|
|
|
|
|
| |
- Use macros for MSR register indexes as well as the bitfields in the
APICBASE MSR.
|
|
|
|
|
| |
MSR's in the original Pentium.
- Add macros describing the bit fields in the APICBASE MSR.
|
|
|
|
|
|
| |
- Add a macro for the logical shift needed to extract an APIC ID from
either from the local APIC ICR Hi register or the APIC ID registers of
the local and IO APICs.
|
|
|
|
| |
- Move the <machine/vm86.h> include up to the other <machine/*> includes.
|
|
|
|
|
| |
just covers the lock prefix to match the existing style in other asm files
in i386.
|
|
|
|
|
| |
- Use macros for PCI config registers instead of magic numbers.
- Small whitespace nits.
|
| |
|
|
|
|
| |
Requested by: bde
|
|
|
|
| |
when we need it.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This code dates back to the very first diskless support on FreeBSD,
back when swapon(8) couldn't simply be run on a NFS backed file.
Suggested replacement command sequence on the client:
dd if=/dev/zero of=/swapfile bs=1k count=1 oseek=100000
swapon /swapfile
rm -f /swapfile
For whatever value of 100000 you want.
|
|
|
|
| |
Approved by: demon (mentor)
|
|
|
|
| |
Approved by: marcus (mentor)
|
|
|
|
|
|
| |
Minor code reorganization was required, but the only functional
change was that the first 1024 bytes of output are thrown out
after each reseed, rather than just the initial seed.
|