mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
Add license headers to armsrc/bootrom/common stuff
I have kept whatever copyright notices exist. Please add your own copyright notice if you have made any nontrivial changes or additions to the code. There are several files without any attribution, currently.
This commit is contained in:
parent
9ab7a6c755
commit
bd20f8f478
44 changed files with 359 additions and 68 deletions
|
@ -1,4 +1,10 @@
|
|||
#-----------------------------------------------------------------------------
|
||||
# This code is licensed to you under the terms of the GNU GPL, version 2 or,
|
||||
# at your option, any later version. See the LICENSE.txt file for the text of
|
||||
# the license.
|
||||
#-----------------------------------------------------------------------------
|
||||
# Makefile for bootrom, see ../common/Makefile.common for common settings
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
# DO NOT use thumb mode in the phase 1 bootloader since that generates a section with glue code
|
||||
ARMSRC = fromflash.c
|
||||
|
|
|
@ -1,3 +1,11 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
|
||||
// at your option, any later version. See the LICENSE.txt file for the text of
|
||||
// the license.
|
||||
//-----------------------------------------------------------------------------
|
||||
// Main code for the bootloader
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#include <proxmark3.h>
|
||||
|
||||
struct common_area common_area __attribute__((section(".commonarea")));
|
||||
|
|
|
@ -1,3 +1,11 @@
|
|||
@-----------------------------------------------------------------------------
|
||||
@ This code is licensed to you under the terms of the GNU GPL, version 2 or,
|
||||
@ at your option, any later version. See the LICENSE.txt file for the text of
|
||||
@ the license.
|
||||
@-----------------------------------------------------------------------------
|
||||
@ Reset vector for running from FLASH
|
||||
@-----------------------------------------------------------------------------
|
||||
|
||||
.extern CopyBootToRAM
|
||||
|
||||
.section .startup,"ax"
|
||||
|
|
|
@ -1,3 +1,11 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
|
||||
// at your option, any later version. See the LICENSE.txt file for the text of
|
||||
// the license.
|
||||
//-----------------------------------------------------------------------------
|
||||
// Helper function for launching the bootloader from FLASH
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#include <proxmark3.h>
|
||||
|
||||
extern char __bootphase2_src_start__, __bootphase2_start__, __bootphase2_end__;
|
||||
|
|
|
@ -1,3 +1,13 @@
|
|||
/*
|
||||
-----------------------------------------------------------------------------
|
||||
This code is licensed to you under the terms of the GNU GPL, version 2 or,
|
||||
at your option, any later version. See the LICENSE.txt file for the text of
|
||||
the license.
|
||||
-----------------------------------------------------------------------------
|
||||
Bootrom linker script
|
||||
-----------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
INCLUDE ../common/ldscript.common
|
||||
|
||||
ENTRY(flashstart)
|
||||
|
|
|
@ -1,3 +1,11 @@
|
|||
@-----------------------------------------------------------------------------
|
||||
@ This code is licensed to you under the terms of the GNU GPL, version 2 or,
|
||||
@ at your option, any later version. See the LICENSE.txt file for the text of
|
||||
@ the license.
|
||||
@-----------------------------------------------------------------------------
|
||||
@ RAM reset vector for relaunching the bootloader
|
||||
@-----------------------------------------------------------------------------
|
||||
|
||||
.extern BootROM
|
||||
|
||||
.section .startphase2,"ax"
|
||||
|
|
|
@ -1,6 +1,12 @@
|
|||
/*
|
||||
* Replacement stdint.h because GCC doesn't come with it yet (C99)
|
||||
*/
|
||||
//-----------------------------------------------------------------------------
|
||||
// Copyright (C) 2010 Hector Martin "marcan" <marcan@marcansoft.com>
|
||||
//
|
||||
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
|
||||
// at your option, any later version. See the LICENSE.txt file for the text of
|
||||
// the license.
|
||||
//-----------------------------------------------------------------------------
|
||||
// Replacement stdint.h because GCC doesn't come with it yet (C99)
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#ifndef __STDINT_H
|
||||
#define __STDINT_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue