[][src]Module sunrise_bootstrap::gdt::i386::instructions::segmentation

Provides functions to read and write segment registers.

Functions

cs

Returns the current value of the code segment register.

load_ds

Reload data segment register.

load_es

Reload es segment register.

load_fs

Reload fs segment register.

load_gs

Reload gs segment register.

load_ss

Reload stack segment register.

set_cs

Reload code segment register. Note this is special since we can not directly move to %cs. Instead we push the new segment selector and return value on the stack and use lretq to reload cs and continue at 1:.