proto.h 755 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef _ASM_X8664_PROTO_H
  2. #define _ASM_X8664_PROTO_H 1
  3. #include <asm/ldt.h>
  4. /* misc architecture specific prototypes */
  5. extern void early_idt_handler(void);
  6. extern void init_memory_mapping(unsigned long start, unsigned long end);
  7. extern void system_call(void);
  8. extern void syscall_init(void);
  9. extern void ia32_syscall(void);
  10. extern void ia32_cstar_target(void);
  11. extern void ia32_sysenter_target(void);
  12. extern void reserve_bootmem_generic(unsigned long phys, unsigned len);
  13. extern void syscall32_cpu_init(void);
  14. extern void check_efer(void);
  15. extern int reboot_force;
  16. long do_arch_prctl(struct task_struct *task, int code, unsigned long addr);
  17. #define round_up(x,y) (((x) + (y) - 1) & ~((y)-1))
  18. #define round_down(x,y) ((x) & ~((y)-1))
  19. #endif