forked from KolibriOS/kolibrios
1. Added file 'makefile' for unix systems.
git-svn-id: svn://kolibrios.org@17 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
38d714f47e
commit
3a93f4dd5a
@ -3002,7 +3002,7 @@ modify_pce:
|
|||||||
; mov ebx,0
|
; mov ebx,0
|
||||||
; or bx,100000000b ;pce
|
; or bx,100000000b ;pce
|
||||||
; xor eax,ebx ;invert pce
|
; xor eax,ebx ;invert pce
|
||||||
btr eax,8 ;pce=cr4[8]
|
bts eax,8 ;pce=cr4[8]
|
||||||
mov cr4,eax
|
mov cr4,eax
|
||||||
mov [esp+36],eax
|
mov [esp+36],eax
|
||||||
ret
|
ret
|
||||||
|
16
kernel/trunk/makefile
Normal file
16
kernel/trunk/makefile
Normal 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
|
Loading…
Reference in New Issue
Block a user