Age | Commit message (Collapse) | Author |
|
since we will always match on a rate, we won't overflow, but in that
case, make it more obvious by if the first 11 rates don't match, we
assume the 12th.
should shut up parfait.
ok damien@ who came up with an identical diff.
|
|
|
|
|
|
a directory gets reclaimed on a forced unmount before the silly file
in it gets blown away... fixes an issue seen by phessler@
ok oga@, art@
|
|
looking for something else.
sha1(1) tells me there's no binary change.
|
|
|
|
Found by LLVM/Clang Static Analyzer.
ok dlg@ marco@
|
|
Found by LLVM/Clang Static Analyzer.
ok krw@ marco@
|
|
a vDisk server. This makes OpenBSD running in a guest domain survive
a reboot of a control domain or service domain.
|
|
|
|
|
|
Man page advices by jmc@.
|
|
snuck back in.
Noticed by kettenis@.
|
|
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs
polishing; most of this work done during h2k9 last month, although the
porting effort started earlier this year.
|
|
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs
polishing; most of this work done during h2k9 last month, although the
porting effort started earlier this year.
|
|
spotted by ckuethe and must be in immediately before my build gets there..
|
|
disk server.
|
|
the MAC in bge_tick(). Previously this would result in bge(4) claiming
a greater number of input errors than what has actually occurred.
From FreeBSD via Brad
|
|
Prompted by parfait noticing overflows in ibcs2/svr4 which
are now changed to being NSIG sized like the others as
suggested by tedu.
ok tedu@ miod@ guenther@
|
|
Fixes most laptops out there on resume. Okay deraadt@.
|
|
code):
pmap_flush_cache(vaddr_t, vsize_t) and pmap_flush_page(paddr_t) to flush
the cache for virtual addresses and physical pages respectively using
the clflush instruction. These apis will shortly be used by the agp
bus_dma functions to avoid doing a wbinvd on each dmamap_sync.
ok kettenis@, some comments from miod@
|
|
instruction.
ok kettenis@ as part of a larger diff.
|
|
the cpu.
ok kettenis@ as part of a larger diff.
|
|
|
|
|
|
context.S fixes allows these settings to work for kernels linked in CKSEG0.
|
|
wired TLB entries).
|
|
the current 8KB.
|
|
since blambert@ rewrote the allocation code.
|
|
unmaps quite a bit more than intended, which causes weird things like
watchdog resets.
|
|
used by the virtual disk server.
|
|
to swap to use.
this diff doesnt swap fields the identify structure when its fetched, but
adds a function that swaps them and copies them into a destination buffer.
there is no functional change to the existing users of these fields,
specifically the scsi inquiry faker and the device serial vpd page.
this does fix the devid vpd page though. if a disk has a wwn we now present
it correctly.
|
|
makes the disks in a dell 960 work. there's probably a lot of other ids
that should be added here too
|
|
instead of MISC. "makes a little bit more sense" henning@
|
|
turns out you cant send atapi devices the ata IDENTIFY command, they dont
grok it. you have to send a PACKET IDENTIFY instead, which is exactly the
same but with a different command id.
this diff changes it so we send a PACKET IDENTIFY to atapi devices.
my diff "broke" this because it actually checks to see if the IDENTIFY
succeeded rather than just completed. the previous code was wrong with
regard to atapi devices. it is just lucky we dont use the IDENTIFY output
for atapi devs.
my apologies to marco@ and krw@
|
|
|
|
|
|
|
|
Coppersmith, for making this firmware available under a license that allows
us to distribute it.
ok deraadt@
|
|
boundaries, entirely contained within a kernel page; issue raised by drahn@
|
|
|
|
|
|
ok miod@
|
|
rather than <mips64/param.h>.
For now, kernels are kept at 4KB to give people some time to build 16KB
compatible binaries; this will change before the end of this release cycle.
Use of 16KB page size kernels yields a 18% speedup (which, offset by the
1.6% slowdown caused by the pmap changes, yields a 16.6% overall speedup).
|
|
the u area after each context switch, simply convert it to an XKPHYS address,
so that access to it never faults. Idea from NetBSD.
|
|
directly allocating pages from uvm; this will allow us to eventually use
a different kernel page size without having to alter the pmap structures
layout.
No functional change; measured slowdown of 1.6% for 4KB page kernels.
|
|
page size, be sure to pick the strictest interval so as not to incorrectly
claim ARCBios reserved data not (kernel) page size aligned as free memory.
No functional change since the kernel uses the same page size as ARCBios
(at the moment).
|
|
to consider the probe as failed; tlb pair #0 does not deserve to be magic
in any way.
|
|
honoured, and we may end up loaded at an uncached address (e.g. CKSEG1 on
O2). This would cause the kernel to run with instruction cache disabled.
Work around this by simply jumping to the address we really want to run at,
at the beginning of locore.
|
|
disable interrupts and unconditionnaly use proc0 u area as the stack, so that
once ARCBios loses the upper 32 bits of the stack pointer, accessing the
stack does not fault (proc0 u area is allocated in CKSEG0 for this reason).
|