Ignore:
Timestamp:
2006-02-28T00:02:39Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7d6ec87
Parents:
d87c3f3
Message:

sparc64 work.
Fix KBD_VIRT_ADDRESS.
Call before_thread_runs() prior to the switch to the thread's stack. Add comment why this is crucial.
Add after_thread_ran() to the scheduler.
Add before_thread_runs_arch() and after_thread_ran_arch() for sparc64, mapping/demapping thread's kernel stack.
Add dummy after_thread_ran_arch() to all other architectures.
Add dtlb_insert_mapping() to promote code reuse.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/sparc64/include/trap/exception.h

    rd87c3f3 r97f1691  
    3232#define TT_INSTRUCTION_ACCESS_EXCEPTION         0x08
    3333#define TT_ILLEGAL_INSTRUCTION                  0x10
     34#define TT_DATA_ACCESS_ERROR                    0x32
    3435#define TT_MEM_ADDRESS_NOT_ALIGNED              0x34
    3536
     
    3738extern void do_instruction_access_exc(void);
    3839extern void do_mem_address_not_aligned(void);
     40extern void do_data_access_error(void);
    3941extern void do_illegal_instruction(void);
    4042#endif /* !__ASM__ */
Note: See TracChangeset for help on using the changeset viewer.