This commit is contained in:
Pavel 2023-12-19 21:16:25 +03:00
parent dc7f7a060f
commit 63bf83a067
4 changed files with 6 additions and 8 deletions

View File

@ -43,6 +43,7 @@ begin
if (counter<maxlen) then
begin
_to[counter]:=#0;
Inc(counter);
end;
if (lencopied<>nil) then
begin

View File

@ -323,10 +323,10 @@ const
MD_PROT_R ,//__R
MD_PROT_W ,//_W_
MD_PROT_RW ,//_WR
MD_PROT_X ,//X__
MD_PROT_RX ,//X_R
MD_PROT_WX ,//XW_
MD_PROT_RWX //XWR
MD_PROT_R ,//X__
MD_PROT_R ,//X_R
MD_PROT_RW ,//XW_
MD_PROT_RW //XWR
);
{

View File

@ -566,8 +566,6 @@ begin
prev_entry^.__end:=__end;
//change size
//dmem_rmap_enter(map,start,__end);
dmem_map_entry_resize_free(map, prev_entry);
dmem_map_simplify_entry(map, prev_entry);
Exit(0);
@ -1158,8 +1156,6 @@ begin
next:=entry^.next;
//dmem_rmap_remove(map,entry^.start,entry^.__end);
{
* Delete the entry only after removing all pmap
* entries pointing to its pages. (Otherwise, its

View File

@ -83,6 +83,7 @@ const
FC`0000`0000 System Reserved
FF`FFFF`FFFF
0x0 00400000 (win stack)
0x1 00000000 (win image)
0x7FF8 xxxxxxxx (win dll)
-- System Managed