<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dolphin/Source/Core/Common/MemArena.cpp, branch stable</title>
<subtitle>GameCube and Wii emulator</subtitle>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/'/>
<entry>
<title>Common: Use more portable invocation of shm_open</title>
<updated>2015-07-12T06:09:11+00:00</updated>
<author>
<name>Jeffrey Pfau</name>
<email>jeffrey@endrift.com</email>
</author>
<published>2015-06-11T07:44:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=a6437f629c68169983bf61c2188b743937f19ff3'/>
<id>a6437f629c68169983bf61c2188b743937f19ff3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Set copyright year to when a file was created</title>
<updated>2015-05-25T11:22:31+00:00</updated>
<author>
<name>Tillmann Karras</name>
<email>tilkax@gmail.com</email>
</author>
<published>2015-05-24T04:55:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=30ebb2459eb97ba544547183854775df8460b475'/>
<id>30ebb2459eb97ba544547183854775df8460b475</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update license headers to GPLv2+</title>
<updated>2015-05-25T11:22:31+00:00</updated>
<author>
<name>Tillmann Karras</name>
<email>tilkax@gmail.com</email>
</author>
<published>2015-05-17T23:08:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=cefcb0ace9d363b3679b4e93bcc9ec05f1e5f4f8'/>
<id>cefcb0ace9d363b3679b4e93bcc9ec05f1e5f4f8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make address translation respect the CPU translation mode.</title>
<updated>2015-02-11T21:56:22+00:00</updated>
<author>
<name>magumagu</name>
<email>magumagu9@gmail.com</email>
</author>
<published>2015-01-17T21:17:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=ac54c6a4e2f6790f628f8a8112ff1940732f5068'/>
<id>ac54c6a4e2f6790f628f8a8112ff1940732f5068</id>
<content type='text'>
The PowerPC CPU has bits in MSR (DR and IR) which control whether
addresses are translated. We should respect these instead of mixing
physical addresses and translated addresses into the same address space.

This is mostly mass-renaming calls to memory accesses APIs from places
which expect address translation to use a different version from those
which do not expect address translation.

This does very little on its own, but it's the first step to a correct BAT
implementation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The PowerPC CPU has bits in MSR (DR and IR) which control whether
addresses are translated. We should respect these instead of mixing
physical addresses and translated addresses into the same address space.

This is mostly mass-renaming calls to memory accesses APIs from places
which expect address translation to use a different version from those
which do not expect address translation.

This does very little on its own, but it's the first step to a correct BAT
implementation.
</pre>
</div>
</content>
</entry>
<entry>
<title>Common: Remove goto in MemArena.</title>
<updated>2014-12-01T17:47:37+00:00</updated>
<author>
<name>Rohit Nirmal</name>
<email>rohitnirmal9@gmail.com</email>
</author>
<published>2014-11-04T03:45:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=a53c5217bb8e5f724821efc764eec78b97926361'/>
<id>a53c5217bb8e5f724821efc764eec78b97926361</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Common: Fix -Wmaybe-uninitialized warning.</title>
<updated>2014-11-04T03:38:42+00:00</updated>
<author>
<name>Rohit Nirmal</name>
<email>rohitnirmal9@gmail.com</email>
</author>
<published>2014-11-04T03:38:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=f361ef1eb342da2cef78e1e2041cd125c68040be'/>
<id>f361ef1eb342da2cef78e1e2041cd125c68040be</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MemArena: Fix the launching of non-Wii games</title>
<updated>2014-11-03T19:08:59+00:00</updated>
<author>
<name>Jasper St. Pierre</name>
<email>jstpierre@mecheye.net</email>
</author>
<published>2014-11-03T18:04:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=e290a3d39c31fc05199048f91d2f855ac351bf80'/>
<id>e290a3d39c31fc05199048f91d2f855ac351bf80</id>
<content type='text'>
When we cleaned up the code to calculate the shm_position and total_mem
in one step, we sometimes skipped over certain views because they were
Wii-only. When looking at the total memory, we'd look at the last field,
whether or not it was skipped. Since Wii-only fields are the last view,
this meant that the shm_position was 0, since it was skipped, causing us
to map a 0-sized field. Fix this by explicitly returning the total size
from MemoryMap_InitializeViews.

Additionally, the shm_position was being calculated incorrectly because
it was adding up the shm_position *before* the mirror, rather than after
it. Fix this by adopting a scheme similar to what we had before.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When we cleaned up the code to calculate the shm_position and total_mem
in one step, we sometimes skipped over certain views because they were
Wii-only. When looking at the total memory, we'd look at the last field,
whether or not it was skipped. Since Wii-only fields are the last view,
this meant that the shm_position was 0, since it was skipped, causing us
to map a 0-sized field. Fix this by explicitly returning the total size
from MemoryMap_InitializeViews.

Additionally, the shm_position was being calculated incorrectly because
it was adding up the shm_position *before* the mirror, rather than after
it. Fix this by adopting a scheme similar to what we had before.
</pre>
</div>
</content>
</entry>
<entry>
<title>MemArena: Merge the initialization code with the size calculation code</title>
<updated>2014-11-03T03:59:14+00:00</updated>
<author>
<name>Jasper St. Pierre</name>
<email>jstpierre@mecheye.net</email>
</author>
<published>2014-11-03T03:24:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=f66078925456b6d704428f3263f7837100572328'/>
<id>f66078925456b6d704428f3263f7837100572328</id>
<content type='text'>
To make mistakes like in the previous commit less prevalent in the future.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To make mistakes like in the previous commit less prevalent in the future.
</pre>
</div>
</content>
</entry>
<entry>
<title>MemArena: Fix the calculation of position in SHM</title>
<updated>2014-11-03T03:25:42+00:00</updated>
<author>
<name>Jasper St. Pierre</name>
<email>jstpierre@mecheye.net</email>
</author>
<published>2014-11-03T03:12:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=5e5ed07b4140b98d2bee9128ad096cfae6c21f8b'/>
<id>5e5ed07b4140b98d2bee9128ad096cfae6c21f8b</id>
<content type='text'>
The code to calculate the offsets into the SHM file wasn't properly
respecting the skip flags, causing it to calculate offsets beyond
the end of the SHM file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The code to calculate the offsets into the SHM file wasn't properly
respecting the skip flags, causing it to calculate offsets beyond
the end of the SHM file.
</pre>
</div>
</content>
</entry>
<entry>
<title>MemArena: Fix a memory leak caused by pointer confusion</title>
<updated>2014-11-03T03:25:42+00:00</updated>
<author>
<name>Jasper St. Pierre</name>
<email>jstpierre@mecheye.net</email>
</author>
<published>2014-11-03T01:32:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=64540bc60d86c9cf48b26fd8b181e1b0a5a6400f'/>
<id>64540bc60d86c9cf48b26fd8b181e1b0a5a6400f</id>
<content type='text'>
This code was ported from out_ptr, which was a double-pointer, and
wanted to double-check that the proper arena was actually allocated.

When I ported it to store the pointer directly in the view regardless
of whether out_ptr was non-NULL, I got confused here and instead
caused the code to only free the arena if the first byte was non-zero.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This code was ported from out_ptr, which was a double-pointer, and
wanted to double-check that the proper arena was actually allocated.

When I ported it to store the pointer directly in the view regardless
of whether out_ptr was non-NULL, I got confused here and instead
caused the code to only free the arena if the first byte was non-zero.
</pre>
</div>
</content>
</entry>
</feed>
