Pip
Architecture-dependent parts of Pip: MAL, IAL and boot
Macros | Functions
ial.c File Reference
#include <stdint.h>
#include "context.h"
#include "Internal.h"
#include "periph.h"
#include "debug.h"
#include "mal.h"
#include "Services.h"

Macros

#define LOG2(x)   ((sizeof(uint32_t) << 3) - __builtin_clz(x) - 1)
 
#define DOUBLE_FAULT_LEVEL   8
 

Functions

void propagateFault (page callerPartDesc, page callerPageDir, unsigned targetInterrupt, unsigned callerContextSaveIndex, unsigned nbL, interruptMask flagsOnYield, interruptMask flagsOnWake, user_ctx_t *callerInterruptedContext)
 
void __attribute__ ((noreturn))
 

Macro Definition Documentation

◆ DOUBLE_FAULT_LEVEL

#define DOUBLE_FAULT_LEVEL   8

◆ LOG2

#define LOG2 (   x)    ((sizeof(uint32_t) << 3) - __builtin_clz(x) - 1)

Function Documentation

◆ __attribute__()

void __attribute__ ( (noreturn)  )

◆ propagateFault()

void propagateFault ( page  callerPartDesc,
page  callerPageDir,
unsigned  targetInterrupt,
unsigned  callerContextSaveIndex,
unsigned  nbL,
interruptMask  flagsOnYield,
interruptMask  flagsOnWake,
user_ctx_t callerInterruptedContext 
)