mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-05 12:26:33 +01:00
28 lines
564 B
C++
28 lines
564 B
C++
// Copyright 2008 Dolphin Emulator Project
|
|
// Copyright 2004 Duddie & Tratax
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include "Common/CommonTypes.h"
|
|
|
|
namespace DSP
|
|
{
|
|
enum Mailbox
|
|
{
|
|
MAILBOX_CPU,
|
|
MAILBOX_DSP
|
|
};
|
|
|
|
u32 gdsp_mbox_peek(Mailbox mbx);
|
|
void gdsp_mbox_write_h(Mailbox mbx, u16 val);
|
|
void gdsp_mbox_write_l(Mailbox mbx, u16 val);
|
|
u16 gdsp_mbox_read_h(Mailbox mbx);
|
|
u16 gdsp_mbox_read_l(Mailbox mbx);
|
|
|
|
void gdsp_ifx_init();
|
|
void gdsp_ifx_write(u32 addr, u32 val);
|
|
u16 gdsp_ifx_read(u16 addr);
|
|
} // namespace DSP
|