forked from Qortal/Brooklyn
* 0day explit mitigation * Memory corruption prevention * Privilege escalation prevention * Buffer over flow prevention * File System corruption defense * Thread escape prevention This may very well be the most intensive inclusion to BrooklynR. This will not be part of an x86 suite nor it will be released as tool kit. The security core toolkit will remain part of kernel base.
28 lines
442 B
C
28 lines
442 B
C
#ifndef _PXA_DMA_H_
|
|
#define _PXA_DMA_H_
|
|
|
|
enum pxad_chan_prio {
|
|
PXAD_PRIO_HIGHEST = 0,
|
|
PXAD_PRIO_NORMAL,
|
|
PXAD_PRIO_LOW,
|
|
PXAD_PRIO_LOWEST,
|
|
};
|
|
|
|
struct pxad_param {
|
|
unsigned int drcmr;
|
|
enum pxad_chan_prio prio;
|
|
};
|
|
|
|
struct dma_chan;
|
|
|
|
#ifdef CONFIG_PXA_DMA
|
|
bool pxad_filter_fn(struct dma_chan *chan, void *param);
|
|
#else
|
|
static inline bool pxad_filter_fn(struct dma_chan *chan, void *param)
|
|
{
|
|
return false;
|
|
}
|
|
#endif
|
|
|
|
#endif /* _PXA_DMA_H_ */
|