summaryrefslogtreecommitdiffstats
path: root/src/usr/example/example.C
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2011-03-05 10:01:45 -0600
committerPatrick Williams <iawillia@us.ibm.com>2011-03-05 10:01:45 -0600
commit706243ac48cf646d503a3f1ec9e6a28c916694bd (patch)
tree5d583486a145a9646eccb9d3c4bce4dad45a2a84 /src/usr/example/example.C
parent5c20d316d21e231daee6455f0a78d5940d59cf23 (diff)
downloadtalos-hostboot-706243ac48cf646d503a3f1ec9e6a28c916694bd.tar.gz
talos-hostboot-706243ac48cf646d503a3f1ec9e6a28c916694bd.zip
Merge of PowerHAL project up to commit:
dd45c30bd53d8e6c123165b83842d08117558a3c
Diffstat (limited to 'src/usr/example/example.C')
-rw-r--r--src/usr/example/example.C17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/usr/example/example.C b/src/usr/example/example.C
index 0965bcfd2..97c8d5cbb 100644
--- a/src/usr/example/example.C
+++ b/src/usr/example/example.C
@@ -7,23 +7,6 @@
static mutex_t value = mutex_create();
extern "C"
-void _init(void*)
-{
- // Call default constructors for any static objects.
- extern void (*ctor_start_address)();
- extern void (*ctor_end_address)();
- void(**ctors)() = &ctor_start_address;
- while(ctors != &ctor_end_address)
- {
- (*ctors)();
- ctors++;
- }
-
- printk("Here! %lx, %s\n", (uint64_t) value, VFS_ROOT);
- TRACFCOMP(NULL, "This is a test %lx, %s", (uint64_t) value, VFS_ROOT);
-}
-
-extern "C"
void _start(void*)
{
printk("Executing example module.\n");
OpenPOWER on IntegriCloud