Ignore:
Timestamp:
Jul 30, 2018, 4:39:09 AM (17 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
16f3f10
Parents:
d56e68b
git-author:
Sebastian Huber <sebastian.huber@…> (07/30/18 04:39:09)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/07/18 05:17:16)
Message:

ramdisk: Use rtems_blkdev_create()

Update #3358.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/libtests/block01/init.c

    rd56e68b r24b94c4  
    88
    99/*
    10  * Copyright (c) 2009-2012 embedded brains GmbH.  All rights reserved.
     10 * Copyright (c) 2009, 2018 embedded brains GmbH.  All rights reserved.
    1111 *
    1212 *  embedded brains GmbH
    13  *  Obere Lagerstr. 30
     13 *  Dornierstr. 4
    1414 *  82178 Puchheim
    1515 *  Germany
     
    3636const char rtems_test_name[] = "BLOCK 1";
    3737
    38 /* forward declarations to avoid warnings */
    39 static rtems_task Init(rtems_task_argument argument);
    40 
    4138#define ASSERT_SC(sc) rtems_test_assert((sc) == RTEMS_SUCCESSFUL)
    4239
     
    4643
    4744#define BLOCK_COUNT 16U
     45
     46static const rtems_driver_address_table ramdisk_ops = {
     47  .initialization_entry = NULL,
     48  RTEMS_GENERIC_BLOCK_DEVICE_DRIVER_ENTRIES
     49};
    4850
    4951static void test_block_io_control_api(dev_t dev, ramdisk *rd)
Note: See TracChangeset for help on using the changeset viewer.