Changeset 407 for trunk/hal/x86_64/core


Ignore:
Timestamp:
Nov 7, 2017, 3:08:12 PM (7 years ago)
Author:
alain
Message:

First implementation of fork/exec.

Location:
trunk/hal/x86_64/core
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/x86_64/core/hal_ppm.c

    r307 r407  
    115115}
    116116
    117 void hal_core_init(boot_info_t *info)
    118 {
    119         /* Don't need to do anything */
    120 }
  • trunk/hal/x86_64/core/hal_types.h

    r320 r407  
    5959typedef uint64_t                    vaddr_t; // XXX
    6060typedef uint64_t                 pt_entry_t; // XXX
    61 
    62 /***************************************************************************
    63  * Pthread related types
    64  **************************************************************************/
    65 
    66 typedef uint32_t      pthread_t;
    67 typedef uint32_t      pthread_mutexattr_t;
    68 typedef uint32_t      pthread_barrier_t;
    69 typedef uint32_t      pthread_barrierattr_t;
    70 typedef uint32_t      sem_t;
    71 typedef uint32_t      pthread_cond_t;
    72 typedef uint32_t      pthread_condattr_t;
    73 typedef uint32_t      pthread_rwlock_t;
    74 typedef uint32_t      pthread_rwlockattr_t;
    75 typedef uint32_t      pthread_key_t;
    7661
    7762/***************************************************************************
  • trunk/hal/x86_64/core/hal_uspace.c

    r299 r407  
    4545}
    4646
    47 error_t hal_strcpy_to_uspace(char *u_dst, char *k_src, uint32_t max_size)
     47void hal_strcpy_to_uspace(char *u_dst, char *k_src, uint32_t max_size)
    4848{
    4949        x86_panic((char *)__func__);
     
    5151}
    5252
    53 error_t hal_strcpy_from_uspace(char *k_dst, char *u_src, uint32_t max_size)
     53void hal_strcpy_from_uspace(char *k_dst, char *u_src, uint32_t max_size)
    5454{
    5555        x86_panic((char *)__func__);
Note: See TracChangeset for help on using the changeset viewer.