fw-api: Add 6490 R52 HW header file changes
Add 6490 R52 HW header file changes. Change-Id: Iceac787a5905823fb01eaf3531f187406424ef33 CRs-Fixed: 2513249
This commit is contained in:

committed by
nshrivas

parent
e2028b05ad
commit
94cf30005c
@@ -113,11 +113,12 @@ SIDE EFFECTS
|
||||
** macroized to access memory directly
|
||||
*/
|
||||
|
||||
#define inp(port) (*((volatile dword *) (port)))
|
||||
#define inp(port) (*((volatile byte *) (port)))
|
||||
|
||||
#define inpw(port) (*((volatile word *) (port)))
|
||||
#define inpdw(port) (*((volatile dword *)(port)))
|
||||
|
||||
#define outp(port, val) (*((volatile dword *) (port)) = ((dword) (val)))
|
||||
#define outp(port, val) (*((volatile byte *) (port)) = ((byte) (val)))
|
||||
#define outpw(port, val) (*((volatile word *) (port)) = ((word) (val)))
|
||||
#define outpdw(port, val) (*((volatile dword *) (port)) = ((dword) (val)))
|
||||
|
||||
|
Reference in New Issue
Block a user