Skip to content
Permalink
Browse files

expr-elimination

  • Loading branch information
pnkfelix committed Nov 15, 2019
1 parent 58118dd commit cd73c2659e59ac8fa4a1b1ff01fdc3634972f271
Showing with 8 additions and 0 deletions.
  1. +8 −0 tock/boards/arty-e21/src/main.rs
@@ -97,14 +97,19 @@ pub unsafe fn reset_handler() {
rv32i::init_memory();

let chip = static_init!(arty_e21::chip::ArtyExx, arty_e21::chip::ArtyExx::new());
/*
chip.initialize();
*/

let process_mgmt_cap = create_capability!(capabilities::ProcessManagementCapability);
/*
let main_loop_cap = create_capability!(capabilities::MainLoopCapability);
let memory_allocation_cap = create_capability!(capabilities::MemoryAllocationCapability);
*/
let board_kernel = static_init!(kernel::Kernel, kernel::Kernel::new(&PROCESSES));

/*
kernel::debug::assign_gpios(
Some(&arty_e21::gpio::PORT[0]), // Red
Some(&arty_e21::gpio::PORT[1]),
@@ -243,6 +248,7 @@ pub unsafe fn reset_handler() {
kernel::debug::set_debug_writer_wrapper(debug_wrapper);
debug!("Initialization complete. Entering main loop.");
*/

extern "C" {
static _sapps: u8;
@@ -258,5 +264,7 @@ pub unsafe fn reset_handler() {
&process_mgmt_cap,
);

/*
board_kernel.kernel_loop(&artye21, chip, None, &main_loop_cap);
*/
}

0 comments on commit cd73c26

Please sign in to comment.
You can’t perform that action at this time.