fluctuationAnalysisOfFireHydrantData.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*
  2. * This file is subject to the terms and conditions of the GNU General Public
  3. * License. See the file "COPYING" in the main directory of this archive
  4. * for more details.
  5. *
  6. * Copyright (C) 1994 Waldorf GMBH
  7. * Copyright (C) 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003 Ralf Baechle
  8. * Copyright (C) 1996 Paul M. Antoine
  9. * Copyright (C) 1999, 2000 Silicon Graphics, Inc.
  10. */
  11. #ifndef _ASM_PROCESSOR_H
  12. #define _ASM_PROCESSOR_H
  13. #include <linux/cpumask.h>
  14. #include <linux/threads.h>
  15. #include <asm/cachectl.h>
  16. #include <asm/cpu.h>
  17. #include <asm/cpu-info.h>
  18. #include <asm/mipsregs.h>
  19. #include <asm/prefetch.h>
  20. /*
  21. * Return current * instruction pointer ("program counter").
  22. */
  23. #define current_text_addr() ({ __label__ _l; _l: &&_l;})
  24. /*
  25. * System setup and hardware flags..
  26. */
  27. extern void (*cpu_wait)(void);
  28. extern unsigned int vced_count, vcei_count;
  29. /*
  30. * MIPS does have an arch_pick_mmap_layout()
  31. */
  32. #define HAVE_ARCH_PICK_MMAP_LAYOUT 1
  33. /*
  34. * A special page (the vdso) is mapped into all processes at the very
  35. * top of the virtual memory space.
  36. */
  37. #define SPECIAL_PAGES_SIZE PAGE_SIZE
  38. #ifdef CONFIG_32BIT
  39. /*
  40. * User space process size: 2GB. This is hardcoded into a few places,
  41. * so don't change it unless you know what you are doing.
  42. */
  43. #define TASK_SIZE 0x7fff8000UL
  44. #ifdef __KERNEL__
  45. #define STACK_TOP_MAX TASK_SIZE