Nut/OS  5.0.5
API Reference
context_gcc.c File Reference

Context switching ported to AVR GCC. More...

#include <cfg/os.h>
#include <cfg/memory.h>
#include <string.h>
#include <sys/atom.h>
#include <sys/heap.h>
#include <sys/thread.h>
#include <dev/irqstack.h>
#include <sys/osdebug.h>
Include dependency graph for context_gcc.c:

Data Structures

struct  SWITCHFRAME
 ARM7TDMI GCC context switch frame layout. More...
struct  ENTERFRAME
 Thread entry frame layout. More...

Defines

#define LONG_PTR_P(lp, mem_p)

Functions

void NutThreadSwitch (void)
 Switch to another thread.
HANDLE NutThreadCreate (char *name, void(*fn)(void *), void *arg, size_t stackSize)
 Create a new thread.

Detailed Description

Context switching ported to AVR GCC.

File version $Id: context_gcc.c 4477 2012-08-20 17:50:01Z haraldkipp $