KolibriOS kernel
pci32.inc File Reference

Functions

void pci_enum ()
 
void get_pcidev_list ()
 Export for drivers. Just returns the pointer to the pci-devices list. More...
 

Variables

label f62call
 
label pci_api
 
label pci_api_drv
 
label pci_fn_0
 
label pci_fn_1
 
label pci_fn_2
 
label pci_service_not_supported
 
label pci_make_config_cmd
 
label pci_read_reg
 
label pci_read_byte1
 
label pci_read_word1
 
label pci_read_dword1
 
label pci_fin_read1
 
label pci_read_reg_2
 
label pci_read_byte2
 
label pci_read_word2
 
label pci_read_dword2
 
label pci_fin_read2
 
label pci_read_reg_err
 
label pci_write_reg
 
label pci_write_byte1
 
label pci_write_word1
 
label pci_write_dword1
 
label pci_fin_write1
 
label pci_write_reg_2
 
label pci_write_byte2
 
label pci_write_word2
 
label pci_write_dword2
 
label pci_fin_write2
 
label pci_write_reg_err
 
label pci_mmio_init
 *************************************************************************** Function pci_mmio_init More...
 
label pci_mmio_map
 
label mmio_ret_fail
 
label mmio_map_over
 
label pci_mmio_unmap
 
label pci_emu_dat
 VendID (2), DevID (2), Revision = 0 (1), Class Code (3), FNum (1), Bus (1) More...
 
label sys_pcibios
 
db _devfn
 
db _bus
 

Function Documentation

◆ get_pcidev_list()

void get_pcidev_list ( )

Export for drivers. Just returns the pointer to the pci-devices list.

Source
bus/pci/pci32.inc:676

◆ pci_enum()

void pci_enum ( )

Variable Documentation

◆ _bus

db _bus
Initial value
?
Source
bus/pci/pci32.inc:617

◆ _devfn

db _devfn
Initial value
?
Source
bus/pci/pci32.inc:616

◆ f62call

label f62call

◆ mmio_map_over

label mmio_map_over

◆ mmio_ret_fail

label mmio_ret_fail

◆ pci_api

label pci_api

◆ pci_api_drv

label pci_api_drv

◆ pci_emu_dat

label pci_emu_dat

VendID (2), DevID (2), Revision = 0 (1), Class Code (3), FNum (1), Bus (1)

Source
bus/pci/pci32.inc:497

◆ pci_fin_read1

label pci_fin_read1

◆ pci_fin_read2

label pci_fin_read2

◆ pci_fin_write1

label pci_fin_write1

◆ pci_fin_write2

label pci_fin_write2

◆ pci_fn_0

label pci_fn_0

◆ pci_fn_1

label pci_fn_1

◆ pci_fn_2

label pci_fn_2

◆ pci_make_config_cmd

label pci_make_config_cmd

◆ pci_mmio_init

label pci_mmio_init

*************************************************************************** Function pci_mmio_init

Description IN: bx = device's PCI bus address (bbbbbbbbdddddfff) Returns eax = user heap space available (bytes) Error codes eax = -1 : PCI user access blocked, eax = -2 : device not registered for uMMIO service eax = -3 : user heap initialization failure

Source
bus/pci/pci32.inc:370

◆ pci_mmio_map

label pci_mmio_map

◆ pci_mmio_unmap

label pci_mmio_unmap

◆ pci_read_byte1

label pci_read_byte1

◆ pci_read_byte2

label pci_read_byte2

◆ pci_read_dword1

label pci_read_dword1

◆ pci_read_dword2

label pci_read_dword2

◆ pci_read_reg

label pci_read_reg

◆ pci_read_reg_2

label pci_read_reg_2

◆ pci_read_reg_err

label pci_read_reg_err

◆ pci_read_word1

label pci_read_word1

◆ pci_read_word2

label pci_read_word2

◆ pci_service_not_supported

label pci_service_not_supported

◆ pci_write_byte1

label pci_write_byte1

◆ pci_write_byte2

label pci_write_byte2

◆ pci_write_dword1

label pci_write_dword1

◆ pci_write_dword2

label pci_write_dword2

◆ pci_write_reg

label pci_write_reg

◆ pci_write_reg_2

label pci_write_reg_2

◆ pci_write_reg_err

label pci_write_reg_err

◆ pci_write_word1

label pci_write_word1

◆ pci_write_word2

label pci_write_word2

◆ sys_pcibios

label sys_pcibios