Changeset 37e7d2b9 in mainline for generic/src/proc/task.c


Ignore:
Timestamp:
2006-03-16T14:46:06Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
dabe6333
Parents:
e898a8d7
Message:

Restore interrupts when failing in as_remap().
Add check_area_conflicts() that checks whether address area overlaps with other areas.
Refuse to create writeable executable address space areas.
Rename as_area_t::size to as_area_t::pages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/proc/task.c

    re898a8d7 r37e7d2b9  
    126126         * Create the data as_area.
    127127         */
    128         a = as_area_create(as, AS_AREA_READ | AS_AREA_WRITE, 1, USTACK_ADDRESS);
     128        a = as_area_create(as, AS_AREA_READ | AS_AREA_WRITE, PAGE_SIZE, USTACK_ADDRESS);
    129129       
    130130        thread_ready(t);
Note: See TracChangeset for help on using the changeset viewer.