Rev 9715 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9715 | Rev 9977 | ||
---|---|---|---|
Line 6... | Line 6... | ||
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 7... | Line 7... | ||
7 | 7 | ||
8 | ; External kernel dependencies (libraries) loading. |
8 | ; External kernel dependencies (libraries) loading. |
Line 9... | Line 9... | ||
9 | ; The code currently does not work, requires correcting dll.inc. |
9 | ; The code currently does not work, requires correcting dll.inc. |
Line 10... | Line 10... | ||
10 | 10 | ||
11 | $Revision: 9715 $ |
11 | $Revision: 9977 $ |
12 | 12 | ||
13 | if 0 |
13 | if 0 |
Line 134... | Line 134... | ||
134 | jnz @F |
134 | jnz @F |
Line 135... | Line 135... | ||
135 | 135 | ||
136 | @@: |
136 | @@: |
137 | mov edx, [coff] |
137 | mov edx, [coff] |
138 | movzx ebx, [edx + CFH.nSections] |
138 | movzx ebx, [edx + CFH.nSections] |
139 | mov edi, 0 |
139 | xor edi, edi |
140 | lea eax, [edx+20] |
140 | lea eax, [edx+20] |
141 | @@: |
141 | @@: |
142 | add [eax + CFS.VirtualAddress], edi ;patch user space offset |
142 | add [eax + CFS.VirtualAddress], edi ;patch user space offset |
143 | add eax, COFF_SECTION_SIZE |
143 | add eax, COFF_SECTION_SIZE |