|
|
| version 1.17, 2005/03/12 12:32:54 | version 1.18, 2008/01/25 17:53:27 |
|---|---|
| Line 177 load_ldtr(UINT16 selector, int exc) | Line 177 load_ldtr(UINT16 selector, int exc) |
| EXCEPTION(exc, sel.selector); | EXCEPTION(exc, sel.selector); |
| } | } |
| #if 0 | |
| /* | |
| * LEMM の挙動より LDT セグメントのリミットチェック処理を無効化 | |
| * | |
| * 症状1:リミット 0 の LDT セレクタを LLDT は駄目っぽい。 | |
| * 対策1:リミット 0 の LDT セレクタの代わりにヌルセレクタを LLDT。 | |
| */ | |
| /* check limit */ | /* check limit */ |
| if (sel.desc.u.seg.limit < 7) { | if (sel.desc.u.seg.limit < 7) { |
| ia32_panic("load_ldtr: LDTR descriptor limit < 7 (limit = %d)", sel.desc.u.seg.limit); | ia32_panic("load_ldtr: LDTR descriptor limit < 7 (limit = %d)", sel.desc.u.seg.limit); |
| } | } |
| #endif | |
| /* not present */ | /* not present */ |
| rv = selector_is_not_present(&sel); | rv = selector_is_not_present(&sel); |