32#ifndef __DC_SYSCALLS_H
33#define __DC_SYSCALLS_H
int syscall_misc_setvector(uint32_t super, uintptr_t handler)
Set/Clear a user defined super function.
int syscall_gdrom_check_drive(uint32_t status[2])
Checks the GDROM drive status.
int syscall_gdrom_pio_transfer(uint32_t id, const int32_t params[2])
Initiates a GDROM PIO transfer.
void syscall_system_bios_menu(void) __noreturn
Go to the BIOS menu.
void syscall_gdrom_dma_callback(uintptr_t callback, void *param)
Setup GDROM DMA callback.
uint8_t * syscall_font_address(void)
Gets the romfont address.
uint64_t syscall_sysinfo_id(void)
Reads the ID of the Dreamcast.
int syscall_gdrom_abort_command(uint32_t id)
Abort a queued GDROM command.
int syscall_gdrom_check_command(uint32_t id, int32_t status[4])
Check status of queued command for the GDROM.
void syscall_sysinfo_init(void)
Inits data needed by sysinfo id/icon.
void syscall_gdrom_pio_callback(uintptr_t callback, void *param)
Setup GDROM PIO callback.
uint32_t syscall_gdrom_send_command(uint32_t cmd, void *params)
Send a command to the GDROM command queue.
int syscall_flashrom_write(uint32_t pos, const void *src, size_t n)
Write data to the flashrom.
int syscall_gdrom_dma_check(uint32_t id, size_t *size)
Checks a GDROM DMA transfer.
void syscall_system_cd_menu(void) __noreturn
Exit to CD menu.
int syscall_misc_init(void)
Initializes all the syscall vectors.
void syscall_gdrom_exec_server(void)
Process queued GDROM commands.
void syscall_system_reset(void) __noreturn
Resets the Dreamcast.
int syscall_flashrom_info(uint32_t part, void *info)
Gets info on partition in the flashrom.
void syscall_gdrom_reset(void)
Reset the GDROM drive.
int syscall_gdrom_dma_transfer(uint32_t id, const int32_t params[2])
Initiates a GDROM DMA transfer.
void syscall_font_unlock(void)
Unlocks access to ROM font.
int syscall_gdrom_pio_check(uint32_t id, size_t *size)
Checks a GDROM PIO transfer.
int syscall_sysinfo_icon(uint32_t icon, uint8_t *dest)
Reads an icon from the flashrom.
void syscall_gdrom_init(void)
Initialize the GDROM drive.
int syscall_flashrom_delete(uint32_t pos)
Delete a partition of the flashrom.
int syscall_gdrom_sector_mode(uint32_t mode[4])
Sets/gets the sector mode for read commands.
int syscall_flashrom_read(uint32_t pos, void *dest, size_t n)
Read data from the flashrom.
int syscall_font_lock(void)
Locks access to ROM font.
#define __noreturn
Identify a function that will never return.
Definition cdefs.h:45