Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions include/coreinit/codegen.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#pragma once

#include <wut.h>

/**
Expand Down Expand Up @@ -53,8 +54,8 @@ typedef enum OSCodegenSecMode
* - \link OSGetSecCodeGenMode \endlink
*/
void
OSCodegenGetVirtAddrRange(uint32_t* outVirtualAddress,
uint32_t* outSize);
OSGetCodegenVirtAddrRange(void **outVirtualAddress,
uint32_t *outSize);

/**
* Gets the CPU core that's allowed to use codegen.
Expand Down Expand Up @@ -119,10 +120,9 @@ OSGetSecCodeGenMode();
* <!-- NOTE this function has a specific bit required in cox.xml: 1 << 30? -->
*/
BOOL
OSCodegenCopy(void* dst, void* src, size_t size);

void
OSGetCodegenVirtAddrRange(void** outAddr, uint32_t* size);
OSCodegenCopy(void *dst,
void *src,
size_t size);

#ifdef __cplusplus
}
Expand Down