Searched refs:ucodep (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/uts/intel/io/ |
H A D | ucode_drv.c | 190 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 D | microcode.c | 155 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 D | microcode_amd.c | 351 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 D | microcode_intel.c | 321 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 D | ucode_utils_amd.c | 43 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 D | ucode_utils_intel.c | 146 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 D | ucode.h | 130 uint8_t *ucodep; /* pointer to ucode */ member
|