# HG changeset patch # User taiki # Date 1370333727 -32400 # Node ID 7f4128b2369a090f07d608461ad114b93e5fa95d # Parent d3f740120b55966b2223ac1b87af8ac12e6f80ed update seminar slides diff -r d3f740120b55 -r 7f4128b2369a io2012slides/slide_config.js --- a/io2012slides/slide_config.js Tue Apr 16 18:03:33 2013 +0900 +++ b/io2012slides/slide_config.js Tue Jun 04 17:15:27 2013 +0900 @@ -1,7 +1,7 @@ var SLIDE_CONFIG = { // Slide settings settings: { - title: 'ELILO におけるメモリ管理の実験', + title: 'Codesegment と Datasegment による OS の実装', //subtitle: 'Subtitle Goes Here', useBuilds: true, // Default: true. False will turn off slide animation builds. usePrettify: true, // Default: true diff -r d3f740120b55 -r 7f4128b2369a seminar2013/0416.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/seminar2013/0416.html Tue Jun 04 17:15:27 2013 +0900 @@ -0,0 +1,423 @@ + + + + + Presentation + + + + + + + + + + + + + + + + + + + + + +
+

+

+

+
+
+ + +
+

研究目的

+
+
+
    +
  • 動作が軽く、落ちにくいカーネルを実装する
  • +
  • ブートが最速で、コンパクトなカーネルを実装する
  • +
  • Codesegment と Datasegment をカーネルに実装するにあたって、メモリ管理の役割とどう合致するのかを検証する
  • +
+
+
+ + +
+

今週の作業

+
+
+
    +
  • Linux 3.7.7 を読む
  • +
  • メモリ初期化のデバッグ
  • +
+
+
+ + +
+

ELILO

+
+
+

ELILO の中でのカーネル、という方針

+

「ELILOアプリケーションの中」だったら ExitBootServices を実行しないで書くべき

+
    +
  1. 1.GDT/LDT を設定
  2. +
  3. 2.別セグメントに飛ぶ
  4. +
  5. 3.メモリの初期化
  6. +
+
+
+ + +
+

エラーメッセージ

+
+
+

cr0 の PE bit を無効にした時

+ +

cr3 に値を入れた時

+ +
+
+ + +
+

これからやること

+
+
+
    +
  • 引き続き Paging の設定
  • +
  • うまくいったら User/特権 mode の切り替え
  • +
+
+
+ + +
+

Code Slide (with Subtitle Placeholder)

+
+
+

Press 'h' to highlight important sections of code (wrapped in <b>).

+
+<script type='text/javascript'>
+  // Say hello world until the user starts questioning
+  // the meaningfulness of their existence.
+  function helloWorld(world) {
+    for (var i = 42; --i >= 0;) {
+      alert('Hello ' + String(world));
+    }
+  }
+</script>
+
+
+
+ + +
+

Code Slide (Smaller Font)

+
+
+
+// Say hello world until the user starts questioning
+// the meaningfulness of their existence.
+function helloWorld(world) {
+  for (var i = 42; --i >= 0;) {
+    alert('Hello ' + String(world));
+  }
+}
+
+
+<style>
+  p { color: pink }
+  b { color: blue }
+</style>
+
+
+<!DOCTYPE html>
+<html>
+<head>
+  <title>My Awesome Page</title>
+</head>
+<body>
+  <p>Hello world</p>
+<body>
+</html>
+
+
+
+ + + +
+

Slide with Speaker Notes

+
+
+

Press 'p' to toggle speaker notes.

+
+
+ + + +
+

Presenter Mode

+
+
+

Add ?presentme=true to the URL to enabled presenter mode. + This setting is sticky, meaning refreshing the page will persist presenter + mode.

+

Hit ?presentme=false to disable presenter mode.

+
+
+ + +
+

Slide with Image

+
+
+ Description +
source: place source info here
+
+
+ + +
+

Slide with Image (Centered horz/vert)

+
+
+ Description +
source: place source info here
+
+
+ + +
+

Table Option A

+

Subtitle Placeholder

