4 * Copyright (C) 2001, 2002, 2007, 2012 Imagination Technologies.
6 * This program is free software; you can redistribute it and/or modify it under
7 * the terms of the GNU General Public License version 2 as published by the
8 * Free Software Foundation.
10 * Defines __TBILogF trap code for debugging messages and __TBICont for debug
11 * assert to be implemented on.
17 * Perform console printf using external debugger or host support
22 .type ___TBILogF,function
24 MSETL [A0StP],D0Ar6,D0Ar4,D0Ar2
29 .size ___TBILogF,.-___TBILogF
32 * Perform wait for continue under control of the debugger
37 .type ___TBICont,function
40 MSETL [A0StP],D0Ar6,D0Ar4,D0Ar2
41 SWITCH #0xC30006 /* Returns if we are to continue */
42 SUB A0StP,A0StP,#(8*3)
43 MOV PC,D1RtP /* Return */
44 .size ___TBICont,.-___TBICont