vsyscall_emu_64.S 550 B

123456789101112131415161718192021222324252627
  1. /*
  2. * vsyscall_emu_64.S: Vsyscall emulation page
  3. *
  4. * Copyright (c) 2011 Andy Lutomirski
  5. *
  6. * Subject to the GNU General Public License, version 2
  7. */
  8. #include <linux/linkage.h>
  9. #include <asm/irq_vectors.h>
  10. /* The unused parts of the page are filled with 0xcc by the linker script. */
  11. .section .vsyscall_0, "a"
  12. ENTRY(vsyscall_0)
  13. int $VSYSCALL_EMU_VECTOR
  14. END(vsyscall_0)
  15. .section .vsyscall_1, "a"
  16. ENTRY(vsyscall_1)
  17. int $VSYSCALL_EMU_VECTOR
  18. END(vsyscall_1)
  19. .section .vsyscall_2, "a"
  20. ENTRY(vsyscall_2)
  21. int $VSYSCALL_EMU_VECTOR
  22. END(vsyscall_2)