+
+
+ + + + + + + + + + + + + + + + + + + +
Column 1Column 2Column 3Column 4
Row 1placeholderplaceholderplaceholderplaceholder
Row 2placeholderplaceholderplaceholderplaceholder
Row 3placeholderplaceholderplaceholderplaceholder
Row 4placeholderplaceholderplaceholderplaceholder
Row 5placeholderplaceholderplaceholderplaceholder
+
+
+ + +
+

Table Option A (Smaller Text)

+

Subtitle Placeholder

+
+
+ + + + + + + + + + + + + + + + + + + +
Column 1Column 2Column 3Column 4
Row 1placeholderplaceholderplaceholderplaceholder
Row 2placeholderplaceholderplaceholderplaceholder
Row 3placeholderplaceholderplaceholderplaceholder
Row 4placeholderplaceholderplaceholderplaceholder
Row 5placeholderplaceholderplaceholderplaceholder
+
+
+ + +
+

Table Option B

+

Subtitle Placeholder

+
+
+ + + + + + + + + + + + + + + + +
Header 1placeholderplaceholderplaceholder
Header 2placeholderplaceholderplaceholder
Header 3placeholderplaceholderplaceholder
Header 4placeholderplaceholderplaceholder
Header 5placeholderplaceholderplaceholder
+
+
+ + +
+

Slide Styles

+
+
+
+
    +
  • class="red"
  • +
  • class="red2"
  • +
  • class="red3"
  • +
  • class="blue"
  • +
  • class="blue2"
  • +
  • class="blue3"
  • +
  • class="green"
  • +
  • class="green2"
  • +
+
    +
  • class="green3"
  • +
  • class="yellow"
  • +
  • class="yellow2"
  • +
  • class="yellow3"
  • +
  • class="gray"
  • +
  • class="gray2"
  • +
  • class="gray3"
  • +
  • class="gray4"
  • +
+
+
+ I am centered text with a and button. +
+
+
+ + + +
+

Segue Slide

+

Subtitle Placeholder

+
+
+ + +
+

Full Image (with Optional Header)

+
+
www.flickr.com/photos/25797459@N06/5438799763/
+
+ + + +
+ + This is an example of quote text. + +
+ Name
+ Company +
+
+
+ + +
+

Slide with Iframe

+
+
+ +
+
+ + +
+ +
+
+ + + +
+

<Thank You!>

+

Important contact information goes here.

+
+

+ +

+
+ + +
+ +
+
+ + + +
+ + + + + + diff -r d3f740120b55 -r 7f4128b2369a seminar2013/0430.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/seminar2013/0430.html Tue Jun 04 17:15:27 2013 +0900 @@ -0,0 +1,445 @@ + + + + + Presentation + + + + + + + + + + + + + + + + + + + + + +
+

+

+

+
+
+ + +
+

研究目的

+
+
+
    +
  • 動作が軽く、落ちにくいカーネルを実装する
  • +
  • ブートが最速で、コンパクトなカーネルを実装する
  • +
  • Codesegment と Datasegment をカーネルに実装するにあたって、メモリ管理の役割とどう合致するのかを検証する
  • +
+
+
+ + +
+

今週の作業

+
+
+
    +
  • Linux 3.8.9 を読む
  • +
  • メモリ初期化のデバッグ
  • +
+
+
+ + +
+

ELILO

+
+
+

ELILO の中でのカーネル、という方針

+

「ELILOアプリケーションの中」だったら ExitBootServices を実行しないで書くべき

+
    +
  1. 1.GDT/LDT を設定
  2. +
  3. 2.別セグメントに飛ぶ
  4. +
  5. 3.メモリの初期化
  6. +
+
+
+ + +
+

エラーメッセージ

+
+
+

cr0 の PE bit を無効にした時

+ +

cr3 に値を入れた時

+ +
+
+ + +
+

PostgreSQL

+
+
+

手順

+
    +
  1. ./initdb -D $PGDATA
    + データベースの初期化
  2. +
  3. ./pg_ctl -D $PGDATA -l [logfile_name] start
    + PostgreSQL の起動
  4. +
  5. ./psql user
    + 対話プロンプトが開く
  6. +
  7. + ps -ef | grep postgres
    + PostgreSQL のプロセスを探し出す
  8. +
  9. gdb $DIR/bin/postgres [process number]
    + で読む
  10. +
