summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Expand)Author
2024-04-10Use km_alloc(9) to allocate USPACE instead of uvm_pglistalloc(9).Martin Pieuchot
2024-04-09vmm/vmd: add exception injection and refactor inject api.Dave Voutila
2024-04-08Stop redeclaring ENTRY, the <machine/asm.h> flavour is as good as we need it.Miod Vallat
2024-04-08Fix misplaced END() macro.Miod Vallat
2024-04-08Remove unused tf_fault and tf_kstack members from struct trapframe. TheseMiod Vallat
2024-04-08Remove demap code for MMU miss faults.Miod Vallat
2024-04-08There is too much #ifdef DEBUG stuff cluttering locore, really. While some ofMiod Vallat
2024-04-08Introduce more assembler macros to deduplicate code and improve readability:Miod Vallat
2024-04-08Remove dead code and data, fix typos, kill wrong comments.Miod Vallat
2024-04-08Fix cut'n'paste error in data miss handler causing wrong label to be used inMiod Vallat
2024-04-08Fix sun4v patching of sp_tlb_flush_ctx() to pass flags in the right register.Miod Vallat
2024-04-07The RISC-V architecture has cache-coherent DMA... until it doesn't. ThisMark Kettenis
2024-04-06Now that we support RISC-V CPUs that have MMUs with memory cachabilityMark Kettenis
2024-04-03Initialize earlier macppc's and powerpc64's pmap_hash_lockGeorge Koehler
2024-04-03pmap_virtual_space() and pmap_steal_memory() are mutually exclusive, soMiod Vallat
2024-04-03Add ci_cpuid_level and ci_vendor holding the per-CPU basic cpuidPhilip Guenther
2024-04-01Delete 108 lines of ASM from vmx_enter_guest() that predated lotsPhilip Guenther
2024-03-31Enable rge(4).Mark Kettenis
2024-03-31Remove long dead isa-on-powerpc leftovers.Miod Vallat
2024-03-31Stop referring to dead-since-30-years gatherstats() in comments.Miod Vallat
2024-03-30Use illop1 as failure instruction in the locore gap file.Miod Vallat
2024-03-30Bring back an inline db_enter(), which makes backtraces easier to grokMiod Vallat
2024-03-30use void in function decl with no args; avoids non-ANSI smatch warningsJonathan Gray
2024-03-29Use SBI calls to reboot or power down the machine when the firmwareMark Kettenis
2024-03-29Drop the first argument of intr_establish().Miod Vallat
2024-03-29Store the physical address of each pcb in struct mdproc, and use this inMiod Vallat
2024-03-29Remove truly unneeded includes (not included indirectly).Miod Vallat
2024-03-29Check for %otherwin being nonzero earlier in rft_user.Miod Vallat
2024-03-29Simplify two more places where we don't need to check for unbiased stacks.Miod Vallat
2024-03-29STACKFRAME macro is always invoked on a well-formed 64-bit stack, no needMiod Vallat
2024-03-29Text faults should not invoke uvm_grow() since the fault address is not onMiod Vallat
2024-03-29send_softint() was designed as being able to target a particular cpu, but theMiod Vallat
2024-03-29Update/fix/remove obsolete or just plainly wrong comments.Miod Vallat
2024-03-29Stop including <machine/signal.h> in locore and remove _LOCORE guardsMiod Vallat
2024-03-29Move C declarations from intreg.h to <machine/intr.h> which includes it.Miod Vallat
2024-03-29Get rid of unnecessary defines in assym.h.Miod Vallat
2024-03-29Clean the fpu trap code:Miod Vallat
2024-03-29Be sure to reset p->p_md.md_fpstate to NULL after freeing it in cpu_exit().Miod Vallat
2024-03-29Clean-up cache-related definitions and routines.Miod Vallat
2024-03-29Comment out unused routines. They might become used in the future, so theyMiod Vallat
2024-03-29Remove dead code. Some of it had been dead since the very beginning of theMiod Vallat
2024-03-29No longer include <machine/fsr.h> from <machine/reg.h>, and have the fewMiod Vallat
2024-03-29De-register fpu completion code.Miod Vallat
2024-03-29Remove dead defines, prototypes and data, and duplicate or misleading comments.Miod Vallat
2024-03-29Remove unconditional define of _LOCORE.Miod Vallat
2024-03-29Now that this file is no longer used by any libc C file, get rid of checksMiod Vallat
2024-03-27The RISC-V architecture specification says that memory read/writes areMark Kettenis
2024-03-27Initialize pmap_tramp.pm_mtx before use.Kurt Miller
2024-03-26The devicetree standard allows for multiple /memory nodes, each withMark Kettenis
2024-03-26Implement support for the RISC-V UEFI Boot Protocol. This provides usMark Kettenis