| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
|
| |
|
|
|
| |
to complete matthew@'s commit of a few days ago, and drop __HAVE_CPU_MUTEX_LEVEL
define. With help from, and ok deraadt@.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
automatic reading of disklabel on attach.
ok deraadt@ miod@ krw@
|
| |
|
|
| |
OK dlg@
|
| |
|
|
|
|
|
|
|
|
|
|
| |
is no easily available physical information outside of the stored
disklabel just make it a synonym for DIOCGDINFO.
Commit on the theory it is unlikely to harm, and fallout can be
addressed in the mass re-compile that will follow j2k10.
Should allow auto-allocation of disks to work with all devices.
ok deraadt@
|
| |
|
|
|
|
|
| |
no point in keeping it around.
"i like this" thib@ (a while back); ok krw@ and oga@; reminder to
update the man page and tweaks jmc@
|
| |
|
|
|
|
|
| |
hierarchy. Everything attached to a single root node anyway, so at
best we had a bush.
"i think it is good" deraadt@
|
| |
|
|
|
|
|
| |
disk_attach() is called by the device driver. We will be building on
this shortly.
ok deraadt@ krw@
|
| |
|
|
| |
ok miod@
|
| |
|
|
| |
ok miod@
|
| |
|
|
| |
ok miod@
|
| |
|
|
|
|
| |
done to sparc64 a couple of months ago.
ok miod@
|
| | |
|
| |
|
|
| |
ok miod@; "please go ahead" jsing@
|
| |
|
|
|
|
| |
them explicitely pending before triggering the softintr; I am ashamed I did
not notice this when changing the soft interrupt code 18 months ago.
Noticed by claudio@ and beck@
|
| |
|
|
|
|
| |
over the PROM page tables on sun4c; also crank the tape kernel generous
size estimate to 4MB; crank version.
ok deraadt@
|
| |
|
|
|
|
| |
$ADORABLE_FELINE.
ok deraadt@ matthew@
|
| |
|
|
| |
"feel free!" deraadt
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
for both structs, the new members are 'bps' and 'msb', which
describe the number of bytes per sample and data alignment in the
sample, respectively. drivers must properly set these fields in
the 'query_encoding', 'set_parameters' and 'get_default_params'
hardware interface methods.
discussed with ratchov, deraadt
|
| | |
|
| |
|
|
|
|
| |
sun4c, as it has a sun4c OpenPROM but a sun4 8KB pagesize. VME devices are
not supported yet.
ok deraadt@
|
| | |
|
| |
|
|
|
|
|
|
| |
is stupid, since the bits in the interrupt enable register are completely
different between 4/4c and 4m.
Instead, provide distinct, explicit function names to handle the interrupt
enable register.
|
| |
|
|
| |
CPUTYP_xxx defines.
|
| | |
|
| |
|
|
|
|
| |
General huzzahs.
"go for it" deraadt@
|
| | |
|
| | |
|
| |
|
|
| |
ok deraadt matthew millert
|
| | |
|
| |
|
|
|
|
| |
sparsely populated buses.
ok dlg@, krw@
|
| |
|
|
|
|
| |
pv_changepte4m() since DVMA addresses are never loaded in the SRMMU; this
chunk was forgotten in the previous `don't steal DVMA out of kernel_map on 4m'
commit.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
memory, but instead gather memory layout information and work with the MMU
(or the PROM) to make sure we can actually load the kernel image in a proper
contiguous physical memory area.
In order to do this, we look at the kernel image twice; during the first pass,
the kernel footprint is computed, and then after making sure it can be
loaded, the second pass loads the actual image.
Since such a logic doesn't work on media which can not seek backwards, such
as tapes, we check for the boot device being a tape and, in that case, assume
a fixed (generous) image size and don't load the kernel symbol table (to
avoid seeking backwards); since tape boot is supposed to be only used to
boot bsd.rd, this is something we can live with.
While there, lower the address the boot blocks are loaded in memory, because
the last crank did not work with some early sun4c OpenPROM, which only
map about 3.5MB of memory.
Memory games logic from NetBSD, tape handling by me.
|
| |
|
|
|
|
|
| |
low physical memory, but instead figure out where it has been loaded from
the current MMU setup.
From NetBSD.
|
| |
|
|
|
| |
space on SRMMU systems (i.e. sun4m), so don't do it anymore and update
misleading comments.
|
| |
|
|
| |
NetBSD; tested on SM100.
|
| |
|
|
|
|
|
|
| |
step in elminating 'struct scsi_device' entirely.
Spotted and initial diff from matthew@.
ok matthew@ dlg@ deraadt@ marco@ miod@
|
| |
|
|
|
|
|
|
| |
max-baud-rate hint. Adjust TTYHOG (the nearly full logic) to this new
situation. The larger buffers are required by the very high speed
KDDI devices in Japan (CF com, or USB ucom) so those are the only two
drivers which currently ask for a larger buffer size.
ok yasuoka miod
|
| | |
|
| |
|
|
| |
ok kettenis@
|
| |
|
|
|
| |
doing thread-local storage and fix a typo in one that was already defined.
ok kettenis@ drahn@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
which contains the constraints for DMA/memory allocation for each
architecture, and dma_constraints which contains the range of addresses
that are dma accessable by the system.
This is based on ariane@'s physcontig diff, with lots of bugfixes and
additions the following additions by my self:
Introduce a new function pool_set_constraints() which sets the address
range for which we allocate pages for the pool from, this is now used
for the mbuf/mbuf cluster pools to keep them dma accessible.
The !direct archs no longer stuff pages into the kernel object in
uvm_km_getpage_pla but rather do a pmap_extract() in uvm_km_putpages.
Tested heavily by my self on i386, amd64 and sparc64. Some tests on
alpha and SGI.
"commit it" beck, art, oga, deraadt
"i like the diff" deraadt
|
| |
|
|
|
|
|
|
| |
it defines. In some cases, this means pulling in uvm.h or pcb.h
instead, but most of the inclusions were just noise. Tested on
alpha, amd64, armish, hppa, i386, macpcc, sgi, sparc64, and vax,
mostly by krw and naddy.
ok krw@
|
| |
|
|
|
|
|
|
| |
pmap_enter(), according to the XXX comment right above.
Removes another un-CANFAILed pmap_enter.
ok miod@
|
| |
|
|
|
|
|
|
|
| |
keyboard is connected but a framebuffer exists in the machine; the current
kernel console code will complain and switch to full serial, but later on
the framebuffer would incorrectly take over the console.
Correctly detect this situation and reset the `fbnode' variable. This is
an improvement of the fix which went in rev 1.54 of this file.
|
| | |
|
| | |
|