diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-12-30 12:58:21 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-12-30 12:58:21 -0800 |
commit | 0474ec865af12cff08dd255954fbccf6d38085e6 (patch) | |
tree | 738a543c5bf061c08f454753081e8bc9f451a982 /html/subx/010---vm.cc.html | |
parent | 5a68894ca16f1a67112695990446c1b29da4f5c0 (diff) | |
download | mu-0474ec865af12cff08dd255954fbccf6d38085e6.tar.gz |
4898
Diffstat (limited to 'html/subx/010---vm.cc.html')
-rw-r--r-- | html/subx/010---vm.cc.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/html/subx/010---vm.cc.html b/html/subx/010---vm.cc.html index 1d5ce504..0be40175 100644 --- a/html/subx/010---vm.cc.html +++ b/html/subx/010---vm.cc.html @@ -173,7 +173,7 @@ if ('onhashchange' in window) { <span id="L112" class="LineNr">112 </span><span class="SalientComment">//:: simulated RAM</span> <span id="L113" class="LineNr">113 </span> <span id="L114" class="LineNr">114 </span><span class="Delimiter">:(before "End Types")</span> -<span id="L115" class="LineNr">115 </span><span class="Normal">const</span> <span class="Normal">uint32_t</span> <a href='010---vm.cc.html#L115'>SEGMENT_ALIGNMENT</a> = <span class="Constant">0x1000000</span><span class="Delimiter">;</span> +<span id="L115" class="LineNr">115 </span><span class="Normal">const</span> <span class="Normal">uint32_t</span> <a href='010---vm.cc.html#L115'>SEGMENT_ALIGNMENT</a> = <span class="Constant">0x1000000</span><span class="Delimiter">;</span> <span class="Comment">// 16MB</span> <span id="L116" class="LineNr">116 </span><span class="Normal">inline</span> <span class="Normal">uint32_t</span> <a href='010---vm.cc.html#L116'>align_upwards</a><span class="Delimiter">(</span><span class="Normal">uint32_t</span> x<span class="Delimiter">,</span> <span class="Normal">uint32_t</span> align<span class="Delimiter">)</span> <span class="Delimiter">{</span> <span id="L117" class="LineNr">117 </span> <span class="Identifier">return</span> <span class="Delimiter">(</span>x+align-<span class="Constant">1</span><span class="Delimiter">)</span> & -<span class="Delimiter">(</span>align<span class="Delimiter">);</span> <span id="L118" class="LineNr">118 </span><span class="Delimiter">}</span> |