[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Gsoc Hello World Getting started Patch
From: Manas Dalakoti <knightxerons () gmail ! com>
Date: 2020-07-05 17:45:48
Message-ID: CA+6oeWPX6efR8PDm9cNg9okWgtH+jNpfm4c2nbz2VaD34JWPvw () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
[Attachment #5 (text/html)]
<div dir="ltr"><br></div>
["0001-Gsoc-First-Patch.patch" (text/x-patch)]
From f8960639c8d01324afca9ab8f731b4e26b4fee07 Mon Sep 17 00:00:00 2001
From: Manas Dalakoti <knightxerons@gmail.com>
Date: Sun, 5 Jul 2020 18:18:28 +0530
Subject: [PATCH] Gsoc First Patch
Signed-off-by: Manas Dalakoti <knightxerons@gmail.com>
---
hello.doc | 9 +++++++++
hello.scn | 3 +++
init.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 56 insertions(+)
create mode 100644 hello.doc
create mode 100644 hello.scn
create mode 100644 init.c
diff --git a/hello.doc b/hello.doc
new file mode 100644
index 0000000..9812864
--- /dev/null
+++ b/hello.doc
@@ -0,0 +1,9 @@
+# COPYRIGHT (c) 1989-1999.
+# On-Line Applications Research Corporation (OAR).
+#
+# The license and distribution terms for this file may be
+# found in the file LICENSE in this distribution or at
+# http://www.rtems.org/license/LICENSE.
+#
+
+
diff --git a/hello.scn b/hello.scn
new file mode 100644
index 0000000..d9e92d8
--- /dev/null
+++ b/hello.scn
@@ -0,0 +1,3 @@
+*** HELLO WORLD TEST ***
+Hello World
+*** END OF HELLO WORLD TEST ***
diff --git a/init.c b/init.c
new file mode 100644
index 0000000..f2516f6
--- /dev/null
+++ b/init.c
@@ -0,0 +1,44 @@
+/*
+ * COPYRIGHT (c) 1989-2012.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <rtems.h>
+#include <tmacros.h>
+
+const char rtems_test_name[] = "HELLO WORLD";
+
+static rtems_task Init(
+ rtems_task_argument ignored
+)
+{
+ rtems_print_printer_fprintf_putc(&rtems_test_printer);
+ TEST_BEGIN();
+ printf( "\n 01001000 01100101 01101100 01101100 01101111 00100000 01010111 \
01101111 01110010 01101100 01100100 \n" ); + TEST_END();
+ rtems_test_exit( 0 );
+}
+
+
+/* NOTICE: the clock driver is explicitly disabled */
+#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
+#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER
+
+#define CONFIGURE_MAXIMUM_TASKS 1
+
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
+#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
+
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
+#define CONFIGURE_INIT
+#include <rtems/confdefs.h>
--
2.27.0
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic