From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost.localdomain (85-21-157-103.broadband.corbina.ru [85.21.157.103]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id F35EC68962 for ; Mon, 9 Jan 2006 05:57:18 +1100 (EST) Message-ID: <43BDB19F.1020302@ru.mvista.com> Date: Fri, 06 Jan 2006 02:54:07 +0300 From: Andrei Konovalov MIME-Version: 1.0 To: mcnernbm@notes.udayton.edu References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: linuxppc-embedded@ozlabs.org Subject: Re: io.h question List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Brett, Is your program a kernel module? asm/io.h is for kernel only (everything is inside #ifdef __KERNEL__ ... #endif) Probably you build the module incorrectly so that __KERNEL__ is not defined. If this is the case you may want to check the LDD book, chapter 2 "Building and Running Modules". Thanks, Andrei mcnernbm@notes.udayton.edu wrote: > I finally noticed out_8 and in_8 and what not are located in the ppc > io.h file in the kernel development download. But when I tried to do a > io.h with in my program I added #include and it seems to > find it with not problems but it can not find the functions with in that > file. Am i missing a define I need to set or something so I can see the > right files with in io.h I am compiling for a ppc405 on a xilinx virtex > 4 board. > Thanks > Brett > > > ------------------------------------------------------------------------ > > _______________________________________________ > Linuxppc-embedded mailing list > Linuxppc-embedded@ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-embedded