Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

/* $NetBSD: trap.h,v 1.1 2018/07/28 20:26:13 reinoud Exp $ */

/*
 * Handcrafted redirect to prevent problems with i386 and x86_64 sharing x86
 */
#ifndef _USERMODE_TRAP_H
#define _USERMODE_TRAP_H

#if defined(__i386__)
#include "../../x86/include/trap.h"
#elif defined(__x86_64__)
#include "../../x86/include/trap.h"
#elif defined(__arm__)
#include "../../arm/include/trap.h"
#else
#error port me
#endif

#endif