diff --git a/data/eng/Makefile b/data/eng/Makefile index f751556a02..52a33eac6f 100644 --- a/data/eng/Makefile +++ b/data/eng/Makefile @@ -5,7 +5,7 @@ # Define directories for destination, source repository, sources of kernel, sources of programs. BUILD_DIR:=build -REPOSITORY:=../localcopy +REPOSITORY:=../.. KERNEL:=$(REPOSITORY)/kernel/trunk PROGS:=$(REPOSITORY)/programs diff --git a/data/rus/Makefile b/data/rus/Makefile index e7905cf952..2fd148d529 100644 --- a/data/rus/Makefile +++ b/data/rus/Makefile @@ -5,7 +5,7 @@ # Define directories for destination, source repository, sources of kernel, sources of programs. BUILD_DIR:=build -REPOSITORY:=../localcopy +REPOSITORY:=../.. KERNEL:=$(REPOSITORY)/kernel/trunk PROGS:=$(REPOSITORY)/programs diff --git a/kernel/trunk/core/memory.inc b/kernel/trunk/core/memory.inc index 6eb3bd331a..79dc7406f8 100644 --- a/kernel/trunk/core/memory.inc +++ b/kernel/trunk/core/memory.inc @@ -1426,7 +1426,7 @@ proc set_mtrr stdcall, base:dword,size:dword,mem_type:dword mov ebx, [size] dec ebx mov eax, 0xFFFFFFFF - mov edx, 0x0000000F + mov edx, 0x00000000 sub eax, ebx sbb edx, 0 or eax, 0x800