| /freebsd/sys/i386/i386/ |
| H A D | trap.c | 222 int pf, signo, ucode; in trap() local 319 ucode = ILL_PRVOPC; in trap() 330 ucode = TRAP_BRKPT; in trap() 337 ucode = TRAP_TRACE; in trap() 350 ucode = npxtrap_x87(); in trap() 351 if (ucode == -1) in trap() 364 ucode = 0; /* XXXKIB: better code ? */ in trap() 374 ucode = (type == T_PROTFLT) ? BUS_OBJERR : BUS_ADRERR; in trap() 378 ucode = BUS_ADRERR; in trap() 382 ucode = BUS_OBJERR; in trap() [all …]
|
| /freebsd/sys/amd64/amd64/ |
| H A D | trap.c | 228 int pf, signo, ucode; in trap() local 307 ucode = ILL_PRVOPC; in trap() 318 ucode = TRAP_BRKPT; in trap() 324 ucode = TRAP_TRACE; in trap() 337 ucode = fputrap_x87(); in trap() 338 if (ucode == -1) in trap() 345 ucode = BUS_OBJERR; in trap() 350 ucode = BUS_ADRERR; in trap() 354 ucode = BUS_OBJERR; in trap() 358 ucode = BUS_ADRALN; in trap() [all …]
|
| /freebsd/sys/powerpc/powerpc/ |
| H A D | trap.c | 87 int *ucode); 211 u_int ucode; in trap() local 227 type = ucode = frame->exc; in trap() 265 ucode = TRAP_TRACE; in trap() 278 ucode = SEGV_MAPERR; in trap() 286 if (trap_pfault(frame, true, &sig, &ucode)) in trap() 324 ucode = ILL_ILLOPC; in trap() 351 ucode = ILL_ILLOPC; in trap() 358 ucode = ILL_ILLOPC; in trap() 380 ucode = BUS_ADRALN; in trap() [all …]
|
| H A D | fpu.c | 255 u_int ucode; in get_fpu_exception() local 271 ucode = FPE_FLTDIV; in get_fpu_exception() 273 ucode = FPE_FLTOVF; in get_fpu_exception() 275 ucode = FPE_FLTUND; in get_fpu_exception() 277 ucode = FPE_FLTRES; in get_fpu_exception() 279 ucode = FPE_FLTINV; in get_fpu_exception() 281 return ucode; in get_fpu_exception()
|
| /freebsd/sys/dev/qat_c2xxx/ |
| H A D | qat_ae.c | 1295 qat_ae_ucode_parity64(uint64_t ucode) in qat_ae_ucode_parity64() argument 1298 ucode ^= ucode >> 1; in qat_ae_ucode_parity64() 1299 ucode ^= ucode >> 2; in qat_ae_ucode_parity64() 1300 ucode ^= ucode >> 4; in qat_ae_ucode_parity64() 1301 ucode ^= ucode >> 8; in qat_ae_ucode_parity64() 1302 ucode ^= ucode >> 16; in qat_ae_ucode_parity64() 1303 ucode ^= ucode >> 32; in qat_ae_ucode_parity64() 1305 return ((u_int)(ucode & 1)); in qat_ae_ucode_parity64() 1309 qat_ae_ucode_set_ecc(uint64_t ucode) in qat_ae_ucode_set_ecc() argument 1318 ucode &= ~(0x7fULL << USTORE_ECC_BIT_0); in qat_ae_ucode_set_ecc() [all …]
|
| /freebsd/sys/contrib/dev/iwlwifi/ |
| H A D | iwl-drv.c | 606 const struct iwl_ucode_header *ucode = (const void *)ucode_raw->data; in iwl_parse_v1_v2_firmware() local 611 drv->fw.ucode_ver = le32_to_cpu(ucode->ver); in iwl_parse_v1_v2_firmware() 621 build = le32_to_cpu(ucode->u.v2.build); in iwl_parse_v1_v2_firmware() 623 le32_to_cpu(ucode->u.v2.inst_size)); in iwl_parse_v1_v2_firmware() 625 le32_to_cpu(ucode->u.v2.data_size)); in iwl_parse_v1_v2_firmware() 627 le32_to_cpu(ucode->u.v2.init_size)); in iwl_parse_v1_v2_firmware() 629 le32_to_cpu(ucode->u.v2.init_data_size)); in iwl_parse_v1_v2_firmware() 630 src = ucode->u.v2.data; in iwl_parse_v1_v2_firmware() 642 le32_to_cpu(ucode->u.v1.inst_size)); in iwl_parse_v1_v2_firmware() 644 le32_to_cpu(ucode->u.v1.data_size)); in iwl_parse_v1_v2_firmware() [all …]
|
| H A D | zzz_fw_ports_fwget.sh | 153 *.ucode)
|
| /freebsd/sys/powerpc/booke/ |
| H A D | machdep_e500.c | 133 cpu_machine_check(struct thread *td, struct trapframe *frame, int *ucode) in cpu_machine_check() argument 136 *ucode = BUS_OBJERR; in cpu_machine_check()
|
| /freebsd/tools/tools/intel-ucode-split/ |
| H A D | Makefile | 1 PROG= intel-ucode-split
|
| /freebsd/sys/riscv/riscv/ |
| H A D | trap.c | 213 int error, sig, ucode; in page_fault_handler() local 272 error = vm_fault_trap(map, va, ftype, VM_FAULT_NORMAL, &sig, &ucode); in page_fault_handler() 275 call_trapsignal(td, sig, ucode, (void *)stval, in page_fault_handler()
|
| /freebsd/sys/arm/arm/ |
| H A D | trap-v6.c | 285 int bp_harden, ucode; in abort_handler() local 492 &ucode); in abort_handler() 493 ksig.code = ucode; in abort_handler()
|
| /freebsd/sys/vm/ |
| H A D | vm_fault.c | 730 int fault_flags, int *signo, int *ucode) in vm_fault_trap() argument 734 MPASS(signo == NULL || ucode != NULL); in vm_fault_trap() 756 *ucode = SEGV_MAPERR; in vm_fault_trap() 760 *ucode = BUS_OOMERR; in vm_fault_trap() 764 *ucode = BUS_OBJERR; in vm_fault_trap() 776 *ucode = SEGV_ACCERR; in vm_fault_trap() 779 *ucode = UCODE_PAGEFLT; in vm_fault_trap() 784 *ucode = UCODE_PAGEFLT; in vm_fault_trap() 788 *ucode = SEGV_ACCERR; in vm_fault_trap()
|
| H A D | vm_extern.h | 99 int fault_flags, int *signo, int *ucode);
|
| /freebsd/sys/arm64/arm64/ |
| H A D | trap.c | 266 int error, sig, ucode; in data_abort() local 382 error = vm_fault_trap(map, far, ftype, VM_FAULT_NORMAL, &sig, &ucode); in data_abort() 385 call_trapsignal(td, sig, ucode, (void *)far, in data_abort()
|
| /freebsd/sys/powerpc/aim/ |
| H A D | aim_machdep.c | 546 cpu_machine_check(struct thread *td, struct trapframe *frame, int *ucode) in cpu_machine_check() 570 *ucode = BUS_OBJERR; in cpu_machine_check() 545 cpu_machine_check(struct thread * td,struct trapframe * frame,int * ucode) cpu_machine_check() argument
|
| /freebsd/sys/dev/fxp/ |
| H A D | if_fxp.c | 3042 static const struct ucode { struct 3044 uint32_t *ucode; argument 3069 const struct ucode *uc; in fxp_load_ucode() argument 3076 for (uc = ucode_table; uc->ucode != NULL; uc++) in fxp_load_ucode() 3079 if (uc->ucode == NULL) in fxp_load_ucode() 3086 cbp->ucode[i] = htole32(uc->ucode[i]); in fxp_load_ucode() 3088 *(uint16_t *)&cbp->ucode[uc->int_delay_offset] = in fxp_load_ucode() 3091 *(uint16_t *)&cbp->ucode[uc->bundle_max_offset] = in fxp_load_ucode()
|
| H A D | if_fxpreg.h | 245 uint32_t ucode[MAXUCODESIZE]; member
|
| /freebsd/tools/tools/ |
| H A D | README | 33 intel-ucode-split Tool to split Intel microcode into individual files.
|
| /freebsd/sys/contrib/device-tree/src/powerpc/fsl/ |
| H A D | p1021rdb-pc.dtsi | 72 /* 256KB for QE ucode firmware*/
|
| H A D | p1025twr.dtsi | 79 /* 256KB for QE ucode firmware*/
|
| /freebsd/sys/dev/usb/wlan/ |
| H A D | if_rum.c | 2658 rum_load_microcode(struct rum_softc *sc, const uint8_t *ucode, size_t size) in rum_load_microcode() argument 2664 for (; size >= 4; reg += 4, ucode += 4, size -= 4) { in rum_load_microcode() 2665 err = rum_write(sc, reg, UGETDW(ucode)); in rum_load_microcode()
|
| /freebsd/sys/dev/iwn/ |
| H A D | if_iwn.c | 6648 cmd.ucode.once.enable = 0xffffffff; in iwn5000_runtime_calib() 6649 cmd.ucode.once.start = IWN5000_CALIB_DC; in iwn5000_runtime_calib() 7785 cmd.ucode.once.enable = htole32(0xffffffff); in iwn5000_query_calibration() 7786 cmd.ucode.once.start = htole32(0xffffffff); in iwn5000_query_calibration() 7787 cmd.ucode.once.send = htole32(0xffffffff); in iwn5000_query_calibration() 7788 cmd.ucode.flags = htole32(0xffffffff); in iwn5000_query_calibration() 8100 iwn4965_load_bootcode(struct iwn_softc *sc, const uint8_t *ucode, int size) in iwn4965_load_bootcode() argument 8111 (const uint32_t *)ucode, size); in iwn4965_load_bootcode()
|
| H A D | if_iwnreg.h | 890 struct iwn5000_calib_status ucode; member
|
| /freebsd/sys/dev/bwn/ |
| H A D | if_bwnvar.h | 861 struct bwn_fwfile ucode; member
|
| /freebsd/sys/conf/ |
| H A D | files.x86 | 391 x86/x86/ucode.c standard
|