#include "local.h"
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <popt.h>
#include <signal.h>
#include <sys/time.h>
Go to the source code of this file.
|
#define | FNAME "/dev/acq32/acq32.1.raw" |
|
#define | HELP |
|
|
int | doRegsTest (volatile unsigned *regs, unsigned *offsets, int nregs) |
|
int | regsTest (void *pmem, const char *argv[]) |
|
int | main (int argc, const char *argv[]) |
|
◆ FNAME
#define FNAME "/dev/acq32/acq32.1.raw" |
◆ HELP
Value: "mmap $Revision: 1.4 $\n" \
"usage: mmap opts\n" \
" -f device name\n" \
" -r read [default]\n" \
" -w write\n" \
" -n nop (just block, holding the mapping)\n" \
" -o offset\n" \
" -l length\n" \
"maps device [ram] space and either\n" \
" reads from ram to stdout\n" \
"-or-writes to ram from stdin\n" \
" -b [-v value] = block fill [default 0xdeadbeef]\n" \
" -T [list of test regs] registers walking bit test\n" \
""
Definition at line 61 of file mmap.c.
◆ doRegsTest()
int doRegsTest |
( |
volatile unsigned * |
regs, |
|
|
unsigned * |
offsets, |
|
|
int |
nregs |
|
) |
| |
◆ main()
int main |
( |
int |
argc, |
|
|
const char * |
argv[] |
|
) |
| |
◆ regsTest()
int regsTest |
( |
void * |
pmem, |
|
|
const char * |
argv[] |
|
) |
| |
◆ acq200_debug
◆ alarm_set
◆ G_fail
◆ G_pass
◆ please_quit