diff options
author | Alec Murphy <alec@checksum.fail> | 2021-07-08 10:40:23 -0400 |
---|---|---|
committer | Alec Murphy <alec@checksum.fail> | 2021-07-08 10:40:23 -0400 |
commit | 0da64c28edcc27455408b7948abd5c3bd722cd37 (patch) | |
tree | 27d9a9913f381be5e9f2143a5c51913b379c03ce | |
parent | ada7ba92593a533c4ee0b67876a86ebb012a8606 (diff) |
Libraries/Ipc: Allocate a task's IpcMessage Queue in 32 bit address space
-rw-r--r-- | Boot/Libraries/Ipc.HC | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Boot/Libraries/Ipc.HC b/Boot/Libraries/Ipc.HC index e13087f..b381b64 100644 --- a/Boot/Libraries/Ipc.HC +++ b/Boot/Libraries/Ipc.HC @@ -1,4 +1,4 @@ -#define ipc user_data +#define ipc user_data.u32[0] #define IPC_QUEUE_SIZE 1024 #define IPC_ENQUEUE_LIMIT 16 @@ -18,7 +18,7 @@ class @ipc { U0 @ipc_queue_init(CTask *task) { // Initialize a task's IpcMessage Queue MemSetU32(task->pad, 0, 1); if (!task->ipc) { - task->ipc = FifoI64New(IPC_QUEUE_SIZE); + task->ipc = FifoI64New(IPC_QUEUE_SIZE, task->code_heap); } } |