HomeSort by: relevance | last modified time | path
    Searched refs:hartid (Results 1 - 10 of 10) sorted by relevancy

  /src/sys/arch/riscv/fdt/
cpu_fdt.c 86 const cpuid_t hartid = reg; local in function:riscv_fdt_cpu_bootstrap
87 if (hartid > MAXCPUS) {
88 aprint_error("hart id too big %lu (%u)", hartid,
93 struct sbiret sbiret = sbi_hart_get_status(hartid);
96 aprint_error("Unknown hart id %lx", hartid);
110 cpu_bphartid = hartid;
111 cpu_hartindex[hartid] = 0;
116 cpu_hartindex[hartid] = cpuindex++;
141 const cpuid_t hartid = reg; local in function:riscv_fdt_cpu_mpstart
142 if (hartid == cpu_bphartid
200 bus_addr_t hartid; local in function:cpu_fdt_attach
    [all...]
  /src/sys/arch/riscv/riscv/
riscv_tlb.c 92 const cpuid_t hartid = ci->ci_cpuid; local in function:tlb_invalidate_asids
94 if (hartid == myhartid)
97 KASSERT(hartid < sizeof(unsigned long) * NBBY);
98 hartmask |= __BIT(hartid);
132 const cpuid_t hartid = ci->ci_cpuid; local in function:tlb_invalidate_addr
133 if (hartid == myhartid)
136 KASSERT(hartid < sizeof(unsigned long) * NBBY);
137 hartmask |= __BIT(hartid);
cpu.c 188 cpu_attach(device_t dv, cpuid_t hartid)
193 if (hartid == cpu_bphartid) {
196 ci->ci_cpuid = hartid;
206 KASSERT(hartid < MAXCPUS);
207 KASSERT(cpu_hartindex[hartid] < MAXCPUS);
209 ci = &cpu_info_store[cpu_hartindex[hartid]];
212 ci->ci_cpuid = hartid;
214 if (!cpu_hatched_p(cpu_hartindex[hartid])) {
253 if (hartid != cpu_bphartid) {
interrupt.c 185 const cpuid_t hartid = ci->ci_cpuid; local in function:cpu_send_ipi
186 KASSERT(hartid < sizeof(unsigned long) * NBBY);
187 hartmask |= __BIT(hartid);
sbi.c 165 sbi_hart_start(unsigned long hartid, unsigned long start_addr,
169 hartid, start_addr, opaque);
179 sbi_hart_get_status(unsigned long hartid)
182 hartid);
cpu_subr.c 92 const cpuid_t hartid = ci->ci_cpuid; local in function:cpu_ipi_aps
93 KASSERT(hartid < sizeof(unsigned long) * NBBY);
94 hartmask |= __BIT(hartid);
riscv_machdep.c 699 init_riscv(register_t hartid, paddr_t dtb)
  /src/sys/arch/riscv/dev/
plic.c 79 u_int hartid = curcpu()->ci_cpuid; local in function:plic_intr_establish_xname
95 ih->ih_hartid = hartid;
98 plic_enable(sc, hartid, irq);
108 const u_int hartid = ih->ih_hartid; local in function:plic_intr_disestablish
111 plic_disable(sc, hartid, irq);
121 const cpuid_t hartid = cpu_number(); local in function:plic_intr
122 const bus_addr_t claim_addr = PLIC_CLAIM(sc, hartid);
123 const bus_addr_t complete_addr = PLIC_COMPLETE(sc, hartid);
149 plic_enable(struct plic_softc *sc, u_int hartid, u_int irq)
152 const bus_addr_t addr = PLIC_ENABLE(sc, hartid, irq)
    [all...]
plic_fdt.c 149 bus_addr_t hartid; local in function:plic_fdt_attach_source
151 fdtbus_get_reg(cpu_ref, 0, &hartid, NULL);
154 sc->sc_context[hartid] = context;
156 hartid, context);
  /src/sys/arch/riscv/include/
sbi.h 157 struct sbiret sbi_hart_start(unsigned long hartid,
161 struct sbiret sbi_hart_get_status(unsigned long hartid);

Completed in 35 milliseconds