diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-07-10 23:44:10 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-07-10 23:53:28 -0700 |
commit | ec73ed1230d75deb0f913a32617c9f1e0a5ca640 (patch) | |
tree | 55c0e38d65d43420f6ce481c864a9efdbd1cb445 /html/mu-init.subx.html | |
parent | c5a3f65502d6931a5fb888a5c5327c0659578a57 (diff) | |
download | mu-ec73ed1230d75deb0f913a32617c9f1e0a5ca640.tar.gz |
6631
Diffstat (limited to 'html/mu-init.subx.html')
-rw-r--r-- | html/mu-init.subx.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/html/mu-init.subx.html b/html/mu-init.subx.html index cea26406..80ad77ed 100644 --- a/html/mu-init.subx.html +++ b/html/mu-init.subx.html @@ -76,7 +76,7 @@ if ('onhashchange' in window) { <span id="L20" class="LineNr">20 </span> 89/<- %esi 4/r32/esp <span id="L21" class="LineNr">21 </span><span class="Constant">$Entry:initialize-heap</span>: <span id="L22" class="LineNr">22 </span> <span class="subxH1Comment"># - initialize the heap</span> -<span id="L23" class="LineNr">23 </span> (<a href='053new-segment.subx.html#L40'>new-segment</a> *<span class="SpecialChar"><a href='069allocate.subx.html#L34'>Heap-size</a></span> <span class="SpecialChar"><a href='069allocate.subx.html#L27'>Heap</a></span>) +<span id="L23" class="LineNr">23 </span> (<a href='104new-segment.subx.html#L40'>new-segment</a> *<span class="SpecialChar"><a href='120allocate.subx.html#L34'>Heap-size</a></span> <span class="SpecialChar"><a href='120allocate.subx.html#L27'>Heap</a></span>) <span id="L24" class="LineNr">24 </span><span class="Constant">$Entry:initialize-args</span>: <span id="L25" class="LineNr">25 </span> <span class="subxH1Comment"># - convert argv from null-terminated 'kernel' strings to length-prefixed Mu strings</span> <span id="L26" class="LineNr">26 </span> <span class="subxComment"># var argc/edx: int</span> @@ -88,8 +88,8 @@ if ('onhashchange' in window) { <span id="L32" class="LineNr">32 </span> 68/push 0/imm32 <span id="L33" class="LineNr">33 </span> 89/<- %ebx 4/r32/esp <span id="L34" class="LineNr">34 </span> <span class="subxComment"># var args/edi: (addr array (addr array byte))</span> -<span id="L35" class="LineNr">35 </span> (<a href='069allocate.subx.html#L576'>allocate-array</a> <span class="SpecialChar"><a href='069allocate.subx.html#L27'>Heap</a></span> %edx %ebx) -<span id="L36" class="LineNr">36 </span> (<a href='069allocate.subx.html#L256'>lookup</a> *ebx *(ebx+4)) <span class="subxComment"># => eax</span> +<span id="L35" class="LineNr">35 </span> (<a href='120allocate.subx.html#L576'>allocate-array</a> <span class="SpecialChar"><a href='120allocate.subx.html#L27'>Heap</a></span> %edx %ebx) +<span id="L36" class="LineNr">36 </span> (<a href='120allocate.subx.html#L256'>lookup</a> *ebx *(ebx+4)) <span class="subxComment"># => eax</span> <span id="L37" class="LineNr">37 </span> 89/<- %edi 0/r32/eax <span id="L38" class="LineNr">38 </span> <span class="subxComment"># var curr/ecx: (addr kernel-string) = argv</span> <span id="L39" class="LineNr">39 </span> 8d/copy-address *(esi+4) 1/r32/ecx @@ -102,8 +102,8 @@ if ('onhashchange' in window) { <span id="L46" class="LineNr">46 </span> 39/compare %ecx 2/r32/edx <span id="L47" class="LineNr">47 </span> 73/jump-if-addr>= <span class="Constant">break</span>/disp8 <span id="L48" class="LineNr">48 </span> <span class="subxComment"># *dest = kernel-string-to-string(*curr)</span> -<span id="L49" class="LineNr">49 </span> (<a href='102kernel-string.subx.html#L7'>kernel-string-to-string</a> <span class="SpecialChar"><a href='069allocate.subx.html#L27'>Heap</a></span> *ecx %ebx) -<span id="L50" class="LineNr">50 </span> (<a href='069allocate.subx.html#L256'>lookup</a> *ebx *(ebx+4)) <span class="subxComment"># => eax</span> +<span id="L49" class="LineNr">49 </span> (<a href='303kernel-string.subx.html#L7'>kernel-string-to-string</a> <span class="SpecialChar"><a href='120allocate.subx.html#L27'>Heap</a></span> *ecx %ebx) +<span id="L50" class="LineNr">50 </span> (<a href='120allocate.subx.html#L256'>lookup</a> *ebx *(ebx+4)) <span class="subxComment"># => eax</span> <span id="L51" class="LineNr">51 </span> 89/<- *esi 0/r32/eax <span id="L52" class="LineNr">52 </span> <span class="subxComment"># curr += 4</span> <span id="L53" class="LineNr">53 </span> 81 0/subop/add %ecx 4/imm32 |