move amd K8/Fam10 "bus detection" function prototypes to a common place.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5370 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
135a966d34
commit
e9de1e2609
|
@ -70,4 +70,6 @@ struct amdfam10_sysconf_t {
|
|||
|
||||
extern struct amdfam10_sysconf_t sysconf;
|
||||
|
||||
void get_sblk_pci1234(void);
|
||||
void get_bus_conf(void);
|
||||
#endif
|
||||
|
|
|
@ -25,4 +25,6 @@ struct amdk8_sysconf_t {
|
|||
|
||||
extern struct amdk8_sysconf_t sysconf;
|
||||
|
||||
void get_sblk_pci1234(void);
|
||||
void get_bus_conf(void);
|
||||
#endif
|
||||
|
|
|
@ -92,7 +92,7 @@ unsigned long acpi_fill_madt(unsigned long current)
|
|||
return current;
|
||||
}
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void update_ssdtx(void *ssdtx, int i)
|
||||
{
|
||||
|
|
|
@ -59,7 +59,7 @@ u32 bus_type[256];
|
|||
u32 sbdn_rs690;
|
||||
u32 sbdn_sb600;
|
||||
|
||||
extern void get_sblk_pci1234(void);
|
||||
|
||||
|
||||
static u32 get_bus_conf_done = 0;
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
#include <cpu/amd/amdk8_sysconf.h>
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void write_pirq_info(struct irq_info *pirq_info, u8 bus, u8 devfn,
|
||||
u8 link0, u16 bitmap0, u8 link1, u16 bitmap1,
|
||||
|
|
|
@ -36,7 +36,7 @@ extern u32 bus_type[256];
|
|||
extern u32 sbdn_rs690;
|
||||
extern u32 sbdn_sb600;
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void *smp_write_config_table(void *v)
|
||||
{
|
||||
|
|
|
@ -99,7 +99,7 @@ unsigned long acpi_fill_madt(unsigned long current)
|
|||
return current;
|
||||
}
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
#if CONFIG_ACPI_SSDTX_NUM >= 1
|
||||
static void update_ssdtx(void *ssdtx, int i)
|
||||
|
|
|
@ -59,7 +59,7 @@ u32 bus_type[256];
|
|||
u32 sbdn_rs780;
|
||||
u32 sbdn_sb700;
|
||||
|
||||
extern void get_sblk_pci1234(void);
|
||||
|
||||
|
||||
static u32 get_bus_conf_done = 0;
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
#include <cpu/amd/amdk8_sysconf.h>
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void write_pirq_info(struct irq_info *pirq_info, u8 bus, u8 devfn,
|
||||
u8 link0, u16 bitmap0, u8 link1, u16 bitmap1,
|
||||
|
|
|
@ -37,7 +37,7 @@ extern u32 bus_type[256];
|
|||
extern u32 sbdn_rs780;
|
||||
extern u32 sbdn_sb700;
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void *smp_write_config_table(void *v)
|
||||
{
|
||||
|
|
|
@ -89,7 +89,7 @@ unsigned long acpi_fill_madt(unsigned long current)
|
|||
return current;
|
||||
}
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
extern void update_ssdt(void *ssdt);
|
||||
|
||||
/* not tested yet. */
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
#include <cpu/amd/amdfam10_sysconf.h>
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void write_pirq_info(struct irq_info *pirq_info, u8 bus, u8 devfn,
|
||||
u8 link0, u16 bitmap0, u8 link1, u16 bitmap1,
|
||||
|
|
|
@ -37,7 +37,7 @@ extern u32 bus_type[256];
|
|||
extern u32 sbdn_rs780;
|
||||
extern u32 sbdn_sb700;
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void *smp_write_config_table(void *v)
|
||||
{
|
||||
|
|
|
@ -92,7 +92,7 @@ unsigned long acpi_fill_madt(unsigned long current)
|
|||
return current;
|
||||
}
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void update_ssdtx(void *ssdtx, int i)
|
||||
{
|
||||
|
|
|
@ -59,7 +59,7 @@ u32 bus_type[256];
|
|||
u32 sbdn_rs690;
|
||||
u32 sbdn_sb600;
|
||||
|
||||
extern void get_sblk_pci1234(void);
|
||||
|
||||
|
||||
static u32 get_bus_conf_done = 0;
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
#include <cpu/amd/amdk8_sysconf.h>
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void write_pirq_info(struct irq_info *pirq_info, u8 bus, u8 devfn,
|
||||
u8 link0, u16 bitmap0, u8 link1, u16 bitmap1,
|
||||
|
|
|
@ -36,7 +36,7 @@ extern u32 bus_type[256];
|
|||
extern u32 sbdn_rs690;
|
||||
extern u32 sbdn_sb600;
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void *smp_write_config_table(void *v)
|
||||
{
|
||||
|
|
|
@ -150,7 +150,7 @@ unsigned long acpi_fill_madt(unsigned long current)
|
|||
return current;
|
||||
}
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void update_ssdtx(void *ssdtx, int i)
|
||||
{
|
||||
|
|
|
@ -39,7 +39,7 @@ static unsigned hcdnx[] =
|
|||
// 0x20202020,
|
||||
};
|
||||
|
||||
extern void get_sblk_pci1234(void);
|
||||
|
||||
|
||||
static unsigned get_bus_conf_done = 0;
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ static void write_pirq_info(struct irq_info *pirq_info, uint8_t bus, uint8_t dev
|
|||
}
|
||||
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
unsigned long write_pirq_routing_table(unsigned long addr)
|
||||
{
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include <cpu/amd/amdk8_sysconf.h>
|
||||
#include "mb_sysconf.h"
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void *smp_write_config_table(void *v)
|
||||
{
|
||||
|
|
|
@ -160,7 +160,7 @@ unsigned long acpi_fill_madt(unsigned long current)
|
|||
return current;
|
||||
}
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
extern void update_ssdt(void *ssdt);
|
||||
|
||||
static void update_ssdtx(void *ssdtx, int i)
|
||||
|
|
|
@ -46,7 +46,7 @@ static void write_pirq_info(struct irq_info *pirq_info, u8 bus, u8 devfn, u8 lin
|
|||
}
|
||||
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
unsigned long write_pirq_routing_table(unsigned long addr)
|
||||
{
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include <cpu/amd/amdfam10_sysconf.h>
|
||||
#include "mb_sysconf.h"
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void *smp_write_config_table(void *v)
|
||||
{
|
||||
|
|
|
@ -99,7 +99,7 @@ unsigned long acpi_fill_madt(unsigned long current)
|
|||
return current;
|
||||
}
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
#if CONFIG_ACPI_SSDTX_NUM >= 1
|
||||
static void update_ssdtx(void *ssdtx, int i)
|
||||
|
|
|
@ -59,7 +59,7 @@ u32 bus_type[256];
|
|||
u32 sbdn_rs780;
|
||||
u32 sbdn_sb700;
|
||||
|
||||
extern void get_sblk_pci1234(void);
|
||||
|
||||
|
||||
static u32 get_bus_conf_done = 0;
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
#include <cpu/amd/amdk8_sysconf.h>
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void write_pirq_info(struct irq_info *pirq_info, u8 bus, u8 devfn,
|
||||
u8 link0, u16 bitmap0, u8 link1, u16 bitmap1,
|
||||
|
|
|
@ -37,7 +37,7 @@ extern u32 bus_type[256];
|
|||
extern u32 sbdn_rs780;
|
||||
extern u32 sbdn_sb700;
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void *smp_write_config_table(void *v)
|
||||
{
|
||||
|
|
|
@ -61,7 +61,7 @@ unsigned hcdnx[] = {
|
|||
|
||||
unsigned bus_type[256];
|
||||
|
||||
extern void get_sblk_pci1234(void);
|
||||
|
||||
|
||||
static unsigned get_bus_conf_done = 0;
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
extern unsigned char bus_isa;
|
||||
extern unsigned char bus_ck804[6];
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
/**
|
||||
* Add one line to IRQ table.
|
||||
|
|
|
@ -32,7 +32,7 @@ extern unsigned char bus_isa;
|
|||
extern unsigned char bus_ck804[6];
|
||||
extern unsigned apicid_ck804;
|
||||
extern unsigned bus_type[256];
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void *smp_write_config_table(void *v)
|
||||
{
|
||||
|
|
|
@ -46,7 +46,7 @@ unsigned hcdnx[] =
|
|||
};
|
||||
unsigned sbdn2;
|
||||
|
||||
extern void get_sblk_pci1234(void);
|
||||
|
||||
|
||||
static unsigned get_bus_conf_done = 0;
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ extern unsigned apicid_bcm5785[3];
|
|||
|
||||
extern unsigned sbdn2;
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
unsigned long write_pirq_routing_table(unsigned long addr)
|
||||
{
|
||||
|
|
|
@ -19,7 +19,7 @@ extern unsigned apicid_bcm5785[3];
|
|||
|
||||
extern unsigned sbdn2;
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void *smp_write_config_table(void *v)
|
||||
{
|
||||
|
|
|
@ -66,7 +66,7 @@ unsigned hcdnx[] =
|
|||
};
|
||||
unsigned bus_type[256];
|
||||
|
||||
extern void get_sblk_pci1234(void);
|
||||
|
||||
|
||||
static unsigned get_bus_conf_done = 0;
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ static void write_pirq_info(struct irq_info *pirq_info, uint8_t bus, uint8_t dev
|
|||
extern unsigned char bus_isa;
|
||||
extern unsigned char bus_sis966[8]; //1
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
unsigned long write_pirq_routing_table(unsigned long addr)
|
||||
{
|
||||
|
@ -133,7 +133,6 @@ unsigned long write_pirq_routing_table(unsigned long addr)
|
|||
PINTH = IRQ7
|
||||
|
||||
*/
|
||||
int i;
|
||||
uint8_t reg[8]={0x41,0x42,0x43,0x44,0x60,0x61,0x62,0x63};
|
||||
uint8_t irq[8]={0x0A,0X0B,0X0,0X0a,0X0B,0X05,0X0,0X07};
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ unsigned long acpi_fill_madt(unsigned long current)
|
|||
unsigned int gsi_base = 0x18;
|
||||
extern unsigned char bus_mcp55[8];
|
||||
extern unsigned apicid_mcp55;
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
unsigned sbdn;
|
||||
struct resource *res;
|
||||
device_t dev;
|
||||
|
|
|
@ -64,7 +64,7 @@ unsigned hcdnx[] =
|
|||
};
|
||||
unsigned bus_type[256];
|
||||
|
||||
extern void get_sblk_pci1234(void);
|
||||
|
||||
|
||||
static unsigned get_bus_conf_done = 0;
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ static void write_pirq_info(struct irq_info *pirq_info, uint8_t bus, uint8_t dev
|
|||
extern unsigned char bus_isa;
|
||||
extern unsigned char bus_mcp55[8]; //1
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
unsigned long write_pirq_routing_table(unsigned long addr)
|
||||
{
|
||||
|
|
|
@ -34,7 +34,7 @@ extern unsigned apicid_mcp55;
|
|||
|
||||
extern unsigned bus_type[256];
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void *smp_write_config_table(void *v)
|
||||
{
|
||||
|
|
|
@ -61,7 +61,7 @@ static unsigned hcdnx[] =
|
|||
// 0x20202020,
|
||||
};
|
||||
|
||||
extern void get_sblk_pci1234(void);
|
||||
|
||||
|
||||
static unsigned get_bus_conf_done = 0;
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
|
||||
#include "mb_sysconf.h"
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void *smp_write_config_table(void *v)
|
||||
{
|
||||
|
|
|
@ -157,7 +157,7 @@ unsigned long acpi_fill_madt(unsigned long current)
|
|||
return current;
|
||||
}
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void update_ssdtx(void *ssdtx, int i)
|
||||
{
|
||||
|
|
|
@ -39,7 +39,7 @@ static unsigned hcdnx[] =
|
|||
// 0x20202020,
|
||||
};
|
||||
|
||||
extern void get_sblk_pci1234(void);
|
||||
|
||||
|
||||
static unsigned get_bus_conf_done = 0;
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ static void write_pirq_info(struct irq_info *pirq_info, uint8_t bus, uint8_t dev
|
|||
}
|
||||
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
unsigned long write_pirq_routing_table(unsigned long addr)
|
||||
{
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include <cpu/amd/amdk8_sysconf.h>
|
||||
#include "mb_sysconf.h"
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void *smp_write_config_table(void *v)
|
||||
{
|
||||
|
|
|
@ -92,7 +92,7 @@ unsigned long acpi_fill_madt(unsigned long current)
|
|||
return current;
|
||||
}
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void update_ssdtx(void *ssdtx, int i)
|
||||
{
|
||||
|
|
|
@ -59,7 +59,7 @@ u32 bus_type[256];
|
|||
u32 sbdn_rs690;
|
||||
u32 sbdn_sb600;
|
||||
|
||||
extern void get_sblk_pci1234(void);
|
||||
|
||||
|
||||
static u32 get_bus_conf_done = 0;
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
#include <cpu/amd/amdk8_sysconf.h>
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void write_pirq_info(struct irq_info *pirq_info, u8 bus, u8 devfn,
|
||||
u8 link0, u16 bitmap0, u8 link1, u16 bitmap1,
|
||||
|
|
|
@ -36,7 +36,7 @@ extern u32 bus_type[256];
|
|||
extern u32 sbdn_rs690;
|
||||
extern u32 sbdn_sb600;
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void *smp_write_config_table(void *v)
|
||||
{
|
||||
|
|
|
@ -51,7 +51,7 @@ unsigned hcdnx[] = { //HT Chain device num, actually it is unit id base of ever
|
|||
};
|
||||
unsigned bus_type[256];
|
||||
|
||||
extern void get_sblk_pci1234(void);
|
||||
|
||||
|
||||
static unsigned get_bus_conf_done = 0;
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
extern unsigned char bus_isa;
|
||||
extern unsigned char bus_ck804[6];
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
/**
|
||||
* Add one line to IRQ table.
|
||||
|
|
|
@ -36,7 +36,7 @@ extern unsigned apicid_ck804;
|
|||
|
||||
extern unsigned bus_type[256];
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void *smp_write_config_table(void *v)
|
||||
{
|
||||
|
|
|
@ -67,7 +67,7 @@ unsigned hcdnx[] = {
|
|||
|
||||
unsigned bus_type[256];
|
||||
|
||||
extern void get_sblk_pci1234(void);
|
||||
|
||||
|
||||
static unsigned get_bus_conf_done = 0;
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ static void write_pirq_info(struct irq_info *pirq_info, uint8_t bus,
|
|||
extern unsigned char bus_isa;
|
||||
extern unsigned char bus_mcp55[8]; // 1
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
unsigned long write_pirq_routing_table(unsigned long addr)
|
||||
{
|
||||
|
|
|
@ -31,7 +31,7 @@ extern unsigned char bus_mcp55[8]; // 1
|
|||
extern unsigned apicid_mcp55;
|
||||
extern unsigned bus_type[256];
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void *smp_write_config_table(void *v)
|
||||
{
|
||||
|
|
|
@ -62,7 +62,7 @@ static unsigned hcdnx[] =
|
|||
// 0x20202020,
|
||||
};
|
||||
|
||||
extern void get_sblk_pci1234(void);
|
||||
|
||||
|
||||
static unsigned get_bus_conf_done = 0;
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ static void write_pirq_info(struct irq_info *pirq_info, uint8_t bus, uint8_t dev
|
|||
pirq_info->rfu = rfu;
|
||||
}
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
unsigned long write_pirq_routing_table(unsigned long addr)
|
||||
{
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
#include "mb_sysconf.h"
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void *smp_write_config_table(void *v)
|
||||
{
|
||||
|
|
|
@ -64,7 +64,7 @@ unsigned hcdnx[] =
|
|||
};
|
||||
|
||||
|
||||
extern void get_sblk_pci1234(void);
|
||||
|
||||
|
||||
static unsigned get_bus_conf_done = 0;
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ static void write_pirq_info(struct irq_info *pirq_info, uint8_t bus, uint8_t dev
|
|||
pirq_info->rfu = rfu;
|
||||
}
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
unsigned long write_pirq_routing_table(unsigned long addr)
|
||||
{
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
#include "mb_sysconf.h"
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void *smp_write_config_table(void *v)
|
||||
{
|
||||
|
|
|
@ -49,7 +49,7 @@ unsigned long acpi_fill_madt(unsigned long current)
|
|||
struct mb_sysconf_t *m;
|
||||
//extern unsigned char bus_mcp55[8];
|
||||
//extern unsigned apicid_mcp55;
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
unsigned sbdn;
|
||||
struct resource *res;
|
||||
device_t dev;
|
||||
|
|
|
@ -52,7 +52,7 @@ static void write_pirq_info(struct irq_info *pirq_info, uint8_t bus, uint8_t dev
|
|||
pirq_info->rfu = rfu;
|
||||
}
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
unsigned long write_pirq_routing_table(unsigned long addr)
|
||||
{
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
#include "mb_sysconf.h"
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void *smp_write_config_table(void *v)
|
||||
{
|
||||
|
|
|
@ -61,7 +61,7 @@ unsigned hcdnx[] =
|
|||
};
|
||||
|
||||
|
||||
extern void get_sblk_pci1234(void);
|
||||
|
||||
|
||||
static unsigned get_bus_conf_done = 0;
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ static void write_pirq_info(struct irq_info *pirq_info, uint8_t bus, uint8_t dev
|
|||
pirq_info->rfu = rfu;
|
||||
}
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
unsigned long write_pirq_routing_table(unsigned long addr)
|
||||
{
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
#include "mb_sysconf.h"
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void *smp_write_config_table(void *v)
|
||||
{
|
||||
|
|
|
@ -61,7 +61,7 @@ unsigned hcdn[] =
|
|||
unsigned sbdn3;
|
||||
unsigned sbdnb;
|
||||
|
||||
extern void get_sblk_pci1234(void);
|
||||
|
||||
|
||||
static unsigned get_bus_conf_done = 0;
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ extern unsigned hcdn[];
|
|||
extern unsigned sbdn3;
|
||||
extern unsigned sbdnb;
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
unsigned long write_pirq_routing_table(unsigned long addr)
|
||||
{
|
||||
|
|
|
@ -32,7 +32,7 @@ extern unsigned hcdn[];
|
|||
extern unsigned sbdn3;
|
||||
extern unsigned sbdnb;
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void *smp_write_config_table(void *v)
|
||||
{
|
||||
|
|
|
@ -65,7 +65,7 @@ unsigned hcdnx[] =
|
|||
};
|
||||
unsigned sbdnb;
|
||||
|
||||
extern void get_sblk_pci1234(void);
|
||||
|
||||
|
||||
static unsigned get_bus_conf_done = 0;
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ static void write_pirq_info(struct irq_info *pirq_info, uint8_t bus, uint8_t dev
|
|||
extern unsigned char bus_isa;
|
||||
extern unsigned char bus_mcp55[8]; //1
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
unsigned long write_pirq_routing_table(unsigned long addr)
|
||||
{
|
||||
|
|
|
@ -33,7 +33,7 @@ extern unsigned apicid_mcp55;
|
|||
|
||||
extern unsigned char bus_pcix[3]; // under bus_mcp55_2
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void *smp_write_config_table(void *v)
|
||||
{
|
||||
|
|
|
@ -65,7 +65,7 @@ unsigned hcdnx[] =
|
|||
};
|
||||
unsigned sbdnb;
|
||||
|
||||
extern void get_sblk_pci1234(void);
|
||||
|
||||
|
||||
static unsigned get_bus_conf_done = 0;
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ static void write_pirq_info(struct irq_info *pirq_info, uint8_t bus, uint8_t dev
|
|||
extern unsigned char bus_isa;
|
||||
extern unsigned char bus_mcp55[8]; //1
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
unsigned long write_pirq_routing_table(unsigned long addr)
|
||||
{
|
||||
|
|
|
@ -33,7 +33,7 @@ extern unsigned apicid_mcp55;
|
|||
|
||||
extern unsigned char bus_pcix[3]; // under bus_mcp55_2
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void *smp_write_config_table(void *v)
|
||||
{
|
||||
|
|
|
@ -52,7 +52,7 @@ static void write_pirq_info(struct irq_info *pirq_info, uint8_t bus, uint8_t dev
|
|||
pirq_info->rfu = rfu;
|
||||
}
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
unsigned long write_pirq_routing_table(unsigned long addr)
|
||||
{
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
#include "mb_sysconf.h"
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void *smp_write_config_table(void *v)
|
||||
{
|
||||
|
|
|
@ -52,7 +52,7 @@ static void write_pirq_info(struct irq_info *pirq_info, uint8_t bus, uint8_t dev
|
|||
pirq_info->rfu = rfu;
|
||||
}
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
unsigned long write_pirq_routing_table(unsigned long addr)
|
||||
{
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
#include "mb_sysconf.h"
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
extern unsigned sbdn3;
|
||||
|
||||
static void *smp_write_config_table(void *v)
|
||||
|
|
|
@ -92,7 +92,7 @@ unsigned long acpi_fill_madt(unsigned long current)
|
|||
return current;
|
||||
}
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void update_ssdtx(void *ssdtx, int i)
|
||||
{
|
||||
|
|
|
@ -59,7 +59,7 @@ u32 bus_type[256];
|
|||
u32 sbdn_rs690;
|
||||
u32 sbdn_sb600;
|
||||
|
||||
extern void get_sblk_pci1234(void);
|
||||
|
||||
|
||||
static u32 get_bus_conf_done = 0;
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
#include <cpu/amd/amdk8_sysconf.h>
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void write_pirq_info(struct irq_info *pirq_info, u8 bus, u8 devfn,
|
||||
u8 link0, u16 bitmap0, u8 link1, u16 bitmap1,
|
||||
|
|
|
@ -36,7 +36,7 @@ extern u32 bus_type[256];
|
|||
extern u32 sbdn_rs690;
|
||||
extern u32 sbdn_sb600;
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void *smp_write_config_table(void *v)
|
||||
{
|
||||
|
|
|
@ -92,7 +92,7 @@ unsigned long acpi_fill_madt(unsigned long current)
|
|||
return current;
|
||||
}
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void update_ssdtx(void *ssdtx, int i)
|
||||
{
|
||||
|
|
|
@ -59,7 +59,7 @@ u32 bus_type[256];
|
|||
u32 sbdn_rs690;
|
||||
u32 sbdn_sb600;
|
||||
|
||||
extern void get_sblk_pci1234(void);
|
||||
|
||||
|
||||
static u32 get_bus_conf_done = 0;
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
#include <cpu/amd/amdk8_sysconf.h>
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void write_pirq_info(struct irq_info *pirq_info, u8 bus, u8 devfn,
|
||||
u8 link0, u16 bitmap0, u8 link1, u16 bitmap1,
|
||||
|
|
|
@ -36,7 +36,7 @@ extern u32 bus_type[256];
|
|||
extern u32 sbdn_rs690;
|
||||
extern u32 sbdn_sb600;
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void *smp_write_config_table(void *v)
|
||||
{
|
||||
|
|
|
@ -48,7 +48,7 @@ unsigned hcdnx[] =
|
|||
};
|
||||
unsigned sbdn3;
|
||||
|
||||
extern void get_sblk_pci1234(void);
|
||||
|
||||
|
||||
static unsigned get_bus_conf_done = 0;
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ extern unsigned char bus_8111_1;
|
|||
|
||||
extern unsigned sbdn3;
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
unsigned long write_pirq_routing_table(unsigned long addr)
|
||||
{
|
||||
|
|
|
@ -18,7 +18,7 @@ extern unsigned apicid_8131_2;
|
|||
|
||||
extern unsigned sbdn3;
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void *smp_write_config_table(void *v)
|
||||
{
|
||||
|
|
|
@ -50,7 +50,7 @@ unsigned hcdnx[] =
|
|||
unsigned sbdn3;
|
||||
unsigned sbdn5;
|
||||
|
||||
extern void get_sblk_pci1234(void);
|
||||
|
||||
|
||||
static unsigned get_bus_conf_done = 0;
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ extern unsigned char bus_8151_1;
|
|||
extern unsigned sbdn3;
|
||||
extern unsigned sbdn5;
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
unsigned long write_pirq_routing_table(unsigned long addr)
|
||||
{
|
||||
|
|
|
@ -21,7 +21,7 @@ extern unsigned apicid_8131_2;
|
|||
extern unsigned sbdn3;
|
||||
extern unsigned sbdn5;
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
|
||||
static void *smp_write_config_table(void *v)
|
||||
|
|
|
@ -55,7 +55,7 @@ unsigned hcdnx[] =
|
|||
unsigned sbdn3;
|
||||
unsigned coprocdn;
|
||||
|
||||
extern void get_sblk_pci1234(void);
|
||||
|
||||
|
||||
static unsigned get_bus_conf_done = 0;
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ extern unsigned char bus_coproc_0;
|
|||
extern unsigned sbdn3;
|
||||
extern unsigned coprocdn;
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
unsigned long write_pirq_routing_table(unsigned long addr)
|
||||
{
|
||||
|
|
|
@ -22,7 +22,7 @@ extern unsigned apicid_8131_2;
|
|||
|
||||
extern unsigned sbdn3;
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
static void *smp_write_config_table(void *v)
|
||||
{
|
||||
|
|
|
@ -52,7 +52,7 @@ unsigned hcdnx[] =
|
|||
|
||||
unsigned sbdn3;
|
||||
|
||||
extern void get_sblk_pci1234(void);
|
||||
|
||||
|
||||
static unsigned get_bus_conf_done = 0;
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ extern unsigned char bus_8131_2; //9
|
|||
|
||||
extern unsigned sbdn3;
|
||||
|
||||
extern void get_bus_conf(void);
|
||||
|
||||
|
||||
unsigned long write_pirq_routing_table(unsigned long addr)
|
||||
{
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue