|
From: | Thomas Chust |
Subject: | Re: [Chicken-users] Memory mapped I/O and CHICKEN ports |
Date: | Mon, 06 Dec 2004 11:08:59 +0100 |
User-agent: | Mozilla Thunderbird 0.8 (X11/20040913) |
felix winkelmann wrote:
[...] Effectively, just put a 4-byte (on 32-bit platforms) header at the start of the mmapped region and set it to (C_STRING_TYPE | <length>). [...]
Hello,thank you for the tip -- it works fine in a controlled environment. But I have one more problem: I cannot map the file to a totally arbitrary position in memory (it must be exactly on a page boundary), so how can I get the header bytes directly in front of the mapped file?!?
Ciao, Thomas
[Prev in Thread] | Current Thread | [Next in Thread] |