blob: c2c35a0a4a8a1be5f61f964eb59ea8bd9a7d47cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/**
* @file
* http://wiki.osdev.org/GDT_Tutorial
*/
/**
* Set the Global Descritpor Table from data at _addr_.
*
* call as asm_setup_gdt(GDT,sizeof(GDT))
*
* This will jump to 0x8 segment and set 0x10 data selector
* also refereshing the tss entry.
* */
void asm_setup_gdt(uint32_t addr, uint32_t size);
|