Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/main/main.c

    r9e40355e rdabbe28  
    8989#include <lib/ra.h>
    9090
    91 /* Ensure [u]int*_t types are of correct size.
    92  *
    93  * Probably, this is not the best place for such tests
    94  * but this file is compiled on all architectures.
    95  */
    96 #define CHECK_INT_TYPE_(signness, size) \
    97         STATIC_ASSERT_VERBOSE(sizeof(signness##size##_t) * 8 == size, \
    98             #signness #size "_t does not have " #size " bits");
    99 
    100 #define CHECK_INT_TYPE(size) \
    101         CHECK_INT_TYPE_(int, size); \
    102         CHECK_INT_TYPE_(uint, size)
    103 
    104 CHECK_INT_TYPE(8);
    105 CHECK_INT_TYPE(16);
    106 CHECK_INT_TYPE(32);
    107 CHECK_INT_TYPE(64);
    108 
    10991/** Global configuration structure. */
    11092config_t config = {
     
    294276         * Create the first thread.
    295277         */
    296         thread_t *kinit_thread = thread_create(kinit, NULL, kernel,
    297             THREAD_FLAG_UNCOUNTED, "kinit");
     278        thread_t *kinit_thread =
     279            thread_create(kinit, NULL, kernel, 0, "kinit", true);
    298280        if (!kinit_thread)
    299281                panic("Cannot create kinit thread.");
Note: See TracChangeset for help on using the changeset viewer.