This commit is contained in:
Pavel 2025-04-24 14:12:20 +03:00
parent b7e634dba4
commit f11742fea0
2 changed files with 19 additions and 1 deletions

View File

@ -913,6 +913,9 @@ begin
//map to GPU
if (prot and VM_PROT_GPU_ALL)<>0 then
begin
//extra obj link
vm_nt_file_obj_reference(info.obj);
//
r:=vm_nt_map_insert(@pmap^.gp_map,
info.obj,
info.olocal, //block local offset
@ -990,6 +993,9 @@ begin
//map to GPU
if (prot and VM_PROT_GPU_ALL)<>0 then
begin
//extra obj link
vm_nt_file_obj_reference(info.obj);
//
r:=vm_nt_map_insert(@pmap^.gp_map,
info.obj,
info.olocal, //block local offset
@ -1049,6 +1055,9 @@ begin
//map to GPU
if (prot and VM_PROT_GPU_ALL)<>0 then
begin
//extra obj link
vm_nt_file_obj_reference(info.obj);
//
r:=vm_nt_map_insert(@pmap^.gp_map,
info.obj,
info.olocal, //block local offset
@ -1154,6 +1163,9 @@ begin
//map to GPU
if (prot and VM_PROT_GPU_ALL)<>0 then
begin
//extra obj link
vm_nt_file_obj_reference(info.obj);
//
r:=vm_nt_map_insert(@pmap^.gp_map,
info.obj,
info.olocal, //block local offset
@ -1217,6 +1229,9 @@ begin
//map to GPU
if (prot and VM_PROT_GPU_ALL)<>0 then
begin
//extra obj link
vm_nt_file_obj_reference(info.obj);
//
r:=vm_nt_map_insert(@pmap^.gp_map,
info.obj,
info.offset, //offset in file
@ -1314,6 +1329,9 @@ begin
//map to GPU
if (p____obj<>nil) then
begin
//extra obj link
vm_nt_file_obj_reference(p____obj);
//
r:=vm_nt_map_insert(@pmap^.gp_map,
p____obj,
p_offset, //block local offset

View File

@ -1164,7 +1164,7 @@ out_last:
if (error<>0) then
begin
Assert(false,'vn_io_fault');
Assert(false,'vn_io_fault:'+IntToStr(error));
end;
if (rl_cookie<>nil) then