#include "service/logging.h"
#include "nul/program.h"
#include "nul/motherboard.h"
#include "sigma0/console.h"
#include "sigma0/sigma0.h"
#include "host/dma.h"
Functions | |
PARAM (blocksize, blocksize=argv[0];if(blocksize > sizeof(disk_buffer)){blocksize=sizeof(disk_buffer);Logging::printf("limited the blocksize to %ld\n", blocksize);},"blocksize:value - override the default blocksize","Example: 'blocksize:65536'") PARAM(outstanding | |
if (outstanding > DISKS_SIZE) | |
Variables | |
char | disk_buffer [4<< 20] |
unsigned long | blocksize = 512 |
unsigned | outstanding = 5 |
set the number of outstanding | requests |
set the number of outstanding | Example |
if | ( | outstanding | , | |
DISKS_SIZE | ||||
) |
PARAM | ( | blocksize | ) |
unsigned long blocksize = 512 |
char disk_buffer[4<< 20] |
set the number of outstanding Example |
outstanding = 5 |
set the number of outstanding requests |