Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
516 B

  1. //++
  2. //
  3. // Copyright (c) 2001 Microsoft Corporation
  4. //
  5. // Module Name:
  6. //
  7. // cpuidsup.s
  8. //
  9. // Abstract:
  10. //
  11. // This module implements CPUID enquiry for the cpuid program.
  12. //
  13. // Author:
  14. //
  15. // Peter L. Johnston (peterj) 6-Apr-2001
  16. //
  17. // Environment:
  18. //
  19. // User mode only
  20. //
  21. //--
  22. #include "ksia64.h"
  23. .file "cpuidsup.s"
  24. .text
  25. LEAF_ENTRY(ia64CPUID)
  26. mov ret0 = cpuid[a0]
  27. LEAF_RETURN
  28. ;;
  29. LEAF_EXIT(ia64CPUID)