Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 6c742f5e in mainline


Ignore:
Timestamp:
2017-08-21T18:47:25Z (3 years ago)
Author:
Martin Decky <martin@…>
Branches:
master
Children:
7850dda
Parents:
ccc362a1
Message:

riscv64: helper routines

Location:
kernel/arch/riscv64/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/riscv64/src/asm.S

    rccc362a1 r6c742f5e  
    3131.text
    3232
    33 SYMBOL(kernel_image_start)
    34         // FIXME
    35         nop
     33FUNCTION_BEGIN(asm_delay_loop)
     34        ret
     35FUNCTION_END(asm_delay_loop)
     36
     37FUNCTION_BEGIN(early_putchar)
     38        ret
     39FUNCTION_END(early_putchar)
     40
     41FUNCTION_BEGIN(cpu_halt)
     42        j cpu_halt
     43FUNCTION_END(cpu_halt)
  • kernel/arch/riscv64/src/riscv64.c

    rccc362a1 r6c742f5e  
    3535#include <arch.h>
    3636#include <stddef.h>
     37#include <arch/arch.h>
    3738#include <arch/interrupt.h>
    3839#include <arch/asm.h>
     40#include <arch/drivers/ucb.h>
    3941
    4042#include <func.h>
Note: See TracChangeset for help on using the changeset viewer.