Home
last modified time | relevance | path

Searched refs:__d0 (Results 1 – 1 of 1) sorted by relevance

/DragonOS-0.1.2/kernel/src/exception/
Dgate.h55 ul __d0 = 0, __d1 = 0; in set_gate() local
57 __d0 = attr << 40; //设置P、DPL、Type in set_gate()
59 __d0 |= ((ul)(ist) << 32); // 设置ist in set_gate()
61 __d0 |= 8 << 16; //设置段选择子为0x1000 in set_gate()
63 __d0 |= (0xffff & tmp_code_addr); //设置段内偏移的[15:00] in set_gate()
66 __d0 |= (0xffff & tmp_code_addr) << 48; // 设置段内偏移[31:16] in set_gate()
72 *gate_selector_addr = __d0; in set_gate()
79 …unsigned long __d0, __d1; …
94 … "=m"(*(1 + (unsigned long *)(gate_selector_addr))), "=&a"(__d0), "=&d"(__d1) \