Dr. Chat
9c949a2e87
Don't need to memset the xex memory twice.
2015-05-18 10:42:35 -05:00
Dr. Chat
88733bf8ba
Zero-fill the memory where we're placing the xex
2015-05-18 00:50:58 -05:00
Ben Vanik
147a70b9c1
Rewriting memory manager.
2015-05-17 00:16:56 +01:00
Dr. Chat
e6b4c6056f
Calculate xex size based on the total size of all of the sections
2015-05-14 21:54:18 -05:00
Ben Vanik
7a00b76a6e
Debugger stuff, and changing to vcproj's/sln.
2015-05-09 17:48:12 -07:00
Ben Vanik
4411a4499d
XEX-style exports, dumping exports, and prepping kernel export lookup.
2015-05-09 00:59:03 -07:00
Ben Vanik
b07d5b8ed3
Fixing compile warnings.
2015-05-05 18:52:37 -07:00
Dr. Chat
bffd2624fc
Lookup XEX export by ordinal
2015-05-05 18:54:01 -05:00
Ben Vanik
442e5f2840
clang-format
2015-05-04 20:24:02 -07:00
Dr. Chat
1571c51a56
Kill some unused code
2015-05-04 20:33:04 -05:00
Dr. Chat
6a602affed
Don't parse loader export table for now (since it's referenced to with an exact address)
2015-05-04 18:16:31 -05:00
Dr. Chat
211cd0760a
Use header->exe_address instead (in-case the module is relocated)
2015-05-04 18:11:39 -05:00
Dr. Chat
49c8efdc6d
XexGetProcedureAddress by name implemented.
2015-05-04 18:02:57 -05:00
Ben Vanik
e3220f7ae6
Code cleanup: moving poly/ into xenia/base/
2015-05-02 03:42:51 -07:00
Ben Vanik
642259e16f
Code cleanup: moving ExportResolver to xe::cpu
2015-05-02 02:11:11 -07:00
Ben Vanik
30f7effa73
Code cleanup: removing common.h
2015-05-02 01:25:59 -07:00
Ben Vanik
ec84a688e9
Starting to properly attribute virtual vs. physical memory accesses.
2015-03-29 11:11:35 -07:00
Ben Vanik
71eabf7f2b
Fixing some misc bugs.
2015-03-28 15:45:39 -07:00
Ben Vanik
281abea955
Converting addresses in xe::cpu to 32bit.
2015-03-24 19:41:29 -07:00
Ben Vanik
3279776a80
Moving cpu/frontend/ppc/ to cpu/frontend/.
2015-03-24 08:37:00 -07:00
Ben Vanik
29912f44c0
Moving alloy/ into xenia/cpu/ to start simplifying things.
2015-03-24 07:46:18 -07:00
Ben Vanik
29719b8f4d
Cleaning up some line ending issues.
2015-02-09 14:10:23 -08:00
Ben Vanik
00e4a4fe1b
Fix #include format.
2015-01-31 22:49:47 -08:00
Ben Vanik
a0eebf8898
Removing old run loop/ref/core/etc.
2014-12-31 19:26:51 -08:00
Ben Vanik
1ae2f2a7af
Fixing warnings under the new VC++.
2014-12-19 19:29:12 -08:00
Ben Vanik
447b5bf316
Fixing xex loading into 4k pages.
2014-09-13 19:32:37 -07:00
Ben Vanik
cecf83b7b7
Removing xenia/malloc.*
...
Using standard memory functions now.
2014-08-20 22:22:47 -07:00
Ben Vanik
fb98683ed3
Converting HID API to use be<> auto swapping type.
2014-08-19 22:50:21 -07:00
Ben Vanik
48a0e5c601
Shrinking alloy memory interface so that alloy-sandbox doesn't need xe.
2014-08-19 21:02:15 -07:00
Ben Vanik
1c4dcd5e0e
clang-format on most of kernel/
2014-08-17 13:13:03 -07:00
Ben Vanik
24fe169f36
Last bit of string cleanup. string.h finally gone.
2014-08-17 11:48:29 -07:00
Ben Vanik
f2a9fa3bf9
XECOUNT to countof.
2014-08-16 17:58:33 -07:00
Ben Vanik
54ce9db743
Starting to remove some macros.
2014-08-16 16:57:00 -07:00
Ben Vanik
a4dfc23abc
Working on switching to std::string.
2014-08-16 02:30:23 -07:00
Ben Vanik
bf48e9fbbd
Part 2 of kernel cleanup: merging functions into shims.
2014-08-16 00:11:24 -07:00
Ben Vanik
56ce363ac5
Removing export impl.
2014-08-15 22:31:44 -07:00
Ben Vanik
0c5110ac3e
Fixing warnings.
2014-07-17 20:52:56 -07:00
Ben Vanik
ec4f41fec4
Moving byte order/memory access to poly.
2014-07-17 19:20:17 -07:00
Ben Vanik
bf882714d0
Cleaning up asserts and file/line macros.
2014-07-12 16:51:52 -07:00
Ben Vanik
71eb408d67
Various fiddlings.
2014-06-22 19:41:26 -07:00
Ben Vanik
f85b83709e
Refactoring of function types. Also fixes some library import bugs.
2014-01-30 00:22:55 -08:00
gibbed
7e22d3be92
- Renamed SHIM_SET_RETURN macro to SHIM_SET_RETURN_64.
...
- Added SHIM_SET_RETURN_32 macro, which sign-extends to 64-bit.
- Updated all uses of SHIM_SET_RETURN to the appropriate macro (either SHIM_SET_RETURN_32 or SHIM_SET_RETURN_64).
2014-01-19 07:24:16 -08:00
Ben Vanik
268bbf105d
QueryDirectory for STFS.
2014-01-19 01:47:06 -08:00
Ben Vanik
0bc49621d4
Properly parsing resource infos and implementing XexGetModuleSection.
2014-01-19 00:53:22 -08:00
gibbed
5fa82364ba
Better handling for bad library import string table indices.
2014-01-18 23:24:50 -08:00
gibbed
d9984a15c5
Macros for 8-bit GPR/MEM access.
2014-01-18 07:55:24 -08:00
Ben Vanik
d73aa419d1
Better returns for XAudio.
2014-01-13 20:50:56 -08:00
Ben Vanik
dc496e8102
Unifying kernel modules and user modules to XModule. XexLoadImage/etc.
2014-01-11 17:24:34 -08:00
Ben Vanik
4d92720109
Moving all kernel files around just to fuck with whoever's keeping track ;)
2014-01-04 17:12:46 -08:00
Ben Vanik
06d9f7989a
Removing signature from export tables.
2013-11-01 16:23:40 -07:00