Prepping kernel export tables for various uses.
This commit is contained in:
@@ -7,6 +7,6 @@
|
||||
'xam_module.h',
|
||||
'xam_state.cc',
|
||||
'xam_state.h',
|
||||
'xam_table.h',
|
||||
'xam_table.inc',
|
||||
],
|
||||
}
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
#include <xenia/kernel/modules/xam/xam_module.h>
|
||||
|
||||
#include <xenia/kernel/export.h>
|
||||
#include <xenia/kernel/modules/xam/xam_info.h>
|
||||
#include <xenia/kernel/modules/xam/xam_table.h>
|
||||
|
||||
|
||||
using namespace xe;
|
||||
@@ -20,6 +20,12 @@ using namespace xe::kernel::xam;
|
||||
|
||||
XamModule::XamModule(Runtime* runtime) :
|
||||
KernelModule(runtime) {
|
||||
// Build the export table used for resolution.
|
||||
#include <xenia/kernel/util/export_table_pre.inc>
|
||||
static KernelExport xam_export_table[] = {
|
||||
#include <xenia/kernel/modules/xam/xam_table.inc>
|
||||
};
|
||||
#include <xenia/kernel/util/export_table_post.inc>
|
||||
export_resolver_->RegisterTable(
|
||||
"xam.xex", xam_export_table, XECOUNT(xam_export_table));
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
1406
src/xenia/kernel/modules/xam/xam_table.inc
Normal file
1406
src/xenia/kernel/modules/xam/xam_table.inc
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user