diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-09-15 00:01:26 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-09-15 00:01:26 -0700 |
commit | a0d3cac4e69101669681a4d8af6dc3e8bd2c9a6a (patch) | |
tree | a6059cadcc1cfea9d4b97a6867d472a3c6297389 /html/034compute_segment_address.cc.html | |
parent | 34fda13bfd12204f1fc0145005d9df08f31a1b73 (diff) | |
download | mu-a0d3cac4e69101669681a4d8af6dc3e8bd2c9a6a.tar.gz |
5659
Diffstat (limited to 'html/034compute_segment_address.cc.html')
-rw-r--r-- | html/034compute_segment_address.cc.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/html/034compute_segment_address.cc.html b/html/034compute_segment_address.cc.html index 2b105f9b..0f09a4fd 100644 --- a/html/034compute_segment_address.cc.html +++ b/html/034compute_segment_address.cc.html @@ -96,10 +96,10 @@ if ('onhashchange' in window) { <span id="L38" class="LineNr">38 </span> <span class="Comment">// valid address for user space, so assume we're creating a real ELF binary, not just running a test</span> <span id="L39" class="LineNr">39 </span> curr<span class="Delimiter">.</span>start &= <span class="Constant">0xfffff000</span><span class="Delimiter">;</span> <span class="Comment">// same number of zeros as the p_align used when emitting the ELF binary</span> <span id="L40" class="LineNr">40 </span> curr<span class="Delimiter">.</span>start |= <span class="Delimiter">(</span>p_offset & <span class="Constant">0xfff</span><span class="Delimiter">);</span> -<span id="L41" class="LineNr">41 </span> <a href='003trace.cc.html#L96'>trace</a><span class="Delimiter">(</span><span class="Constant">99</span><span class="Delimiter">,</span> <span class="Constant">"transform"</span><span class="Delimiter">)</span> << <span class="Constant">"segment "</span> << i << <span class="Constant">" begins at address 0x"</span> << <a href='010---vm.cc.html#L398'>HEXWORD</a> << curr<span class="Delimiter">.</span>start << end<span class="Delimiter">();</span> +<span id="L41" class="LineNr">41 </span> <a href='003trace.cc.html#L96'>trace</a><span class="Delimiter">(</span><span class="Constant">99</span><span class="Delimiter">,</span> <span class="Constant">"transform"</span><span class="Delimiter">)</span> << <span class="Constant">"segment "</span> << i << <span class="Constant">" begins at address 0x"</span> << <a href='010---vm.cc.html#L401'>HEXWORD</a> << curr<span class="Delimiter">.</span>start << end<span class="Delimiter">();</span> <span id="L42" class="LineNr">42 </span> <span class="Delimiter">}</span> <span id="L43" class="LineNr">43 </span> p_offset += size_of<span class="Delimiter">(</span>curr<span class="Delimiter">);</span> -<span id="L44" class="LineNr">44 </span> assert<span class="Delimiter">(</span>p_offset < <a href='010---vm.cc.html#L92'>SEGMENT_ALIGNMENT</a><span class="Delimiter">);</span> <span class="Comment">// for now we get less and less available space in each successive segment</span> +<span id="L44" class="LineNr">44 </span> assert<span class="Delimiter">(</span>p_offset < <a href='010---vm.cc.html#L95'>SEGMENT_ALIGNMENT</a><span class="Delimiter">);</span> <span class="Comment">// for now we get less and less available space in each successive segment</span> <span id="L45" class="LineNr">45 </span> <span class="Delimiter">}</span> <span id="L46" class="LineNr">46 </span><span class="Delimiter">}</span> <span id="L47" class="LineNr">47 </span> |