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.

55 lines
1.6 KiB

  1. //
  2. // No Check-in Source Code.
  3. //
  4. // Do not make this code available to non-Microsoft personnel
  5. // without Intel's express permission
  6. //
  7. /**
  8. *** Copyright (C) 1996-97 Intel Corporation. All rights reserved.
  9. ***
  10. *** The information and source code contained herein is the exclusive
  11. *** property of Intel Corporation and may not be disclosed, examined
  12. *** or reproduced in whole or in part without explicit written authorization
  13. *** from the company.
  14. **/
  15. // page ,132
  16. // title cinitone - C Run-Time Initialization for _onexit/atexit
  17. //
  18. // cinitone.asm - WIN32 C Run-Time Init for _onexit()/atexit() routines
  19. //
  20. // Copyright (c) 1992-2001, Microsoft Corporation. All rights reserved.
  21. //
  22. // Purpose:
  23. // Initialization entry for the _onexit()/atexit() functions.
  24. // This module adds an entry for _onexitinit() to the initializer table.
  25. // ONEXIT.C references the dummy variable __c_onexit in order to force
  26. // the loading of this module.
  27. //
  28. // Notes:
  29. //
  30. // Revision History:
  31. // 03-19-92 SKS Module created.
  32. // 03-24-92 SKS Added MIPS support (NO_UNDERSCORE)
  33. // 04-30-92 SKS Add "offset FLAT:" to get correct fixups for OMF objs
  34. // 08-06-92 SKS Revised to use new section names and macros
  35. //
  36. // *****************************************************************************
  37. #include "kxia64.h"
  38. .global __onexitinit
  39. .type __onexitinit, @function
  40. beginSection(XIC)
  41. data8 @fptr(__onexitinit)
  42. endSection(XIC)
  43. .sdata
  44. .global __c_onexit
  45. __c_onexit: data4 0