Changeset 15


Ignore:
Timestamp:
03/06/2007 05:40:28 PM (5 years ago)
Author:
agr
Message:

BSD headers added

Location:
nano-RK/src
Files:
53 edited

Legend:

Unmodified
Added
Removed
  • nano-RK/src/drivers/include/nrk_driver_list.h

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Zane Starr 
     29*******************************************************************************/ 
     30 
     31 
    132// DEVICE ID ASSIGNMENTS 
    233#define FIREFLY_SENSORS 1 
  • nano-RK/src/kernel/hal/atmega128/nrk_status.c

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29* Anand Eswaren 
     30*******************************************************************************/ 
     31 
     32 
    133#include <include.h> 
    234#include <nrk_status.h> 
  • nano-RK/src/kernel/hal/atmega128/nrk_timer.c

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29* Zane Starr 
     30*******************************************************************************/ 
     31 
     32 
    133#include <include.h> 
    234#include <avr/interrupt.h> 
  • nano-RK/src/kernel/hal/atmega1281/nrk_status.c

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29*******************************************************************************/ 
     30 
     31 
    132#include <include.h> 
    233#include <nrk_status.h> 
  • nano-RK/src/kernel/hal/atmega1281/nrk_timer.c

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29*******************************************************************************/ 
     30 
    131#include <include.h> 
    232#include <avr/interrupt.h> 
  • nano-RK/src/kernel/hal/atmega32/nrk_status.c

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29*******************************************************************************/ 
     30 
     31 
    132#include <include.h> 
    233#include <nrk_status.h> 
  • nano-RK/src/kernel/hal/atmega32/nrk_timer.c

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29* Zane Starr 
     30* Anand Eswaren 
     31*******************************************************************************/ 
     32 
     33 
    134#include <include.h> 
    235#include <stdio.h> 
  • nano-RK/src/kernel/hal/include/nrk_status.h

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29*******************************************************************************/ 
     30 
     31 
    132#ifndef NRK_STATUS_H 
    233#define NRK_STATUS_H 
  • nano-RK/src/kernel/hal/include/nrk_timer.h

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29* Zane Starr 
     30* Anand Eswaren 
     31*******************************************************************************/ 
     32 
     33 
    134#ifndef NRK_TIMER_H 
    235#define NRK_TIMER_H 
  • nano-RK/src/kernel/include/nrk.h

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29* Zane Starr 
     30*******************************************************************************/ 
     31 
     32 
    133#ifndef __nrk_h /* Only include stuff once */ 
    234#define __nrk_h 
  • nano-RK/src/kernel/include/nrk_cpu.h

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29* Anand Eswaren 
     30* Zane Starr 
     31*******************************************************************************/ 
     32 
    133#ifndef __NRK_CPU_H     /* Only include stuff once */ 
    234#define __NRK_CPU_H 
  • nano-RK/src/kernel/include/nrk_defs.h

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29* Anand Eswaren 
     30* Zane Starr 
     31*******************************************************************************/ 
     32 
     33 
    134#ifndef NRK_DEFS_H 
    235#define NRK_DEFS_H 
  • nano-RK/src/kernel/include/nrk_driver.h

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Zane Starr 
     29* Anthony Rowe 
     30*******************************************************************************/ 
     31 
     32 
    133#ifndef NRK_DRIVER_H 
    234#define NRK_DRIVER_H 
  • nano-RK/src/kernel/include/nrk_error.h

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29* Zane Starr 
     30*******************************************************************************/ 
     31 
    132#ifndef NRK_ERROR_H 
    233#define NRK_ERROR_H 
  • nano-RK/src/kernel/include/nrk_events.h

    r4 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Zane Starr 
     29* Anthony Rowe 
     30*******************************************************************************/ 
     31 
     32 
    133#ifndef NRK_EVENTS_H 
    234#define NRK_EVENTS_H 
  • nano-RK/src/kernel/include/nrk_idle_task.h

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29* Zane Starr 
     30*******************************************************************************/ 
     31 
     32 
    133#ifndef NRK_IDLE_TASK_H 
    234#define NRK_IDLE_TASK_H 
  • nano-RK/src/kernel/include/nrk_includes.h

    r1 r15  
    1 /* 
    2 *                        (c) Copyright 1992-1998 
    3 *                          All Rights Reserved 
    4 *               Please contact TA if you want to use this software in the future 
    5 */ 
    6  
    7 /*********************************************************** 
    8 *                       MASTER INCLUDE FILE                * 
    9 ************************************************************ 
    10 */ 
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29* Anand Eswaren 
     30* Zane Starr 
     31*******************************************************************************/ 
    1132 
    1233#ifndef __includes_h    /* Only include stuff once */ 
  • nano-RK/src/kernel/include/nrk_reserve.h

    r4 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Zane Starr 
     29* Anthony Rowe 
     30*******************************************************************************/ 
     31 
     32 
    133void nrk_consume_reserve(uint8_t reserve_id); 
    234int32_t nrk_status(uint8_t reserve_id,uint8_t options); 
  • nano-RK/src/kernel/include/nrk_scheduler.h

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29* Anand Eswaren 
     30* Zane Starr 
     31*******************************************************************************/ 
     32 
    133#ifndef _NRK_SCHEDULER_h        /* Only include stuff once */ 
    234#define _NRK_SCHEDULER_h 
  • nano-RK/src/kernel/include/nrk_stack_check.h

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29*******************************************************************************/ 
     30 
     31 
    132#ifndef NRK_STACK_CHECK_H 
    233#define NRK_STACK_CHECK_H 
  • nano-RK/src/kernel/include/nrk_task.h

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29* Anand Eswaren 
     30* Zane Starr 
     31*******************************************************************************/ 
     32 
     33 
    134#ifndef _NRK_TASK_h     /* Only include stuff once */ 
    235#define _NRK_TASK_h 
  • nano-RK/src/kernel/include/nrk_time.h

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29* Anand Eswaren 
     30* Zane Starr 
     31*******************************************************************************/ 
     32 
     33 
    134#ifndef NRK_TIME_H 
    235#define NRK_TIME_H 
  • nano-RK/src/kernel/source/nrk.c

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University  
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29* Anand Eswaren 
     30* Zane Starr 
     31*******************************************************************************/ 
     32 
    133#include <stdio.h> 
    234#include <nrk_includes.h>  
  • nano-RK/src/kernel/source/nrk_cpu.c

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29* Anand Eswaren  
     30*******************************************************************************/ 
     31 
     32 
    133#include <include.h> 
    234#include <nrk.h> 
  • nano-RK/src/kernel/source/nrk_driver.c

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Zane Starr 
     29* Anthony Rowe 
     30*******************************************************************************/ 
     31 
     32 
    133#include <nrk_cfg.h> 
    234 
  • nano-RK/src/kernel/source/nrk_error.c

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29* Zane Starr 
     30*******************************************************************************/ 
     31 
     32 
    133#include <nrk_error.h> 
    234#include <stdio.h> 
  • nano-RK/src/kernel/source/nrk_events.c

    r4 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Zane Starr 
     29* Anthony Rowe 
     30*******************************************************************************/ 
     31 
     32 
    133#include <nrk.h> 
    234#include <nrk_events.h> 
  • nano-RK/src/kernel/source/nrk_idle_task.c

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29*******************************************************************************/ 
     30 
    131#include <nrk.h> 
    232#include <nrk_idle_task.h> 
  • nano-RK/src/kernel/source/nrk_reserve.c

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29* Zane Starr 
     30* Anand Eswaren 
     31*******************************************************************************/ 
     32 
     33 
    134#include<nrk_time.h> 
    235#include<nrk.h> 
  • nano-RK/src/kernel/source/nrk_scheduler.c

    r5 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29* Zane Starr 
     30* Anand Eswaren 
     31*******************************************************************************/ 
     32 
    133#include <nrk.h> 
    234#include <nrk_task.h> 
  • nano-RK/src/kernel/source/nrk_stack_check.c

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29* Zane Starr 
     30*******************************************************************************/ 
     31 
    132#include <nrk.h> 
    233#include <nrk_error.h> 
  • nano-RK/src/kernel/source/nrk_task.c

    r4 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29* Zane Starr 
     30* Anand Eswaren 
     31*******************************************************************************/ 
     32 
    133#include <nrk.h> 
    234#include <nrk_task.h> 
  • nano-RK/src/kernel/source/nrk_time.c

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29* Anand Eswaren 
     30* Zane Starr 
     31*******************************************************************************/ 
     32 
     33 
    134/* 
    235********************************************************************************************************* 
  • nano-RK/src/net/bmac/bmac.c

    r9 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29*******************************************************************************/ 
     30 
     31 
     32 
    133#include <include.h> 
    234#include <ulib.h> 
  • nano-RK/src/net/bmac/bmac.h

    r8 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29*******************************************************************************/ 
     30 
     31 
    132#ifndef _BMAC_H 
    233#define _BMAC_H 
  • nano-RK/src/net/rt_link/platform/firefly/rt_link.c

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29*******************************************************************************/ 
     30 
    131#include <rt_link.h> 
    232#include <rt_packet.h> 
  • nano-RK/src/net/rt_link/platform/firefly2/rt_link.c

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29*******************************************************************************/ 
     30 
    131#include <rt_link.h> 
    232#include <rt_packet.h> 
  • nano-RK/src/net/rt_link/platform/micaZ/rt_link.c

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29*******************************************************************************/ 
     30 
     31 
    132#include <rt_link.h> 
    233#include <rt_packet.h> 
  • nano-RK/src/net/rt_link/rt_link.c

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29*******************************************************************************/ 
     30 
     31 
    132#include <rt_link.h> 
    233#include <rt_packet.h> 
  • nano-RK/src/net/rt_link/rt_link.h

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29*******************************************************************************/ 
     30 
     31 
    132#ifndef _RT_LINK_H 
    233#define _RT_LINK_H 
  • nano-RK/src/net/rt_link/rtl_debug.c

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29*******************************************************************************/ 
     30 
     31 
    132#include <rtl_debug.h> 
    233#include <nrk.h> 
  • nano-RK/src/net/rt_link/rtl_debug.h

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29*******************************************************************************/ 
     30 
     31 
    132#ifndef _RT_DEBUG_H 
    233#define _RT_DEBUG_H 
  • nano-RK/src/net/rt_link/rtl_scheduler.c

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29*******************************************************************************/ 
     30 
     31 
    132#include <rt_link.h> 
    233#include <include.h> 
  • nano-RK/src/net/rt_link_bare_metal/rt_link.c

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29*******************************************************************************/ 
     30 
     31 
    132#include <rt_link.h> 
    233#include <rt_packet.h> 
  • nano-RK/src/net/rt_link_bare_metal/rt_link.h

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29*******************************************************************************/ 
     30 
     31 
    132#ifndef _RT_LINK_H 
    233#define _RT_LINK_H 
  • nano-RK/src/net/rt_link_bare_metal/rtl_scheduler.c

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29*******************************************************************************/ 
     30 
     31 
    132#include <rt_link.h> 
    233#include <include.h> 
  • nano-RK/src/net/rt_link_bare_metal/rtl_timer.c

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29*******************************************************************************/ 
     30 
    131#include <rt_link.h> 
    232#include <include.h> 
  • nano-RK/src/net/rt_net/rt_packet.h

    r1 r15  
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Anthony Rowe 
     29* Zane Starr 
     30*******************************************************************************/ 
     31 
     32 
    133#ifndef _RT_PACKET_H 
    234#define _RT_PACKET_H 
  • nano-RK/src/radio/cc2420/include/basic_rf.h

    r6 r15  
    3333 * Compiler: AVR-GCC                                                                                   * 
    3434 * Target platform: CC2420DB, CC2420 + any MCU with very few modifications required                    * 
    35  ******************************************************************************************************* 
    36  * Revision history:                                                                                   * 
    37  *  $Log: basic_rf.h,v $ 
    38  *  Revision 1.5  2006/12/15 01:12:12  agr 
    39  *  Quantum leap phase 1 
    40  * 
    41  *  Revision 1.4  2006/10/30 05:43:28  agr 
    42  *  RT-link using high speed timer... 
    43  * 
    44  *  Revision 1.3  2006/08/24 22:55:33  agr 
    45  *  Added Firefly2 platform and basic radio test code! 
    46  * 
    47  *  Revision 1.2  2006/08/17 21:19:49  agr 
    48  *  Refactored Code... This was huge... MAJOR Problems could happen... 
    49  * 
    50  *  Revision 1.1.1.1  2006/06/29 16:16:15  agr 
    51  *  Import from Source 
    52  * 
    53  *  Revision 1.1.1.1  2006/02/02 04:41:48  agr 
    54  *  Import From Source 
    55  * 
    56  *  Revision 1.3  2005/10/19 07:00:40  agr 
    57  *  Added iii location tracking stuff. 
    58  * 
    59  *  Revision 1.2  2005/10/11 07:01:03  agr 
    60  *  Neighbor list freshness 
    61  * 
    62  *  Revision 1.1  2005/03/25 07:32:22  rtml 
    63  *  Added updated rf library with sample app. 
    64  * 
    65  *  Revision 1.1.1.1  2005/03/23 18:50:51  agr 
    66  *  Import wispernet 
    67  * 
    68  *  Revision 1.4  2004/07/26 11:26:15  mbr 
    69  *  Modified RF_ACK_DURATION & RF_SYMBOL_DURATION 
    70  * 
    71  *  Revision 1.3  2004/03/30 14:58:45  mbr 
    72  *  Release for web 
    73  *                                                                                                     * 
    74  * 
    75  * 
    7635 *******************************************************************************************************/ 
    7736#ifndef BASIC_RF_H 
  • nano-RK/src/radio/cc2420/include/hal_cc2420.h

    r1 r15  
    1 /******************************************************************************************************* 
    2  *                                                                                                     * 
    3  *         *********                                                                                   * 
    4  *        ***********                                                                                  * 
    5  *       ***       ***                                                                                 * 
    6  *      ***   +++   ***                                                                                * 
    7  *      ***   + +   ***                                                                                * 
    8  *      ***   +                          CHIPCON CC2420 HARDWARE ABSTRACTION LIBRARY                   * 
    9  *      ***   + +   ***                               CC2420 definitions                               * 
    10  *      ***   +++   ***                                                                                * 
    11  *       ***       ***                                                                                 * 
    12  *        ***********                                                                                  * 
    13  *         *********                                                                                   * 
    14  *                                                                                                     * 
    15  ******************************************************************************************************* 
    16  * CONFIDENTIAL                                                                                        * 
    17  ******************************************************************************************************* 
    18  * The use of this file is restricted by the signed MAC software license agreement.                    * 
    19  ******************************************************************************************************* 
    20  * This file contains register and RAM address definitions for CC2420, and macros for RSSI->ED->LQI    * 
    21  * conversion.                                                                                         * 
    22  *******************************************************************************************************/ 
    23  
    241#ifndef HAL_CC2420_H 
    252#define HAL_CC2420_H 
  • nano-RK/src/radio/cc2420/source/basic_rf.c

    r7 r15  
    1  /****************************************************************************************************** 
    2  * This file contains the basic RF functions.                                                          * 
    3  *                                                                                                     *  
    4  * Authors:                                                                                            * 
    5  * Chipcon cc2420 Development Team                                                                     * 
    6  * Anthony Rowe                                                                                        * 
    7  * Nuno Pereira                                                                                        * 
    8  *                                                                                                     *  
    9  * More information can be found in basic_rf.h                                                         * 
    10  ******************************************************************************************************* 
    11  * Compiler: AVR-GCC                                                                                   * 
    12  * Target platform: CC2420DB, CC2420 + any MCU with very few modifications required                    * 
    13  ******************************************************************************************************* 
    14  * Revision history:                                                                                   * 
    15  * $Log: basic_rf.c,v $ 
    16  * Revision 1.23  2007/02/05 14:28:26  agr 
    17  * bmac added... 
    18  * 
    19  * Revision 1.22  2006/12/19 17:09:02  agr 
    20  * rtl update 
    21  * 
    22  * Revision 1.21  2006/12/15 01:12:12  agr 
    23  * Quantum leap phase 1 
    24  * 
    25  * Revision 1.20  2006/11/15 08:19:36  agr 
    26  * cmucam demo 
    27  * 
    28  * Revision 1.19  2006/11/09 09:08:53  agr 
    29  * software time sync re-write 2 
    30  * 
    31  * Revision 1.18  2006/11/06 23:02:42  agr 
    32  * blah 
    33  * 
    34  * Revision 1.17  2006/11/05 20:48:53  agr 
    35  * rt-link update 
    36  * 
    37  * Revision 1.15  2006/10/31 09:02:41  agr 
    38  * Fixed TX freeze 
    39  * 
    40  * Revision 1.14  2006/10/31 07:31:17  agr 
    41  * Minor Coordinator Fix 
    42  * 
    43  * Revision 1.13  2006/10/30 05:43:28  agr 
    44  * RT-link using high speed timer... 
    45  * 
    46  * Revision 1.12  2006/10/17 22:57:48  agr 
    47  * basic rf fix 
    48  * 
    49  * Revision 1.11  2006/10/15 23:53:05  agr 
    50  * rt-link multi-hop fix 
    51  * 
    52  * Revision 1.10  2006/10/02 04:43:28  agr 
    53  * Band pass filter mod 
    54  * 
    55  * Revision 1.8  2006/09/29 16:10:30  agr 
    56  * Driver linking changes... 
    57  * 
    58  * Revision 1.7  2006/09/18 03:24:17  agr 
    59  * rtl fixes... 
    60  * 
    61  * Revision 1.6  2006/09/14 17:17:08  agr 
    62  * Added 18-848 lab 
    63  * 
    64  * Revision 1.5  2006/08/24 22:55:33  agr 
    65  * Added Firefly2 platform and basic radio test code! 
    66  * 
    67  * Revision 1.9  2006/07/19 16:35:18  rahulm 
    68  * Audio patch 
    69  * 
    70  * Revision 1.8  2006/06/28 18:54:57  rahulm 
    71  * *** empty log message *** 
    72  * 
    73  * Revision 1.7  2006/06/22 06:26:27  agr 
    74  * nano rk rtl2 
    75  * 
    76  * Revision 1.6  2006/05/22 17:00:16  rahulm 
    77  * fixed audio problem 
    78  * 
    79  * Revision 1.5  2006/05/22 15:14:23  agr 
    80  * Audio stuff... 
    81  * 
    82  * Revision 1.4  2006/05/20 23:05:22  agr 
    83  * lots of audio hacks... 
    84  * 
    85  * Revision 1.3  2006/05/19 01:47:35  agr 
    86  * Audio client... 
    87  * 
    88  * Revision 1.2  2006/02/23 18:33:02  agr 
    89  * Mobile node support. 
    90  * 
    91  * Revision 1.1.1.1  2006/02/02 04:41:48  agr 
    92  * Import From Source 
    93  * 
    94  * Revision 1.3  2005/10/19 07:00:40  agr 
    95  * Added iii location tracking stuff. 
    96  * 
    97  * Revision 1.2  2005/10/11 07:01:03  agr 
    98  * Neighbor list freshness 
    99  * 
    100  * Revision 1.3  2005/03/28 04:27:15  rtml 
    101  * Fixed TX while RX off bug. 
    102  * 
    103  * Revision 1.2  2005/03/25 08:09:12  rtml 
    104  * Added rf_busy() 
    105  * 
    106  * Revision 1.1  2005/03/25 07:32:22  rtml 
    107  * Added updated rf library with sample app. 
    108  * 
    109  * Revision 1.1.1.1  2005/03/23 18:50:51  agr 
    110  * Import wispernet 
    111  * 
    112  * Revision 1.4  2004/07/26 11:28:09  mbr 
    113  * Modified RXFIFO flushing by strobing CC2420_SFLUSHRX 
    114  * 
    115  * Revision 1.3  2004/03/30 14:59:22  mbr 
    116  * Release for web 
    117  *  
    118  * 
    119  * 
    120  *******************************************************************************************************/ 
     1/***************************************************************************** 
     2* Copyright (c) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     3* All rights reserved. 
     4* 
     5* Redistribution and use in source and binary forms, with or without 
     6* modification, are permitted provided that the following conditions are met: 
     7*     * Redistributions of source code must retain the above copyright 
     8*       notice, this list of conditions and the following disclaimer. 
     9*     * Redistributions in binary form must reproduce the above copyright 
     10*       notice, this list of conditions and the following disclaimer in the 
     11*       documentation and/or other materials provided with the distribution. 
     12*     * Neither the name of Carnegie Mellon University nor the 
     13*       names of its contributors may be used to endorse or promote products 
     14*       derived from this software without specific prior written permission. 
     15* 
     16* THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY 
     17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     19* DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY 
     20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     22* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
     23* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     24* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     26* 
     27* Contributing Authors: 
     28* Chipcon cc2420 Development Team 
     29* Anthony Rowe 
     30* Nuno Pereira 
     31*******************************************************************************/ 
     32 
    12133#include <include.h> 
    12234#include <basic_rf.h> 
  • nano-RK/src/radio/cc2420/source/hal_rf_set_channel.c

    r1 r15  
    3636 * Compiler: AVR-GCC                                                                                   * 
    3737 * Target platform: CC2420DB, CC2420 + any MCU with very few modifications required                    * 
    38  ******************************************************************************************************* 
    39  * Revision history:                                                                                   * 
    40  * $Log: hal_rf_set_channel.c,v $ 
    41  * Revision 1.3  2006/08/24 22:55:33  agr 
    42  * Added Firefly2 platform and basic radio test code! 
    43  * 
    44  * Revision 1.1.1.1  2006/02/02 04:41:48  agr 
    45  * Import From Source 
    46  * 
    47  * Revision 1.1  2005/03/25 07:32:22  rtml 
    48  * Added updated rf library with sample app. 
    49  * 
    50  * Revision 1.1.1.1  2005/03/23 18:50:51  agr 
    51  * Import wispernet 
    52  * 
    53  * Revision 1.3  2004/03/30 14:59:35  mbr 
    54  * Release for web 
    55  *  
    56  * 
    57  * 
    58  * 
    5938 *******************************************************************************************************/ 
    6039#include <include.h> 
  • nano-RK/src/radio/cc2420/source/hal_rf_wait_for_crystal_oscillator.c

    r1 r15  
    2828 * Compiler: AVR-GCC                                                                                   * 
    2929 * Target platform: CC2420DB, CC2420 + any MCU with very few modifications required                    * 
    30  ******************************************************************************************************* 
    31  * Revision history:                                                                                   * 
    32  * $Log: hal_rf_wait_for_crystal_oscillator.c,v $ 
    33  * Revision 1.3  2006/08/24 22:55:33  agr 
    34  * Added Firefly2 platform and basic radio test code! 
    35  * 
    36  * Revision 1.1.1.1  2006/02/02 04:41:48  agr 
    37  * Import From Source 
    38  * 
    39  * Revision 1.1  2005/03/25 07:32:22  rtml 
    40  * Added updated rf library with sample app. 
    41  * 
    42  * Revision 1.1.1.1  2005/03/23 18:50:51  agr 
    43  * Import wispernet 
    44  * 
    45  * Revision 1.3  2004/03/30 14:59:35  mbr 
    46  * Release for web 
    47  *  
    48  * 
    49  * 
    5030 *******************************************************************************************************/ 
     31 
    5132#include <include.h> 
    52  
    53  
    54  
    5533 
    5634//------------------------------------------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.