processor.h (cdd5b5a9761fd66d17586e4f4ba6588c70e640ea) processor.h (5f74f820f6fc844b95f9e5e406e0a07d97510420)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * include/asm-parisc/processor.h
4 *
5 * Copyright (C) 1994 Linus Torvalds
6 * Copyright (C) 2001 Grant Grundler
7 */
8

--- 33 unchanged lines hidden (view full) ---

42/* XXX: STACK_TOP actually should be STACK_BOTTOM for parisc.
43 * prumpf */
44
45#define STACK_TOP TASK_SIZE
46#define STACK_TOP_MAX DEFAULT_TASK_SIZE
47
48#ifndef __ASSEMBLY__
49
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * include/asm-parisc/processor.h
4 *
5 * Copyright (C) 1994 Linus Torvalds
6 * Copyright (C) 2001 Grant Grundler
7 */
8

--- 33 unchanged lines hidden (view full) ---

42/* XXX: STACK_TOP actually should be STACK_BOTTOM for parisc.
43 * prumpf */
44
45#define STACK_TOP TASK_SIZE
46#define STACK_TOP_MAX DEFAULT_TASK_SIZE
47
48#ifndef __ASSEMBLY__
49
50struct rlimit;
51unsigned long mmap_upper_limit(struct rlimit *rlim_stack);
50unsigned long calc_max_stack_size(unsigned long stack_max);
51
52/*
53 * Data detected about CPUs at boot time which is the same for all CPU's.
54 * HP boxes are SMP - ie identical processors.
55 *
56 * FIXME: some CPU rev info may be processor specific...
57 */

--- 224 unchanged lines hidden (view full) ---

282#ifdef CONFIG_PA8X00
283extern int _parisc_requires_coherency;
284#define parisc_requires_coherency() _parisc_requires_coherency
285#else
286#define parisc_requires_coherency() (0)
287#endif
288
289extern int running_on_qemu;
52unsigned long calc_max_stack_size(unsigned long stack_max);
53
54/*
55 * Data detected about CPUs at boot time which is the same for all CPU's.
56 * HP boxes are SMP - ie identical processors.
57 *
58 * FIXME: some CPU rev info may be processor specific...
59 */

--- 224 unchanged lines hidden (view full) ---

284#ifdef CONFIG_PA8X00
285extern int _parisc_requires_coherency;
286#define parisc_requires_coherency() _parisc_requires_coherency
287#else
288#define parisc_requires_coherency() (0)
289#endif
290
291extern int running_on_qemu;
292extern int parisc_narrow_firmware;
290
291extern void __noreturn toc_intr(struct pt_regs *regs);
292extern void toc_handler(void);
293extern unsigned int toc_handler_size;
294extern unsigned int toc_handler_csum;
295extern void do_cpu_irq_mask(struct pt_regs *);
296extern irqreturn_t timer_interrupt(int, void *);
297extern irqreturn_t ipi_interrupt(int, void *);

--- 7 unchanged lines hidden (view full) ---

305extern void do_notify_resume(struct pt_regs *, long);
306extern long do_syscall_trace_enter(struct pt_regs *);
307extern void do_syscall_trace_exit(struct pt_regs *);
308
309/* CPU startup and info */
310struct seq_file;
311extern void early_trap_init(void);
312extern void collect_boot_cpu_data(void);
293
294extern void __noreturn toc_intr(struct pt_regs *regs);
295extern void toc_handler(void);
296extern unsigned int toc_handler_size;
297extern unsigned int toc_handler_csum;
298extern void do_cpu_irq_mask(struct pt_regs *);
299extern irqreturn_t timer_interrupt(int, void *);
300extern irqreturn_t ipi_interrupt(int, void *);

--- 7 unchanged lines hidden (view full) ---

308extern void do_notify_resume(struct pt_regs *, long);
309extern long do_syscall_trace_enter(struct pt_regs *);
310extern void do_syscall_trace_exit(struct pt_regs *);
311
312/* CPU startup and info */
313struct seq_file;
314extern void early_trap_init(void);
315extern void collect_boot_cpu_data(void);
316extern void btlb_init_per_cpu(void);
313extern int show_cpuinfo (struct seq_file *m, void *v);
314
315/* driver code in driver/parisc */
317extern int show_cpuinfo (struct seq_file *m, void *v);
318
319/* driver code in driver/parisc */
316extern void gsc_init(void);
317extern void processor_init(void);
320extern void processor_init(void);
318extern void ccio_init(void);
319extern void hppb_init(void);
320extern void dino_init(void);
321extern void iosapic_init(void);
322extern void lba_init(void);
323extern void sba_init(void);
324extern void parisc_eisa_init(void);
325struct parisc_device;
326struct resource;
327extern void sba_distributed_lmmio(struct parisc_device *, struct resource *);
328extern void sba_directed_lmmio(struct parisc_device *, struct resource *);
329extern void lba_set_iregs(struct parisc_device *lba, u32 ibase, u32 imask);
330extern void ccio_cujo20_fixup(struct parisc_device *dev, u32 iovp);
331
332#endif /* __ASSEMBLY__ */
333
334#endif /* __ASM_PARISC_PROCESSOR_H */
321struct parisc_device;
322struct resource;
323extern void sba_distributed_lmmio(struct parisc_device *, struct resource *);
324extern void sba_directed_lmmio(struct parisc_device *, struct resource *);
325extern void lba_set_iregs(struct parisc_device *lba, u32 ibase, u32 imask);
326extern void ccio_cujo20_fixup(struct parisc_device *dev, u32 iovp);
327
328#endif /* __ASSEMBLY__ */
329
330#endif /* __ASM_PARISC_PROCESSOR_H */