Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Open Source > Linux
|
Linux General discussion of programming the various flavors of Linux operating systems.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Linux section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 15th, 2006, 08:03 PM
Registered User
 
Join Date: Jun 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Access to phisical addreses from user space

Need acces from user space by phisical addres to gpio ports.

int fd = open("/dev/mem", O_RDWR|O_SYNC);
void *mm = mmap(0, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, phys_addr);

It dosn't work Do you have an idea why or may be another idea?






Similar Threads
Thread Thread Starter Forum Replies Last Post
Space in my database table Access cannielynn0312 ASP.NET 1.0 and 1.1 Basics 4 December 27th, 2007 06:02 AM
Multiple user access to Access thutt Access 6 December 21st, 2005 10:23 PM
User Access mattastic SQL Server 2000 1 July 6th, 2005 08:24 AM
column name with space in access nkramanmca Access 1 January 24th, 2005 04:13 AM
User Access mattastic SQL Server 2000 1 October 1st, 2004 05:41 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.