forked from M-Labs/libfringe
add license headers to every file
This commit is contained in:
parent
cbc10fd311
commit
f24e8e7911
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
2
build.rs
2
build.rs
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// Copyright (c) 2015, edef <edef@edef.eu>
|
||||
// See the LICENSE file included in this distribution.
|
||||
use core::prelude::*;
|
||||
use stack;
|
||||
|
||||
|
@ -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")]
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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
|
||||
|
@ -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:
|
||||
|
@ -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)]
|
||||
|
@ -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;
|
||||
|
@ -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::*;
|
||||
|
||||
|
@ -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:
|
||||
|
@ -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};
|
||||
|
@ -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};
|
||||
|
Loading…
Reference in New Issue
Block a user