Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

̰Ðݲװ64λlinuxµÄÞÏÞÎ

administer@administer-laptop:~/tem/tt$ cat hello.asm
[section .data]
strHello db "Hello, world!",0Ah
STRLEN  equ $-strHello
[section .text]
global _start
_start: 
mov edx,STRLEN
mov ecx,strHello
mov ebx,1
mov eax,4
int  0x80
mov ebx,0
mov eax,1
int 0x80
administer@administer-laptop:~/tem/tt$ nasm -f elf hello.asm -o hello.o
administer@administer-laptop:~/tem/tt$ ls
a  b  boot.asm  boot.bin  Coded  f  g  hello  hello.asm  hello.c  hello.o
administer@administer-laptop:~/tem/tt$ ld -s hello.o -o hello
ld: i386 architecture of input file `hello.o' is incompatible with i386:x86-64 outputadminister@administer-laptop:~/tem/tt$
ʹÓÃ64λ²Ù×÷ϵͳµÄÞÏÞΣ¬Ï൱µÄ¾½,¿Éϧµ±Ê±Ì°ÐÄÁË£¬
Ò»Ìý˵Intel´Ó¿áªÊ¼È«Ãæ²ÉÓÃ64λCPU£¬¾Í×°ÁË£¬囧¡£


Ïà¹ØÎĵµ£º

¹¹½¨»ù±¾µÄǶÈëʽLinux¸ùÎļþϵͳ

¹¹½¨»ù±¾µÄǶÈëʽLinux¸ùÎļþϵͳ
ÆäʵÔÚÈ¥Äê8Ô·ÝÎÒ×öÏµÍ³ÒÆÖ²Ê±¾Í¹¹½¨ºÃÁËÒ»¸ö¿ÉÒÔÓõĸùÎļþϵͳ£¬µ«ÊÇÄÇʱÊǸú×űðÈ˵ġ¶LinuxÈ«ÏßÒÆÖ²Îĵµ¡·×öµÄ¡£ÓÐЩ¶«Î÷ÎÒÒ²²»Çå³þ£¬Ö»ÊǸú×Å×ö£¬×ö³öÀ´ÄÜÓþÍÁËÊÂÁË£¬Ã»ÓÐÉÆäÖеĹ淶£¬ÒÔ¼°ÎļþϵͳÖÐÄÄЩҪ£¬ÄÄЩ²»Òª¡£
³Ã׎ñÄê¹ýÄêµÄ¼¸Ìì¼ÙÆÚ£¬ÎÒÒÆÖ²ÖØÐÂÒÆÖ²ÁËU-Boot1.3.1 ......

linuxʵÑéÎå

ʵÑé5  ½ø³Ì¹ÜÀí
Ò»¡¢ÊµÑéÄ¿µÄ£º
1.      ÁË½â½ø³ÌÓë³ÌÐòµÄÇø±ð£¬¼ÓÉî¶Ô½ø³Ì¸ÅÄîµÄÀí½â¼Ó£»
2£® ÕÆÎÕ½ø³Ì²¢·¢Ö´ÐеÄÔ­Àí£¬¼°ÆäËùÒýÆðµÄͬ²½¡¢»¥³âÎÊÌâµÄ·½·¨
¶þ¡¢ÊµÑéÒªÇó£º
    Íê³ÉʵÑéÄÚÈݲ¢Ð´³öʵÑ鱨¸æ£¬±¨¸æÓ¦¾ßÓÐÒÔÏÂÄÚÈÝ£º
    1£® Ê ......

Linux Kernel API (2.6)

#protect share data
spin_lock/spin_unlock: protect the data during process context(and only at process context), and make sure your code bewteen lock/unlock is fast enough.There may deadlock if the same spin_lock is called at interrupt context.
spin_lock_irq/spin_unlock_irq: call it during interru ......

LinuxÏÂnginxµÄ°²×°

nginx("engine x")ÊÇÒ»¸ö¸ßÐÔÄܵÄHTTPºÍ·´Ïò´úÀí·þÎñÆ÷£¬ÊÇÓɶíÂÞ˹ÈËIgor Sysoev½¨Á¢µÄÏîÄ¿£¬³¬ÇáÁ¿¼¶£¬³¬¿ì´¦ÀíÄÜÁ¦¡£
ĿǰʹÓõÄnginx°æ±¾ÊÇ0.7.61
nginxµÄ¹ÙÑÔÍøÕ¾Îª£ºhttp://nginx.net/
ÏÂÔØµØÖ·Îª£ºhttp://sysoev.ru/nginx/nginx-0.7.61.tar.gz
nginxÐèÒªpcreµÄÖ§³Ö£¬ËùÒÔÎÒÃÇÐèÒªÏÂÔØpcre
pcreÈ«ÃûΪPerl Compa ......

linux¾ÖÓòÍøÍ¨ÐÅÈí¼þiptux£¬ipmsg

windowsÏÂÓзdz£ºÃÓõľÖÓòÍøÍ¨ÐÅÈí¼þ£ºipmsg£¨·É¸ë´«Ê飩¡£
ipmsgÒ²ÓÐlinux°æ±¾£¬µ«ÊÇ£¬ÓÐbug£¬¸üÐÂÒ²Âý¡£
linuxÏÂÓÐÒ»¸ö¹úÈË¿ª·¢µÄiptux£¬¼æÈÝipmsgЭÒ飬¿çƽ̨ʹÓ㬸üÐÂÒ²ºÜ¿ì£¬Äã¿ÉÒÔËæÊ±Ìá½»bug£¬×÷Õß»áºÜ¿ìÐ޸ġ£
1. iptux
°²×°iptux±È½ÏÈÝÒ×£¬ÏÂÔØiptuxµÄ¶þ½øÖưühttp://iptux.googlecode.com/files/iptux_0.4 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