> > I think I missed the part of the discussion that explains how to do
> > mmap'ed I/O without volatile, and a good idea of how to tweak the
>
> By writing leaf functions in assembly?

This is an awful approach.  We have many drivers that
compile unchanged on multiple architectures.  Having to
write them in assembly just because the C compiler is
too clever is just broken.

As I pointed out, we don't have this problem in the
Plan 9 C compilers anyway.  And the people using
smarter-than-thou C compilers like gcc can sprinkle
their code with volatiles.

Russ

Reply via email to