Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/arm32.c

    r32817cc r2277e03  
    3838#include <genarch/fb/fb.h>
    3939#include <abi/fb/visuals.h>
    40 #include <sysinfo/sysinfo.h>
    4140#include <console/console.h>
    4241#include <ddi/irq.h>
     
    5049#include <str.h>
    5150#include <arch/ras.h>
     51#include <sysinfo/sysinfo.h>
    5252
    5353/** Performs arm32-specific initialization before main_bsp() is called. */
     
    117117{
    118118        machine_input_init();
     119        const char *platform = machine_get_platform_name();
     120
     121        sysinfo_set_item_data("platform", NULL, (void *) platform,
     122            str_size(platform));
    119123}
    120124
     
    134138        uint8_t *stck;
    135139       
    136         stck = &THREAD->kstack[STACK_SIZE - SP_DELTA];
     140        stck = &THREAD->kstack[STACK_SIZE];
    137141        supervisor_sp = (uintptr_t) stck;
    138142}
Note: See TracChangeset for help on using the changeset viewer.