<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 4, 2014 at 11:18 PM, Robinson, Paul <span dir="ltr"><<a href="mailto:Paul_Robinson@playstation.sony.com" target="_blank">Paul_Robinson@playstation.sony.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":3h8" class="a3s" style="overflow:hidden">So we have lots of backends, conjuring up new ones is common<br>
enough that we desire better documentation for doing it, the<br>
goal of simplifying these backends is moderately worthy, and..<br>
"there is only one" backend.<br>
<br>
Uh... what?</div></blockquote></div><br>Sorry, it is confusing.</div><div class="gmail_extra"><br></div><div class="gmail_extra">We have a target-independent layer in the backend, and then a large number of targets.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">The target-independent layer makes it possible for all of the targets to share common code where it makes sense. In fact, a large part of legalization is shared between the targets. However, it is quite complex, and there have been lots of efforts over the years to simplify legalization. So even though this is shared, it is something interesting.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">However, this target-independent logic is hooked *extensively* by each target. And documenting exactly how to do all of this is the thing being referenced. And simplifying this per-target hooking logic (or reducing, etc) makes writing a new target in the backend significantly easier.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Hope that helps some.</div></div>