Age | Commit message (Collapse) | Author |
|
provisioning bits in read cap 16
|
|
actual device. If successful, the real path is returned via mappath. Soon
to be used by several other diffs.
ok krw@
|
|
single-stepping when we fork and reset them upon exec.
ok miod@
|
|
the non-line-discipline-specific ioctl handler should be tried.
So changing these to return ENOTTY was wrong.
Noted on misc@ because of resulting pppd log spam (but it didn't break
anything serious): http://marc.info/?l=openbsd-misc&m=127258856501621&w=2
ok sthen@, miod@
|
|
into a magic register. Simplify the code by making this explicit, but keep
the dummy read just in case this has a magic side-effect. And yes, as far as
I can tell, writing 0 is really what was intended here. Makes gcc4 happy.
No binary change with gcc3.
ok jsg@
|
|
|
|
On AViiON systems with the 6:1 CMMU:CPU configuration, force cached
mappings to be writethrough - this probably hides a bug in the code, but
that's the only way so far to get such a system running stably.
|
|
gcc4 from complaining about casting a pointer to an integer type of different
size.
ok guenther@, jsg@
|
|
|
|
the DT_1_FLAGS .dynamic entry and its known flag values. Remove the
unused and useless STT_NUM and PT_NUM defines.
ok miod@
|
|
ok marco@ oga@ miod@
|
|
I forgot that uvm_object.c wasn't build if SMALL_KERNEL. Fix this by building
the file unconditionally and only building the less used functions when
SMALL_KERNEL is not defined.
unbreaks ramdisk build. ok jsg@
|
|
The ones found in gnu/ left out by intention.
ok jmc
|
|
places in the tree need to be touched to update the object
initialisation with respect to that.
So, make a function (uvm_initobj) that takes the refcount, object and
pager ops and does this initialisation for us. This should save on
maintainance in the future.
looked good to fgs@. Tedu complained about the British spelling but OKed
it anyway.
|
|
If when we have successfully swapped an aobj back in, then we release our
reference count, and that reference is the last reference, we will free the
the aobj and recursively lock the list lock.
Fix this by keeping track of the last object we had a reference on, and
releasing the refcount the next time we unlock the list lock.
Put a couple of comments in explaining lock ordering in this file.
noticed by, discussed with and ok guenther@.
|
|
expressions depending on the GCC version in use. Use __unused to supress
warnings from GCC's -Wunused options, and use __used to prevent code from
being optimized away. From NetBSD.
ok tedu@, marco@
|
|
enabled (it is not enabled yet.)
|
|
|
|
|
|
and they don't make any sense (the old deprecated GCC way of marking noreturn
functions is surely not what was meant here).
ok jsg@, guenther@, marco@
|
|
OK sthen, jsg
|
|
|
|
|
|
discovered by oga@
|
|
disks on ATI SBx00 care is mysterious but let's keep them working.
Fix tested by Josh Elsasser, submitter of PR#6365. Thanks!
ok dlg@
|
|
|
|
|
|
"Absolutely, don't forget i386" kettenis@.
|
|
actually do so).
|
|
attaching as cpu1 and physical CPU1 attaching as cpu0. Split the device
scan into two parts - the first pass scans forward and attaches memory
and CPUs, whilst the second pass scans in reverse attaching the
remaining devices, thus preserving current semantics.
Found the hard way whilst trying to spin up the secondary CPU on my j6750.
ok miod@ kettenis@
|
|
ok kettenis@
|
|
- pmap_kremove takes a va and a size, not a va range (unlike pmap_remove,
that gratuitious difference is nothing if not annoying).
- fix a memory leak of the bit 17 bitstring.
- fix the offset calculation when iterating through the dma segments.
Tested by Brandon Mercer, his machine now seems to be rock solid.
Remember kids, if a code path has not been tested fully, it does not work!
|
|
This was causing swizzling on bit 17 swizzling intel IGDs when not
needed. Thanks to Brandon Mercer for testing.
|
|
pointed out by Clang static analyser.
|
|
ok kettenis@
|
|
|
|
|
|
|
|
|
|
ok deraadt@
|
|
|
|
|
|
|
|
|
|
handler. Also, do not allow a hardware interrupt handler to be established
for a soft interrupt.
ok kettenis@
|
|
Instead of previous implementation, we won't use physical cpuid to fetch curcpu().
This requires to implement IP27/35 SMP.
Implemented getcurcpu() and setcurcpu() for it, smp_malloc() renamed alloc_contiguous_pages() because now it only allocate by page.
ok miod@
|
|
|
|
Makefile.* files
|
|
already have one.
ok krw@
|
|
ok henning@
|