From owner-freebsd-questions@FreeBSD.ORG Sun May 28 17:22:50 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E4FF16C7A5 for ; Sun, 28 May 2006 17:22:50 +0000 (UTC) (envelope-from nikolas.britton@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2DA443D58 for ; Sun, 28 May 2006 17:22:47 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by nz-out-0102.google.com with SMTP id m7so391946nzf for ; Sun, 28 May 2006 10:22:46 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mVguxlT6ZCwf5gtXK51anJyLSk7AdxQ+/QszR+kvdS0BxnUtwwV5SEzSsSfpoFeOR2K1D2Yu+XVLgmzfsC4FKbVe3DERTSSNEmKnBRU2KjOV9MHXgJ1Mk4pwEMKBLYHvfPpJAgkLulOee/Y4G2Wk3Z6Re6cBQt6OlFIoWKhchgg= Received: by 10.36.103.8 with SMTP id a8mr1992314nzc; Sun, 28 May 2006 10:22:46 -0700 (PDT) Received: by 10.36.104.17 with HTTP; Sun, 28 May 2006 10:22:46 -0700 (PDT) Message-ID: Date: Sun, 28 May 2006 12:22:46 -0500 From: "Nikolas Britton" To: "william wallace" In-Reply-To: <87ab37ab0605280440t4b40f716xa78d47b7983e52ad@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <87ab37ab0605272028o54e0a2c9x65cc69ffc6c0e3af@mail.gmail.com> <87ab37ab0605280440t4b40f716xa78d47b7983e52ad@mail.gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: what is the use of drm_os_freebsd.h X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 May 2006 17:22:58 -0000 On 5/28/06, william wallace 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 wrote: > > On 5/27/06, william wallace 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/