📄 pci.h
字号:
#define UCOS_PCI_IO_BASE 0xC0000000#define UCOS_PCI_MEM_BASE0 0xC8000000#define UCOS_PCI_MEM_BASE1 0xD0000000#define UCOS_PCI_MEM_BASE2 0xD8000000#define UCOS_PCI_RES_MEM_BASE UCOS_PCI_MEM_BASE0#define UCOS_PCI_FB_MEM_BASE UCOS_PCI_MEM_BASE1#define UCOS_PCI_ALLOC_MEM_BASE UCOS_PCI_MEM_BASE2#define UCOS_PCI_ALLOC_IO_BASE (UCOS_PCI_IO_BASE + 0x00010000)#define UCOS_PCI_SLV_BASE 0x10000000#ifndef UCOS_PCI_CFG_COMMAND_IO#define UCOS_PCI_CFG_COMMAND_IO 0x0001#define UCOS_PCI_CFG_COMMAND_MEMORY 0x0002#define UCOS_PCI_CFG_COMMAND_MASTER 0x0004#endif /* UCOS_PCI_CFG_COMMAND_IO */#define __pci_config_write_byte(bus, devfn, offset, data)#define __pci_config_write_word(bus, devfn, offset, data)#define __pci_config_write_dword(bus, devfn, offset, data)#define __pci_config_read_byte(bus, devfn, offset, data)#define __pci_config_read_word(bus, devfn, offset, data)#define __pci_config_read_dword(bus, devfn, offset, data)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -