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)]
extern crate test;
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)]
extern crate test;
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)]
extern crate test;
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;
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::mem::{size_of, align_of};
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::marker::PhantomData;
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 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::*;
#[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 "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)]
//! 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

View File

@ -1,5 +1,5 @@
// 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
//! 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(asm, core)]
#![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;
use core::prelude::*;
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.
use core::prelude::*;

View File

@ -1,5 +1,5 @@
// 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
//! 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};
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;
use core::prelude::*;
use self::libc::{c_void, c_int, size_t};