7 #include <linux/interrupt.h>
9 #include <uapi/asm/setup.h>
11 extern char reboot_command[];
14 /* The CPU that was used for booting
15 * Only sun4d + leon may have boot_cpu_id != 0
17 extern unsigned char boot_cpu_id;
19 extern unsigned long empty_zero_page[PAGE_SIZE / sizeof(unsigned long)];
21 extern int serial_console;
22 static inline int con_is_present(void)
24 return serial_console ? 0 : 1;
28 extern volatile unsigned char *fdc_status;
29 extern char *pdma_vaddr;
30 extern unsigned long pdma_size;
31 extern volatile int doing_pdma;
33 /* This is software state */
34 extern char *pdma_base;
35 extern unsigned long pdma_areasize;
37 int sparc_floppy_request_irq(unsigned int irq, irq_handler_t irq_handler);
40 extern unsigned long cmdline_memory_size;
43 void __init device_scan(void);
46 unsigned long safe_compute_effective_address(struct pt_regs *, unsigned int);
51 void __init start_early_boot(void);
54 int handle_ldf_stq(u32 insn, struct pt_regs *regs);
55 void handle_ld_nf(u32 insn, struct pt_regs *regs);
58 extern atomic_t dcpage_flushes;
59 extern atomic_t dcpage_flushes_xcall;
61 extern int sysctl_tsb_ratio;
63 #ifdef CONFIG_SERIAL_SUNHV
64 void sunhv_migrate_hvcons_irq(int cpu);
67 void sun_do_break(void);
68 extern int stop_a_enabled;
69 extern int scons_pwroff;
71 #endif /* _SPARC_SETUP_H */