nckernel  0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
x86_util.c File Reference
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#include <stdio.h>
#include <stdarg.h>
#include <errno.h>
#include <object.h>
#include <list.h>
#include <thread.h>
#include <isr.h>
#include <x86_util.h>
Include dependency graph for x86_util.c:

Go to the source code of this file.

Functions

int x86_util_get_ring (struct thread *tcb)
 

Function Documentation

int x86_util_get_ring ( struct thread tcb)

Definition at line 14 of file x86_util.c.

References pt_regs::cs, EINVAL, and thread::esp.

Referenced by pthread_cancel().

Here is the caller graph for this function: