Changeset e11ae91 in mainline for kernel/arch/sparc64/include/asm.h


Ignore:
Timestamp:
2006-08-30T11:31:25Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ee454eb
Parents:
0fa6044
Message:

sparc64 work.

  • Modify before_thread_runs_arch() to store addresses of the kernel stack and

userspace window buffer, resp., to registers %g6 and %g7, resp, in the
alternate and interrupt global sets.

  • Modify after_thread_ran_arch() to sample %g7 from the alternate globals.
  • Implement trap handler for spilling register windows into userspace window buffer.
  • Implement assembly language functions to access %g6 and %g7 registers in the alternate sets.
  • Initialize the trap table so that there are now also spill_1_normal, spill_2_normal,

spill_0_other and fill_1_normal handlers. These handlers are used in different situations
and for different purposes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/include/asm.h

    r0fa6044 re11ae91  
    322322}
    323323
    324 void cpu_halt(void);
    325 void cpu_sleep(void);
    326 void asm_delay_loop(uint32_t t);
     324extern void cpu_halt(void);
     325extern void cpu_sleep(void);
     326extern void asm_delay_loop(uint32_t t);
     327
     328extern uint64_t read_from_ag_g7(void);
     329extern void write_to_ag_g6(uint64_t val);
     330extern void write_to_ag_g7(uint64_t val);
     331extern void write_to_ig_g6(uint64_t val);
    327332
    328333#endif
Note: See TracChangeset for help on using the changeset viewer.