diff options
author | Vijay Kumar Banerjee <vijaykumar9597@gmail.com> | 2019-08-04 01:49:43 +0530 |
---|---|---|
committer | Christian Mauderer <oss@c-mauderer.de> | 2019-08-11 15:57:54 +0200 |
commit | d7c01f45691d4289c5b8d5cafe9e2776b03731ea (patch) | |
tree | 1af44bf7d6cfce60ed3605c20d5d86b4500379c4 /rtemsbsd/include/rtems/bsd | |
parent | fbd: Import from FreeBSD (diff) | |
download | rtems-libbsd-d7c01f45691d4289c5b8d5cafe9e2776b03731ea.tar.bz2 |
fbd: Port to RTEMS
Diffstat (limited to 'rtemsbsd/include/rtems/bsd')
-rw-r--r-- | rtemsbsd/include/rtems/bsd/local/fb_if.h | 45 | ||||
-rw-r--r-- | rtemsbsd/include/rtems/bsd/local/opt_fb.h | 0 | ||||
-rw-r--r-- | rtemsbsd/include/rtems/bsd/local/opt_splash.h | 0 | ||||
-rw-r--r-- | rtemsbsd/include/rtems/bsd/local/opt_syscons.h | 0 | ||||
-rw-r--r-- | rtemsbsd/include/rtems/bsd/local/opt_teken.h | 0 |
5 files changed, 45 insertions, 0 deletions
diff --git a/rtemsbsd/include/rtems/bsd/local/fb_if.h b/rtemsbsd/include/rtems/bsd/local/fb_if.h new file mode 100644 index 00000000..29d2b66a --- /dev/null +++ b/rtemsbsd/include/rtems/bsd/local/fb_if.h @@ -0,0 +1,45 @@ +/* + * This file is produced automatically. + * Do not modify anything in here by hand. + * + * Created from source file + * freebsd-org/sys/dev/fb/fb_if.m + * with + * makeobjops.awk + * + * See the source file for legal information + */ + + +#ifndef _fb_if_h_ +#define _fb_if_h_ + +/** @brief Unique descriptor for the FB_PIN_MAX() method */ +extern struct kobjop_desc fb_pin_max_desc; +/** @brief A function implementing the FB_PIN_MAX() method */ +typedef int fb_pin_max_t(device_t dev, int *npins); + +static __inline int FB_PIN_MAX(device_t dev, int *npins) +{ + kobjop_t _m; + int rc; + KOBJOPLOOKUP(((kobj_t)dev)->ops,fb_pin_max); + rc = ((fb_pin_max_t *) _m)(dev, npins); + return (rc); +} + +/** @brief Unique descriptor for the FB_GETINFO() method */ +extern struct kobjop_desc fb_getinfo_desc; +/** @brief A function implementing the FB_GETINFO() method */ +typedef struct fb_info * fb_getinfo_t(device_t dev); + +static __inline struct fb_info * FB_GETINFO(device_t dev) +{ + kobjop_t _m; + struct fb_info * rc; + KOBJOPLOOKUP(((kobj_t)dev)->ops,fb_getinfo); + rc = ((fb_getinfo_t *) _m)(dev); + return (rc); +} + +#endif /* _fb_if_h_ */ diff --git a/rtemsbsd/include/rtems/bsd/local/opt_fb.h b/rtemsbsd/include/rtems/bsd/local/opt_fb.h new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/rtemsbsd/include/rtems/bsd/local/opt_fb.h diff --git a/rtemsbsd/include/rtems/bsd/local/opt_splash.h b/rtemsbsd/include/rtems/bsd/local/opt_splash.h new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/rtemsbsd/include/rtems/bsd/local/opt_splash.h diff --git a/rtemsbsd/include/rtems/bsd/local/opt_syscons.h b/rtemsbsd/include/rtems/bsd/local/opt_syscons.h new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/rtemsbsd/include/rtems/bsd/local/opt_syscons.h diff --git a/rtemsbsd/include/rtems/bsd/local/opt_teken.h b/rtemsbsd/include/rtems/bsd/local/opt_teken.h new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/rtemsbsd/include/rtems/bsd/local/opt_teken.h |