PageRenderTime 45ms CodeModel.GetById 37ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/unmaintained/ppc/linux/linux.factor

http://github.com/abeaumont/factor
text | 28 lines | 20 code | 8 blank | 0 comment | 0 complexity | cb37c66b777b1e395814e51cde3b7bbf MD5 | raw file
 1! Copyright (C) 2008 Slava Pestov.
 2! See http://factorcode.org/license.txt for BSD license.
 3USING: accessors system kernel layouts
 4alien.c-types cpu.architecture cpu.ppc ;
 5IN: cpu.ppc.linux
 6
 7<<
 8t "longlong" c-type stack-align?<<
 9t "ulonglong" c-type stack-align?<<
10>>
11
12M: linux reserved-area-size 2 cells ;
13
14M: linux lr-save 1 cells ;
15
16M: ppc param-regs
17    drop {
18        { int-regs { 3 4 5 6 7 8 9 10 } }
19        { float-regs { 1 2 3 4 5 6 7 8 } }
20    } ;
21
22M: ppc value-struct? drop f ;
23
24M: ppc dummy-stack-params? f ;
25
26M: ppc dummy-int-params? f ;
27
28M: ppc dummy-fp-params? f ;