1. Added file 'makefile' for unix systems.

git-svn-id: svn://kolibrios.org@17 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
me_root 2005-10-29 19:25:03 +00:00
parent 38d714f47e
commit 3a93f4dd5a
2 changed files with 17 additions and 1 deletions

View File

@ -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

16
kernel/trunk/makefile Normal file
View File

@ -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