xref: /xnu-8020.121.3/libkern/c++/OSRuntimeSupport.c (revision fdd8201d7b966f0c3ea610489d29bd841d358941)
1*fdd8201dSApple OSS Distributions // These functions have been moved inline but we need to continue
2*fdd8201dSApple OSS Distributions // exporting the mangled functions for loadable drivers compiled on older
3*fdd8201dSApple OSS Distributions // systems.
4*fdd8201dSApple OSS Distributions // Note that I have had to manually mangle the symbols names.
5*fdd8201dSApple OSS Distributions void _ZN11OSMetaClassdlEPvm(void *mem, unsigned long size);
6*fdd8201dSApple OSS Distributions void *_ZN11OSMetaClassnwEm(unsigned long size);
7*fdd8201dSApple OSS Distributions 
8*fdd8201dSApple OSS Distributions void
_ZN11OSMetaClassdlEPvm(void * mem,unsigned long size)9*fdd8201dSApple OSS Distributions _ZN11OSMetaClassdlEPvm(__attribute__((unused)) void *mem, __attribute__((__unused__)) unsigned long size)
10*fdd8201dSApple OSS Distributions {
11*fdd8201dSApple OSS Distributions }
12*fdd8201dSApple OSS Distributions void *
_ZN11OSMetaClassnwEm(unsigned long size)13*fdd8201dSApple OSS Distributions _ZN11OSMetaClassnwEm(__attribute__((unused)) unsigned long size)
14*fdd8201dSApple OSS Distributions {
15*fdd8201dSApple OSS Distributions 	return (void *)0ULL;
16*fdd8201dSApple OSS Distributions }
17