dslinux/linux-2.6.x/arch/arm/lib uaccess.S

Amadeus amadeus at iksw-muees.de
Thu Aug 17 13:21:45 CEST 2006


Malcolm,

On Thursday 17 August 2006 12:15, Malcolm wrote:
> On 8/17/06, amadeus <dslinux_amadeus at user.in-berlin.de> wrote:
> > +#ifdef CONFIG_NDS_ROM8BIT
> > +               swpb    r3, r3, [r0]
> > +               add     r0, r0, #1
> > +#else
> >  USER(          strbt   r3, [r0], #1)                   @ May fault
> > +#endif
>
> Are you deliberately removing the USER() ?

A swpbt instruction is not available, so what should I do here?

Omitting the "t" gives me the same level of protection as a CPU without 
protection unit here.

regards
Amadeus
-- 
We're back to the times when men were men 
and wrote their own device drivers.

(Linus Torvalds)



More information about the dslinux-devel mailing list