|
Nugget
|
#include "openbios/cdrom/statemachine.h"#include <stdatomic.h>#include "common/hardware/cdrom.h"#include "common/hardware/dma.h"#include "common/hardware/irq.h"#include "common/syscalls/syscalls.h"#include "openbios/cdrom/events.h"
Enumerations | |
| enum | CDRomState { GETSTATUS = 0x0001 , SETMODE = 0x000e , SEEKL = 0x0015 , SEEKP = 0x0016 , SEEKL_SETLOC = 0x00f2 , READN = 0x00f6 , READS = 0x00fb , READ_SETMODE = 0x00fe , INITIALIZING = 0x0ccc , GOT_ERROR_AND_REINIT = 0x0ddd , PAUSING = 0x0fff , IDLE = 0xffff } |
Functions | |
| int | __attribute__ ((section(".ramtext"))) |
| void | getLastCDRomError (uint8_t *err1, uint8_t *err2) |
| int | setCDRomIRQAutoAck (enum AutoAckType type, int value) |
| void | enqueueCDRomHandlers () |
| void | dequeueCDRomHandlers () |
Variables | |
| uint8_t | s_audioResp [8] |
| volatile uint32_t | __vector_00 |
| enum CDRomState |
| int __attribute__ | ( | (section(".ramtext")) | ) |
| void dequeueCDRomHandlers | ( | ) |
| void enqueueCDRomHandlers | ( | ) |
| void getLastCDRomError | ( | uint8_t * | err1, |
| uint8_t * | err2 | ||
| ) |
| int setCDRomIRQAutoAck | ( | enum AutoAckType | type, |
| int | value | ||
| ) |
| uint8_t s_audioResp[8] |