To: | |
---|---|
Subject: | Re: [ts-7000] about address pins on pc/104 |
From: | "Rich Wilson" <> |
Date: | Tue, 6 Feb 2007 13:45:59 -0800 |
When you do the mmap, the pointer returned corresponds to the first address of the area you mapped. For example, if you map the 8-bit I/O register space using mmap, and if cp is the value returned, then *cp references address 0 of I/O space on the PC104 bus. *(cp+2) accesses address 2 on the PC104 bus, etc. If you map the entire 1 MByte in the mmap call, then you may reference *(cp+x), where x can be up to 1 MByte. Rich On 2/5/07,
HOSAM YOUSIF <> wrote:
|
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | Re: [ts-7000] Re: Wrong bootcode, Curtis Monroe |
---|---|
Next by Date: | Re: [ts-7000] please help : very strange bug, Joe Bouchard |
Previous by Thread: | [ts-7000] Re: about address pins on pc/104, ahmed_emad_eldean |
Next by Thread: | [ts-7000] Com2 Problem TS-7250, cspin_2001 |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU