Compilable MIPS code.

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
This commit is contained in:
Himanshu Chauhan
2011-05-19 19:07:53 +05:30
parent daf07b5946
commit ac40279132
63 changed files with 1784 additions and 296 deletions

View File

@@ -27,8 +27,13 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomtests.h"

View File

@@ -31,6 +31,9 @@
#include "atom.h"
#include "atomtests.h"
#ifdef STAND_ALONE
#include <printk.h>
#endif
/**
* \b test_start

View File

@@ -31,6 +31,9 @@
#include "atom.h"
#include "atomtests.h"
#ifdef STAND_ALONE
#include <printk.h>
#endif
/* Number of test threads */
#define NUM_TEST_THREADS 2

View File

@@ -31,6 +31,9 @@
#include "atom.h"
#include "atomtests.h"
#ifdef STAND_ALONE
#include <printk.h>
#endif
/* Number of test threads */
#define NUM_TEST_THREADS 4

View File

@@ -27,12 +27,17 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atommutex.h"
#include "atomtests.h"
/* Number of test threads */
#define NUM_TEST_THREADS 2

View File

@@ -27,8 +27,13 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atommutex.h"
#include "atomtests.h"

View File

@@ -32,6 +32,9 @@
#include "atomtests.h"
#include "atommutex.h"
#ifdef STAND_ALONE
#include <printk.h>
#endif
/* Number of test threads */
#define NUM_TEST_THREADS 4
@@ -288,4 +291,4 @@ static void test_thread_func (uint32_t param)
{
atomTimerDelay (SYSTEM_TICKS_PER_SEC);
}
}
}

View File

@@ -27,6 +27,12 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomtests.h"
@@ -293,4 +299,4 @@ static void test_thread_func (uint32_t param)
{
atomTimerDelay (SYSTEM_TICKS_PER_SEC);
}
}
}

View File

@@ -27,6 +27,12 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomtests.h"
@@ -299,4 +305,4 @@ static void test_thread_func (uint32_t param)
{
atomTimerDelay (SYSTEM_TICKS_PER_SEC);
}
}
}

View File

@@ -27,6 +27,13 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomtests.h"
@@ -290,4 +297,4 @@ static void test_thread_func (uint32_t param)
{
atomTimerDelay (SYSTEM_TICKS_PER_SEC);
}
}
}

View File

@@ -27,8 +27,13 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomtests.h"
#include "atommutex.h"

View File

@@ -27,6 +27,12 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atommutex.h"

View File

@@ -27,6 +27,12 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomtests.h"

View File

@@ -27,8 +27,13 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomqueue.h"
#include "atomtests.h"

View File

@@ -27,6 +27,12 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomqueue.h"

View File

@@ -27,6 +27,12 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomqueue.h"

View File

@@ -27,6 +27,12 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomqueue.h"

View File

@@ -27,8 +27,13 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomqueue.h"
#include "atomtests.h"

View File

@@ -27,6 +27,12 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomtests.h"

View File

@@ -27,6 +27,12 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomqueue.h"

View File

@@ -27,6 +27,12 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomqueue.h"

View File

@@ -27,6 +27,12 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomtests.h"

View File

@@ -27,6 +27,12 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomtests.h"

View File

@@ -27,8 +27,13 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomsem.h"
#include "atomtests.h"

View File

@@ -27,8 +27,13 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomsem.h"
#include "atomtests.h"
@@ -321,4 +326,4 @@ static void testCallback (POINTER cb_data)
*/
}
}
}

View File

@@ -27,6 +27,12 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomtests.h"

View File

@@ -27,6 +27,12 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomtests.h"

View File

@@ -27,6 +27,12 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomtests.h"

View File

@@ -27,6 +27,12 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomtests.h"

View File

@@ -27,6 +27,12 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomtests.h"

View File

@@ -27,6 +27,12 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomtests.h"

View File

@@ -27,6 +27,12 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomsem.h"

View File

@@ -27,8 +27,13 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomsem.h"
#include "atomtimer.h"
@@ -246,4 +251,4 @@ static void testCallback (POINTER cb_data)
*/
}
}
}

View File

@@ -27,6 +27,12 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomtimer.h"

View File

@@ -27,8 +27,13 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomsem.h"
#include "atomtimer.h"
@@ -240,4 +245,4 @@ static void testCallback (POINTER cb_data)
*/
}
}
}

View File

@@ -27,6 +27,12 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomtimer.h"
@@ -190,4 +196,4 @@ static void testCallback (POINTER cb_data)
/* Not called at expected time, don't clear the location */
}
}
}

View File

@@ -27,8 +27,13 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomsem.h"
#include "atomtimer.h"
@@ -138,4 +143,4 @@ static void testCallback (POINTER cb_data)
{
/* Callback was called */
callback_ran_flag = TRUE;
}
}

View File

@@ -27,6 +27,12 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomtimer.h"
@@ -152,4 +158,4 @@ static void testCallback (POINTER cb_data)
{
/* Callback was called */
*(int *)cb_data = TRUE;
}
}

View File

@@ -27,6 +27,12 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STAND_ALONE
#include <stddef.h>
#else
#include <printk.h>
#include <atom-types.h>
#endif
#include "atom.h"
#include "atomtests.h"