[include] add readb()/writeb() to reg.h
This commit is contained in:
@@ -38,5 +38,7 @@
|
||||
|
||||
#define writel(v, a) (*REG32(a) = (v))
|
||||
#define readl(a) (*REG32(a))
|
||||
#define writeb(v, a) (*REG8(a) = (v))
|
||||
#define readb(a) (*REG8(a))
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user