+
+
+ + +
+

これからやること

+
+
+
    +
  • 引き続き Paging の設定
  • +
  • うまくいったら User/特権 mode の切り替え
  • +
+
+
+ + +
+

Code Slide (with Subtitle Placeholder)

+
+
+

Press 'h' to highlight important sections of code (wrapped in <b>).

+
+<script type='text/javascript'>
+  // Say hello world until the user starts questioning
+  // the meaningfulness of their existence.
+  function helloWorld(world) {
+    for (var i = 42; --i >= 0;) {
+      alert('Hello ' + String(world));
+    }
+  }
+</script>
+
+
+
+ + +
+

Code Slide (Smaller Font)

+
+
+
+// Say hello world until the user starts questioning
+// the meaningfulness of their existence.
+function helloWorld(world) {
+  for (var i = 42; --i >= 0;) {
+    alert('Hello ' + String(world));
+  }
+}
+
+
+<style>
+  p { color: pink }
+  b { color: blue }
+</style>
+
+
+<!DOCTYPE html>
+<html>
+<head>
+  <title>My Awesome Page</title>
+</head>
+<body>
+  <p>Hello world</p>
+<body>
+</html>
+
+
+
+ + + +
+

Slide with Speaker Notes

+
+
+

Press 'p' to toggle speaker notes.

+
+
+ + + +
+

Presenter Mode

+
+
+

Add ?presentme=true to the URL to enabled presenter mode. + This setting is sticky, meaning refreshing the page will persist presenter + mode.

+

Hit ?presentme=false to disable presenter mode.

+
+
+ + +
+

Slide with Image

+
+
+ Description +
source: place source info here
+
+
+ + +
+

Slide with Image (Centered horz/vert)

+
+
+ Description +
source: place source info here
+
+
+ + +
+

Table Option A

+

Subtitle Placeholder

+
+
+ + + + + + + + + + + + + + + + + + + +
Column 1Column 2Column 3Column 4
Row 1placeholderplaceholderplaceholderplaceholder
Row 2placeholderplaceholderplaceholderplaceholder
Row 3placeholderplaceholderplaceholderplaceholder
Row 4placeholderplaceholderplaceholderplaceholder
Row 5placeholderplaceholderplaceholderplaceholder
+
+
+ + +
+

Table Option A (Smaller Text)

+

Subtitle Placeholder

+
+
+ + + + + + + + + + + + + + + + + + + +
Column 1Column 2Column 3Column 4
Row 1placeholderplaceholderplaceholderplaceholder
Row 2placeholderplaceholderplaceholderplaceholder
Row 3placeholderplaceholderplaceholderplaceholder
Row 4placeholderplaceholderplaceholderplaceholder
Row 5placeholderplaceholderplaceholderplaceholder
+
+
+ + +
+

Table Option B

+

Subtitle Placeholder

+
+
+ + + + + + + + + + + + + + + + +
Header 1placeholderplaceholderplaceholder
Header 2placeholderplaceholderplaceholder
Header 3placeholderplaceholderplaceholder
Header 4placeholderplaceholderplaceholder
Header 5placeholderplaceholderplaceholder
+
+
+ + +
+

Slide Styles

+
+
+
+
    +
  • class="red"
  • +
  • class="red2"
  • +
  • class="red3"
  • +
  • class="blue"
  • +
  • class="blue2"
  • +
  • class="blue3"
  • +
  • class="green"
  • +
  • class="green2"
  • +
+
    +
  • class="green3"
  • +
  • class="yellow"
  • +
  • class="yellow2"
  • +
  • class="yellow3"
  • +
  • class="gray"
  • +
  • class="gray2"
  • +
  • class="gray3"
  • +
  • class="gray4"
  • +
+
+
+ I am centered text with a and button. +
+
+
+ + + +
+

Segue Slide

+

Subtitle Placeholder

+
+
+ + +
+

Full Image (with Optional Header)

+
+
www.flickr.com/photos/25797459@N06/5438799763/
+
+ + + +
+ + This is an example of quote text. + +
+ Name
+ Company +
+
+
+ + +
+

Slide with Iframe

+
+
+ +
+
+ + +
+ +
+
+ + + +
+

<Thank You!>

