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.1 KiB

  1. /*--
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. fragdata.c
  5. Abstract:
  6. This module contains arrays that are used to connect operations with
  7. fragments. There is a fragment description array, and a fragment array.
  8. Author:
  9. Dave Hastings (daveh) creation-date 08-Jan-1995
  10. Revision History:
  11. --*/
  12. #include <nt.h>
  13. #include <ntrtl.h>
  14. #include <nturtl.h>
  15. #include <windows.h>
  16. #include <instr.h>
  17. #include <config.h>
  18. #include <threadst.h>
  19. #include <frag.h>
  20. #include <fraglib.h>
  21. #include <ptchstrc.h>
  22. #include <codeseq.h>
  23. #include <ctrltrns.h>
  24. CONST FRAGDESC Fragments[] = {
  25. #define DEF_INSTR(OpName, FlagsNeeded, FlagsSet, RegsSet, Opfl, FastPlaceFn, SlowPlaceFn, FragName) \
  26. {FastPlaceFn, SlowPlaceFn, Opfl, RegsSet, FlagsNeeded, FlagsSet},
  27. #include "idata.h"
  28. };
  29. CONST PVOID FragmentArray[] = {
  30. #define DEF_INSTR(OpName, FlagsNeeded, FlagsSet, RegsSet, Opfl, FastPlaceFn, SlowPlaceFn, FragName) \
  31. FragName,
  32. #include "idata.h"
  33. };
  34. CONST PPLACEOPERATIONFN PlaceFn[] = {
  35. #define DEF_PLACEFN(Name) Name,
  36. #include "fndata.h"
  37. };