Ignore:
Timestamp:
Dec 5, 2017, 4:20:07 PM (6 years ago)
Author:
alain
Message:

Fix several bugs in the fork() syscall.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/generic/hal_interrupt.h

    r17 r408  
    2727#include <hal_types.h>
    2828
    29 //////////////////////////////////////////////////////////////////////////////////////////
     29///////////////////////////////////////////////////////////////////////////////////////
    3030//     Architecture specific interrupt handler API
    3131//
    32 // The interrupted thread context (core registers) has been saved by the hal_kentry
    33 // function, in the cpu_uzone array stored in the user thread descriptor (for a core in
    34 // user mode), or in the kernel stack (for a core in kernel mode).
    35 // This array can be used (or not) by the specific interrupt handler.
    36 //
    37 // Any architecture specific implementation must implement this API.
    38 //////////////////////////////////////////////////////////////////////////////////////////
     32// The interrupted thread context (CPU registers) has been saved by the hal_kentry
     33// function, in the uzone array, that can be accessed through the "uzone" pointer
     34// stored in the thread descriptor.
     35///////////////////////////////////////////////////////////////////////////////////////
    3936
    40 /**** forward declaration  ****/
    4137
    42 struct thread_s;
    43 
    44 /******************************************************************************************
     38/**************************************************************************************
    4539 * This function implements the TSAR_MIPS32 specific interrupt handler.
    46  ******************************************************************************************
    47  * @ this     : pointer on the interrupted thread.
    48  * @ regs_tbl : array containing the core registers values, saved by hal_kentry.
    49  *****************************************************************************************/
    50 void hal_do_interrupt( struct thread_s * this,
    51                                reg_t           * regs_tbl );
     40 *************************************************************************************/
     41void hal_do_interrupt();
    5242
    5343
Note: See TracChangeset for help on using the changeset viewer.