⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ncr710init.c

📁 IXP425的BSP代码
💻 C
📖 第 1 页 / 共 2 页
字号:
ULONG	startNewCmd[] = {	0x74162000,	0x00000000,	0x80840000,	0x00000010,	0x98080000,	BAD_NEW_CMD,	0x80080000,	(UINT)waitSelect,	0x98080000,	NEW_COMMAND_PROCESS};ULONG	reselSelect[] = {	0x98080000,	RECONNECT_IN_SELECT};ULONG	selWithAtn[] = {	0x7C1BEF00,	0x00000000,	0x78340A00,	0x00000000,	0x43000000,	(UINT)checkNewCmd,	0x830B0000,	(UINT)endTransact,	0x860B0000,	(UINT) msgOut1,	0x9E020000,	MSGOUT_EXPECT};ULONG	selWithoutAtn[] = {	0x7C1BEF00,	0x00000000,	0x78340A00,	0x00000000,	0x42000000,	(UINT)checkNewCmd,	0x80080000,	(UINT) contTransact};ULONG	contTransact[] = {	0x830B0000,	(UINT)endTransact,	0x860B0000,	(UINT)msgOut1,	0x830B0000,	(UINT)endTransact,	0x870B0000,	(UINT)msg1,	0x9A020000,	BAD_PH_BEFORE_CMD,	0x7A1B1000,	0x00000000,	0x78340200,	0x00000000,	0x1A000002,	0x1C ,	0x870B0000,	(UINT)msg2,	0x830A0000,	(UINT)endTransact,	0x810A0000,	(UINT)inputData,	0x800A0000,	(UINT)outputData,	0x98080000,	BAD_PH_AFTER_CMD};ULONG	endTransact[] = {	0x7C1BEF00,	0x00000000,	0x78340300,	0x00000000,	0x1B000003,	    0x2C ,	0x9F030000,	MSGIN_EXPECT_AFTER_ST,	0x78340700,	0x00000000,	0x1F000007,	0x0C ,	0x98040000,	BAD_MSG_INSTEAD_CMDCOMP,	0x60000040,	0x00000000,	0x7C1BEF00,	0x00000000,	0x48000000,	0x00000000,	0x98080000,	GOOD_END};ULONG	msgOut1[] = {	0x78340600,	0x00000000,	0x1E000006,	0x04 ,	0x820B0000,	(UINT)contTransact,	0x830A0000,	(UINT)contTransact,	0x810A0000,	(UINT)inputData,	0x800A0000,	(UINT)outputData,	0x870A0000,	(UINT)msg1,	0x98080000,	PH_UNKNOWN};ULONG	msgOut3[] = {	0x78340600,	0x00000000,	0x1E000006,	0x04 ,	0x820B0000,	(UINT)contTransact,	0x830A0000,	(UINT)contTransact,	0x810A0000,	(UINT)inputData,	0x800A0000,	(UINT)outputData,	0x870A0000,	(UINT)msg3,	0x98080000,	PH_UNKNOWN};ULONG	outputData[] = {	0x78340000,	0x00000000,	0x18000000,	0x24 };ULONG	checkOut[] = {	0x830B0000,	(UINT)endTransact,	0x870B0000,	(UINT)msg3,	0x80080000,	(UINT) asortPh};ULONG	inputData[] = {	0x78340100,	0x00000000,	0x19000001,	0x24 ,	0x80080000,	(UINT)checkOut};ULONG	msg1[] = {	0x78340700,	0x00000000,	0x1F000007,	0x0C ,	0x808C0001,	0x00000028,	0x980C0002,	SAVDATP_BEFORE_CMD,	0x980C0003,	RESTORE_POINTER,	0x808C0004,	0x00000028,	0x980C0007,	REJECT_MSG1,	0x98080000,	BAD_MSGIN_BEFORE_CMD,	0x60000040,	0x00000000,	0x1F000000,	0x14 ,	0x98080000,	EXTMSG_BEFORE_CMD,	0x60000040,	0x00000000,	0x48000000,	0x00000000,	0x98080000,	DISC_BEFORE_CMD};ULONG	msg2[] = {	0x78340700,	0x00000000,	0x1F000007,	0x0C ,	0x808C0001,	0x00000020,	0x980C0002,	SAVDATP_AFTER_CMD,	0x980C0003,	RESTORE_POINTER,	0x808C0004,	0x00000020,	0x98080000,	BAD_MSG_AFTER_CMD,	0x60000040,	0x00000000,	0x1F000000,	0x14 ,	0x98080000,	EXTMSG_AFTER_CMD,	0x60000040,	0x00000000,	0x48000000,	0x00000000,	0x98080000,	DISC_AFTER_CMD};ULONG	msg3[] = {	0x78340700,	0x00000000,	0x1F000007,	0x0C ,	0x808C0001,	0x00000020,	0x980C0002,	SAVDATP_AFTER_DATA,	0x980C0003,	RESTORE_POINTER,	0x808C0004,	0x00000020,	0x98080000,	BAD_MSG_AFTER_DATA,	0x60000040,	0x00000000,	0x1F000000,	0x14 ,	0x98080000,	EXTMSG_AFTER_DATA,	0x60000040,	0x00000000,	0x48000000,	0x00000000,	0x98080000,	DISC_AFTER_DATA};ULONG	selectAddr[] = {	0x98080000,	SELECT_AS_TARGET};ULONG	ackMsg1[] = {	0x60000040,	0x00000000,	0x870B0000,	(UINT)msg1,	0x80080000,	(UINT) asortPh};ULONG	ackMsg3[] = {	0x60000040,	0x00000000,	0x870B0000,	(UINT)msg3,	0x80080000,	(UINT) checkPhData};ULONG	checkPhData[] = {	0x810B0000,	(UINT)inputData,	0x800A0000,	(UINT)outputData,	0x860A0000,	(UINT)msgOut3,	0x830A0000,	(UINT)endTransact,	0x820A0000,	(UINT) contTransact,	0x870A0000,	(UINT)msg3,	0x840A0000,	(UINT)reserOutPh,	0x850A0000,	(UINT)reserInPh,	0x98080000,	PH_UNKNOWN};ULONG	ackAtnMsg[] = {	0x58000008,	0x00000000,	0x60000040,	0x00000000,	0x78340600,	0x00000000,	0x1E000006,	0x04 ,	0x86030000,	(UINT) asortPh,	0x98080000,	PH_UNKNOWN};ULONG	asortPh[] = {	0x60000008,	0x00000000,	0x810B0000,	(UINT)inputData,	0x800A0000,	(UINT)outputData,	0x860A0000,	(UINT)msgOut1,	0x830A0000,	(UINT)endTransact,	0x820A0000,	(UINT) contTransact,	0x870A0000,	(UINT)msg1,	0x840A0000,	(UINT)reserOutPh,	0x850A0000,	(UINT)reserInPh,	0x98080000,	PH_UNKNOWN};ULONG	reserOutPh[] = {	0x78340400,	0x00000000,	0x98080000,	RES_OUT_DETECTED};ULONG	reserInPh[] = {	0x78340500,	0x00000000,	0x98080000,	RES_IN_DETECTED};ULONG	endAbort[] = {	0x58000008,	0x00000000,	0x60000040,	0x00000000,	0x78340600,	0x00000000,	0x1E000006,	0x04 ,	0x48000000,	0x00000000,	0x98080000,	ABORT_CLEAR_END};ULONG	relocation[] = {	0x98080000,	(UINT)last_datap,	0x0F000001,	sizeof(last_datap),	0x98080000,	(UINT)waitSelect,	0x0F000001,	sizeof(waitSelect),	0x80080000,	0x00000014,	0x80080000,	0x0000001C,	0x98080000,	(UINT)reselect,	0x0F000001,	sizeof(reselect),	0x80080000,	0x0000001C,	0x98080000,	(UINT)checkNewCmd,	0x0F000001,	sizeof(checkNewCmd),	0x80080000,	0x0000000C,	0x80080000,	0x0000001C,	0x80080000,	0x00000024,	0x98080000,	(UINT)startNewCmd,	0x0F000001,	sizeof(startNewCmd),	0x80080000,	0x0000001C,	0x98080000,	(UINT)reselSelect,	0x0F000001,	sizeof(reselSelect),	0x98080000,	(UINT)selWithAtn,	0x0F000001,	sizeof(selWithAtn),	0x80080000,	0x00000014,	0x80080000,	0x0000001C,	0x80080000,	0x0000001C,	0x80080000,	0x00000024,	0x98080000,	(UINT)selWithoutAtn,	0x0F000001,	sizeof(selWithoutAtn),	0x80080000,	0x00000014,	0x80080000,	0x0000001C,	0x98080000,	(UINT)contTransact,	0x0F000001,	sizeof(contTransact),	0x80080000,	0x00000004,	0x80080000,	0x0000000C,	0x80080000,	0x00000014,	0x80080000,	0x0000001C,	0x80080000,	0x0000003C,	0x80080000,	0x00000044,	0x80080000,	0x0000004C,	0x80080000,	0x00000054,	0x80080000,	0x0000005C,	0x98080000,	(UINT)endTransact,	0x0F000001,	sizeof(endTransact),	0x80080000,	0x00000014,	0x80080000,	0x0000002C,	0x98080000,	(UINT)msgOut1,	0x0F000001,	sizeof(msgOut1),	0x80080000,	0x0000000C,	0x80080000,	0x00000014,	0x80080000,	0x0000001C,	0x80080000,	0x00000024,	0x80080000,	0x0000002C,	0x80080000,	0x00000034,	0x98080000,	(UINT)msgOut3,	0x0F000001,	sizeof(msgOut3),	0x80080000,	0x0000000C,	0x80080000,	0x00000014,	0x80080000,	0x0000001C,	0x80080000,	0x00000024,	0x80080000,	0x0000002C,	0x80080000,	0x00000034,	0x98080000,	(UINT)outputData,	0x0F000001,	sizeof(outputData),	0x80080000,	0x0000000C,	0x98080000,	(UINT)checkOut,	0x0F000001,	sizeof(checkOut),	0x80080000,	0x00000004,	0x80080000,	0x0000000C,	0x80080000,	0x00000014,	0x98080000,	(UINT)inputData,	0x0F000001,	sizeof(inputData),	0x80080000,	0x0000000C,	0x80080000,	0x00000014,	0x98080000,	(UINT)msg1,	0x0F000001,	sizeof(msg1),	0x80080000,	0x0000000C,	0x80080000,	0x0000004C,	0x98080000,	(UINT)msg2,	0x0F000001,	sizeof(msg2),	0x80080000,	0x0000000C,	0x80080000,	0x00000044,	0x98080000,	(UINT)msg3,	0x0F000001,	sizeof(msg3),	0x80080000,	0x0000000C,	0x80080000,	0x00000044,	0x98080000,	(UINT)selectAddr,	0x0F000001,	sizeof(selectAddr),	0x98080000,	(UINT)ackMsg1,	0x0F000001,	sizeof(ackMsg1),	0x80080000,	0x0000000C,	0x80080000,	0x00000014,	0x98080000,	(UINT)ackMsg3,	0x0F000001,	sizeof(ackMsg3),	0x80080000,	0x0000000C,	0x80080000,	0x00000014,	0x98080000,	(UINT)checkPhData,	0x0F000001,	sizeof(checkPhData),	0x80080000,	0x00000004,	0x80080000,	0x0000000C,	0x80080000,	0x00000014,	0x80080000,	0x0000001C,	0x80080000,	0x00000024,	0x80080000,	0x0000002C,	0x80080000,	0x00000034,	0x80080000,	0x0000003C,	0x98080000,	(UINT)ackAtnMsg,	0x0F000001,	sizeof(ackAtnMsg),	0x80080000,	0x0000001C,	0x80080000,	0x00000024,	0x98080000,	(UINT)asortPh,	0x0F000001,	sizeof(asortPh),	0x80080000,	0x0000000C,	0x80080000,	0x00000014,	0x80080000,	0x0000001C,	0x80080000,	0x00000024,	0x80080000,	0x0000002C,	0x80080000,	0x00000034,	0x80080000,	0x0000003C,	0x80080000,	0x00000044,	0x98080000,	(UINT)reserOutPh,	0x0F000001,	sizeof(reserOutPh),	0x98080000,	(UINT)reserInPh,	0x0F000001,	sizeof(reserInPh),	0x98080000,	(UINT)endAbort,	0x0F000001,	sizeof(endAbort),	0x80080000,	0x0000001C,	0x60000040,	0x00000000};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -