Ignore:
Timestamp:
Jun 27, 2017, 10:56:25 AM (7 years ago)
Author:
max@…
Message:

start defining some remote functions, and use uint8_t instead of
char

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/x86_64/core/hal_init.c

    r70 r72  
    2727#include <hal_lapic.h>
    2828#include <hal_internal.h>
     29#include <hal_remote.h>
    2930
    3031#include <memcpy.h>
     
    175176
    176177        x86_printf("-> mytest = %z\n", mytest);
     178
    177179        size_t *myptr = (void *)CLUSTER_MIN_VA(0) + XPTR(0, &mytest);
    178         *myptr = 1;
    179         x86_printf("-> mytest = %z\n", mytest);
     180        hal_remote_sb((xptr_t)myptr, 1);
     181        x86_printf("-> mytest = %z\n", hal_remote_lb((xptr_t)myptr));
    180182
    181183        init_bootinfo(&btinfo);
Note: See TracChangeset for help on using the changeset viewer.