Changeset ef9a2a8 in mainline for kernel/arch/sparc32/include/arch/arch.h
- Timestamp:
- 2013-09-15T19:23:19Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3efc35a
- Parents:
- b6b02c0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc32/include/arch/arch.h
rb6b02c0 ref9a2a8 1 1 /* 2 2 * Copyright (c) 2010 Martin Decky 3 * Copyright (c) 2013 Jakub Klama 3 4 * All rights reserved. 4 5 * … … 38 39 #ifndef __ASM__ 39 40 40 void arch_pre_main(void); 41 #include <typedefs.h> 42 43 /* ASI assignments: */ 44 #define ASI_CACHEMISS 0x01 45 #define ASI_CACHECTRL 0x02 46 #define ASI_MMUREGS 0x19 47 #define ASI_MMUBYPASS 0x1c 48 49 #define TASKMAP_MAX_RECORDS 32 50 #define CPUMAP_MAX_RECORDS 32 51 52 #define BOOTINFO_TASK_NAME_BUFLEN 32 53 54 typedef struct { 55 void *addr; 56 size_t size; 57 char name[BOOTINFO_TASK_NAME_BUFLEN]; 58 } utask_t; 59 60 typedef struct { 61 size_t cnt; 62 utask_t tasks[TASKMAP_MAX_RECORDS]; 63 } bootinfo_t; 64 65 void arch_pre_main(bootinfo_t *bootinfo); 41 66 42 67 #endif
Note:
See TracChangeset
for help on using the changeset viewer.