:    if( psz_cache )
:    {
:        uint8_t p_sector[DVDCSS_BLOCK_SIZE];
:...
:       i_ret = dvdcss->pf_read( dvdcss, p_sector, 1 );
:    }
:
:       Can leave p_sector not aligned suitably for DMA in gcc-4 ? (pf_read
:winds up calling read on the DVD device with p_sector as the buffer).

    It's a roll of dice, really.  Neither gcc-3 nor gcc-4 guarantee any
    sort of alignment for a char array, and our kernel's physio() doesn't 
    realign the data.

    Well, I guess since nobody has bitten on fixing physio() I'll have to
    do it myself :-).  I'll do it today.

                                        -Matt
                                        Matthew Dillon 
                                        <[EMAIL PROTECTED]>

Reply via email to