jak-project/game/kernel/jak1/klink.h

20 lines
593 B
C
Raw Normal View History

#pragma once
#include "common/common_types.h"
#include "game/kernel/common/Ptr.h"
#include "game/kernel/common/kmalloc.h"
namespace jak1 {
Ptr<uint8_t> link_and_exec(Ptr<uint8_t> data,
const char* name,
int32_t size,
Ptr<kheapinfo> heap,
uint32_t flags,
bool jump_from_c_to_goal);
void ultimate_memcpy(void* dst, void* src, uint32_t size);
u64 link_and_exec_wrapper(u64* args);
uint64_t link_begin(u64* args);
uint64_t link_resume();
} // namespace jak1