Changeset 96e0748d in mainline for kernel/arch/arm32/include/arch.h


Ignore:
Timestamp:
2009-02-17T22:47:27Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f89979b
Parents:
e662a5f
Message:

make arch_pre_main optional, don't force any specific prototype
simplify boot process
mips32: detect number of configured CPUs in msim

File:
1 edited

Legend:

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

    re662a5f r96e0748d  
    2727 */
    2828
    29 /** @addtogroup arm32   
     29/** @addtogroup arm32
    3030 * @{
    3131 */
     
    3737#define KERN_arm32_ARCH_H_
    3838
     39#define TASKMAP_MAX_RECORDS  32
     40#define CPUMAP_MAX_RECORDS   32
     41
     42#include <typedefs.h>
     43
     44typedef struct {
     45        uintptr_t addr;
     46        uint32_t size;
     47} utask_t;
     48
     49typedef struct {
     50        uint32_t cnt;
     51        utask_t tasks[TASKMAP_MAX_RECORDS];
     52} bootinfo_t;
     53
     54extern void arch_pre_main(void *entry, bootinfo_t *bootinfo);
     55
    3956#endif
    4057
Note: See TracChangeset for help on using the changeset viewer.