Just a quick correction of the estimated potential problem with incorrect data changes during operation. In the future, I will replace the CLI on the mutex.
git-svn-id: svn://kolibrios.org@3678 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
9901a769c7
commit
7ba632508c
@ -939,7 +939,8 @@ process_replace_file_name:
|
||||
;
|
||||
; out
|
||||
; ebp - full filename
|
||||
|
||||
pushfd
|
||||
cli
|
||||
mov ebp, [full_file_name_table]
|
||||
mov edi, [full_file_name_table.size]
|
||||
dec edi
|
||||
@ -979,6 +980,7 @@ process_replace_file_name:
|
||||
.notfound:
|
||||
xor ebp, ebp
|
||||
.ret:
|
||||
popfd
|
||||
ret
|
||||
|
||||
uglobal
|
||||
@ -1014,6 +1016,8 @@ sys_current_directory:
|
||||
mov edi, sysdir_name1
|
||||
; copying fake directory name
|
||||
mov ecx, 63
|
||||
pushfd
|
||||
cli
|
||||
cld
|
||||
rep movsb
|
||||
; terminator of name, in case if we get the inlet trash
|
||||
@ -1031,6 +1035,7 @@ sys_current_directory:
|
||||
; block the ability to call f.30.3 because for one session is necessary
|
||||
; for us only once
|
||||
mov [lock_flag_for_f30_3], 1
|
||||
popfd
|
||||
@@:
|
||||
ret
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user