fixed GPL headers

This commit is contained in:
Markus Fröschle
2013-10-22 16:14:58 +00:00
parent bfcc5a15c6
commit 85d18669a1
16 changed files with 253 additions and 65 deletions

View File

@@ -1,8 +1,23 @@
/* /*
* bas_string.h * bas_string.h
* *
* This file is part of BaS_gcc.
*
* BaS_gcc is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* BaS_gcc is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with BaS_gcc. If not, see <http://www.gnu.org/licenses/>.
*
* Created on: 26.02.2013 * Created on: 26.02.2013
* Author: mfro * Author: Markus Fröschle
*/ */
#ifndef BAS_STRING_H_ #ifndef BAS_STRING_H_

View File

@@ -1,8 +1,23 @@
/* /*
* bas_utils.h * bas_utils.h
* *
* Created on: 08.08.2013 * This file is part of BaS_gcc.
* Author: froesm1 *
* BaS_gcc is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* BaS_gcc is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with BaS_gcc. If not, see <http://www.gnu.org/licenses/>.
*
* Created on: 26.02.2013
* Author: Markus Fröschle
*/ */
#ifndef _BAS_UTILS_H_ #ifndef _BAS_UTILS_H_

View File

@@ -1,8 +1,23 @@
/* /*
* spidma.h * spidma.h
* *
* Created on: 27.07.2013 * This file is part of BaS_gcc.
* Author: mfro *
* BaS_gcc is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* BaS_gcc is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with BaS_gcc. If not, see <http://www.gnu.org/licenses/>.
*
* Created on: 26.02.2013
* Author: Markus Fröschle
*/ */
#ifndef _SPIDMA_H_ #ifndef _SPIDMA_H_

View File

@@ -1,8 +1,24 @@
/* /*
* interrupts.h * interrupts.h
* *
* This file is part of BaS_gcc.
*
* BaS_gcc is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* BaS_gcc is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with BaS_gcc. If not, see <http://www.gnu.org/licenses/>.
*
*
* Created on: 08.08.2013 * Created on: 08.08.2013
* Author: froesm1 * Author: Markus Fröschle
*/ */
#ifndef _INTERRUPTS_H_ #ifndef _INTERRUPTS_H_

View File

@@ -1,10 +1,26 @@
/* /*
* mmu.h * mmu.h
* *
* Created on: 01.08.2013 * This file is part of BaS_gcc.
* Author: froesm1 *
* BaS_gcc is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* BaS_gcc is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with BaS_gcc. If not, see <http://www.gnu.org/licenses/>.
*
* Created on: 26.02.2013
* Author: Markus Fröschle
*/ */
#ifndef _MMU_H_ #ifndef _MMU_H_
#define _MMU_H_ #define _MMU_H_

View File

@@ -1,6 +1,26 @@
#ifndef _PCI_H_ #ifndef _PCI_H_
#define _PCI_H_ #define _PCI_H_
/*
* This file is part of BaS_gcc.
*
* BaS_gcc is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* BaS_gcc is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with BaS_gcc. If not, see <http://www.gnu.org/licenses/>.
*
* Created on: 26.02.2013
* Author: Markus Fröschle
*/
#define PCI_MEMORY_OFFSET (0x80000000) #define PCI_MEMORY_OFFSET (0x80000000)
#define PCI_MEMORY_SIZE (0x40000000) #define PCI_MEMORY_SIZE (0x40000000)
#define PCI_IO_OFFSET (0xD0000000) #define PCI_IO_OFFSET (0xD0000000)

View File

@@ -1,3 +1,25 @@
#ifndef _STARTCF_H_
#define _STARTCF_H_
/*
* This file is part of BaS_gcc.
*
* BaS_gcc is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* BaS_gcc is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with BaS_gcc. If not, see <http://www.gnu.org/licenses/>.
*
* Created on: 26.02.2013
* Author: Markus Fröschle
*/
#define cf_stack #define cf_stack
@@ -6,3 +28,4 @@
#define sca_page_ID 6 #define sca_page_ID 6
#endif /* _STARTCF_H_ */

View File

@@ -2,7 +2,7 @@
* version.h * version.h
* *
* Created on: 21.10.2013 * Created on: 21.10.2013
* Author: mfro * Author: Markus Fröschle
* *
* This file is part of BaS_gcc. * This file is part of BaS_gcc.
* *

View File

@@ -19,6 +19,7 @@
* Created on: 01.05.2013 * Created on: 01.05.2013
* Copyright 2012 M. Fröschle * Copyright 2012 M. Fröschle
*/ */
#ifndef _XHDI_SD_H_ #ifndef _XHDI_SD_H_
#define _XHDI_SD_H_ #define _XHDI_SD_H_

