📄 res_init.lst.svn-base
字号:
869 16e7 0B .uleb128 0xb 870 16e8 43432034 .string "CC 4" 870 00 871 16ed 01 .byte 0x1 872 16ee 0D .uleb128 0xd 873 16ef 4D415854 .string "MAXTIMES 10" 873 494D4553 873 20313000 874 16fb 01 .byte 0x1 875 16fc 0E .uleb128 0xe 876 16fd 4F535F4C .string "OS_LOWEST_PRIO 63" 876 4F574553 876 545F5052 876 494F2036 876 3300 877 170f 01 .byte 0x1 878 1710 0F .uleb128 0xf 879 1711 4F535F4D .string "OS_MAX_TASKS 63" 879 41585F54 879 41534B53 879 20363300 880 1721 01 .byte 0x1 881 1722 10 .uleb128 0x10 882 1723 5243424E .string "RCBNum 4" 882 756D2034 882 00 883 172c 01 .byte 0x1 884 172d 15 .uleb128 0x15 885 172e 4F535F4E .string "OS_N_SYS_TASKS 1" 885 5F535953 885 5F544153 885 4B532031 885 00 886 173f 01 .byte 0x1 887 1740 16 .uleb128 0x16 888 1741 4F535F49 .string "OS_IDLE_PRIO 63" 888 444C455F 888 5052494F 888 20363300 889 1751 01 .byte 0x1GAS LISTING /tmp/cce3twcu.s page 32 890 1752 17 .uleb128 0x17 891 1753 4F535F53 .string "OS_STK_GROWTH 1" 891 544B5F47 891 524F5754 891 48203100 892 1763 01 .byte 0x1 893 1764 18 .uleb128 0x18 894 1765 4F535F48 .string "OS_HIGHEST_PRIO 0" 894 49474845 894 53545F50 894 52494F20 894 3000 895 1777 01 .byte 0x1 896 1778 19 .uleb128 0x19 897 1779 4F535F54 .string "OS_TASK_IDLE_PRIO (OS_LOWEST_PRIO)" 897 41534B5F 897 49444C45 897 5F505249 897 4F20284F 898 179c 01 .byte 0x1 899 179d 1A .uleb128 0x1a 900 179e 4F535F52 .string "OS_RDY_TBL_SIZE ((OS_LOWEST_PRIO) / 8 + 1)" 900 44595F54 900 424C5F53 900 495A4520 900 28284F53 901 17c9 01 .byte 0x1 902 17ca 1B .uleb128 0x1b 903 17cb 4F535F54 .string "OS_TASK_IDLE_STK_SIZE 512" 903 41534B5F 903 49444C45 903 5F53544B 903 5F53495A 904 17e5 01 .byte 0x1 905 17e6 36 .uleb128 0x36 906 17e7 54525545 .string "TRUE 1" 906 203100 907 17ee 01 .byte 0x1 908 17ef 37 .uleb128 0x37 909 17f0 46414C53 .string "FALSE 0" 909 45203000 910 17f8 01 .byte 0x1 911 17f9 3A .uleb128 0x3a 912 17fa 42542030 .string "BT 0" 912 00 913 17ff 01 .byte 0x1 914 1800 3B .uleb128 0x3b 915 1801 45542031 .string "ET 1" 915 00 916 1806 01 .byte 0x1 917 1807 3E .uleb128 0x3e 918 1808 4E4F4E50 .string "NONPREEMPT 0" 918 5245454D 918 50542030 918 00 919 1815 01 .byte 0x1 920 1816 3F .uleb128 0x3fGAS LISTING /tmp/cce3twcu.s page 33 921 1817 50524545 .string "PREEMPT 1" 921 4D505420 921 3100 922 1821 01 .byte 0x1 923 1822 40 .uleb128 0x40 924 1823 4D495850 .string "MIXPREEMPT 2" 924 5245454D 924 50542032 924 00 925 1830 01 .byte 0x1 926 1831 43 .uleb128 0x43 927 1832 455F4F4B .string "E_OK 10" 927 20313000 928 183a 01 .byte 0x1 929 183b 44 .uleb128 0x44 930 183c 455F4F53 .string "E_OS_ID 20" 930 5F494420 930 323000 931 1847 01 .byte 0x1 932 1848 45 .uleb128 0x45 933 1849 455F4F53 .string "E_OS_LIMIT 20" 933 5F4C494D 933 49542032 933 3000 934 1857 01 .byte 0x1 935 1858 46 .uleb128 0x46 936 1859 455F4F53 .string "E_OS_CALLEVEL 20" 936 5F43414C 936 4C455645 936 4C203230 936 00 937 186a 01 .byte 0x1 938 186b 47 .uleb128 0x47 939 186c 455F4F53 .string "E_OS_RESOURCE 20" 939 5F524553 939 4F555243 939 45203230 939 00 940 187d 01 .byte 0x1 941 187e 48 .uleb128 0x48 942 187f 455F4F53 .string "E_OS_STATE 20" 942 5F535441 942 54452032 942 3000 943 188d 01 .byte 0x1 944 188e 49 .uleb128 0x49 945 188f 455F4F53 .string "E_OS_ACCESS 20" 945 5F414343 945 45535320 945 323000 946 189e 01 .byte 0x1 947 189f 4A .uleb128 0x4a 948 18a0 4F535F50 .string "OS_PRIO_INVALID 20" 948 52494F5F 948 494E5641 948 4C494420 948 323000GAS LISTING /tmp/cce3twcu.s page 34 949 18b3 01 .byte 0x1 950 18b4 4B .uleb128 0x4b 951 18b5 4F535F4E .string "OS_NO_ERR 20" 951 4F5F4552 951 52203230 951 00 952 18c2 01 .byte 0x1 953 18c3 4C .uleb128 0x4c 954 18c4 4F535F45 .string "OS_ERR_NONE 20" 954 52525F4E 954 4F4E4520 954 323000 955 18d3 01 .byte 0x1 956 18d4 4D .uleb128 0x4d 957 18d5 4F535F45 .string "OS_ERR_PRIO_EXIST 20" 957 52525F50 957 52494F5F 957 45584953 957 54203230 958 18ea 01 .byte 0x1 959 18eb 4E .uleb128 0x4e 960 18ec 4F535F45 .string "OS_ERR_PRIO_ID_EXIST 20" 960 52525F50 960 52494F5F 960 49445F45 960 58495354 961 1904 01 .byte 0x1 962 1905 4F .uleb128 0x4f 963 1906 4F535F45 .string "OS_ERR_TASK_NO_MORE_TCB 20" 963 52525F54 963 41534B5F 963 4E4F5F4D 963 4F52455F 964 1921 01 .byte 0x1 965 1922 50 .uleb128 0x50 966 1923 4F535F45 .string "OS_ERR_ID_EXIST 20" 966 52525F49 966 445F4558 966 49535420 966 323000 967 1936 01 .byte 0x1 968 1937 51 .uleb128 0x51 969 1938 494E5641 .string "INVALID_TASK 20" 969 4C49445F 969 5441534B 969 20323000 970 1948 01 .byte 0x1 971 1949 52 .uleb128 0x52 972 194a 5441534B .string "TASKIDLE 20" 972 49444C45 972 20323000 973 1956 01 .byte 0x1 974 1957 53 .uleb128 0x53 975 1958 4E4F5F54 .string "NO_TASK (void *)0" 975 41534B20 975 28766F69 975 64202A29 GAS LISTING /tmp/cce3twcu.s page 35 975 3000 976 196a 01 .byte 0x1 977 196b 54 .uleb128 0x54 978 196c 4F535F54 .string "OS_TASK_IDLE_ID 20" 978 41534B5F 978 49444C45 978 5F494420 978 323000 979 197f 01 .byte 0x1 980 1980 55 .uleb128 0x55 981 1981 4F535F45 .string "OS_ERR_PRIO_INVALID 20" 981 52525F50 981 52494F5F 981 494E5641 981 4C494420 982 1998 01 .byte 0x1 983 1999 56 .uleb128 0x56 984 199a 4F535F45 .string "OS_ERR_PRIO 20" 984 52525F50 984 52494F20 984 323000 985 19a9 01 .byte 0x1 986 19aa 58 .uleb128 0x58 987 19ab 455F4F53 .string "E_OS_NOFUNC 20" 987 5F4E4F46 987 554E4320 987 323000 988 19ba 01 .byte 0x1 989 19bb 59 .uleb128 0x59 990 19bc 72656164 .string "ready 1" 990 79203100 991 19c4 01 .byte 0x1 992 19c5 5A .uleb128 0x5a 993 19c6 72756E6E .string "running 2" 993 696E6720 993 3200 994 19d0 01 .byte 0x1 995 19d1 5B .uleb128 0x5b 996 19d2 77616974 .string "waitting 3" 996 74696E67 996 203300 997 19dd 01 .byte 0x1 998 19de 5C .uleb128 0x5c 999 19df 73757370 .string "suspended 4" 999 656E6465 999 64203400 1000 19eb 01 .byte 0x1 1001 19ec 5E .uleb128 0x5e 1002 19ed 42434331 .string "BCC1 1" 1002 203100 1003 19f4 01 .byte 0x1 1004 19f5 5F .uleb128 0x5f 1005 19f6 42434332 .string "BCC2 2" 1005 203200 1006 19fd 01 .byte 0x1 1007 19fe 60 .uleb128 0x60 1008 19ff 45434331 .string "ECC1 3"GAS LISTING /tmp/cce3twcu.s page 36 1008 203300 1009 1a06 01 .byte 0x1 1010 1a07 61 .uleb128 0x61 1011 1a08 45434332 .string "ECC2 4" 1011 203400 1012 1a0f 04 .byte 0x4 1013 1a10 03 .byte 0x3 1014 1a11 03 .uleb128 0x3 1015 .file 9 "OS/Resource/resource.h" 1016 1a12 09 .uleb128 0x9 1017 1a13 04 .byte 0x4 1018 .section ".text" 1019 .align 2 1020 .globl Init_RCBArray 1021 .type Init_RCBArray, @function 1022 Init_RCBArray: 1023 .LFB2: 1:OS/Resource/res_init.c **** #include "global.h"
2:OS/Resource/res_init.c **** #include "OS_CPU.h"
3:OS/Resource/res_init.c **** #include "resource.h"
4:OS/Resource/res_init.c ****
5:OS/Resource/res_init.c **** Resource_Info* AllResource; 6:OS/Resource/res_init.c ****
7:OS/Resource/res_init.c **** INT8U Init_RCBArray()
8:OS/Resource/res_init.c **** {
1024 .loc 1 8 0 1025 0000 9421FFE0 stwu 1,-32(1) 1026 .LCFI0: 1027 0004 93E1001C stw 31,28(1) 1028 .LCFI1: 1029 0008 7C3F0B78 mr 31,1 1030 .LCFI2: 9:OS/Resource/res_init.c **** INT8U i;
10:OS/Resource/res_init.c **** for (i=0;i<RCBNum;i++)
1031 .loc 1 10 0 1032 000c 38000000 li 0,0 1033 0010 981F0008 stb 0,8(31) 1034 0014 480000BC b .L2 1035 .L3: 11:OS/Resource/res_init.c **** {
12:OS/Resource/res_init.c **** RCBArray[i].property=AllResource[i].property;
1036 .loc 1 12 0 1037 0018 881F0008 lbz 0,8(31) 1038 001c 5400063E rlwinm 0,0,0,0xff 1039 0020 1C000003 mulli 0,0,3 1040 0024 7C0B0378 mr 11,0 1041 0028 3D200000 lis 9,RCBArray@ha 1042 002c 80090000 lwz 0,RCBArray@l(9) 1043 0030 7D4B0214 add 10,11,0 1044 0034 881F0008 lbz 0,8(31) 1045 0038 5400063E rlwinm 0,0,0,0xff 1046 003c 5400083C slwi 0,0,1 1047 0040 7C0B0378 mr 11,0 1048 0044 3D200000 lis 9,AllResource@ha 1049 0048 80090000 lwz 0,AllResource@l(9) 1050 004c 7D2B0214 add 9,11,0 1051 0050 88090000 lbz 0,0(9)GAS LISTING /tmp/cce3twcu.s page 37 1052 0054 5400063E rlwinm 0,0,0,0xff 1053 0058 980A0000 stb 0,0(10) 13:OS/Resource/res_init.c **** RCBArray[i].Prio=AllResource[i].prio;
1054 .loc 1 13 0 1055 005c 881F0008 lbz 0,8(31) 1056 0060 5400063E rlwinm 0,0,0,0xff 1057 0064 1C000003 mulli 0,0,3 1058 0068 7C0B0378 mr 11,0 1059 006c 3D200000 lis 9,RCBArray@ha 1060 0070 80090000 lwz 0,RCBArray@l(9) 1061 0074 7D4B0214 add 10,11,0 1062 0078 881F0008 lbz 0,8(31) 1063 007c 5400063E rlwinm 0,0,0,0xff 1064 0080 5400083C slwi 0,0,1 1065 0084 7C0B0378 mr 11,0 1066 0088 3D200000 lis 9,AllResource@ha 1067 008c 80090000 lwz 0,AllResource@l(9) 1068 0090 7D2B0214 add 9,11,0 1069 0094 88090001 lbz 0,1(9) 1070 0098 5400063E rlwinm 0,0,0,0xff 1071 009c 980A0001 stb 0,1(10) 14:OS/Resource/res_init.c **** RCBArray[i].status=0xFF;
1072 .loc 1 14 0 1073 00a0 881F0008 lbz 0,8(31) 1074 00a4 5400063E rlwinm 0,0,0,0xff 1075 00a8 1C000003 mulli 0,0,3 1076 00ac 7C0B0378 mr 11,0 1077 00b0 3D200000 lis 9,RCBArray@ha 1078 00b4 80090000 lwz 0,RCBArray@l(9) 1079 00b8 7D2B0214 add 9,11,0 1080 00bc 3800FFFF li 0,-1 1081 00c0 98090002 stb 0,2(9) 1082 .loc 1 10 0 1083 00c4 893F0008 lbz 9,8(31) 1084 00c8 38090001 addi 0,9,1 1085 00cc 981F0008 stb 0,8(31) 1086 .L2: 1087 00d0 881F0008 lbz 0,8(31) 1088 00d4 5400063E rlwinm 0,0,0,0xff 1089 00d8 2B800003 cmplwi 7,0,3 1090 00dc 409DFF3C ble 7,.L3 15:OS/Resource/res_init.c **** }
16:OS/Resource/res_init.c **** return E_OK;
1091 .loc 1 16 0 1092 00e0 3800000A li 0,10 17:OS/Resource/res_init.c **** }
1093 .loc 1 17 0 1094 00e4 7C030378 mr 3,0 1095 00e8 81610000 lwz 11,0(1) 1096 00ec 83EBFFFC lwz 31,-4(11) 1097 00f0 7D615B78 mr 1,11 1098 00f4 4E800020 blr 1099 .LFE2: 1100 .size Init_RCBArray, .-Init_RCBArray 1101 .align 2 1102 .globl InitAllResource 1103 .type InitAllResource, @functionGAS LISTING /tmp/cce3twcu.s page 38 1104 InitAllResource: 1105 .LFB3: 18:OS/Resource/res_init.c ****
19:OS/Resource/res_init.c **** INT8U InitAllResource( )
20:OS/Resource/res_init.c **** {
1106 .loc 1 20 0 1107 00f8 9421FFF0 stwu 1,-16(1) 1108 .LCFI3: 1109 00fc 7C0802A6 mflr 0 1110 .LCFI4: 1111 0100 93E1000C stw 31,12(1) 1112 .LCFI5: 1113 0104 90010014 stw 0,20(1) 1114 .LCFI6: 1115 0108 7C3F0B78 mr 31,1 1116 .LCFI7: 21:OS/Resource/res_init.c **** if (RCBNum==0)
22:OS/Resource/res_init.c **** {
23:OS/Resource/res_init.c **** RCBArray=0;
24:OS/Resource/res_init.c **** return E_OK;
25:OS/Resource/res_init.c **** }
26:OS/Resource/res_init.c **** if(RCBNum>8)
27:OS/Resource/res_init.c **** return E_OS_LIMIT;
28:OS/Resource/res_init.c **** return Init_RCBArray();
1117 .loc 1 28 0 1118 010c 48000001 bl Init_RCBArray 1119 0110 7C601B78 mr 0,3 29:OS/Resource/res_init.c **** }
1120 .loc 1 29 0 1121 0114 7C030378 mr 3,0 1122 0118 81610000 lwz 11,0(1) 1123 011c 800B0004 lwz 0,4(11) 1124 0120 7C0803A6 mtlr 0 1125 0124 83EBFFFC lwz 31,-4(11) 1126 0128 7D615B78 mr 1,11 1127 012c 4E800020 blr 1128 .LFE3: 1129 .size InitAllResource, .-InitAllResource 1130 .align 2 1131 .globl GetResource 1132 .type GetResource, @function 1133 GetResource: 1134 .LFB4: 30:OS/Resource/res_init.c ****
31:OS/Resource/res_init.c ****
32:OS/Resource/res_init.c **** INT8U GetResource(INT8U Res)
33:OS/Resource/res_init.c **** {
1135 .loc 1 33 0 1136 0130 9421FFD8
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -