Changeset 623 for trunk/kernel/kern/process.c
- Timestamp:
- Mar 6, 2019, 4:37:15 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/process.c
r619 r623 29 29 #include <hal_uspace.h> 30 30 #include <hal_irqmask.h> 31 #include <hal_vmm.h> 31 32 #include <errno.h> 32 33 #include <printk.h> … … 486 487 } 487 488 488 // FIXME decrement the refcount on file pointer by vfs_bin_xp [AG] 489 // FIXME decrement the refcount on file pointer for vfs_bin_xp [AG] 490 489 491 // FIXME close all open files [AG] 492 490 493 // FIXME synchronize dirty files [AG] 491 494 … … 1487 1490 printk("\n[ERROR] in %s : cannot initialise VMM for %s\n", __FUNCTION__ , path ); 1488 1491 vfs_close( file_xp , file_id ); 1489 // FIXME restore old process VMM 1492 // FIXME restore old process VMM [AG] 1490 1493 return -1; 1491 1494 } … … 1505 1508 printk("\n[ERROR] in %s : failed to access <%s>\n", __FUNCTION__ , path ); 1506 1509 vfs_close( file_xp , file_id ); 1507 // FIXME restore old process VMM 1510 // FIXME restore old process VMM [AG] 1508 1511 return -1; 1509 1512 } … … 1535 1538 1536 1539 1537 /////////////////////////////////////////////// 1538 void process_zero_create( process_t * process ) 1540 //////////////////////////////////////////////// 1541 void process_zero_create( process_t * process, 1542 boot_info_t * info ) 1539 1543 { 1540 1544 error_t error; … … 1566 1570 process->parent_xp = XPTR( local_cxy , process ); 1567 1571 process->term_state = 0; 1572 1573 // initialise kernel GPT and VSL, depending on architecture 1574 hal_vmm_kernel_init( info ); 1568 1575 1569 1576 // reset th_tbl[] array and associated fields
Note: See TracChangeset
for help on using the changeset viewer.