osd-contiki/cpu/x86
Andre Guedes 41bca35c1e x86: Initialize Global Descriptor Table
This patch adds code to initialize the Global Descriptor Table. For
simplicity, the memory is organized following the flat model. Thus,
memory appears to Contiki as a single, continuous address space. Code,
data, and stack are all contained in this address space (so called
linear address space).

The macros to manipulate bits from segment descriptor and the
set_descriptor() helper are based on the ones described in [1].

[1] http://wiki.osdev.org/GDT_Tutorial
2015-12-21 08:06:14 -02:00
..
gdt.c x86: Initialize Global Descriptor Table 2015-12-21 08:06:14 -02:00
gdt.h x86: Initialize Global Descriptor Table 2015-12-21 08:06:14 -02:00
Makefile.x86 x86: Initialize Global Descriptor Table 2015-12-21 08:06:14 -02:00
mtarch.c x86: Fix missing include warning due to memset usage 2015-12-21 08:06:14 -02:00
mtarch.h A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00