Changeset 07d960a in mainline for libc/generic/libc.c


Ignore:
Timestamp:
2006-05-22T17:14:32Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
53ca318
Parents:
8bc924e
Message:

Change linker scripts so that heap a dedicated address space area can be allocated for heap.
This will be essential in separating anonymous memory and memory backed by some other memory object.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libc/generic/libc.c

    r8bc924e r07d960a  
    3535#include <ipc/ipc.h>
    3636#include <async.h>
     37#include <as.h>
     38
     39extern char _heap;
    3740
    3841void _exit(int status) {
     
    4346        psthread_data_t *pt;
    4447
     48        (void) as_area_create(&_heap, 1, AS_AREA_WRITE | AS_AREA_READ);
    4549        _async_init();
    4650        pt = psthread_setup();
Note: See TracChangeset for help on using the changeset viewer.