<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>varmil</author_name>
  <author_url>https://blog.hatena.ne.jp/varmil/</author_url>
  <blog_title>varmil’s diary</blog_title>
  <blog_url>https://varmil.hateblo.jp/</blog_url>
  <categories>
    <anon>xv6</anon>
  </categories>
  <description>0x7c00 はx86のBIOSがMBRを読み取って、物理メモリに展開するときの位置（仕様） 0x10000 はプログラム側でディスク読み取って、物理メモリに展開する際のdstアドレス。これはリンカスクリプトの設定と一致させればよい。 つまり、自作する際はリセットベクタ付近に、 bootasm.S（MIPSならレジスタ初期化とbootmain()へのjumpくらいしかやらなくてよい。） bootmain.c（まず、ディスクからカーネル本体のELFヘッダを読み取り、それに従って本体を物理メモリ上に順次展開していく） の双方を含むコードを配置しておけば良い。ブートローダ自体はコンフィギュレーション…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fvarmil.hateblo.jp%2Fentry%2F2017%2F11%2F28%2F224333&quot; title=&quot; xv6 bootmain - varmil’s diary&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-11-28 22:43:33</published>
  <title> xv6 bootmain</title>
  <type>rich</type>
  <url>https://varmil.hateblo.jp/entry/2017/11/28/224333</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
