Screw convention; moving include files alongside source files.
They now will show up in xcode/etc.
This commit is contained in:
39
src/xenia/cpu/xethunk/xethunk.c
Normal file
39
src/xenia/cpu/xethunk/xethunk.c
Normal file
@@ -0,0 +1,39 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* Xenia : Xbox 360 Emulator Research Project *
|
||||
******************************************************************************
|
||||
* Copyright 2013 Ben Vanik. All rights reserved. *
|
||||
* Released under the BSD license - see LICENSE in the root for more details. *
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
/**
|
||||
* This file is compiled with clang to produce LLVM bitcode.
|
||||
* When the emulator goes to build a full module it then imports this code into
|
||||
* the generated module to provide globals/other shared values.
|
||||
*
|
||||
* Changes to this file require building a new version and checking it into the
|
||||
* repo on a machine that has clang.
|
||||
*
|
||||
* # rebuild the xethunk.bc/.ll files:
|
||||
* xb xethunk
|
||||
*/
|
||||
|
||||
// NOTE: only headers in this directory should be included.
|
||||
#include "xethunk.h"
|
||||
|
||||
|
||||
// Global memory base.
|
||||
// Dereference + PPC address to manipulate memory. Note that it's stored in
|
||||
// big-endian!
|
||||
extern char* xe_memory_base;
|
||||
|
||||
|
||||
int xe_module_init() {
|
||||
// TODO(benvanik): setup call table, etc?
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void xe_module_uninit() {
|
||||
}
|
||||
Reference in New Issue
Block a user