DEADSOFTWARE

Kernel.AllocHeapMem: start at 10000H addresses (required by StdDebug and DevDebug)
authorAlexander Shiryaev <aixp@mail.ru>
Mon, 12 Nov 2012 08:18:15 +0000 (12:18 +0400)
committerAlexander Shiryaev <aixp@mail.ru>
Mon, 12 Nov 2012 08:18:15 +0000 (12:18 +0400)
Trurl-based/_Linux_/System/Mod/Kernel.odc
Trurl-based/_Linux_/System/Mod/Kernel.txt
Trurl-based/_Linux_/libBB.so
Trurl-based/_Linux_/libBB0.so
Trurl-based/_OpenBSD_/System/Mod/Kernel.odc
Trurl-based/_OpenBSD_/System/Mod/Kernel.txt
Trurl-based/_OpenBSD_/libBB.so
Trurl-based/_OpenBSD_/libBB0.so

index 505a0d5e50f1c49980754283c9f54f24e3ad879e..932e0700c1473154dfc809ee544da231b7e79499 100644 (file)
Binary files a/Trurl-based/_Linux_/System/Mod/Kernel.odc and b/Trurl-based/_Linux_/System/Mod/Kernel.odc differ
index f4cb9493aa9f7ad173e5bf779583bc63ecaa3a5e..46c55e247346c4e90da94a64350a64e26cbd452a 100644 (file)
@@ -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;
index 44aec70eaa1b0a1d3735a3feb142d1142dcebeb2..e94c8494fdf7c3ab5c9dd68d133ba8e096fa0a14 100644 (file)
Binary files a/Trurl-based/_Linux_/libBB.so and b/Trurl-based/_Linux_/libBB.so differ
index 9a64b53df341affd85e034fce896b09af9920952..302088406460da5eda8fbb9014050e8288e48cb9 100644 (file)
Binary files a/Trurl-based/_Linux_/libBB0.so and b/Trurl-based/_Linux_/libBB0.so differ
index 56ff927495acbbe47bf4a84d755627579bd12280..8f101f5acebcd7294a2c02c1db4d283ae0701958 100644 (file)
Binary files a/Trurl-based/_OpenBSD_/System/Mod/Kernel.odc and b/Trurl-based/_OpenBSD_/System/Mod/Kernel.odc differ
index 99b186263d9d4baf26d19cd9157608cc27fc42f1..7920e4be9a7ceeccba1600d3aa7e371f6316837a 100644 (file)
@@ -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;
index 9872136e7207e9b90eed77956c4afca2b24ffff4..f7ecdfed82804a3d074368b1f5751bc428bc1733 100644 (file)
Binary files a/Trurl-based/_OpenBSD_/libBB.so and b/Trurl-based/_OpenBSD_/libBB.so differ
index 36986e775a61a07f84c3bf65435355a827672229..95cad5cad0972acb5fe4dbcd071387aa9eee2911 100644 (file)
Binary files a/Trurl-based/_OpenBSD_/libBB0.so and b/Trurl-based/_OpenBSD_/libBB0.so differ