* Frank Mehnert <fm3@os.inf.tu-dresden.de> */
/*
- * (c) 2005-2009 Technische Universität Dresden
+ * (c) 2005-2009 Author(s)
+ * economic rights: Technische Universität Dresden (Germany)
+ *
* This file is part of TUD:OS and distributed under the terms of the
* GNU General Public License 2.
* Please see the COPYING-GPL-2 file for details.
}
#endif
+
+#if defined(ARCH_sparc)
+extern "C" void __main(unsigned long p1, unsigned long p2, unsigned long p3);
+void __main(unsigned long p1, unsigned long p2, unsigned long p3)
+{
+ (void)p1;
+ (void)p2;
+ (void)p3;
+ ctor_init();
+ Platform_base::iterate_platforms();
+ // startup(0,0,0,0);
+}
+#endif
+
void exit(int c) throw()
{
_exit(c);
return c;
}
-off64_t lseek64(int /*fd*/, off64_t /*offset*/, int /*whence*/)
+off_t lseek(int /*fd*/, off_t /*offset*/, int /*whence*/)
{
return 0;
}