Age | Commit message (Collapse) | Author |
|
of separate addr/len pairs).
|
|
sure a page is mapped at every location (a page is already reserved for
just this occaision). And no, this doesn't fix it.
|
|
definition. switch amd64 and i386 to the conf.h version, and add it to
macppc.
original diff ok gwk@ tweaks and ok miod@
|
|
right now that are supposed to be atomic with respect to interrupts and
SMP: atomic_setbits_int and atomic_clearbits_int.
All architectures other than i386 and amd64 get dummy implementations
since at first we'll be replacing operations that are done with
"a |= bit" and "a &= ~bit" today. More proper implementations will follow
kettenis@, miod@ ok
|
|
ok deraadt@
|
|
of the disk. Fixes the creation of spurious 'i' partitions on new iPod
Shuffle. And other devices with no MBR, just a FAT32 filesystem.
Pointed out most recently by Stephan A. Rickauer for his sixth
generation, clip-on iPod shuffle.
Fix tested by Stephan.
ok pedro@ tom@ miod@ 'nice' deraadt@
|
|
- LK_EXCLUPGRADE is never used.
- LK_REENABLE is never used.
- LK_SETRECURSE is never used. Because of this, the lk_recurselevel
field is always zero, so it can be removed to.
- the spinlock version (and LK_SPIN) is never used, since it was decided
to use different locking structure for MP-safe protection.
Tested by many
|
|
cpu and if we do, send it an IPI that will force to get into the kernel
and process the AST.
This makes signals to processes on other CPUs to be actually delivered
as soon as possible instead of some time in the future when some
interupt happens.
heavy testing by krw@, miod@ ok (in principle, since he doesn't do amd64)
|
|
it doesn't do anything (other than poking into the kernel a processing
ASTs).
|
|
|
|
ok marco@
|
|
ok marco@
|
|
Gently reminded by marco (``AMD64!'').
|
|
|
|
In this commit:
- gdt lock on amd64
- sysctl lock
- malloc sysctl lock
- disk sysctl lock
- swap syscall lock
miod@, pedro@ ok (and "looks good" others@)
|
|
now required on i386 for Intel Macs.
Bump versions of boot, cdboot and pxeboot accordingly.
Reminded by deraadt@.
|
|
i386 code that I fixed earlier). Noticed by Gregory Steuck (greg (at)
nest (dot) cx); thanks.
|
|
statclock(), do not bother doing this in userret() anymore. As a result,
userret() does not need its pc and ticks arguments, simplify.
|
|
is declared in the equivalent file on i386 and delete the repeticious
declarations already scattered in a few places.
Thanks to Will Backman for letting me test this on his machine,
ok mk@
|
|
scsi support (note that ahd was never even there...).
|
|
|
|
|
|
domain number such that we can distinguish between busses with the same bus
number that are behind different host bridges. Domains can be accessed by
using different device nodes.
ok deraadt@
|
|
routing information.
|
|
errors to userland: make all cpu_setperf functions return void.
Tested by many, ok gwk@
|
|
signature AND the AMD extended cpuid 0x800000001 (%eax).
Tested by,
krw@, Joerg Niendorf <joerg.bsd AT internode.net.au> and
steven mestdagh <steven.mestdagh AT esat.kuleuven.be>
ok dim@
|
|
|
|
|
|
for cpu_swapin() on hppa* which is kept).
|
|
should never be referenced outside the context of the process to which
this stack belongs unless we do the PHOLD/PRELE dance. Loads of code
doesn't follow the rules here. Instead of trying to track down all
offenders and fix this hairy situation, it makes much more sense
to not swap kernel stacks.
From art@, tested by many some time ago.
|
|
|
|
|
|
|
|
|
|
testing needed.
ok deraadt@
|
|
ok deraadt@
|
|
multi-ioapic systems.
ok kettenis
|
|
flag just like we do on i386.
|
|
|
|
|
|
with 8.3-style filenames. Issue raised by Mikolaj Kucharski,
eth0 (at) o2.pl.
Jointly written with, and ok, jmc@.
|
|
from mikolaj kucharski;
ok mk deraadt krw
|
|
not partition 'b' on unit 0.
ok deraadt@
|
|
|
|
iso_disklabelspoof() and udf_disklabelspoof(). Use (msg &&
iso_disklabelspoof()) instead. Makes more arch's textually consistant.
No functional change.
|
|
extended partition except on alpha, hppa, hppa64 and mips64. So don't
spoof extended partitions as 'a' and try to read a disklabel from
them. Make all archs consistant.
When we can boot from extended partitions we can change to reading and
writing disklabels from them.
This means the first OpenBSD ('A6') extended partition will now be
ignored during spoofing, just as subsequent ones have always been.
Feedback from tom@, weingart@ and deraadt@.
|
|
ok drahn@, miod@
|
|
Support for hardware flow control not yet implemented.
|
|
without enabling acpi debug. Usage "machine acpi trace".
ok jordan
|
|
partitions with 0 in the length field we don't need to test for
and skip partitions that are all zeros. Eliminating that code
allows elimination of a local pointer.
"0 length partitions are definately dead" deraadt@
|