+

Important contact information goes here.

+
+

+ +

+
+ + +
+ +
+
+ + + +
+ + + + + + diff -r d3f740120b55 -r 7f4128b2369a seminar2013/0507.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/seminar2013/0507.html Tue Jun 04 17:15:27 2013 +0900 @@ -0,0 +1,461 @@ + + + + + Presentation + + + + + + + + + + + + + + + + + + + + + +
+

+

+

+
+
+ + +
+

研究目的

+
+
+
    +
  • 動作が軽く、落ちにくいカーネルを実装する
  • +
  • ブートが最速で、コンパクトなカーネルを実装する
  • +
  • Codesegment と Datasegment をカーネルに実装するにあたって、メモリ管理の役割とどう合致するのかを検証する
  • +
+
+
+ + +
+

今週の作業

+
+
+
    +
  • Linux 3.8.9 を読む
  • +
  • メモリ初期化のデバッグ
  • +
+
+
+ + +
+

ELILO

+
+
+

ELILO の中でのカーネル、という方針

+

「ELILOアプリケーションの中」だったら ExitBootServices を実行しないで書くべき

+
    +
  1. GDT/LDT を設定
  2. +
  3. 別セグメントに飛ぶ
  4. +
  5. メモリの初期化
  6. +
  7. Call Gate と TSS
  8. +
  9. CPL (current privilege level)
  10. +
  11. 64 bit mode(32bit と互換性なし)/compatibility mode
  12. +
+
+
+ + +
+

エラーメッセージ

+
+
+

cr0 の PE bit を無効にした時

+ +

cr3 に値を入れた時

+ +
+
+ + +
+

Fedora Linux

+
+
+
    +
  • Linux kernel 3.8.9
  • +
  • EFI 経由の GRUB2 で動いている
  • +
  • gdb で追いながら追っている途中
  • +
+
+
+ + +
+

PostgreSQL

+
+
+

手順

+
    +
  1. ./initdb -D $PGDATA
    + データベースの初期化
  2. +
  3. ./pg_ctl -D $PGDATA -l [logfile_name] start
    + PostgreSQL の起動
  4. +
  5. ./psql user
    + 対話プロンプトが開く
  6. +
  7. + ps -ef | grep postgres
    + PostgreSQL のプロセスを探し出す
  8. +
  9. gdb $DIR/bin/postgres [process number]
    + で読む
  10. +
+
+
+ + +
+

これからやること

+
+
+
    +
  • 引き続き Paging の設定
  • +
  • うまくいったら User/特権 mode の切り替え
  • +
+
+
+ + +
+

Code Slide (with Subtitle Placeholder)

+
+
+

Press 'h' to highlight important sections of code (wrapped in <b>).

+
+<script type='text/javascript'>
+  // Say hello world until the user starts questioning
+  // the meaningfulness of their existence.
+  function helloWorld(world) {
+    for (var i = 42; --i >= 0;) {
+      alert('Hello ' + String(world));
+    }
+  }
+</script>
+
+
+
+ + +
+

Code Slide (Smaller Font)

+
+
+
+// Say hello world until the user starts questioning
+// the meaningfulness of their existence.
+function helloWorld(world) {
+  for (var i = 42; --i >= 0;) {
+    alert('Hello ' + String(world));
+  }
+}
+
+
+<style>
+  p { color: pink }
+  b { color: blue }
+</style>
+
+
+<!DOCTYPE html>
+<html>
+<head>
+  <title>My Awesome Page</title>
+</head>
+<body>
+  <p>Hello world</p>
+<body>
+</html>
+
+
+
+ + + +
+

Slide with Speaker Notes

+
+
+

Press 'p' to toggle speaker notes.

+
+
+ + + +
+

Presenter Mode

+
+
+

Add ?presentme=true to the URL to enabled presenter mode. + This setting is sticky, meaning refreshing the page will persist presenter + mode.

+

Hit ?presentme=false to disable presenter mode.

+
+
+ + +
+

Slide with Image

+
+
+ Description +
source: place source info here
+
+
+ + +
+

Slide with Image (Centered horz/vert)

+
+
+ Description +
source: place source info here
+
+
+ + +
+

Table Option A

+

Subtitle Placeholder

