From 3a93f4dd5a45f6d130f903eff858edf5894ef6f1 Mon Sep 17 00:00:00 2001 From: me_root Date: Sat, 29 Oct 2005 19:25:03 +0000 Subject: [PATCH] 1. Added file 'makefile' for unix systems. git-svn-id: svn://kolibrios.org@17 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/kernel.asm | 2 +- kernel/trunk/makefile | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 kernel/trunk/makefile diff --git a/kernel/trunk/kernel.asm b/kernel/trunk/kernel.asm index 593b794bc5..766148eb90 100644 --- a/kernel/trunk/kernel.asm +++ b/kernel/trunk/kernel.asm @@ -3002,7 +3002,7 @@ modify_pce: ; mov ebx,0 ; or bx,100000000b ;pce ; xor eax,ebx ;invert pce - btr eax,8 ;pce=cr4[8] + bts eax,8 ;pce=cr4[8] mov cr4,eax mov [esp+36],eax ret diff --git a/kernel/trunk/makefile b/kernel/trunk/makefile new file mode 100644 index 0000000000..79d42d9825 --- /dev/null +++ b/kernel/trunk/makefile @@ -0,0 +1,16 @@ +FASM=./fasm +KSRC=kernel.asm +KOUT=kernel.mnt + +en: + rm -f lang.inc + echo lang fix en > lang.inc + $(FASM) $(KSRC) $(KOUT) +ru: kernel.asm + rm -f lang.inc + echo lang fix en > lang.inc + $(FASM) $(KSRC) $(KOUT) + +clean: + rm -f $(KOUT) + rm -f lang.inc