microcode.h 492 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (c) 2015 Google, Inc
  3. *
  4. * SPDX-License-Identifier: GPL-2.0+
  5. */
  6. #ifndef __ASM_ARCH_MICROCODE_H
  7. #define __ASM_ARCH_MICROCODE_H
  8. #ifndef __ASSEMBLY__
  9. /**
  10. * microcode_update_intel() - Apply microcode updates
  11. *
  12. * Applies any microcode updates in the device tree.
  13. *
  14. * @return 0 if OK, -EEXIST if the updates were already applied, -ENOENT if
  15. * not updates were found, -EINVAL if an update was invalid
  16. */
  17. int microcode_update_intel(void);
  18. #endif /* __ASSEMBLY__ */
  19. #endif