litex/software/include/hw/common.h

11 lines
157 B
C
Raw Normal View History

#ifndef __HW_COMMON_H
#define __HW_COMMON_H
#ifdef __ASSEMBLER__
#define MMPTR(x) x
#else
#define MMPTR(x) (*((volatile unsigned int *)(x)))
#endif
#endif