Home
last modified time | relevance | path

Searched refs:ucodep (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/intel/io/
H A Ducode_drv.c190 uint8_t *ucodep, *uw_ucode; in ucode_ioctl() local
218 ucodep = kmem_zalloc(size, KM_SLEEP); in ucode_ioctl()
219 if (ddi_copyin((void *)uw_ucode, ucodep, size, mode) != 0) { in ucode_ioctl()
220 kmem_free(ucodep, size); in ucode_ioctl()
224 if ((rc = ucode_validate(ucodep, size)) != EM_OK) { in ucode_ioctl()
225 kmem_free(ucodep, size); in ucode_ioctl()
234 rc = ucode_update(ucodep, size); in ucode_ioctl()
237 kmem_free(ucodep, size); in ucode_ioctl()
/illumos-gate/usr/src/uts/intel/os/
H A Dmicrocode.c155 ASSERT(uusp->ucodep != NULL); in ucode_write()
179 wrmsr(ucode->us_write_msr, (uintptr_t)uusp->ucodep); in ucode_write()
194 ucode_validate(uint8_t *ucodep, int size) in ucode_validate() argument
198 return (ucode->us_validate(ucodep, size)); in ucode_validate()
202 ucode_update(uint8_t *ucodep, int size) in ucode_update() argument
212 ASSERT(ucodep != 0); in ucode_update()
243 uusp->ucodep = cachedp->ucodep; in ucode_update()
253 } else if ((search_rc = ucode->us_extract(uusp, ucodep, size)) in ucode_update()
261 if (uusp->ucodep == NULL) in ucode_update()
H A Dmicrocode_amd.c351 ucode_extract_amd(ucode_update_t *uusp, uint8_t *ucodep, int size) in ucode_extract_amd() argument
353 uint32_t *ptr = (uint32_t *)ucodep; in ucode_extract_amd()
392 uusp->ucodep = (uint8_t *)ufp; in ucode_extract_amd()
H A Dmicrocode_intel.c321 ucode_extract_intel(ucode_update_t *uusp, uint8_t *ucodep, int size) in ucode_extract_intel() argument
335 uint8_t *curbuf = &ucodep[size - remaining]; in ucode_extract_intel()
365 uusp->ucodep = (uint8_t *)&curbuf[header_size]; in ucode_extract_intel()
/illumos-gate/usr/src/common/ucode/
H A Ducode_utils_amd.c43 ucode_validate_amd(uint8_t *ucodep, int size) in ucode_validate_amd() argument
45 uint32_t *ptr = (uint32_t *)ucodep; in ucode_validate_amd()
48 if (ucodep == NULL || size <= 0) in ucode_validate_amd()
H A Ducode_utils_intel.c146 ucode_validate_intel(uint8_t *ucodep, int size) in ucode_validate_intel() argument
151 if (ucodep == NULL || size <= 0) in ucode_validate_intel()
157 uint8_t *curbuf = &ucodep[size - remaining]; in ucode_validate_intel()
/illumos-gate/usr/src/uts/intel/sys/
H A Ducode.h130 uint8_t *ucodep; /* pointer to ucode */ member