Changeset 1b20da0 in mainline for kernel/arch/mips32
- Timestamp:
- 2018-02-28T17:52:03Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3061bc1
- Parents:
- df6ded8
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:26:03)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:52:03)
- Location:
- kernel/arch/mips32
- Files:
-
- 18 edited
-
include/arch/cache.h (modified) (1 diff)
-
include/arch/context_struct.ag (modified) (1 diff)
-
include/arch/fpu_context.h (modified) (1 diff)
-
include/arch/fpu_context_struct.ag (modified) (1 diff)
-
include/arch/istate_struct.ag (modified) (1 diff)
-
include/arch/mach/malta/malta.h (modified) (2 diffs)
-
include/arch/mach/msim/msim.h (modified) (2 diffs)
-
include/arch/mm/asid.h (modified) (1 diff)
-
include/arch/mm/page.h (modified) (1 diff)
-
include/arch/mm/tlb.h (modified) (1 diff)
-
src/cpu/cpu.c (modified) (1 diff)
-
src/debug/stacktrace.c (modified) (3 diffs)
-
src/debugger.c (modified) (1 diff)
-
src/exception.c (modified) (1 diff)
-
src/mach/malta/malta.c (modified) (2 diffs)
-
src/mach/msim/msim.c (modified) (2 diffs)
-
src/mm/frame.c (modified) (2 diffs)
-
src/mm/tlb.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/include/arch/cache.h
rdf6ded8 r1b20da0 27 27 */ 28 28 29 /** @addtogroup mips32 29 /** @addtogroup mips32 30 30 * @{ 31 31 */ -
kernel/arch/mips32/include/arch/context_struct.ag
rdf6ded8 r1b20da0 1 # Copyright (c) 2014 Jakub Jermar 1 # Copyright (c) 2014 Jakub Jermar 2 2 # All rights reserved. 3 3 # -
kernel/arch/mips32/include/arch/fpu_context.h
rdf6ded8 r1b20da0 27 27 */ 28 28 29 /** @addtogroup mips32 29 /** @addtogroup mips32 30 30 * @{ 31 31 */ -
kernel/arch/mips32/include/arch/fpu_context_struct.ag
rdf6ded8 r1b20da0 1 # Copyright (c) 2014 Jakub Jermar 1 # Copyright (c) 2014 Jakub Jermar 2 2 # All rights reserved. 3 3 # -
kernel/arch/mips32/include/arch/istate_struct.ag
rdf6ded8 r1b20da0 1 # Copyright (c) 2014 Jakub Jermar 1 # Copyright (c) 2014 Jakub Jermar 2 2 # All rights reserved. 3 3 # -
kernel/arch/mips32/include/arch/mach/malta/malta.h
rdf6ded8 r1b20da0 1 1 /* 2 * Copyright (c) 2013 Jakub Jermar 2 * Copyright (c) 2013 Jakub Jermar 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup mips32 29 /** @addtogroup mips32 30 30 * @{ 31 31 */ -
kernel/arch/mips32/include/arch/mach/msim/msim.h
rdf6ded8 r1b20da0 1 1 /* 2 * Copyright (c) 2013 Jakub Jermar 2 * Copyright (c) 2013 Jakub Jermar 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup mips32 29 /** @addtogroup mips32 30 30 * @{ 31 31 */ -
kernel/arch/mips32/include/arch/mm/asid.h
rdf6ded8 r1b20da0 27 27 */ 28 28 29 /** @addtogroup mips32mm 29 /** @addtogroup mips32mm 30 30 * @{ 31 31 */ -
kernel/arch/mips32/include/arch/mm/page.h
rdf6ded8 r1b20da0 52 52 /* 53 53 * Implementation of generic 4-level page table interface. 54 * 54 * 55 55 * Page table layout: 56 56 * - 32-bit virtual addresses -
kernel/arch/mips32/include/arch/mm/tlb.h
rdf6ded8 r1b20da0 52 52 #endif 53 53 54 #define TLB_WIRED 0 54 #define TLB_WIRED 0 55 55 56 56 #define TLB_PAGE_MASK_4K (0x000 << 13) -
kernel/arch/mips32/src/cpu/cpu.c
rdf6ded8 r1b20da0 125 125 126 126 printf("cpu%u: %s %s (rev=%d.%d, imp=%d)\n", 127 m->id, data->vendor, data->model, m->arch.rev_num >> 4, 127 m->id, data->vendor, data->model, m->arch.rev_num >> 4, 128 128 m->arch.rev_num & 0x0f, m->arch.imp_num); 129 129 } -
kernel/arch/mips32/src/debug/stacktrace.c
rdf6ded8 r1b20da0 36 36 * This stack tracing code is based on the suggested algorithm described on page 37 37 * 3-27 and 3-28 of: 38 * 38 * 39 39 * SYSTEM V 40 40 * APPLICATION BINARY INTERFACE … … 88 88 #define BASE_MASK RS_MASK 89 89 #define IMM_MASK (0xffff << IMM_SHIFT) 90 #define OFFSET_MASK IMM_MASK 90 #define OFFSET_MASK IMM_MASK 91 91 92 92 #define RS_GET(inst) (((inst) & RS_MASK) >> RS_SHIFT) … … 94 94 #define IMM_GET(inst) (int16_t)(((inst) & IMM_MASK) >> IMM_SHIFT) 95 95 #define BASE_GET(inst) RS_GET(inst) 96 #define OFFSET_GET(inst) IMM_GET(inst) 96 #define OFFSET_GET(inst) IMM_GET(inst) 97 97 98 98 #define ADDU_R_SP_R0_TEMPL \ -
kernel/arch/mips32/src/debugger.c
rdf6ded8 r1b20da0 386 386 ((uint32_t *)cur->address)[1] = 0x0d; 387 387 cur->flags |= BKPOINT_REINST; 388 } 388 } 389 389 cur->flags |= BKPOINT_INPROG; 390 390 } else { -
kernel/arch/mips32/src/exception.c
rdf6ded8 r1b20da0 132 132 debugger_bpoint(istate); 133 133 #else 134 /* it is necessary to not re-execute BREAK instruction after 134 /* it is necessary to not re-execute BREAK instruction after 135 135 returning from Exception handler 136 136 (see page 138 in R4000 Manual for more information) */ -
kernel/arch/mips32/src/mach/malta/malta.c
rdf6ded8 r1b20da0 27 27 */ 28 28 29 /** @addtogroup mips32 29 /** @addtogroup mips32 30 30 * @{ 31 31 */ … … 54 54 .machine_output_init = malta_output_init, 55 55 .machine_input_init = malta_input_init, 56 .machine_get_platform_name = malta_get_platform_name 56 .machine_get_platform_name = malta_get_platform_name 57 57 }; 58 58 -
kernel/arch/mips32/src/mach/msim/msim.c
rdf6ded8 r1b20da0 27 27 */ 28 28 29 /** @addtogroup mips32 29 /** @addtogroup mips32 30 30 * @{ 31 31 */ … … 57 57 .machine_output_init = msim_output_init, 58 58 .machine_input_init = msim_input_init, 59 .machine_get_platform_name = msim_get_platform_name 59 .machine_get_platform_name = msim_get_platform_name 60 60 }; 61 61 -
kernel/arch/mips32/src/mm/frame.c
rdf6ded8 r1b20da0 141 141 142 142 if (!frame_adjust_zone_bounds(low, &base, &size)) 143 return; 143 return; 144 144 145 145 pfn_t first = ADDR2PFN(base); … … 291 291 printf("%#010x %10u\n", 292 292 PFN2ADDR(phys_regions[i].start), PFN2ADDR(phys_regions[i].count)); 293 } 293 } 294 294 } 295 295 -
kernel/arch/mips32/src/mm/tlb.c
rdf6ded8 r1b20da0 219 219 * We do not assert on this because this could be a manifestation of 220 220 * an emulator bug, such as QEMU Bug #1128935: 221 * https://bugs.launchpad.net/qemu/+bug/1128935 221 * https://bugs.launchpad.net/qemu/+bug/1128935 222 222 */ 223 223 if (index.p) {
Note:
See TracChangeset
for help on using the changeset viewer.
