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 1780000e10
commit 4b3c5e4ae3
48 changed files with 1683 additions and 273 deletions

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

@@ -31,7 +31,6 @@
#include "atommutex.h"
#include "atomtests.h"
/* Number of test threads */
#define NUM_TEST_THREADS 2

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

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,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

@@ -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,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,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,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,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,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,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"