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.

53 lines
992 B

  1. ;***
  2. ;setjmpex.asm
  3. ;
  4. ; Copyright (c) 1993-2001, Microsoft Corporation. All rights reserved.
  5. ;
  6. ;Purpose:
  7. ; Contains setjmpex().
  8. ;
  9. ;Notes:
  10. ;
  11. ;Revision History:
  12. ; 10-14-93 GJF Grabbed from NT SDK tree, cleaned up a bit and this
  13. ; header was added.
  14. ; 01-13-94 PML Trigger off __longjmpex instead of __setjmpex, since
  15. ; _setjmp is an intrinsic, but longjmp isn't.
  16. ; 01-11-95 SKS Remove MASM 5.X support
  17. ;
  18. ;*******************************************************************************
  19. ;hnt = -D_WIN32 -Dsmall32 -Dflat32 -Mx $this;
  20. ;Define small32 and flat32 since these are not defined in the NT build process
  21. small32 equ 1
  22. flat32 equ 1
  23. .xlist
  24. include pversion.inc
  25. ?DFDATA = 1
  26. ?NODATA = 1
  27. include cmacros.inc
  28. .list
  29. extrn _longjmp:near
  30. ;
  31. ; If setjmpex is included then set __setjmpexused = 1.
  32. ;
  33. BeginDATA
  34. public __setjmpexused
  35. __setjmpexused dd 1
  36. EndDATA
  37. BeginCODE
  38. public __longjmpex
  39. __longjmpex PROC NEAR
  40. jmp _longjmp
  41. __longjmpex ENDP
  42. EndCODE
  43. END