fasl-include.red 898 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. %
  2. % FASL-INCLUDE.RED - data declarations for FASL at compile time
  3. %
  4. % Author: Eric Benson
  5. % Computer Science Dept.
  6. % University of Utah
  7. % Date: 20 February 1982
  8. % Copyright (c) 1982 Eric Benson
  9. %
  10. on SysLisp;
  11. CompileTime <<
  12. DefConst(FASL_MAGIC_NUMBER, 99);
  13. DefConst(RELOC_ID_NUMBER, 1,
  14. RELOC_VALUE_CELL, 2,
  15. RELOC_FUNCTION_CELL, 3);
  16. DefConst(RELOC_WORD, 1,
  17. RELOC_HALFWORD, 2,
  18. RELOC_INF, 3);
  19. smacro procedure RelocRightHalfTag X;
  20. Field(X, BitsPerWord/2, 2);
  21. smacro procedure RelocRightHalfInf X;
  22. Field(X, BitsPerWord/2+2, BitsPerWord/2-2);
  23. smacro procedure RelocInfTag X;
  24. Field(X, InfStartingBit, 2);
  25. smacro procedure RelocInfInf X;
  26. Field(X, InfStartingBit+2, InfBitLength-2);
  27. smacro procedure RelocWordTag X;
  28. Field(X, 0, 2);
  29. smacro procedure RelocWordInf X;
  30. Field(X, 2, BitsPerWord-2);
  31. >>;
  32. off Syslisp;
  33. END;