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

Ignore:
Timestamp:
2013-12-02T23:45:45Z (9 years ago)
Author:
Jakub Klama <jakub.klama@…>
Branches:
lfn, master, serial
Children:
2955bb9
Parents:
3bc42bd
Message:

Implement new userspace window trap mechanism, which utilizes MMU probe
to choose between slow (preemptive, involving inserting stack page mapping)
and fast (direct) handlers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc32/include/arch/arch.h

    r3bc42bd ra218709  
    4040
    4141#include <typedefs.h>
     42#include <arch/istate.h>
    4243
    4344#define NWINDOWS        8
     
    7677extern void arch_pre_main(void *unused, bootinfo_t *bootinfo);
    7778extern void write_to_invalid(uint32_t l0, uint32_t l1, uint32_t l2);
     79extern void read_from_invalid(uint32_t *l0, uint32_t *l1, uint32_t *l2);
     80extern void preemptible_save_uspace(uintptr_t sp, istate_t *istate);
     81extern void preemptible_restore_uspace(uintptr_t sp, istate_t *istate);
     82extern void flush_windows(void);
    7883
    7984#endif
Note: See TracChangeset for help on using the changeset viewer.