+
+
+ + + + + + + + + + + + + + + + + + + +
Column 1Column 2Column 3Column 4
Row 1placeholderplaceholderplaceholderplaceholder
Row 2placeholderplaceholderplaceholderplaceholder
Row 3placeholderplaceholderplaceholderplaceholder
Row 4placeholderplaceholderplaceholderplaceholder
Row 5placeholderplaceholderplaceholderplaceholder
+
+
+ + +
+

Table Option A (Smaller Text)

+

Subtitle Placeholder

+
+
+ + + + + + + + + + + + + + + + + + + +
Column 1Column 2Column 3Column 4
Row 1placeholderplaceholderplaceholderplaceholder
Row 2placeholderplaceholderplaceholderplaceholder
Row 3placeholderplaceholderplaceholderplaceholder
Row 4placeholderplaceholderplaceholderplaceholder
Row 5placeholderplaceholderplaceholderplaceholder
+
+
+ + +
+

Table Option B

+

Subtitle Placeholder

+
+
+ + + + + + + + + + + + + + + + +
Header 1placeholderplaceholderplaceholder
Header 2placeholderplaceholderplaceholder
Header 3placeholderplaceholderplaceholder
Header 4placeholderplaceholderplaceholder
Header 5placeholderplaceholderplaceholder
+
+
+ + +
+

Slide Styles

+
+
+
+
    +
  • class="red"
  • +
  • class="red2"
  • +
  • class="red3"
  • +
  • class="blue"
  • +
  • class="blue2"
  • +
  • class="blue3"
  • +
  • class="green"
  • +
  • class="green2"
  • +
+
    +
  • class="green3"
  • +
  • class="yellow"
  • +
  • class="yellow2"
  • +
  • class="yellow3"
  • +
  • class="gray"
  • +
  • class="gray2"
  • +
  • class="gray3"
  • +
  • class="gray4"
  • +
+
+
+ I am centered text with a and button. +
+
+
+ + + +
+

Segue Slide

+

Subtitle Placeholder

+
+
+ + +
+

Full Image (with Optional Header)

+
+
www.flickr.com/photos/25797459@N06/5438799763/
+
+ + + +
+ + This is an example of quote text. + +
+ Name
+ Company +
+
+
+ + +
+

Slide with Iframe

+
+
+ +
+
+ + +
+ +
+
+ + + +
+

<Thank You!>

+

Important contact information goes here.

+
+

+ +

+
+ + +
+ +
+
+ + + +
+ + + + + + diff -r d3f740120b55 -r 7f4128b2369a seminar2013/0509.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/seminar2013/0509.html Tue Jun 04 17:15:27 2013 +0900 @@ -0,0 +1,166 @@ + + + + + Presentation + + + + + + + + + + + + + + + + + + + + + +
+

+

+

+
+
+ + +
+

研究目的

+
+
+
    +
  • ブートが高速で、コンパクトなカーネルを実装する。
  • +
  • Codesegment と Datasegment をカーネルに実装するにあたって、メモリ管理の役割とどう合致するのかを検証する。
  • +
  • 上記を確認したら CbC を用いて、動作が軽く落ちにくいカーネルを実装する。
  • +
+
+
+ + +
+

今週の作業

+
+
+
    +
  • Linux 3.8.9 を読む
  • +
  • メモリ初期化のデバッグ
  • +
+
+
+ + +
+

ELILO

+
+
+

ELILO の中でのカーネル、という方針

+

「ELILOアプリケーションの中」だったら ExitBootServices を実行しないで書くべき

+
    +
  1. GDT/LDT を設定
  2. +
  3. 別セグメントに飛ぶ
  4. +
  5. メモリの初期化
  6. +
  7. Call Gate と TSS
  8. +
  9. CPL (current privilege level) を調べる
  10. +
  11. 64 bit mode(32bit と互換性なし)/compatibility mode
  12. +
  13. UEFI のマニュアルには
    + Paging mode is enabled and any memory space defined by the UEFI memory map is identity mapped (virtual address equals physical address).
  14. +
+
+
+ + +
+

エラーメッセージ

+
+
+

cr0 の PE bit を無効にした時

+ +

cr3 に値を入れた時

