parent
279f983786
commit
68b967b48e
@ -1,6 +0,0 @@
|
||||
[package]
|
||||
name = "atags"
|
||||
version = "0.1.0"
|
||||
authors = ["koumingyang <1761674434@qq.com>"]
|
||||
|
||||
[dependencies]
|
@ -1,6 +0,0 @@
|
||||
#![no_std]
|
||||
|
||||
mod raw;
|
||||
mod atag;
|
||||
|
||||
pub mod atags;
|
@ -0,0 +1,7 @@
|
||||
#[cfg(feature = "zero_kernel_offset")]
|
||||
pub const KERNEL_OFFSET: usize = 0;
|
||||
#[cfg(not(feature = "zero_kernel_offset"))]
|
||||
pub const KERNEL_OFFSET: usize = 0xFFFF_0000_0000_0000;
|
||||
|
||||
pub const RAW_IO_BASE: usize = 0x3F00_0000;
|
||||
pub const IO_BASE: usize = KERNEL_OFFSET + RAW_IO_BASE;
|
Loading…
Reference in new issue