blob: 1ee33975278591e3b4531e511be6f5c303f746ed [file] [log] [blame]
#ifndef __HOSTINTF_H
#define __HOSTINTF_H
#include <stdint.h>
#include <atomicBitset.h>
/**
* System-facing hostIntf API
*/
#define MAX_INTERRUPTS 256
void hostIntfRequest(void);
void hostIntfRelease(void);
void hostIntfCopyClearInterrupts(struct AtomicBitset *dst, uint32_t numBits);
void hostIntfSetInterrupt(uint32_t bit);
void hostInfClearInterrupt(uint32_t bit);
void hostIntfSetInterruptMask(uint32_t bit);
void hostInfClearInterruptMask(uint32_t bit);
#endif /* __HOSTINTF_H */