Commit Graph

53 Commits

Author SHA1 Message Date
Ben Vanik fc7695f874 Take the whole 64k page at 0x0. 2015-06-23 18:06:37 -07:00
Ben Vanik fb1f4906d9 xb format --all (we are now format clean). Buildbot will yell at you. 2015-06-22 22:26:51 -07:00
Drew DeVault a064ba053e Add missing includes for cstring 2015-06-16 23:16:18 -06:00
Ben Vanik 9d7d6df476 Bail on invalid heap lookups. 2015-06-08 17:49:54 -07:00
Ben Vanik 52b8f4b54b Removing memory reservation value check for load/store. 2015-06-07 21:57:44 -07:00
gibbed dae8aa4386 Added --protect_zero command-line argument to protect page zero from read/writes. 2015-06-05 16:13:34 -05:00
Ben Vanik 53527bef17 Fixing heap frees. 2015-06-04 19:18:00 -07:00
Ben Vanik 319402a11a Re-allow writes to 0. No clue why, but everything does it. 2015-06-04 16:37:17 -07:00
Dr. Chat abacf136a0 Protect page 0 with no access 2015-06-04 16:21:38 -05:00
Ben Vanik a9e2ba16fb Optimizing page allocation (still shit) and adding MmSetAddressProtect. 2015-06-03 21:24:09 -07:00
Ben Vanik 40a6a12800 Attempting to inline a lot of MMIO operations. Works for GPU stuff mainly. 2015-06-02 20:15:43 -07:00
Ben Vanik c4ef5d4eb8 Allow AllocFixed of unreserved ranges. 2015-05-29 21:47:19 -07:00
gibbed d1dbee2052 Consistency in memset calls. 2015-05-28 05:28:59 -05:00
Ben Vanik 8244409501 Refactoring to enable future time scaling, coordinated clocks, etc. 2015-05-26 22:20:58 -07:00
Ben Vanik e3ddcd44e7 Minor fixes and fixing thread names. 2015-05-25 21:10:28 -07:00
Ben Vanik 9607eef9d6 Fixing page alloc in range; only happens right before OOM crash though :/ 2015-05-25 10:28:36 -07:00
Ben Vanik f5a2b85d42 Switching to xe::mutex. 2015-05-25 00:52:21 -07:00
Ben Vanik da655d15b3 Sharing memory. 2015-05-25 00:51:23 -07:00
gibbed ea99ba8e3b 0x7F000000-0x7FFFFFFF is magic. 2015-05-22 02:20:05 -05:00
Ben Vanik b119aa50f5 Fixing thread ID. 2015-05-18 21:24:14 -07:00
Ben Vanik 8bfc43bb0d Trying to do MMIO protects on allocation granularity. 2015-05-18 20:47:41 -07:00
Ben Vanik 7796f5cb60 Fixing page guards to work at system page granularity. 2015-05-18 20:25:15 -07:00
Ben Vanik 6d821df3a9 Zeroing heap memory. 2015-05-18 18:48:48 -07:00
Ben Vanik f5f7d15366 Trying, and failing, to get E0000000 range addresses to work. 2015-05-17 21:26:44 -07:00
Ben Vanik c1a0f46ea8 Implementing dcbz. 2015-05-17 16:40:38 -07:00
Ben Vanik 37804d692c Fixing stack allocation alignment. 2015-05-17 10:17:32 -07:00
Dr. Chat 6adde32558 Scribble memory when allocated 2015-05-16 18:41:18 -05:00
Ben Vanik 147a70b9c1 Rewriting memory manager. 2015-05-17 00:16:56 +01:00
Ben Vanik 4c8f3501ad Removing xdb and old tracing code before rewrite. 2015-05-03 22:01:31 -07:00
Ben Vanik d1ee1512b9 Fixing most clang-format errors. 2015-05-03 10:27:50 -07:00
Ben Vanik e3220f7ae6 Code cleanup: moving poly/ into xenia/base/ 2015-05-02 03:42:51 -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 3a197705bb Special memory functions for system allocs. 2015-03-28 15:54:44 -07:00
Ben Vanik 281abea955 Converting addresses in xe::cpu to 32bit. 2015-03-24 19:41:29 -07:00
Ben Vanik 9281d62106 Moving cpu/runtime/ to cpu/. 2015-03-24 08:25:58 -07:00
Ben Vanik 29912f44c0 Moving alloy/ into xenia/cpu/ to start simplifying things. 2015-03-24 07:46:18 -07:00
Ben Vanik 59adde4d7f Negative size allocs. Probably. 2015-02-01 21:20:55 -08:00
Ben Vanik 00e4a4fe1b Fix #include format. 2015-01-31 22:49:47 -08:00
Ben Vanik b8bb338564 Removing IVM. 2015-01-19 12:35:43 -08:00
Ben Vanik 9e1c3e1dfc Putting something at 0x40000000. 2015-01-07 22:24:59 -08:00
Ben Vanik 0529fdb84d Basic hacky write watching for texture invalidation. Doesn't scale. 2015-01-04 16:28:42 -08:00
Ben Vanik 756cfbb484 Removing dirty page table hack. 2014-12-19 17:29:27 -08:00
Ben Vanik 8c314225bb Make XPS happy and remove some GPU address munging. 2014-11-02 00:02:17 -07:00
Ben Vanik 447b5bf316 Fixing xex loading into 4k pages. 2014-09-13 19:32:37 -07:00
Ben Vanik c59d053404 unique_ptr'ing things and removing some XECLEANUP. 2014-08-20 23:26:46 -07:00
Ben Vanik cecf83b7b7 Removing xenia/malloc.*
Using standard memory functions now.
2014-08-20 22:22:47 -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 fdb6a5cfa3 Initial Alloy implementation.
This is a regression in functionality and performance, but a much better
foundation for the future of the project (I think). It can run basic
apps under an SSA interpreter but doesn't support some of the features
required to do real 360 apps yet.
2013-12-06 22:57:16 -08:00
Ben Vanik 7d6dda356c Clear all allocated memory. 2013-10-27 16:01:35 -07:00