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

Changeset 2ee907e in mainline


Ignore:
Timestamp:
2010-05-21T21:30:07Z (11 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
819a768
Parents:
989d3c2
Message:

Add read_from_ag_g6().

Location:
kernel/arch/sparc64
Files:
2 edited

Legend:

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

    r989d3c2 r2ee907e  
    433433extern void asm_delay_loop(const uint32_t usec);
    434434
     435extern uint64_t read_from_ag_g6(void);
    435436extern uint64_t read_from_ag_g7(void);
    436437extern void write_to_ag_g6(uint64_t val);
  • kernel/arch/sparc64/src/sun4u/asm.S

    r989d3c2 r2ee907e  
    6767        WRITE_ALTERNATE_REGISTER %g6, PSTATE_IG_BIT
    6868
     69.global read_from_ag_g6
     70read_from_ag_g6:
     71        READ_ALTERNATE_REGISTER %g6, PSTATE_AG_BIT
     72
    6973.global read_from_ag_g7
    7074read_from_ag_g7:
Note: See TracChangeset for help on using the changeset viewer.