#define SSFUN_LOG_HEAD 0x2000 #define SSFUN_LOG_END 0x80000 #define SSFUN_LOG_AREA_SIZE (SSFUN_LOG_END-SSFUN_LOG_HEAD) #define SSFUN_LOGUNITSIZE 80 #define SSFUN_LOG_START (SSFUN_LOG_HEAD+SSFUN_LOGUNITSIZE) #define SSFUN_LOG_TOTAL (SSFUN_LOG_END-SSFUN_LOG_START)/SSFUN_LOGUNITSIZE #define SSFUN_MAGICNUM 0xbeefdead //#define SSFUN_SYSLOG_TOTAL SSFUN_LOG_TOTAL/2 //#define SSFUN_PCILOG_TOTAL SSFUN_LOG_TOTAL/4 //#define SSFUN_MEMLOG_TOTAL (SSFUN_LOG_TOTAL-SSFUN_PCILOG_TOTAL-SSFUN_SYSLOG_TOTAL) //#define SSFUN_SYSLOG_START 0 //#define SSFUN_PCILOG_START SSFUN_SYSLOG_TOTAL //#define SSFUN_MEMLOG_START SSFUN_SYSLOG_TOTAL+SSFUN_PCILOG_TOTAL #define ssBYTE_LogHeadMaxSize 64 #define ssBYTE_InNvram ((volatile unsigned char *)(gFpgaBar2VirtualP+SSFUN_LOG_HEAD+ssBYTE_LogHeadMaxSize)) #define ssBYTE_CTLROLESWAP 0 #define SS_CTLROLESWAP BIT(7)