Changeset 96b02eb9 in mainline for kernel/test/mm/slab1.c


Ignore:
Timestamp:
2010-12-14T12:52:38Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6b10dab
Parents:
554debd
Message:

more unification of basic types

  • use sysarg_t and native_t (unsigned and signed variant) in both kernel and uspace
  • remove ipcarg_t in favour of sysarg_t

(no change in functionality)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/test/mm/slab1.c

    r554debd r96b02eb9  
    123123static void slabtest(void *data)
    124124{
    125         int offs = (int) (unative_t) data;
     125        int offs = (int) (sysarg_t) data;
    126126        int i, j;
    127127       
     
    156156        semaphore_initialize(&thr_sem, 0);
    157157        for (i = 0; i < THREADS; i++) { 
    158                 if (!(t = thread_create(slabtest, (void *) (unative_t) i, TASK, 0, "slabtest", false))) {
     158                if (!(t = thread_create(slabtest, (void *) (sysarg_t) i, TASK, 0, "slabtest", false))) {
    159159                        TPRINTF("Could not create thread %d\n", i);
    160160                } else
Note: See TracChangeset for help on using the changeset viewer.