aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/Makefile
Commit message (Expand)AuthorAgeFilesLines
* Add kernel_nconfig make targetLars-Peter Clausen2010-08-061-1/+1
* rework parallel building to get rid of some warnings and add back support for...Felix Fietkau2008-08-161-1/+1
* large improvement for parallel builds. works without V=99 now and without war...Felix Fietkau2008-06-091-2/+3
* major target cleanup. it is now possible to have subtargets that can override...Felix Fietkau2007-09-081-1/+1
* strip the kernel version suffix from target directories, except for brcm-2.4 ...Felix Fietkau2007-09-061-1/+1
* next round of cleanup, convert target/ - make -j works now ;)Felix Fietkau2007-07-301-2/+2
* add kernel_oldconfig targetFelix Fietkau2007-07-161-1/+1
* Rename 'refresh' to 'update' and make the new 'refresh' actually refresh all ...Felix Fietkau2007-06-041-19/+2
* implement quilt handling for the kernel tree ... and there was much rejoicing!Felix Fietkau2007-06-031-0/+3
* make kernel_menuconfig work without target toolchainFelix Fietkau2007-02-161-1/+1
* add top-level kernel_menuconfig target to unpack and reconfigure the kernel -...Felix Fietkau2007-02-161-0/+3
* cleanup/rewrite of the kernel build processFelix Fietkau2006-10-191-1/+0
* finally move buildroot-ng to trunkFelix Fietkau2016-03-201-0/+24
Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#ifndef ASM_NMI_H
#define ASM_NMI_H

#include <public/nmi.h>

struct cpu_user_regs;
 
typedef int (*nmi_callback_t)(struct cpu_user_regs *regs, int cpu);
 
/** 
 * set_nmi_callback
 *
 * Set a handler for an NMI. Only one handler may be
 * set. Return 1 if the NMI was handled.
 */
void set_nmi_callback(nmi_callback_t callback);
 
/** 
 * unset_nmi_callback
 *
 * Remove the handler previously set.
 */
void unset_nmi_callback(void);
 
/**
 * register_guest_nmi_callback
 *
 * The default NMI handler passes the NMI to a guest callback. This
 * function registers the address of that callback.
 */
long register_guest_nmi_callback(unsigned long address);

/**
 * unregister_guest_nmi_callback
 *
 * Unregister a guest NMI handler.
 */
long unregister_guest_nmi_callback(void);

#endif /* ASM_NMI_H */