linux 0.11 ÄÚºËѧϰ setup.s
²Î¿¼×ÊÁÏ LinuxÄÚºËÍêȫעÊÍ.pdf
ÍøÉÏÏà¹Ø×ÊÁÏ
! setup³ÌÐòµÄÖ÷Òª×÷ÓÃÊÇÀûÓÃrom biosµÄÖжÏÀ´¶ÁÈ¡»úÆ÷ϵͳ²ÎÊý£¬²¢½«ÕâЩÊý¾Ý±£´æÔÚ0x90000
! ¿ªÊ¼µÄλÖÃ(¸²¸ÇµôÁËbootsect³ÌÐòËùÔÚµÄλÖÃ)£¬ËùÈ¡µÃµÄ²ÎÊý±»Äں˵ÄÏà¹Ø³ÌÐòʹÓá£×¢ÒâÔÚbootsect
! ÖÐÒѾ½«¸ÃÄ£¿éºÍsystem¡¢Ä£¿é¼ÓÔØµ½ÄÚ´æÖС£
! È»ºósetup³ÌÐò½«systemÄ£¿é´ÓµØÖ·0x10000-0x8fff(µ±Ê±ÈÏΪÄں˵Ä×î´óÖµ)Õû¿éÒÆ¶¯µ½ÄÚ´æµÄ¾ø¶ÔµØÖ·
! 0x00000´¦¡£½ÓÏÂÀ´¼ÓÔØÖжÏÃèÊö·û±í¼Ä´æÆ÷idtrºÍÈ«¾ÖÃèÊö·û±ígdtr£¬¿ªÆôa20µØÖ·Ïߣ¬ÖØÐÂÉèÖÃÁ½¸ö
! ÖжϿØÖÆÐ¾Æ¬£¬½«Ó²¼þÖն˺ÅÖØÐÂÉèÖã¬×îºóÉèÖÃcpuµÄ¿ØÖƼĴæÆ÷cr0£¬´Ó¶ø½øÈë32λµÄ±£»¤Ä£Ê½£¬²¢
! ÇÒÌø×ªµ½systemÄ£¿é×îÇ°ÃæµÄhead.s³ÌÐò´¦¿ªÊ¼¼ÌÐøÔËÐС£
!
! ΪÁËÄÜÈÃhead.sÔÚ32λµÄ±£»¤Ä£Ê½ÏÂÔËÐУ¬±¾³ÌÐòÉèÖÃÁËÖжÏÃèÊö·û±íidtºÍÈ«¾ÖÃèÊö·û±ígdt£¬²¢ÔÚgdt
! ÖÐÉèÖÃÁ˵±Ç°Äں˴úÂë¶ÎµÄÃèÊö·ûºÍÊý¾Ý¶ÎµÄÃèÊö·û¡£ÔÚÏÂÃæµÄhead.s³ÌÐòÖлá¸ù¾ÝÄں˵ÄÐèÒªÖØÐÂÉèÖÃ
! ÕâЩÃèÊö·û±í¡£
!
!
! setup.s (C) 1991 Linus Torvalds
!
! setup.s is responsible for getting the system data from the BIOS,
! and putting them into the appropriate places in system memory.
! both setup.s and system has been loaded by the bootblock.
!
! This code asks the bios for memory/disk/other parameters, and
! puts them in a "safe" place: 0x90000-0x901FF, ie where the
! boot-block used to be. It is then up to the protected mode
! system to read them from there before the area is overwritten
! for buffer-blocks.
!
! NOTE! These had better be the same as in bootsect.s!
INITSEG = 0x9000 ! we move boot here - out of the way£¬ÔÀ´µÄbootsect¶Î
SYSSEG = 0x1000 ! system loaded at 0x10000 (65536).systemËùÔÚ¶Î
SETUPSEG = 0x9020 ! this is the current segment£¬±¾³ÌÐòËùÔÚ¶Î
.globl begtext, begdata, begbss, endtext, enddata, endbss
.text
begtext:
.data
begdata:
.bss
begbss:
.text
entry start
start:
! ok, the read went well so we get current cursor position and save it for
! posterity.
! Õû¸ö¶Á´ÅÅ̵Ĺý³Ì¶¼ºÜ˳Àû£¬ÏÖÔÚ½«¹â±êλÖñ£´æÒÔ±¸ºó
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâÆª·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´Ë×ªÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨ÕâÆª²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......
Symptom:
This technote provides information on how to interpret a Linux core
dump file when an application running on the system, terminates
unexpectedly, due to a segmentation fault and generates a core file.
Reason for the problem:
A segmentation fault generally occu ......
ÍøÉϺܶàÌû×ÓÎÊxhellÁ¬½ÓlinuxÖÐÎÄÂÒÂ룬¾ø´ó²¿·ÖÊǽ«LANGÊôÐÔÖµÉèÖÃÓ¢ÎÄ£¬¼´export LANG=en_US.UTF-8;
µ«ÊÇÎÒÃǽ«ÏµÍ³ÉèÖÃΪÖÐÎÄ£¬µ±È»ÊÇÒòΪ×Ô¼ºÓÃÖÐÎÄ¿ÉÒÔÌá¸ßЧÂÊ£¬¼õÉÙ³ö´í¡£
ÕâÖÖ·½Ê½Ö»ÄÜÖα겻ÄÜÖα¾£¬Ï´ÎʹÓÃsshÁ¬linuxʱ»¹ÊÇ»áÂÒÂ룬
ÏÖÔÚ½«ÎÒ×Ô¼ºµÄ½â¾ö·½Ê½¹²Ïí¸ø´ó¼Ò¡£
±à¼/etc/sysconfig/i18n
½«ÎļþÖ ......
1. ÎļþϵͳµÄ¶¨Òå
Èý¸ö·½Ã棺
ijÖÖÎļþ¸ñʽ¡¢ÒÔijÖÖ¸ñʽ´æ´¢µÄÉ豸¡¢Ä³ÖÖ¹ÜÀíÎļþµÄ»úÖÆ¡£
2. VFSÓëÎļþϵͳ
VFSÊÇÐéÄâÎļþϵͳµÄËõд¡£²»Í¬µÄÎļþϵͳÓв»Í¬µÄ¸ñʽ¡¢¹ÜÀí»úÖÆºÍʵÏÖ¡£VFSÔòÊǸ÷ÖÖÎļþϵͳ±ØÐë×ñÊØµÄAPI¹æ·¶¡£
3. ½ø³ÌÓëÎļþϵͳ
task_structÖÐÓÐÁ½¸öÖ¸Õ룬һ¸öÖ¸Ïòfs_struct£¬¼Ç¼ÁËÎļþϵͳÏà¹ØµÄÊ ......