Source code of Windows XP (NT5)
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.

45 lines
755 B

  1. ;++
  2. ;
  3. ;Copyright (c) 2001 Microsoft Corporation
  4. ;
  5. ;Module Name:
  6. ;
  7. ; misc.asm
  8. ;
  9. ;Abstract:
  10. ;
  11. ;
  12. ;Author:
  13. ;
  14. ; Chuck Lenzmeier (chuckl) 27-May-2001
  15. ;
  16. ;Revision History:
  17. ;
  18. ; Two routines moved from wakea.asm
  19. ;--
  20. .586p
  21. .xlist
  22. include ks386.inc
  23. include callconv.inc ; calling convention macros
  24. _TEXT SEGMENT PARA PUBLIC 'CODE' ; Start 32 bit code
  25. ASSUME DS:FLAT, ES:FLAT, SS:NOTHING, FS:NOTHING, GS:NOTHING
  26. cPublicProc _ENABLE_PSE,0
  27. mov eax, cr4
  28. or eax, CR4_PSE
  29. mov cr4, eax
  30. stdRET _ENABLE_PSE
  31. stdENDP _ENABLE_PSE
  32. cPublicProc _FLUSH_TB,0
  33. mov eax, cr3
  34. mov cr3, eax
  35. stdRET _FLUSH_TB
  36. stdENDP _FLUSH_TB
  37. _TEXT ends
  38. end