<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>masami256</author_name>
  <author_url>https://blog.hatena.ne.jp/masami256/</author_url>
  <blog_title>φ(・・*)ゞ ｳｰﾝ　カーネルとか弄ったりのメモ</blog_title>
  <blog_url>https://kernhack.hatenablog.com/</blog_url>
  <categories>
    <anon>DragonFlyBSD</anon>
    <anon>kernel</anon>
  </categories>
  <description>φ(・・*)ゞ ｳｰﾝ 両者の違いをよく忘れるのでorzmdcpuもmycpuも今動いているcpuが持ってるデータにアクセスするために使うのは良いとして、mdcpuのmdは多分machine dependentとかそんな意味ですよね。ということで、mdcpuはアーキテクチャ依存な情報、mycpuはアーキテクチャ非依存なデータを取得するという使い分けでしょうか。 mdcpuはsys/platform/pc64/include/globaldata.hで定義されています。 #define mdcpu ((struct mdglobaldata *)_get_mycpu()) mycpuのほうはsy…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkernhack.hatenablog.com%2Fentry%2F2012%2F11%2F06%2F014944&quot; title=&quot;dradonflybsdのmdcpuとmycpuマクロ - φ(・・*)ゞ ｳｰﾝ　カーネルとか弄ったりのメモ&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>2012-11-06 01:49:44</published>
  <title>dradonflybsdのmdcpuとmycpuマクロ</title>
  <type>rich</type>
  <url>https://kernhack.hatenablog.com/entry/2012/11/06/014944</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
