mirror of
https://github.com/geode-sdk/geode.git
synced 2024-12-04 13:11:09 -05:00
16 lines
380 B
C++
16 lines
380 B
C++
|
#include "platform_macro.h"
|
||
|
#if defined(TARGET_ARCH_IA32)
|
||
|
|
||
|
#include "dobby_internal.h"
|
||
|
|
||
|
void set_routing_bridge_next_hop(RegisterContext *ctx, void *address) {
|
||
|
addr_t esp = ctx->esp;
|
||
|
|
||
|
addr_t entry_placeholder_stack_addr = esp - 4;
|
||
|
*(addr_t *)entry_placeholder_stack_addr = (addr_t)address;
|
||
|
}
|
||
|
|
||
|
void get_routing_bridge_next_hop(RegisterContext *ctx, void *address) {
|
||
|
}
|
||
|
|
||
|
#endif
|