From: Alexander Shiryaev Date: Mon, 12 Nov 2012 08:18:15 +0000 (+0400) Subject: Kernel.AllocHeapMem: start at 10000H addresses (required by StdDebug and DevDebug) X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=a4bba59932c5d31f304d1f6bbbab7c536b60cd65;p=bbcp.git Kernel.AllocHeapMem: start at 10000H addresses (required by StdDebug and DevDebug) --- diff --git a/Trurl-based/_Linux_/System/Mod/Kernel.odc b/Trurl-based/_Linux_/System/Mod/Kernel.odc index 505a0d5..932e070 100644 Binary files a/Trurl-based/_Linux_/System/Mod/Kernel.odc and b/Trurl-based/_Linux_/System/Mod/Kernel.odc differ diff --git a/Trurl-based/_Linux_/System/Mod/Kernel.txt b/Trurl-based/_Linux_/System/Mod/Kernel.txt index f4cb949..46c55e2 100644 --- a/Trurl-based/_Linux_/System/Mod/Kernel.txt +++ b/Trurl-based/_Linux_/System/Mod/Kernel.txt @@ -562,8 +562,8 @@ MODULE Kernel; BEGIN INC(size, 16); ASSERT(size > 0, 100); adr := 0; - IF size < N THEN adr := HeapAlloc(1, N, prot) END; - IF adr = 0 THEN adr := HeapAlloc(1, size, prot); allocated := size ELSE allocated := N END; + IF size < N THEN adr := HeapAlloc(65536, N, prot) END; + IF adr = 0 THEN adr := HeapAlloc(65536, size, prot); allocated := size ELSE allocated := N END; IF adr = 0 THEN c := NIL ELSE c := S.VAL(Cluster, (adr + 15) DIV 16 * 16); c.max := adr; diff --git a/Trurl-based/_Linux_/libBB.so b/Trurl-based/_Linux_/libBB.so index 44aec70..e94c849 100644 Binary files a/Trurl-based/_Linux_/libBB.so and b/Trurl-based/_Linux_/libBB.so differ diff --git a/Trurl-based/_Linux_/libBB0.so b/Trurl-based/_Linux_/libBB0.so index 9a64b53..3020884 100644 Binary files a/Trurl-based/_Linux_/libBB0.so and b/Trurl-based/_Linux_/libBB0.so differ diff --git a/Trurl-based/_OpenBSD_/System/Mod/Kernel.odc b/Trurl-based/_OpenBSD_/System/Mod/Kernel.odc index 56ff927..8f101f5 100644 Binary files a/Trurl-based/_OpenBSD_/System/Mod/Kernel.odc and b/Trurl-based/_OpenBSD_/System/Mod/Kernel.odc differ diff --git a/Trurl-based/_OpenBSD_/System/Mod/Kernel.txt b/Trurl-based/_OpenBSD_/System/Mod/Kernel.txt index 99b1862..7920e4b 100644 --- a/Trurl-based/_OpenBSD_/System/Mod/Kernel.txt +++ b/Trurl-based/_OpenBSD_/System/Mod/Kernel.txt @@ -560,8 +560,8 @@ MODULE Kernel; BEGIN INC(size, 16); ASSERT(size > 0, 100); adr := 0; - IF size < N THEN adr := HeapAlloc(1, N, prot) END; - IF adr = 0 THEN adr := HeapAlloc(1, size, prot); allocated := size ELSE allocated := N END; + IF size < N THEN adr := HeapAlloc(65536, N, prot) END; + IF adr = 0 THEN adr := HeapAlloc(65536, size, prot); allocated := size ELSE allocated := N END; IF adr = 0 THEN c := NIL ELSE c := S.VAL(Cluster, (adr + 15) DIV 16 * 16); c.max := adr; diff --git a/Trurl-based/_OpenBSD_/libBB.so b/Trurl-based/_OpenBSD_/libBB.so index 9872136..f7ecdfe 100644 Binary files a/Trurl-based/_OpenBSD_/libBB.so and b/Trurl-based/_OpenBSD_/libBB.so differ diff --git a/Trurl-based/_OpenBSD_/libBB0.so b/Trurl-based/_OpenBSD_/libBB0.so index 36986e7..95cad5c 100644 Binary files a/Trurl-based/_OpenBSD_/libBB0.so and b/Trurl-based/_OpenBSD_/libBB0.so differ