Skip to content

Commit

Permalink
ref(core/remio): renamed remote I/O CPU msg handler
Browse files Browse the repository at this point in the history
Signed-off-by: João Peixoto <[email protected]>
  • Loading branch information
joaopeixoto13 committed Nov 2, 2024
1 parent 20ca7c7 commit 6a55d0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/remio.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@ struct list remio_device_list;
* @param event Message event (REMIO_CPU_MSG_*)
* @param data Remote I/O CPU message data (remio_cpu_msg_data)
*/
static void remio_cpu_handler(uint32_t event, uint64_t data);
static void remio_cpu_msg_handler(uint32_t event, uint64_t data);

/** Associate the Remote I/O CPU message handler with a new Remote I/O CPU message ID */
CPU_MSG_HANDLER(remio_cpu_handler, REMIO_CPUMSG_ID)
CPU_MSG_HANDLER(remio_cpu_msg_handler, REMIO_CPUMSG_ID)

/** Object pool to allocate Remote I/O devices */
OBJPOOL_ALLOC(remio_device_pool, struct remio_device,
Expand Down Expand Up @@ -706,7 +706,7 @@ bool remio_mmio_emul_handler(struct emul_access* acc)
return true;
}

static void remio_cpu_handler(uint32_t event, uint64_t data)
static void remio_cpu_msg_handler(uint32_t event, uint64_t data)
{
union remio_cpu_msg_data msg = { .raw = data };
switch (event) {
Expand Down

0 comments on commit 6a55d0e

Please sign in to comment.