Upgrade to Pro — share decks privately, control downloads, hide ads and more …

PicoRubyではじめる自作カーネル入門

Avatar for S.H. S.H.
October 31, 2026
61

 PicoRubyではじめる自作カーネル入門

PicoRubyKaigi 2026 Assemble

Avatar for S.H.

S.H.

October 31, 2026

More Decks by S.H.

Transcript

  1. のめり込んでいった 『Lightning Talk on Steam Deck with Ruby』@松 江Ruby会議12 『Paint

    it Red!』@北陸Ruby会議02 『Run Ruby Everywhere with the seL4 Microkernel』@RubyWorld Conference 2026
  2. Rubyでsyscallを分岐 def self.dispatch(number, a1, a2, a3, a4, a5, a6) case

    number when NR_WRITE then sys_write(a1, a2, a3) when NR_READ then sys_read(a1, a2, a3) when NR_OPEN then sys_open(a1) when NR_IOCTL then sys_ioctl(a1, a2, a3) when NR_MMAP then sys_mmap(a2, a5, a6) else ENOSYS end end