Common: Add MemArena.h/cpp to the Common namespace

Brings more common code under the Common namespace.
This commit is contained in:
Lioncash
2018-05-15 17:28:41 -04:00
parent 51ce30e09d
commit 947fa271be
3 changed files with 10 additions and 3 deletions

View File

@ -12,11 +12,12 @@
#include "Common/CommonTypes.h"
namespace Common
{
// This class lets you create a block of anonymous RAM, and then arbitrarily map views into it.
// Multiple views can mirror the same section of the block, which makes it very convenient for
// emulating
// memory mirrors.
class MemArena
{
public:
@ -35,3 +36,5 @@ private:
int fd;
#endif
};
} // namespace Common