xv6
twitterã§ãªãã ãUNIX V6ãã¿ãçãä¸ãã£ã¦ããã®ã ãããã¾ãã¾ã°ã°ã£ã¦ãã¦è¦ã¤ããã®ããxv6ãKMC Staff Blogã§ãåãä¸ãããã¦ããã®ã§å¾è¿½ãï¼ãUNIX v6 を x86 マルチプロセッサシステムに移植した xv6ãï¼ã
xv6ï¼x86 version 6ï¼ã¯ãMITã®Operating Systems Engineering (6.828)ã¨ãã大å¦é¢çåãè¬ç¾©ã®ææã¨ãã¦ä½¿ãããã«ãUNIX V6ãANSI Cã«æ¸æããx86ã«ç§»æ¤ããOSãï¼reading listã«ã¯Plan9ãrcãå ¥ã£ã¦ãããããï¼Lions' Commentaryãpre K&RãPDP-11ã¨ããæç¹ã§æ«æãã人ã¯èªãã§ã¿ãã¨ããããã£ã±ãx86ã¯å«ã ã¨ã®å¼·æ ãªäººã¯ã2238クラブãè¦ãã§ãã¯ã
å ¬éããã¦ããコードã¯ã1ä¸è¡å¼±ãä»®æ³è¨æ¶ãå®è£ ããããã¹ã±ã¸ã¥ã¼ã©ãæ¹é ããããARMã«ç§»æ¤ããããã¦ãã人ããããã¦ã¼ã¶ã©ã³ãåãå«ã¾ãã¦ãããããã¹ãç¨ã®ãã¾ãã®ãããªãã®ãUNIX V6ã®ã³ã¼ããå ¬éããã¦ãããã¨ã ããã©ã¤ãã©ãªãã¦ã¼ã¶ã©ã³ãã³ãã³ãã移æ¤ãã¦ã¿ãã®ãä¸èãããããªããpre K&RãANSI Cã«å¤æããã«ã¯ãprotoizeã¨ã使ãã®ããªãã¾ãããããã«å®å ¨ã¯ç¡çã ãããã©ã
ãããã§ãV6ã®portable C libraryã¯ä»ã®libcã¨ã¯ããã¶ãéãã®ã§ãV7ã®æ¹ããããããªããV6ã®portable C libraryã¯iolibã¨ãå¼ã°ãã¦ãã¦ãcopenã¨ãccloseã®ããã«ãcããprefixããã¦ãããlibcã¯Cããã¢ã»ã³ããªã®syså½ä»¤ãå¼ã¶ã©ããé¢æ°ã«ãããªãã£ããã¤ã¾ããcopené¢æ° -> opené¢æ° -> openã·ã¹ãã ã³ã¼ã«ã¨ãªãã
ãã¨ãåããã¨ãã®æ³¨æç¹ã§ã³ã³ãã¤ã«ã¯x86ç¨ã®gccã使ããã¨ãx86_64ã ã¨NGã
ãã¦ããã®æ¥è¨ã§åãä¸ããããã«ãxv6ã®ã©ããã«Plan9ã¨é¢ä¿ãããã¨æ°ã¥ãã人ã¯ããã©ãããã®ææ¥ã®TAã«ãRuss Coxãé¢ãã£ã¦ãã¦ãxv6ã®éçºã«ãé¢ãã£ã¦ããã®ã ããã¼ãããã«ãããã»ããµãlocal APICãããã®ã³ã¼ãã«ã¯Plan9ã®ãã®ã使ããã¦ããã
ããããã°ãRuss Coxãä»ã¯Googleãªãã ããªãã
ï¼è¿½è¨ï¼2009-08-25ï¼ã²ãããè¡åæ©ã£ï¼xv6詳説