mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
Remove some unused variables/externs that have been copied too many times...
This commit is contained in:
parent
b409107773
commit
378d88b3dc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=238329
@ -115,10 +115,6 @@ extern u_int undefined_handler_address;
|
||||
|
||||
struct pv_addr kernel_pt_table[NUM_KERNEL_PTS];
|
||||
|
||||
extern void *_end;
|
||||
|
||||
extern int *end;
|
||||
|
||||
struct pcpu __pcpu;
|
||||
struct pcpu *pcpup = &__pcpu;
|
||||
|
||||
@ -126,7 +122,6 @@ struct pcpu *pcpup = &__pcpu;
|
||||
|
||||
vm_paddr_t phys_avail[10];
|
||||
vm_paddr_t dump_avail[4];
|
||||
vm_offset_t physical_pages;
|
||||
|
||||
struct pv_addr systempage;
|
||||
struct pv_addr msgbufpv;
|
||||
|
@ -21,10 +21,16 @@
|
||||
ident KB920X
|
||||
|
||||
include "../at91/std.kb920x"
|
||||
# bring in the sam specific timers and such
|
||||
#include "../at91/std.at91sam9"
|
||||
nodevice at91rm9200
|
||||
device at91sam9
|
||||
device at91sam9x25
|
||||
# The AT91 platform doesn't use /boot/loader, so we have to statically wire
|
||||
# hints.
|
||||
hints "KB920X.hints"
|
||||
#makeoptions MODULES_OVERRIDE=""
|
||||
makeoptions MODULES_OVERRIDE=""
|
||||
options LINUX_BOOT_ABI
|
||||
|
||||
makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
|
||||
options DDB
|
||||
@ -81,7 +87,7 @@ device lxtphy
|
||||
#options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
|
||||
|
||||
device md
|
||||
device at91_twi # TWI: Two Wire Interface
|
||||
#device at91_twi # TWI: Two Wire Interface
|
||||
device at91_spi # SPI:
|
||||
device spibus
|
||||
# MMC/SD
|
||||
@ -137,6 +143,8 @@ device wlan_wep # 802.11 WEP support
|
||||
device wlan_ccmp # 802.11 CCMP support
|
||||
device wlan_tkip # 802.11 TKIP support
|
||||
device wlan_amrr # AMRR transmit rate control algorithm
|
||||
|
||||
#device cfi
|
||||
options IEEE80211_SUPPORT_MESH
|
||||
|
||||
options AH_SUPPORT_AR5416
|
||||
|
@ -103,10 +103,6 @@ extern u_int undefined_handler_address;
|
||||
|
||||
struct pv_addr kernel_pt_table[NUM_KERNEL_PTS];
|
||||
|
||||
extern void *_end;
|
||||
|
||||
extern int *end;
|
||||
|
||||
struct pcpu __pcpu;
|
||||
struct pcpu *pcpup = &__pcpu;
|
||||
|
||||
@ -114,7 +110,6 @@ struct pcpu *pcpup = &__pcpu;
|
||||
|
||||
vm_paddr_t phys_avail[10];
|
||||
vm_paddr_t dump_avail[4];
|
||||
vm_offset_t physical_pages;
|
||||
|
||||
struct pv_addr systempage;
|
||||
struct pv_addr msgbufpv;
|
||||
|
@ -347,7 +347,9 @@ atomic_readandclear_32(volatile u_int32_t *p)
|
||||
#define atomic_cmpset_ptr(dst, old, new) \
|
||||
atomic_cmpset_32((volatile u_int *)(dst), (u_int)(old), (u_int)(new))
|
||||
#define atomic_cmpset_rel_ptr atomic_cmpset_ptr
|
||||
#define atomic_cmpset_acq_ptr atomic_cmpset_ptr
|
||||
#define atomic_cmpset_acq_ptr(dst, old, new) \
|
||||
atomic_cmpset_ptr((volatile uint32_t *)(dst), (volatile uint32_t)(old), \
|
||||
(volatile uint32_t)(new))
|
||||
#define atomic_store_ptr atomic_store_32
|
||||
#define atomic_store_rel_ptr atomic_store_ptr
|
||||
|
||||
|
@ -115,16 +115,11 @@ extern unsigned char _edata[];
|
||||
extern unsigned char __bss_start[];
|
||||
extern unsigned char _end[];
|
||||
|
||||
#ifdef DDB
|
||||
extern vm_offset_t ksym_start, ksym_end;
|
||||
#endif
|
||||
|
||||
extern u_int data_abort_handler_address;
|
||||
extern u_int prefetch_abort_handler_address;
|
||||
extern u_int undefined_handler_address;
|
||||
|
||||
extern vm_offset_t pmap_bootstrap_lastaddr;
|
||||
extern int *end;
|
||||
|
||||
struct pv_addr kernel_pt_table[KERNEL_PT_MAX];
|
||||
struct pcpu __pcpu;
|
||||
@ -134,7 +129,6 @@ struct pcpu *pcpup = &__pcpu;
|
||||
|
||||
vm_paddr_t phys_avail[10];
|
||||
vm_paddr_t dump_avail[4];
|
||||
vm_offset_t physical_pages;
|
||||
vm_offset_t pmap_bootstrap_lastaddr;
|
||||
|
||||
const struct pmap_devmap *pmap_devmap_bootstrap_table;
|
||||
|
@ -118,10 +118,6 @@ extern u_int undefined_handler_address;
|
||||
|
||||
struct pv_addr kernel_pt_table[NUM_KERNEL_PTS];
|
||||
|
||||
extern void *_end;
|
||||
|
||||
extern int *end;
|
||||
|
||||
struct pcpu __pcpu;
|
||||
struct pcpu *pcpup = &__pcpu;
|
||||
|
||||
@ -129,7 +125,6 @@ struct pcpu *pcpup = &__pcpu;
|
||||
|
||||
vm_paddr_t phys_avail[10];
|
||||
vm_paddr_t dump_avail[4];
|
||||
vm_offset_t physical_pages;
|
||||
|
||||
struct pv_addr systempage;
|
||||
struct pv_addr msgbufpv;
|
||||
@ -203,10 +198,6 @@ static const struct pmap_devmap s3c24x0_devmap[] = {
|
||||
#define ioreg_read32(a) (*(volatile uint32_t *)(a))
|
||||
#define ioreg_write32(a,v) (*(volatile uint32_t *)(a)=(v))
|
||||
|
||||
#ifdef DDB
|
||||
extern vm_offset_t ksym_start, ksym_end;
|
||||
#endif
|
||||
|
||||
struct arm32_dma_range s3c24x0_range = {
|
||||
.dr_sysbase = 0,
|
||||
.dr_busbase = 0,
|
||||
|
@ -119,14 +119,10 @@ extern u_int undefined_handler_address;
|
||||
|
||||
struct pv_addr kernel_pt_table[NUM_KERNEL_PTS];
|
||||
|
||||
extern void *_end;
|
||||
|
||||
extern vm_offset_t sa1110_uart_vaddr;
|
||||
|
||||
extern vm_offset_t sa1_cache_clean_addr;
|
||||
|
||||
extern int *end;
|
||||
|
||||
struct pcpu __pcpu;
|
||||
struct pcpu *pcpup = &__pcpu;
|
||||
|
||||
@ -140,7 +136,6 @@ vm_paddr_t dump_avail[4];
|
||||
vm_paddr_t physical_start;
|
||||
vm_paddr_t physical_end;
|
||||
vm_paddr_t physical_freestart;
|
||||
vm_offset_t physical_pages;
|
||||
|
||||
struct pv_addr systempage;
|
||||
struct pv_addr irqstack;
|
||||
|
@ -115,10 +115,6 @@ extern u_int undefined_handler_address;
|
||||
|
||||
struct pv_addr kernel_pt_table[NUM_KERNEL_PTS];
|
||||
|
||||
extern void *_end;
|
||||
|
||||
extern int *end;
|
||||
|
||||
struct pcpu __pcpu;
|
||||
struct pcpu *pcpup = &__pcpu;
|
||||
|
||||
@ -126,7 +122,6 @@ struct pcpu *pcpup = &__pcpu;
|
||||
|
||||
vm_paddr_t phys_avail[10];
|
||||
vm_paddr_t dump_avail[4];
|
||||
vm_offset_t physical_pages;
|
||||
|
||||
struct pv_addr systempage;
|
||||
struct pv_addr msgbufpv;
|
||||
|
@ -115,10 +115,6 @@ extern u_int undefined_handler_address;
|
||||
|
||||
struct pv_addr kernel_pt_table[NUM_KERNEL_PTS];
|
||||
|
||||
extern void *_end;
|
||||
|
||||
extern int *end;
|
||||
|
||||
struct pcpu __pcpu;
|
||||
struct pcpu *pcpup = &__pcpu;
|
||||
|
||||
@ -126,7 +122,6 @@ struct pcpu *pcpup = &__pcpu;
|
||||
|
||||
vm_paddr_t phys_avail[10];
|
||||
vm_paddr_t dump_avail[4];
|
||||
vm_offset_t physical_pages;
|
||||
|
||||
struct pv_addr systempage;
|
||||
struct pv_addr msgbufpv;
|
||||
|
@ -117,7 +117,6 @@ extern u_int prefetch_abort_handler_address;
|
||||
extern u_int undefined_handler_address;
|
||||
|
||||
struct pv_addr kernel_pt_table[NUM_KERNEL_PTS];
|
||||
extern int *end;
|
||||
|
||||
struct pcpu __pcpu;
|
||||
struct pcpu *pcpup = &__pcpu;
|
||||
@ -126,7 +125,6 @@ struct pcpu *pcpup = &__pcpu;
|
||||
|
||||
vm_paddr_t phys_avail[10];
|
||||
vm_paddr_t dump_avail[4];
|
||||
vm_offset_t physical_pages;
|
||||
|
||||
struct pv_addr systempage;
|
||||
struct pv_addr msgbufpv;
|
||||
|
@ -119,10 +119,6 @@ extern u_int undefined_handler_address;
|
||||
|
||||
struct pv_addr kernel_pt_table[NUM_KERNEL_PTS];
|
||||
|
||||
extern void *_end;
|
||||
|
||||
extern int *end;
|
||||
|
||||
struct pcpu __pcpu;
|
||||
struct pcpu *pcpup = &__pcpu;
|
||||
|
||||
@ -130,7 +126,6 @@ struct pcpu *pcpup = &__pcpu;
|
||||
|
||||
vm_paddr_t phys_avail[10];
|
||||
vm_paddr_t dump_avail[4];
|
||||
vm_offset_t physical_pages;
|
||||
|
||||
struct pv_addr systempage;
|
||||
struct pv_addr msgbufpv;
|
||||
|
@ -115,10 +115,6 @@ extern u_int undefined_handler_address;
|
||||
|
||||
struct pv_addr kernel_pt_table[NUM_KERNEL_PTS];
|
||||
|
||||
extern void *_end;
|
||||
|
||||
extern int *end;
|
||||
|
||||
struct pcpu __pcpu;
|
||||
struct pcpu *pcpup = &__pcpu;
|
||||
|
||||
@ -126,7 +122,6 @@ struct pcpu *pcpup = &__pcpu;
|
||||
|
||||
vm_paddr_t phys_avail[PXA2X0_SDRAM_BANKS * 2 + 4];
|
||||
vm_paddr_t dump_avail[PXA2X0_SDRAM_BANKS * 2 + 4];
|
||||
vm_offset_t physical_pages;
|
||||
|
||||
struct pv_addr systempage;
|
||||
struct pv_addr msgbufpv;
|
||||
|
Loading…
Reference in New Issue
Block a user