mirror of
https://github.com/drasko/codezero.git
synced 2026-02-25 08:13:14 +01:00
Reverted all changes - userspace devices mapped at initialization.
This is much simpler, no device map/unmap maintenance at run-time, no lazy device mapping etc.
This commit is contained in:
@@ -73,6 +73,8 @@
|
||||
#define MR0_REGISTER r3
|
||||
#define MR_RETURN_REGISTER r3
|
||||
|
||||
#define TASK_NOTIFY_MAX 8
|
||||
|
||||
/* Primaries aren't used for memcopy. Those ops use this as a parameter */
|
||||
#define L4_UTCB_FULL_BUFFER_SIZE (MR_REST * sizeof(int))
|
||||
|
||||
@@ -83,7 +85,7 @@ struct utcb {
|
||||
u32 mr[MR_TOTAL]; /* MRs that are mapped to real registers */
|
||||
u32 saved_tag; /* Saved tag field for stacked ipcs */
|
||||
u32 saved_sender; /* Saved sender field for stacked ipcs */
|
||||
u8 notify_slot[8]; /* Irq notification slots */
|
||||
u8 notify[TASK_NOTIFY_MAX]; /* Irq notification slots */
|
||||
u32 mr_rest[MR_REST]; /* Complete the utcb for up to 64 words */
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user