| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
"Bring the coding style into the 80s, i.e., get rid of __P and use
ANSI prototypes and declarations."
|
| |
|
|
|
|
|
|
|
| |
were installed.
For the ifpi2, change the string in the driver_t from "ifpi2" to
"ifpi2-" so that one sees "ifpi2-0" instead of "ifpi20" at boot time.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The following steps are involved:
a) the IP options related to routing (LSRR and SSRR) are processed
as though the router were a host,
b) the other IP options are processed as usual only if the packet
is destined for the router; otherwise they are ignored.
PR: kern/23123
Discussed in: freebsd-hackers
|
|
|
|
|
| |
For simplicity the corresponding kernel types use the same
numerical values.
|
|
|
|
|
|
| |
Comment.
Submitted by: tmm
|
|
|
|
| |
Submitted by: tmm
|
| |
|
|
|
|
| |
Submitted by: tmm
|
|
|
|
| |
Submitted by: tmm
|
|
|
|
| |
facility, rather than KTR_INTR.
|
| |
|
| |
|
|
|
|
| |
Submitted by: tmm
|
|
|
|
|
|
| |
Define the KVA_RANGE in terms of ttes, not sttes.
Remove UPT_MIN_ADDRESS. We no longer use a hard coded address for
the user tsb.
|
|
|
|
|
| |
Add a wierd soft bit.
Remove struct stte.
|
|
|
|
|
|
|
| |
Add fields to md_page for tracking virtual page color, and pv entry
lists.
Fix pmap_track_modified to work for non-kernel pmaps. This is due to
kernel virtual addresses potentially overlapping with userland addresses.
|
|
|
|
| |
architectures do.
|
|
|
|
|
|
|
|
| |
much less magic, fragile, broken. Use ttes rather than sttes.
We still use the replacement scheme used by the original code, which
is pretty cool.
Many crucial bug fixes from: tmm
|
|
|
|
|
|
| |
architectures do.
Many crucial bug fixes from: tmm
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of sttes. Also removes many differences between this and the other pmaps.
Reserve the kva space used by the openfirmware translations.
Use physical addresses directly in pmap_zero_page and pmap_copy_page, now
that we have the cache line shooting support.
Add code to track the virtual cachability of mapped pages. The dmmu
requires that multiple mappings of the same phsyical address have the
save virtual address bits up to a colour boundary. Violating this
requires all mappings to be mapped uncacheable. We do not yet handle
the case of a badly aliased mapping becoming cachable again.
Many crucial bug fixes from: tmm
|
|
|
|
|
|
|
|
| |
the registers so we don't uselessly save them over and over again for
each context switch until another floating point instruction is executed.
Use a non-specific tlb slot for the tsb, which needs to have a locked
entry.
Remove overly verbose traces.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add macros to atomically increment an integer variable in the data
section and to atomically set a bit in a tte. Note that the latter
does not return the new value.
Rewrite RESUME_SPILLFILL_MAGIC to use more sensical calculations, and
to preserve all alternate globals religiously. Must now be called on
alternate globals.
Defer switching to the kernel stack until inside the syscall, trap,
interrupt wrappers. Splitting the windows is all that's really urgent.
Adapt to new trap types.
Add %xcc where appropriate in order to not use v8 opcodes inadvertantly
(which work fine).
Modify the low level tlb fault handlers to operate on a tsb made up of
ttes, not sttes. This effectively makes the tsb twice as large.
After atomically updating tte bits in memory, also set the bit in the
register that holds the data which will be loaded into the tlb. The
macro returns the old value.
Use the preloaded mmu global which holds the address of the current
user tsb.
Add back a low level protection fault handler instead of just punting
into the vm system. This effectively saves a soft fault per COW fault.
Add a trace to intr_enqueue.
Pass arguments to the trap, interrupt, syscall wrappers in the out
registers instead of some on the stack, some in registers.
Use the preloaded alternate global pcb register.
|
|
|
|
|
|
| |
Use fprs to track floating point usage.
Remove misguided comment.
Clear fprs in a child process's new trapframe.
|
|
|
|
|
|
|
|
|
|
| |
2. Make trap_pfault more like it is on other architectures.
3. Fix a bug in syscall() which caused system calls with more than
six arguments that are called through the wild card syscall to
have their arguments scrambled. This affected mmap due to the
(bogus) wrapper in libc.
Submitted by: tmm (3)
|
|
|
|
|
|
|
| |
Add some traces that can be useful but are also very loud.
Use defines for offsets into jmpbuf instead of magic numbers.
Fix a style bug.
Fixup comments.
|
|
|
|
|
| |
2 really are.
Move a trace to before flushw in case it goes off the deep end.
|
|
|
|
|
|
| |
Setup new dedicated global register (alternate, and mmu).
Make setregs readable again.
Adapt to moving of many things into trapframe.
|
|
|
|
|
| |
Assert at compile time that structures which need to be a power of 2
in size really are.
|
|
|
|
| |
Enforce in hardware the non-use of floating point in the kernel.
|
|
|
|
|
|
|
| |
2. Don't whine about unaligned fixups by default.
3. Adapt to removal of mmuframe.
Submitted by: tmm (1, 2)
|
|
|
|
|
|
| |
fields are u_long.
Print useful information about traps in backtraces.
GC some dead code.
|
|
|
|
|
|
|
| |
to a specific physical address. This is used for page copy and zero
routines which use physical addresses directly.
Submitted by: tmm
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove the explicit call to aio_proc_rundown() from exit1(), instead AIO
will use at_exit(9).
Add functions at_exec(9), rm_at_exec(9) which function nearly the
same as at_exec(9) and rm_at_exec(9), these functions are called
on behalf of modules at the time of execve(2) after the image
activator has run.
Use a modified version of tegge's suggestion via at_exec(9) to close
an exploitable race in AIO.
Fix SYSCALL_MODULE_HELPER such that it's archetecuterally neutral,
the problem was that one had to pass it a paramater indicating the
number of arguments which were actually the number of "int". Fix
it by using an inline version of the AS macro against the syscall
arguments. (AS should be available globally but we'll get to that
later.)
Add a primative system for dynamically adding kqueue ops, it's really
not as sophisticated as it should be, but I'll discuss with jlemon when
he's around.
|
|
|
|
| |
Don't include WSTATE_TRANSITION in WSTATE_NORMAL_MASK.
|
|
|
|
| |
Implement TSTATE_SECURE in terms of PSTATE_SECURE.
|
|
|
|
|
|
|
| |
specified by the sparc abi. We use numerically higher values for all
internal kernel types.
Remove soft trap types which need to be exposed to userland. They will
move to utrap.h.
|
|
|
|
|
|
|
|
|
|
| |
their duration. This is still only effective as long as they are
only used in the static kernel. Code in modules may cause instruction
faults which makes these break in different ways anyway.
2. Add a load bearing membar #Sync.
3. Add an inline for demapping an entire context.
Submitted by: tmm (1, 2)
|
|
|
|
|
| |
to sigreturn.
Add definitions for array offsets.
|
| |
|
|
|
|
| |
Implement PSTATE_SECURE.
|
| |
|
|
|
|
|
| |
Make page size constants explicitly long and unsigned.
Add a macro for compile time assertions.
|
|
|
|
|
| |
Make intr_handlers an array of function pointers instead of
small structures.
|
|
|
|
|
|
|
| |
Bloat trapframe with many extra fields so we don't need extra structures.
Use small data types where possible.
Remove second copy of TF_DONE.
Remove mmuframe.
|
|
|
|
|
| |
Change fp_init_thread to take a thread instead of a pcb so we
can get at the trapframe.
|
|
|
|
| |
Submitted by: tmm
|
|
|
|
| |
Submitted by: tmm
|