|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
#include <stdio.h>#include <errno.h>#include <string.h>#include <stdlib.h>#include <stdint.h>#include <stdbool.h>#include <time.h>#include <dc/sd.h>#include <dc/maple.h>#include <dc/maple/controller.h>#include <kos/init.h>#include <kos/dbgio.h>#include <kos/dbglog.h>#include <kos/blockdev.h>Macros | |
| #define | TEST_BLOCK_COUNT 1024 |
Functions | |
| KOS_INIT_FLAGS (INIT_DEFAULT) | |
| static void | wait_exit (void) |
| static int | run_speed_test (sd_interface_t interface, bool check_crc) |
| int | main (int argc, char *argv[]) |
Variables | |
| static uint8_t | tbuf [TEST_BLOCK_COUNT *512] |
| #define TEST_BLOCK_COUNT 1024 |
Referenced by run_speed_test().
| KOS_INIT_FLAGS | ( | INIT_DEFAULT | ) |
| int main | ( | int | argc, |
| char * | argv[] ) |
References DBG_INFO, dbglog, run_speed_test(), SD_IF_SCI, SD_IF_SCIF, and wait_exit().
|
static |
References begin, DBG_ERROR, DBG_INFO, dbglog, end, params, kos_blockdev_t::read_blocks, sd_blockdev_for_partition(), sd_dev, SD_IF_SCI, sd_shutdown(), tbuf, and TEST_BLOCK_COUNT.
Referenced by main().
|
static |
References cont_state_t::buttons, maple_dev_status(), maple_enum_type(), MAPLE_FUNC_CONTROLLER, and printf.
Referenced by main().
|
static |
Referenced by pspeak(), and run_speed_test().