Sean Cross - https://xobs.io/ - @xobs
|
|
if there is one primary contributor, the chances for a file to be buggy decreases significantly |
| Source: Microsoft Research | |
|
The largest amount of security-related code that one person can reasonably audit is about 64 KiB of binary data |
|
|
|
|
|
|
|
|
|
|
|
|
|
| ? | |
|
|
|
|
fn setup_int2() -> xous::Result {
let gpio = xous::syscall::map_physical(
Some(0xe0000000), None, 4096)?;
xous::syscall::claim_interrupt(2, |_int_num, gpio| {
unsafe {
let val = gpio.read_volatile();
gpio.write_volatile(val + 1);
};
}, gpio)
}
|
|
|