Changeset View
Changeset View
Standalone View
Standalone View
sys/x86/include/ucode.h
| Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | struct ucode_intel_extsig_table { | ||||
| struct ucode_intel_extsig { | struct ucode_intel_extsig { | ||||
| uint32_t processor_signature; | uint32_t processor_signature; | ||||
| uint32_t processor_flags; | uint32_t processor_flags; | ||||
| uint32_t checksum; | uint32_t checksum; | ||||
| } entries[0]; | } entries[0]; | ||||
| }; | }; | ||||
| const void *ucode_amd_find(const char *path, uint32_t signature, | const void *ucode_amd_find(const char *path, uint32_t signature, | ||||
| uint32_t revision, const uint8_t *fw_data, size_t fw_size, | uint32_t *revision, const uint8_t *fw_data, size_t fw_size, | ||||
| size_t *selected_sizep); | size_t *selected_sizep); | ||||
| int ucode_intel_load(const void *data, bool unsafe, | int ucode_intel_load(const void *data, bool unsafe, | ||||
| uint64_t *nrevp, uint64_t *orevp); | uint64_t *nrevp, uint64_t *orevp); | ||||
| int ucode_amd_load(const void *data, bool unsafe, | int ucode_amd_load(const void *data, bool unsafe, | ||||
| uint64_t *nrevp, uint64_t *orevp); | uint64_t *nrevp, uint64_t *orevp); | ||||
| size_t ucode_load_bsp(uintptr_t free); | size_t ucode_load_bsp(uintptr_t free); | ||||
| void ucode_load_ap(int cpu); | void ucode_load_ap(int cpu); | ||||
| void ucode_reload(void); | void ucode_reload(void); | ||||
| void * ucode_update(void *data); | void * ucode_update(void *data); | ||||
| #endif /* _MACHINE_UCODE_H_ */ | #endif /* _MACHINE_UCODE_H_ */ | ||||