<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>syuu1228</author_name>
  <author_url>https://blog.hatena.ne.jp/syuu1228/</author_url>
  <blog_title>syuu1228's blog</blog_title>
  <blog_url>https://syuu1228.hatenablog.com/</blog_url>
  <categories>
    <anon>MIPS</anon>
    <anon>OS</anon>
    <anon>SMP</anon>
    <anon>OpenBSD</anon>
    <anon>sgi octane</anon>
  </categories>
  <description>cpu1でclock割り込みを起こしてみた。cpu_hatchでcpu_initclocks()を呼び、statusレジスタで割り込み有効にする。 void prom_cpu_hatch(struct cpu_info *ci) { char *cp; void *gp, *sp; asm volatile( &quot;move %0, $gp\n&quot; &quot;move %1, $sp\n&quot; : &quot;=r&quot;(gp), &quot;=r&quot;(sp)); int cpuid = cpu_number(); combinit(); combprintf(&quot;comb initialized by cpu%d\n&quot;, cpuid);…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsyuu1228.hatenablog.com%2Fentry%2F20090717%2F1247832814&quot; title=&quot;OpenBSD/sgi on octane2 - clock割り込み - syuu1228&amp;#39;s blog&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>2009-07-17 21:13:34</published>
  <title>OpenBSD/sgi on octane2 - clock割り込み</title>
  <type>rich</type>
  <url>https://syuu1228.hatenablog.com/entry/20090717/1247832814</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
