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

📄 hwfixes.h

📁 此压缩包为杰得开发得z228的BSP的源代码,可以实现很多功能,尤其是视频解码有很好的效果.
💻 H
字号:
/* hwfixes.h * * This file has definitions that has yet included in 67300.h */#define HPI_MBX_SIE1            0x0144 	/* HPI SIE1 MSG  */#define HPI_MBX_SIE2            0x0148 	/* HPI SIE1 MSG  *//*    MAILBOX MESSAGE DEFINITIONS   _____________________________________________   |                   |         |             |   |      MSG ID       |   PORT  |    PRIVATE  |   |___________________|_________|_____________|   |      10           |    2    |     4       |   |___________________|_________|_____________|         MSG ID:     10 BITS -> IDENTIFIES THE SPECIFIC MESSAGE      PORT:    2 BITS -> IDENTIFIES THE SIE                   PRIVATE: 4 BITS -> ADDITIONAL INFORMATION SPECIFIC TO A PID TYPE      These are to be additional messages not already provided by the BIOS.  As   currently implemented, the BIOS does not route messages to the appropriate   mailbox based on the communication protocol being utilized.  Since messages   are not interrupt generated events, the Lyberty RAM code will not be able to    detect some events.  Those messages that are already defined to be sent out   the HPI port, will not be able to be sent out the HSS or SPI ports.  The    messages defined all involve the host.  So we will define those messages   that involve the peripheral only.*//* MESSAGE TYPE */#define PCD_MSG                     0x8000/* PORT TYPE */#define SIE_ONE_MSK                 0x0010#define SIE_TWO_MSK                 0x0020/* MESSAGE ID */#define EP0_DONE_MSG_ID             0x8040#define EP1_DONE_MSG_ID             0x8041#define EP2_DONE_MSG_ID             0x8042#define EP3_DONE_MSG_ID             0x8043#define EP4_DONE_MSG_ID             0x8044#define EP5_DONE_MSG_ID             0x8045#define EP6_DONE_MSG_ID             0x8046#define EP7_DONE_MSG_ID             0x8047#define EP0_ERROR_MSG_ID            0x8140#define EP1_ERROR_MSG_ID            0x8141#define EP2_ERROR_MSG_ID            0x8142#define EP3_ERROR_MSG_ID            0x8143#define EP4_ERROR_MSG_ID            0x8144#define EP5_ERROR_MSG_ID            0x8145#define EP6_ERROR_MSG_ID            0x8146#define EP7_ERROR_MSG_ID            0x8147#define B_HNP_ENABLE_MSG_ID         0x80C0#define A_HNP_SUPPORT_MSG_ID        0x80C1#define A_ALT_HNP_SUPPORT_MSG_ID    0x80C2#define VENDOR_MSG_ID               0x8100#define USB_RESET_MSG_ID            0x81C0#define USB_SOF_MSG_ID              0x8200#define USB_SUSPEND_MSG_ID          0x8240#define TD_LIST_DONE_MSG_ID         0x8280#define INSERT_REMOVAL_MSG_ID       0x82C0#define OTG_ID_A_MSG_ID             0x8300#define OTG_ID_B_MSG_ID             0x8340#define OTG_4_4_HI_MSG_ID           0x8380#define OTG_4_4_LO_MSG_ID           0x83C0#define REMOTE_WAKE_UP_MSG_ID       0x8400#define HID_GET_REPORT_MSG_ID       0x8500#define HID_GET_IDLE_MSG_ID         0x8501#define HID_GET_PROTOCOL_MSG_ID     0x8502#define HID_SET_REPORT_MSG_ID       0x8503#define HID_SET_IDLE_MSG_ID         0x8504#define HID_SET_PROTOCOL_MSG_ID     0x8505/* MAILBOX MESSAGES */#define SIE1_EP0_DONE_MBX_MSG       0x8050#define SIE1_EP1_DONE_MBX_MSG       0x8051#define SIE1_EP2_DONE_MBX_MSG       0x8052#define SIE1_EP3_DONE_MBX_MSG       0x8053#define SIE1_EP4_DONE_MBX_MSG       0x8054#define SIE1_EP5_DONE_MBX_MSG       0x8055#define SIE1_EP6_DONE_MBX_MSG       0x8056#define SIE1_EP7_DONE_MBX_MSG       0x8057#define SIE2_EP0_DONE_MBX_MSG       0x8060#define SIE2_EP1_DONE_MBX_MSG       0x8061#define SIE2_EP2_DONE_MBX_MSG       0x8062#define SIE2_EP3_DONE_MBX_MSG       0x8063#define SIE2_EP4_DONE_MBX_MSG       0x8064#define SIE2_EP5_DONE_MBX_MSG       0x8065#define SIE2_EP6_DONE_MBX_MSG       0x8066#define SIE2_EP7_DONE_MBX_MSG       0x8067#define SIE1_EP0_ERROR_MBX_MSG      0x8150#define SIE1_EP1_ERROR_MBX_MSG      0x8151#define SIE1_EP2_ERROR_MBX_MSG      0x8152#define SIE1_EP3_ERROR_MBX_MSG      0x8153#define SIE1_EP4_ERROR_MBX_MSG      0x8154#define SIE1_EP5_ERROR_MBX_MSG      0x8155#define SIE1_EP6_ERROR_MBX_MSG      0x8156#define SIE1_EP7_ERROR_MBX_MSG      0x8157#define SIE2_EP0_ERROR_MBX_MSG      0x8160#define SIE2_EP1_ERROR_MBX_MSG      0x8161#define SIE2_EP2_ERROR_MBX_MSG      0x8162#define SIE2_EP3_ERROR_MBX_MSG      0x8163#define SIE2_EP4_ERROR_MBX_MSG      0x8164#define SIE2_EP5_ERROR_MBX_MSG      0x8165#define SIE2_EP6_ERROR_MBX_MSG      0x8166#define SIE2_EP7_ERROR_MBX_MSG      0x8167                                    #define B_HNP_ENABLE_MBX_MSG        0x80D0#define A_HNP_SUPPORT_MBX_MSG       0x80D1#define A_ALT_HNP_SUPPORT_MBX_MSG   0x80D2#define SIE1_VENDOR_MBX_MSG         0x8110#define SIE2_VENDOR_MBX_MSG         0x8120#define SIE1_USB_RESET_MBX_MSG      0x81D0#define SIE2_USB_RESET_MBX_MSG      0x81E0#define SIE1_USB_SOF_MBX_MSG        0x8210#define SIE2_USB_SOF_MBX_MSG        0x8220#define SIE1_USB_SUSPEND_MBX_MSG    0x8250#define SIE2_USB_SUSPEND_MBX_MSG    0x8260#define SIE1_TD_LIST_DONE_MBX_MSG   0x8290#define SIE2_TD_LIST_DONE_MBX_MSG   0x82A0#define SIE1_INSERT_REMOVAL_MBX_MSG     0x82D0#define SIE2_INSERT_REMOVAL_MBX_MSG     0x82E0#define OTG_ID_A_MBX_MSG                0x8300#define OTG_ID_B_MBX_MSG                0x8340#define OTG_4_4_HI_MBX_MSG              0x8380#define OTG_4_4_LO_MBX_MSG              0x83C0#define SIE1_REMOTE_WAKE_UP_MBX_MSG     0x8410#define SIE2_REMOTE_WAKE_UP_MBX_MSG     0x8420#define SIE1_HID_GET_REPORT_MBX_MSG     0x8510#define SIE2_HID_GET_REPORT_MBX_MSG     0x8520#define SIE1_HID_GET_IDLE_MBX_MSG       0x8511#define SIE2_HID_GET_IDLE_MBX_MSG       0x8521#define SIE1_HID_GET_PROTOCOL_MBX_MSG   0x8512#define SIE2_HID_GET_PROTOCOL_MBX_MSG   0x8522#define SIE1_HID_SET_REPORT_MBX_MSG     0x8513#define SIE2_HID_SET_REPORT_MBX_MSG     0x8523#define SIE1_HID_SET_IDLE_MBX_MSG       0x8514#define SIE2_HID_SET_IDLE_MBX_MSG       0x8524#define SIE1_HID_SET_PROTOCOL_MBX_MSG   0x8515#define SIE2_HID_SET_PROTOCOL_MBX_MSG   0x8525/* LCP stuff */#define COMM_XMEM_BUF 			0x440#define SIE1MSG					0x0010				#define SIE2MSG					0x0020#define SIE1MSG_TO_HPI_EN		0x0010#define SIE2MSG_TO_HPI_EN		0x0020

⌨️ 快捷键说明

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