forked from Imagelibrary/rtems
committed by
Sebastian Huber
parent
afa5b894b2
commit
848007c068
2
c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_categories.c
Normal file → Executable file
2
c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_categories.c
Normal file → Executable file
@@ -137,6 +137,7 @@ static const ppc_exc_categories mpc_604_altivec_category_table = {
|
||||
static const ppc_exc_categories mpc_750_category_table = {
|
||||
PPC_BASIC_VECS,
|
||||
|
||||
[ASM_60X_PERFMON_VECTOR] = PPC_EXC_CLASSIC,
|
||||
[ASM_60X_SYSMGMT_VECTOR] = PPC_EXC_CLASSIC | PPC_EXC_ASYNC,
|
||||
[ASM_60X_ADDR_VECTOR] = PPC_EXC_CLASSIC,
|
||||
[ASM_60X_ITM_VECTOR] = PPC_EXC_CLASSIC,
|
||||
@@ -265,6 +266,7 @@ const ppc_exc_categories *ppc_exc_categories_for_cpu(ppc_cpu_id_t cpu)
|
||||
switch (cpu) {
|
||||
case PPC_7400:
|
||||
case PPC_750:
|
||||
case PPC_750_IBM:
|
||||
return &mpc_750_category_table;
|
||||
case PPC_7455:
|
||||
case PPC_7457:
|
||||
|
||||
3
c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c
Normal file → Executable file
3
c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c
Normal file → Executable file
@@ -38,6 +38,7 @@ const char *get_ppc_cpu_type_name(ppc_cpu_id_t cpu)
|
||||
case PPC_603ev: return "MPC603ev";
|
||||
case PPC_604: return "MPC604";
|
||||
case PPC_750: return "MPC750";
|
||||
case PPC_750_IBM: return "IBM PPC750";
|
||||
case PPC_7400: return "MPC7400";
|
||||
case PPC_7455: return "MPC7455";
|
||||
case PPC_7457: return "MPC7457";
|
||||
@@ -113,6 +114,7 @@ ppc_cpu_id_t get_ppc_cpu_type(void)
|
||||
case PPC_604:
|
||||
case PPC_604r:
|
||||
case PPC_750:
|
||||
case PPC_750_IBM:
|
||||
case PPC_7400:
|
||||
case PPC_7455:
|
||||
case PPC_7457:
|
||||
@@ -165,6 +167,7 @@ ppc_cpu_id_t get_ppc_cpu_type(void)
|
||||
case PPC_604e:
|
||||
case PPC_604r:
|
||||
case PPC_750:
|
||||
case PPC_750_IBM:
|
||||
current_ppc_features.has_hw_ptbl_lkup = 1;
|
||||
case PPC_8260:
|
||||
case PPC_8245:
|
||||
|
||||
1
c/src/lib/libcpu/powerpc/shared/include/cpuIdent.h
Normal file → Executable file
1
c/src/lib/libcpu/powerpc/shared/include/cpuIdent.h
Normal file → Executable file
@@ -30,6 +30,7 @@ typedef enum
|
||||
PPC_603e = 0x6,
|
||||
PPC_603ev = 0x7,
|
||||
PPC_750 = 0x8,
|
||||
PPC_750_IBM = 0x7000,
|
||||
PPC_604e = 0x9,
|
||||
PPC_604r = 0xA,
|
||||
PPC_7400 = 0xC,
|
||||
|
||||
Reference in New Issue
Block a user