/trunk/kernel/test/debug/mips1.c |
---|
25,6 → 25,8 |
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
#ifdef mips32 |
#include <print.h> |
#include <debug.h> |
36,9 → 38,10 |
#include <arch.h> |
char *test_mips1(void) |
char * test_mips1(bool quiet) |
{ |
TPRINTF("If kconsole is compiled in, you should enter debug mode now.\n"); |
if (!quiet) |
printf("You should enter kconsole debug mode now.\n"); |
asm volatile ( |
"break\n" |
46,3 → 49,5 |
return "Back from debug mode"; |
} |
#endif |