-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #1470 - semarie:openbsd-sparc64, r=gnzlbg
add support for sparc64 on OpenBSD
- Loading branch information
Showing
5 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,5 @@ cfg_if! { | |
pub const _ALIGNBYTES: usize = 8 - 1; | ||
} | ||
} | ||
|
||
pub const _MAX_PAGE_SHIFT: u32 = 12; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
pub type c_long = i64; | ||
pub type c_ulong = u64; | ||
pub type c_char = i8; | ||
|
||
#[doc(hidden)] | ||
pub const _ALIGNBYTES: usize = 0xf; | ||
|
||
pub const _MAX_PAGE_SHIFT: u32 = 13; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,5 @@ cfg_if! { | |
pub const _ALIGNBYTES: usize = 4 - 1; | ||
} | ||
} | ||
|
||
pub const _MAX_PAGE_SHIFT: u32 = 12; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters