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.

48 lines
2.5 KiB

  1. // Ruler
  2. // 1 2 3 4 5 6 7 8
  3. //345678901234567890123456789012345678901234567890123456789012345678901234567890
  4. /********************************************************************/
  5. /* */
  6. /* The standard layout. */
  7. /* */
  8. /* The standard layout for 'cpp' files in this code is as */
  9. /* follows: */
  10. /* */
  11. /* 1. Include files. */
  12. /* 2. Constants local to the class. */
  13. /* 3. Data structures local to the class. */
  14. /* 4. Data initializations. */
  15. /* 5. Static functions. */
  16. /* 6. Class functions. */
  17. /* */
  18. /* The constructor is typically the first function, class */
  19. /* member functions appear in alphabetical order with the */
  20. /* destructor appearing at the end of the file. Any section */
  21. /* or function this is not required is simply omitted. */
  22. /* */
  23. /********************************************************************/
  24. #include "LibraryPCH.hpp"
  25. #include "Prefetch.hpp"
  26. #ifdef ASSEMBLY_X86
  27. /********************************************************************/
  28. /* */
  29. /* Static member initialization. */
  30. /* */
  31. /* Static member initialization sets the initial value for all */
  32. /* static members. */
  33. /* */
  34. /********************************************************************/
  35. #pragma init_seg(lib)
  36. BOOLEAN PREFETCH::Active =
  37. (
  38. (BOOLEAN) IsProcessorFeaturePresent
  39. (
  40. PF_XMMI_INSTRUCTIONS_AVAILABLE
  41. )
  42. );
  43. #endif