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
### Keybase proof | |
I hereby claim: | |
* I am packysauce on github. | |
* I am packysauce (https://keybase.io/packysauce) on keybase. | |
* I have a public key whose fingerprint is 661A F849 78E6 0646 1251 0736 3CAF 354D C267 478F | |
To claim this, I am signing this object: |
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
module devices.omap3.mmc; | |
import core.buffer, core.pack, core.mkregisters; | |
import devices.blockdevice; | |
import kernel; | |
const SDBP = 8; | |
const PSTATE_BRE = 1 << 11; | |
const HCTL_CR = 1 << 17; |
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
module core.mkregisters; | |
template decimalDigit(int n) // [3] | |
{ | |
const string decimalDigit = "0123456789"[n..n+1]; | |
} | |
template itoa(long n) | |
{ | |
static if (n < 0) |