Changeset 74 for trunk/hal/x86_64


Ignore:
Timestamp:
Jun 27, 2017, 11:23:58 AM (7 years ago)
Author:
max@…
Message:

(forgot to commit this)

File:
1 edited

Legend:

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

    r72 r74  
    177177        x86_printf("-> mytest = %z\n", mytest);
    178178
    179         size_t *myptr = (void *)CLUSTER_MIN_VA(0) + XPTR(0, &mytest);
    180         hal_remote_sb((xptr_t)myptr, 1);
    181         x86_printf("-> mytest = %z\n", hal_remote_lb((xptr_t)myptr));
     179        xptr_t myptr = XPTR(0, &mytest);
     180        hal_remote_sb(myptr, 1);
     181        x86_printf("-> mytest = %z\n", hal_remote_lb(myptr));
    182182
    183183        init_bootinfo(&btinfo);
Note: See TracChangeset for help on using the changeset viewer.