Cleanup before kernel export refactor.
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
*
|
||||
* // Build the export table used for resolution.
|
||||
* #include "xenia/kernel/util/export_table_pre.inc"
|
||||
* static KernelExport my_module_export_table[] = {
|
||||
* static Export my_module_export_table[] = {
|
||||
* #include "xenia/kernel/my_module/my_module_table.inc"
|
||||
* };
|
||||
* #include "xenia/kernel/util/export_table_post.inc"
|
||||
@@ -23,11 +23,10 @@
|
||||
*/
|
||||
|
||||
|
||||
#define XE_EXPORT(module, ordinal, name, type, flags) \
|
||||
#define XE_EXPORT(module, ordinal, name, type) \
|
||||
{ \
|
||||
ordinal, \
|
||||
xe::cpu::KernelExport::type, \
|
||||
flags, \
|
||||
xe::cpu::Export::Type::type, \
|
||||
#name, \
|
||||
}
|
||||
|
||||
|
||||
@@ -22,6 +22,6 @@
|
||||
*/
|
||||
|
||||
|
||||
#define XE_EXPORT(module, ordinal, name, type, flags) \
|
||||
#define XE_EXPORT(module, ordinal, name, type) \
|
||||
name = ordinal
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ using PPCContext = xe::cpu::frontend::PPCContext;
|
||||
#define SHIM_CALL void _cdecl
|
||||
#define SHIM_SET_MAPPING(library_name, export_name, shim_data) \
|
||||
export_resolver->SetFunctionMapping( \
|
||||
library_name, ordinals::##export_name, shim_data, \
|
||||
library_name, ordinals::##export_name, \
|
||||
(xe::cpu::xe_kernel_export_shim_fn)export_name##_shim);
|
||||
|
||||
#define SHIM_MEM_BASE ppc_state->virtual_membase
|
||||
|
||||
Reference in New Issue
Block a user