aboutsummaryrefslogtreecommitdiff
path: root/libc/spec/gpu_ext.td
blob: 5400e0afa7564a6063d9a6026997e50a8dc69e9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
def GPUExtensions : StandardSpec<"GPUExtensions"> {
  HeaderSpec RPC = HeaderSpec<
    "gpu/rpc.h",
    [], // Macros
    [], // Types
    [], // Enumerations
    [
        FunctionSpec<
            "rpc_host_call",
            RetValSpec<VoidType>,
            [ArgSpec<VoidPtr>, ArgSpec<VoidPtr>, ArgSpec<SizeTType>]
        >,
        FunctionSpec<
            "rpc_fprintf",
            RetValSpec<IntType>,
            [ArgSpec<FILERestrictedPtr>,
             ArgSpec<ConstCharRestrictedPtr>,
             ArgSpec<VoidPtr>,
             ArgSpec<SizeTType>]
        >,
    ]
  >;
  let Headers = [
    RPC,
  ];
}