ih = intc_handler[irq];
if (ih->ih_func(frame) == 0)
#ifdef DEBUG_INTC
- printf("fail in handleing irq %d %s\n", irq, ih->ih_name);
+ printf("fail in handling irq %d %s\n", irq, ih->ih_name);
#else
;
#endif /* DEBUG_INTC */
sc->sc_ticks_err_cnt = sc->sc_ticks_per_second % hz;
pc->pc_ticks_err_sum = 0;
- /* configure virtual timer interupt */
+ /* configure virtual timer interrupt */
sc->sc_ih = riscv_intc_intr_establish(IRQ_TIMER_SUPERVISOR, 0,
riscv_timer_intr, NULL, "riscv_timer");
/*
* pcb->pcb_fpcpu and ci->ci_fpuproc are activated here
* to indicate that the fpu context is correctly loaded on
- * this cpu. XXX block interupts for these saves ?
+ * this cpu. XXX block interrupts for these saves ?
*/
pcb->pcb_fpcpu = ci;
ci->ci_fpuproc = p;
setstatclockrate(int new)
{
if (riscv_clock_func.setstatclockrate == NULL) {
- panic("riscv_clock_func.setstatclockrate not intialized");
+ panic("riscv_clock_func.setstatclockrate not initialized");
}
riscv_clock_func.setstatclockrate(new);
}
end = MIN(reg.addr + reg.size, (paddr_t)-PAGE_SIZE);
/*
- * The intial 64MB block is not excluded, so we need
+ * The initial 64MB block is not excluded, so we need
* to make sure we don't add it here.
*/
if (start < memend && end > memstart) {
* One issue of making this a single data structure is that two pointers are
* wasted for every page which does not map ram (device mappings), this
* should be a low percentage of mapped pages in the system, so should not
- * have too noticable unnecessary ram consumption.
+ * have too noticeable unnecessary ram consumption.
*/
void
/*
* Exec always includes a reference. Since we now know
- * the page has been accesed, we can enable read as well
+ * the page has been accessed, we can enable read as well
* if UVM allows it.
*/
atomic_setbits_int(&pg->pg_flags, PG_PMAP_REF);