[Xenomai-git] Philippe Gerum : cobalt/init: get system heap from the normal zone

2016-03-19 Thread git repository hosting
Module: xenomai-3
Branch: wip/prioceil
Commit: 1e3bf2f96b54b75b2f8764beb4f1ead70a4ffbb0
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=1e3bf2f96b54b75b2f8764beb4f1ead70a4ffbb0

Author: Philippe Gerum 
Date:   Fri Mar  4 11:26:39 2016 +0100

cobalt/init: get system heap from the normal zone

---

 kernel/cobalt/init.c |5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/kernel/cobalt/init.c b/kernel/cobalt/init.c
index 6cbb67b..5a6fdbf 100644
--- a/kernel/cobalt/init.c
+++ b/kernel/cobalt/init.c
@@ -18,7 +18,6 @@
  */
 #include 
 #include 
-#include 
 #include 
 #include 
 #include 
@@ -156,7 +155,7 @@ static void sys_shutdown(void)
xnregistry_cleanup();
membase = xnheap_get_membase(_heap);
xnheap_destroy(_heap);
-   vfree(membase);
+   xnheap_vfree(membase);
 }
 
 static int __init mach_setup(void)
@@ -289,7 +288,7 @@ static __init int sys_init(void)
if (sysheap_size_arg == 0)
sysheap_size_arg = CONFIG_XENO_OPT_SYS_HEAPSZ;
 
-   heapaddr = vmalloc(sysheap_size_arg * 1024);
+   heapaddr = xnheap_vmalloc(sysheap_size_arg * 1024);
if (heapaddr == NULL ||
xnheap_init(_heap, heapaddr, sysheap_size_arg * 1024)) {
return -ENOMEM;


___
Xenomai-git mailing list
Xenomai-git@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai-git


[Xenomai-git] Philippe Gerum : cobalt/init: get system heap from the normal zone

2016-03-06 Thread git repository hosting
Module: xenomai-3
Branch: stable-3.0.x
Commit: 1e3bf2f96b54b75b2f8764beb4f1ead70a4ffbb0
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=1e3bf2f96b54b75b2f8764beb4f1ead70a4ffbb0

Author: Philippe Gerum 
Date:   Fri Mar  4 11:26:39 2016 +0100

cobalt/init: get system heap from the normal zone

---

 kernel/cobalt/init.c |5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/kernel/cobalt/init.c b/kernel/cobalt/init.c
index 6cbb67b..5a6fdbf 100644
--- a/kernel/cobalt/init.c
+++ b/kernel/cobalt/init.c
@@ -18,7 +18,6 @@
  */
 #include 
 #include 
-#include 
 #include 
 #include 
 #include 
@@ -156,7 +155,7 @@ static void sys_shutdown(void)
xnregistry_cleanup();
membase = xnheap_get_membase(_heap);
xnheap_destroy(_heap);
-   vfree(membase);
+   xnheap_vfree(membase);
 }
 
 static int __init mach_setup(void)
@@ -289,7 +288,7 @@ static __init int sys_init(void)
if (sysheap_size_arg == 0)
sysheap_size_arg = CONFIG_XENO_OPT_SYS_HEAPSZ;
 
-   heapaddr = vmalloc(sysheap_size_arg * 1024);
+   heapaddr = xnheap_vmalloc(sysheap_size_arg * 1024);
if (heapaddr == NULL ||
xnheap_init(_heap, heapaddr, sysheap_size_arg * 1024)) {
return -ENOMEM;


___
Xenomai-git mailing list
Xenomai-git@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai-git


[Xenomai-git] Philippe Gerum : cobalt/init: get system heap from the normal zone

2016-03-06 Thread git repository hosting
Module: xenomai-3
Branch: next
Commit: 4f9655d6d5a32985fa582ddf47fe7529bf28f567
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=4f9655d6d5a32985fa582ddf47fe7529bf28f567

Author: Philippe Gerum 
Date:   Fri Mar  4 11:26:39 2016 +0100

cobalt/init: get system heap from the normal zone

---

 kernel/cobalt/init.c |5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/kernel/cobalt/init.c b/kernel/cobalt/init.c
index 6cbb67b..5a6fdbf 100644
--- a/kernel/cobalt/init.c
+++ b/kernel/cobalt/init.c
@@ -18,7 +18,6 @@
  */
 #include 
 #include 
-#include 
 #include 
 #include 
 #include 
@@ -156,7 +155,7 @@ static void sys_shutdown(void)
xnregistry_cleanup();
membase = xnheap_get_membase(_heap);
xnheap_destroy(_heap);
-   vfree(membase);
+   xnheap_vfree(membase);
 }
 
 static int __init mach_setup(void)
@@ -289,7 +288,7 @@ static __init int sys_init(void)
if (sysheap_size_arg == 0)
sysheap_size_arg = CONFIG_XENO_OPT_SYS_HEAPSZ;
 
-   heapaddr = vmalloc(sysheap_size_arg * 1024);
+   heapaddr = xnheap_vmalloc(sysheap_size_arg * 1024);
if (heapaddr == NULL ||
xnheap_init(_heap, heapaddr, sysheap_size_arg * 1024)) {
return -ENOMEM;


___
Xenomai-git mailing list
Xenomai-git@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai-git


[Xenomai-git] Philippe Gerum : cobalt/init: get system heap from the normal zone

2016-03-06 Thread git repository hosting
Module: xenomai-3
Branch: wip/dovetail
Commit: 4f9655d6d5a32985fa582ddf47fe7529bf28f567
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=4f9655d6d5a32985fa582ddf47fe7529bf28f567

Author: Philippe Gerum 
Date:   Fri Mar  4 11:26:39 2016 +0100

cobalt/init: get system heap from the normal zone

---

 kernel/cobalt/init.c |5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/kernel/cobalt/init.c b/kernel/cobalt/init.c
index 6cbb67b..5a6fdbf 100644
--- a/kernel/cobalt/init.c
+++ b/kernel/cobalt/init.c
@@ -18,7 +18,6 @@
  */
 #include 
 #include 
-#include 
 #include 
 #include 
 #include 
@@ -156,7 +155,7 @@ static void sys_shutdown(void)
xnregistry_cleanup();
membase = xnheap_get_membase(_heap);
xnheap_destroy(_heap);
-   vfree(membase);
+   xnheap_vfree(membase);
 }
 
 static int __init mach_setup(void)
@@ -289,7 +288,7 @@ static __init int sys_init(void)
if (sysheap_size_arg == 0)
sysheap_size_arg = CONFIG_XENO_OPT_SYS_HEAPSZ;
 
-   heapaddr = vmalloc(sysheap_size_arg * 1024);
+   heapaddr = xnheap_vmalloc(sysheap_size_arg * 1024);
if (heapaddr == NULL ||
xnheap_init(_heap, heapaddr, sysheap_size_arg * 1024)) {
return -ENOMEM;


___
Xenomai-git mailing list
Xenomai-git@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai-git