1
0
Fork 0

add license headers to every file

This commit is contained in:
edef 2015-04-16 06:08:44 -04:00
parent cbc10fd311
commit f24e8e7911
17 changed files with 32 additions and 2 deletions

View File

@ -1,3 +1,5 @@
// Copyright (c) 2015, edef <edef@edef.eu>
// See the LICENSE file included in this distribution.
#![feature(test)] #![feature(test)]
extern crate test; extern crate test;
extern crate lwkt; extern crate lwkt;

View File

@ -1,3 +1,5 @@
// Copyright (c) 2015, edef <edef@edef.eu>
// See the LICENSE file included in this distribution.
#![feature(asm, test)] #![feature(asm, test)]
extern crate test; extern crate test;
use test::Bencher; use test::Bencher;

View File

@ -1,3 +1,5 @@
// Copyright (c) 2015, edef <edef@edef.eu>
// See the LICENSE file included in this distribution.
#![feature(test)] #![feature(test)]
extern crate test; extern crate test;
extern crate lwkt; extern crate lwkt;

View File

@ -1,3 +1,5 @@
// Copyright (c) 2015, edef <edef@edef.eu>
// See the LICENSE file included in this distribution.
extern crate gcc; extern crate gcc;
use std::env::var_os; use std::env::var_os;

View File

@ -1,3 +1,5 @@
// Copyright (c) 2015, edef <edef@edef.eu>
// See the LICENSE file included in this distribution.
use core::prelude::*; use core::prelude::*;
use core::mem::{size_of, align_of}; use core::mem::{size_of, align_of};
use core::cmp::max; use core::cmp::max;

View File

@ -1,3 +1,5 @@
// Copyright (c) 2015, edef <edef@edef.eu>
// See the LICENSE file included in this distribution.
use core::prelude::*; use core::prelude::*;
use core::marker::PhantomData; use core::marker::PhantomData;
use arch::Registers; use arch::Registers;

View File

@ -1,3 +1,5 @@
// Copyright (c) 2015, edef <edef@edef.eu>
// See the LICENSE file included in this distribution.
use core::prelude::*; use core::prelude::*;
use stack; use stack;

View File

@ -1,3 +1,5 @@
// Copyright (c) 2015, edef <edef@edef.eu>
// See the LICENSE file included in this distribution.
pub use self::imp::*; pub use self::imp::*;
#[cfg(feature = "valgrind")] #[cfg(feature = "valgrind")]

View File

@ -1,3 +1,5 @@
// Copyright (c) 2015, edef <edef@edef.eu>
// See the LICENSE file included in this distribution.
#include <stdint.h> #include <stdint.h>
#include "valgrind.h" #include "valgrind.h"

View File

@ -1,3 +1,5 @@
// Copyright (c) 2015, edef <edef@edef.eu>
// See the LICENSE file included in this distribution.
#![allow(non_camel_case_types)] #![allow(non_camel_case_types)]
//! In order for Valgrind to keep track of stack overflows and such, it needs //! In order for Valgrind to keep track of stack overflows and such, it needs
//! a little help. That help unfortunately comes in the form of a set of C //! a little help. That help unfortunately comes in the form of a set of C

View File

@ -1,5 +1,5 @@
// Copyright (c) 2015, edef <edef@edef.eu> // Copyright (c) 2015, edef <edef@edef.eu>
// See LICENSE file that comes with this distribution. // See the LICENSE file included in this distribution.
//! initialise a new context //! initialise a new context
//! arguments: //! arguments:

View File

@ -1,3 +1,5 @@
// Copyright (c) 2015, edef <edef@edef.eu>
// See the LICENSE file included in this distribution.
#![feature(no_std)] #![feature(no_std)]
#![feature(asm, core)] #![feature(asm, core)]
#![feature(libc)] #![feature(libc)]

View File

@ -1,3 +1,5 @@
// Copyright (c) 2015, edef <edef@edef.eu>
// See the LICENSE file included in this distribution.
extern crate std; extern crate std;
use core::prelude::*; use core::prelude::*;
use self::std::io::Error as IoError; use self::std::io::Error as IoError;

View File

@ -1,3 +1,5 @@
// Copyright (c) 2015, edef <edef@edef.eu>
// See the LICENSE file included in this distribution.
//! Traits for stacks. //! Traits for stacks.
use core::prelude::*; use core::prelude::*;

View File

@ -1,5 +1,5 @@
// Copyright (c) 2015, edef <edef@edef.eu> // Copyright (c) 2015, edef <edef@edef.eu>
// See LICENSE file that comes with this distribution. // See the LICENSE file included in this distribution.
//! switch to a new context //! switch to a new context
//! arguments: //! arguments:

View File

@ -1,3 +1,5 @@
// Copyright (c) 2015, edef <edef@edef.eu>
// See the LICENSE file included in this distribution.
use core::atomic::{ATOMIC_USIZE_INIT, AtomicUsize, Ordering}; use core::atomic::{ATOMIC_USIZE_INIT, AtomicUsize, Ordering};
pub use self::imp::{map_stack, protect_stack, unmap_stack}; pub use self::imp::{map_stack, protect_stack, unmap_stack};

View File

@ -1,3 +1,5 @@
// Copyright (c) 2015, edef <edef@edef.eu>
// See the LICENSE file included in this distribution.
extern crate libc; extern crate libc;
use core::prelude::*; use core::prelude::*;
use self::libc::{c_void, c_int, size_t}; use self::libc::{c_void, c_int, size_t};