Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/abs32le/src/abs32le.c

    r3a2f8aa rd32358f  
    3939#include <arch/asm.h>
    4040
     41#include <func.h>
    4142#include <config.h>
     43#include <context.h>
    4244#include <interrupt.h>
    4345#include <ddi/irq.h>
     
    107109}
    108110
     111void memsetb(void *dst, size_t cnt, uint8_t val)
     112{
     113        _memsetb(dst, cnt, val);
     114}
     115
     116void memsetw(void *dst, size_t cnt, uint16_t val)
     117{
     118        _memsetw(dst, cnt, val);
     119}
     120
     121void panic_printf(char *fmt, ...)
     122{
     123        va_list args;
     124       
     125        va_start(args, fmt);
     126        vprintf(fmt, args);
     127        va_end(args);
     128       
     129        halt();
     130}
     131
     132int context_save_arch(context_t *ctx)
     133{
     134        return 1;
     135}
     136
     137void context_restore_arch(context_t *ctx)
     138{
     139        while (true);
     140}
     141
    109142/** @}
    110143 */
Note: See TracChangeset for help on using the changeset viewer.