[ Home | Forums | About | Sponsors ]
  Welcome, Guest. Please Login or Register
Google
 
Web gotmono.com
  Web Hosting is sponsored by dotcanuck Web Services
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
(Read 461 times)
ERobishaw
YaBB Newbies
*
Offline

I love YaBB 1G - SP1!

Posts: 1

mmap in mono
Aug 8th, 2008, 11:33pm
 
Trying to convert a Linux C project over to C#.

Any idea how to accomplish the following:
Code:

int fd = open("/dev/mem", O_RDWR|O_SYNC);

iostart = mmap(0, getpagesize(), PROT_READ|PROT_WRITE, MAP_SHARED, fd, DIOBASE);


in particular:
opening a device via open();
mapping memory address (DIOBASE) using mmap()
and getpagesize()

Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print
 

Copyright © 2003-2008, The Mono Community
Website Design donated by IdeaZone.ca