Changeset 415 for trunk/kernel/mm/vmm.h


Ignore:
Timestamp:
Dec 22, 2017, 1:16:59 PM (4 years ago)
Author:
alain
Message:

Few bugs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/mm/vmm.h

    r409 r415  
    137137 * - The "stack" vsegs are dynamically created by the thread_user_create() function.
    138138 * - The "file", "anon", "remote" vsegs are dynamically created by the mmap() syscall.
    139  * TODO : Any error in this function gives a kernel panic => improve error handling.
    140139 *********************************************************************************************
    141140 * @ process   : pointer on process descriptor
    142  ********************************************************************************************/
    143 void vmm_init( struct process_s * process );
     141 * @ return 0 if success / return -1 if failure.
     142 ********************************************************************************************/
     143error_t vmm_init( struct process_s * process );
    144144
    145145/*********************************************************************************************
     
    169169 * @ child_process     : local pointer on local child process descriptor.
    170170 * @ parent_process_xp : extended pointer on remote parent process descriptor.
    171  * @ return 0 if success / return ENOMEM if failure.
     171 * @ return 0 if success / return -1 if failure.
    172172 ********************************************************************************************/
    173173error_t vmm_fork_copy( struct process_s * child_process,
Note: See TracChangeset for help on using the changeset viewer.