mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-19 00:03:52 +08:00
fbd: Port to RTEMS
This commit is contained in:

committed by
Christian Mauderer

parent
fa976bc5aa
commit
d7c01f4569
45
rtemsbsd/include/rtems/bsd/local/fb_if.h
Normal file
45
rtemsbsd/include/rtems/bsd/local/fb_if.h
Normal file
@@ -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_ */
|
0
rtemsbsd/include/rtems/bsd/local/opt_fb.h
Normal file
0
rtemsbsd/include/rtems/bsd/local/opt_fb.h
Normal file
0
rtemsbsd/include/rtems/bsd/local/opt_splash.h
Normal file
0
rtemsbsd/include/rtems/bsd/local/opt_splash.h
Normal file
0
rtemsbsd/include/rtems/bsd/local/opt_syscons.h
Normal file
0
rtemsbsd/include/rtems/bsd/local/opt_syscons.h
Normal file
0
rtemsbsd/include/rtems/bsd/local/opt_teken.h
Normal file
0
rtemsbsd/include/rtems/bsd/local/opt_teken.h
Normal file
Reference in New Issue
Block a user