View File

@@ -1,8 +1,23 @@
/* /*
* bas_string.c * bas_string.c
* *
* This file is part of BaS_gcc.
*
* BaS_gcc is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* BaS_gcc is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with BaS_gcc. If not, see <http://www.gnu.org/licenses/>.
*
* Created on: 26.02.2013 * Created on: 26.02.2013
* Author: mfro * Author: Markus Fröschle
*/ */
#include "bas_types.h" #include "bas_types.h"

View File

@@ -1,35 +1,24 @@
/* /*
* basflash.c * basflash.c
* *
* Created on: 18.12.2012
* Author: mfro
* *
* Copyright (c) 1980, 1991 The Regents of the University of California. * This file is part of BaS_gcc.
* All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * BaS_gcc is free software: you can redistribute it and/or modify
* modification, are permitted provided that the following conditions * it under the terms of the GNU General Public License as published by
* are met: * the Free Software Foundation, either version 3 of the License, or
* 1. Redistributions of source code must retain the above copyright * (at your option) any later version.
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * BaS_gcc is distributed in the hope that it will be useful,
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * but WITHOUT ANY WARRANTY; without even the implied warranty of
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * GNU General Public License for more details.
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL *
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * You should have received a copy of the GNU General Public License
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * along with BaS_gcc. If not, see <http://www.gnu.org/licenses/>.
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT *
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * Created on: 26.02.2013
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * Author: Markus Fröschle
* SUCH DAMAGE.
*/ */
#include <stdint.h> #include <stdint.h>

View File

@@ -1,35 +1,24 @@
/* /*
* basflash_start.c * basflash_start.c
* *
* Created on: 16.02.2013
* Author: mfro
* *
* Copyright (c) 1980, 1991 The Regents of the University of California. * This file is part of BaS_gcc.
* All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * BaS_gcc is free software: you can redistribute it and/or modify
* modification, are permitted provided that the following conditions * it under the terms of the GNU General Public License as published by
* are met: * the Free Software Foundation, either version 3 of the License, or
* 1. Redistributions of source code must retain the above copyright * (at your option) any later version.
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
* *
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * BaS_gcc is distributed in the hope that it will be useful,
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * but WITHOUT ANY WARRANTY; without even the implied warranty of
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * GNU General Public License for more details.
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL *
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * You should have received a copy of the GNU General Public License
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * along with BaS_gcc. If not, see <http://www.gnu.org/licenses/>.
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT *
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * Created on: 26.02.2013
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * Author: Markus Fröschle
* SUCH DAMAGE.
*/ */
#include <stdint.h> #include <stdint.h>

View File

@@ -1,8 +1,24 @@
/* /*
* dma.c * dma.c
* *
* Created on: 27.07.2013 *
* Author: mfro * This file is part of BaS_gcc.
*
* BaS_gcc is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* BaS_gcc is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with BaS_gcc. If not, see <http://www.gnu.org/licenses/>.
*
* Created on: 26.02.2013
* Author: Markus Fröschle
*/ */
#include "dma.h" #include "dma.h"

View File

@@ -1,6 +1,25 @@
/* /*
* initialize exception vectors * initialize exception vectors
*
* This file is part of BaS_gcc.
*
* BaS_gcc is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* BaS_gcc is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with BaS_gcc. If not, see <http://www.gnu.org/licenses/>.
*
* Created on: 26.02.2013
* Author: Markus Fröschle
*/ */
#include "startcf.h" #include "startcf.h"
.extern __Bas_base .extern __Bas_base

View File

@@ -3,6 +3,23 @@
* *
* Handle interrupts, the levels. * Handle interrupts, the levels.
* *
* This file is part of BaS_gcc.
*
* BaS_gcc is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* BaS_gcc is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with BaS_gcc. If not, see <http://www.gnu.org/licenses/>.
*
* Created on: 26.02.2013
* Author: Markus Fröschle
*/ */
#include <stdint.h> #include <stdint.h>

View File

@@ -1,4 +1,26 @@
// /*
* xhdi_vec.S
*
* XHDI entry point for EmuTOS into BaS' SD-card driver
*
* This file is part of BaS_gcc.
*
* BaS_gcc is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* BaS_gcc is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with BaS_gcc. If not, see <http://www.gnu.org/licenses/>.
*
* Created on: 26.02.2013
* Author: Markus Fröschle
*///
// XHDI entry point // XHDI entry point
// //
.extern _xhdi_call .extern _xhdi_call