/unmaintained/ppc/linux/linux.factor

http://github.com/abeaumont/factor · Factor · 28 lines · 18 code · 8 blank · 2 comment · 0 complexity · cb37c66b777b1e395814e51cde3b7bbf MD5 · raw file

  1. ! Copyright (C) 2008 Slava Pestov.
  2. ! See http://factorcode.org/license.txt for BSD license.
  3. USING: accessors system kernel layouts
  4. alien.c-types cpu.architecture cpu.ppc ;
  5. IN: cpu.ppc.linux
  6. <<
  7. t "longlong" c-type stack-align?<<
  8. t "ulonglong" c-type stack-align?<<
  9. >>
  10. M: linux reserved-area-size 2 cells ;
  11. M: linux lr-save 1 cells ;
  12. M: ppc param-regs
  13. drop {
  14. { int-regs { 3 4 5 6 7 8 9 10 } }
  15. { float-regs { 1 2 3 4 5 6 7 8 } }
  16. } ;
  17. M: ppc value-struct? drop f ;
  18. M: ppc dummy-stack-params? f ;
  19. M: ppc dummy-int-params? f ;
  20. M: ppc dummy-fp-params? f ;