[ARM]
Stubbed out config_manager and pci bus_manager arch code. Now really use the boot floppy tgz for the netbsd uimage as it all builds, but with other kernel arch code not yet commited. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32324 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
368fc35adf
commit
a2577dbfd1
@ -0,0 +1,10 @@
|
||||
SubDir HAIKU_TOP src add-ons kernel bus_managers config_manager arch $(TARGET_ARCH) ;
|
||||
|
||||
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) ] ;
|
||||
|
||||
UsePrivateHeaders kernel [ FDirName kernel arch $(TARGET_ARCH) ] ;
|
||||
|
||||
KernelStaticLibrary config_manager_arch :
|
||||
config_manager_arch.c
|
||||
;
|
||||
|
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Copyright 2009 Haiku, Inc.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* arch-specific config manager
|
||||
*
|
||||
* Authors (in chronological order):
|
||||
* François Revol (revol@free.fr)
|
||||
*/
|
||||
|
||||
#include <OS.h>
|
||||
#include <config_manager.h>
|
||||
|
||||
int config_manager_scan_hardcoded(struct device_info **info, int32 *count)
|
||||
{
|
||||
return B_OK;
|
||||
}
|
||||
|
10
src/add-ons/kernel/bus_managers/pci/arch/arm/Jamfile
Normal file
10
src/add-ons/kernel/bus_managers/pci/arch/arm/Jamfile
Normal file
@ -0,0 +1,10 @@
|
||||
SubDir HAIKU_TOP src add-ons kernel bus_managers pci arch $(TARGET_ARCH) ;
|
||||
|
||||
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) ] ;
|
||||
UsePrivateHeaders kernel [ FDirName kernel arch $(TARGET_ARCH) ]
|
||||
[ FDirName kernel boot platform $(HAIKU_BOOT_PLATFORM) ] ;
|
||||
|
||||
KernelStaticLibrary pci_arch_bus_manager :
|
||||
pci_controller.cpp
|
||||
pci_io.c
|
||||
;
|
@ -0,0 +1,27 @@
|
||||
/*
|
||||
* Copyright 2009, Haiku Inc.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
|
||||
|
||||
#include "pci_controller.h"
|
||||
|
||||
//#include <arch_platform.h>
|
||||
|
||||
#include "pci_private.h"
|
||||
|
||||
|
||||
status_t
|
||||
pci_controller_init(void)
|
||||
{
|
||||
/* no support yet */
|
||||
#warning ARM:WRITEME
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
|
||||
void *
|
||||
pci_ram_address(const void *physical_address_in_system_memory)
|
||||
{
|
||||
return (void *)physical_address_in_system_memory;
|
||||
}
|
61
src/add-ons/kernel/bus_managers/pci/arch/arm/pci_io.c
Normal file
61
src/add-ons/kernel/bus_managers/pci/arch/arm/pci_io.c
Normal file
@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009, Haiku Inc.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
|
||||
|
||||
#include "pci_io.h"
|
||||
#include "pci_private.h"
|
||||
#warning ARM:WRITEME
|
||||
|
||||
|
||||
status_t
|
||||
pci_io_init()
|
||||
{
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
|
||||
uint8
|
||||
pci_read_io_8(int mapped_io_addr)
|
||||
{
|
||||
/* NOT IMPLEMENTED */
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
pci_write_io_8(int mapped_io_addr, uint8 value)
|
||||
{
|
||||
/* NOT IMPLEMENTED */
|
||||
}
|
||||
|
||||
|
||||
uint16
|
||||
pci_read_io_16(int mapped_io_addr)
|
||||
{
|
||||
/* NOT IMPLEMENTED */
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
pci_write_io_16(int mapped_io_addr, uint16 value)
|
||||
{
|
||||
/* NOT IMPLEMENTED */
|
||||
}
|
||||
|
||||
|
||||
uint32
|
||||
pci_read_io_32(int mapped_io_addr)
|
||||
{
|
||||
/* NOT IMPLEMENTED */
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
pci_write_io_32(int mapped_io_addr, uint32 value)
|
||||
{
|
||||
/* NOT IMPLEMENTED */
|
||||
}
|
11
src/add-ons/kernel/bus_managers/pci/arch/arm/pci_io.h
Normal file
11
src/add-ons/kernel/bus_managers/pci/arch/arm/pci_io.h
Normal file
@ -0,0 +1,11 @@
|
||||
/*
|
||||
* Copyright 2009, Haiku Inc.
|
||||
* All rights reserved. Distributed under the terms of the MIT License.
|
||||
*/
|
||||
|
||||
#ifndef PCI_BUS_MANAGER_ARM_IO_H
|
||||
#define PCI_BUS_MANAGER_ARM_IO_H
|
||||
|
||||
#include <SupportDefs.h>
|
||||
|
||||
#endif // PCI_BUS_MANAGER_ARM_IO_H
|
@ -173,7 +173,8 @@ BuildUImage haiku_loader.ub : haiku_loader :
|
||||
-a $(HAIKU_BOARD_LOADER_BASE) -e $(HAIKU_BOARD_LOADER_ENTRY_RAW)
|
||||
-n 'haiku_loader' ;
|
||||
|
||||
BuildUImage haiku_loader_nbsd.ub : haiku_loader kernel_arm :
|
||||
local tgzArchive = haiku-floppyboot.tgz ;
|
||||
BuildUImage haiku_loader_nbsd.ub : haiku_loader $(tgzArchive) :
|
||||
-A arm -O $(uImageFakeOS) -T multi -C none
|
||||
-a $(HAIKU_BOARD_LOADER_BASE) -e $(HAIKU_BOARD_LOADER_ENTRY_NBSD)
|
||||
-n 'haiku_loader' ;
|
||||
|
Loading…
Reference in New Issue
Block a user