1
2
3
4
5
6
7
8
9
|
/*
* Copyright (c) 2008-2022 Jonathan Schleifer <js@nil.im>
*
* All rights reserved.
*
* This file is part of ObjFW. It may be distributed under the terms of the
* Q Public License 1.0, which can be found in the file LICENSE.QPL included in
* the packaging of this file.
*
|
|
|
1
2
3
4
5
6
7
8
9
|
/*
* Copyright (c) 2008-2023 Jonathan Schleifer <js@nil.im>
*
* All rights reserved.
*
* This file is part of ObjFW. It may be distributed under the terms of the
* Q Public License 1.0, which can be found in the file LICENSE.QPL included in
* the packaging of this file.
*
|
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
#endif
bool __saveds
glue_OFInit PPC_PARAMS(unsigned int version, struct OFLibC *_Nonnull libc, struct Library *_Nonnull RTBase)
{
M68K_ARG(unsigned int, version, d0)
M68K_ARG(struct OFLibC *_Nonnull, libc, a0)
M68K_ARG(struct Library *_Nonnull, RTBase, a0)
return OFInit(version, libc, RTBase);
}
void *_Nullable __saveds
glue_OFAllocMemory PPC_PARAMS(size_t count, size_t size)
{
|
|
|
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
#endif
bool __saveds
glue_OFInit PPC_PARAMS(unsigned int version, struct OFLibC *_Nonnull libc, struct Library *_Nonnull RTBase)
{
M68K_ARG(unsigned int, version, d0)
M68K_ARG(struct OFLibC *_Nonnull, libc, a0)
M68K_ARG(struct Library *_Nonnull, RTBase, a1)
return OFInit(version, libc, RTBase);
}
void *_Nullable __saveds
glue_OFAllocMemory PPC_PARAMS(size_t count, size_t size)
{
|