CS318 - Pintos
Pintos source browser for JHU CS318 course
Functions
tss.h File Reference
#include <stdint.h>
Include dependency graph for tss.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void tss_init (void)
 Initializes the kernel TSS. More...
 
struct tsstss_get (void)
 Returns the kernel TSS. More...
 
void tss_update (void)
 userprog/tss.h More...
 

Function Documentation

◆ tss_get()

struct tss* tss_get ( void  )

Returns the kernel TSS.

Definition at line 93 of file tss.c.

References ASSERT, NULL, and tss.

Referenced by gdt_init().

Here is the caller graph for this function:

◆ tss_init()

void tss_init ( void  )

Initializes the kernel TSS.

Definition at line 80 of file tss.c.

References tss::bitmap, PAL_ASSERT, PAL_ZERO, palloc_get_page(), SEL_KDSEG, tss::ss0, and tss_update().

Referenced by pintos_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tss_update()

void tss_update ( void  )

userprog/tss.h

userprog/tss.h

Definition at line 102 of file tss.c.

References ASSERT, tss::esp0, NULL, PGSIZE, and thread_current().

Referenced by process_activate(), and tss_init().

Here is the call graph for this function:
Here is the caller graph for this function: