{"id":752,"date":"2020-12-09T00:00:33","date_gmt":"2020-12-08T15:00:33","guid":{"rendered":"https:\/\/pg-mana.net\/blog\/?p=752"},"modified":"2024-09-09T17:25:13","modified_gmt":"2024-09-09T08:25:13","slug":"multicore-os-intro","status":"publish","type":"post","link":"https:\/\/pg-mana.net\/blog\/multicore-os-intro\/","title":{"rendered":"\u81ea\u4f5cOS\u3068\u30de\u30eb\u30c1\u30b3\u30a2"},"content":{"rendered":"\n<p>\u3053\u306e\u8a18\u4e8b\u306f<a href=\"https:\/\/adventar.org\/calendars\/4954\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"https:\/\/adventar.org\/calendars\/4954\">\u81ea\u4f5cOS Advent Calendar 2020<\/a>\u306e9\u65e5\u76ee\u306e\u8a18\u4e8b\u3067\u3059\u3002<br>\u79c1\u306e\u81ea\u4f5cOS\u306fx86_64\u7528\u306b\u958b\u767a\u3055\u308c\u3066\u3044\u308b\u308f\u3051\u3067\u3059\u304c\u3001x86_64\u3067\u306f\u901a\u5e38\u8d77\u52d5\u76f4\u5f8c\u306fBSP(BootStrap Processor)\u306e\u307f\u304c\u52d5\u4f5c\u3057\u3066\u304a\u308a\u305d\u308c\u4ee5\u5916\u306e\u30b3\u30a2\u306f\u505c\u6b62\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u306bBSP\u304cAP(Application Processor)\u3092\u9069\u5207\u306b\u521d\u671f\u5316\u3057\u3066\u3042\u3052\u308b\u5fc5\u8981\u304c\u3042\u308a\u3001\u3053\u308c\u306b\u306fUEFI\u306eMpService\u3068\u3044\u3046\u3082\u306e\u3092\u4f7f\u7528\u3059\u308b\u304b(\u3088\u304f\u77e5\u3089\u306a\u3044\u306e\u3067\u8a73\u7d30\u306f\u3053\u3053\u3067\u306f\u8aac\u660e\u3067\u304d\u306a\u3044)\u3001LocalAPIC\u306e\u30d7\u30ed\u30bb\u30c3\u30b5\u9593\u901a\u4fe1\u3092\u5229\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>Methylenix\u3067\u306f\u5f8c\u8005\u3092\u9078\u629e\u3057\u3066\u304a\u308a\u3001<br><a href=\"https:\/\/github.com\/PG-MANA\/Methylenix\/blob\/11239235352ac46a051999edd47ae0590ba5f6c7\/src\/arch\/x86_64\/init.rs#L269\">https:\/\/github.com\/PG-MANA\/Methylenix\/blob\/11239235352ac46a051999edd47ae0590ba5f6c7\/src\/arch\/x86_64\/init.rs#L269<\/a>\u3067\u5b9f\u88c5\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u65b9\u5f0f\u3067\u306fAP\u304c16bit\u30ea\u30a2\u30eb\u30e2\u30fc\u30c9\u3067\u7acb\u3061\u4e0a\u304c\u3063\u3066\u304d\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u30e1\u30e2\u30ea\u30a2\u30c9\u30ec\u30b9\u304c1MB\u4ee5\u4e0b\u306e\u5834\u6240\u306e\u30e1\u30e2\u30ea\u306e\u78ba\u4fdd\u3084\u30d6\u30fc\u30c8\u30b3\u30fc\u30c9\u306e\u8ee2\u9001\u306a\u3069\u3044\u308d\u3044\u308d\u306a\u3053\u3068\u3092\u3057\u3066\u3044\u307e\u3059&#8230;(\u3053\u3053\u3089\u3078\u3093\u306e\u8a2d\u8a08\u304c\u5730\u5473\u306b\u8f9b\u304b\u3063\u305f&#8230;)<\/p>\n\n\n\n<p>\u4e00\u65b9RISC-V\u306a\u3069\u306eRISC\u7cfb\u306eCPU\u306f\u8d77\u52d5\u3068\u540c\u6642\u306b\u5168\u3066\u306e\u30b3\u30a2\u304c\u4e00\u6589\u306b\u30a8\u30f3\u30c8\u30ea\u30dd\u30a4\u30f3\u30c8\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u591a\u304f\u3001\u3053\u306e\u5834\u5408\u306f\u30b3\u30a2ID\u3092\u898b\u306a\u304c\u3089\u30bb\u30de\u30d5\u30a9\u306a\u3069\u306e\u6392\u4ed6\u51e6\u7406\u3092\u6700\u521d\u304b\u3089\u884c\u308f\u306a\u3044\u3068\u30b9\u30bf\u30c3\u30af\u306e\u7af6\u5408\u3084UART\u306e\u51fa\u529b\u304c\u30c0\u30d6\u308b\u306a\u3069(HeHello,o, wwoorrldld!!\u3068\u306a\u308b\u306a\u3069)\u3059\u308b\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002RISC-V\u30dc\u30fc\u30c9\u306eSDK\u306a\u3069\u3067if(core_id == 0){&#8230;}\u306a\u3069\u3042\u308b\u306e\u306f\u3053\u306e\u305f\u3081\u3067\u3059\u3002<\/p>\n\n\n\n<p>x86_64\u3067\u306e\u30de\u30eb\u30c1\u30b3\u30a2\u5bfe\u5fdc\u306a\u3069\u3092\u307e\u3068\u3081\u3066\u3057\u3063\u304b\u308a\u3068\u3057\u305f\u6587\u7ae0\u306b\u3057\u305f\u3044\u306a&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u306f\u81ea\u4f5cOS Advent Calendar 2020\u306e9\u65e5\u76ee\u306e\u8a18\u4e8b\u3067\u3059\u3002\u79c1\u306e\u81ea\u4f5cOS\u306fx86_64\u7528\u306b\u958b\u767a\u3055\u308c\u3066\u3044\u308b\u308f\u3051\u3067\u3059\u304c\u3001x86_64\u3067\u306f\u901a\u5e38\u8d77\u52d5\u76f4\u5f8c\u306fBSP(BootStrap Processor)\u306e\u307f\u304c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-752","post","type-post","status-publish","format-standard","hentry","category-programming"],"_links":{"self":[{"href":"https:\/\/pg-mana.net\/blog\/wp-json\/wp\/v2\/posts\/752","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pg-mana.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pg-mana.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pg-mana.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pg-mana.net\/blog\/wp-json\/wp\/v2\/comments?post=752"}],"version-history":[{"count":0,"href":"https:\/\/pg-mana.net\/blog\/wp-json\/wp\/v2\/posts\/752\/revisions"}],"wp:attachment":[{"href":"https:\/\/pg-mana.net\/blog\/wp-json\/wp\/v2\/media?parent=752"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pg-mana.net\/blog\/wp-json\/wp\/v2\/categories?post=752"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pg-mana.net\/blog\/wp-json\/wp\/v2\/tags?post=752"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}