Commit 5546caf5 authored by Michael Quigley's avatar Michael Quigley
Browse files

changed awe-mapper to map based on per thread state.

parent 05f39972
......@@ -90,6 +90,14 @@ static int wait_for_rx_slot(struct ipc_message *imsg)
struct task_struct * attach_channels_to_thread(struct ttd_ring_channel_group *chan_arr,
int CPU_PIN,
int (*threadfn)(void *data))
struct task_struct *attach_thread_to_channel(struct ttd_ring_channel *chan,
int CPU_PIN,
......@@ -37,6 +37,13 @@ struct ttd_ring_channel {
uint8_t padding[56]; /* pad the struct to cacheline size */
typedef struct ttd_ring_channel_group
struct ttd_ring_channel **chans;
int chans_length;
struct task_struct *thread;
} ttd_ring_channel_group_t;
static inline void ttd_ring_channel_init(struct ttd_ring_channel *ring_channel)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment