Age | Commit message (Collapse) | Author |
|
ok kettenis, deraadt
|
|
blocking other cleanups
ok miod@
|
|
ok kettenis@
|
|
ok kettenis@
|
|
ok kettenis@
|
|
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
|
|
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
|
|
ok kettenis@
|
|
ok kettenis@
|
|
ok kettenis@
|
|
sleep and wake up on another CPU.
ok kettenis@
|
|
ok kettenis@
|
|
|
|
does not have to deal with it as a common. Some platforms may be missed
by this commit... if you spot one, fix it the same way.
ok miod
|
|
md files for ports which do not use dev/cninit.c. This gets rid of a common
at kernel link time.
feedback drahn@ ok deraadt@
|
|
ok deraadt@
|
|
|
|
spin up and FPU emulation. Since all CPUs need a stack for FPU emulation,
move the allocation code to cpuattach().
ok kettenis@
|
|
|
|
prefer binutils-compatible options in STRIPFLAGS (now that our non-binutils
strip(1) can handle them too)
ok drahn; miod kettenis (for parts)
|
|
a fat kernel (GERERIC or GENERIC.MP) into a temporary dir, then extract some
variables using make -V, and after some more singing and dancing use this
full and (more) correct list of files with ctags. Don't read this code.
ok guenther
|
|
to genassym.sh
ok deraadt
|
|
|
|
without -traditional-cpp the trap name gets preprocessed to the defined
value rather than remaining as text.
ok kettenis@
|
|
the differences between these files. You will need a newer config(8) binary
to be able to build kernels.
ok kettenis miod
|
|
the code to compile without -traditional-cpp.
ok kettenis@
|
|
result: kernels built without 'make depend'-provided information
(ie. the .depend file) are more likely to have their *.[Ss] file
compilations track changes to *.h files.
The "*.o: assym.h" dependencies listed are gotten from reading the
.depend output --- from the biggest kernel possible (ie. GENERIC.MP).
When an architecture changes in a substantial way (new .[sS] files),
the list should be updated in the prettiest way possible.
This is not encouraging people to skip 'make depend'; other issues are
not resolved and may be solved later with a change guenther is working
on. You can still screwed really easily, so continue running make
depend as config tells you.
Idea from a discussion with drahn
ok drahn, kettenis likes the idea too
|
|
idea that came out of discussion with drahn
|
|
delete the archaic links: target which is easily misused
handle special .[sS] files in a portable way
|
|
|
|
ok jsing kettenis
|
|
ok various people, tested by fewer people, tested by me on 15.
|
|
|
|
X bit set.
|
|
ok kettenis@
|
|
enable clock interrupts, however do not allow processes to be scheduled
onto the secondary CPUs - hopefully we can change this shortly...
ok kettenis@
|
|
also add mpl_cpu and curcpu() to the debugging messages.
Issue spotted by and ok kettenis@
|
|
so that it stays within a single cache line.
Feedback and ok kettenis@
|
|
bit before we enter a signal handler.
"if you say so" miod@, "seems to make sense" jsing@
|
|
the syscall gateway page, which doesn't work since that page is shared
between processes, this makes us step over that bit by setting a breakpoint
on the instruction where the system call returns.
ok miod@, jsing@
|
|
|
|
interrupts.
ok kettenis@
|
|
ok kettenis@
|
|
the instruction cache through them. So we don't need to flush the
instruction cache and purge instruction TLBs for these mappings.
ok jsing@, miod@
|
|
single-stepping when we fork and reset them upon exec.
ok miod@
|
|
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.
|
|
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@
|
|
ok kettenis@
|
|
handler. Also, do not allow a hardware interrupt handler to be established
for a soft interrupt.
ok kettenis@
|