[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: parse error before "u32"

> -----Original Message-----
> From: owner-dev-etrax@xxxxxxx.com]On">mailto:owner-dev-etrax@xxxxxxx.com]On
> Behalf Of Stefan Olsson
> Sent: dinsdag 27 januari 2004 20:23
> To: dev-etrax@xxxxxxx.com
> Subject: parse error before "u32"
> The code is as simple as it gets...
> int main( int argc, char *argv[] )
> {
>   *R_PAR0_CONFIG = 0x00000060;  // Initialise manual mode

These register addresses are not mapped into userspace memory.
They can be written to from kernelspace only, so you'll have
to write a kernel driver to do this.
(or look for an existing one that does what you want)