Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/i86pc/os/
H A Dmicrocode.c489 ucodefp->ucodep = ucode_zalloc(cp->cpu_id, size); in ucode_locate_amd()
490 ASSERT(ucodefp->ucodep); in ucode_locate_amd()
493 count = kobj_read(fd, (char *)ucodefp->ucodep, size, 0); in ucode_locate_amd()
500 rc = ucode->validate(ucodefp->ucodep, ucodefp->usize); in ucode_locate_amd()
506 ucode_chipset_amd(ucodefp->ucodep, ucodefp->usize); in ucode_locate_amd()
742 ASSERT(uusp->ucodep); in ucode_write()
758 wrmsr(ucode->write_msr, (uintptr_t)uusp->ucodep); in ucode_write()
796 uus.ucodep = ucodefp->ucodep; in ucode_load_amd()
845 uus.ucodep = ustart; in ucode_load_intel()
874 set_xen_guest_handle(op.u.microcode.data, uusp->ucodep); in ucode_load_xpv()
[all …]
/titanic_50/usr/src/common/ucode/
H A Ducode_utils.c118 ucode_validate_amd(uint8_t *ucodep, int size) in ucode_validate_amd() argument
121 uint32_t *ptr = (uint32_t *)ucodep; in ucode_validate_amd()
124 if (ucodep == NULL || size <= 0) in ucode_validate_amd()
167 ucode_validate_intel(uint8_t *ucodep, int size) in ucode_validate_intel() argument
172 if (ucodep == NULL || size <= 0) in ucode_validate_intel()
178 uint8_t *curbuf = &ucodep[size - remaining]; in ucode_validate_intel()
/titanic_50/usr/src/uts/intel/io/
H A Ducode_drv.c198 uint8_t *ucodep, *uw_ucode; in ucode_ioctl() local
226 ucodep = kmem_zalloc(size, KM_SLEEP); in ucode_ioctl()
227 if (ddi_copyin((void *)uw_ucode, ucodep, size, mode) != 0) { in ucode_ioctl()
228 kmem_free(ucodep, size); in ucode_ioctl()
232 if ((rc = ucode->validate(ucodep, size)) != EM_OK) { in ucode_ioctl()
233 kmem_free(ucodep, size); in ucode_ioctl()
242 rc = ucode_update(ucodep, size); in ucode_ioctl()
245 kmem_free(ucodep, size); in ucode_ioctl()
/titanic_50/usr/src/uts/common/sys/
H A Ducode.h121 uint8_t *ucodep;
251 uint8_t *ucodep; /* pointer to ucode */ member