{"id":184371,"date":"2026-11-23T21:36:35","date_gmt":"2026-11-23T19:36:38","guid":{"rendered":"https:\/\/prohoster.info\/blog\/news\/xnu-linux-dlya-zagruzki-yadra-i-polzovatelskogo-okruzheniya-macos-v-linux"},"modified":"2026-11-23T21:36:41","modified_gmt":"2026-11-23T19:36:41","slug":"xnu-linux-for-booting-the-macos-kernel-and-userland-on-linux","status":"publish","type":"post","link":"https:\/\/prohoster.info\/lv\/blog\/news\/xnu-linux-for-booting-the-macos-kernel-and-userland-on-linux","title":{"rendered":"XNU Linux, lai iel\u0101d\u0113tu kodolu un lietot\u0101ja vidi macOS Linux vid\u0113","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>\u0425\u044d\u044f\u043d \u0427\u0436\u043e\u0443 (Heyang Zhou), viens no Deno Deploy platformas izstr\u0101d\u0101t\u0101jiem, public\u0113jis projektu XNU Linux, kas \u013cauj sav\u0101kt un iel\u0101d\u0113t XNU kodolu k\u0101 Linux kodola moduli un izmantot to, lai palaistu lietot\u0101ja macOS vid\u0113 Linux. XNU tiek izmantots macOS, ir da\u013ca no atv\u0113rt\u0101 projekta Darwin un ir hibr\u012bdkodols, kas apvieno mikro-kodolu Mach, FreeBSD kodola apak\u0161sist\u0113mas un C++ API IOKit draiveru rakst\u012b\u0161anai. Iel\u0101d\u0113jot XNU k\u0101 kodola moduli, var ien\u0101kt Linux, lai palaistu ieb\u016bv\u0113to macOS grafisko vidi, kur tiks izpild\u012btas macOS lietotnes, tostarp p\u0101rl\u016bkprogramma Safari.     <\/p>\n<p>XNU kodols tiek sav\u0101kti no Apple nodro\u0161in\u0101t\u0101 avota koda un tiek palaists Linux k\u0101 xnu.ko kodola modulis, kas tie\u0161i mijiedarbojas ar CPU un atmi\u0146as p\u0101rvald\u012bbas bloku (MMU), \u013caujot Linux un macOS procesiem darboties blakus uz viena CPU bez hipervizora izmanto\u0161anas. Lai nodro\u0161in\u0101tu XNU kodola piek\u013cuvi atmi\u0146ai, failiem, taimeriem, iz\u0146\u0113mumu apstr\u0101dei, t\u012bklam un GPU caur Linux kodolu, ir izveidots fki.ko (Foreign Kernel Interface) starpmodulis.     <\/p>\n<p>Modulis ar XNU kodu darbojas sav\u0101 adreses telp\u0101 \u2014 XNU kods sa\u0146em no Linux nep\u0101rtrauktu fizisk\u0101s atmi\u0146as blok\u0101 un p\u0101rvalda to caur savu pmap, un da\u013ca adreses telpas lietot\u0101ju procesiem tiek kop\u012bgi izmantota gan Linux, gan XNU. Katrs virtu\u0101lais CPU macOS ir noform\u0113ts k\u0101 Linux kodola pl\u016bsma, kas ir piesaist\u012bta fiziskajam CPU kodolam. Piek\u013cuve diska att\u0113lam ar macOS, ekr\u0101nam, tastat\u016brai, pelei, Ethernet un GPU tiek nodro\u0161in\u0101ta caur draiveriem-virsmas sl\u0101\u0146iem. Grafiskais API Metal ir ieviests virs Vulkan caur virsmas sl\u0101ni metal2vulkan.  <\/p>\n<p>Izstr\u0101d\u0101tais saist\u012b\u0161anas modulis kodolu un saist\u012btie r\u012bki tiek izplat\u012bti saska\u0146\u0101 ar GPLv2 licenci, XNU kodola modula komponentes tiek pieg\u0101d\u0101tas zem APSL-2.0 licences, un no macOS-DroidVM projekta aizg\u016btie XnuDisplay, XnuEthernet un XnuInput draiveri ir pieejami zem BSD licences. XNU Linux ir iesaist\u012bti ar\u012b UniXNU projekta sasniegumi, kas \u013cauj palaist macOS un iOS uz ARM64 sist\u0113m\u0101m, kas nav Apple ra\u017eotas. XNU Linux izstr\u0101de tiek veikta, izmantojot AI pal\u012bgu Claude. K\u0101 piem\u0113rs demonstr\u0113tas Ubuntu Linux sist\u0113misk\u0101 diska palai\u0161ana ar macOS, ko izveidojis Apple instal\u0113t\u0101js. Pa\u0161laik tiek atbalst\u012bta tikai uzs\u0101k\u0161ana uz Apple ARM datoriem ar M1 un jaun\u0101kiem \u010dipiem.    <center><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/11\/2df276474e9a91933523206c5cb7c12f.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/center>    <center><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/11\/939011fe4939f2b62320abc3a7be0595.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/center>    <center><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/11\/614336748bf215dea21870052a28369d.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/center><br \/>\n<br \/>Avots: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=66747\">opennet.lv<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0425\u044d\u044f\u043d \u0427\u0436\u043e\u0443 (Heyang Zhou), \u043e\u0434\u0438\u043d \u0438\u0437 \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u0435\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Deno Deploy, \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b \u043f\u0440\u043e\u0435\u043a\u0442 XNU Linux, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u044f\u0434\u0440\u043e XNU \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043c\u043e\u0434\u0443\u043b\u044f \u044f\u0434\u0440\u0430 Linux, \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f macOS \u0432 Linux. XNU \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0432 macOS, \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0447\u0430\u0441\u0442\u044c\u044e \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 Darwin \u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u0433\u0438\u0431\u0440\u0438\u0434\u043d\u043e\u0435 \u044f\u0434\u0440\u043e, \u0441\u043e\u0447\u0435\u0442\u0430\u044e\u0449\u0435\u0435 \u043c\u0438\u043a\u0440\u043e\u044f\u0434\u0440\u043e Mach, \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u044b \u044f\u0434\u0440\u0430 FreeBSD [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":10,"featured_media":184373,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-184371","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.5.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0425\u044d\u044f\u043d \u0427\u0436\u043e\u0443 (Heyang Zhou), \u043e\u0434\u0438\u043d \u0438\u0437 \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u0435\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Deno Deploy, \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b \u043f\u0440\u043e\u0435\u043a\u0442 XNU Linux, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u044f\u0434\u0440\u043e XNU \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043c\u043e\u0434\u0443\u043b\u044f \u044f\u0434\u0440\u0430 Linux, \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Alexander Kovalev\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/lv\/blog\/news\/xnu-linux-for-booting-the-macos-kernel-and-userland-on-linux\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.5.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"lv_LV\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47XNU Linux \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u044f\u0434\u0440\u0430 \u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f macOS \u0432 Linux | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0425\u044d\u044f\u043d \u0427\u0436\u043e\u0443 (Heyang Zhou), \u043e\u0434\u0438\u043d \u0438\u0437 \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u0435\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Deno Deploy, \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b \u043f\u0440\u043e\u0435\u043a\u0442 XNU Linux, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u044f\u0434\u0440\u043e XNU \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043c\u043e\u0434\u0443\u043b\u044f \u044f\u0434\u0440\u0430 Linux, \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/lv\/blog\/news\/xnu-linux-for-booting-the-macos-kernel-and-userland-on-linux\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-11-23T19:36:38+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-11-23T19:36:41+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47XNU Linux kodola un macOS lietot\u0101ja vid\u0113 aug\u0161upiel\u0101dei Linux | ProHoster","description":"\u0425\u044d\u044f\u043d \u0427\u0436\u043e\u0443 (Heyang Zhou), viens no Deno Deploy platformas izstr\u0101d\u0101t\u0101jiem, public\u0113ja projektu XNU Linux, kas \u013cauj salikt un aug\u0161upiel\u0101d\u0113t XNU kodolu k\u0101 Linux kodola moduli un izmantot to palai\u0161anai.","canonical_url":"https:\/\/prohoster.info\/lv\/blog\/news\/xnu-linux-for-booting-the-macos-kernel-and-userland-on-linux","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"lv_LV","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47XNU Linux \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u044f\u0434\u0440\u0430 \u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f macOS \u0432 Linux | ProHoster","og:description":"\u0425\u044d\u044f\u043d \u0427\u0436\u043e\u0443 (Heyang Zhou), \u043e\u0434\u0438\u043d \u0438\u0437 \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u0435\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Deno Deploy, \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b \u043f\u0440\u043e\u0435\u043a\u0442 XNU Linux, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u044f\u0434\u0440\u043e XNU \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043c\u043e\u0434\u0443\u043b\u044f \u044f\u0434\u0440\u0430 Linux, \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f.","og:url":"https:\/\/prohoster.info\/lv\/blog\/news\/xnu-linux-for-booting-the-macos-kernel-and-userland-on-linux","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2026-11-23T19:36:38+00:00","article:modified_time":"2026-11-23T19:36:41+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":[],"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/posts\/184371","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/comments?post=184371"}],"version-history":[{"count":1,"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/posts\/184371\/revisions"}],"predecessor-version":[{"id":184372,"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/posts\/184371\/revisions\/184372"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/media\/184373"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/media?parent=184371"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/categories?post=184371"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/tags?post=184371"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}