added irq router file
renamed io and configuration functions git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4728 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -3,4 +3,5 @@ SubDir OBOS_TOP src add-ons kernel bus_managers pci arch ppc ;
|
|||||||
KernelStaticLibrary pci_arch_ppc_bus_manager :
|
KernelStaticLibrary pci_arch_ppc_bus_manager :
|
||||||
pci_config.c
|
pci_config.c
|
||||||
pci_io.c
|
pci_io.c
|
||||||
|
pci_irq.c
|
||||||
;
|
;
|
||||||
|
|||||||
@@ -8,13 +8,20 @@ pci_config_init()
|
|||||||
|
|
||||||
|
|
||||||
uint32
|
uint32
|
||||||
read_pci_config(uint8 bus, uint8 device, uint8 function, uint8 offset, uint8 size)
|
pci_read_config(uint8 bus, uint8 device, uint8 function, uint8 offset, uint8 size)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
write_pci_config(uint8 bus, uint8 device, uint8 function, uint8 offset, uint8 size, uint32 value)
|
pci_write_config(uint8 bus, uint8 device, uint8 function, uint8 offset, uint8 size, uint32 value)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void *
|
||||||
|
pci_ram_address(const void *physical_address_in_system_memory)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|||||||
@@ -8,46 +8,39 @@ pci_io_init()
|
|||||||
|
|
||||||
|
|
||||||
uint8
|
uint8
|
||||||
read_io_8(int mapped_io_addr)
|
pci_read_io_8(int mapped_io_addr)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
write_io_8(int mapped_io_addr, uint8 value)
|
pci_write_io_8(int mapped_io_addr, uint8 value)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
uint16
|
uint16
|
||||||
read_io_16(int mapped_io_addr)
|
pci_read_io_16(int mapped_io_addr)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
write_io_16(int mapped_io_addr, uint16 value)
|
pci_write_io_16(int mapped_io_addr, uint16 value)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
uint32
|
uint32
|
||||||
read_io_32(int mapped_io_addr)
|
pci_read_io_32(int mapped_io_addr)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
write_io_32(int mapped_io_addr, uint32 value)
|
pci_write_io_32(int mapped_io_addr, uint32 value)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void *
|
|
||||||
ram_address(const void *physical_address_in_system_memory)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -0,0 +1,20 @@
|
|||||||
|
#include "pci_priv.h"
|
||||||
|
|
||||||
|
status_t
|
||||||
|
pci_irq_init(void)
|
||||||
|
{
|
||||||
|
return B_ERROR;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
uint8
|
||||||
|
pci_read_irq(uint8 bus, uint8 device, uint8 function, uint8 line)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void
|
||||||
|
pci_write_irq(uint8 bus, uint8 device, uint8 function, uint8 line, uint8 irq)
|
||||||
|
{
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user