+ +
+
+ + +
+

Fedora Linux

+
+
+
    +
  • Linux kernel 3.8.9
  • +
  • gdb で追いながら追っている途中
  • +
+
+
+ + +
+

PostgreSQL

+
+
+

手順

+
    +
  1. ./initdb -D $PGDATA
    + データベースの初期化
  2. +
  3. ./pg_ctl -D $PGDATA -l [logfile_name] start
    + PostgreSQL の起動
  4. +
  5. ./psql user
    + 対話プロンプトが開く
  6. +
  7. + ps -ef | grep postgres
    + PostgreSQL のプロセスを探し出す
  8. +
  9. gdb $DIR/bin/postgres [process number]
    + で読む
  10. +
+
+
+ + + +
+ +
+
+ + + +
+ + + + + + diff -r d3f740120b55 -r 7f4128b2369a seminar2013/0514.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/seminar2013/0514.html Tue Jun 04 17:15:27 2013 +0900 @@ -0,0 +1,142 @@ + + + + + Presentation + + + + + + + + + + + + + + + + + + + + + +
+

+

+

+
+
+ + +
+

研究目的

+
+
+
    +
  • ブートが高速で、コンパクトなカーネルを実装する。
  • +
  • Codesegment と Datasegment をカーネルに実装するにあたって、メモリ管理の役割とどう合致するのかを検証する。
  • +
  • 上記を確認したら CbC を用いて、動作が軽く落ちにくいカーネルを実装する。
  • +
  • モデル検証に対応し、エラー予測を可能にする
  • +
  • カーネルパニックをなくす
  • +
  • Mach-O を EFI でロードし、64bit でロードできるようにする
  • +
+
+
+ + +
+

今週の作業

+
+
+
    +
  • Qemu を使えるかどうかの調査
  • +
+
+
+ + +
+

Qemu [Q]

+
+
+
    +
  • OS X での Qemu は Q として書かれる
  • +
  • Qemu で EFI を使うツール OVMF のインストール
  • +
+
+
+ + +
+

ELILO で Mach-O

+
+
+
    +
  • ELILO は x86-64 ように bzImaze と plain loader を持っている
  • +
  • Mach-O 用ローダを追加
  • +
  • 一度使用するローダを登録して、使用するか決める
  • +
  • 登録したローダを使う
  • +
  • Makefile を書き換えて Mach-O ローダを使えるように
  • +
+
+
+ + +
+

これからすること

+
+
+
    +
  • Linux 3.8.9 を読む
  • +
  • メモリ初期化
  • +
+
+
+ + + + +
+ +
+
+ + + +
+ + + + + + diff -r d3f740120b55 -r 7f4128b2369a seminar2013/0521.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/seminar2013/0521.html Tue Jun 04 17:15:27 2013 +0900 @@ -0,0 +1,156 @@ + + + + + Presentation + + + + + + + + + + + + + + + + + + + + + +
+

+

+

+
+
+ + +
+

研究目的

+
+
+
    +
  • ブートが高速で、コンパクトなカーネルを実装する。
  • +
  • Codesegment と Datasegment をカーネルに実装するにあたって、メモリ管理の役割とどう合致するのかを検証する。
  • +
  • 上記を確認したら CbC を用いて、動作が軽く落ちにくいカーネルを実装する。
  • +
  • モデル検証に対応し、エラー予測を可能にする
  • +
  • カーネルパニックをなくす
  • +
  • Mach-O を ELILO でロードし、64bit で動作可能にする
  • +
+
+
+ + +
+

ELILO のレジスタの状態

+
+
+

CR0

+
    +
  • PGbit ON : ページングが enable されている
  • +
  • PEbit ON : Protect mode (32 bit mode) が enable
  • +
+

CR4

+
    +
  • PAEbit ON : ページングが 32bit 以上を使用
  • +
  • PSEbit ON : 32bit ページングでの 4Mbyte page を enable
  • +
+

CR3

+
    +
  • Page directory base にアドレス
  • +
+

CS

+
    +
  • GDT のセグメントの番号
  • +
  • requested privirege level は最大(全権限をもつ)
  • +
+
+
+ + +
+

ELILO のレジスタの状態[2]

+
+
+

