diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2012-12-03 16:48:01 -0800 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2012-12-03 17:12:14 -0800 |
| commit | 00c856c0b1feac74df8b404fad94d74a0cf1624a (patch) | |
| tree | 6fed03be32898c9b0c22f8e409d03533957cf75b /src/rt/arch | |
| parent | 7eda4a567d30ecadc3f6bfa17e2911594ad6b1fa (diff) | |
| download | rust-00c856c0b1feac74df8b404fad94d74a0cf1624a.tar.gz rust-00c856c0b1feac74df8b404fad94d74a0cf1624a.zip | |
Update license, add license boilerplate to most files. Remainder will follow.
Diffstat (limited to 'src/rt/arch')
| -rw-r--r-- | src/rt/arch/i386/gpr.cpp | 10 | ||||
| -rw-r--r-- | src/rt/arch/i386/gpr.h | 10 | ||||
| -rw-r--r-- | src/rt/arch/i386/regs.h | 10 | ||||
| -rw-r--r-- | src/rt/arch/x86_64/gpr.cpp | 10 | ||||
| -rw-r--r-- | src/rt/arch/x86_64/gpr.h | 10 | ||||
| -rw-r--r-- | src/rt/arch/x86_64/regs.h | 10 |
6 files changed, 60 insertions, 0 deletions
diff --git a/src/rt/arch/i386/gpr.cpp b/src/rt/arch/i386/gpr.cpp index 778d64490ba..bebf8019427 100644 --- a/src/rt/arch/i386/gpr.cpp +++ b/src/rt/arch/i386/gpr.cpp @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #include "gpr.h" #define LOAD(rn) do { \ diff --git a/src/rt/arch/i386/gpr.h b/src/rt/arch/i386/gpr.h index 6c9685e2a5a..6ae53e113f4 100644 --- a/src/rt/arch/i386/gpr.h +++ b/src/rt/arch/i386/gpr.h @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + // General-purpose registers. This structure is used during stack crawling. #ifndef GPR_H diff --git a/src/rt/arch/i386/regs.h b/src/rt/arch/i386/regs.h index 80eacd80178..85c02049edd 100644 --- a/src/rt/arch/i386/regs.h +++ b/src/rt/arch/i386/regs.h @@ -1,2 +1,12 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + // This file is not used by i386, but we keep it here so all // architectures have the same set of header files. diff --git a/src/rt/arch/x86_64/gpr.cpp b/src/rt/arch/x86_64/gpr.cpp index 2533e826d4b..cf43125923a 100644 --- a/src/rt/arch/x86_64/gpr.cpp +++ b/src/rt/arch/x86_64/gpr.cpp @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #include "gpr.h" #define LOAD(rn) do { \ diff --git a/src/rt/arch/x86_64/gpr.h b/src/rt/arch/x86_64/gpr.h index 620392c579f..75c3b081e77 100644 --- a/src/rt/arch/x86_64/gpr.h +++ b/src/rt/arch/x86_64/gpr.h @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + // General-purpose registers. This structure is used during stack crawling. #ifndef GPR_H diff --git a/src/rt/arch/x86_64/regs.h b/src/rt/arch/x86_64/regs.h index 63aab911c00..7d0efd1eec8 100644 --- a/src/rt/arch/x86_64/regs.h +++ b/src/rt/arch/x86_64/regs.h @@ -1,3 +1,13 @@ +// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #define RUSTRT_RBX 0 #define RUSTRT_RSP 1 #define RUSTRT_RBP 2 |
