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)]
|
#![feature(test)]
|
||||||
extern crate test;
|
extern crate test;
|
||||||
extern crate lwkt;
|
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)]
|
#![feature(asm, test)]
|
||||||
extern crate test;
|
extern crate test;
|
||||||
use test::Bencher;
|
use test::Bencher;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
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;
|
extern crate gcc;
|
||||||
use std::env::var_os;
|
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::prelude::*;
|
||||||
use core::mem::{size_of, align_of};
|
use core::mem::{size_of, align_of};
|
||||||
use core::cmp::max;
|
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::prelude::*;
|
||||||
use core::marker::PhantomData;
|
use core::marker::PhantomData;
|
||||||
use arch::Registers;
|
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 core::prelude::*;
|
||||||
use stack;
|
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::*;
|
pub use self::imp::*;
|
||||||
|
|
||||||
#[cfg(feature = "valgrind")]
|
#[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 <stdint.h>
|
||||||
#include "valgrind.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)]
|
#![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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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)]
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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::*;
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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};
|
||||||
|
|
|
@ -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};
|
||||||
|
|
Loading…
Reference in New Issue