Changeset bdaa948 in examples-v2


Ignore:
Timestamp:
May 5, 2010, 3:29:54 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, examples-v2-4-10-branch, 286403d7a3d0e521179e677c0d2fd7549c9ceab4
Children:
a058e37
Parents:
9b2361a
Message:

2010-05-05 Joel Sherrill <joel.sherrill@…>

  • qemu_vfat/Makefile, qemu_vfat/README, qemu_vfat/init.c: Now includes a start_test example which parses arguments.
  • qemu_vfat/start_test.c: New file.
Location:
misc
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • misc/ChangeLog

    r9b2361a rbdaa948  
     12010-05-05      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * qemu_vfat/Makefile, qemu_vfat/README, qemu_vfat/init.c: Now includes
     4        a start_test example which parses arguments.
     5        * qemu_vfat/start_test.c: New file.
     6
    172010-05-05      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • misc/qemu_vfat/Makefile

    r9b2361a rbdaa948  
    1313
    1414# C source names
    15 CSRCS = init.c
     15CSRCS = init.c start_test.c
    1616COBJS = $(CSRCS:%.c=${ARCH}/%.o)
    1717
  • misc/qemu_vfat/README

    r9b2361a rbdaa948  
    1818the host directory and the RTEMS "main" will use those in
    1919support of the testing.
     20
  • misc/qemu_vfat/init.c

    r9b2361a rbdaa948  
    3131 * See cpukit/libmisc/fsmount for definition of fields
    3232 */
     33#define MOUNT_POINT "/mnt/test"
    3334fstab_t fs_table[] = {
    3435  {
    35     "/dev/hda1", "/mnt/test",
     36    "/dev/hda1", MOUNT_POINT,
    3637    &msdos_ops, RTEMS_FILESYSTEM_READ_WRITE,
    3738    FSMOUNT_MNT_OK | FSMOUNT_MNTPNT_CRTERR | FSMOUNT_MNT_FAILED,
     
    149150#endif
    150151#if defined(USE_START_TEST)
     152  chdir( MOUNT_POINT );
    151153  start_test ();
    152154#endif
Note: See TracChangeset for help on using the changeset viewer.