RTEMS 7.0-rc1
Loading...
Searching...
No Matches
smc.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */
2
11/*
12 * Copyright (C) 2005 Philippe Simons <loki_666@fastmail.fm>
13 *
14 * The license and distribution terms for this file may be
15 * found in the file LICENSE in this distribution or at
16 * http://www.rtems.org/license/LICENSE.
17 */
18
19#ifndef __SMC_H__
20#define __SMC_H__
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26#include <rtems.h>
27
28#include "rtems/blkdev.h"
29
45 void *arg);
46
47#define SMC_DRIVER_TABLE_ENTRY \
48 { smc_initialize, GENERIC_BLOCK_DEVICE_DRIVER_ENTRIES }
49
52#ifdef __cplusplus
53}
54#endif
55
56#endif
Block Device Management.
uint32_t rtems_device_major_number
This integer type represents the major number of devices.
Definition: io.h:103
uint32_t rtems_device_minor_number
This integer type represents the minor number of devices.
Definition: io.h:115
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition: status.h:85
rtems_device_driver smc_initialize(rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
smc_initialize SMC disk driver initialization entry point.
Definition: smc.c:402
This header file defines the RTEMS Classic API.