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


Ignore:
Timestamp:
2006-09-12T13:03:55Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6eabb6e6
Parents:
7bb6b06
Message:

sparc64 work:

  • find a CPU node and read its clock_frequency attribute
  • implement asm_delay_loop()
  • set TICK_COMPARE register according to processor frequency
  • small improvements at random places

OpenFirmware work:

  • two new functions for walking the device tree

Generic boot loader work:

  • added basic string functions

Usual pile of indentation and formatting fixes.

File:
1 edited

Legend:

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

    r7bb6b06 r9a5b556  
    3636#define KERN_sparc64_ASM_H_
    3737
     38#include <arch.h>
    3839#include <typedefs.h>
    3940#include <arch/types.h>
    4041#include <arch/register.h>
    4142#include <config.h>
     43#include <time/clock.h>
    4244
    4345/** Read Processor State register.
     
    336338extern void cpu_halt(void);
    337339extern void cpu_sleep(void);
    338 extern void asm_delay_loop(uint32_t t);
     340extern void asm_delay_loop(const uint32_t usec);
    339341
    340342extern uint64_t read_from_ag_g7(void);
Note: See TracChangeset for help on using the changeset viewer.