Ticket #6032: 0004-Insert-panic-for-testing.patch

File 0004-Insert-panic-for-testing.patch, 720 bytes (added by andreasf, 11 years ago)

test case: panic

  • src/system/kernel/main.cpp

    From 155f40d3b645b89f17c3d8ee9617103f898a7d08 Mon Sep 17 00:00:00 2001
    From: Andreas Faerber <andreas.faerber@web.de>
    Date: Sat, 5 Jun 2010 13:50:25 +0200
    Subject: [PATCH 4/4] Insert panic for testing
    
    ---
     src/system/kernel/main.cpp |    1 +
     1 files changed, 1 insertions(+), 0 deletions(-)
    
    diff --git a/src/system/kernel/main.cpp b/src/system/kernel/main.cpp
    index bd5cee8..9305861 100644
    a b _start(kernel_args *bootKernelArgs, int currentCPU)  
    147147        int_init_post_vm(&sKernelArgs);
    148148        cpu_init_post_vm(&sKernelArgs);
    149149        commpage_init();
     150panic("Test!");
    150151        TRACE("init system info\n");
    151152        system_info_init(&sKernelArgs);
    152153