現在の状態

+
    +
  • GDT は動いている
  • +
  • long mode(compatibility mode/64bit mode)
  • +
  • EFI の仕様でレジスタへの書き込みを許してないのではないか
  • +
  • 4M byte のページテーブル
  • +
  • ページングは enable だが、EFI のマニュアルには physical address = virtual address とある
  • +
+
+
+ + + +
+

ELILO で Mach-O するためにするべきこと

+
+
+
    +
  • ELILO は x86-64 ように bzImaze と plain loader を持っている
  • +
  • Mach-O 用ローダを追加
  • +
  • 一度使用するローダを登録して、使用するか決める
  • +
  • 登録したローダを使う
  • +
+
+
+ + +
+
+
+
+
+ + + +
+ +
+
+ + + +
+ + + + + + diff -r d3f740120b55 -r 7f4128b2369a seminar2013/pm_kou_config.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/seminar2013/pm_kou_config.js Tue Jun 04 17:15:27 2013 +0900 @@ -0,0 +1,36 @@ +var SLIDE_CONFIG = { + // Slide settings + settings: { + title: 'ELILO におけるメモリ管理の実験', + //subtitle: 'Subtitle Goes Here', + useBuilds: true, // Default: true. False will turn off slide animation builds. + usePrettify: true, // Default: true + enableSlideAreas: true, // Default: true. False turns off the click areas on either slide of the slides. + enableTouch: true, // Default: true. If touch support should enabled. Note: the device must support touch. + //analytics: 'UA-XXXXXXXX-1', // TODO: Using this breaks GA for some reason (probably requirejs). Update your tracking code in template.html instead. + favIcon: 'images/google_developers_logo_tiny.png', + fonts: [ + 'Open Sans:regular,semibold,italic,italicsemibold', + 'Source Code Pro' + ], + //theme: ['mytheme'], // Add your own custom themes or styles in /theme/css. Leave off the .css extension. + }, + + // Author information + presenters: [{ + name: 'Taiki Taira', +// company: 'Job Title, Google', + gplus: '', + twitter: '', + www: '', + github: '' + }/*, { + name: 'Second Name', + company: 'Job Title, Google', + gplus: 'http://plus.google.com/1234567890', + twitter: '@yourhandle', + www: 'http://www.you.com', + github: 'http://github.com/you' + }*/] +}; + diff -r d3f740120b55 -r 7f4128b2369a seminar2013/pm_kou_images/.DS_Store Binary file seminar2013/pm_kou_images/.DS_Store has changed diff -r d3f740120b55 -r 7f4128b2369a seminar2013/pm_kou_images/hukuoka_higasiku.png Binary file seminar2013/pm_kou_images/hukuoka_higasiku.png has changed diff -r d3f740120b55 -r 7f4128b2369a seminar2013/pm_kou_images/kumamoto_ekizyou.png Binary file seminar2013/pm_kou_images/kumamoto_ekizyou.png has changed diff -r d3f740120b55 -r 7f4128b2369a seminar2013/pm_kou_images/pm2.5_nenkansuii.png Binary file seminar2013/pm_kou_images/pm2.5_nenkansuii.png has changed diff -r d3f740120b55 -r 7f4128b2369a seminar2013/pm_kou_images/tyoukyou_chiyoda.png Binary file seminar2013/pm_kou_images/tyoukyou_chiyoda.png has changed diff -r d3f740120b55 -r 7f4128b2369a seminar2013/software_system.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/seminar2013/software_system.html Tue Jun 04 17:15:27 2013 +0900 @@ -0,0 +1,103 @@ + + + + + Presentation + + + + + + + + + + + + + + + + + + + + + +
+

+

+

+
+
+ + +
+

PostgreSQL

+
+
+
    +
  • ./configure --enable-debug
  • +
  • src/Makefile.global に -O0 -g 追加
  • +
  • make
  • +
+
+
+ + +
+

PostgreSQL

+
+
+

起動順序

+
    +
  • ./initdb -D $PGDATA
  • +
  • ./pg_ctl -D $PGDATA -l logfile start
  • +
  • ./create database
  • +
  • ./psql database
  • +
+
+
+ + + +
+ +
+
+ + + +
+ + + + + +