diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-10-17 22:03:35 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-10-17 22:03:48 -0700 |
commit | b1635a5c8e25650a19999c246be321a0794eb58a (patch) | |
tree | a5ce06d138fac34b1e13fb1b06fd91b8b6c55712 /html/057write.subx.html | |
parent | 540974343290cb9ac0cf55b999447bf563928612 (diff) | |
download | mu-b1635a5c8e25650a19999c246be321a0794eb58a.tar.gz |
5701
Diffstat (limited to 'html/057write.subx.html')
-rw-r--r-- | html/057write.subx.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/html/057write.subx.html b/html/057write.subx.html index ed677ec8..1cb87d9f 100644 --- a/html/057write.subx.html +++ b/html/057write.subx.html @@ -81,8 +81,8 @@ if ('onhashchange' in window) { <span id="L21" class="LineNr"> 21 </span><span class="subxS1Comment"># . 1-3 bytes 3 bits 2 bits 3 bits 3 bits 3 bits 2 bits 2 bits 0/1/2/4 bytes 0/1/2/4 bytes</span> <span id="L22" class="LineNr"> 22 </span> <span id="L23" class="LineNr"> 23 </span><span class="subxComment"># TODO: come up with a way to signal when a write to disk fails</span> -<span id="L24" class="LineNr"> 24 </span><span class="subxFunction">write</span>: <span class="subxComment"># f : fd or (address stream), s : (address array byte) -> <void></span> -<span id="L25" class="LineNr"> 25 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L24" class="LineNr"> 24 </span><span class="subxFunction">write</span>: <span class="subxComment"># f : fd or (address stream), s : (address array byte)</span> +<span id="L25" class="LineNr"> 25 </span> <span class="subxS1Comment"># . prologue</span> <span id="L26" class="LineNr"> 26 </span> 55/push-ebp <span id="L27" class="LineNr"> 27 </span> 89/copy 3/mod/direct 5/rm32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/r32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy esp to ebp</span> <span id="L28" class="LineNr"> 28 </span> <span class="subxComment"># if (f < 0x08000000) _write(f, s) and return # f can't be a user-mode address, so treat it as a kernel file descriptor</span> @@ -130,7 +130,7 @@ if ('onhashchange' in window) { <span id="L70" class="LineNr"> 70 </span> 59/pop-to-ecx <span id="L71" class="LineNr"> 71 </span> 58/pop-to-eax <span id="L72" class="LineNr"> 72 </span><span class="Constant">$write:end</span>: -<span id="L73" class="LineNr"> 73 </span> <span class="subxS1Comment"># . epilog</span> +<span id="L73" class="LineNr"> 73 </span> <span class="subxS1Comment"># . epilogue</span> <span id="L74" class="LineNr"> 74 </span> 89/copy 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 5/r32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy ebp to esp</span> <span id="L75" class="LineNr"> 75 </span> 5d/pop-to-ebp <span id="L76" class="LineNr"> 76 </span> c3/return |