aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2012-10-30 22:26:47 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2012-11-14 18:31:25 -0500
commitb9e17693576e4739cd267f59cbdfdd33c5eefe76 (patch)
tree43cabb75924b233803fec145b34d97d7372a388a
parent267d672ab3e2b171230b3edb5711794fab0afb02 (diff)
ACPICA: Update local C library module comments for ASCII table
Improve the commenting of the table. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--drivers/acpi/acpica/utclib.c261
1 files changed, 131 insertions, 130 deletions
diff --git a/drivers/acpi/acpica/utclib.c b/drivers/acpi/acpica/utclib.c
index f887f93e56ad..19ea4755aa73 100644
--- a/drivers/acpi/acpica/utclib.c
+++ b/drivers/acpi/acpica/utclib.c
@@ -46,7 +46,7 @@
46 46
47/* 47/*
48 * These implementations of standard C Library routines can optionally be 48 * These implementations of standard C Library routines can optionally be
49 * used if a C library is not available. In general, they are less efficient 49 * used if a C library is not available. In general, they are less efficient
50 * than an inline or assembly implementation 50 * than an inline or assembly implementation
51 */ 51 */
52 52
@@ -606,134 +606,134 @@ int acpi_ut_to_lower(int c)
606 ******************************************************************************/ 606 ******************************************************************************/
607 607
608const u8 _acpi_ctype[257] = { 608const u8 _acpi_ctype[257] = {
609 _ACPI_CN, /* 0x0 0. */ 609 _ACPI_CN, /* 0x00 0 NUL */
610 _ACPI_CN, /* 0x1 1. */ 610 _ACPI_CN, /* 0x01 1 SOH */
611 _ACPI_CN, /* 0x2 2. */ 611 _ACPI_CN, /* 0x02 2 STX */
612 _ACPI_CN, /* 0x3 3. */ 612 _ACPI_CN, /* 0x03 3 ETX */
613 _ACPI_CN, /* 0x4 4. */ 613 _ACPI_CN, /* 0x04 4 EOT */
614 _ACPI_CN, /* 0x5 5. */ 614 _ACPI_CN, /* 0x05 5 ENQ */
615 _ACPI_CN, /* 0x6 6. */ 615 _ACPI_CN, /* 0x06 6 ACK */
616 _ACPI_CN, /* 0x7 7. */ 616 _ACPI_CN, /* 0x07 7 BEL */
617 _ACPI_CN, /* 0x8 8. */ 617 _ACPI_CN, /* 0x08 8 BS */
618 _ACPI_CN | _ACPI_SP, /* 0x9 9. */ 618 _ACPI_CN | _ACPI_SP, /* 0x09 9 TAB */
619 _ACPI_CN | _ACPI_SP, /* 0xA 10. */ 619 _ACPI_CN | _ACPI_SP, /* 0x0A 10 LF */
620 _ACPI_CN | _ACPI_SP, /* 0xB 11. */ 620 _ACPI_CN | _ACPI_SP, /* 0x0B 11 VT */
621 _ACPI_CN | _ACPI_SP, /* 0xC 12. */ 621 _ACPI_CN | _ACPI_SP, /* 0x0C 12 FF */
622 _ACPI_CN | _ACPI_SP, /* 0xD 13. */ 622 _ACPI_CN | _ACPI_SP, /* 0x0D 13 CR */
623 _ACPI_CN, /* 0xE 14. */ 623 _ACPI_CN, /* 0x0E 14 SO */
624 _ACPI_CN, /* 0xF 15. */ 624 _ACPI_CN, /* 0x0F 15 SI */
625 _ACPI_CN, /* 0x10 16. */ 625 _ACPI_CN, /* 0x10 16 DLE */
626 _ACPI_CN, /* 0x11 17. */ 626 _ACPI_CN, /* 0x11 17 DC1 */
627 _ACPI_CN, /* 0x12 18. */ 627 _ACPI_CN, /* 0x12 18 DC2 */
628 _ACPI_CN, /* 0x13 19. */ 628 _ACPI_CN, /* 0x13 19 DC3 */
629 _ACPI_CN, /* 0x14 20. */ 629 _ACPI_CN, /* 0x14 20 DC4 */
630 _ACPI_CN, /* 0x15 21. */ 630 _ACPI_CN, /* 0x15 21 NAK */
631 _ACPI_CN, /* 0x16 22. */ 631 _ACPI_CN, /* 0x16 22 SYN */
632 _ACPI_CN, /* 0x17 23. */ 632 _ACPI_CN, /* 0x17 23 ETB */
633 _ACPI_CN, /* 0x18 24. */ 633 _ACPI_CN, /* 0x18 24 CAN */
634 _ACPI_CN, /* 0x19 25. */ 634 _ACPI_CN, /* 0x19 25 EM */
635 _ACPI_CN, /* 0x1A 26. */ 635 _ACPI_CN, /* 0x1A 26 SUB */
636 _ACPI_CN, /* 0x1B 27. */ 636 _ACPI_CN, /* 0x1B 27 ESC */
637 _ACPI_CN, /* 0x1C 28. */ 637 _ACPI_CN, /* 0x1C 28 FS */
638 _ACPI_CN, /* 0x1D 29. */ 638 _ACPI_CN, /* 0x1D 29 GS */
639 _ACPI_CN, /* 0x1E 30. */ 639 _ACPI_CN, /* 0x1E 30 RS */
640 _ACPI_CN, /* 0x1F 31. */ 640 _ACPI_CN, /* 0x1F 31 US */
641 _ACPI_XS | _ACPI_SP, /* 0x20 32. ' ' */ 641 _ACPI_XS | _ACPI_SP, /* 0x20 32 ' ' */
642 _ACPI_PU, /* 0x21 33. '!' */ 642 _ACPI_PU, /* 0x21 33 '!' */
643 _ACPI_PU, /* 0x22 34. '"' */ 643 _ACPI_PU, /* 0x22 34 '"' */
644 _ACPI_PU, /* 0x23 35. '#' */ 644 _ACPI_PU, /* 0x23 35 '#' */
645 _ACPI_PU, /* 0x24 36. '$' */ 645 _ACPI_PU, /* 0x24 36 '$' */
646 _ACPI_PU, /* 0x25 37. '%' */ 646 _ACPI_PU, /* 0x25 37 '%' */
647 _ACPI_PU, /* 0x26 38. '&' */ 647 _ACPI_PU, /* 0x26 38 '&' */
648 _ACPI_PU, /* 0x27 39. ''' */ 648 _ACPI_PU, /* 0x27 39 ''' */
649 _ACPI_PU, /* 0x28 40. '(' */ 649 _ACPI_PU, /* 0x28 40 '(' */
650 _ACPI_PU, /* 0x29 41. ')' */ 650 _ACPI_PU, /* 0x29 41 ')' */
651 _ACPI_PU, /* 0x2A 42. '*' */ 651 _ACPI_PU, /* 0x2A 42 '*' */
652 _ACPI_PU, /* 0x2B 43. '+' */ 652 _ACPI_PU, /* 0x2B 43 '+' */
653 _ACPI_PU, /* 0x2C 44. ',' */ 653 _ACPI_PU, /* 0x2C 44 ',' */
654 _ACPI_PU, /* 0x2D 45. '-' */ 654 _ACPI_PU, /* 0x2D 45 '-' */
655 _ACPI_PU, /* 0x2E 46. '.' */ 655 _ACPI_PU, /* 0x2E 46 '.' */
656 _ACPI_PU, /* 0x2F 47. '/' */ 656 _ACPI_PU, /* 0x2F 47 '/' */
657 _ACPI_XD | _ACPI_DI, /* 0x30 48. '0' */ 657 _ACPI_XD | _ACPI_DI, /* 0x30 48 '0' */
658 _ACPI_XD | _ACPI_DI, /* 0x31 49. '1' */ 658 _ACPI_XD | _ACPI_DI, /* 0x31 49 '1' */
659 _ACPI_XD | _ACPI_DI, /* 0x32 50. '2' */ 659 _ACPI_XD | _ACPI_DI, /* 0x32 50 '2' */
660 _ACPI_XD | _ACPI_DI, /* 0x33 51. '3' */ 660 _ACPI_XD | _ACPI_DI, /* 0x33 51 '3' */
661 _ACPI_XD | _ACPI_DI, /* 0x34 52. '4' */ 661 _ACPI_XD | _ACPI_DI, /* 0x34 52 '4' */
662 _ACPI_XD | _ACPI_DI, /* 0x35 53. '5' */ 662 _ACPI_XD | _ACPI_DI, /* 0x35 53 '5' */
663 _ACPI_XD | _ACPI_DI, /* 0x36 54. '6' */ 663 _ACPI_XD | _ACPI_DI, /* 0x36 54 '6' */
664 _ACPI_XD | _ACPI_DI, /* 0x37 55. '7' */ 664 _ACPI_XD | _ACPI_DI, /* 0x37 55 '7' */
665 _ACPI_XD | _ACPI_DI, /* 0x38 56. '8' */ 665 _ACPI_XD | _ACPI_DI, /* 0x38 56 '8' */
666 _ACPI_XD | _ACPI_DI, /* 0x39 57. '9' */ 666 _ACPI_XD | _ACPI_DI, /* 0x39 57 '9' */
667 _ACPI_PU, /* 0x3A 58. ':' */ 667 _ACPI_PU, /* 0x3A 58 ':' */
668 _ACPI_PU, /* 0x3B 59. ';' */ 668 _ACPI_PU, /* 0x3B 59 ';' */
669 _ACPI_PU, /* 0x3C 60. '<' */ 669 _ACPI_PU, /* 0x3C 60 '<' */
670 _ACPI_PU, /* 0x3D 61. '=' */ 670 _ACPI_PU, /* 0x3D 61 '=' */
671 _ACPI_PU, /* 0x3E 62. '>' */ 671 _ACPI_PU, /* 0x3E 62 '>' */
672 _ACPI_PU, /* 0x3F 63. '?' */ 672 _ACPI_PU, /* 0x3F 63 '?' */
673 _ACPI_PU, /* 0x40 64. '@' */ 673 _ACPI_PU, /* 0x40 64 '@' */
674 _ACPI_XD | _ACPI_UP, /* 0x41 65. 'A' */ 674 _ACPI_XD | _ACPI_UP, /* 0x41 65 'A' */
675 _ACPI_XD | _ACPI_UP, /* 0x42 66. 'B' */ 675 _ACPI_XD | _ACPI_UP, /* 0x42 66 'B' */
676 _ACPI_XD | _ACPI_UP, /* 0x43 67. 'C' */ 676 _ACPI_XD | _ACPI_UP, /* 0x43 67 'C' */
677 _ACPI_XD | _ACPI_UP, /* 0x44 68. 'D' */ 677 _ACPI_XD | _ACPI_UP, /* 0x44 68 'D' */
678 _ACPI_XD | _ACPI_UP, /* 0x45 69. 'E' */ 678 _ACPI_XD | _ACPI_UP, /* 0x45 69 'E' */
679 _ACPI_XD | _ACPI_UP, /* 0x46 70. 'F' */ 679 _ACPI_XD | _ACPI_UP, /* 0x46 70 'F' */
680 _ACPI_UP, /* 0x47 71. 'G' */ 680 _ACPI_UP, /* 0x47 71 'G' */
681 _ACPI_UP, /* 0x48 72. 'H' */ 681 _ACPI_UP, /* 0x48 72 'H' */
682 _ACPI_UP, /* 0x49 73. 'I' */ 682 _ACPI_UP, /* 0x49 73 'I' */
683 _ACPI_UP, /* 0x4A 74. 'J' */ 683 _ACPI_UP, /* 0x4A 74 'J' */
684 _ACPI_UP, /* 0x4B 75. 'K' */ 684 _ACPI_UP, /* 0x4B 75 'K' */
685 _ACPI_UP, /* 0x4C 76. 'L' */ 685 _ACPI_UP, /* 0x4C 76 'L' */
686 _ACPI_UP, /* 0x4D 77. 'M' */ 686 _ACPI_UP, /* 0x4D 77 'M' */
687 _ACPI_UP, /* 0x4E 78. 'N' */ 687 _ACPI_UP, /* 0x4E 78 'N' */
688 _ACPI_UP, /* 0x4F 79. 'O' */ 688 _ACPI_UP, /* 0x4F 79 'O' */
689 _ACPI_UP, /* 0x50 80. 'P' */ 689 _ACPI_UP, /* 0x50 80 'P' */
690 _ACPI_UP, /* 0x51 81. 'Q' */ 690 _ACPI_UP, /* 0x51 81 'Q' */
691 _ACPI_UP, /* 0x52 82. 'R' */ 691 _ACPI_UP, /* 0x52 82 'R' */
692 _ACPI_UP, /* 0x53 83. 'S' */ 692 _ACPI_UP, /* 0x53 83 'S' */
693 _ACPI_UP, /* 0x54 84. 'T' */ 693 _ACPI_UP, /* 0x54 84 'T' */
694 _ACPI_UP, /* 0x55 85. 'U' */ 694 _ACPI_UP, /* 0x55 85 'U' */
695 _ACPI_UP, /* 0x56 86. 'V' */ 695 _ACPI_UP, /* 0x56 86 'V' */
696 _ACPI_UP, /* 0x57 87. 'W' */ 696 _ACPI_UP, /* 0x57 87 'W' */
697 _ACPI_UP, /* 0x58 88. 'X' */ 697 _ACPI_UP, /* 0x58 88 'X' */
698 _ACPI_UP, /* 0x59 89. 'Y' */ 698 _ACPI_UP, /* 0x59 89 'Y' */
699 _ACPI_UP, /* 0x5A 90. 'Z' */ 699 _ACPI_UP, /* 0x5A 90 'Z' */
700 _ACPI_PU, /* 0x5B 91. '[' */ 700 _ACPI_PU, /* 0x5B 91 '[' */
701 _ACPI_PU, /* 0x5C 92. '\' */ 701 _ACPI_PU, /* 0x5C 92 '\' */
702 _ACPI_PU, /* 0x5D 93. ']' */ 702 _ACPI_PU, /* 0x5D 93 ']' */
703 _ACPI_PU, /* 0x5E 94. '^' */ 703 _ACPI_PU, /* 0x5E 94 '^' */
704 _ACPI_PU, /* 0x5F 95. '_' */ 704 _ACPI_PU, /* 0x5F 95 '_' */
705 _ACPI_PU, /* 0x60 96. '`' */ 705 _ACPI_PU, /* 0x60 96 '`' */
706 _ACPI_XD | _ACPI_LO, /* 0x61 97. 'a' */ 706 _ACPI_XD | _ACPI_LO, /* 0x61 97 'a' */
707 _ACPI_XD | _ACPI_LO, /* 0x62 98. 'b' */ 707 _ACPI_XD | _ACPI_LO, /* 0x62 98 'b' */
708 _ACPI_XD | _ACPI_LO, /* 0x63 99. 'c' */ 708 _ACPI_XD | _ACPI_LO, /* 0x63 99 'c' */
709 _ACPI_XD | _ACPI_LO, /* 0x64 100. 'd' */ 709 _ACPI_XD | _ACPI_LO, /* 0x64 100 'd' */
710 _ACPI_XD | _ACPI_LO, /* 0x65 101. 'e' */ 710 _ACPI_XD | _ACPI_LO, /* 0x65 101 'e' */
711 _ACPI_XD | _ACPI_LO, /* 0x66 102. 'f' */ 711 _ACPI_XD | _ACPI_LO, /* 0x66 102 'f' */
712 _ACPI_LO, /* 0x67 103. 'g' */ 712 _ACPI_LO, /* 0x67 103 'g' */
713 _ACPI_LO, /* 0x68 104. 'h' */ 713 _ACPI_LO, /* 0x68 104 'h' */
714 _ACPI_LO, /* 0x69 105. 'i' */ 714 _ACPI_LO, /* 0x69 105 'i' */
715 _ACPI_LO, /* 0x6A 106. 'j' */ 715 _ACPI_LO, /* 0x6A 106 'j' */
716 _ACPI_LO, /* 0x6B 107. 'k' */ 716 _ACPI_LO, /* 0x6B 107 'k' */
717 _ACPI_LO, /* 0x6C 108. 'l' */ 717 _ACPI_LO, /* 0x6C 108 'l' */
718 _ACPI_LO, /* 0x6D 109. 'm' */ 718 _ACPI_LO, /* 0x6D 109 'm' */
719 _ACPI_LO, /* 0x6E 110. 'n' */ 719 _ACPI_LO, /* 0x6E 110 'n' */
720 _ACPI_LO, /* 0x6F 111. 'o' */ 720 _ACPI_LO, /* 0x6F 111 'o' */
721 _ACPI_LO, /* 0x70 112. 'p' */ 721 _ACPI_LO, /* 0x70 112 'p' */
722 _ACPI_LO, /* 0x71 113. 'q' */ 722 _ACPI_LO, /* 0x71 113 'q' */
723 _ACPI_LO, /* 0x72 114. 'r' */ 723 _ACPI_LO, /* 0x72 114 'r' */
724 _ACPI_LO, /* 0x73 115. 's' */ 724 _ACPI_LO, /* 0x73 115 's' */
725 _ACPI_LO, /* 0x74 116. 't' */ 725 _ACPI_LO, /* 0x74 116 't' */
726 _ACPI_LO, /* 0x75 117. 'u' */ 726 _ACPI_LO, /* 0x75 117 'u' */
727 _ACPI_LO, /* 0x76 118. 'v' */ 727 _ACPI_LO, /* 0x76 118 'v' */
728 _ACPI_LO, /* 0x77 119. 'w' */ 728 _ACPI_LO, /* 0x77 119 'w' */
729 _ACPI_LO, /* 0x78 120. 'x' */ 729 _ACPI_LO, /* 0x78 120 'x' */
730 _ACPI_LO, /* 0x79 121. 'y' */ 730 _ACPI_LO, /* 0x79 121 'y' */
731 _ACPI_LO, /* 0x7A 122. 'z' */ 731 _ACPI_LO, /* 0x7A 122 'z' */
732 _ACPI_PU, /* 0x7B 123. '{' */ 732 _ACPI_PU, /* 0x7B 123 '{' */
733 _ACPI_PU, /* 0x7C 124. '|' */ 733 _ACPI_PU, /* 0x7C 124 '|' */
734 _ACPI_PU, /* 0x7D 125. '}' */ 734 _ACPI_PU, /* 0x7D 125 '}' */
735 _ACPI_PU, /* 0x7E 126. '~' */ 735 _ACPI_PU, /* 0x7E 126 '~' */
736 _ACPI_CN, /* 0x7F 127. */ 736 _ACPI_CN, /* 0x7F 127 DEL */
737 737
738 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0x80 to 0x8F */ 738 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0x80 to 0x8F */
739 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0x90 to 0x9F */ 739 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0x90 to 0x9F */
@@ -742,7 +742,8 @@ const u8 _acpi_ctype[257] = {
742 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0xC0 to 0xCF */ 742 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0xC0 to 0xCF */
743 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0xD0 to 0xDF */ 743 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0xD0 to 0xDF */
744 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0xE0 to 0xEF */ 744 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0xE0 to 0xEF */
745 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 /* 0xF0 to 0x100 */ 745 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0xF0 to 0xFF */
746 0 /* 0x100 */
746}; 747};
747 748
748#endif /* ACPI_USE_SYSTEM_CLIBRARY */ 749#endif /* ACPI_USE_SYSTEM_CLIBRARY */