CallMachOFrameWork.c File Reference

#include "frontier.h"
#include "standard.h"
#include "CallMachOFrameWork.h"

Include dependency graph for CallMachOFrameWork.c:

Go to the source code of this file.

Data Structures

struct  tvectorstruct

Typedefs

typedef tvectorstructtvectorptr

Functions

OSStatus LoadFrameworkBundle (CFStringRef framework, CFBundleRef *bundlePtr)
void * getframeworkfuncptr (CFStringRef framework, CFStringRef functionname)
void * convertcfmtomachofuncptr (void *cfmfp)
void disposemachofuncptr (void *mfp)
void * convertmachotocfmfuncptr (void *mfp)
void disposecfmfuncptr (void *cfmfp)

Variables

static UInt32 gluetemplate [6] = {0x3D800000, 0x618C0000, 0x800C0000, 0x804C0004, 0x7C0903A6, 0x4E800420}


Typedef Documentation

typedef struct tvectorstruct * tvectorptr
 


Function Documentation

void* convertcfmtomachofuncptr void *  cfmfp  ) 
 

Definition at line 108 of file CallMachOFrameWork.c.

References gluetemplate.

Referenced by lookupprocaddress().

void* convertmachotocfmfuncptr void *  mfp  ) 
 

Definition at line 147 of file CallMachOFrameWork.c.

References MemError, nil, noErr, tvectorstruct::procaddr, and tvectorstruct::toc.

Referenced by fillcalltable().

void disposecfmfuncptr void *  cfmfp  ) 
 

Definition at line 167 of file CallMachOFrameWork.c.

References nil.

void disposemachofuncptr void *  mfp  ) 
 

Definition at line 134 of file CallMachOFrameWork.c.

References nil.

Referenced by callvolatile(), and freeprocinfobuckets().

void* getframeworkfuncptr CFStringRef  framework,
CFStringRef  functionname
 

Definition at line 90 of file CallMachOFrameWork.c.

References LoadFrameworkBundle(), nil, and noErr.

Referenced by FastInitialize().

Here is the call graph for this function:

OSStatus LoadFrameworkBundle CFStringRef  framework,
CFBundleRef *  bundlePtr
 

Definition at line 34 of file CallMachOFrameWork.c.

References assert, nil, and noErr.

Referenced by getframeworkfuncptr(), and useQDText().


Variable Documentation

UInt32 gluetemplate[6] = {0x3D800000, 0x618C0000, 0x800C0000, 0x804C0004, 0x7C0903A6, 0x4E800420} [static]
 

Definition at line 106 of file CallMachOFrameWork.c.

Referenced by convertcfmtomachofuncptr().


Generated on Wed May 31 22:58:15 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6