Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions
xptcstubs_arm_openbsd.cpp File Reference
#include "xptcprivate.h"
#include "xptcstubsdef.inc"

Go to the source code of this file.

Defines

#define PARAM_BUFFER_COUNT   16
#define STUB_ENTRY(n)
#define SENTINEL_ENTRY(n)

Functions

static nsresult PrepareAndDispatch (nsXPTCStubBase *self, uint32 methodIndex, PRUint32 *args) asm("_PrepareAndDispatch")
 __asm__ ("\n\ SharedStub: \n\ stmfd sp!, {r1, r2, r3} \n\ mov r2, sp \n\ str lr, [sp, #-4]! \n\ mov r1, ip \n\ bl _PrepareAndDispatch \n\ ldr pc, [sp], #16")

Define Documentation

Value:
nsresult nsXPTCStubBase::Sentinel##n() \
{ \
    NS_ASSERTION(0,"nsXPTCStubBase::Sentinel called"); \
    return NS_ERROR_NOT_IMPLEMENTED; \
}

Definition at line 233 of file xptcstubs_arm_openbsd.cpp.

Value:
__asm__(                                                \
       ".section \".text\"\n"                                  \
"      .align\n"                                        \
"      .globl Stub"#n"__14nsXPTCStubBase\n"                    \
"      .type  Stub"#n"__14nsXPTCStubBase,#function\n\n" \
"Stub"#n"__14nsXPTCStubBase:\n"                                \
"      mov    ip, #"#n"\n"                              \
"      b      SharedStub\n\t");

Definition at line 221 of file xptcstubs_arm_openbsd.cpp.


Function Documentation

__asm__ ( "\n\SharedStub: \n\ stmfd sp!  )
static nsresult PrepareAndDispatch ( nsXPTCStubBase *  self,
uint32  methodIndex,
PRUint32 args 
) [static]