JVM
natives.c File Reference
#include "natives.h"
#include "readfunctions.h"
#include "debugging.h"
#include "utf8.h"
#include "jvm.h"
#include <string.h>
#include <inttypes.h>
#include <time.h>
Include dependency graph for natives.c:

Macros

#define HIWORD(x)   ((int32_t)(x >> 32))
 
#define LOWORD(x)   ((int32_t)(x & 0xFFFFFFFFll))
 

Functions

uint8_t native_println (JavaVirtualMachine *jvm, Frame *frame, const uint8_t *descriptor_utf8, int32_t utf8_len)
 
uint8_t native_currentTimeMillis (JavaVirtualMachine *jvm, Frame *frame, const uint8_t *descriptor_utf8, int32_t utf8_len)
 
NativeFunction getNative (const uint8_t *className, int32_t classLen, const uint8_t *methodName, int32_t methodLen, const uint8_t *descriptor, int32_t descrLen)
 

Macro Definition Documentation

§ HIWORD

#define HIWORD (   x)    ((int32_t)(x >> 32))

§ LOWORD

#define LOWORD (   x)    ((int32_t)(x & 0xFFFFFFFFll))

Function Documentation

§ getNative()

NativeFunction getNative ( const uint8_t *  className,
int32_t  classLen,
const uint8_t *  methodName,
int32_t  methodLen,
const uint8_t *  descriptor,
int32_t  descrLen 
)
Here is the call graph for this function:
Here is the caller graph for this function:

§ native_currentTimeMillis()

uint8_t native_currentTimeMillis ( JavaVirtualMachine jvm,
Frame frame,
const uint8_t *  descriptor_utf8,
int32_t  utf8_len 
)
Here is the call graph for this function:
Here is the caller graph for this function:

§ native_println()

uint8_t native_println ( JavaVirtualMachine jvm,
Frame frame,
const uint8_t *  descriptor_utf8,
int32_t  utf8_len 
)
Here is the call graph for this function:
Here is the caller graph for this function: