Source-Changes-D archive

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

Re: CVS commit: src/sys/arch/sandpoint/stand/altboot



On Sun, Oct 30, 2011 at 09:08:33PM +0000, Frank Wille wrote:
> Module Name:  src
> Committed By: phx
> Date:         Sun Oct 30 21:08:33 UTC 2011
> 
> Modified Files:
>       src/sys/arch/sandpoint/stand/altboot: brdsetup.c dsk.c entry.S fxp.c
>           globals.h nvt.c rge.c skg.c stg.c vge.c
> 
> Log Message:
> Added in8() and out8() to access a byte with reorder-protection.
> Use it in all drivers instead of (volatile uint8_t *).

This isn't really an ideal solution, I've have to fight membar
instructions embedded into byteswapping accesses on ppc linux.
Drivers may want to do several accesses that can be reordered
before/after one that matters - so need greater control than
enforcing specific membars.

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index