Module hal_x86_64::cpu::intrinsics

source ·

Functions

  • cli
    Perform one x86 cli instruction.
  • hlt
    Perform one x86 hlt instruction.
  • ltr
    Perform one x86 ltr (Load Task Register) instruction.
  • Read a hardware generated 16-bit random value and store the result in val. Returns 1 if a random value was generated, and 0 otherwise.
  • Read a hardware generated 32-bit random value and store the result in val. Returns 1 if a random value was generated, and 0 otherwise.
  • Read a hardware generated 64-bit random value and store the result in val. Returns 1 if a random value was generated, and 0 otherwise.
  • Reads the current value of the processor’s time-stamp counter.
  • sti
    Perform one x86 sti instruction.