mirror of
https://github.com/geode-sdk/geode.git
synced 2024-12-21 21:32:22 -05:00
17 lines
422 B
C++
17 lines
422 B
C++
|
#include "platform_macro.h"
|
||
|
#if defined(TARGET_ARCH_X64)
|
||
|
|
||
|
#include "dobby_internal.h"
|
||
|
|
||
|
void set_routing_bridge_next_hop(RegisterContext *ctx, void *address) {
|
||
|
addr_t rsp = ctx->rsp;
|
||
|
|
||
|
// ClosureTrampolineEntry reserved stack
|
||
|
addr_t entry_placeholder_stack_addr = rsp - 8;
|
||
|
*(addr_t *)entry_placeholder_stack_addr = (addr_t)address;
|
||
|
}
|
||
|
|
||
|
void get_routing_bridge_next_hop(RegisterContext *ctx, void *address) {
|
||
|
}
|
||
|
|
||
|
#endif
|