mirror of
https://github.com/drasko/codezero.git
synced 2026-01-14 20:03:16 +01:00
Preliminary irq registration call + irq capability checking
Need to add irqctrl capabilities and irq bits to device memory caps. Also need to initialize irq field of devmem caps.
This commit is contained in:
@@ -89,8 +89,9 @@ struct capability {
|
||||
/* Use count of resource */
|
||||
unsigned long used;
|
||||
|
||||
/* User attributes on capability such as device type, irqno */
|
||||
u32 uattr[2];
|
||||
/* Device attributes, if this is a device. */
|
||||
unsigned int attr;
|
||||
l4id_t irq;
|
||||
};
|
||||
|
||||
#endif /* __API_CAPABILITY_H__ */
|
||||
|
||||
@@ -139,5 +139,6 @@
|
||||
#define EACTIVE 132 /* Task active */
|
||||
#define ENOIPC 133 /* General IPC error */
|
||||
#define ENOCAP 134 /* None or insufficient capability */
|
||||
#define ENOUTCB 135 /* Task has no utcb set up */
|
||||
|
||||
#endif /* __ERRNO_H__ */
|
||||
|
||||
Reference in New Issue
Block a user