about summary refs log tree commit diff stats
path: root/html/subx/053new_segment.subx.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-12-02 12:49:15 -0800
committerKartik Agaram <vc@akkartik.com>2018-12-02 13:09:23 -0800
commit39d718afcff131abf9c12f89357e7e387d7892d5 (patch)
treed7179a92c27871ec646661517e348957b9805a5f /html/subx/053new_segment.subx.html
parentf44c595267ba1dc6b076340e300961c304904408 (diff)
downloadmu-39d718afcff131abf9c12f89357e7e387d7892d5.tar.gz
4816
Diffstat (limited to 'html/subx/053new_segment.subx.html')
-rw-r--r--html/subx/053new_segment.subx.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/html/subx/053new_segment.subx.html b/html/subx/053new_segment.subx.html
index cc8a1748..8e448bd7 100644
--- a/html/subx/053new_segment.subx.html
+++ b/html/subx/053new_segment.subx.html
@@ -23,6 +23,7 @@ body { font-size:12pt; font-family: monospace; color: #aaaaaa; background-color:
 .LineNr { color:#444444; }
 .subxS1Comment { color:#2d8cff; }
 .CommentedCode { color: #6c6c6c; }
+.subxFunction { color: #ff8700; }
 .subxH1Comment { color:#00ffff; }
 -->
 </style>
@@ -83,7 +84,7 @@ if ('onhashchange' in window) {
 <span id="L22" class="LineNr">22 </span>    b8/copy-to-EAX  1/imm32/exit
 <span id="L23" class="LineNr">23 </span>    cd/syscall  0x80/imm8
 <span id="L24" class="LineNr">24 </span>
-<span id="L25" class="LineNr">25 </span>new-segment:  <span class="subxComment"># len : int -&gt; address</span>
+<span id="L25" class="LineNr">25 </span><span class="subxFunction">new-segment</span>:  <span class="subxComment"># len : int -&gt; address</span>
 <span id="L26" class="LineNr">26 </span>    <span class="subxS1Comment"># . prolog</span>
 <span id="L27" class="LineNr">27 </span>    55/push-EBP
 <span id="L28" class="LineNr">28 </span>    89/copy                         3/mod/direct    5/rm32/EBP   <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>           <span class="CommentedCode"> . </span>          4/r32/ESP  <span class="CommentedCode"> . </span>             <span class="CommentedCode"> . </span>                      <span class="subxComment"># copy ESP to EBP</span>
@@ -106,7 +107,7 @@ if ('onhashchange' in window) {
 <span id="L45" class="LineNr">45 </span>== data
 <span id="L46" class="LineNr">46 </span>
 <span id="L47" class="LineNr">47 </span><span class="subxComment"># various constants used here were found in the Linux sources (search for file mman-common.h)</span>
-<span id="L48" class="LineNr">48 </span>mmap-new-segment:  <span class="subxComment"># type mmap_arg_struct</span>
+<span id="L48" class="LineNr">48 </span><span class="subxFunction">mmap-new-segment</span>:  <span class="subxComment"># type mmap_arg_struct</span>
 <span id="L49" class="LineNr">49 </span>    <span class="subxComment"># addr</span>
 <span id="L50" class="LineNr">50 </span>    00 00 00 00  <span class="subxComment"># null</span>
 <span id="L51" class="LineNr">51 </span>    <span class="subxComment"># len</span>