Changeset d5610b9 in mainline for kernel/arch/arm32/include/arch/cp15.h
- Timestamp:
- 2015-10-03T08:37:37Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- afe5e09
- Parents:
- 8ca6f08
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/include/arch/cp15.h
r8ca6f08 rd5610b9 391 391 CONTROL_REG_GEN_WRITE(HPFAR, c6, 4, c0, 4); 392 392 393 /* Cache maintenance, address translation and other */ 394 CONTROL_REG_GEN_WRITE(WFI, c7, 0, c0, 4); /* armv6 only */ 395 CONTROL_REG_GEN_WRITE(ICIALLLUIS, c7, 0, c1, 0); 396 CONTROL_REG_GEN_WRITE(BPIALLIS, c7, 0, c1, 6); 397 CONTROL_REG_GEN_READ(PAR, c7, 0, c4, 0); 398 CONTROL_REG_GEN_WRITE(PAR, c7, 0, c4, 0); 399 CONTROL_REG_GEN_READ(PARH, c7, 0, c7, 0); /* PAE */ 400 CONTROL_REG_GEN_WRITE(PARH, c7, 0, c7, 0); /* PAE */ 401 CONTROL_REG_GEN_WRITE(ICIALLU, c7, 0, c5, 0); 402 CONTROL_REG_GEN_WRITE(ICIMVAU, c7, 0, c5, 1); 393 /* 394 * Cache maintenance, address translation and other 395 */ 396 397 #if defined(PROCESSOR_ARCH_armv6) || defined(PROCESSOR_ARCH_armv7_a) 403 398 CONTROL_REG_GEN_WRITE(CP15ISB, c7, 0, c5, 4); 404 399 CONTROL_REG_GEN_WRITE(BPIALL, c7, 0, c5, 6); 405 400 CONTROL_REG_GEN_WRITE(BPIMVA, c7, 0, c5, 7); 406 401 #endif 402 403 #if !defined(PROCESSOR_arm920t) 404 CONTROL_REG_GEN_WRITE(DCISW, c7, 0, c6, 2); 405 #endif 406 407 #if defined(PROCESSOR_arm920t) || !defined(PROCESSOR_ARCH_armv4) 408 CONTROL_REG_GEN_WRITE(DCCSW, c7, 0, c10, 2); 409 #endif 410 411 CONTROL_REG_GEN_WRITE(CP15DSB, c7, 0, c10, 4); 412 413 #if defined(PROCESSOR_ARCH_armv6) || defined(PROCESSOR_ARCH_armv7_a) 414 CONTROL_REG_GEN_WRITE(CP15DMB, c7, 0, c10, 5); 415 #endif 416 417 #if defined(PROCESSOR_arm920t) || !defined(PROCESSOR_ARCH_armv4) 418 CONTROL_REG_GEN_WRITE(DCCISW, c7, 0, c14, 2); 419 #endif 420 421 #if defined(PROCESSOR_ARCH_armv7_a) 422 CONTROL_REG_GEN_WRITE(ICIALLLUIS, c7, 0, c1, 0); 423 CONTROL_REG_GEN_WRITE(BPIALLIS, c7, 0, c1, 6); 424 CONTROL_REG_GEN_READ(PAR, c7, 0, c4, 0); /* Security Extensions */ 425 CONTROL_REG_GEN_WRITE(PAR, c7, 0, c4, 0); /* Security Extensions */ 426 CONTROL_REG_GEN_WRITE(ICIALLU, c7, 0, c5, 0); 427 CONTROL_REG_GEN_WRITE(ICIMVAU, c7, 0, c5, 1); 407 428 CONTROL_REG_GEN_WRITE(DCIMVAC, c7, 0, c6, 1); 408 CONTROL_REG_GEN_ WRITE(DCISW, c7, 0, c6, 2);409 410 CONTROL_REG_GEN_WRITE(ATS1CPR, c7, 0, c8, 0); 411 CONTROL_REG_GEN_WRITE(ATS1CPW, c7, 0, c8, 1); 412 CONTROL_REG_GEN_WRITE(ATS1CUR, c7, 0, c8, 2); 413 CONTROL_REG_GEN_WRITE(ATS1CUW, c7, 0, c8, 3); 414 CONTROL_REG_GEN_WRITE(ATS12NSOPR, c7, 0, c8, 4); 415 CONTROL_REG_GEN_WRITE(ATS12NSOPW, c7, 0, c8, 5); 416 CONTROL_REG_GEN_WRITE(ATS12NSOUR, c7, 0, c8, 6); 417 CONTROL_REG_GEN_WRITE(ATS12NSOUW, c7, 0, c8, 7); 418 419 429 CONTROL_REG_GEN_READ(PARH, c7, 0, c7, 0); /* PAE */ 430 CONTROL_REG_GEN_WRITE(PARH, c7, 0, c7, 0); /* PAE */ 431 CONTROL_REG_GEN_WRITE(ATS1CPR, c7, 0, c8, 0); /* Security Extensions */ 432 CONTROL_REG_GEN_WRITE(ATS1CPW, c7, 0, c8, 1); /* Security Extensions */ 433 CONTROL_REG_GEN_WRITE(ATS1CUR, c7, 0, c8, 2); /* Security Extensions */ 434 CONTROL_REG_GEN_WRITE(ATS1CUW, c7, 0, c8, 3); /* Security Extensions */ 435 CONTROL_REG_GEN_WRITE(ATS12NSOPR, c7, 0, c8, 4); /* Security Extensions */ 436 CONTROL_REG_GEN_WRITE(ATS12NSOPW, c7, 0, c8, 5); /* Security Extensions */ 437 CONTROL_REG_GEN_WRITE(ATS12NSOUR, c7, 0, c8, 6); /* Security Extensions */ 438 CONTROL_REG_GEN_WRITE(ATS12NSOUW, c7, 0, c8, 7); /* Security Extensions */ 439 CONTROL_REG_GEN_WRITE(ATS1HR, c7, 4, c8, 0); /* Virtualization Extensions */ 440 CONTROL_REG_GEN_WRITE(ATS1HW, c7, 4, c8, 1); /* Virtualization Extensions */ 420 441 CONTROL_REG_GEN_WRITE(DCCMVAC, c7, 0, c10, 1); 421 CONTROL_REG_GEN_WRITE(DCCSW, c7, 0, c10, 2);422 CONTROL_REG_GEN_WRITE(CP15DSB, c7, 0, c10, 4);423 CONTROL_REG_GEN_WRITE(CP15DMB, c7, 0, c10, 5);424 442 CONTROL_REG_GEN_WRITE(DCCMVAU, c7, 0, c11, 1); 425 426 CONTROL_REG_GEN_WRITE(PFI, c7, 0, c13, 1); /* armv6 only */427 428 443 CONTROL_REG_GEN_WRITE(DCCIMVAC, c7, 0, c14, 1); 429 CONTROL_REG_GEN_WRITE(DCCISW, c7, 0, c14, 2); 430 431 CONTROL_REG_GEN_WRITE(ATS1HR, c7, 4, c8, 0); 432 CONTROL_REG_GEN_WRITE(ATS1HW, c7, 4, c8, 1); 444 #else 445 446 #if defined(PROCESSOR_arm920t) || !defined(PROCESSOR_ARCH_armv4) 447 CONTROL_REG_GEN_WRITE(WFI, c7, 0, c0, 4); 448 #endif 449 450 CONTROL_REG_GEN_WRITE(ICIALL, c7, 0, c5, 0); 451 CONTROL_REG_GEN_WRITE(ICIMVA, c7, 0, c5, 1); 452 453 #if !defined(PROCESSOR_ARCH_armv4) 454 CONTROL_REG_GEN_WRITE(ICISW, c7, 0, c5, 2); 455 #endif 456 457 CONTROL_REG_GEN_WRITE(DCIALL, c7, 0, c6, 0); 458 CONTROL_REG_GEN_WRITE(DCIMVA, c7, 0, c6, 1); 459 CONTROL_REG_GEN_WRITE(CIALL, c7, 0, c7, 0); 460 CONTROL_REG_GEN_WRITE(CIMVA, c7, 0, c7, 1); 461 462 #if !defined(PROCESSOR_ARCH_armv4) 463 CONTROL_REG_GEN_WRITE(CISW, c7, 0, c7, 2); 464 #endif 465 466 #if defined(PROCESSOR_ARCH_armv4) || defined(PROCESSOR_ARCH_armv6) 467 CONTROL_REG_GEN_WRITE(DCCALL, c7, 0, c10, 0); 468 #endif 469 470 CONTROL_REG_GEN_WRITE(DCCMVA, c7, 0, c10, 1); 471 472 #if defined(PROCESSOR_ARCH_armv4) || defined(PROCESSOR_ARCH_armv6) 473 CONTROL_REG_GEN_WRITE(CCALL, c7, 0, c11, 0); 474 #endif 475 476 CONTROL_REG_GEN_WRITE(CCMVA, c7, 0, c11, 1); 477 478 #if !defined(PROCESSOR_ARCH_armv4) 479 CONTROL_REG_GEN_WRITE(CCSW, c7, 0, c11, 2); 480 #endif 481 482 #if defined(PROCESSOR_arm920t) || !defined(PROCESSOR_ARCH_armv4) 483 CONTROL_REG_GEN_WRITE(PFIMVA, c7, 0, c13, 1); 484 #endif 485 486 #if defined(PROCESSOR_ARCH_armv4) || defined(PROCESSOR_ARCH_armv6) 487 CONTROL_REG_GEN_WRITE(DCCIALL, c7, 0, c14, 0); 488 #endif 489 490 CONTROL_REG_GEN_WRITE(DCCIMVA, c7, 0, c14, 1); 491 492 #if defined(PROCESSOR_ARCH_armv4) || defined(PROCESSOR_ARCH_armv6) 493 CONTROL_REG_GEN_WRITE(CCIALL, c7, 0, c15, 0); 494 #endif 495 496 CONTROL_REG_GEN_WRITE(CCIMVA, c7, 0, c15, 1); 497 498 #if defined(PROCESSOR_ARCH_armv5) || defined(PROCESSOR_ARCH_armv6) 499 CONTROL_REG_GEN_WRITE(CCISW, c7, 0, c15, 2); 500 #endif 501 502 #endif 433 503 434 504 /* TLB maintenance */
Note:
See TracChangeset
for help on using the changeset viewer.