what is the use of drm_os_freebsd.h
Nikolas Britton
nikolas.britton at gmail.com
Sun May 28 10:22:58 PDT 2006
On 5/28/06, william wallace <avalonwallace at gmail.com> wrote:
> thanku sir!
> but why there r so many datat type similar to linux in that group of files?
This is another guess... Probably because DRM is a Linux thing, or at
least got it's start in Linux and then was ported to BSD.... There are
comments in the source code you can read to tell you whats what.
> On 5/28/06, Nikolas Britton <nikolas.britton at gmail.com> wrote:
> > On 5/27/06, william wallace <avalonwallace at gmail.com> wrote:
> > > hi ,all
> > > I am porting something from linux to freebsd ,i found the
> > > DataTypes hard to translate ,then i saw that many types inlinux can be
> > > found in drm_os_freebsd.h,such as
> > > typedef int8_t s8;
> > > typedef int16_t s16;
> > > typedef int32_t s32;
> > > typedef u_int8_t u8;
> > > typedef u_int16_t u16;
> > > typedef u_int32_t u32;
> > >
> > > so ,what is the use of drm_os_freebsd.h
> > > and any advice for me to translate DT from linux to Freebsd?
> > >
> >
> > "The Direct Rendering Manager (DRM) is a device-independent
> > kernel-level device driver that provides support for the XFree86
> > Direct Rendering Infrastructure (DRI)." --src/sys/dev/drm/drm.h
> >
> > I can't find the file your talking about so this is just a guess.
> >
> >
> >
> > --
> > BSD Podcasts @:
> > http://bsdtalk.blogspot.com/
> > http://freebsdforall.blogspot.com/
> >
>
>
> --
> we who r about to die,salute u!
>
--
BSD Podcasts @:
http://bsdtalk.blogspot.com/
http://freebsdforall.blogspot.com/
More information about the freebsd-questions
mailing list