summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0e8f9a1)
raw | patch | inline | side by side (parent: 0e8f9a1)
author | Anuj Aggarwal <anuj.aggarwal@ti.com> | |
Thu, 20 Aug 2009 05:52:21 +0000 (11:22 +0530) | ||
committer | Anuj Aggarwal <anuj.aggarwal@ti.com> | |
Thu, 20 Aug 2009 05:52:21 +0000 (11:22 +0530) |
diff --git a/examples/CSL2_DAT_DEMO/src/bios6_adapter/dat_edma3lld_bios6adapter.c b/examples/CSL2_DAT_DEMO/src/bios6_adapter/dat_edma3lld_bios6adapter.c
index c9684bf36b08bccbb38d7b8d422ee791feae0bc5..c2e64454ffdc4e35042ff3ef151670f09c092486 100644 (file)
/*
- * Copyright 2006
- * Texas Instruments Incorporated
+ * dat_edma3lld_bios6adapter.c
*
- * All rights reserved. Property of Texas Instruments Incorporated
- * Restricted rights to use, duplicate or disclose this code are
- * granted through contract.
+ * This file contains the OS specific helper functions required by the CSL DAT
+ * adapter.
*
- */
-/**
- * @file dat_edma3lld_biosAdapter.c
+ * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
*
- * @brief This file contains the OS specific helper functions
- * required by the CSL DAT adapter
*
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
*
- */
+ * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the
+ * distribution.
+ *
+ * Neither the name of Texas Instruments Incorporated nor the names of
+ * its contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+*/
#include <ti/sysbios/knl/Task.h>
gie = Task_disable ();
}
-
/*
* ======== _dat_critical_section_exit ========
* Restores task status
void _dat_critical_section_exit() {
Task_restore (gie);
}
-
diff --git a/examples/CSL2_DAT_DEMO/src/csl2_legacy_include/csl_dat.h b/examples/CSL2_DAT_DEMO/src/csl2_legacy_include/csl_dat.h
index 420ed1c86977cf932415b82f204824f04339dcd9..84ccbc1262e65fa44cc329a74d0cd148d8d977c6 100644 (file)
-/******************************************************************************\
-* Copyright (C) 1999-2000 Texas Instruments Incorporated.
-* All Rights Reserved
-*------------------------------------------------------------------------------
-* FILENAME...... csl_dat.h
-* DATE CREATED.. 11/11/1999
-* LAST MODIFIED. 10/03/2000
-\******************************************************************************/
+/*
+ * csl_dat.h
+ *
+ * CSL common header file.
+ *
+ * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
+ *
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the
+ * distribution.
+ *
+ * Neither the name of Texas Instruments Incorporated nor the names of
+ * its contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+*/
+
#ifndef _CSL_DAT_H_
#define _CSL_DAT_H_
diff --git a/examples/CSL2_DAT_DEMO/src/csl2_legacy_include/tistdtypes.h b/examples/CSL2_DAT_DEMO/src/csl2_legacy_include/tistdtypes.h
index c72602e0350a6db31d0bfdf4d7185b32b67ac121..3708b2e9002e22189ff5eed0e99804f3dff2bb0a 100644 (file)
/*
- * ======== tistdtypes.h ========
- */
+ * tistdtypes.h
+ *
+ * Header file defining various data types.
+ *
+ * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
+ *
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the
+ * distribution.
+ *
+ * Neither the name of Texas Instruments Incorporated nor the names of
+ * its contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+*/
/*
* These types are also defined by other TI components. They are bracketed
diff --git a/examples/CSL2_DAT_DEMO/src/dat_edma3LLD/csl2_dat.c b/examples/CSL2_DAT_DEMO/src/dat_edma3LLD/csl2_dat.c
index 854779b783c9070307660ef3e6140ad56eb835a8..902ac3203e459487475e6155475b205fecb6d4ed 100644 (file)
/*
- * Copyright 2006
- * Texas Instruments Incorporated
+ * csl2_dat.c
*
- * All rights reserved. Property of Texas Instruments Incorporated
- * Restricted rights to use, duplicate or disclose this code are
- * granted through contract.
+ * Implements the CSL DAT2 API using EDMA3 Driver and Resource Manager Package
+ * (EDMA3LLD). Behaviour mimics DAT2 on EDMA2 hardware.
*
- */
-/**
- * @file csl_dat2.c
+ * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
*
- * @brief Implements the CSL DAT2 API using EDMA3 Driver and Resource
- * Manager Package (EDMA3LLD).
- * Behaviour mimics DAT2 on EDMA2 hardware
- */
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the
+ * distribution.
+ *
+ * Neither the name of Texas Instruments Incorporated nor the names of
+ * its contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+*/
#include <stdio.h>
#include <csl_dat.h>
/*
* Store the allocated Channels in an array
*/
- /* DMA/QDMA Channel */
+ /* DMA/QDMA Channel */
DAT_allocatedChannels[i].paramNo = chaNum;
- /* TCC */
+ /* TCC */
DAT_allocatedChannels[i].tccNo = tccNum;
}
void DAT_wait(Uint32 waitId) {
int i;
Uint32 tcc;
-
+
/*
* If both the registers are zero, we're done !!
*/
/*
* Check if the particular transfer has completed by returning the status
* from the itnernal completion register
- */
+ */
if (waitId < 32) {
if (GET_REGISTER32_BIT(TransferCompleteL,waitId)) {
/** Bit is still set, check in the IPR and clear it
/* xfer not finished, leave... */
return 1;
}
-
+
} else
return 0;
}
return chNum;
}
}
-
+
}
else {
if((GET_REGISTER32_BIT(TransferCompleteH,*tccNum - 32)) == 0) {
}
}
}
-
+
/*
* Increment index
*/
diff --git a/examples/CSL2_DAT_DEMO/src/dat_edma3LLD/csl2_dat_edma3lld.c b/examples/CSL2_DAT_DEMO/src/dat_edma3LLD/csl2_dat_edma3lld.c
index 0aa79eb6796c71d94c7fcd3bd16f645e594ba5c5..a14912f7abf3f998a00d5054f5502199456e0c5b 100644 (file)
/*
- * Copyright 2006
- * Texas Instruments Incorporated
+ * csl2_dat_edma3lld.c
*
- * All rights reserved. Property of Texas Instruments Incorporated
- * Restricted rights to use, duplicate or disclose this code are
- * granted through contract.
+ * Implements the EDMA3 LLD Initialization and clean up functions.
*
- */
-/**
- * @file csl2_dat_edma3lld.c
+ * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
*
- * @brief Implements the EDMA3 LLD Initialization and clean up
- * functions
*
- */
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the
+ * distribution.
+ *
+ * Neither the name of Texas Instruments Incorporated nor the names of
+ * its contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+*/
/*
* Includes for accessing EDMA3 Driver Sample Init/Deinit functions
diff --git a/examples/CSL2_DAT_DEMO/src/dat_edma3LLD/csl2_dat_edma3lld.h b/examples/CSL2_DAT_DEMO/src/dat_edma3LLD/csl2_dat_edma3lld.h
index 84813ed29fae55cf85184428c06c84f0a366fc2c..aeed3ade61fc25053f208b1db31f45fedc2d34cf 100644 (file)
/*
- * Copyright 2006
- * Texas Instruments Incorporated
+ * csl2_dat_edma3lld.h
*
- * All rights reserved. Property of Texas Instruments Incorporated
- * Restricted rights to use, duplicate or disclose this code are
- * granted through contract.
+ * Header for the EDMA3 LLD setup and clean up functions
*
- */
-/*
- * @file csl2_dat_edma3lld.h
+ * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
+ *
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
*
- * @brief Header for the EDMA3 LLD setup and clean up functions
+ * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
*
+ * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the
+ * distribution.
*
- */
+ * Neither the name of Texas Instruments Incorporated nor the names of
+ * its contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+*/
/*
* Includes to access the EDMA3 driver libraries
diff --git a/examples/CSL2_DAT_DEMO/src/dat_edma3LLD/csl2_dat_edma3lld_config.h b/examples/CSL2_DAT_DEMO/src/dat_edma3LLD/csl2_dat_edma3lld_config.h
index be39321c89e417b9415e82969993725426fc38e5..36f896eaeb2241e0ce9edcaae799319adfaa4a7c 100644 (file)
/*
- * Copyright 2006
- * Texas Instruments Incorporated
+ * csl2_dat_edma3lld_config.h
*
- * All rights reserved. Property of Texas Instruments Incorporated
- * Restricted rights to use, duplicate or disclose this code are
- * granted through contract.
+ * Defines the hardware specific parameters required by the CSL DAT2 EDMA3
+ * Adapter.
*
- */
-/**
- * @file csl2_dat_edma3lld_config.h
+ * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
*
- * @brief Defines the hardware specific parameters required by the
- * CSL DAT2 EDMA3 Adapter
*
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
*
- */
+ * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the
+ * distribution.
+ *
+ * Neither the name of Texas Instruments Incorporated nor the names of
+ * its contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+*/
#ifndef _CSL_DAT2_EDMA3LLD_CONFIG_H
#define _CSL_DAT2_EDMA3LLD_CONFIG_H
_dat_critical_section_enter(); ((reg) |= (0x1 << (bit))); \
_dat_critical_section_exit();
/*
- * Set bit in 32-bit register (ISR context)
+ * Set bit in 32-bit register (ISR context)
*/
#define SET_REGISTER32_BIT_DURING_INT(reg,bit) \
((reg) |= (0x1 << (bit)));
diff --git a/examples/CSL2_DAT_DEMO/src/dat_edma3LLD/main.c b/examples/CSL2_DAT_DEMO/src/dat_edma3LLD/main.c
index 64abf3ae3c5defcdf9890f186131889aceb929d2..b3c690ecbcf69ff54bfc215d0db79abe8d1143b2 100644 (file)
/*
- * Copyright 2006
- * Texas Instruments Incorporated
+ * main.c
*
- * All rights reserved. Property of Texas Instruments Incorporated
- * Restricted rights to use, duplicate or disclose this code are
- * granted through contract.
+ * Demonstrates how to use DAT APIs, implemented using CSL DAT adapter, with
+ * EDMA3 hardware.
*
- */
-/**
- * @file main.c
+ * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
*
- * @brief Demonstrates how to use DAT APIs implemented using CSL DAT
- * adapter with EDMA3 hardware
*
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
*
- */
+ * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the
+ * distribution.
+ *
+ * Neither the name of Texas Instruments Incorporated nor the names of
+ * its contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+*/
#include <xdc/std.h>
#include <stdio.h>
void main()
{
Task_Params datParams;
-
+
Task_Params_init (&datParams);
datParams.stackSize = 8192;
-
+
Task_create((Task_FuncPtr)DAT_main, &datParams, NULL);
BIOS_start();
if (0 != DAT_open(0,0,0))
{
printf ("DAT_open Successful\n");
-
+
waitId[1] = DAT_fill(srcBuff1, SIZE, (Uint32 *)&fill1d);
waitId[1] = DAT_fill(srcBuff1, SIZE, (Uint32 *)&fill1d);
waitId[2] = DAT_fill(srcBuff2, SIZE, (Uint32 *)&fill1d2d);
counter++;
}
}
-