blob: 9da46af3b0e96a656e7636df9d228857c789e2d6 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _ASM_X8664_PROTO_H
2#define _ASM_X8664_PROTO_H 1
3
4#include <asm/ldt.h>
5
6/* misc architecture specific prototypes */
7
Linus Torvalds1da177e2005-04-16 15:20:36 -07008extern void early_idt_handler(void);
9
Linus Torvalds1da177e2005-04-16 15:20:36 -070010extern void init_memory_mapping(unsigned long start, unsigned long end);
11
Thomas Gleixner84c873e2008-01-30 13:30:19 +010012extern void system_call(void);
Linus Torvalds1da177e2005-04-16 15:20:36 -070013extern void syscall_init(void);
14
15extern void ia32_syscall(void);
Thomas Gleixner84c873e2008-01-30 13:30:19 +010016extern void ia32_cstar_target(void);
17extern void ia32_sysenter_target(void);
Linus Torvalds1da177e2005-04-16 15:20:36 -070018
Linus Torvalds1da177e2005-04-16 15:20:36 -070019extern void reserve_bootmem_generic(unsigned long phys, unsigned len);
Linus Torvalds1da177e2005-04-16 15:20:36 -070020
Linus Torvalds1da177e2005-04-16 15:20:36 -070021extern void syscall32_cpu_init(void);
22
Linus Torvalds1da177e2005-04-16 15:20:36 -070023extern void check_efer(void);
24
Linus Torvalds1da177e2005-04-16 15:20:36 -070025extern int reboot_force;
Linus Torvalds1da177e2005-04-16 15:20:36 -070026
Linus Torvalds1da177e2005-04-16 15:20:36 -070027long do_arch_prctl(struct task_struct *task, int code, unsigned long addr);
28
Joe Perches708c5662008-03-23 01:03:16 -070029#define round_up(x, y) (((x) + (y) - 1) & ~((y) - 1))
30#define round_down(x, y) ((x) & ~((y) - 1))
Linus Torvalds1da177e2005-04-16 15:20:36 -070031
32#endif