xp_shmptr
memset(xp_shmptr(PAM_BUF), XP_ATN_RESET, PAM_BUF_LEN);
dp = xp_shmptr(sc->sc_xp_addr);
memset(xp_shmptr(PAM_BUF), XP_ATN_RESET, PAM_BUF_LEN);
memcpy(xp_shmptr(sc->sc_xp_addr),
return *((volatile uint8_t *)xp_shmptr(offset));
return le16toh(*(volatile uint16_t *)xp_shmptr(offset));
*(volatile uint8_t *)(xp_shmptr(offset)) = v;
*((volatile uint16_t *)xp_shmptr(offset)) = htole16((uint16_t)v);
void *xp_shmptr(int);