Subversion Repositories HelenOS

Rev

Rev 3675 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3675 Rev 4377
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(void)
42
{
40
{
43
    if (!quiet)
-
 
44
        printf("If kconsole is compiled in, you should enter debug mode now.\n");
41
    TPRINTF("If kconsole is compiled in, you should enter debug mode now.\n");
45
   
42
   
46
    asm volatile (
43
    asm volatile (
47
        "break\n"
44
        "break\n"
48
    );
45
    );
49
   
46
   
50
    return "Back from debug mode";
47
    return "Back from debug mode";
51
}
48
}
52
 
-
 
53
#endif
-