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:
Manjunathappa Prakash
2019-10-02 14:02:06 -07:00
committed by nshrivas
parent e2028b05ad
commit 94cf30005c
3 changed files with 102 additions and 21 deletions

View File

@@ -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)))