Ignore:
File:
1 edited

Legend:

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

    rfb52db8 r50fda24  
    3535#include <arch.h>
    3636#include <arch/types.h>
     37#include <arch/context.h>
    3738#include <arch/interrupt.h>
    3839#include <arch/asm.h>
    3940
    40 #include <func.h>
    4141#include <config.h>
    42 #include <errno.h>
    43 #include <context.h>
    44 #include <fpu_context.h>
    4542#include <interrupt.h>
    46 #include <syscall/copy.h>
    4743#include <ddi/irq.h>
    4844#include <proc/thread.h>
     
    5147#include <sysinfo/sysinfo.h>
    5248#include <memstr.h>
    53 
    54 char memcpy_from_uspace_failover_address;
    55 char memcpy_to_uspace_failover_address;
    5649
    5750void arch_pre_mm_init(void)
     
    8881unative_t sys_tls_set(unative_t addr)
    8982{
    90         return EOK;
     83        return 0;
    9184}
    9285
     
    109102}
    110103
    111 void irq_initialize_arch(irq_t *irq)
    112 {
    113         (void) irq;
    114 }
    115 
    116 void panic_printf(char *fmt, ...)
    117 {
    118         va_list args;
    119        
    120         va_start(args, fmt);
    121         vprintf(fmt, args);
    122         va_end(args);
    123        
    124         halt();
    125 }
    126 
    127 int context_save_arch(context_t *ctx)
    128 {
    129         return 1;
    130 }
    131 
    132 void context_restore_arch(context_t *ctx)
    133 {
    134         while (true);
    135 }
    136 
    137 void fpu_init(void)
    138 {
    139 }
    140 
    141 void fpu_context_save(fpu_context_t *ctx)
    142 {
    143 }
    144 
    145 void fpu_context_restore(fpu_context_t *ctx)
    146 {
    147 }
    148 
    149 int memcpy_from_uspace(void *dst, const void *uspace_src, size_t size)
    150 {
    151         return EOK;
    152 }
    153 
    154 int memcpy_to_uspace(void *uspace_dst, const void *src, size_t size)
    155 {
    156         return EOK;
    157 }
    158 
    159104/** @}
    160105 */
Note: See TracChangeset for help on using the changeset viewer.