mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-29 20:04:49 +01:00
- Add vm_locking.h and vm_reservation.h and move relevant functions and types to these headers. - Change include order and make vm_ptr.h, vm_var.h and vm_ref.h headers usable invidually and them including vm.h instead of other way around - Because usage of vm::ptr now requires including vm_ptr.h instead of vm.h updated multiple #includes - Added additional #includes to vm_reservation.h and vm_locking to where vm::reservation_* and locking related functions are used
14 lines
270 B
C
14 lines
270 B
C
#pragma once
|
|
|
|
#include "Emu/Memory/vm_ptr.h"
|
|
|
|
enum : u64
|
|
{
|
|
SYS_GPIO_UNKNOWN_DEVICE_ID,
|
|
SYS_GPIO_LED_DEVICE_ID,
|
|
SYS_GPIO_DIP_SWITCH_DEVICE_ID,
|
|
};
|
|
|
|
error_code sys_gpio_get(u64 device_id, vm::ptr<u64> value);
|
|
error_code sys_gpio_set(u64 device_id, u64 mask, u64 value);
|