samples: shared_mem: 64-bit fixes
We don't need this cast, just use %p format code. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
69d47c170e
commit
a15a47d856
1 changed files with 3 additions and 3 deletions
|
@ -116,7 +116,7 @@ void main(void)
|
|||
K_FOREVER);
|
||||
k_thread_access_grant(tENC, &allforone);
|
||||
/* use K_FOREVER followed by k_thread_start*/
|
||||
printk("ENC Thread Created %08X\n", (unsigned int) tENC);
|
||||
printk("ENC Thread Created %p\n", tENC);
|
||||
k_mem_domain_init(&dom1, 3, dom1_parts);
|
||||
printk("Partitions added to dom1\n");
|
||||
k_mem_domain_add_thread(&dom1, tENC);
|
||||
|
@ -128,7 +128,7 @@ void main(void)
|
|||
-1, K_USER,
|
||||
K_FOREVER);
|
||||
k_thread_access_grant(tPT, &allforone);
|
||||
printk("PT Thread Created %08X\n", (unsigned int) tPT);
|
||||
printk("PT Thread Created %p\n", tPT);
|
||||
k_mem_domain_init(&dom0, 2, dom0_parts);
|
||||
k_mem_domain_add_thread(&dom0, tPT);
|
||||
printk("dom0 Created\n");
|
||||
|
@ -138,7 +138,7 @@ void main(void)
|
|||
-1, K_USER,
|
||||
K_FOREVER);
|
||||
k_thread_access_grant(tCT, &allforone);
|
||||
printk("CT Thread Created %08X\n", (unsigned int) tCT);
|
||||
printk("CT Thread Created %p\n", tCT);
|
||||
k_mem_domain_init(&dom2, 2, dom2_parts);
|
||||
k_mem_domain_add_thread(&dom2, tCT);
|
||||
printk("dom2 Created\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue