From 4c7f63ee6c206dec1a6660e9e9e10c21a0cf6e2c Mon Sep 17 00:00:00 2001 From: ceriel Date: Mon, 22 Jan 1990 15:32:44 +0000 Subject: [PATCH] adapted so that _brk routine may update .limhp --- mach/i386/libem/strhp.s | 2 +- mach/i86/libem/strhp.s | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mach/i386/libem/strhp.s b/mach/i386/libem/strhp.s index ff2c217ce..869410315 100644 --- a/mach/i386/libem/strhp.s +++ b/mach/i386/libem/strhp.s @@ -11,7 +11,6 @@ jb 1f add eax,02000 and eax,~0777 - mov (.limhp),eax push ebx push eax call _brk @@ -20,6 +19,7 @@ cmp eax,-1 je 2f 1: + mov (.limhp),ecx jmp ebx 2: mov eax,EHEAP diff --git a/mach/i86/libem/strhp.s b/mach/i86/libem/strhp.s index c8898f053..55c1ed3ab 100644 --- a/mach/i86/libem/strhp.s +++ b/mach/i86/libem/strhp.s @@ -11,7 +11,6 @@ jb 1f add ax,02000 and ax,~0777 - mov (.limhp),ax push bx push ax call _brk @@ -20,6 +19,7 @@ cmp ax,-1 je 2f 1: + mov (.limhp),cx jmp bx 2: mov ax,EHEAP