Rev 1292 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1292 | Rev 1702 | ||
|---|---|---|---|
| Line 25... | Line 25... | ||
| 25 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 27 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 28 | */ |
28 | */ |
| 29 | 29 | ||
| - | 30 | /** @addtogroup amd64 |
|
| - | 31 | * @{ |
|
| - | 32 | */ |
|
| - | 33 | /** @file |
|
| - | 34 | */ |
|
| - | 35 | ||
| 30 | #include <arch/pm.h> |
36 | #include <arch/pm.h> |
| 31 | #include <arch/mm/page.h> |
37 | #include <arch/mm/page.h> |
| 32 | #include <arch/types.h> |
38 | #include <arch/types.h> |
| 33 | #include <arch/interrupt.h> |
39 | #include <arch/interrupt.h> |
| 34 | #include <arch/asm.h> |
40 | #include <arch/asm.h> |
| Line 231... | Line 237... | ||
| 231 | * As of this moment, the current CPU has its own GDT pointing |
237 | * As of this moment, the current CPU has its own GDT pointing |
| 232 | * to its own TSS. We just need to load the TR register. |
238 | * to its own TSS. We just need to load the TR register. |
| 233 | */ |
239 | */ |
| 234 | tr_load(gdtselector(TSS_DES)); |
240 | tr_load(gdtselector(TSS_DES)); |
| 235 | } |
241 | } |
| - | 242 | ||
| - | 243 | /** @} |
|
| - | 244 | */ |
|
| - | 245 | ||