1. MRUA_src/llad/include/gbus_direct.h
static inline RMuint32 gbus_read_uint32(struct gbus *h, RMuint32 byte_address)
{
    return *((volatile RMuint32 *) UNCACHED(byte_address));
}

2. MRUA_src/llad/include/gbus_syscall.h
static inline RMuint32 gbus_read_uint32(struct gbus *h, RMuint32 byte_address)
{
    RMuint32 rc;

    rc=*((volatile RMuint32 *) (byte_address));

    return rc;
}

3. MRUA_src/llad/direct/kernel_src/kllad.c
static inline unsigned long gbus_read_uint32(struct gbus *h, unsigned long byte_address)
{
    return *((volatile unsigned long *) byte_address);
}

4. MRUA_src/loader/em8600_mem_test.c,em86xx_dram.c,test-stage0.c
static inline RMuint32 gbus_read_uint32(struct gbus *h, RMuint32 byte_address)
{
    return *((volatile RMuint32 *) byte_address);
}



創作者介紹

邱小新の工作筆記

台南小新 發表在 痞客邦 PIXNET 留言(0) 人氣()