debug-macro.S 530 B

1234567891011121314151617181920
  1. /*
  2. * Debugging macro include header
  3. *
  4. * Copyright 1994-1999 Russell King
  5. * Copyright 2008 Cavium Networks
  6. * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks
  7. *
  8. * This file is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License, Version 2, as
  10. * published by the Free Software Foundation.
  11. */
  12. .macro addruart,rp,rv,tmp
  13. mov \rp, #0x00009000
  14. orr \rv, \rp, #0xf0000000 @ virtual base
  15. orr \rp, \rp, #0x10000000
  16. .endm
  17. #include <asm/hardware/debug-pl01x.S>