Subversion Repositories HelenOS

Rev

Rev 3386 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3386 Rev 4153
Line 23... Line 23...
23
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
-
 
29
#ifdef mips32
-
 
30
 
28
 
31
#include <print.h>
29
#include <print.h>
32
#include <debug.h>
30
#include <debug.h>
33
 
31
 
34
#include <test.h>
32
#include <test.h>
Line 36... Line 34...
36
#include <proc/thread.h>
34
#include <proc/thread.h>
37
#include <time/delay.h>
35
#include <time/delay.h>
38
 
36
 
39
#include <arch.h>
37
#include <arch.h>
40
 
38
 
41
char * test_mips1(bool quiet)
39
char *test_mips1(bool quiet)
42
{
40
{
43
    if (!quiet)
41
    if (!quiet)
44
        printf("You should enter kconsole debug mode now.\n");
42
        printf("If kconsole is compiled in, you should enter debug mode now.\n");
45
   
43
   
46
    asm volatile (
44
    asm volatile (
47
        "break\n"
45
        "break\n"
48
    );
46
    );
49
   
47
   
50
    return "Back from debug mode";
48
    return "Back from debug mode";
51
}
49
}
52
 
-
 
53
#endif
-