Rev 9043 | Rev 9404 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9043 | Rev 9045 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2011-2015. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2011-2015. All rights reserved. ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; ;; |
5 | ;; ;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 7... | Line 7... | ||
7 | 7 | ||
Line 8... | Line 8... | ||
8 | $Revision: 9043 $ |
8 | $Revision: 9045 $ |
9 | 9 | ||
10 | ; ============================================================================= |
10 | ; ============================================================================= |
11 | ; ================================= Constants ================================= |
11 | ; ================================= Constants ================================= |
Line 1308... | Line 1308... | ||
1308 | add ecx, 2 ; volume label requested, space for utf16 terminator |
1308 | add ecx, 2 ; volume label requested, space for utf16 terminator |
1309 | @@: |
1309 | @@: |
1310 | mov ebx, [ebx+f70s5arg.buf] |
1310 | mov ebx, [ebx+f70s5arg.buf] |
1311 | stdcall is_region_userspace, ebx, ecx |
1311 | stdcall is_region_userspace, ebx, ecx |
1312 | movi eax, ERROR_MEMORY_POINTER |
1312 | movi eax, ERROR_MEMORY_POINTER |
1313 | jz .done |
1313 | jnz .done |
1314 | mov edi, ebx |
1314 | mov edi, ebx |
1315 | xor eax, eax |
1315 | xor eax, eax |
1316 | rep stosb |
1316 | rep stosb |
1317 | mov [ebx+bdfe.attr], 0x10 ; directory flag |
1317 | mov [ebx+bdfe.attr], 0x10 ; directory flag |
1318 | mov word[ebx+bdfe.name], 0 ; word because of possible utf16 |
1318 | mov word[ebx+bdfe.name], 0 ; word because of possible utf16 |