Ignore:
Timestamp:
Jun 29, 2017, 1:27:43 PM (7 years ago)
Author:
max@…
Message:

remove lw_unc, add a few ops, and update a few things

File:
1 edited

Legend:

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

    r86 r94  
    178178
    179179        x86_printf("-> mytest = %z\n", mytest);
    180 
     180        void *hoho = &init_x86_64;
    181181        xptr_t myptr = XPTR(0, &mytest);
    182         hal_remote_sb(myptr, 1);
    183         x86_printf("-> mytest = %z\n", hal_remote_lb(myptr));
     182
     183        hal_remote_atomic_add(myptr, 3);
     184        x86_printf("-> mytest = %z\n", mytest);
     185
     186        hal_remote_spt(myptr, hoho);
     187        x86_printf("-> mytest = %Z\n", hal_remote_lpt(myptr));
     188
    184189
    185190        init_bootinfo(&btinfo);
Note: See TracChangeset for help on using the changeset viewer.