max_stars_repo_path
stringlengths
4
261
max_stars_repo_name
stringlengths
6
106
max_stars_count
int64
0
38.8k
id
stringlengths
1
6
text
stringlengths
7
1.05M
programs/oeis/077/A077262.asm
jmorken/loda
1
99830
; A077262: Second member of the Diophantine pair (m,k) that satisfies 5*(m^2 + m) = k^2 + k; a(n) = k. ; 0,5,14,99,260,1785,4674,32039,83880,574925,1505174,10316619,27009260,185124225,484661514,3321919439,8696898000,59609425685,156059502494,1069647742899,2800374146900,19194049946505,50250675141714,344423251294199,901711778403960,6180424473349085 add $0,1 mov $1,$0 mov $0,0 mov $2,$1 div $1,2 sub $1,1 add $1,$2 add $0,$1 mov $1,1 mov $3,2 lpb $0 sub $0,1 add $3,$1 add $1,$3 lpe div $1,2
examples/outdated-and-incorrect/cat/Product.agda
larrytheliquid/agda
0
12895
<filename>examples/outdated-and-incorrect/cat/Product.agda module Product where open import Base open import Category open import Unique open import Dual module Prod (ℂ : Cat) where private ℂ' = η-Cat ℂ open module C = Cat ℂ' open module U = Uniq ℂ' data _×_ (A B : Obj) : Set1 where prod : (AB : Obj) (π₀ : AB ─→ A) (π₁ : AB ─→ B) -> ((X : Obj)(f : X ─→ A)(g : X ─→ B) -> ∃! \(h : X ─→ AB) -> π₀ ∘ h == f /\ π₁ ∘ h == g ) -> A × B Product : {A B : Obj} -> A × B -> Obj Product (prod AB _ _ _) = AB π₀ : {A B : Obj}(p : A × B) -> Product p ─→ A π₀ (prod _ p _ _) = p π₁ : {A B : Obj}(p : A × B) -> Product p ─→ B π₁ (prod _ _ q _) = q module Sum (ℂ : Cat) = Prod (η-Cat ℂ op) renaming ( _×_ to _+_ ; prod to sum ; Product to Sum ; π₀ to inl ; π₁ to inr )
programs/oeis/036/A036799.asm
karttu/loda
1
104427
<gh_stars>1-10 ; A036799: a(n) = 2 + 2^(n+1)*(n-1). ; 0,2,10,34,98,258,642,1538,3586,8194,18434,40962,90114,196610,425986,917506,1966082,4194306,8912898,18874370,39845890,83886082,176160770,369098754,771751938,1610612738,3355443202,6979321858,14495514626,30064771074,62277025794,128849018882,266287972354,549755813890,1133871366146,2336462209026,4810363371522,9895604649986,20340965113858,41781441855490,85761906966530,175921860444162,360639813910530,738871813865474,1512927999819778,3096224743817218,6333186975989762 mov $1,$0 sub $1,1 mov $2,2 pow $2,$0 mul $1,$2 add $1,1 mul $1,2
tests/data/test.adb
kokkonisd/locstats
5
30694
with Ada.Text_IO; use Ada.Text_IO; procedure Main is begin -- Say hello! Put_Line("Hello, World!"); end Main;
src/Isos/Isomorphism.agda
ice1k/Theorems
1
15977
module Isos.Isomorphism where open import Logics.And public
programs/oeis/157/A157954.asm
karttu/loda
1
6494
; A157954: 162n - 1. ; 161,323,485,647,809,971,1133,1295,1457,1619,1781,1943,2105,2267,2429,2591,2753,2915,3077,3239,3401,3563,3725,3887,4049,4211,4373,4535,4697,4859,5021,5183,5345,5507,5669,5831,5993,6155,6317,6479,6641,6803,6965,7127,7289,7451,7613,7775,7937,8099,8261,8423,8585,8747,8909,9071,9233,9395,9557,9719,9881,10043,10205,10367,10529,10691,10853,11015,11177,11339,11501,11663,11825,11987,12149,12311,12473,12635,12797,12959,13121,13283,13445,13607,13769,13931,14093,14255,14417,14579,14741,14903,15065,15227,15389,15551,15713,15875,16037,16199,16361,16523,16685,16847,17009,17171,17333,17495,17657,17819,17981,18143,18305,18467,18629,18791,18953,19115,19277,19439,19601,19763,19925,20087,20249,20411,20573,20735,20897,21059,21221,21383,21545,21707,21869,22031,22193,22355,22517,22679,22841,23003,23165,23327,23489,23651,23813,23975,24137,24299,24461,24623,24785,24947,25109,25271,25433,25595,25757,25919,26081,26243,26405,26567,26729,26891,27053,27215,27377,27539,27701,27863,28025,28187,28349,28511,28673,28835,28997,29159,29321,29483,29645,29807,29969,30131,30293,30455,30617,30779,30941,31103,31265,31427,31589,31751,31913,32075,32237,32399,32561,32723,32885,33047,33209,33371,33533,33695,33857,34019,34181,34343,34505,34667,34829,34991,35153,35315,35477,35639,35801,35963,36125,36287,36449,36611,36773,36935,37097,37259,37421,37583,37745,37907,38069,38231,38393,38555,38717,38879,39041,39203,39365,39527,39689,39851,40013,40175,40337,40499 mov $1,$0 mul $1,162 add $1,161
Ouroboros/External/libjpegTurbo/simd/jdmrgss2.asm
jiangzhu1212/oooii
0
101599
; ; jdmrgss2.asm - merged upsampling/color conversion (SSE2) ; ; Copyright 2009 <NAME> <<EMAIL>> for Cendio AB ; ; Based on ; x86 SIMD extension for IJG JPEG library ; Copyright (C) 1999-2006, MIYASAKA Masaru. ; For conditions of distribution and use, see copyright notice in jsimdext.inc ; ; This file should be assembled with NASM (Netwide Assembler), ; can *not* be assembled with Microsoft's MASM or any compatible ; assembler (including Borland's Turbo Assembler). ; NASM is available from http://nasm.sourceforge.net/ or ; http://sourceforge.net/project/showfiles.php?group_id=6208 ; ; [TAB8] %include "jcolsamp.inc" ; -------------------------------------------------------------------------- ; ; Upsample and color convert for the case of 2:1 horizontal and 1:1 vertical. ; ; GLOBAL(void) ; jsimd_h2v1_merged_upsample_sse2 (JDIMENSION output_width, ; JSAMPIMAGE input_buf, ; JDIMENSION in_row_group_ctr, ; JSAMPARRAY output_buf); ; %define output_width(b) (b)+8 ; JDIMENSION output_width %define input_buf(b) (b)+12 ; JSAMPIMAGE input_buf %define in_row_group_ctr(b) (b)+16 ; JDIMENSION in_row_group_ctr %define output_buf(b) (b)+20 ; JSAMPARRAY output_buf %define original_ebp ebp+0 %define wk(i) ebp-(WK_NUM-(i))*SIZEOF_XMMWORD ; xmmword wk[WK_NUM] %define WK_NUM 3 %define gotptr wk(0)-SIZEOF_POINTER ; void * gotptr align 16 global EXTN(jsimd_h2v1_merged_upsample_sse2) EXTN(jsimd_h2v1_merged_upsample_sse2): push ebp mov eax,esp ; eax = original ebp sub esp, byte 4 and esp, byte (-SIZEOF_XMMWORD) ; align to 128 bits mov [esp],eax mov ebp,esp ; ebp = aligned ebp lea esp, [wk(0)] pushpic eax ; make a room for GOT address push ebx ; push ecx ; need not be preserved ; push edx ; need not be preserved push esi push edi get_GOT ebx ; get GOT address movpic POINTER [gotptr], ebx ; save GOT address mov ecx, JDIMENSION [output_width(eax)] ; col test ecx,ecx jz near .return push ecx mov edi, JSAMPIMAGE [input_buf(eax)] mov ecx, JDIMENSION [in_row_group_ctr(eax)] mov esi, JSAMPARRAY [edi+0*SIZEOF_JSAMPARRAY] mov ebx, JSAMPARRAY [edi+1*SIZEOF_JSAMPARRAY] mov edx, JSAMPARRAY [edi+2*SIZEOF_JSAMPARRAY] mov edi, JSAMPARRAY [output_buf(eax)] mov esi, JSAMPROW [esi+ecx*SIZEOF_JSAMPROW] ; inptr0 mov ebx, JSAMPROW [ebx+ecx*SIZEOF_JSAMPROW] ; inptr1 mov edx, JSAMPROW [edx+ecx*SIZEOF_JSAMPROW] ; inptr2 mov edi, JSAMPROW [edi] ; outptr pop ecx ; col alignx 16,7 .columnloop: movpic eax, POINTER [gotptr] ; load GOT address (eax) movdqa xmm6, XMMWORD [ebx] ; xmm6=Cb(0123456789ABCDEF) movdqa xmm7, XMMWORD [edx] ; xmm7=Cr(0123456789ABCDEF) pxor xmm1,xmm1 ; xmm1=(all 0's) pcmpeqw xmm3,xmm3 psllw xmm3,7 ; xmm3={0xFF80 0xFF80 0xFF80 0xFF80 ..} movdqa xmm4,xmm6 punpckhbw xmm6,xmm1 ; xmm6=Cb(89ABCDEF)=CbH punpcklbw xmm4,xmm1 ; xmm4=Cb(01234567)=CbL movdqa xmm0,xmm7 punpckhbw xmm7,xmm1 ; xmm7=Cr(89ABCDEF)=CrH punpcklbw xmm0,xmm1 ; xmm0=Cr(01234567)=CrL paddw xmm6,xmm3 paddw xmm4,xmm3 paddw xmm7,xmm3 paddw xmm0,xmm3 ; (Original) ; R = Y + 1.40200 * Cr ; G = Y - 0.34414 * Cb - 0.71414 * Cr ; B = Y + 1.77200 * Cb ; ; (This implementation) ; R = Y + 0.40200 * Cr + Cr ; G = Y - 0.34414 * Cb + 0.28586 * Cr - Cr ; B = Y - 0.22800 * Cb + Cb + Cb movdqa xmm5,xmm6 ; xmm5=CbH movdqa xmm2,xmm4 ; xmm2=CbL paddw xmm6,xmm6 ; xmm6=2*CbH paddw xmm4,xmm4 ; xmm4=2*CbL movdqa xmm1,xmm7 ; xmm1=CrH movdqa xmm3,xmm0 ; xmm3=CrL paddw xmm7,xmm7 ; xmm7=2*CrH paddw xmm0,xmm0 ; xmm0=2*CrL pmulhw xmm6,[GOTOFF(eax,PW_MF0228)] ; xmm6=(2*CbH * -FIX(0.22800)) pmulhw xmm4,[GOTOFF(eax,PW_MF0228)] ; xmm4=(2*CbL * -FIX(0.22800)) pmulhw xmm7,[GOTOFF(eax,PW_F0402)] ; xmm7=(2*CrH * FIX(0.40200)) pmulhw xmm0,[GOTOFF(eax,PW_F0402)] ; xmm0=(2*CrL * FIX(0.40200)) paddw xmm6,[GOTOFF(eax,PW_ONE)] paddw xmm4,[GOTOFF(eax,PW_ONE)] psraw xmm6,1 ; xmm6=(CbH * -FIX(0.22800)) psraw xmm4,1 ; xmm4=(CbL * -FIX(0.22800)) paddw xmm7,[GOTOFF(eax,PW_ONE)] paddw xmm0,[GOTOFF(eax,PW_ONE)] psraw xmm7,1 ; xmm7=(CrH * FIX(0.40200)) psraw xmm0,1 ; xmm0=(CrL * FIX(0.40200)) paddw xmm6,xmm5 paddw xmm4,xmm2 paddw xmm6,xmm5 ; xmm6=(CbH * FIX(1.77200))=(B-Y)H paddw xmm4,xmm2 ; xmm4=(CbL * FIX(1.77200))=(B-Y)L paddw xmm7,xmm1 ; xmm7=(CrH * FIX(1.40200))=(R-Y)H paddw xmm0,xmm3 ; xmm0=(CrL * FIX(1.40200))=(R-Y)L movdqa XMMWORD [wk(0)], xmm6 ; wk(0)=(B-Y)H movdqa XMMWORD [wk(1)], xmm7 ; wk(1)=(R-Y)H movdqa xmm6,xmm5 movdqa xmm7,xmm2 punpcklwd xmm5,xmm1 punpckhwd xmm6,xmm1 pmaddwd xmm5,[GOTOFF(eax,PW_MF0344_F0285)] pmaddwd xmm6,[GOTOFF(eax,PW_MF0344_F0285)] punpcklwd xmm2,xmm3 punpckhwd xmm7,xmm3 pmaddwd xmm2,[GOTOFF(eax,PW_MF0344_F0285)] pmaddwd xmm7,[GOTOFF(eax,PW_MF0344_F0285)] paddd xmm5,[GOTOFF(eax,PD_ONEHALF)] paddd xmm6,[GOTOFF(eax,PD_ONEHALF)] psrad xmm5,SCALEBITS psrad xmm6,SCALEBITS paddd xmm2,[GOTOFF(eax,PD_ONEHALF)] paddd xmm7,[GOTOFF(eax,PD_ONEHALF)] psrad xmm2,SCALEBITS psrad xmm7,SCALEBITS packssdw xmm5,xmm6 ; xmm5=CbH*-FIX(0.344)+CrH*FIX(0.285) packssdw xmm2,xmm7 ; xmm2=CbL*-FIX(0.344)+CrL*FIX(0.285) psubw xmm5,xmm1 ; xmm5=CbH*-FIX(0.344)+CrH*-FIX(0.714)=(G-Y)H psubw xmm2,xmm3 ; xmm2=CbL*-FIX(0.344)+CrL*-FIX(0.714)=(G-Y)L movdqa XMMWORD [wk(2)], xmm5 ; wk(2)=(G-Y)H mov al,2 ; Yctr jmp short .Yloop_1st alignx 16,7 .Yloop_2nd: movdqa xmm0, XMMWORD [wk(1)] ; xmm0=(R-Y)H movdqa xmm2, XMMWORD [wk(2)] ; xmm2=(G-Y)H movdqa xmm4, XMMWORD [wk(0)] ; xmm4=(B-Y)H alignx 16,7 .Yloop_1st: movdqa xmm7, XMMWORD [esi] ; xmm7=Y(0123456789ABCDEF) pcmpeqw xmm6,xmm6 psrlw xmm6,BYTE_BIT ; xmm6={0xFF 0x00 0xFF 0x00 ..} pand xmm6,xmm7 ; xmm6=Y(02468ACE)=YE psrlw xmm7,BYTE_BIT ; xmm7=Y(13579BDF)=YO movdqa xmm1,xmm0 ; xmm1=xmm0=(R-Y)(L/H) movdqa xmm3,xmm2 ; xmm3=xmm2=(G-Y)(L/H) movdqa xmm5,xmm4 ; xmm5=xmm4=(B-Y)(L/H) paddw xmm0,xmm6 ; xmm0=((R-Y)+YE)=RE=R(02468ACE) paddw xmm1,xmm7 ; xmm1=((R-Y)+YO)=RO=R(13579BDF) packuswb xmm0,xmm0 ; xmm0=R(02468ACE********) packuswb xmm1,xmm1 ; xmm1=R(13579BDF********) paddw xmm2,xmm6 ; xmm2=((G-Y)+YE)=GE=G(02468ACE) paddw xmm3,xmm7 ; xmm3=((G-Y)+YO)=GO=G(13579BDF) packuswb xmm2,xmm2 ; xmm2=G(02468ACE********) packuswb xmm3,xmm3 ; xmm3=G(13579BDF********) paddw xmm4,xmm6 ; xmm4=((B-Y)+YE)=BE=B(02468ACE) paddw xmm5,xmm7 ; xmm5=((B-Y)+YO)=BO=B(13579BDF) packuswb xmm4,xmm4 ; xmm4=B(02468ACE********) packuswb xmm5,xmm5 ; xmm5=B(13579BDF********) %if RGB_PIXELSIZE == 3 ; --------------- ; xmmA=(00 02 04 06 08 0A 0C 0E **), xmmB=(01 03 05 07 09 0B 0D 0F **) ; xmmC=(10 12 14 16 18 1A 1C 1E **), xmmD=(11 13 15 17 19 1B 1D 1F **) ; xmmE=(20 22 24 26 28 2A 2C 2E **), xmmF=(21 23 25 27 29 2B 2D 2F **) ; xmmG=(** ** ** ** ** ** ** ** **), xmmH=(** ** ** ** ** ** ** ** **) punpcklbw xmmA,xmmC ; xmmA=(00 10 02 12 04 14 06 16 08 18 0A 1A 0C 1C 0E 1E) punpcklbw xmmE,xmmB ; xmmE=(20 01 22 03 24 05 26 07 28 09 2A 0B 2C 0D 2E 0F) punpcklbw xmmD,xmmF ; xmmD=(11 21 13 23 15 25 17 27 19 29 1B 2B 1D 2D 1F 2F) movdqa xmmG,xmmA movdqa xmmH,xmmA punpcklwd xmmA,xmmE ; xmmA=(00 10 20 01 02 12 22 03 04 14 24 05 06 16 26 07) punpckhwd xmmG,xmmE ; xmmG=(08 18 28 09 0A 1A 2A 0B 0C 1C 2C 0D 0E 1E 2E 0F) psrldq xmmH,2 ; xmmH=(02 12 04 14 06 16 08 18 0A 1A 0C 1C 0E 1E -- --) psrldq xmmE,2 ; xmmE=(22 03 24 05 26 07 28 09 2A 0B 2C 0D 2E 0F -- --) movdqa xmmC,xmmD movdqa xmmB,xmmD punpcklwd xmmD,xmmH ; xmmD=(11 21 02 12 13 23 04 14 15 25 06 16 17 27 08 18) punpckhwd xmmC,xmmH ; xmmC=(19 29 0A 1A 1B 2B 0C 1C 1D 2D 0E 1E 1F 2F -- --) psrldq xmmB,2 ; xmmB=(13 23 15 25 17 27 19 29 1B 2B 1D 2D 1F 2F -- --) movdqa xmmF,xmmE punpcklwd xmmE,xmmB ; xmmE=(22 03 13 23 24 05 15 25 26 07 17 27 28 09 19 29) punpckhwd xmmF,xmmB ; xmmF=(2A 0B 1B 2B 2C 0D 1D 2D 2E 0F 1F 2F -- -- -- --) pshufd xmmH,xmmA,0x4E; xmmH=(04 14 24 05 06 16 26 07 00 10 20 01 02 12 22 03) movdqa xmmB,xmmE punpckldq xmmA,xmmD ; xmmA=(00 10 20 01 11 21 02 12 02 12 22 03 13 23 04 14) punpckldq xmmE,xmmH ; xmmE=(22 03 13 23 04 14 24 05 24 05 15 25 06 16 26 07) punpckhdq xmmD,xmmB ; xmmD=(15 25 06 16 26 07 17 27 17 27 08 18 28 09 19 29) pshufd xmmH,xmmG,0x4E; xmmH=(0C 1C 2C 0D 0E 1E 2E 0F 08 18 28 09 0A 1A 2A 0B) movdqa xmmB,xmmF punpckldq xmmG,xmmC ; xmmG=(08 18 28 09 19 29 0A 1A 0A 1A 2A 0B 1B 2B 0C 1C) punpckldq xmmF,xmmH ; xmmF=(2A 0B 1B 2B 0C 1C 2C 0D 2C 0D 1D 2D 0E 1E 2E 0F) punpckhdq xmmC,xmmB ; xmmC=(1D 2D 0E 1E 2E 0F 1F 2F 1F 2F -- -- -- -- -- --) punpcklqdq xmmA,xmmE ; xmmA=(00 10 20 01 11 21 02 12 22 03 13 23 04 14 24 05) punpcklqdq xmmD,xmmG ; xmmD=(15 25 06 16 26 07 17 27 08 18 28 09 19 29 0A 1A) punpcklqdq xmmF,xmmC ; xmmF=(2A 0B 1B 2B 0C 1C 2C 0D 1D 2D 0E 1E 2E 0F 1F 2F) cmp ecx, byte SIZEOF_XMMWORD jb short .column_st32 test edi, SIZEOF_XMMWORD-1 jnz short .out1 ; --(aligned)------------------- movntdq XMMWORD [edi+0*SIZEOF_XMMWORD], xmmA movntdq XMMWORD [edi+1*SIZEOF_XMMWORD], xmmD movntdq XMMWORD [edi+2*SIZEOF_XMMWORD], xmmF add edi, byte RGB_PIXELSIZE*SIZEOF_XMMWORD ; outptr jmp short .out0 .out1: ; --(unaligned)----------------- pcmpeqb xmmH,xmmH ; xmmH=(all 1's) maskmovdqu xmmA,xmmH ; movntdqu XMMWORD [edi], xmmA add edi, byte SIZEOF_XMMWORD ; outptr maskmovdqu xmmD,xmmH ; movntdqu XMMWORD [edi], xmmD add edi, byte SIZEOF_XMMWORD ; outptr maskmovdqu xmmF,xmmH ; movntdqu XMMWORD [edi], xmmF add edi, byte SIZEOF_XMMWORD ; outptr .out0: sub ecx, byte SIZEOF_XMMWORD jz near .endcolumn add esi, byte SIZEOF_XMMWORD ; inptr0 dec al ; Yctr jnz near .Yloop_2nd add ebx, byte SIZEOF_XMMWORD ; inptr1 add edx, byte SIZEOF_XMMWORD ; inptr2 jmp near .columnloop alignx 16,7 .column_st32: pcmpeqb xmmH,xmmH ; xmmH=(all 1's) lea ecx, [ecx+ecx*2] ; imul ecx, RGB_PIXELSIZE cmp ecx, byte 2*SIZEOF_XMMWORD jb short .column_st16 maskmovdqu xmmA,xmmH ; movntdqu XMMWORD [edi], xmmA add edi, byte SIZEOF_XMMWORD ; outptr maskmovdqu xmmD,xmmH ; movntdqu XMMWORD [edi], xmmD add edi, byte SIZEOF_XMMWORD ; outptr movdqa xmmA,xmmF sub ecx, byte 2*SIZEOF_XMMWORD jmp short .column_st15 .column_st16: cmp ecx, byte SIZEOF_XMMWORD jb short .column_st15 maskmovdqu xmmA,xmmH ; movntdqu XMMWORD [edi], xmmA add edi, byte SIZEOF_XMMWORD ; outptr movdqa xmmA,xmmD sub ecx, byte SIZEOF_XMMWORD .column_st15: %ifdef STRICT_MEMORY_ACCESS ; Store the lower 8 bytes of xmmA to the output when it has enough ; space. cmp ecx, byte SIZEOF_MMWORD jb short .column_st7 movq MMWORD [edi], xmmA add edi, byte SIZEOF_MMWORD sub ecx, byte SIZEOF_MMWORD psrldq xmmA, SIZEOF_MMWORD .column_st7: ; Store the lower 4 bytes of xmmA to the output when it has enough ; space. cmp ecx, byte SIZEOF_DWORD jb short .column_st3 movd DWORD [edi], xmmA add edi, byte SIZEOF_DWORD sub ecx, byte SIZEOF_DWORD psrldq xmmA, SIZEOF_DWORD .column_st3: ; Store the lower 2 bytes of eax to the output when it has enough ; space. movd eax, xmmA cmp ecx, byte SIZEOF_WORD jb short .column_st1 mov WORD [edi], ax add edi, byte SIZEOF_WORD sub ecx, byte SIZEOF_WORD shr eax, 16 .column_st1: ; Store the lower 1 byte of eax to the output when it has enough ; space. test ecx, ecx jz short .endcolumn mov BYTE [edi], al %else mov eax,ecx xor ecx, byte 0x0F shl ecx, 2 movd xmmB,ecx psrlq xmmH,4 pcmpeqb xmmE,xmmE psrlq xmmH,xmmB psrlq xmmE,xmmB punpcklbw xmmE,xmmH ; ---------------- mov ecx,edi and ecx, byte SIZEOF_XMMWORD-1 jz short .adj0 add eax,ecx cmp eax, byte SIZEOF_XMMWORD ja short .adj0 and edi, byte (-SIZEOF_XMMWORD) ; align to 16-byte boundary shl ecx, 3 ; pslldq xmmA,ecx & pslldq xmmE,ecx movdqa xmmG,xmmA movdqa xmmC,xmmE pslldq xmmA, SIZEOF_XMMWORD/2 pslldq xmmE, SIZEOF_XMMWORD/2 movd xmmD,ecx sub ecx, byte (SIZEOF_XMMWORD/2)*BYTE_BIT jb short .adj1 movd xmmF,ecx psllq xmmA,xmmF psllq xmmE,xmmF jmp short .adj0 .adj1: neg ecx movd xmmF,ecx psrlq xmmA,xmmF psrlq xmmE,xmmF psllq xmmG,xmmD psllq xmmC,xmmD por xmmA,xmmG por xmmE,xmmC .adj0: ; ---------------- maskmovdqu xmmA,xmmE ; movntdqu XMMWORD [edi], xmmA %endif ; STRICT_MEMORY_ACCESS ; --------------- %else ; RGB_PIXELSIZE == 4 ; ----------- %ifdef RGBX_FILLER_0XFF pcmpeqb xmm6,xmm6 ; xmm6=XE=X(02468ACE********) pcmpeqb xmm7,xmm7 ; xmm7=XO=X(13579BDF********) %else pxor xmm6,xmm6 ; xmm6=XE=X(02468ACE********) pxor xmm7,xmm7 ; xmm7=XO=X(13579BDF********) %endif ; xmmA=(00 02 04 06 08 0A 0C 0E **), xmmB=(01 03 05 07 09 0B 0D 0F **) ; xmmC=(10 12 14 16 18 1A 1C 1E **), xmmD=(11 13 15 17 19 1B 1D 1F **) ; xmmE=(20 22 24 26 28 2A 2C 2E **), xmmF=(21 23 25 27 29 2B 2D 2F **) ; xmmG=(30 32 34 36 38 3A 3C 3E **), xmmH=(31 33 35 37 39 3B 3D 3F **) punpcklbw xmmA,xmmC ; xmmA=(00 10 02 12 04 14 06 16 08 18 0A 1A 0C 1C 0E 1E) punpcklbw xmmE,xmmG ; xmmE=(20 30 22 32 24 34 26 36 28 38 2A 3A 2C 3C 2E 3E) punpcklbw xmmB,xmmD ; xmmB=(01 11 03 13 05 15 07 17 09 19 0B 1B 0D 1D 0F 1F) punpcklbw xmmF,xmmH ; xmmF=(21 31 23 33 25 35 27 37 29 39 2B 3B 2D 3D 2F 3F) movdqa xmmC,xmmA punpcklwd xmmA,xmmE ; xmmA=(00 10 20 30 02 12 22 32 04 14 24 34 06 16 26 36) punpckhwd xmmC,xmmE ; xmmC=(08 18 28 38 0A 1A 2A 3A 0C 1C 2C 3C 0E 1E 2E 3E) movdqa xmmG,xmmB punpcklwd xmmB,xmmF ; xmmB=(01 11 21 31 03 13 23 33 05 15 25 35 07 17 27 37) punpckhwd xmmG,xmmF ; xmmG=(09 19 29 39 0B 1B 2B 3B 0D 1D 2D 3D 0F 1F 2F 3F) movdqa xmmD,xmmA punpckldq xmmA,xmmB ; xmmA=(00 10 20 30 01 11 21 31 02 12 22 32 03 13 23 33) punpckhdq xmmD,xmmB ; xmmD=(04 14 24 34 05 15 25 35 06 16 26 36 07 17 27 37) movdqa xmmH,xmmC punpckldq xmmC,xmmG ; xmmC=(08 18 28 38 09 19 29 39 0A 1A 2A 3A 0B 1B 2B 3B) punpckhdq xmmH,xmmG ; xmmH=(0C 1C 2C 3C 0D 1D 2D 3D 0E 1E 2E 3E 0F 1F 2F 3F) cmp ecx, byte SIZEOF_XMMWORD jb short .column_st32 test edi, SIZEOF_XMMWORD-1 jnz short .out1 ; --(aligned)------------------- movntdq XMMWORD [edi+0*SIZEOF_XMMWORD], xmmA movntdq XMMWORD [edi+1*SIZEOF_XMMWORD], xmmD movntdq XMMWORD [edi+2*SIZEOF_XMMWORD], xmmC movntdq XMMWORD [edi+3*SIZEOF_XMMWORD], xmmH add edi, byte RGB_PIXELSIZE*SIZEOF_XMMWORD ; outptr jmp short .out0 .out1: ; --(unaligned)----------------- pcmpeqb xmmE,xmmE ; xmmE=(all 1's) maskmovdqu xmmA,xmmE ; movntdqu XMMWORD [edi], xmmA add edi, byte SIZEOF_XMMWORD ; outptr maskmovdqu xmmD,xmmE ; movntdqu XMMWORD [edi], xmmD add edi, byte SIZEOF_XMMWORD ; outptr maskmovdqu xmmC,xmmE ; movntdqu XMMWORD [edi], xmmC add edi, byte SIZEOF_XMMWORD ; outptr maskmovdqu xmmH,xmmE ; movntdqu XMMWORD [edi], xmmH add edi, byte SIZEOF_XMMWORD ; outptr .out0: sub ecx, byte SIZEOF_XMMWORD jz near .endcolumn add esi, byte SIZEOF_XMMWORD ; inptr0 dec al ; Yctr jnz near .Yloop_2nd add ebx, byte SIZEOF_XMMWORD ; inptr1 add edx, byte SIZEOF_XMMWORD ; inptr2 jmp near .columnloop alignx 16,7 .column_st32: pcmpeqb xmmE,xmmE ; xmmE=(all 1's) cmp ecx, byte SIZEOF_XMMWORD/2 jb short .column_st16 maskmovdqu xmmA,xmmE ; movntdqu XMMWORD [edi], xmmA add edi, byte SIZEOF_XMMWORD ; outptr maskmovdqu xmmD,xmmE ; movntdqu XMMWORD [edi], xmmD add edi, byte SIZEOF_XMMWORD ; outptr movdqa xmmA,xmmC movdqa xmmD,xmmH sub ecx, byte SIZEOF_XMMWORD/2 .column_st16: cmp ecx, byte SIZEOF_XMMWORD/4 jb short .column_st15 maskmovdqu xmmA,xmmE ; movntdqu XMMWORD [edi], xmmA add edi, byte SIZEOF_XMMWORD ; outptr movdqa xmmA,xmmD sub ecx, byte SIZEOF_XMMWORD/4 .column_st15: %ifdef STRICT_MEMORY_ACCESS ; Store two pixels (8 bytes) of xmmA to the output when it has enough ; space. cmp ecx, byte SIZEOF_XMMWORD/8 jb short .column_st7 movq MMWORD [edi], xmmA add edi, byte SIZEOF_XMMWORD/2 sub ecx, byte SIZEOF_XMMWORD/8 psrldq xmmA, 64 .column_st7: ; Store one pixel (4 bytes) of xmmA to the output when it has enough ; space. test ecx, ecx jz short .endcolumn movd DWORD [edi], xmmA %else cmp ecx, byte SIZEOF_XMMWORD/16 jb short .endcolumn mov eax,ecx xor ecx, byte 0x03 inc ecx shl ecx, 4 movd xmmF,ecx psrlq xmmE,xmmF punpcklbw xmmE,xmmE ; ---------------- mov ecx,edi and ecx, byte SIZEOF_XMMWORD-1 jz short .adj0 lea eax, [ecx+eax*4] ; RGB_PIXELSIZE cmp eax, byte SIZEOF_XMMWORD ja short .adj0 and edi, byte (-SIZEOF_XMMWORD) ; align to 16-byte boundary shl ecx, 3 ; pslldq xmmA,ecx & pslldq xmmE,ecx movdqa xmmB,xmmA movdqa xmmG,xmmE pslldq xmmA, SIZEOF_XMMWORD/2 pslldq xmmE, SIZEOF_XMMWORD/2 movd xmmC,ecx sub ecx, byte (SIZEOF_XMMWORD/2)*BYTE_BIT jb short .adj1 movd xmmH,ecx psllq xmmA,xmmH psllq xmmE,xmmH jmp short .adj0 .adj1: neg ecx movd xmmH,ecx psrlq xmmA,xmmH psrlq xmmE,xmmH psllq xmmB,xmmC psllq xmmG,xmmC por xmmA,xmmB por xmmE,xmmG .adj0: ; ---------------- maskmovdqu xmmA,xmmE ; movntdqu XMMWORD [edi], xmmA %endif ; STRICT_MEMORY_ACCESS ; --------------- %endif ; RGB_PIXELSIZE ; --------------- .endcolumn: sfence ; flush the write buffer .return: pop edi pop esi ; pop edx ; need not be preserved ; pop ecx ; need not be preserved pop ebx mov esp,ebp ; esp <- aligned ebp pop esp ; esp <- original ebp pop ebp ret ; -------------------------------------------------------------------------- ; ; Upsample and color convert for the case of 2:1 horizontal and 2:1 vertical. ; ; GLOBAL(void) ; jsimd_h2v2_merged_upsample_sse2 (JDIMENSION output_width, ; JSAMPIMAGE input_buf, ; JDIMENSION in_row_group_ctr, ; JSAMPARRAY output_buf); ; %define output_width(b) (b)+8 ; JDIMENSION output_width %define input_buf(b) (b)+12 ; JSAMPIMAGE input_buf %define in_row_group_ctr(b) (b)+16 ; JDIMENSION in_row_group_ctr %define output_buf(b) (b)+20 ; JSAMPARRAY output_buf align 16 global EXTN(jsimd_h2v2_merged_upsample_sse2) EXTN(jsimd_h2v2_merged_upsample_sse2): push ebp mov ebp,esp push ebx ; push ecx ; need not be preserved ; push edx ; need not be preserved push esi push edi mov eax, POINTER [output_width(ebp)] mov edi, JSAMPIMAGE [input_buf(ebp)] mov ecx, JDIMENSION [in_row_group_ctr(ebp)] mov esi, JSAMPARRAY [edi+0*SIZEOF_JSAMPARRAY] mov ebx, JSAMPARRAY [edi+1*SIZEOF_JSAMPARRAY] mov edx, JSAMPARRAY [edi+2*SIZEOF_JSAMPARRAY] mov edi, JSAMPARRAY [output_buf(ebp)] lea esi, [esi+ecx*SIZEOF_JSAMPROW] push edx ; inptr2 push ebx ; inptr1 push esi ; inptr00 mov ebx,esp push edi ; output_buf (outptr0) push ecx ; in_row_group_ctr push ebx ; input_buf push eax ; output_width call near EXTN(jsimd_h2v1_merged_upsample_sse2) add esi, byte SIZEOF_JSAMPROW ; inptr01 add edi, byte SIZEOF_JSAMPROW ; outptr1 mov POINTER [ebx+0*SIZEOF_POINTER], esi mov POINTER [ebx-1*SIZEOF_POINTER], edi call near EXTN(jsimd_h2v1_merged_upsample_sse2) add esp, byte 7*SIZEOF_DWORD pop edi pop esi ; pop edx ; need not be preserved ; pop ecx ; need not be preserved pop ebx pop ebp ret ; For some reason, the OS X linker does not honor the request to align the ; segment unless we do this. align 16
programs/oeis/273/A273387.asm
jmorken/loda
1
101327
<filename>programs/oeis/273/A273387.asm ; A273387: First differences of number of active (ON,black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 659", based on the 5-celled von Neumann neighborhood. ; 4,12,32,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,160,168,176,184,192,200,208,216,224,232,240,248,256,264,272,280,288,296,304,312,320,328,336,344,352,360,368,376,384,392,400,408,416,424,432 mov $1,$0 mov $2,$0 mul $0,2 add $1,$2 lpb $1 mov $1,$0 add $0,1 sub $1,6 lpe mov $1,$0 mul $1,4 add $1,4
libsrc/_DEVELOPMENT/stdio/c/sdcc_ix/ungetc_unlocked_callee.asm
jpoikela/z88dk
640
15073
; int ungetc_unlocked_callee(int c, FILE *stream) SECTION code_clib SECTION code_stdio PUBLIC _ungetc_unlocked_callee, l0_ungetc_unlocked_callee EXTERN asm_ungetc_unlocked _ungetc_unlocked_callee: pop af pop hl pop bc push af l0_ungetc_unlocked_callee: push bc ex (sp),ix call asm_ungetc_unlocked pop ix ret
programs/oeis/132/A132951.asm
karttu/loda
0
83461
<gh_stars>0 ; A132951: Period 6: 1, 3, 1, -1, -3, -1. ; 1,3,1,-1,-3,-1,1,3,1,-1,-3,-1,1,3,1,-1,-3,-1,1,3,1,-1,-3,-1,1,3,1,-1,-3,-1,1,3,1,-1,-3,-1,1,3,1,-1,-3,-1,1,3,1,-1,-3,-1,1,3,1,-1,-3,-1,1,3,1,-1,-3,-1,1,3,1,-1,-3,-1,1,3,1,-1,-3,-1,1,3,1,-1,-3,-1,1,3,1,-1,-3,-1,1,3,1,-1,-3,-1,1,3,1,-1,-3,-1,1,3,1,-1,-3,-1,1,3,1,-1,-3,-1 lpb $0,1 sub $0,6 lpe lpb $0,1 sub $0,1 mod $0,2 sub $0,1 lpe mov $1,$0 mul $1,2 add $1,1
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/kart/risc.lzh/risc/join/Item-p.asm
prismotizm/gigaleak
0
1453
<reponame>prismotizm/gigaleak Name: Item-p.asm Type: file Size: 55566 Last-Modified: '1992-07-30T05:00:32Z' SHA-1: 1D5F1B62D8673DB0AEE1ECF331716ACDFBC3E399 Description: null
MacDefender_Removal.applescript
danijeljw/osx_maintenance_scripts
4
3083
<gh_stars>1-10 tell application "System Events" -- Careful of things we DON'T want to remove... get the name of every login item -- Check for both. if login item "MacProtector" exists then delete login item "MacProtector" display dialog "Removed MacProtector from Login Items." else display dialog "No MacProtector infection found." end if if login item "MacDefender" exists then delete login item "MacDefender" display dialog "Removed MacDefender from Login Items." else display dialog "No MacDefender infection found." end if end tell
HW4/ChristianWebber-HW4-2.asm
vonderborch/CS260
0
5743
<reponame>vonderborch/CS260<filename>HW4/ChristianWebber-HW4-2.asm # test data .data cstr: .asciiz "eve" .text .globl palMAIN, isPalindrome # a test main palMAIN: la $a0, cstr jal isPalindrome li $v0, 10 syscall # main function to call for this task isPalindrome: # save the return address to the stack after opening space for it addi $sp,$sp,-4 sw $ra,0($sp) add $a1, $a0, $zero #setting $a1 to the first character in passed string jal STRLEN # get the length of the inputted string addi $t3, $v0, -1 # subtract 1 from the length of the inputted string (to account for 0 being register "base" not 1) add $t0, $a1, $zero # set $t0 to the first character in the inputted string add $t1, $a1, $t3 # set $t1 to the last character in the inputted string addi $t4, $zero, 1 #set isPalindrome "boolean" to true (1 = true, 0 = false) palLOOP: bge $t0, $t1, palEXIT # if the $t0 and $t1 point to the same character location (or $t0 is # pointing to a higher one than $t1), we have a palindrome! # point $t2 and $t3 to the next characters for their respective parts of the string lb $t2($t0) lb $t3($t1) # if the characters being looked at do not match, this is no palindrome bne $t2, $t3, palBAD # increment character iterators addi $t0, $t0, 1 addi $t1, $t1, -1 # repeat loop j palLOOP palBAD: # set isPalindrome "boolean" to false add $t4, $zero, $zero palEXIT: add $v0, $zero, $t4 # set the return variable to the isPalindrome "boolean" lw $ra,0($sp) # load the return address... addi $sp,$sp,4 # ... and then remove the stack space jr $ra # and jump back to the function that called isPalindrome!
programs/oeis/165/A165983.asm
jmorken/loda
1
19869
; A165983: Period 16: repeat 1,1,1,2,1,1,1,2,1,1,1,4,1,1,1,4. ; 1,1,1,2,1,1,1,2,1,1,1,4,1,1,1,4,1,1,1,2,1,1,1,2,1,1,1,4,1,1,1,4,1,1,1,2,1,1,1,2,1,1,1,4,1,1,1,4,1,1,1,2,1,1,1,2,1,1,1,4,1,1,1,4,1,1,1,2,1,1,1,2,1,1,1,4,1,1,1,4,1,1,1,2,1,1,1,2,1,1,1,4,1,1,1,4,1,1,1,2,1,1,1,2,1 sub $3,$0 sub $3,1 mov $0,$3 mov $1,$3 cal $0,3415 ; a(n) = n' = arithmetic derivative of n: a(0) = a(1) = 0, a(prime) = 1, a(mn) = m*a(n) + n*a(m). sub $1,1 mov $2,$1 mov $1,4 mov $4,$0 dif $4,2 add $4,1 mul $2,$4 add $2,1 gcd $1,$2
book-01/Assembly/asm/core/cpuid/core_cpuid_xgetbv.asm
gfurtadoalmeida/study-assembly-x64
2
167207
.code ; uint32_t Core_CPUID_Xgetbv_(uint32_t * eax, uint32_t ecx, uint32_t * edx) Core_CPUID_Xgetbv_ proc mov r9, rcx ; r9 = uint32_t eax mov rcx, rdx ; rcx = uint32_t ecx xgetbv mov dword ptr [r9], eax ; Save low word result -> uint32_t eax mov dword ptr [r8], edx ; Save high word result -> uint32_t edx ret Core_CPUID_Xgetbv_ endp end
kernel/cpu/syscall.asm
modscleo4/dos
11
244920
<filename>kernel/cpu/syscall.asm global syscall_handler section .text syscall_handler: extern run_syscall extern __syscall_ret cli push byte 1 push byte 0 pusha push ds push es push fs push gs mov ax, 0x10 mov ds, ax mov es, ax mov fs, ax mov gs, ax push esp call run_syscall add esp, 4 mov [__syscall_ret], eax pop gs pop fs pop es pop ds popa add esp, 8 mov eax, [__syscall_ret] iret
Rings/Units/Definition.agda
Smaug123/agdaproofs
4
16006
{-# OPTIONS --safe --warning=error --without-K #-} open import LogicalFormulae open import Setoids.Setoids open import Rings.Definition open import Agda.Primitive using (Level; lzero; lsuc; _⊔_) module Rings.Units.Definition {a b : _} {A : Set a} {S : Setoid {a} {b} A} {_+_ _*_ : A → A → A} (R : Ring S _+_ _*_) where open Setoid S open Ring R Unit : A → Set (a ⊔ b) Unit r = Sg A (λ s → (r * s) ∼ 1R)
notes/FOT/LTC-PCF/Data/Nat/SubtractionRecCombinator.agda
asr/fotc
11
4864
------------------------------------------------------------------------------ -- Subtraction using the rec combinator ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymorphism #-} {-# OPTIONS --without-K #-} module FOT.LTC-PCF.Data.Nat.SubtractionRecCombinator where open import Common.FOL.Relation.Binary.EqReasoning open import LTC-PCF.Base open import LTC-PCF.Base.Properties open import LTC-PCF.Data.Nat.Properties hiding ( ∸-x0 ) open import LTC-PCF.Data.Nat.Rec open import LTC-PCF.Data.Nat.Rec.ConversionRules open import LTC-PCF.Data.Nat.Type open import LTC-PCF.Data.Nat.UnaryNumbers -- We add 3 to the fixities of the Agda standard library 0.8.1 (see -- Data/Nat.agda). infixl 9 _∸_ ------------------------------------------------------------------------------ -- Subtraction _∸_ : D → D → D m ∸ n = rec n m (lam (λ _ → lam pred₁)) ------------------------------------------------------------------------------ -- Conversion rules from the Agda standard library 0.8.1 (see -- Data/Nat.agda). ∸-x0 : ∀ n → n ∸ zero ≡ n ∸-x0 n = rec zero n _ ≡⟨ rec-0 n ⟩ n ∎ ∸-0S : ∀ {n} → N n → zero ∸ succ₁ n ≡ zero ∸-0S nzero = rec [1] zero (lam (λ _ → lam pred₁)) ≡⟨ rec-S zero zero (lam (λ _ → lam pred₁)) ⟩ lam (λ _ → lam pred₁) · zero · (zero ∸ zero) ≡⟨ ·-leftCong (beta (λ _ → lam pred₁) zero) ⟩ lam pred₁ · (zero ∸ zero) ≡⟨ beta pred₁ (zero ∸ zero) ⟩ pred₁ (zero ∸ zero) ≡⟨ predCong (∸-x0 zero) ⟩ pred₁ zero ≡⟨ pred-0 ⟩ zero ∎ ∸-0S (nsucc {n} Nn) = rec (succ₁ (succ₁ n)) zero (lam (λ _ → lam pred₁)) ≡⟨ rec-S (succ₁ n) zero (lam (λ _ → lam pred₁)) ⟩ lam (λ _ → lam pred₁) · (succ₁ n) · (zero ∸ (succ₁ n)) ≡⟨ ·-leftCong (beta (λ _ → lam pred₁) (succ₁ n)) ⟩ lam pred₁ · (zero ∸ (succ₁ n)) ≡⟨ beta pred₁ (zero ∸ (succ₁ n)) ⟩ pred₁ (zero ∸ (succ₁ n)) ≡⟨ predCong (∸-0S Nn) ⟩ pred₁ zero ≡⟨ pred-0 ⟩ zero ∎ ∸-0x : ∀ {n} → N n → zero ∸ n ≡ zero ∸-0x nzero = ∸-x0 zero ∸-0x (nsucc Nn) = ∸-0S Nn ∸-SS : ∀ {m n} → N m → N n → succ₁ m ∸ succ₁ n ≡ m ∸ n ∸-SS {m} _ nzero = rec [1] (succ₁ m) (lam (λ _ → lam pred₁)) ≡⟨ rec-S zero (succ₁ m) (lam (λ _ → lam pred₁)) ⟩ lam (λ _ → lam pred₁) · zero · (succ₁ m ∸ zero) ≡⟨ ·-leftCong (beta (λ _ → lam pred₁) zero) ⟩ lam pred₁ · (succ₁ m ∸ zero) ≡⟨ beta pred₁ (succ₁ m ∸ zero) ⟩ pred₁ (succ₁ m ∸ zero) ≡⟨ predCong (∸-x0 (succ₁ m)) ⟩ pred₁ (succ₁ m) ≡⟨ pred-S m ⟩ m ≡⟨ sym (∸-x0 m) ⟩ m ∸ zero ∎ ∸-SS nzero (nsucc {n} Nn) = rec (succ₁ (succ₁ n)) [1] (lam (λ _ → lam pred₁)) ≡⟨ rec-S (succ₁ n) [1] (lam (λ _ → lam pred₁)) ⟩ lam (λ _ → lam pred₁) · (succ₁ n) · ([1] ∸ succ₁ n) ≡⟨ ·-leftCong (beta (λ _ → lam pred₁) (succ₁ n)) ⟩ lam pred₁ · ([1] ∸ succ₁ n) ≡⟨ beta pred₁ ([1] ∸ succ₁ n) ⟩ pred₁ ([1] ∸ succ₁ n) ≡⟨ predCong (∸-SS nzero Nn) ⟩ pred₁ (zero ∸ n) ≡⟨ predCong (∸-0x Nn) ⟩ pred₁ zero ≡⟨ pred-0 ⟩ zero ≡⟨ sym (∸-0S Nn) ⟩ zero ∸ succ₁ n ∎ ∸-SS (nsucc {m} Nm) (nsucc {n} Nn) = rec (succ₁ (succ₁ n)) (succ₁ (succ₁ m)) (lam (λ _ → lam pred₁)) ≡⟨ rec-S (succ₁ n) (succ₁ (succ₁ m)) (lam (λ _ → lam pred₁)) ⟩ lam (λ _ → lam pred₁) · (succ₁ n) · (succ₁ (succ₁ m) ∸ succ₁ n) ≡⟨ ·-leftCong (beta (λ _ → lam pred₁) (succ₁ n)) ⟩ lam pred₁ · (succ₁ (succ₁ m) ∸ succ₁ n) ≡⟨ beta pred₁ (succ₁ (succ₁ m) ∸ succ₁ n) ⟩ pred₁ (succ₁ (succ₁ m) ∸ succ₁ n) ≡⟨ predCong (∸-SS (nsucc Nm) Nn) ⟩ pred₁ (succ₁ m ∸ n) ≡⟨ sym (beta pred₁ (succ₁ m ∸ n)) ⟩ lam pred₁ · (succ₁ m ∸ n) ≡⟨ ·-leftCong (sym (beta (λ _ → lam pred₁) n)) ⟩ (lam (λ _ → lam pred₁)) · n · (succ₁ m ∸ n) ≡⟨ sym (rec-S n (succ₁ m) (lam (λ _ → lam pred₁))) ⟩ rec (succ₁ n) (succ₁ m) (lam (λ _ → lam pred₁)) ≡⟨ refl ⟩ succ₁ m ∸ succ₁ n ∎ ------------------------------------------------------------------------------ -- Conversion rules from the Agda standard library 0.8.1 (see -- Data/Nat.agda) without totality hypotheses. -- We could not prove this property. -- ∸-0S₁ : ∀ n → zero ∸ succ₁ n ≡ zero -- ∸-0S₁ n = -- rec (succ₁ n) zero (lam (λ _ → lam pred₁)) -- ≡⟨ rec-S n zero (lam (λ _ → lam pred₁)) ⟩ -- lam (λ _ → lam pred₁) · n · (zero ∸ n) -- ≡⟨ ·-leftCong (beta (λ _ → lam pred₁) n) ⟩ -- lam pred₁ · (zero ∸ n) -- ≡⟨ beta pred₁ (zero ∸ n) ⟩ -- pred₁ (zero ∸ n) -- ≡⟨ {!!} ⟩ -- {!!} -- ≡⟨ {!!} ⟩ -- zero ∎ -- We could not prove this property. -- ∸-SS₁ : ∀ m n → succ₁ m ∸ succ₁ n ≡ m ∸ n -- ∸-SS₁ m n = -- rec (succ₁ n) (succ₁ m) (lam (λ _ → lam pred₁)) -- ≡⟨ rec-S n (succ₁ m) (lam (λ _ → lam pred₁)) ⟩ -- lam (λ x → lam pred₁) · n · (succ₁ m ∸ n) -- ≡⟨ ·-leftCong (beta (λ _ → lam pred₁) n) ⟩ -- lam pred₁ · (succ₁ m ∸ n) -- ≡⟨ beta pred₁ (succ₁ m ∸ n) ⟩ -- pred₁ (succ₁ m ∸ n) -- ≡⟨ {!!} ⟩ -- {!!} -- ≡⟨ {!!} ⟩ -- m ∸ n ∎ ------------------------------------------------------------------------------ -- Coq 8.4pl4 conversion rules (.../theories/Init/Peano.v): -- Fixpoint minus (n m:nat) : nat := -- match n, m with -- | O, _ => n -- | S k, O => S k -- | S k, S l => k - l -- end ∸-x0-coq : ∀ n → n ∸ zero ≡ n ∸-x0-coq n = rec zero n _ ≡⟨ rec-0 n ⟩ n ∎ ∸-S0-coq : ∀ n → succ₁ n ∸ zero ≡ succ₁ n ∸-S0-coq n = rec zero (succ₁ n) (lam (λ _ → lam pred₁)) ≡⟨ rec-0 (succ₁ n) ⟩ succ₁ n ∎ -- We could not prove this property. -- ∸-SS-coq : ∀ m n → succ₁ m ∸ succ₁ n ≡ m ∸ n -- ∸-SS-coq m n = -- rec (succ₁ n) (succ₁ m) (lam (λ _ → lam pred₁)) -- ≡⟨ rec-S n (succ₁ m) (lam (λ _ → lam pred₁)) ⟩ -- lam (λ x → lam pred₁) · n · (succ₁ m ∸ n) -- ≡⟨ ·-leftCong (beta (λ _ → lam pred₁) n) ⟩ -- lam pred₁ · (succ₁ m ∸ n) -- ≡⟨ beta pred₁ (succ₁ m ∸ n) ⟩ -- pred₁ (succ₁ m ∸ n) -- ≡⟨ {!!} ⟩ -- {!!} -- ≡⟨ {!!} ⟩ -- m ∸ n ∎ ------------------------------------------------------------------------------ -- Isabelle2014 conversion rules (from src/HOL/Nat.thy) -- primrec minus_nat where -- diff_0 [code]: "m - 0 = (m\<Colon>nat)" -- | diff_Suc: "m - Suc n = (case m - n of 0 => 0 | Suc k => k)" ∸-x0-isabelle : ∀ n → n ∸ zero ≡ n ∸-x0-isabelle n = rec zero n _ ≡⟨ rec-0 n ⟩ n ∎ -- We could not prove this property. -- ∸-xS-isabelle : ∀ m n → m ∸ succ₁ n ≡ -- if (iszero₁ (m ∸ n)) then zero else pred₁ (m ∸ n) -- ∸-xS-isabelle m n = -- rec (succ₁ n) m (lam (λ _ → lam pred₁)) -- ≡⟨ rec-S n m (lam (λ _ → lam pred₁)) ⟩ -- lam (λ x → lam pred₁) · n · (m ∸ n) -- ≡⟨ ·-leftCong (beta (λ _ → lam pred₁) n) ⟩ -- lam pred₁ · (m ∸ n) -- ≡⟨ beta pred₁ (m ∸ n) ⟩ -- pred₁ (m ∸ n) -- ≡⟨ {!!} ⟩ -- if (iszero₁ (m ∸ n)) then zero else pred₁ (m ∸ n) ∎ ------------------------------------------------------------------------------ -- Peter conversion rules -- The analogous situation for subtraction is that given -- rec-0 : ∀ a {f} → rec zero a f ≡ a -- rec-S : ∀ n a f → rec (succ₁ n) a f ≡ f · n · (rec n a f) -- and -- _∸_ : D → D → D -- m ∸ n = rec n m (lam (λ _ → lam pred₁)) -- you get the equations obtained by the special case (instantiate a -- and f according to the def of subtraction)! This has nothing to do -- a priori with the Agda standard library. ∸-x0-peter : ∀ n → n ∸ zero ≡ n ∸-x0-peter n = rec zero n _ ≡⟨ rec-0 n ⟩ n ∎ ∸-xS-peter : ∀ m n → m ∸ succ₁ n ≡ pred₁ (m ∸ n) ∸-xS-peter m n = rec (succ₁ n) m (lam (λ _ → lam pred₁)) ≡⟨ rec-S n m (lam (λ _ → lam pred₁)) ⟩ lam (λ x → lam pred₁) · n · (m ∸ n) ≡⟨ ·-leftCong (beta (λ _ → lam pred₁) n) ⟩ lam pred₁ · (m ∸ n) ≡⟨ beta pred₁ (m ∸ n) ⟩ pred₁ (m ∸ n) ∎
lab4/lab3_2/lr03_2_1.asm
ak-karimzai/asm
0
84240
<filename>lab4/lab3_2/lr03_2_1.asm STK SEGMENT para STACK 'STACK' db 100 dup(0) STK ENDS SD1 SEGMENT para common 'DATA' W dw 3444h SD1 ENDS end
tests/include_simple.asm
clubby789/customasm
1
15650
<gh_stars>1-10 ; ::: cpu.asm #ruledef test { halt => 0x55 } ; ::: code.asm halt halt halt #d8 0xaa, 0x55, 0xaa ; ::: code2.asm #include "code.asm" ; ::: #include "cpu.asm" halt ; = 0x55 ; ::: #include "cpu.asm" #include "code.asm" ; = 0x555555aa55aa ; ::: #include "cpu.asm" #include "code2.asm" ; = 0x555555aa55aa ; ::: #include "code.asm" ; error: code.asm:2: no match ; error: code.asm:3: no match ; error: code.asm:4: no match ; ::: #include "code.asm" #include "code2.asm" ; error: code.asm:2: no match ; error: code.asm:3: no match ; error: code.asm:4: no match ; error: code.asm:2: no match ; error: code.asm:3: no match ; error: code.asm:4: no match ; ::: halt ; error: no match #include "code.asm" halt ; error: no match ; error: code.asm:2: no match ; error: code.asm:3: no match ; error: code.asm:4: no match ; ::: #include "unk.asm" ; error: not found ; ::: #include "/unk.asm" ; error: not found ; failing in GitHub actions: ; ;#include "C:/unk.asm" ; invalid
source/contexts/plain/program-plain_lexical_elements.adb
optikos/oasis
0
21430
-- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Program.Plain_Lexical_Elements is type Lexical_Element_Access is access Lexical_Element; ------------ -- Append -- ------------ not overriding procedure Append (Self : in out Lexical_Element_Vector; Buffer : Program.Source_Buffers.Source_Buffer_Access; Span : Program.Source_Buffers.Span; Kind : Program.Lexical_Elements.Lexical_Element_Kind; Symbol : Program.Symbols.Symbol) is Item : constant Lexical_Element_Access := new Lexical_Element' (Buffer => Buffer, Span => Span, Kind => Kind, Symbol => Symbol); begin Self.Vector.Append (Program.Lexical_Elements.Lexical_Element_Access (Item)); end Append; ------------- -- Element -- ------------- overriding function Element (Self : Lexical_Element_Vector; Index : Positive) return not null Program.Lexical_Elements.Lexical_Element_Access is begin return Self.Vector.Element (Index); end Element; ----------- -- Image -- ----------- overriding function Image (Self : Lexical_Element) return Text is begin return Self.Buffer.Text (Self.Span); end Image; ---------- -- Kind -- ---------- overriding function Kind (Self : Lexical_Element) return Program.Lexical_Elements.Lexical_Element_Kind is begin return Self.Kind; end Kind; ---------------- -- Last_Index -- ---------------- overriding function Last_Index (Self : Lexical_Element_Vector) return Positive is begin return Self.Vector.Last_Index; end Last_Index; ------------ -- Symbol -- ------------ function Symbol (Self : Lexical_Element'Class) return Program.Symbols.Symbol is begin return Self.Symbol; end Symbol; end Program.Plain_Lexical_Elements;
bin/JWASM/Samples/FreeBSD1.asm
Abd-Beltaji/ASMEMU
3
17610
<gh_stars>1-10 ;------------------------------------------------------------------------------ ; ; Hello, world !! for FreeBSD with JWasm's BIN format. ; Written by <NAME>. ; ; > jwasm -q -bin -Fo=FreeBSD1. FreeBSD1.asm ; > chmod 755 FreeBSD1 ; ; How to: ; 1. file elf32.inc must be included. ; 2. Macro 'elf32_header' is to be put before start label '_start'. ; 3. Macro 'elf32_footer' is to be put before last 'end _start'. ; ; Restrictions: ; - It is only one section. ; - Start label is '_start'. ;------------------------------------------------------------------------------ .386 .model flat include elf32.inc .code elf32_header ELF_FreeBSD _start: push sizeof msg push offset msg push 1 ; stdout mov eax, 4 ; sys_write push 0 ; dummy argument int 080h xor eax, eax ; sys_exit int 080h msg db 'Hello World !!', 0ah elf32_footer end _start
src/data/lib/prim/Agda/Builtin/Char.agda
phadej/agda
0
9592
<filename>src/data/lib/prim/Agda/Builtin/Char.agda<gh_stars>0 {-# OPTIONS --without-K --safe --no-sized-types --no-guardedness #-} module Agda.Builtin.Char where open import Agda.Builtin.Nat open import Agda.Builtin.Bool open import Agda.Builtin.Equality postulate Char : Set {-# BUILTIN CHAR Char #-} primitive primIsLower primIsDigit primIsAlpha primIsSpace primIsAscii primIsLatin1 primIsPrint primIsHexDigit : Char → Bool primToUpper primToLower : Char → Char primCharToNat : Char → Nat primNatToChar : Nat → Char primCharEquality : Char → Char → Bool primCharToNatInjective : ∀ a b → primCharToNat a ≡ primCharToNat b → a ≡ b
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_16907_1417.asm
ljhsiun2/medusa
9
178770
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r8 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x1b203, %r10 clflush (%r10) nop and $32014, %rcx mov $0x6162636465666768, %rdx movq %rdx, (%r10) nop and $27312, %r9 lea addresses_A_ht+0x2353, %rsi lea addresses_A_ht+0x9d6b, %rdi sub %r14, %r14 mov $90, %rcx rep movsb nop nop nop nop add $35452, %r14 lea addresses_A_ht+0x3073, %rsi lea addresses_A_ht+0x6e63, %rdi nop and %r9, %r9 mov $102, %rcx rep movsl nop nop inc %r14 lea addresses_D_ht+0xba63, %r10 nop nop nop nop nop and %rdx, %rdx movw $0x6162, (%r10) nop nop nop nop xor $45453, %rdi lea addresses_WC_ht+0x7323, %rsi lea addresses_normal_ht+0x1eae3, %rdi nop add %r8, %r8 mov $80, %rcx rep movsl dec %r14 lea addresses_D_ht+0x923, %r8 nop add $1598, %r10 mov (%r8), %r9 nop nop nop nop cmp $8100, %rsi lea addresses_WT_ht+0x10a63, %rsi nop nop nop nop nop and $41133, %rdi movups (%rsi), %xmm6 vpextrq $1, %xmm6, %r10 nop sub %r10, %r10 lea addresses_D_ht+0x1a763, %r14 nop nop nop nop xor %rdi, %rdi mov $0x6162636465666768, %rsi movq %rsi, (%r14) nop sub %rcx, %rcx lea addresses_A_ht+0x7abd, %rsi lea addresses_normal_ht+0x18863, %rdi nop nop nop nop nop add %rdx, %rdx mov $58, %rcx rep movsl nop nop nop nop xor %rdx, %rdx lea addresses_normal_ht+0x18be7, %rcx nop nop nop nop nop xor $26281, %r8 mov (%rcx), %edi add %rsi, %rsi pop %rsi pop %rdx pop %rdi pop %rcx pop %r9 pop %r8 pop %r14 pop %r10 ret .global s_faulty_load s_faulty_load: push %r12 push %r13 push %r14 push %rax push %rdi push %rdx // Store lea addresses_US+0x462e, %r12 nop nop nop nop sub $38037, %r14 mov $0x5152535455565758, %rax movq %rax, %xmm5 movups %xmm5, (%r12) nop nop xor %r14, %r14 // Faulty Load lea addresses_A+0xa063, %rdi nop xor %rdx, %rdx mov (%rdi), %r14d lea oracles, %r13 and $0xff, %r14 shlq $12, %r14 mov (%r13,%r14,1), %r14 pop %rdx pop %rdi pop %rax pop %r14 pop %r13 pop %r12 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_A', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_US', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_A', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}} {'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 4, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 3, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 2, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 9, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 9, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 4, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 7, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'size': 8, 'AVXalign': True, 'NT': False, 'congruent': 2, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 9, 'same': True}} {'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 8, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 1, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 11, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}} {'00': 16907} 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 */
Lab05/Task04.asm
PrabalChowdhury/CSE-341-MICROPROCESSOR
0
244346
<filename>Lab05/Task04.asm .MODEL SMalL .STACK 100H .DATA X DB "ENTER A HEX DIGIT: $" Y DB "IN DECIMAL IT IS 1$" Z DB "IN DECIMAL IT IS $" P DB "DO YOU WANT TO DO IT AGAIN? :$" Q DB "ILLEGAL CHARACTER, $" R DB "INSERT AGAIN: $" .CODE MAIN PROC MOV AX,@DATA MOV DS,AX SRT: lea dx,X mov ah,9 int 21H mov ah,1 int 21H mov cl,al mov ah,2 mov dl,0DH int 21H mov dl,0ah int 21H cmp cl,41H je AB cmp cl,42H je AB cmp cl,43H je AB cmp cl,44H je AB cmp cl,45H je AB cmp cl,46H je AB cmp cl,30H je AD cmp cl,31H je AD cmp cl,32H je AD cmp cl,33H je AD cmp cl,34H je AD cmp cl,35H je AD cmp cl,36H je AD cmp cl,37H je AD cmp cl,38H je AD cmp cl,39H je AD JMP AC AB: sub cl,11H lea DX, Y mov ah,9 int 21H mov dl, cl mov ah,2 int 21H mov ah,2 mov dl,0DH int 21H mov dl,0ah int 21H lea DX,P mov ah,9 int 21H mov ah,1 int 21H mov cl,al mov ah,2 mov dl,0DH int 21H mov dl,0ah int 21H cmp cl,59H je SRT cmp cl,79H je SRT cmp cl,4EH je EXT cmp cl,6EH je EXT AD: lea DX,Z mov ah,9 int 21H mov dl, cl mov ah,2 int 21H mov ah,2 mov dl,0DH int 21H mov dl,0ah int 21H lea DX,P mov ah,9 int 21H mov ah,1 int 21H mov cl,al mov ah,2 mov dl,0DH int 21H mov dl,0ah int 21H cmp cl,59H je SRT cmp cl,79H je SRT cmp cl,4Eh je EXT cmp cl,6Eh je EXT AC: lea DX,Q mov ah,9 int 21H JMP SRT2 SRT2: lea DX,R mov ah,9 int 21H mov ah,1 int 21H mov cl,al mov ah,2 mov dl,0DH int 21H mov dl,0ah int 21H cmp cl,41H je AB cmp cl,42H je AB cmp cl,43H je AB cmp cl,44H je AB cmp cl,45H je AB cmp cl,46H je AB cmp cl,30H je AD cmp cl,31H je AD cmp cl,32H je AD cmp cl,33H je AD cmp cl,34H je AD cmp cl,35H je AD cmp cl,36H je AD cmp cl,37H je AD cmp cl,38H je AD cmp cl,39H je AD JMP AC EXT: MOV AX,4C00H INT 21H MAIN ENDP END MAIN
oeis/116/A116730.asm
neoneye/loda-programs
11
93254
<reponame>neoneye/loda-programs<filename>oeis/116/A116730.asm ; A116730: Number of permutations of length n which avoid the patterns 321, 1342, 1423. ; Submitted by <NAME> ; 1,2,5,12,25,48,87,152,259,434,719,1182,1933,3150,5121,8312,13477,21836,35363,57252,92671,149982,242715,392762,635545,1028378,1663997,2692452,4356529,7049064,11405679,18454832,29860603,48315530,78176231,126491862,204668197,331160166,535828473,866988752,1402817341,2269806212,3672623675,5942430012,9615053815,15557483958,25172537907,40730022002,65902560049,106632582194,172535142389,279167724732,451702867273,730870592160,1182573459591,1913444051912,3096017511667,5009461563746,8105479075583 sub $3,$0 add $0,1 seq $0,166876 ; a(n) = a(n-1) + Fibonacci(n), a(1)=1983. mov $2,$0 add $2,$3 mov $0,$2 mul $0,2 add $3,$0 mov $0,$3 sub $0,3967
3-mid/impact/source/3d/math/impact-d3-transform_util.ads
charlie5/lace
20
22151
with impact.d3.Scalar; package impact.d3.transform_Util -- -- -- is use Math; ANGULAR_MOTION_THRESHOLD : constant math.Real := 0.5 * impact.d3.Scalar.SIMD_HALF_PI; -- The btConvexSeparatingDistanceUtil can help speed up convex collision detection -- by conservatively updating a cached separating distance/vector instead of re-calculating the closest distance -- type btConvexSeparatingDistanceUtil is tagged private; function to_btConvexSeparatingDistanceUtil (boundingRadiusA, boundingRadiusB : in math.Real) return btConvexSeparatingDistanceUtil; function getConservativeSeparatingDistance (Self : in btConvexSeparatingDistanceUtil) return math.Real; procedure updateSeparatingDistance (Self : in out btConvexSeparatingDistanceUtil; transA, transB : in Transform_3d); procedure initSeparatingDistance (Self : in out btConvexSeparatingDistanceUtil; separatingVector : in math.Vector_3; separatingDistance : in math.Real; transA, transB : in Transform_3d); function btAabbSupport (halfExtents, supportDir : in math.Vector_3) return math.Vector_3; --- Utils related to temporal transforms -- procedure integrateTransform (curTrans : in Transform_3d; linvel, angvel : in math.Vector_3; timeStep : in math.Real; predictedTransform : out Transform_3d); procedure calculateVelocityQuaternion (pos0, pos1 : in math.Vector_3; orn0, orn1 : in Quaternion; timeStep : in math.Real; linvel, angvel : out math.Vector_3); procedure calculateDiffAxisAngleQuaternion (orn0, orn1a : in Quaternion; axis : out math.Vector_3; angle : out math.Real); procedure calculateVelocity (transform0, transform1 : in Transform_3d; timeStep : in math.Real; linvel, angvel : out math.Vector_3); procedure calculateDiffAxisAngle (transform0, transform1 : in Transform_3d; axis : out math.Vector_3; angle : out math.Real); private type btConvexSeparatingDistanceUtil is tagged record m_ornA, m_ornB : Quaternion; m_posA, m_posB : Vector_3; m_separatingNormal : Vector_3; m_boundingRadiusA, m_boundingRadiusB, m_separatingDistance : Real; end record; end impact.d3.transform_Util;
stampaNumeriOrdineDecrescente.asm
edoardottt/Asm_mars_examples
21
6880
.data richiesta: .asciiz "inserire valori (3) \n" vettore: .space 3 primo: .word 0 secondo: .word 0 terzo: .word 0 acapo: .asciiz "\n" .text la $t1,acapo la $t0,richiesta input: li $v0,4 # richiesta inserimento input move $a0,$t0 syscall inserisci: li $v0,5 syscall move $s0,$v0 li $v0,5 syscall move $s1,$v0 li $v0,5 syscall move $s2,$v0 confronta: bge $s0,$s1,seconfronto bge $s1,$s2,terconfronto sw $s2,primo sw $s1,secondo sw $s0,terzo j fine terconfronto: sw $s1,primo bge $s0,$s2,quaconfronto sw $s2,secondo sw $s0,terzo j fine quaconfronto: sw $s0,secondo sw $s2,terzo j fine seconfronto: bge $s0,$s2,s0primo sw $s2,primo sw $s0,secondo sw $s1,terzo j fine s0primo: sw $s0,primo bge $s1,$s2,secondoC sw $s2,secondo sw $s1,terzo j fine secondoC: sw $s1,secondo sw $s2,terzo j fine fine: lw $t3,primo lw $t4,secondo lw $t5,terzo li $v0,1 move $a0,$t3 syscall li $v0,4 move $a0,$t1 syscall li $v0,1 move $a0,$t4 syscall li $v0,4 move $a0,$t1 syscall li $v0,1 move $a0,$t5 syscall li $v0,4 move $a0,$t1 syscall
oeis/245/A245428.asm
neoneye/loda-programs
11
178706
<gh_stars>10-100 ; A245428: Number of nonnegative integers with property that their base 10/3 expansion (see A024658) has n digits. ; Submitted by <NAME> ; 10,30,100,330,1100,3670,12230,40770,135900,453000,1510000,5033330,16777770,55925900,186419660,621398870,2071329570,6904431900,23014773000,76715910000,255719700000,852399000000,2841330000000,9471100000000,31570333333330,105234444444430 mov $3,1 lpb $0 sub $0,$3 add $4,$2 mov $2,$4 add $2,1 div $4,3 add $4,$2 add $4,$2 lpe mov $0,$4 mul $0,10 add $0,10
libsrc/_DEVELOPMENT/adt/p_forward_list_alt/c/sdcc_iy/p_forward_list_alt_prev_callee.asm
jpoikela/z88dk
640
168766
<filename>libsrc/_DEVELOPMENT/adt/p_forward_list_alt/c/sdcc_iy/p_forward_list_alt_prev_callee.asm ; void *p_forward_list_alt_prev_callee(forward_list_alt_t *list, void *item) SECTION code_clib SECTION code_adt_p_forward_list_alt PUBLIC p_forward_list_alt_prev_callee EXTERN p_forward_list_prev_callee defc p_forward_list_alt_prev_callee = p_forward_list_prev_callee
modules/jooby-apitool/src/main/antlr4/org/jooby/internal/apitool/javadoc/JavadocLexer.g4
gcusnieux/jooby
0
4812
<filename>modules/jooby-apitool/src/main/antlr4/org/jooby/internal/apitool/javadoc/JavadocLexer.g4 /* [The "BSD licence"] Copyright (c) 2016 <NAME> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ lexer grammar JavadocLexer; NAME : [a-zA-Z]+ [0-9]* ; NEWLINE : '\n' (SPACE? (STAR {_input.LA(1) != '/'}?)+)? | '\r\n' (SPACE? (STAR {_input.LA(1) != '/'}?)+)? | '\r' (SPACE? (STAR {_input.LA(1) != '/'}?)+)? ; SPACE : (' '|'\t')+ ; TEXT_CONTENT : ~[\n\r\t @*{}/a-zA-Z]+ ; AT : '@' ; STAR : '*' ; SLASH : '/' ; JAVADOC_START : '/**' STAR* ; JAVADOC_END : SPACE? STAR* '*/' ; INLINE_TAG_START : '{@' ; BRACE_OPEN : '{' ; BRACE_CLOSE : '}' ;
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_96.asm
ljhsiun2/medusa
9
15888
<filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_96.asm<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r15 push %r8 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x15d03, %r10 nop nop add %r13, %r13 mov $0x6162636465666768, %r15 movq %r15, (%r10) nop nop nop lfence lea addresses_normal_ht+0xa5d9, %r8 nop nop nop nop nop add $33175, %r11 vmovups (%r8), %ymm6 vextracti128 $0, %ymm6, %xmm6 vpextrq $1, %xmm6, %r10 nop nop nop xor $20455, %r11 lea addresses_D_ht+0x79d9, %rax nop nop nop xor %rbx, %rbx mov (%rax), %r13d nop nop nop cmp %r11, %r11 lea addresses_UC_ht+0xc9d9, %r13 nop nop nop nop xor %r11, %r11 movb (%r13), %r10b add $23319, %r13 lea addresses_UC_ht+0x28d9, %rsi lea addresses_D_ht+0xeffd, %rdi nop nop nop nop cmp $13233, %rax mov $10, %rcx rep movsb inc %r15 lea addresses_WC_ht+0xe235, %r11 nop cmp %rdi, %rdi movb $0x61, (%r11) nop nop cmp $8267, %rsi lea addresses_WC_ht+0xbdd5, %r13 nop add %r11, %r11 movl $0x61626364, (%r13) sub %r8, %r8 lea addresses_UC_ht+0x18c83, %rsi nop sub $36531, %rbx and $0xffffffffffffffc0, %rsi movntdqa (%rsi), %xmm0 vpextrq $1, %xmm0, %rcx nop nop dec %rdi lea addresses_D_ht+0x1b859, %rsi lea addresses_WT_ht+0x16bd9, %rdi clflush (%rdi) nop nop nop nop xor $41466, %r8 mov $1, %rcx rep movsq nop add $13338, %r10 lea addresses_WC_ht+0x10d15, %r11 nop nop nop nop dec %r8 movb (%r11), %bl nop nop nop dec %r11 lea addresses_UC_ht+0xf161, %r15 nop nop nop nop nop xor $65355, %rax mov (%r15), %rdi nop nop nop nop cmp $21121, %rdi lea addresses_A_ht+0x8fb7, %r8 clflush (%r8) nop nop sub $14189, %r15 mov $0x6162636465666768, %rcx movq %rcx, %xmm3 vmovups %ymm3, (%r8) nop nop nop nop nop cmp %rdi, %rdi pop %rsi pop %rdi pop %rcx pop %rbx pop %rax pop %r8 pop %r15 pop %r13 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r11 push %r13 push %r9 push %rcx push %rsi // Faulty Load lea addresses_A+0x39d9, %r13 nop nop nop nop lfence movb (%r13), %r11b lea oracles, %r13 and $0xff, %r11 shlq $12, %r11 mov (%r13,%r11,1), %r11 pop %rsi pop %rcx pop %r9 pop %r13 pop %r11 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_A', 'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 0}} [Faulty Load] {'OP': 'LOAD', 'src': {'same': True, 'type': 'addresses_A', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 0}} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_UC_ht', 'NT': False, 'AVXalign': True, 'size': 8, 'congruent': 1}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_normal_ht', 'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 10}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_D_ht', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 8}} {'OP': 'LOAD', 'src': {'same': True, 'type': 'addresses_UC_ht', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 10}} {'OP': 'REPM', 'src': {'same': False, 'congruent': 7, 'type': 'addresses_UC_ht'}, 'dst': {'same': True, 'congruent': 2, 'type': 'addresses_D_ht'}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WC_ht', 'NT': False, 'AVXalign': True, 'size': 1, 'congruent': 2}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WC_ht', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 2}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_UC_ht', 'NT': True, 'AVXalign': False, 'size': 16, 'congruent': 0}} {'OP': 'REPM', 'src': {'same': False, 'congruent': 4, 'type': 'addresses_D_ht'}, 'dst': {'same': False, 'congruent': 9, 'type': 'addresses_WT_ht'}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WC_ht', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 1}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_UC_ht', 'NT': False, 'AVXalign': True, 'size': 8, 'congruent': 2}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_A_ht', 'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 0}} {'35': 21829} 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 */
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca.log_21829_1517.asm
ljhsiun2/medusa
9
103109
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0xd765, %r13 xor %rsi, %rsi vmovups (%r13), %ymm4 vextracti128 $1, %ymm4, %xmm4 vpextrq $0, %xmm4, %r14 dec %r14 lea addresses_A_ht+0x19fae, %r14 nop nop sub $16940, %rdx movw $0x6162, (%r14) and %rsi, %rsi lea addresses_WT_ht+0x19ad5, %rcx nop nop nop nop cmp $60416, %rbx movb $0x61, (%rcx) nop nop nop add $41265, %rsi lea addresses_WC_ht+0x1158, %rsi lea addresses_A_ht+0x1a2be, %rdi sub %rbx, %rbx mov $81, %rcx rep movsl add %rsi, %rsi lea addresses_normal_ht+0x1bee2, %rsi lea addresses_UC_ht+0x7a2e, %rdi nop nop nop cmp $9101, %r14 mov $31, %rcx rep movsq nop xor %r9, %r9 lea addresses_UC_ht+0x7816, %r13 nop sub $24091, %rdi mov (%r13), %rcx nop add %rbx, %rbx lea addresses_normal_ht+0xbaae, %rsi lea addresses_normal_ht+0x1bcae, %rdi nop nop nop inc %rbx mov $98, %rcx rep movsl nop nop nop nop inc %rdi lea addresses_D_ht+0x1fae, %rdi nop nop nop and $44826, %rbx movl $0x61626364, (%rdi) nop dec %rsi pop %rsi pop %rdx pop %rdi pop %rcx pop %rbx pop %r9 pop %r14 pop %r13 ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %r15 push %r8 push %r9 push %rbx push %rdx // Load lea addresses_normal+0xfd2e, %r9 nop nop nop dec %r12 mov (%r9), %r11d cmp $57420, %r15 // Load lea addresses_normal+0xfae, %r15 and $30191, %rbx vmovups (%r15), %ymm4 vextracti128 $0, %ymm4, %xmm4 vpextrq $0, %xmm4, %r12 nop nop nop xor %rbx, %rbx // Store lea addresses_normal+0x10bae, %rdx nop nop nop nop nop inc %rbx mov $0x5152535455565758, %r12 movq %r12, (%rdx) nop nop nop nop cmp $2816, %r11 // Store lea addresses_US+0x12e7e, %r9 sub %r11, %r11 mov $0x5152535455565758, %r15 movq %r15, %xmm1 movups %xmm1, (%r9) dec %r15 // Faulty Load lea addresses_normal+0x10bae, %r9 nop nop dec %rdx movb (%r9), %bl lea oracles, %r11 and $0xff, %rbx shlq $12, %rbx mov (%r11,%rbx,1), %rbx pop %rdx pop %rbx pop %r9 pop %r8 pop %r15 pop %r12 pop %r11 ret /* <gen_faulty_load> [REF] {'src': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 4, 'NT': False, 'type': 'addresses_normal'}, 'OP': 'LOAD'} {'src': {'congruent': 6, 'AVXalign': False, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_normal'}, 'OP': 'LOAD'} {'src': {'congruent': 8, 'AVXalign': False, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_normal'}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 8, 'NT': False, 'type': 'addresses_normal'}} {'OP': 'STOR', 'dst': {'congruent': 4, 'AVXalign': False, 'same': False, 'size': 16, 'NT': False, 'type': 'addresses_US'}} [Faulty Load] {'src': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 1, 'NT': False, 'type': 'addresses_normal'}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'congruent': 0, 'AVXalign': False, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_D_ht'}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'congruent': 10, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_A_ht'}} {'OP': 'STOR', 'dst': {'congruent': 0, 'AVXalign': False, 'same': False, 'size': 1, 'NT': False, 'type': 'addresses_WT_ht'}} {'src': {'congruent': 0, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'dst': {'congruent': 3, 'same': False, 'type': 'addresses_A_ht'}} {'src': {'congruent': 1, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'dst': {'congruent': 7, 'same': False, 'type': 'addresses_UC_ht'}} {'src': {'congruent': 2, 'AVXalign': False, 'same': True, 'size': 8, 'NT': False, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 6, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'dst': {'congruent': 8, 'same': False, 'type': 'addresses_normal_ht'}} {'OP': 'STOR', 'dst': {'congruent': 10, 'AVXalign': False, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_D_ht'}} {'58': 21829} 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 */
intel52.asm
bencz/IntelAssembler
0
14560
%cpx 100h pushad mov ah,ptext ;introduction text mov dx,intro mov bx,1 int 21h mov bx,cs ;get size mov ds,bx ;prepair mov ax,cs:[2] ;get exact sub ax,bx dec ax cmp ax,5000h ;320K (64 program,64 insts,64 labels,64 data) jae short memgood ;64K direct mov ah,ptext mov dx,memerr int 21h jmp near ending memgood: mov ax,cs mov ds,ax ;make sure.. add ax,1000h mov fs,ax ;create inst add ax,1000h mov es,ax ;create labels add ax,1000h mov gs,ax ;set up data area add ax,1000h mov [direct_segment],ax ;segment for Direct information cmp byte ptr [129],0 ;anything in the line segment? je near proguse2 cmp byte ptr [129],13 ;anything in the line segment? je near proguse2 mov si,files ;prepair output mov bx,130 ;get location start xor cx,cx ;clear jmp short chalk_cheat ;start in the middle chalkboard_0: inc bx ;start (at the next letter) cmp byte ptr [bx]," " ;space? jne short chalkboard_1 mov byte ptr [bx],0 ;set up null (ending) inc bx ;fix, first letter, not null chalk_cheat: mov [si],bx ;save (also middle) dec bx add si,2 ;move up 2 inc cx ;number count chalkboard_1: cmp byte ptr [bx],13 ;ending je short chalkboard_2 ;see if ending jmp short chalkboard_0 ;no? Start chalkboard_2: mov byte ptr [bx],0 ;set up null (ending) cmp cx,2 jb near proguse2 ;see if enough parts cmp cx,3 jb short chalkboard_7 mov bx,files ;prepair for working mov si,[bx+4] ;get start chalkboard_3: cmp byte ptr [si],"M" jne short chalkboard_4 mov byte ptr [fst],2 ;make? chalkboard_4: cmp byte ptr [si],"F" jne short chalkboard_5 mov byte ptr [fst],1 ;use? chalkboard_5: cmp byte ptr [si],"D" jne short chalkboard_5A mov byte ptr [dbg],1 ;debug text (screen)? chalkboard_5A: cmp byte ptr [si],"O" jne short chalkboard_5B mov byte ptr [optimize],1 ;optimize? chalkboard_5B: cmp byte ptr [si],"Q" jne short chalkboard_5C mov byte ptr [optimize],2 ;Quick? mov byte ptr [loopback],3 ;skip out, make smaller loop chalkboard_5C: cmp byte ptr [si],"T" jne short chalkboard_6 mov byte ptr [tmpkeep],1 ;optimize? chalkboard_6: cmp byte ptr [si],0 ;ending? je short chalkboard_7 inc si jmp short chalkboard_3 chalkboard_7: ;enough parts.. start here mov dx,gs ;set up call near getline_clear ;prepairs 'getline' as required (1 segment) mov dx,es ;set up call near getline_clear ;prepairs 'getline' using LABEL segment ;until the includes are complete.. mov ah,open ;paste in for testing, need to add the rest here mov al,readonly ;later on mov dx,Instruction_set int 21h jc short nosets ;check for error, if so, clear push ax mov [file1],ax mov bx,ax ;get file handle push fs ;set up segment pop ds mov ah,read ;read it mov cx,-1 ;full size xor dx,dx ;at 0 int 21h push cs pop ds ;restore segments mov bx,[file1] ;close instruction set mov ah,close ;unneeded now int 21h jmp short issets ;skip past the clearing. ;prepair debug window now.. nosets: mov dx,err4 ;error with set file mov ah,ptext ;print it out int 21h push fs ;set up segment pop ds xor cx,cx ;clear out counter mov ax,cx ;clear information preclear_set:mov si,cx mov ds:[si],al ;clear it loop short preclear_set push cs pop ds ;return DS to proper segment ;check for setfiles now :) mov ax,internal_set_L ;get number (if exsists) cmp ax,0 je short issets mov ah,ptext mov dx,err5 ;tell redirect int 21h mov si,internal_set ;ok, get source xor di,di ;locate destination mov cx,internal_set_L ;put in length internalset_loop:mov al,cs:[si] ;get byte mov fs:[di],al ;write byte inc si inc di ;increase loop short internalset_loop ;set check added here issets: mov bx,fs:[ident_verset] ;skip past date cmp byte ptr fs:[bx+4],Ver_Major;check major ja short issets_vererr cmp byte ptr fs:[bx+5],Ver_Minor;check minor ja short issets_vererr cmp byte ptr fs:[bx+6],Ver_Revision ;check revision ja short issets_vererr jmp short issets_vernoerr issets_vererr:mov ah,ptext ;print on screen mov dx,verseterr ;the error mov bx,1 ;screen? (Making sure) int 21h ;go do it issets_vernoerr: mov dx,debugfile ;file name 'debug' mov ah,create ;create it mov al,writeonly ;write only mov cx,0 ;clear attributes int 21h jnc short debug_txt mov byte ptr [file3],1 ;since error set up screen mov byte ptr [dbg],0 ;will be screened instead debug_txt:mov [file3],ax mov bx,files ;prepair for working ;kill all comments ;kill spaces mov ah,open ;open source file mov dx,[bx] mov al,readonly ;readonly int 21h jnc short beginning1 ;quit if error mov ah,ptext ;tell error mov bx,1 ;to the screen mov dx,err ;the error message int 21h jmp near ending beginning1: mov [file1],ax ;save handle mov ah,create ;open temporary file xor cx,cx mov dx,tempfile1 ;second file int 21h jnc short beginning2 ;quit if error mov ah,ptext ;tell error mov bx,1 mov dx,err3 int 21h call near closefirst jmp near proguse2 beginning2: mov [file2],ax ;save handle ;ok, this is where 'includes' are placed. ;;some bug is here, so for sakes of simpleness, this SHOULD fix it ;pushad beg_inc:mov bx,cs:[file1] ;from read mov dx,gs call near getline ;get 1 line push gs ;set information DATA pop ds ;ok, now the fun parts :) cmp cx,0 ;check end of file je near beg_inc_found ;write it first xor dx,dx ;0 location mov ah,write ;write it out mov bx,cs:[file2] ;output int 21h ;write it ;now check for anything odd :P xor bx,bx ;clear pointer eg_inc_maybe:push bx ;backup start cmp byte [bx],"*" ;check full jne short beg_inc_notfull ;ok, seek out ending of file name mov dx,bx inc dx mov cx,ax ;limit (bytes written :P) beg_inc_full_nsp:cmp byte [bx],13 ;ending check? je short beg_inc_full_sp cmp byte [bx],10 ;ending check je short beg_inc_full_sp inc bx ;onwards loop short beg_inc_full_nsp ;oh boy, a limit :P jmp short beg_inc_notfull ;skip out beg_inc_full_sp:mov byte [bx],0 ;put null pointer on mov ah,open ;open file xor cx,cx ;not sure mov al,readonly ;read it only (DX SET) int 21h jnc short beg_inc_fullnerr ;on error, just skip it mov byte [bx],":" ;put up basic message mov word [bx+1],"Mi" mov word [bx+3],"ss" mov word [bx+5],"in" mov word [bx+7],"g." mov word [bx+9],0A0Dh mov byte [bx+11],"$" mov ah,ptext int 21h ;print message jmp short beg_inc_notfull beg_inc_fullnerr:mov cs:[file4],ax ;write out handle beg_inc_full_read:mov bx,cs:[file4] ;from read mov dx,es call near getline ;get 1 line push es ;set information LABEL pop ds ;for this include cmp cx,0 ;check end of file je short beg_inc_full_done mov ah,write ;ok write to file mov bx,cs:[file2] ;to temp file mov dx,0 ;starting 0 (assumed) int 21h ;assumed data isn't as nice to work with jmp short beg_inc_full_read beg_inc_full_done:mov ah,close ;close include file mov bx,cs:[file4] ;Include handle int 21h ;do it push gs ;return now pop ds beg_inc_notfull:pop bx ;return start ;check other includes.. cmp word [bx],"<I" ;includes part je short beg_inc_found cmp word [bx],"<i" ;other check (lowercase) jne near beg_inc beg_inc_found:cmp byte cs:[includez],1;check if done this before je near beg_inc_next ;if so, had to be through EOF executed, END cmp cx,0 ;check end of file? je short beg_inc_nosave push cx mov ax,PointerCur ;prepair cursor save xor dx,dx mov cx,dx ;clear pointer mov bx,cs:[file1] ;get pointer int 21h ;go get it pop cx ;return count (EOF?) ;DX is low? mov bx,gs:[gleft] ;get buffer size sub bx,gs:[gstat] ;gone through already sub ax,bx ;back up remainder in buffer sbb dx,0 ;minus carry push dx ;preserve pointer push ax ;probably want to clean it out.. mov dx,es call getline_clear ;ok, cleared this mov dx,gs call getline_clear ;cleared that beg_inc_nosave:push cx ;save number (Tells later to resume, or end) ;ok, start at beginning of file again, look only for # and !'s :) mov ax,pointerSof xor cx,cx xor dx,dx ;start at beginning mov bx,cs:[file1] int 21h ;point it mov word cs:[file4],0 ;clear handle, special beg_inc_pt2:mov bx,cs:[file1] ;from read mov dx,gs call near getline ;get 1 line push gs ;set information DATA pop ds cmp cx,0 je near beg_inc_pt2_end ;ok, now for 1 of 2 functions :) xor bx,bx ;clear cmp byte [bx],"#" ;look for include jne short beg_inc_pt2_notinc push cx ;ok, the easy part.. cmp word cs:[file4],0 ;check for open file je short beg_inc_pt2_inc1 mov ah,close ;close this file mov bx,cs:[file4] ;since it's all done int 21h ; :) beg_inc_pt2_inc1:pop cx ;limit, length beg_inc_pt2_inc_nsp:cmp byte [bx],13 ;ending check? je short beg_inc_pt2_inc_sp cmp byte [bx],10 ;ending check je short beg_inc_pt2_inc_sp inc bx ;onwards loop short beg_inc_pt2_inc_nsp ;oh boy, a limit :P jmp short beg_inc_pt2_notinc ;skip out beg_inc_pt2_inc_sp:mov byte [bx],0 ;put null pointer on mov ah,open ;open file xor cx,cx ;not sure mov al,readonly ;read it only (DX SET) mov dx,cx ;put up pointer inc dx ;fix and ready int 21h jnc short beg_inc_pt2_inc_nerr ;on error, just skip it mov byte [bx],":" ;put up basic message mov word [bx+1],"Mi" mov word [bx+3],"ss" mov word [bx+5],"in" mov word [bx+7],"g." mov word [bx+9],0A0Dh mov byte [bx+11],"$" mov ah,ptext int 21h ;print message jmp short beg_inc_pt2_notinc beg_inc_pt2_inc_nerr:mov cs:[file4],ax ;write out handle ;that was easy :) beg_inc_pt2_notinc:cmp byte [bx],"!" ;look for include jne near beg_inc_pt2_notfun ;now the HARD part.. cmp word cs:[file4],0 ;not open je near beg_inc_pt2_notfun ;and skip pushad ;save all, for simpleness ;limit the size of the compare first.. find the first space. ;bx should be 0 still ;cx is set beg_inc_pt2_sp:cmp byte [bx],13 ;find space je short beg_inc_pt2_fsp cmp byte [bx],10 ;find space je short beg_inc_pt2_fsp cmp byte [bx]," " ;find space je short beg_inc_pt2_fsp inc bx loop short beg_inc_pt2_sp jmp short beg_inc_pt2_done ;skip out beg_inc_pt2_fsp:mov si,bx ;save counter mov dx,es call near getline_clear mov ax,pointersof ;start at beginning of file xor cx,cx ;cleared xor dx,dx mov bx,cs:[file4] ;handle of the include file int 21h ;do it xor di,di ;counter, special beg_inc_pt2_inc2:mov bx,cs:[file4] ;from read, label mov dx,es call near getline ;get 1 line inc di ;line counter push es ;set information DATA pop ds cmp cx,0 ;anything in line? je short beg_inc_pt2_donez ;skip out mov cx,si ;set limit xor bx,bx ;clear pointer beg_inc_pt2_inc3:mov al,es:[bx] ;get byte cmp gs:[bx],al ;compare it jne short beg_inc_pt2_inc2 inc bx ;increase check loop short beg_inc_pt2_inc3 ;loop the compare ;if you get this far, it all matched enough. ;we should be on a space.. inc bx ;fix position mov dx,es ;put segment up mov si,bx ;put information in call near getnum ;grab number push ax ;save number beg_inc_pt2_inc4:cmp byte [bx]," " ;find separator je short beg_inc_pt2_inc5 inc bx ;mov pointer jmp short beg_inc_pt2_inc4 ;continue on beg_inc_pt2_inc5:inc bx ;fix from space mov si,bx ;put information in call near getnum ;grab number pop bp ;set number up mov si,ax ;set up number ;ok, bp contains start, si contains finnish beg_inc_pt2_inc6:mov bx,cs:[file4] ;from read, label mov dx,es call near getline ;get 1 line inc di ;line counter push es ;set information DATA pop ds cmp cx,0 ;anything in line? je short beg_inc_pt2_done ;skip out cmp di,bp ;low enough? jb short beg_inc_pt2_inc6 cmp di,si ;find ending ja short beg_inc_pt2_done mov bx,cs:[file2] ;output to temp ;cx is here already xor dx,dx ;pointer mov ah,write ;write it int 21h jmp short beg_inc_pt2_inc6 ;loop till done beg_inc_pt2_donez:mov ah,ptext ;print text push gs pop ds mov byte [bx],":" ;put up basic message mov word [bx+1],"Un" mov word [bx+3],"kn" mov word [bx+5],"ow" mov word [bx+7],"n " mov word [bx+9],"Fu" mov word [bx+11],"nc" mov word [bx+13],"ti" mov word [bx+15],"on" mov word [bx+17],0A0Dh mov byte [bx+19],"$" mov dx,1 ;starting at int 21h ;print beg_inc_pt2_done:popad ;return all.. whatever :P beg_inc_pt2_notfun:jmp near beg_inc_pt2 ;ok, next line beg_inc_pt2_end:pop cx ;see if anything left cmp cx,0 je short beg_inc_next ;ok, skip out ;No? Ok, return to previous spot.. pop dx pop cx ;pull out pointer info mov ax,pointersof ;Start of file mov bx,cs:[file1] ;of temp file int 21h ;and continue where we left off at.. mov byte cs:[includez],1;so we don't put 2 of everything.. jmp near beg_inc ;back to getting lines.. ;at this point, let's move onto the rest of the process (temp to temp) beg_inc_next:push cs ;prepair segments pop ds ;closes both files now call near closeboth ;close both temp files cmp word cs:[file4],0 ;check for open file je short beg_inc_next_file mov ah,close ;close this file mov bx,cs:[file4] ;since it's all done int 21h ; :) beg_inc_next_file:mov ah,open ;open source file mov dx,tempfile1 xor cx,cx mov al,readonly ;readonly int 21h jnc short beg_inc_x1 ;quit if error mov ah,ptext ;tell error mov bx,1 ;to the screen mov dx,err3 ;the error message int 21h jmp near ending beg_inc_x1: mov [file1],ax ;save handle cmp byte [optimize],1 ;check if the loops are to be done? jne short beg_inc_notop mov bx,ax ;and handle mov ax,pointereof;get length xor cx,cx xor dx,dx ;clear pointer int 21h ;ok, has length push ax push dx mov ax,pointersof;start of file mov bx,[file1] xor cx,cx xor dx,dx int 21h ;ok, at beginning again xor eax,eax pop ax ;get high order shl eax,16 ;mov register pop ax ;ok, saved it all xor edx,edx mov ecx,10000 ;10,000 for check (for every loop) div ecx cmp word ax,255 ;override size jb short beg_inc_notop1 mov word ax,255 ;max size set beg_inc_notop1: cmp ax,loopback_minimum ;check for minimum jb short beg_inc_notop ;failed minimum, and stays where it is beg_inc_notop2:mov [loopback],ax ;save number for reloops beg_inc_notop:mov ah,create ;open temporary file xor cx,cx mov dx,tempfile2 ;second file int 21h jnc short beg_inc_x2 ;quit if error mov ah,ptext ;tell error mov bx,1 mov dx,err3 int 21h call near closefirst jmp near proguse2 beg_inc_x2: mov [file2],ax ;save handle ;since ucase only has to be used once, let's do it here.. ;job, open up, capitalize everything (except for in "'s) beginning3: mov bx,cs:[file1] ;from read mov dx,gs call near getline ;get 1 line push gs ;set information DATA pop ds cmp cx,0 je near beginning4 cmp cx,2 jbe short beginning3 ;sift out empty lines ;ok, since i had trouble with this ALREADY it will find empty lines AGAIN xor bx,bx ;prepair (first) mov dx,bx BLANKITY0:cmp byte ptr [bx],10 ;ending check je short BLANKITY1 cmp byte ptr [bx],13 ;skip je short BLANKITY2 cmp byte ptr [bx]," " ;space check je short BLANKITY2 inc dx ;fail count BLANKITY2:inc bx jmp short BLANKITY0 ;ok, skip the number, just go on BLANKITY1:cmp dx,0 je short beginning3 ;line SKIPPED because it's all spaces mov bx,0 ;check first letter cmp byte ptr [bx],"!" je short beginning3 cmp byte ptr [bx],"#" je short beginning3 ;includes delete cmp byte ptr [bx],"*" je short beginning3 cmp byte ptr [bx],59 je short beginning3 ;skip whole lines of comments xor bx,bx ;prepair (first) mov ax,cx mov dx,1 comment1:cmp byte ptr [bx],34 ;check '' jne short comment1_0 neg dx ;reverse comment1_0:cmp dx,1 ;see if in range? jne short comment1_1 ;if not in range, skip cmp byte ptr [bx],59 ;find comment (right side) je short comment2_0 ;if comment, move on comment1_1:inc bx loop short comment1 mov bx,ax ;return cmp byte ptr [bx-2],13 ;is this the ending? jne short comment2_0 dec bx mov byte ptr [bx-1],10 ;take it out comment2_0:dec bx cmp byte ptr [bx],10 ;at end too far? jne short comment2a jmp short comment2_0 comment2a:mov cx,bx ;current location as pointer comment2:cmp byte ptr [bx]," " ;check for space (end) jne short comment3 dec bx loop short comment2 jmp near beginning3 comment3:inc bx mov byte ptr [bx],10 ;save mov ax,bx ;save mov cx,bx ;length prepair xor bx,bx ;beginning comment4:cmp byte ptr [bx]," " ;begginning space remove jne short comment5 inc bx loop short comment4 jmp near beginning3 comment5:mov cx,ax sub cx,bx ;make new size push cx push bx mov dx,1 ucase_start:mov al,[bx] ;get letter cmp al,34 ; check "'s jne short ucase_mid ;if not, move on neg dx ucase_mid:cmp al,9 jne short ucase_mid1;exchange the tabs for spaces mov al," " ucase_mid1:cmp al,13 jne short ucase_mid2;exchange the ending for space mov al," " ucase_mid2:cmp dx,1 ;see if skipped? jne short ucase_end ;if not 1, skip cmp al,"a" ;not in area, and works. jb short ucase_end cmp al,"z" ;check in range ja short ucase_end sub al,32 ;fix mov [bx],al ucase_end: inc bx loop short ucase_start pop dx ;return starting address pop cx ;size to save inc cx ;fix bug mov bx,cs:[file2] ;output temp mov ah,write int 21h ;write new section jmp near beginning3 beginning4:push cs pop ds ;return data ;continue the work here call near closeboth mov ah,open ;open source file mov dx,tempfile2 mov al,readonly int 21h jnc short middle1 ;quit if error mov ah,ptext ;tell error mov bx,1 mov dx,err3 int 21h jmp near ending middle1:mov cs:[file1],ax ;save handle mov bx,files ;prepair for working mov dx,[bx+2] mov ah,create ;open destination file xor cx,cx int 21h jnc short middle2 ;quit if error mov ah,ptext ;tell error mov bx,1 mov dx,err2 int 21h call near closefirst jmp near ending middle2:mov cs:[file2],ax ;save handle xor ax,ax mov word ptr es:[lab],1 ;1 label (auto, cpx) mov word ptr es:[labcpx],ax;clear location of cpx? mov bx,labstart mov word ptr es:[bx],0403h ;save start mov word ptr es:[bx+2],"CP" ;save fist half mov byte ptr es:[bx+4],"X" ;save start mov word ptr es:[bx+5],ax ;save zero mov word ptr es:[bx+7],ax ;save zero cmp byte [fst],1 ;fastfile make jne short middle3 ;skip since it's not real mov bx,files ;prepair for working mov si,[bx] ;grab source file mov cx,120 ;limit checks Makeu_search:cmp byte [si],"." ;look for period je short Makeu_Ext1 cmp byte [si],0 ;look for ending je short Makeu_Ext1 inc si ;ok, add on loop short Makeu_Search jmp short middle3 ;skipping (Unknown) Makeu_Ext1:mov word [si],".f" mov word [si+2],"st" mov byte [si+4],0 mov ah,open ;access fastfile mov dx,[bx] ;first section mov al,readonly ;readonly xor cx,cx ;clear details int 21h jc short middle3 ;skip it all, don't worry push ax mov bx,ax ;set up handle mov ah,read ;read from file mov cx,-1 ;set for max size (who cares if it's enough :P) mov dx,0 ;set location to write to push ds ;preserve push es ;set for writing pop ds ;ready to write int 21h ;let her rip pop ds ;return DS pop bx ;get handle mov ah,close ;close the file int 21h ;all done :) ;oh, as another note.. clear out the LOOPBACK since it's not needed :) mov word cs:[loopback],0;cleared :) jmp near half2_2 ;skip out middle3:mov bx,cs:[file1] ;from read mov dx,gs call near getline ;get 1 line ;in this part, find and save labels.. ;method suggested, move up as needed and save new part in middle (ES?) cmp cx,0 je near half2 mov bx,1 ;prepair base xor di,di ;prepair di mov al,1 ;bytes needed for this cmp byte ptr gs:[di],"^" ;1 byte, byte je short middle3_2 mov al,2 ;bytes needed for this cmp byte ptr gs:[di],"@" ;2 bytes, word je short middle3_2 mov al,4 ;bytes needed for this cmp byte ptr gs:[di],"%" ;4 bytes, doubleword (quad) je short middle3_2 cmp byte ptr gs:[di],"$" ;4 bytes, length je short middle3_2 ;scanner for labels now dec bx middle3_1:cmp byte ptr gs:[di]," " ;instruction? je short middle3 cmp byte ptr gs:[di],10 je short middle3 cmp byte ptr gs:[di],":" ;label? je short middle4 inc di jmp short middle3_1 middle3_2:cmp byte ptr gs:[di]," " ;end of section? je short middle4 cmp byte ptr gs:[di],10 je short middle4 inc di jmp short middle3_2 middle4: sub di,bx ;find length? mov dx,di mov dh,al mov di,bx ;prepair di mov si,labstart mov cx,es:[lab] ;get count labsearch0:mov ax,es:[si] ;get size (determine?) cmp al,dl ;check jb near labadd ;if smaller then text (passed) ja short labsearch2 ;if larger (still to go) push di ;equal, see if another match? push si ;save values push cx push ax xor cx,cx mov cl,dl labsearch0_1:mov al,es:[si+2];get first letter cmp gs:[di],al ;see if different je short labsearch1 pop ax pop cx pop si pop di jmp short labsearch2 labsearch1:inc si inc di loop short labsearch0_1;continue loop pop ax ;bug fix pop cx ;equals, now skip pop si pop di jmp near middle3 labsearch2:add al,ah ;get size mov ah,0 ;fix inc ax inc ax ;header? add si,ax ;prepair loop short labsearch0 ;continue labadd: push di mov di,si ;save location mov ax,dx ;get info add al,ah ;get size mov ah,0 ;fix inc ax inc ax ;header? mov bx,ax ;distance located cmp cx,0 je short labadd2_2 labadd1:mov ax,es:[si] ;get size (determine?) add al,ah ;get size mov ah,0 ;fix inc ax inc ax ;header? add si,ax ;prepair loop short labadd1 ;continue mov bp,si ;backup sub si,di ;find difference mov cx,si mov si,bp labadd2:dec si mov al,es:[si] ;grab letter mov es:[si+bx],al;save a few spaces ahead loop short labadd2 labadd2_2:mov es:[si],dx;save label information pop di ;location of label (0/1?) bug fix? mov cl,dl ;prepair size (cx is 0 already) labadd3:mov al,gs:[di] ;get letter mov es:[si+2],al;save +2 inc si inc di loop short labadd3 mov cl,dh ;prepair size (cx is 0 already) mov al,0 ;prepair labadd4:mov es:[si+2],al;save +2 inc si loop short labadd4 ;clear number to go by inc word ptr es:[lab] ;add another one to it jmp near middle3 half2: ;find and clarify CPX now :) mov si,labstart mov cx,es:[lab] ;get count half2_0:mov ax,es:[si] ;get size (determine?) cmp ax,0403h ;information (CPX) jne short half2_1 cmp word ptr es:[si+2],"CP" jne short half2_1 cmp byte ptr es:[si+4],"X" jne short half2_1 add si,5 ;fix, exact location (4 bytes) mov es:[labcpx],si ;get count sub si,5 jmp short half2_2 ;skip half2_1:add al,ah ;get size mov ah,0 ;fix inc ax inc ax ;header? add si,ax ;prepair loop short half2_0 ;continue half2_2:mov bx,cs:[file1] ;source mov ax,pointersof xor cx,cx mov dx,cx ;clear int 21h half2_3:mov byte [size_ident],0 ;size reset mov bx,cs:[file1] ;from read mov dx,gs call near getline ;get 1 line cmp cx,0 je near half3_1 ;set up a search and replace algorythmn here. cmp byte ptr gs:[0],"<" jne short half2_35 call near specials jmp short half2_3 half2_35:call near replace mov bx,1 ;prepair base xor di,di ;prepair di mov al,1 ;bytes needed for this cmp byte ptr gs:[di],"^" ;1 byte, byte je short half2_5 mov al,2 ;bytes needed for this cmp byte ptr gs:[di],"@" ;2 bytes, word je short half2_5 mov al,4 ;bytes needed for this cmp byte ptr gs:[di],"%" ;4 bytes, doubleword (quad) je short half2_5 cmp byte ptr gs:[di],"$" ;4 bytes, length je short half2_5 cmp byte ptr gs:[di],"-" ;special, unknown je short half2_5 cmp byte ptr gs:[di],"+" ;Special, unknown je short half2_5 ;scanner for labels now dec bx half2_4:cmp byte ptr gs:[di]," " ;instruction? je near half3_2more ;considered an instruction cmp byte ptr gs:[di],10 jne near half2_4x ;identify here xor di,di jmp near half3 half2_4x:cmp byte ptr gs:[di],":" ;label? je short half2_6 ;save location CPX inc di jmp short half2_4 half2_5:cmp byte ptr gs:[di]," " ;end of section? je short half2_6 cmp byte ptr gs:[di],10 je short half2_6 inc di jmp short half2_5 half2_6:mov bp,di inc bp sub di,bx ;find length? mov dx,di mov dh,al mov di,bx ;prepair di mov si,labstart mov cx,es:[lab] ;get count labs0: mov ax,es:[si] ;get size (determine?) cmp al,dl ;check jb near half3 ;if smaller then text (passed) ja near labs2 ;if larger (still to go) push di ;equal, see if another match? push si ;save values push cx push ax xor cx,cx mov cl,dl labs0_1:mov al,es:[si+2];get first letter cmp gs:[di],al ;see if different je short labs1 pop ax pop cx pop si pop di jmp near labs2 labs1: inc si inc di loop short labs0_1 ;continue loop pop ax pop cx ;equals, now skip pop si pop di ;get to number (if one?) determine if number needed? $(current lastused-CPX) ;no bugs, continue here.. cmp di,1 ;label? je short labs_x0 mov bx,dx mov bh,0 ;set up add inc bx inc bx ;pointer fix add bx,si ;prepair mov eax,[thecpx] ;grab number mov es:[bx],eax ;save label locator mov [cpxstart],eax ;$ mov di,bp jmp near half3 ;identify section labs_x0:cmp byte ptr gs:[0],"$" ;see if length jne short labs_x1 mov eax,[thecpx] ;get current location sub eax,[cpxstart] ;get start, and difference jmp short auto_bx ;skipper (on to prepair) labs_x1:xchg si,bp ;prepair read push dx mov dx,gs call near getnum ;get number (eax) pop dx xchg si,bp ;return auto_bx:push dx mov dh,0 ;get location inc dx inc dx add si,dx ;set up pop dx cmp byte ptr gs:[0],"-" ;remove checks jne short not_Subtraction cmp dh,1 jne short subtract_1 sub es:[si],al subtract_1:cmp dh,2 jne short subtract_2 sub es:[si],ax subtract_2:cmp dh,4 jne short subtract_3 sub es:[si],eax subtract_3:cmp es:[labcpx],si jne near half2_3;little check (makes an easy skip) sub [thecpx],eax;save new CPX info jmp near half2_3;now let's go again not_subtraction:cmp byte ptr gs:[0],"+" ;remove checks jne short not_Addition cmp dh,1 jne short addition_1 add es:[si],al addition_1:cmp dh,2 jne short addition_2 add es:[si],ax addition_2:cmp dh,4 jne short addition_3 add es:[si],eax addition_3:cmp es:[labcpx],si jne near half2_3;little check (makes an easy skip) add [thecpx],eax;save new CPX info jmp near half2_3;now let's go again not_addition:cmp dh,1 jne short not1 mov es:[si],al ;save number not1: cmp dh,2 jne short not2 mov es:[si],ax ;save number not2: cmp dh,4 jne short not4 mov es:[si],eax ;save number not4: cmp es:[labcpx],si jne near half2_3;little check (makes an easy skip) mov [thecpx],eax;save new CPX info jmp near half2_3;now let's go again labs2: add al,ah ;get size mov ah,0 ;fix inc ax inc ax ;header? add si,ax ;prepair loop near labs0 ;continue (a cheat. i will fix later) half3_2more:xor di,di half3: cmp byte ptr cs:[loopback],0 jne short still_loopback pusha ;the debugger set mov si,di half3_debug0:cmp byte ptr gs:[di],10 je short half3_debug1 inc di jmp short half3_debug0 half3_debug1:sub di,si ;get length cmp di,0 je short still_loopbacks1;skip, for labels only? call near debug_thecpx ;get number location mov cx,8 sub cx,[debugcpx_needed];prepair true size? mov bx,[file3] ;debug mov dx,debugcpx add dx,cx ;size fix? (debugcpx-needed) mov cx,[debugcpx_needed];fix sizers inc cx ;size fix2 (for print) mov ah,write int 21h cmp byte ptr cs:[dbg],1 ;screen? jne short half3_dbg_debug1 mov cx,8 sub cx,[debugcpx_needed];prepair true size? mov bx,1 ;screen mov dx,debugcpx add dx,cx ;size fix? (debugcpx-needed) mov cx,[debugcpx_needed];fix sizers inc cx ;size fix2 (for print) mov ah,write int 21h half3_dbg_debug1:mov cx,di ;set length half_3_rmsp:cmp byte gs:[si]," ";see if byte jne short half3_dbg_removespaces inc si loop short half_3_rmsp half3_dbg_removespaces:mov di,cx ;set length mov dx,si ;set data mov bx,[file3] ;set 'debug' mov ah,write push gs ;set print pop ds int 21h ;print cmp byte ptr cs:[dbg],1 ;debug? jne short still_loopbacks mov cx,di ;set length mov dx,si ;set data mov bx,1 ;set 'screen' mov ah,write int 21h ;print still_loopbacks:push cs ;return pop ds still_loopbacks1:popa still_loopback:call near identify ;identify the instruction xor ecx,ecx mov cl,[size_ident] mov eax,[thecpx] ;get size add eax,ecx ;add on mov cx,[direct_size_ident] ;direct size, if any add eax,ecx ;add on mov [thecpx],eax ;save new value mov bx,es:[labcpx] mov es:[bx],eax ;save cpx info cmp byte ptr cs:[loopback],0 ;write error comment jne short still_loopback1 cmp byte gs:[di],10 ;at end? je short still_loopback1 ;skip out, it's a label pusha mov ax,err_ident_L xor cx,cx mov dx,cx ;clear paths mov cl,[err_ident] mul cx ;multiply add ax,err0_ident ;prepair mov dx,ax mov si,dx ;location, find lenths still_loopback_0:cmp byte ptr [si],10 ;check length je short still_loopback_1 inc si jmp short still_loopback_0 still_loopback_1:mov cx,si ;prepair and do size sub cx,dx inc cx ;needed????!?!?!?!? mov ah,write mov bx,[file3] ;for 'debug' int 21h cmp byte ptr [dbg],1 ;see if debug to screen? jne short still_loopback0 mov ax,err_ident_L xor cx,cx mov dx,cx ;clear paths mov cl,[err_ident] mul cx ;multiply add ax,err0_ident ;prepair mov dx,ax mov ah,ptext mov bx,1 ;screen int 21h still_loopback0:popa still_loopback1:cmp byte ptr cs:[loopback],0 ;save info jne short still_loopback2 cmp byte [direct_on_ident],1 ;see if direct (special) jne short still_notdirect ;direct_size_ident pusha mov cx,[direct_size_ident] mov bx,[file2] ;output mov ah,write ;write it mov dx,[direct_segment] mov ds,dx ;set up data xor dx,dx ;beginning start int 21h mov dx,cs mov ds,dx ;return regular data popa jmp short still_loopback2 still_notdirect:pusha mov dx,real_ident ;prepair write xor ax,ax ;clear mov al,[start_ident] ;get start sub dx,ax ;prepair mov al,[size_ident] ;get size mov cx,ax mov bx,[file2] ;output mov ah,write ;write it int 21h popa still_loopback2:jmp near half2_3 ;continue half loop half3_1:cmp byte ptr cs:[loopback],0 je short half3_2 dec word cs:[loopback] ;decrease one (next) ;wait a sec, clear out CPX (override here, special :) ) xor eax,eax ;clear number (0) mov cs:[thecpx],eax ;CPX cleared jmp near half2_2 ;continue at start half3_2:call near closeboth ;ok, write FAST FILE if needed (M) cmp byte [fst],2 ;Ok, check for make.. (1) jne short half3_3 mov bx,files ;prepair for working mov si,[bx] ;grab source file mov cx,120 ;limit checks Make_search:cmp byte [si],"." ;look for period je short Make_Ext1 cmp byte [si],0 ;look for ending je short Make_Ext1 inc si ;ok, add on loop short Make_Search jmp short half3_3 ;skipping (Unknown) Make_Ext1:mov word [si],".f" mov word [si+2],"st" mov byte [si+4],0 mov ah,create ;open source file mov dx,[bx] mov al,writeonly ;readonly xor cx,cx ;clear details int 21h jnc short Make_Cfile ;skip if error mov ah,ptext ;print to screen mov dx,fsterr ;error text int 21h jmp short half3_3 ;skip to end Make_Cfile:push ax ;preserve handle mov bx,ax ;mov handle to proper section ;mini function meant to pull size info into CX ;pulled from REPLACE pusha mov si,labstart mov cx,es:[lab] ;get count make_re_1:mov ax,es:[si] ;get size (determine?) add al,ah ;get size mov ah,0 ;fix add ax,2 ;skip header add si,ax ;prepair loop short make_re_1 mov bp,sp ;grab pointer mov [bp+pcx],si ;replace CX with new value popa ;quit mov ah,write ;save data mov dx,0 push es ;labels segment prepair pop ds int 21h ;these will be restored in a second pop bx ;pull out handle mov ah,close ;close file int 21h ;done :) ;Deleting the TEMPS now half3_3:push cs ;ensure right pop ds cmp byte [tmpkeep],1 ;see if keep je short half3_4 ;skip out mov ah,delete ;prepair mov dx,tempfile1 ;set first temp int 21h ;delete mov ah,delete ;prepair mov dx,tempfile2 ;set first temp int 21h ;delete half3_4:jmp near ending ;to the ending closeboth:mov ah,close mov bx,cs:[file2] int 21h closefirst:mov ah,close mov bx,cs:[file1] int 21h ret proguse2:mov ah,ptext ;say program use mov dx,proguse mov bx,1 int 21h ending: mov ah,ptext ;ending text mov dx,exit mov bx,1 int 21h popad ret ;input Dx=data location(on first run, only meant for 1 file's usage) ;output, none getline_clear: pusha push ds mov ds,dx xor si,si ;set up location mov cx,si ;prepair 64K loop mov al,0 ;null getline_clear_1:mov [si],al ;clear (null) inc si loop short getline_clear_1 pop ds popa ;return ret ;input DX=Data location, BX file handle ;output cx, (size) (start at 0) ;the new GETLINE will need a 64K block, and will return a 1024 ;block at a time. (512 if it's set for unicode translate) getline:pusha push ds ;save old DS mov ds,dx ;set up data, alone now xor di,di ;prepair counter (premenant) mov bp,di ;save starting pointer (write) mov si,[gstat] ;get location mov cx,[gleft] ;get mov ax,cx sub ax,si cmp ax,0 jne short getline_1done getline_1start: mov ah,read mov dx,gstuff xor cx,cx dec cx ;make 64K check sub cx,gsize ;get size (manual, slower but still fast) sub cx,4 ;other data (location and size) shr cx,1 shl cx,1 ;make sure it's even (kills the first bit (far right)) int 21h xor cx,cx ;clear? mov [gstat],cx mov [gleft],ax ;new value save getline_1done:cmp ax,0 je short getline_skip mov si,[gstat] ;get location add si,gstuff ;get REAL location mov cx,ax ;get size remaining cmp byte ptr cs:[unicode],1 ;unicode in? je short getline_unicode cmp byte ptr cs:[unicode],2 ;turn unicode? je short getline_turn_unicode ;REGULAR IN getline_2:mov al,[si] ;grab letter mov ds:[bp],al ;save letter inc si inc bp ;letter moving saved inc di ;increase information grabbed cmp al,10 je short getline_2gotit loop short getline_2 jmp short getline_1start;if ran out of numbers, grab more.. getline_2gotit:sub si,gstuff mov [gstat],si ;location jmp short getline_skip ;UNICODE IN getline_unicode:mov ax,[si] ;grab letter mov ds:[bp],ax ;save letter add si,2 add bp,2 add di,2 cmp ax,10 je short getline_2unicode_gotit loop short getline_unicode jmp short getline_1start;if ran out of numbers, grab more.. getline_2unicode_gotit:sub si,gstuff mov [gstat],si ;location jmp short getline_skip ;TURN ASCII TO UNICODE getline_turn_unicode:mov ah,0 getline_turn_unicodex:mov al,[si] ;grab letter mov ds:[bp],ax ;save letter inc si ;increase 1 byte add bp,2;fix new location (saved) add di,2;fix data entered (unicode) cmp al,10 je short getline_2turn_unicode_gotit loop short getline_turn_unicodex jmp near getline_1start;if ran out of numbers, grab more.. getline_2turn_unicode_gotit: sub si,gstuff mov [gstat],si ;location ;jmp short getline_skip ;unneeded getline_skip: pop ds ;return mov bp,sp mov [bp+pcx],di ;save value in stack (cx) popa ;return ret ;exit ;first search over, see if a space or 32 or 10 comes first, ;if 32 first, then do a search from after that, until 10 is come across. ;if a match is found, exhange (move as nessisary) replace:pushad xor di,di replace_s1:cmp byte ptr gs:[di]," " je short replace_start cmp byte ptr gs:[di],10 je short replace_exit inc di jmp short replace_s1 replace_start:inc di cmp byte ptr gs:[di],10 ;ending? je short replace_exit mov si,labstart mov cx,es:[lab] ;get count replace_1:mov ax,es:[si] ;get size (determine?) push di ;equal, see if another match? push si ;save values push cx push ax xor cx,cx mov cl,al replace_2:mov al,es:[si+2];get first letter cmp gs:[di],al ;see if different je short replace_3 pop ax pop cx pop si pop di jmp short replace_4 replace_3:inc si inc di loop short replace_2 ;continue loop jmp short replace_5 ;successful to later section replace_4:add al,ah ;get size mov ah,0 ;fix inc ax inc ax ;header? add si,ax ;prepair loop short replace_1 jmp short replace_start replace_exit:popad ;quit ret replace_5:pop ax pop cx ;equals, now skip pop si pop di mov bx,ax mov bh,0 ;set up add inc bx inc bx ;pointer fix add si,bx xor edx,edx ;clear number cmp ah,1 jne short replace_5_1 mov dl,es:[si] ;get number replace_5_1:cmp ah,2 jne short replace_5_2 mov dx,es:[si] ;get number replace_5_2:cmp ah,4 jne short replace_5_3 mov edx,es:[si] ;get number replace_5_3:mov si,di ;clear region xor cx,cx mov cl,al ;get size to clear replace_6:mov byte ptr gs:[si]," " inc si loop short replace_6 mov bx,ax ;save info xor eax,eax ;clear mov ecx,eax mov bh,cl ;clear (quick) mov si,ax ;clear xchg edx,eax ;at a go inc si ;Ending H on it? mov cx,16 cmp eax,16 ;within decimal range? ja short replace_7_1 mov cx,10 ;change to DECIMAL format dec si ;ending H? replace_7_1:push eax ;save number replace_7_2:cmp eax,0 ;see if anything left je short replace_8 xor dx,dx ;clear number div ecx ;get next part inc si ;add 1 to counter jmp short replace_7_2 replace_8:cmp dl,10 ;see if decimal (or needing an ending type) jnae short replace_8_1 inc si replace_8_1:cmp si,0 jne short replace_8_1_2 inc si ;need at least one replace_8_1_2:cmp si,bx je short replace_9 jb short replace_8_5 ;space too small, make room push si push di push cx ;save divisor mov cx,si ;prepair sub cx,bx ;find difference mov si,di replace_8_2:cmp byte ptr gs:[si],10 ;find ending je short replace_8_3 inc si jmp short replace_8_2 replace_8_3:mov bp,si ;get length count sub bp,di sub bp,bx ;take out already spaced mov di,si ;prepair add di,cx ;move upwards mov cx,bp ;tell loop inc cx replace_8_4:mov al,gs:[si] mov gs:[di],al dec si dec di loop short replace_8_4 pop cx ;restore divisor pop di pop si jmp short replace_9 ;space too big,shrink ;took chunk from too small, find problems and fix them in repeat replace_8_5:push si push di push cx ;save divisor mov cx,si ;prepair sub bx,cx ;find difference (to shrink it with) mov si,di add si,bx ;spaces already replace_8_6:cmp byte ptr gs:[si],10 ;find ending je short replace_8_7 inc si jmp short replace_8_6 replace_8_7:mov bp,si ;get length count sub bp,di sub bp,bx ;remove needed space add di,cx ;prepair mov si,di ;prepair add si,bx mov cx,bp ;tell loop replace_8_8:mov al,gs:[si] mov gs:[di],al inc si inc di loop short replace_8_8 pop cx ;restore divisor pop di pop si replace_9:pop eax ;get number again add di,si dec di ;fix? xor dx,dx cmp cx,16 jne short replace_9_1 mov byte ptr gs:[di],"H" dec di replace_9_1:cmp eax,0 ;precheck, if already 0? je short replace_9_2_1 ;is 0, should get it's number replace_9_2:cmp eax,0 je short replace_10 replace_9_2_1:xor dx,dx div ecx cmp dl,10 jb short replace_9_3 add dl,7 ;little trick replace_9_3:add dl,"0" ;make number mov gs:[di],dl ;failsafe (hex) dec di jmp short replace_9_2 replace_10:cmp dl,"9" jbe short replace_10_1 mov byte ptr gs:[di],"0";failsafe (hex) replace_10_1:popad ;successful ending jmp near replace ;start over :P debug_thecpx: pushad mov si,debugcpx add si,7 ;fix at end mov eax,[thecpx];grab current number mov cx,8 ;size of numbers mov ebx,16 ;prepair divisor debug_thecpx_1: xor edx,edx ;clear remainder div ebx ;divide add dl,"0" cmp dl,"9" ;hex? jbe short debug_thecpx_2 add dl,7 ;make hex debug_thecpx_2:mov cs:[si],dl ;save dec si ;move down loop short debug_thecpx_1 popad ;return ret ;check <?> Information ;first byte only matters ; I = Include ; . = CPU ; O = ORG (CPX) ; 3 = 32 bits ; 1 = 16 bits ; S = SET Number (Binary i hope :P) ; specials: pusha int 3 mov si,1 mov dh,gs:[si] ;get letter cmp dh,"." jne short specials_1 mov dx,gs inc si call near getnum mov di,cpuformula specials_0_1:cmp byte ptr [di],0 je short specials_1 mov cx,[di] mov dl,[di+2] cmp cx,ax je short specials_0_2 add di,3 jmp short specials_0_1 specials_0_2: mov [compverset],dl ;save new information jmp short specials_exit specials_1: cmp dh,"I" jne short specials_2 ;include special.. nop ;ignore, another section earlier takes care of it jmp short specials_exit specials_2: cmp dh,"O" jne short specials_3 specials_2_0: mov dh,gs:[si] ;grab letter cmp dh," " ;find space je short specials_2_1 cmp dh,13 ;ending? je short specials_exit cmp dh,10 ;ending? je short specials_exit cmp dh,">" ;ending? je short specials_exit inc si jmp short specials_2_0 specials_2_1: inc si ;fix to number? mov dx,gs ;segment call near getnum ;get number mov cs:[thecpx],eax ;save new value mov bx,es:[labcpx] mov es:[bx],eax ;written in now. jmp short specials_exit specials_3: cmp dh,"1" jne short specials_4 mov byte cs:[bit32_set],1;make sure it's 16 bit jmp short specials_exit specials_4: cmp dh,"3" jne short specials_5 mov byte cs:[bit32_set],2;make sure it's 32 bit jmp short specials_exit specials_5: cmp dh,"S" jne short specials_6 specials_5_0: mov dh,gs:[si] ;grab letter cmp dh," " ;find space je short specials_5_1 cmp dh,13 ;ending? je short specials_exit cmp dh,10 ;ending? je short specials_exit cmp dh,">" ;ending? je short specials_exit inc si jmp short specials_5_0 specials_5_1: inc si ;fix to number? mov dx,gs ;segment call near getnum ;get number mov cs:[opinclude_set],al;save new data jmp short specials_exit specials_6: ;cmp dh,"I" ;jne short specials_3 specials_exit: popa ret ;for certain parts :P ;INPUT dx:si ;output EAX getnum: pushad push ds mov ds,dx ;prepair data (alone) xor eax,eax mov ecx,eax mov edx,eax getnum_start:push edx xor eax,eax cmp byte ptr [si],0 jne short getnum_extendly inc si ;skips (was an extention) getnum_extendly: cmp byte ptr [si],10 ;ending? je near getnum_done cmp byte ptr [si],13 ;ending? je near getnum_done cmp byte ptr [si],">" ;ending (Specials) je near getnum_done cmp byte ptr [si],"," ;ending? je near getnum_done cmp byte ptr [si],"]" ;ending? je near getnum_done cmp byte ptr [si]," " ;ending? je near getnum_done cmp byte ptr [si],")" ;ending? (direct) je near getnum_done mov bl,1 cmp byte ptr [si],"+" ;accepted types je short getnum_type mov bl,2 cmp byte ptr [si],"-" je short getnum_type mov bl,3 cmp byte ptr [si],"\" ;remainder find je short getnum_type mov bl,4 cmp byte ptr [si],"/" ;round up je short getnum_type mov bl,5 cmp byte ptr [si],"*" je short getnum_type mov bl,1 ;regular number? jmp short getnum_nsign getnum_type:inc si ;move up from sign getnum_nsign:push si ;save location getnum_fend: cmp byte ptr [si],"+" ;locate next parts? je short getnum_next cmp byte ptr [si],"-" je short getnum_next cmp byte ptr [si],"/" je short getnum_next cmp byte ptr [si],"\" je short getnum_next cmp byte ptr [si],"*" je short getnum_next cmp byte ptr [si],")" ;for directs je short getnum_next cmp byte ptr [si],"]" ;for mem je short getnum_next cmp byte ptr [si],10 je short getnum_next cmp byte ptr [si],13 je short getnum_next cmp byte ptr [si],"," je short getnum_next cmp byte ptr [si]," " je short getnum_next cmp byte ptr [si],">" je short getnum_next inc si jmp short getnum_fend getnum_next: dec si mov cl,2 cmp byte ptr [si],"B" ;binary je short getnum_onward mov cl,4 cmp byte ptr [si],"Q" ;quad je short getnum_onward mov cl,6 cmp byte ptr [si],"X" ;heX je short getnum_onward mov cl,8 cmp byte ptr [si],"O" ;octal je short getnum_onward mov cl,16 cmp byte ptr [si],"H" ;Hexidecimal je short getnum_onward mov cl,10 inc si jmp short getnum_onward1 getnum_onward: mov byte ptr [si],0 ;null, special getnum_onward1: mov di,si pop si sub di,si ;find loop to follow cmp di,0 je short getnum_quotesin;multiple signs.. cmp byte [si],34 ;look for quotes je near getnum_quotes cmp byte [si],"0" ;not number?!? jb near getnum_notnumber cmp byte [si],"9" ja near getnum_notnumber cmp word [si],"0X" ;check for hex (other way) jne short getnum_not2hex;no hex mov cl,16 ;become hex inc si inc si dec di dec di getnum_not2hex: mov bh,[si] ;grab letter sub bh,"0" ;get decimal number cmp bh,9 ;is decimal? jbe short getnum_isdec sub bh,7 ;find hex real getnum_isdec: xor edx,edx ;proceed with add in mul ecx mov dl,bh add eax,edx inc si dec di cmp di,0 ;loop, special ja short getnum_not2hex ;next character check getnum_quotesin:pop edx ;get number cmp bl,1 ;add? jne short getnum_not1 add edx,eax getnum_not1: cmp bl,2 ;subtract? jne short getnum_not2 sub edx,eax getnum_not2: cmp bl,3 ;Find Remainder jne short getnum_not3 mov ecx,eax ;get divisor mov eax,edx ;prepair number xor edx,edx ;prepair remainder? div ecx ; mov edx,eax ;done getnum_not3: cmp bl,4 ;Divide (without remainder, round down) jne short getnum_not4 mov ecx,eax ;get divisor mov eax,edx ;prepair number xor edx,edx ;prepair remainder? div ecx mov edx,eax ;done getnum_not4: cmp bl,5 ;multiply jne short getnum_not5 mov ecx,eax ;get multiplier mov eax,edx ;prepair number xor edx,edx ;prepair multiply mul ecx cmp edx,0 je short getnum_not51 ; pop eax ;already popped? xor eax,eax mov byte ptr cs:[err_ident],5 ;number TOO big jmp short getnum_Skipeax getnum_not51: mov edx,eax getnum_not5: jmp near getnum_start ;ok, this is a special rule, sorry.. getnum_quotes: xor cx,cx ;prepair shifter push bx ;save formula (change?) getnum_quotes0: inc si ;move up by one cmp byte [si],34 ;double quotes je short getnum_quotes1 xor ebx,ebx ;prepair mov bl,gs:[si] ;grab letter shl ebx,cl ;move over some bits add eax,ebx ;add on add cl,8 ;prepair next add (good up to 4) jmp short getnum_quotes0 getnum_quotes1: inc si ;fix after quotes pop bx ;return formula jmp short getnum_quotesin getnum_notnumber:pop eax xor eax,eax mov byte ptr cs:[err_ident],4 ;not number jmp short getnum_Skipeax ;getnum_type_err: ; pop eax ; xor eax,eax ; mov byte ptr cs:[err_ident],6 ;no div/mul allowed ; jmp short getnum_Skipeax getnum_done: pop eax getnum_Skipeax: pop ds ;return real data mov bp,sp mov [bp+peax],eax ;carry over popad ret identify: pushad mov si,null_ident mov cx,D_Data_Size ;(whole area) mov al,0 ;null ident_clear: mov [si],al ;clear search half inc si loop short ident_clear cmp byte ptr gs:[di],10 ;if empty line (few) je near ident_NoParErr cmp word ptr gs:[di],200ah ;uncertain je near ident_NoParErr cmp word ptr gs:[di],0a20h ;uncertain until certain je near ident_NoParErr push di ;save instruction information xor cx,cx ;save text size ident_pre: mov si,prefix_data ;types identity ident_pre0: cmp byte ptr gs:[di],10 ;end of text je short ident_pre4 mov cl,[si] ;get text size cmp cx,0 je short ident_pre3 push di ;save location mov ax,[si+1] ;get extended information add si,3 ;locate text mov bx,cx ;save backup? ident_pre1: mov dl,[si] ;get letter cmp gs:[di],dl ;compare jne short ident_pre2 ;continue? inc si inc di ;get other location set loop short ident_pre1 pop di ;get start location mov cx,bx ;set up count ident_pre5: cmp byte gs:[di],"[" ;memory headers je short ident_pre6 ;skip it out cmp byte gs:[di],"," ;comma, information separator je short ident_pre6 ;skip it out (leaving it) mov byte ptr gs:[di]," ";clear out ident_pre6: inc di ;move up one loop short ident_pre5 ;clear area (text) xor bx,bx ;clear mov bl,al add bx,null_ident ;prepair save mov [bx],ah jmp short ident_pre ;jump to next location ident_pre2: pop di ;return base add si,cx ;increase size jmp short ident_pre0 ;continue looping ident_pre3: inc di jmp short ident_pre ident_pre4: pop di ;check for optimize cmp byte cs:[optimize],1 jnae short ident_blk mov byte cs:[dist_ident],0 ;clear distance information ;fix out spaces (all spaces gone, but 1, plus inside "'s ident_blk: cmp byte ptr gs:[di]," " jne short ident_blk0 inc di ;move up one jmp short ident_blk ident_blk0: xor cx,cx ;prepair count (0) mov ch,1 mov si,di ;start location push di ;save start ident_blk1: cmp byte ptr gs:[di],34 ;check for quotes jne short ident_blk2 neg ch ;setting on ident_blk2: cmp ch,1 ;see if quote on je short ident_blk3 ;skip if so jmp short ident_blk4 ;write reguardless ident_blk3: cmp byte ptr gs:[di]," ";check space jne short ident_blk4 ;space? cmp cl,0 ;is space jne short ident_blk5 inc cl ;update space ident_blk4: mov al,gs:[di] ;get byte mov gs:[si],al ;save byte inc si ident_blk5: cmp byte ptr gs:[di],10 ;check end of line je short ident_blk6 ;at end of line inc di ;move up (also space skip) jmp short ident_blk1 ident_blk6: cmp word ptr gs:[si-3],0a20h ;see if it's this? jne short ident_blk7 mov byte ptr gs:[si-3],10 ident_blk7: pop di mov si,di xor cx,cx ident_define: cmp byte ptr gs:[si]," ";check space (at least 1) jne short ident_define1 inc cx ident_define1: cmp byte ptr gs:[si],",";check comma (2) jne short ident_define2 inc cx jmp short ident_define3 ;knowing 2, skip ident_define2: cmp byte ptr gs:[si],10 ;check ending je short ident_define3 inc si jmp short ident_define ;reloop (look until satisfied) ident_define3: cmp byte gs:[di+2]," " ;if qualify in the 2 byte range ;identify if db, dw, dq/dd jne short ident_define6 xor ax,ax ;clear data inc ax ;make 1 cmp word gs:[di],"DB" ;see if byte jne short ident_define611 call near ident_direct jmp short ident_define62;skip ahead past idents ident_define611:inc ax ;make 2 cmp word gs:[di],"DW" ;see if word jne short ident_define612 call near ident_direct jmp short ident_define62;skip ahead past idents ident_define612:inc ax ;make 4 inc ax cmp word gs:[di],"DQ" ;see if doubleword/quad jne short ident_define613 call near ident_direct jmp short ident_define62;skip ahead past idents ident_define613:cmp word gs:[di],"DD" ;see if doubleword/quad jne short ident_define6 call near ident_direct jmp short ident_define62;skip ahead past idents ident_define6: cmp cx,0 jne short ident_define4 call near ident_1 ident_define4: cmp word ptr gs:[si-1],0a20h jne short ident_define41 mov byte ptr gs:[si-1],0ah xor cx,cx ;null empty section call near ident_1 ident_define41: cmp cx,1 jne short ident_define5 call near ident_part call near ident_2 ident_define5: cmp cx,2 jne short ident_define62 call near ident_part call near ident_3 ;moved stuff around ;if there's a size, disable the 9'illegal' one ident_define62: cmp byte cs:[bit32_ident],3 ;is it 64? jne short ident_3_define62a ;if not mov byte cs:[bit32_ident],0 ;it is, now clear ident_3_define62a: cmp byte [err_ident],9 ;see if illegal jne short ident_define63;skip out cmp byte [size_ident],0 ;check size of instruction je short ident_define63 mov byte [err_ident],0 ;no longer illegal (bug somewhere) ident_define63: mov si,real_ident ;location of instruction write mov dx,[prefix_data_32] ;prefix save xor cx,cx mov ch,[size_ident] ;get size mov al,[seg_ident] ;get segment cmp al,0 ;segment override? je short ident_nosegs dec si mov [si],al inc cx ident_nosegs: mov ah,[bit32_set] ;get 32 info mov al,[bit32_ident] ;using 32 registers? cmp al,0 ;if 8 bit, ignore je short ident_no32s cmp al,ah je short ident_no32s ;they are the same? dec si mov [si],dl ;66h? inc cx ident_no32s: mov al,[dist32_ident] ;get distance (32?) cmp al,0 ;Undeclaired? je short ident_nodist32 cmp al,ah je short ident_nodist32 dec si mov [si],dh ;67h? inc cx ident_nodist32: mov al,[rep_ident] ;get Rep info cmp al,0 ;Repeat addon? (higher then 0) je short ident_no_addons dec si mov [si],al inc cx ident_no_addons:cmp byte [opinclude_ident],0 je short ident_noIncludes push cx xor ax,ax ;clear mov ch,al ;clear mov cl,[opinclude_ident] ;grab number mov al,10000000b ;set first bit shr ax,cl ;locate test [opinclude_set],al ;check to see if enabled jz short ident_includes1 mov di,fs:[ident_opinclude] ;grab new location info ident_opincludex_1:mov al,fs:[di] ;get size inc ax ;fix in other data size add di,ax ;new location loop short ident_opincludex_1 ;locate mov cl,fs:[di] ;get include (1 byte?) push cx ;save size sub si,cx ;move by that many bytes inc di ident_opincludex_2:mov al,fs:[di] ;get byte mov [si],al ;write byte inc si inc di loop short ident_opincludex_2 pop ax pop cx add cx,ax ;return and update jmp short ident_noincludes ident_includes1: pop cx ;refused and continue ident_noIncludes:add ch,cl ;prepair mov [size_ident],ch ;save instruction size mov [start_ident],cl ;save location of start cmp ch,16 jbe short ident_NoParErr mov byte ptr [err_ident],3 ;save 'instruction too big' error ident_NoParErr: popad ret ident_1: pusha ;determine length, and then search through library. ;also, save and get location of library fs:(2) mov si,fs:[ident_pt1] push di ;save ident_1_length: cmp byte ptr gs:[di],10 ;see if this is end je short ident_1_length1 inc di ;not end, continue jmp short ident_1_length;look next ident_1_length1:mov dx,di ;get location pop di ;return value sub dx,di ;find real length ;dl size ;dh Comp ident_1_start: mov cx,fs:[si] ;get sizes mov dh,fs:[si+2] ;grab instruction computer version add si,3 cmp cl,0 ;see if there is anything je short ident_1_nomore ;skip it all cmp dl,cl ;see if matches size jne short ident_1_next ;if not skip push di ;save ident_1_goagain:cmp cl,0 ;end of count? je short ident_1_found mov al,gs:[di] ;get letter cmp fs:[si],al ;see if match jne short ident_1_notfound inc si ;move up one inc di ;move up one dec cx ;fix count jmp short ident_1_goagain ident_1_found: pop di cmp [CompVerSet],dh ;check jae short ident_1_compauto ;worked mov byte ptr [err_ident],2 ;put up 'not on model' but work anyway jmp short ident_1_next ident_1_compauto:xchg ch,cl ;get number mov di,real_ident ;prepair location shl cx,4 ;get bit shr cl,4 ;return size? ;any other used stuff, shove in here push cx mov cl,0 ;clear ror cx,2 ;adjust mov [opinclude_ident],ch;save opinclude pop cx and ch,3 ;32bit save mov [bit32_ident],ch ;sends 32bit used? mov [size_ident],cl ;save size mov ch,0 ;clear ident_1_copyinst:mov al,fs:[si] ;get letter mov [di],al ;copy inc si inc di loop short ident_1_copyinst ;copy whole instruction jmp short ident_1_gotit ident_1_notfound:pop di ;return location ident_1_next: and ch,0fh ;grab right half only? add cl,ch ;get remainder (if any) mov ch,0 ;clear add si,cx ;add on jmp short ident_1_start ;continue ident_1_nomore: mov byte ptr [err_ident],1;put up 'not identified' ident_1_gotit: popa ret ident_2: pushad ;determine length, and then search through library. ;also, save and get location of library fs:(2) mov si,fs:[ident_pt2] push di ident_2_start: cmp byte ptr gs:[di],32 ;end of text? je short ident_2_flen inc di jmp short ident_2_start ident_2_flen: mov dx,di pop di ;prepair sub dx,di ;find length xor ax,ax ;hmm ident_2_ftype: push di xor cx,cx ;clear counter mov cl,fs:[si] ;get text size cmp cl,0 je near ident_2_nomore ;enter error code inc si ;prepair cmp dl,cl ;match size? jne short ident_2_nomatch ident_2_fmatch: mov al,gs:[di] ;compare text cmp al,fs:[si] jne short ident_2_nomatch ;if not match, next text inc si inc di loop short ident_2_fmatch jmp short ident_2_match ident_2_nomatch:pop di add si,cx ;find ending of text ;got to skip to next text now mov cl,fs:[si] ;get number of unders inc si ;start here ident_2_nomatch2:add si,3 mov al,fs:[si] ;get size of instruction add si,ax ;save and update inc si loop short ident_2_nomatch2 ;go until end of area jmp short ident_2_ftype ident_2_match: mov cl,fs:[si] ;get unders inc si ident_2_under: xor ax,ax mov al,fs:[si] ;get first info (compare) ;Data 0 (1 section) ;8/16/32/64? (2 bit)?? ;Exact match? (1 bit) ;relation (Regs type) 4 bit ; ;Type (register, memory, number) (bit 2) ; ;If Register ;helps with the encoding. (11 ??? Reg) ;If memory, ;helps with the encoding. (?? INT ???) ;64 bit enabled will expand memory limits ;If number ;(header) (000 = none, 100 unknown?) ;0 = size (byte, word, dword)(direct) ;1 = Distance (short, near, far) (Reletive) ; ;opinclude(7 include types (if enabled, special)) ; ;/beyond ;system familiar (which computer type) ;size of instructions ; 0 00 0 0000b,11 001 000b ; 1, 1, D5 shl ax,1 cmp ah,0 ;Data 0 jne near ident_2_illegal shl ax,2 ;8/16/32/64? mov [null_ident],ah ;save info mov ah,dh ;cleared (i am sure) shl ax,1 shr al,4 ;number (exact match in bh, and relation bl) mov bx,ax ;get number prepaired ;si +1 here on mov al,fs:[si+1] mov ah,dh ;clear shl ax,2 ;TYPE (at least one here..) cmp ah,0 ;say illegal? je near ident_2_illegal cmp [type1_ident],ah ;the kicker? jne near ident_2_nomatch4 mov ah,dh ;clear shl ax,3 ;get number qualify (size/type) ror al,5 ;set up opinclude? mov bp,ax cmp byte ptr [type1_ident],3 ;see if number (related) jne near ident_2_nocheck cmp ah,4 ja short ident_2_dcheck ;number half.. check for at least value, to qualify (that number, or less) cmp byte ptr [dist_ident],0 jne near ident_2_nomatch4 ;a distance value needed? and ah,3 ;save only number part cmp ah,3 ;see if 4 bytes? jne short ident_2_xxcheck2 inc ah ;fix ident_2_xxcheck2:cmp [numtype_ident],ah ;good for number je short ident_2_xxcheck2_exact0;will work? jmp near ident_2_nomatch4 ;didn't pass check ident_2_xxcheck2_exact0:cmp bh,1 ;check for exact jne near ident_2_nocheck;continue original pushad mov ecx,[number_ident] ;get number xor ebx,ebx mov dl,fs:[si+3] ;get size of instruction sub dl,ah ;get real instruction size add si,4 add si,dx ;adjust? xor edx,edx cmp ah,1 jne short ident_2_xxcheck2_exact1 mov dl,fs:[si] ident_2_xxcheck2_exact1:cmp ah,2 jne short ident_2_xxcheck2_exact2 mov dx,fs:[si] ident_2_xxcheck2_exact2:cmp ah,4 jne short ident_2_xxcheck2_exact3 mov edx,fs:[si] ident_2_xxcheck2_exact3:cmp ecx,edx je short ident_2_xxcheck2_exact4 popad jmp near ident_2_nomatch4 ident_2_xxcheck2_exact4:mov [size_ident_e],ah ;extra space to remove popad jmp short ident_2_nocheck ;done here ;base off size, get true location, then determine if it's true or not ;SINCE of no use, it will be saved for later.. if used later.. ;check distance half ident_2_dcheck:and ah,3 ;save only that part cmp ah,3 jne short ident_2_dcheck2 inc ah ;fix ident_2_dcheck2:cmp [dist_ident],ah je short ident_2_nocheck cmp byte [dist_ident],0 ;check if no value present jne near ident_2_nomatch4 ;see if it is worth seeing for more pushad ;push all (easier this way) mov dh,ah ;save data mov eax,[number_ident] ;get number mov ebx,[thecpx] ;grab location sub eax,ebx ;number to save cmp eax,0 ;check for 0 jl short ident_2_dcheck3 add eax,127 ;extream UP, removes the neg? add eax,5 ;equalizer ident_2_dcheck3:sub eax,5 ;equalizer ;add eax,50 ;extream DOWN call near Ident_number_size cmp dl,dh ;see if good jbe short ident_2_jmp_numgood ident_2_dcheck5:popad ;not good, skip out jmp near ident_2_nomatch4 ;out of here ident_2_jmp_numgood:cmp byte cs:[optimize],2 ;see if Quick jne short ident_2_dcheck4 ;nope, quit out cmp dh,1 je short ident_2_dcheck5 ident_2_dcheck4:mov [dist_ident],dh ;write the distance out popad ;get back information ;AT THIS POINT ON, USE FAILURES NOMATCH3 ident_2_nocheck:push bp ;save data info (types distance) cmp byte [type1_ident],1;register? jne short ident_2_noregcheck ;relation check ;not going to save ax for now.. xor ax,ax ;needed? mov al,[reg_ident] shl ax,4 shr al,4 ;separate cmp ah,bl ;relation check jne near ident_2_nomatch3 ;not in the related part, keep searching ;assume all went well? Can't prove otherwise. cmp bh,1 ;check for exact jne short ident_2_noregcheck xor ax,ax mov al,fs:[si+3] ;grab instruction size push si dec ax ;remove exact (register 1 byte) add si,4 ;ajust add si,ax mov al,fs:[si] ;get register compare pop si cmp al,0 je near ident_2_illegalbase ;register isn't put in right mov ah,[reg_ident] cmp al,ah je short ident_2_regcheck_e1 jmp near ident_2_nomatch3 ;not exact, so can't use ident_2_regcheck_e1:mov byte [size_ident_E],1 ;set for register delete ident_2_noregcheck:cmp byte [type1_ident],2 jne short ident_2_nomemcheck ;assuming the information isn't higher then 3 mov ax,bp ;grab data cmp ah,3 ;3=4 jne short ident_2_memch1 inc ah ;fix to 4 ident_2_memch1:cmp byte [null_ident],3 ;see if 64 jne short ident_2_memch2 shl ah,2 ;X4 ident_2_memch2:cmp [numtype_ident],ah ;ok, see if it's in range. ;ok, see if within range of size.. ja near ident_2_nomatch3;skip out, don't work cmp bh,1 ;ok, no matches needed to satisfy jne short ident_2_nomemcheck push bp ;special save mov bp,memdata_ident xor ax,ax mov al,fs:[si+3] ;grab instruction size push si dec ax ;remove exact (memory (16 assumed)) add si,4 ;ajust add si,ax mov al,fs:[si] ;get register compare pop si cmp cs:[bp+2],al jne near ident_2_nomatch3 pop bp ident_2_nomemcheck:shl bl,4 shl bx,4 ;save information mov bl,fs:[si+2] ;get computer version cmp [CompVerSet],bl jb near ident_2_nomatch3 mov dl,fs:[si+3] ;get size of instruction cmp dl,0 je near ident_2_illegalbase2 ;instruction size fails (0) error ident_2_notExact:shr bx,4 ;put information back shr bl,4 mov ah,dh ;since it seems to match, continue shl ax,3 mov [opinclude_ident],ah ;save new includes (if any) ;successful, now add on.. push si ;remove annoying bug add si,4 ;already have size mov di,real_ident ;prepair write mov cx,dx ;prepair loop sub cl,[size_ident_e] ;fix by means of exacts? mov [size_ident],cl ;save size ;exact adjustments :P (later) ident_2_saveit:mov al,fs:[si] ;grab mov [di],al ;save inc si inc di loop short ident_2_saveit ;process first letter. pop si ;annoying little bug fixed (mem) ;this pop SI is for a nasty bug in MEM, it skips a whole instruction if ;left alone. Took a while to get this one mov al,[null_ident] ;grab (untouched) type mov [bit32_ident],al ;save info mov ax,bp ;opinclude mov [opinclude_ident],al pop ax ;aquire information cmp byte ptr [type1_ident],2 ;check if memory jne short ident_2_no_override ; cmp ah,3 ;see if 4 bytes? ; jne short ident_2_memcheck ; inc ah ;fix ;ident_2_memcheck:cmp [numtype_ident],ah ;good for number ; jne near ident_2_nomatch4 ;quit ;already checked cmp bh,1 jne short ident_2_no_override ;match out with encoded source mov bp,memdata_ident ;grab required area xor cx,cx ;create size looper mov cl,cs:[bp] ;get data size (1-2) add byte [size_ident],cl;increase size accordingly mov eax,[memnum_ident] ;grab number mov [di],eax ;save number (may be null) ident_2_no_override:cmp bh,1 je near ident_2_gotit ;if exact was used.. ;ok, now for the checks.. ident_2_nochecks2:cmp byte ptr [type1_ident],1 ;register jne near ident_2_1go_on ;build the format.. based on, 11 XXX (unused) ??? mov ax,bp shl ah,3 ;place at location (extra data) mov al,[reg_ident] ;get register and al,7 ;grab the important bits add al,300o ;put in format (300o) add al,ah ;put in extra data add byte [size_ident],1 ;increase size accordingly mov [di],al jmp near ident_2_gotit ident_2_1go_on: cmp byte ptr [type1_ident],2 ;memory jne near ident_2_2go_on ;build the format.. based on, ?? MEM enc mov ax,bp ;backup, and will use AH a little mov bp,memdata_ident ;grab required area xor cx,cx ;create size looper push si mov si,cx ;get cleared side counter mov cl,cs:[bp] ;get data size (1-2) add byte [size_ident],cl;increase size accordingly add si,2 ;prepair first pass mov al,cs:[bp+si] ;get mem byte shl bl,3 ;fix encoding add al,bl ;add encoding jmp short ident_2_mm2 ;skip for first run ident_2_mm: mov al,cs:[bp+si] ;grab mem byte ident_2_mm2: mov [di],al ;save byte (First pass) inc di ;update inc si loop short ident_2_mm mov cl,cs:[bp+1] ;grab size to save (of side data) add byte [size_ident],cl;increase size accordingly mov eax,[memnum_ident] ;grab number mov [di],eax ;save number (may be null) ; xor ax,ax ; mov al,fs:[si-4] ; and al,7 ;grab the 3 bits we need ;they are already SET ; call near memory_part ;identify and set memory pop si ;resume previous number ident_2_2go_on: cmp byte ptr [type1_ident],3 ;numbers done jne near ident_2_3go_on cmp ah,4 jae short ident_2_distance cmp ah,3 jne short ident_2_sze inc ah ident_2_sze: add [size_ident],ah ;increase size accordingly mov eax,[number_ident] ;get number jmp near ident_2_numgood;SHOULD save it ident_2_distance:and ah,3 ;sift out cmp ah,3 ;is it 4 bytes? jne short ident_2_dst inc ah ident_2_dst: xor ecx,ecx add [size_ident],ah ;increase size accordingly mov cl,[size_ident] ;grab size mov eax,[number_ident] ;get number mov ebx,[thecpx] ;grab location add ebx,ecx ;real location to start. sub eax,ebx ;number to save mov dh,[dist_ident] ;get the specified type (followed) call near Ident_number_size cmp dl,dh je short ident_2_numgood jb short ident_2_canBsmaller xor eax,eax mov byte ptr [err_ident],7 ;Don't work jmp short ident_2_numgood ident_2_canBsmaller:mov byte ptr [err_ident],8 ;can be short? ident_2_numgood:mov [di],eax ;save in right location ident_2_3go_on: jmp short ident_2_gotit ;--- ident_2_nomatch3:pop bp ident_2_nomatch4:add si,3 mov ah,0 ;clear (anyway) mov al,fs:[si] ;get size of instruction cmp al,0 je short ident_2_illegalbase ;check for size problems cmp al,64 jae short ident_2_illegalbase ;continue checking add si,ax ;save and update inc si loop near ident_2_under pop di jmp near ident_2_ftype ident_2_illegal:mov byte ptr [err_ident],9 ;put up 'Illegal' jmp short ident_2_gotit ident_2_illegalbase2:pop ax ;fix sp location ident_2_illegalbase:mov byte ptr [err_ident],10 ;put up 'Illegal/database' jmp short ident_2_gotit ident_2_nomore: mov byte ptr [err_ident],1;put up 'not identified' ident_2_gotit: pop di popad ret ident_3: pushad ;determine length, and then search through library. ;also, save and get location of library fs:(2) mov si,fs:[ident_pt3] push di ident_3_start: cmp byte ptr gs:[di],32 ;end of text? je short ident_3_flen inc di jmp short ident_3_start ident_3_flen: mov dx,di pop di ;prepair sub dx,di ;find length xor ax,ax ;hmm ident_3_ftype: push di xor cx,cx ;clear counter mov cl,fs:[si] ;get text size cmp cl,0 je near ident_3_nomore ;enter error code inc si ;prepair cmp dl,cl ;match size? jne short ident_3_nomatch ident_3_fmatch: mov al,gs:[di] ;compare text cmp al,fs:[si] jne short ident_3_nomatch ;if not match, next text inc si inc di loop short ident_3_fmatch jmp short ident_3_match ident_3_nomatch:pop di add si,cx ;find ending of text ;got to skip to next text now mov cl,fs:[si] ;get number of unders inc si ;start here ident_3_nomatch2:add si,4 mov al,fs:[si] ;get size of instruction add si,ax ;save and update inc si loop short ident_3_nomatch2 ;go until end of area jmp short ident_3_ftype ident_3_match: mov cl,fs:[si] ;get unders inc si ident_3_under: xor ax,ax mov al,fs:[si] ;get first info (compare) ;Instruction 2 data? ; ;(Exacts on TYPE, size not included with that part.) ;(if register, 1 byte compare, or byte,word,doubleword) ; ;Data (1 bit)1 (2 sections) ;8/16/32/64? (2 bit) ;exact first? (1 bit) ;exact second? (1 bit) ;opinclude (3 bits) ;relation1 (4 bits) ;relation2 (4 bits) ;Type1 (2 bits)(register, memory, number) ;Type2 (2 bits)(register, memory, number) ;number size (2 bits)(byte, word, dword)(direct) ;overrides (2 bits) ; ON (Exact second=1) and (type1=1 and type2=1) then ; numbersize+unused = Extra Opcode encoding info ; ON (Exact Second=1) And (Type1=2 and type2=3) then ; RELATION1 = Extra Opcode ; ON (Exact first=1) And (Type1=1 and type2=3) then ; override is size (special) ; Both stored in BP (Back side) ;override info (As neccisary) ;will be more then 0 on these following circomstances ;WITHOUT AN EXACT!! ; REG REG (reverse these values) ; REG IMM (real size to save 1-4) ; REG MEM (UNUSED) ; MEM REG (UNUSED) ; MEM IMM (real size to save 1-4) ;/beyond ;system familiar (which computer type) ;size of instructions shl ax,1 cmp ah,1 ;Data 1 jne near ident_3_illegal mov ah,dh ;clear shl ax,2 ;8/16/32/64? mov [null_ident],ah ;save info mov ah,dh ;cleared (i am sure) push ax ;save for a moment shl ax,2 mov al,0 shr ax,1 ;prepair the exacts shr al,7 ;exacts bswap eax ;extra save space pop ax ;ok, opinclude shl ax,2 mov ah,dh shl ax,3 ;ok, opcode here.. mov bp,ax ;si +1 here on mov al,fs:[si+1] mov ah,dh ;clear shl ax,4 ;TYPE (at least one here..) shr al,4 mov bx,ax ;save relations mov al,fs:[si+2] mov ah,dh ;clear shl ax,2 ;TYPE (at least one here..) cmp ah,0 ;say illegal? je near ident_3_illegal cmp [type1_ident],ah ;the kicker? jne near ident_3_nomatch4 mov ah,dh ;clear shl ax,2 ;TYPE (at least one here..) cmp ah,0 ;say illegal? (2) je near ident_3_illegal cmp [type2_ident],ah ;the kicker? jne near ident_3_nomatch4 mov ah,dh ;clear ;addin.. For when type1 and type2, registers.. exacts? (RCL RCR Ect) cmp word [type1_ident],0101h ;check for both registers first jne short ident_3_Not111 bswap eax ;grab exacts (for a second) cmp ax,0 ;any exacts? je short ident_3_111_no ;ok, can grab the info now bswap eax ;return shl ax,4 ;grab last 3 bits (3 are encoded) bswap ebp mov bp,ax ;save bswap ebp ;return xor ax,ax ;no need to keep a value jmp short ident_3_not111 ;close out ident_3_111_no:bswap eax ;reverse ;addin.. For when type1 is Mem, Type 2 number, and Exact 2. (RCL RCR Ect) ident_3_not111:cmp word [type1_ident],0302h;check for both registers first jne short ident_3_Not231 bswap eax ;grab exacts (for a second) cmp ax,0 ;any exacts? je short ident_3_231_no ;ok, can grab the info now push bx ;save mov bl,0 ;clear upper xchg bh,bl ;switch correctly bswap ebp mov bp,bx ;save bswap ebp ;return pop bx ;return to normal ident_3_231_no:bswap eax ;reverse ident_3_not231:shl ax,2 ;get number qualify (size/type) ;overrides added here push ax ;saved for dad xchg al,ah ;put in order mov ah,0 ;clear cmp al,3 ;see if should be 4 jne short ident_3_not3264A ;if not inc ax ;fix size to 4 (32) ident_3_not3264A: cmp byte [null_ident],3;64 bit? jne short ident_3_not3264B shl ax,2 ;X4 (1 is 32, 2 is 64, 3 is 128) ident_3_not3264B: add bp,ax ;make bp type information pop ax ;start overrides mov ah,0 ;clear shl ax,2 ;get override cmp ah,3 ;check for special override jne short ident_3_notveryspec ;don't bother cmp word [type1_ident],0102h ;reg and mem check je short ident_3_veryspec cmp word [type1_ident],0201h ;reg and mem check jne short ident_3_notveryspec ;ok, forced check. ident_3_veryspec: mov ax,bp ;get data (in al) cmp [numtype_ident],al ;see if inside range ja near ident_3_nomatch4 ;ok, too big? Small enough? xor ax,ax ;clear unneeded ident_3_notveryspec: bswap EDI ;save overrides (special) xor di,di xchg al,ah ;put in order (lower) mov di,ax bswap EDI ;(put back in order) mov ax,bp ;make ax that as well cmp byte ptr [type1_ident],3 je near ident_3_illegalbase ;first section CAN'T be a number cmp byte ptr [type2_ident],1 ;check for register (2) jne short ident_3_noregch mov ah,dh push si mov si,reg_ident mov al,[si+1] ;get information pop si shl ax,4 ;split relation shr al,4 ;split exact cmp ah,bl jne near ident_3_nomatch4 ident_3_noregch:cmp byte ptr [type2_ident],2 ;check memory (2) jne short ident_3_nomemch cmp byte ptr [type1_ident],2 je near ident_3_illegalbase nop ;nothing really to check.. ident_3_nomemch:cmp byte ptr [type1_ident],1 ;check register (1) jne short ident_3_noregch1 mov ah,dh push si mov si,reg_ident mov al,[si] ;get information (Reg 2) pop si shl ax,4 ;split relation shr al,4 ;split exact cmp ah,bh jne near ident_3_nomatch4 ident_3_noregch1:cmp byte ptr [type1_ident],2 ;check memory (2) jne short ident_3_nomemch1 nop ;there's nothing to check ident_3_nomemch1:cmp byte ptr [type2_ident],3 ;check number size (3) jne short ident_3_nocheck mov ax,bp ;prepair cmp al,0 je near ident_3_illegal ;ok from here we will see if it fits in the byte sizes cmp [numtype_ident],al ;compare with number stored (size) jbe short ident_3_nocheck mov byte ptr [err_ident],9 ;put up 'Number Too big' jmp near ident_3_nomatch4 ident_3_nocheck:mov ax,bp ;get includes mov [opinclude_ident],ah ;save new includes (if any) push bx ;save vital information bswap ebx pop bx mov bh,bl ;save alternate data (bl) mov bl,fs:[si+3] ;get computer version cmp [CompVerSet],bl jb near ident_3_nomatch4 mov dl,fs:[si+4] ;get size of instruction cmp dl,0 je near ident_3_illegalbase ;instruction size fails (0) error ident_3_notExact:mov [size_ident],dl ;save size (needed) mov ah,dh ;since it seems to match, continue shl ax,3 ;successful, now add on.. ;AX and CX and BX are free ;moved information, SI becomes SI+5 BSWAP EAX ;AH is 1, AL is 2 push si push di push ax push cx xor cx,cx ;Clear out for checks cmp ah,1 jne short ident_3_e_1 cmp byte [type1_ident],1 ;register check, 1 byte jne short ident_3_e_1a inc cx ;Add 1 ;memory checks are invalid, for either part.. ident_3_e_1a:cmp byte [type1_ident],2 ;check for mem (illegal) jne short ident_3_e_1 ;found bug :) ; pop cx ; pop ax ; pop di ; pop si ; jmp near ident_3_illegal ; inc cx ;can only be 1 choice ident_3_e_1:cmp al,1 jne short ident_3_e_2 ;check for exact cmp byte [type2_ident],1 ;register check, 1 byte jne short ident_3_e_2a inc cx ;Add 1 ident_3_e_2a:cmp byte [type2_ident],3 ;number check jne short ident_3_e_2b add cl,[numtype_ident] ;add size to the check. ident_3_e_2b:cmp byte [type2_ident],2 ;check mem (illegal) jne short ident_3_e_2 ;found bug :) ; pop cx ; pop ax ; pop di ; pop si ; jmp near ident_3_illegal ; inc cx ;can only be one thing ident_3_e_2:mov ch,[size_ident] ;get size (real one) and add on mov [size_ident_e],cl ;adjust sub ch,cl mov cl,dh ;clear xchg ch,cl ;switch.. add si,cx mov di,reg_ident cmp ah,1 ;ident1 jne short ident_3_e_e1b cmp byte [type1_ident],1 ;check register (1) jne short ident_3_e_e1a mov ah,fs:[si+5] ;ok, get register, and compare cmp [di],ah ;check first one jne near ident_3_nomatch_ex ;special nomatch4 :) inc si ident_3_e_e1a: cmp byte [type1_ident],2 ;check memroy (2) jne short ident_3_e_e1b cmp [memdata_ident],1 jne near ident_3_nomatch_ex ;doesn't work cmp [memdata_ident+2],6 jne near ident_3_nomatch_ex ;doesn't work ; mov byte [memdata_ident],0 ;remove the header ident_3_e_e1b:cmp al,1 ;ident2 jne short ident_3_e_e1c cmp byte [type2_ident],1 ;registers jne short ident_3_e_e2a mov ah,fs:[si+5] ;get register info. cmp [di+1],ah ;bug here.. checks SECOND one jne near ident_3_nomatch_ex ;special nomatch4 :) ident_3_e_e2a:cmp byte [type2_ident],3 ;number check jne short ident_3_e_e1 ;bug found, compared according to the size mov ecx,[number_ident] ;extract number cmp byte [numtype_ident],1 ;byte check je short ident_3_e_e3a cmp byte [numtype_ident],2 ;word check je short ident_3_e_e3b cmp byte [numtype_ident],4 ;quad check je short ident_3_e_e3c pop cx pop ax pop di pop si jmp near ident_3_illegal ;something's wrong ident_3_e_e3a: cmp fs:[si+5],cl ;byte check jne near ident_3_nomatch_ex jmp short ident_3_e_e1 ident_3_e_e3b: cmp fs:[si+5],cx ;word check jne near ident_3_nomatch_ex jmp short ident_3_e_e1 ident_3_e_e3c: cmp fs:[si+5],ecx ;quad check jne near ident_3_nomatch_ex ident_3_e_e1: cmp byte [type2_ident],2 ;check memroy (2) jne short ident_3_e_e1c cmp [memdata_ident],1 jne near ident_3_nomatch_ex ;doesn't work cmp [memdata_ident+2],6 jne near ident_3_nomatch_ex ;doesn't work ; mov byte [memdata_ident],0 ;remove the header ident_3_e_e1c: pop cx pop ax pop di pop si BSWAP EAX ;exact adjustments :P (later) add si,5 ;already have size mov di,real_ident ;prepair write mov cx,dx ;prepair loop sub cl,[size_ident_e] ;fix by means of exacts? mov [size_ident],cl ;save size ;need information here, exacts specifically, now check it out. ident_3_saveit:mov al,fs:[si] ;grab mov [di],al ;save inc si inc di loop short ident_3_saveit ;process first letter. mov al,[null_ident] ;grab (untouched) type mov [bit32_ident],al ;save info mov ax,bp ;opinclude mov [opinclude_ident],al ;disabled until i think it's needed again.. (Is it?) ;check for exacts, and use them accordingly bswap eax ;grab information cmp ax,0 jne near ident_3_final_exacts ident_3_final_11: cmp byte ptr [type1_ident],1 ;reg / reg jne short ident_3_final_12 cmp byte ptr [type2_ident],1 jne short ident_3_final_12 ; 11 Reg1 Reg2 push si mov si,reg_ident mov al,[si] ;get information (Reg 1) shl ax,4 ;split relation shr al,4 ;split exact mov bh,al mov al,[si+1] ;get information (Reg 2) shl ax,4 ;split relation shr al,4 ;split exact mov bl,al pop si ;override added here ;this override, if higher then 1, will reverse the two data pieces (bl bh) bswap edi ;pull override out of the shadows cmp di,1 jne short ident_3_final_11a xchg bl,bh ;reverse now ident_3_final_11a:bswap edi ;return to normal shl bl,5 ;place at end shl bx,3 ;converse to places add bh,0c0h ;put in format (300o) add byte [size_ident],1 ;increase size accordingly mov [di],bh inc di ;move up bswap edi ;pull override out of the shadows cmp di,2 jne short ident_3_final_11b ;ok, found the information we needed.. add in number bswap edi mov al,[numtype_ident] ;get data add [size_ident],al ;increase size accordingly mov eax,[number_ident] ;get number mov [di],eax ;save in right location jmp short ident_3_final_11c ident_3_final_11b:bswap edi ;return to normal ident_3_final_11c:jmp near ident_3_gotit ident_3_final_12: cmp byte ptr [type1_ident],1 ;reg / mem jne short ident_3_final_21 cmp byte ptr [type2_ident],2 jne short ident_3_final_21 ;build the format.. based on, ?? Reg ??? mov ax,bp ;backup, and will use AH a little mov bp,memdata_ident ;grab required area xor cx,cx ;create size looper push si mov si,reg_ident mov al,[si] ;get information (Reg 1) shl ax,4 ;split relation shr al,4 ;split exact mov bl,al ident_3_final_21_skip: mov si,cx ;get cleared side counter mov cl,cs:[bp] ;get data size (1-2) add byte [size_ident],cl;increase size accordingly add si,2 ;prepair first pass cmp cx,0 je short ident_3_mm3 ;there are no passes. mov al,cs:[bp+si] ;get mem byte shl bl,3 ;fix encoding add al,bl ;add encoding jmp short ident_3_mm2 ;skip for first run ident_3_mm: mov al,cs:[bp+si] ;grab mem byte ident_3_mm2: mov [di],al ;save byte (First pass) inc di ;update inc si loop short ident_3_mm ident_3_mm3: mov cl,cs:[bp+1] ;grab size to save (of side data) add byte [size_ident],cl;increase size accordingly mov eax,[memnum_ident] ;grab number mov [di],eax ;save number (may be null) ;they are already SET pop si ;resume previous number jmp near ident_3_gotit ident_3_final_21: cmp byte ptr [type1_ident],2 ;mem / reg jne short ident_3_final_13 cmp byte ptr [type2_ident],1 jne short ident_3_final_13 mov ax,bp ;backup, and will use AH a little mov bp,memdata_ident ;grab required area xor cx,cx ;create size looper push si mov si,reg_ident mov al,[si+1] ;get information (Reg 1) shl ax,4 ;split relation shr al,4 ;split exact mov bl,al jmp short ident_3_final_21_skip ident_3_final_13: cmp byte ptr [type1_ident],1 ;reg / num jne short ident_3_final_23 cmp byte ptr [type2_ident],3 jne short ident_3_final_23 ; 11 Enc Reg1 push si mov si,reg_ident mov al,[si] ;get information (Reg 1) shl ax,4 ;split relation shr al,4 ;split exact mov bl,al pop si shl bh,3 ;put in place add bh,bl add bh,0c0h ;put in format (300o) add byte [size_ident],1 ;increase size accordingly mov [di],bh inc di ;fix bswap edi ;grab overrides cmp di,0 je short ident_3_final_13c mov ax,di ;get override data xchg al,ah ;replace locations jmp short ident_3_final_13d;skip into the rest of it all ;grabbed from (Exacts 3) ident_3_final_13c:mov ah,[numtype_ident] ;grab size ident_3_final_13d:bswap edi ;return add [size_ident],ah ;increase size accordingly mov eax,[number_ident] ;get number mov [di],eax ;save in right location jmp near ident_3_gotit ident_3_final_23:cmp byte ptr [type1_ident],2 ;mem / num jne short ident_3_final_33 cmp byte ptr [type2_ident],3 jne short ident_3_final_33 ;based on ?? Re2 ??? mov ax,bp ;backup, and will use AH a little mov bp,memdata_ident ;grab required area xor cx,cx ;create size looper push si bswap ebx ;data is in BL mov bh,0 ;clear ;ident_3_final_23_skip: mov si,cx ;get cleared side counter mov cl,cs:[bp] ;get data size (1-2) add byte [size_ident],cl;increase size accordingly add si,2 ;prepair first pass mov al,cs:[bp+si] ;get mem byte cmp bl,8 jb short ident_3_final_23_testenc and bl,3 ;ensure it doesn't interphere xchg al,bl ;switch ident_3_final_23_testenc:shl bl,3 ;fix encoding add al,bl ;add encoding jmp short ident_3_mm223 ;skip for first run ident_3_mm23: mov al,cs:[bp+si] ;grab mem byte ident_3_mm223: mov [di],al ;save byte (First pass) inc di ;update inc si loop short ident_3_mm23 mov cl,cs:[bp+1] ;grab size to save (of side data) add byte [size_ident],cl;increase size accordingly mov eax,[memnum_ident] ;grab number mov [di],eax ;save number (may be null) add di,cx ;increase for memnum ;grabbed from (Exacts 3) bswap edi ;grab overrides cmp di,0 je short ident_3_final_23c mov ax,di ;get override data xchg al,ah ;replace locations jmp short ident_3_final_23d;skip into the rest of it all ;grabbed from (Exacts 3) ident_3_final_23c:mov ah,[numtype_ident];grab size ident_3_final_23d: bswap edi ;return add [size_ident],ah ;increase size accordingly mov eax,[number_ident] ;get number mov [di],eax ;save in right location pop si ;resume previous number jmp near ident_3_gotit ident_3_final_33:jmp near ident_3_gotit ;both numbers impossible ;ok here's the separator.. ident_3_final_exacts:jmp short ident_3_final_exacts_notmem ;ok, there are weak parts, let's find them and use them. ;first check mem stuff.. ident_3_final_exacts_mem:nop ;ok, we need to see what we can find here.. data suggests 3(mem) is exact ;build the format.. based on, 11 REG (unused) ??? (treat REG as the data) bswap ebp ;grab saved special mov bx,bp ;transfer bswap ebp ;return to normal ? mov bp,memdata_ident ;grab required area xor cx,cx ;create size looper push si mov si,cx ;get cleared side counter mov cl,cs:[bp] ;get data size (1-2) add byte [size_ident],cl;increase size accordingly add si,2 ;prepair first pass mov al,cs:[bp+si] ;get mem byte shl bl,3 ;fix encoding add al,bl ;add encoding jmp short ident_3_final_mm223 ;skip for first run ident_3_final_mm23:mov al,cs:[bp+si] ;grab mem byte ident_3_final_mm223:mov [di],al ;save byte (First pass) inc di ;update inc si loop short ident_3_final_mm23 mov cl,cs:[bp+1] ;grab size to save (of side data) add byte [size_ident],cl;increase size accordingly mov eax,[memnum_ident] ;grab number mov [di],eax ;save number (may be null) add di,cx ;increase for memnum ;grabbed from (Exacts 3) pop si ;resume previous number jmp near ident_3_gotit ident_3_final_exacts_notmem: ;special memcheck cmp ah,1 ;see if exacts jne short ident_3_final_exacts_spmem1 cmp byte [type1_ident],2;see if mem jne short ident_3_final_exacts_spmem1 push eax ;fix for ENTER and other specials mov eax,[memnum_ident] ;grab number mov [di],eax ;save mov ah,0 mov al,[memdata_ident+1] ;grab size add [size_ident],al ;increase size accordingly add di,ax ;update position pop eax ident_3_final_exacts_spmem1: cmp al,1 ;see if exacts jne short ident_3_final_exacts_spmem2 cmp byte [type2_ident],2;see if mem jne short ident_3_final_exacts_spmem2 push eax ;fix for ENTER and other specials mov eax,[memnum_ident] ;grab number mov [di],eax ;save mov ah,0 mov al,[memdata_ident+1] ;grab size add [size_ident],al ;increase size accordingly add di,ax ;update position pop eax ident_3_final_exacts_spmem2: cmp ax,0101h ;ok, here we are.. Shall we? je near ident_3_gotit ;save the data here, all done cmp ah,1 ;check first one je short ident_3_final_exacts_first cmp byte [type1_ident],2 ;mem? je near ident_3_final_exacts_mem ;build the format.. based on, 11 REG (unused) ??? ;from the original set (Ident_2) changed as needed cmp byte [type1_ident],1 ;regs? jne short ident_3_final_exacts_first ;ok, check to see if qualify, if so, grab the OTHER bp cmp word [type1_ident],0101h jne short ident_3_final_exacts_first_NOTBP bswap ebp ;grab saved special mov ax,bp ;transfer bswap ebp ;return to normal ? jmp short ident_3_final_exacts_first_BP ident_3_final_exacts_first_NOTBP:mov ax,bp bswap ebx ;extract relations mov ah,bl ;grab second (extended data) ident_3_final_exacts_first_BP:mov al,[reg_ident] ;get register and al,7 ;grab the important bits shl ah,3 ;place at location xx ENC reg add al,0C0h ;put in format (300o) add al,ah ;put in extra data add byte [size_ident],1 ;increase size accordingly mov [di],al ;move on jmp near ident_2_gotit ident_3_final_exacts_first:cmp al,1 ;check first one je short ident_3_final_exacts_second cmp byte [type2_ident],2 ;mem? je near ident_3_final_exacts_mem cmp byte [type2_ident],1 jne short ident_3_final_exacts_first1 ;build the format.. based on, 11 REG (unused) ??? ;from the original set (Ident_2) changed as needed cmp word [type1_ident],0101h jne short ident_3_final_exacts_secon_NOTBP ;ident_3_final_exacts_first_okBP: bswap ebp ;grab saved special mov ax,bp ;transfer bswap ebp ;return to normal ? jmp short ident_3_final_exacts_secon_BP ident_3_final_exacts_secon_NOTBP:mov ax,bp ident_3_final_exacts_secon_BP:mov al,[reg_ident+1];get second register shl ah,3 ;place at location (extra data) and al,7 ;grab the important bits add al,300o ;put in format (300o) add al,ah ;put in extra data add byte [size_ident],1 ;increase size accordingly mov [di],al jmp near ident_2_gotit ident_3_final_exacts_first1:cmp byte [type2_ident],3 jne short ident_3_final_exacts_second bswap edi ;grab overrides cmp di,0 je short ident_3_final_exacts_first2a mov ax,di ;get override data xchg al,ah ;replace locations jmp short ident_3_final_exacts_first2b ;skip into the rest ;grabbed from (Exacts 3) ident_3_final_exacts_first2a:mov ah,[numtype_ident];grab size ident_3_final_exacts_first2b:cmp ah,3 ;safe (3=4) jne short ident_3_final_exacts_first2c inc ah ident_3_final_exacts_first2c:bswap edi ;return add [size_ident],ah ;increase size accordingly mov eax,[number_ident] ;get number mov [di],eax ;save in right location jmp short ident_3_gotit ident_3_final_exacts_second:jmp near ident_3_gotit ;last resort, end it all ident_3_nomatch_ex:pop cx pop ax ;little problem with exacts.. Fixed :) pop di pop si ident_3_nomatch4:add si,4 mov ah,0 ;clear (anyway) mov al,fs:[si] ;get size of instruction cmp al,0 je short ident_3_illegalbase ;check for size problems cmp al,64 jae short ident_3_illegalbase ;continue checking add si,ax ;save and update inc si loop near ident_3_under pop di jmp near ident_3_ftype ident_3_illegal:mov byte ptr [err_ident],9 ;put up 'Illegal' jmp short ident_3_gotit ident_3_illegalbase2:pop ax ;fix sp location ident_3_illegalbase:mov byte ptr [err_ident],10 ;put up 'Illegal/database' jmp short ident_3_gotit ident_3_nomore: mov byte ptr [err_ident],1;put up 'not identified' ident_3_gotit: pop di popad ret ident_part: pusha mov cx,3 mov si,type1_ident mov byte ptr [si],0 ;clear prepair mov byte ptr [si+1],0 ident_part_0: cmp byte ptr gs:[di]," ";check for space je short ident_part_1 cmp byte ptr gs:[di],",";check comma (end, beginning?) je short ident_part_1 cmp byte ptr gs:[di],10 ;check ending? je near ident_part_gotit;at end anyway inc di ;no continue jmp short ident_part_0 ident_part_1: inc di ;move up one (worked) ;first the number (easiest) push di ident_part_11: cmp byte ptr gs:[di],"-";negative? jne short ident_part_2 inc di ;negative dissapear? ident_part_2: cmp byte ptr gs:[di],34 ;ok, will qualify as number now je short ident_part_3 cmp byte ptr gs:[di],"0";within range? jb short ident_part_notnumber cmp byte ptr gs:[di],"9" ja short ident_part_notnumber ident_part_3: mov byte ptr [si],3 ;save as 'number' ;not perfect pop di ;return to normal (if changed from neg) pushad ;prepair special save mov dx,gs ;save segment mov si,di ;get location to read call near getnum ;get the number ident_part_4: ; mov [number_ident],eax ;save number call near Ident_number_size ;get size in DL cmp byte [numtype_ident],0;already set? je short ident_part_numberISset1 ;is not set, and will be set ;work around... if both are numbers, the first is treated like a memory ;location cmp quad [number_ident],0 ;save number je short ident_part_numberISseta ;has confirmed the information, now to use it all. push eax ;save number mov byte [type1_ident],2;set as memory mov eax,[number_ident] ;grab the 32 bit number mov [memnum_ident],eax ;place it correctly mov byte [memdata_ident],1 ;set size as 1 mov byte [memdata_ident+1],2 ;assume word. mov byte [memdata_ident+2],6 ;set as input direct pop eax jmp short ident_part_numberISset1;save it as was a 0 ;size of instruction, size of memnum to accept, instruction, Junk ident_part_numberISseta:cmp [numtype_ident],dl ;is equal or greater already? jae short ident_part_numberISset4;is set perfectly/small ident_part_numberISset0:mov byte ptr [err_ident],5;put 'too large' error on. xor eax,eax ;clear jmp short ident_part_numberISset4;save 0 ;too large? (if NEAR, might be ok?) ident_part_numberISset1:mov [numtype_ident],dl ;set number ident_part_numberISset4:mov [number_ident],eax ;save number (new save) ident_part_numberISset2:popad ;return from ;there's a bug here, now to get rid of it. cmp gs:[di],34 ;look for quotes jne short ident_part_numberISset3 ident_part_numberISset2b:inc di ;move up cmp gs:[di],34 je short ident_part_numberISset3;is quotes? cmp gs:[di],13 je short ident_part_numberISset3b;is end? cmp gs:[di],10 je short ident_part_numberISset3b;is end? jmp short ident_part_numberISset2b ident_part_numberISset3:inc di ;final fix ident_part_numberISset3b:jmp near ident_part_next;ok, skip out ident_part_notnumber:pop di ;return first cmp byte ptr gs:[di],"[" ;required as a memory jne short ident_part_notmem mov byte ptr [si],2 ;save as 'memory' ;memory stuff here, but incomplete yet call near memory_part jmp near ident_part_next ident_part_notmem:push si ;needed? mov si,di ;save and checs ident_part_fsize1:cmp byte ptr gs:[si],"," je short ident_part_fsize2 cmp byte ptr gs:[si],10 ;check end of part je short ident_part_fsize2 inc si jmp short ident_part_fsize1 ident_part_fsize2:sub si,di ;size check push cx ;save loops (whole) mov dx,si ;get size mov bp,fs:[ident_pt0] ;location of registers ident_part_regcheck: mov ax,fs:[bp] cmp al,0 je short ident_part_Nnext ;skip early (if nothing left) xor bx,bx xchg bh,al shr bx,4 ;fix out information shr bl,4 shr ax,4 shr al,4 ;ah=text length al=#size bh=type bl=number of registers ;dl=text size compare cmp dl,ah ;check sizes jne short ident_part_scheck mov si,bp ;prepair add si,2 ;fix location mov cl,bl ;prepair loops ident_part_scheck2:push cx ;save push ax push di ;save location mov cl,ah ;prepair texts ident_part_scheck0:mov al,fs:[si] ;grab letter cmp gs:[di],al ;compare jne short ident_part_scheck1 inc si inc di loop short ident_part_scheck0 ;if equal pop di ;return location pop ax pop cx sub bl,cl ;number it shl bl,4 ;prepair shr bx,4 ;fit in 1 byte pop cx ;count mov si,reg_ident cmp cx,3 ;see if first one je short ident_part_saveitall inc si ;fix location (second) ident_part_saveitall:mov [si],bl;save information on the register mov si,reg_ident_info cmp cx,3 ;see if first one je short ident_part_saveitall2 inc si ;fix location (second) ident_part_saveitall2:mov [si],al;save data size of register pop si ;location to save mov byte ptr [si],1;count as 'register' jmp short ident_part_next ident_part_scheck1:pop di ;return location pop ax ;return information add si,cx ;add remainder of register check pop cx ;get loop loop short ident_part_scheck2 mov bp,si ;locate? jmp short ident_part_regcheck ident_part_scheck:mov al,ah ;move text size over mov ah,0 ;prepair multiply mul bl ;find length skip add ax,2 ;fix location add bp,ax ;set up :) jmp short ident_part_regcheck ident_part_Nnext:pop cx ;get original CX loops pop si ;previous pop? ident_part_next:inc si ;location of ident loop near ident_part_0 ;resumeing ident_part_gotit:popa ret ;input ;DI=start of instruction location ;AL=type of direct (byte size per area (divide remainder ect)) ident_direct: pushad ;save for function mov byte [err_ident],0 ;kill other (in case) push fs mov bx,[direct_segment] mov fs,bx ;pepair segment mov ah,0 mov bp,ax ;save information xor cx,cx ;blank out size mov si,cx ;location to start saving at ;at this point, we have GS (text) FS (data area) ;DI instruction location ;SI data location ;CX size information ;BP backup of divider/size add di,2 ;(start of information?) ident_direct_lo:inc di ident_direct_st:cmp byte ptr gs:[di],22h;look for quotes je near ident_direct_text push di cmp byte ptr gs:[di],"-";negative? jne short ident_direct_neg inc di ;negative dissapear? ident_direct_neg:cmp byte ptr gs:[di],"0";within range? jb short ident_direct_other cmp byte ptr gs:[di],"9" ja short ident_direct_other pop di push si mov si,di ;instruction grab mov dx,gs ;segment save call near getnum pop si mov fs:[si],eax ;save new bytes add cx,bp ;add new byte information add si,bp ;next location to write at ident_direct_fc:cmp byte gs:[di],"," ;look for next part je short ident_direct_lo;hmm :) cmp byte gs:[di],0ah je near ident_direct_end;done here inc di jmp short ident_direct_fc ident_direct_other:cmp word gs:[di],"DU";time to test this.. ; cmp quad gs:[di],"DUP(";failed for now jne near ident_direct_errors cmp word gs:[di+2],"P(" ;time to test this.. jne near ident_direct_errors pop di ;ok, now for the dup instruction. add di,4 ;(fix location) push si mov si,di mov dx,gs call near getnum pop si xor dx,dx ;clear out for remainder div bp ;find remainder? cmp dx,0 je short ident_direct_dupts ;done here inc ax ;round up xor dx,dx ident_direct_dupts:mul bp ;fix size cmp eax,0 ;see if neg.. (Special fix) jg short ident_direct_numbugfix mov ax,bp ;make minimum of count ident_direct_numbugfix: cmp ax,65532 jbe short ident_direct_numbugfix2 mov ax,65532 ;push to max ident_direct_numbugfix2: add cx,ax ;add new size (bytes) push cx mov cx,ax ;set for size now ;k now search quickly for the next part (comma) ident_direct_dup0:cmp byte gs:[di],"," ;find comma je short ident_direct_dup1 inc di jmp short ident_direct_dup0 ident_direct_dup1:inc di ;fix location ;k, now identify if number or text (simple test) cmp byte gs:[di],34 je short ident_direct_dupt ;assumed number, don't mess it up now mov dx,gs push si mov si,di call near getnum ;get new number pop si ident_direct_dupn:mov fs:[si],eax ;write number there (fill) add si,bp sub cx,bp cmp cx,0 je short ident_direct_dupn2 ;loop messes up the count jmp short ident_direct_dupn ident_direct_dupn2:pop cx ;fix jmp short ident_direct_fc;fix ident_direct_dupt:inc di cmp byte gs:[di],34 ;test if empty jne short ident_direct_dupt2 xor eax,eax jmp short ident_direct_dupn;empty, so null text ident_direct_dupt1:pop di ;hmm.. a little close :P ident_direct_dupt2:push di ;assumes something is here ident_direct_dupt3:mov al,gs:[di] ;grab text byte cmp al,34 je short ident_direct_dupt1 ;restart text mov fs:[si],al ;save text inc si inc di loop short ident_direct_dupt3 ;continue grabbing text pop di pop cx ;previous information size? jmp near ident_direct_fc;fix ident_direct_text:mov dx,cx ;save information (for later) inc di ;skip out the quotes ident_direct_nx:mov al,gs:[di] cmp al,34 ;look for new quotes je short ident_direct_qu mov fs:[si],al ;save new byte inc cx ;update size, and locations inc si inc di jmp short ident_direct_nx ident_direct_qu:mov ax,cx sub ax,dx ;get size xor dx,dx ;clear out for remainder div bp ;find remainder? cmp dx,0 je near ident_direct_fc;done here push bp ;save size sub bp,dx ;fix add cx,bp ;update push cx mov cx,bp ;set up loop mov al,dh ;empty byte ident_direct_cl:mov fs:[si],al ;clear inc si loop short ident_direct_cl pop cx pop bp ;return jmp near ident_direct_fc ident_direct_errors:pop di mov byte [err_ident],11 ;check line ident_direct_end:pop fs ;ok, save information mov byte [direct_on_ident],1 ;turn on mov [direct_size_ident],cx ;save size mov byte [size_ident],0 ;kill other (in case) popad ret ;determine size (NEC?), IN: EAX, OUT: DL Ident_number_size:pushad mov dl,4 ;size auto determine test eax,80000000h jnz short Ident_number_sizeISneg ;(if it matches?) cmp eax,65535 ja short Ident_number_sizeISset mov dl,2 ;ok 16 next cmp word eax,255 ja short Ident_number_sizeISset mov dl,1 ;save as 1 byte qualify (barely?) jmp short Ident_number_sizeISset Ident_number_sizeISneg:cmp eax,-32768 jl short Ident_number_sizeISset mov dl,2 ;ok 16 next cmp eax,-128 jl short Ident_number_sizeISset mov dl,1 ;save as 1 byte qualify (barely?) Ident_number_sizeISset:mov bp,sp;grab stack location mov eax,[bp+pedx];prepair number mov al,dl ;return a single value mov [bp+pedx],eax;save number popad ret ;simple, remove all registers from memory location, while saving their ;order, any numbers left will be dealt with.. (no special math please) memory_part: pushad push di ;save instruction information xor cx,cx ;save text size mov bp,cx ;prepair 386 count memory_part_pre:mov si,memory_data memory_part_pre0:cmp byte ptr gs:[di],"]";end of text je short memory_part_pre4 mov cl,[si] ;get text size cmp cx,0 je short memory_part_pre3 push di ;save location mov ax,[si+1] ;get extended information add si,3 ;locate text mov bx,cx ;save backup? memory_part_pre1:mov dl,[si] ;get letter cmp gs:[di],dl ;compare jne short memory_part_pre2 ;continue? inc si inc di ;get other location set loop short memory_part_pre1 pop di ;get start location mov cx,bx ;set up count memory_part_pre5:mov byte ptr gs:[di]," " ;clear out inc di ;move up one loop short memory_part_pre5 ;clear area (text) xor bx,bx ;clear mov bl,al ;enter in here, extended 386 half, as well as notifyer cmp bx,3 jne short memory_part_pre5_2 add bx,bp ;add new location inc bp ;increase by one inc byte ptr [memdata_ident] ;add count to 386's memory_part_pre5_2:mov [bx+memdata_ident],ah ;save jmp short memory_part_pre ;jump to next location memory_part_pre2:pop di ;return base add si,cx ;increase size jmp short memory_part_pre0 ;continue looping memory_part_pre3:inc di jmp short memory_part_pre memory_part_pre4:pop di ;cut and paste from Ident earlier (space remove) all but 1 memory_part_blk:cmp byte ptr gs:[di]," " jne short memory_part_blk0 inc di ;move up one jmp short memory_part_blk memory_part_blk0:xor cx,cx ;prepair count (0) mov ch,1 mov si,di ;start location push di ;save start memory_part_blk1:cmp byte ptr gs:[di],34;check for quotes jne short memory_part_blk2 neg ch ;setting on memory_part_blk2:cmp ch,1 ;see if quote on je short memory_part_blk3 ;skip if so jmp short memory_part_blk4 ;write reguardless memory_part_blk3:cmp byte ptr gs:[di]," ";check space je short memory_part_blk5 ;space? memory_part_blk4:mov al,gs:[di] ;get byte mov gs:[si],al ;save byte inc si memory_part_blk5:cmp byte ptr gs:[di],10;check end of line je short memory_part_blk6 ;at end of line inc di ;move up (also space skip) jmp short memory_part_blk1 memory_part_blk6:cmp word ptr gs:[si-3],0a20h ;see if it's this? jne short memory_part_blk7 mov byte ptr gs:[si-3],10 memory_part_blk7:pop di mov dx,gs ;prepair inc di ;fix past [ mov si,di call near getnum mov cs:[memnum_ident],eax ;save data ;onto tedious work ;use translation table if 16 bit is used, or resort to 32bit ;16 bit assumed first mov bx,memdata_ident cmp byte ptr cs:[bx],0 je near memory_part_not32 ;32 bit code here mov byte ptr cs:[dist32_ident],2;set 32bit flag xor dx,dx ;dx will be data. cmp eax,0 je short memory_part_32_num inc dh ;add to number cmp eax,127 jg short memory_part_32_num2 cmp eax,-128 jl short memory_part_32_num2 jmp short memory_part_32_num memory_part_32_num2:inc dh ;set 32 bit.. memory_part_32_num: ;ok, on to other stuff.. cmp byte ptr cs:[bx],2 je short memory_part_32_two ;ok, single, this will treat as a normal formula mov dl,cs:[bx+3] mov cx,dx ;backup mov cx,dx cmp cl,2 ;update 32bit jne short memory_part_32_one add cl,cl ;double memory_part_32_one: shl dl,2 ;prepair (right side) shr dx,2 ;put in place mov byte ptr cs:[bx],1 ;set the size up mov cs:[bx+1],ch ;size of memory addin mov cs:[bx+2],dl ;put in data jmp near memory_part_resume memory_part_32_two:mov dl,4 ;sp (opcode extend) mov cx,dx cmp cl,2 jne short memory_part_32_two2 add cl,cl ;double memory_part_32_two2: shl dl,2 ;prepair (right side) shl dx,6 ;put in place mov dl,cs:[bx+7] ;Scale (SIB) shl dl,3 ;put in place add dl,cs:[bx+4] ;Index shl dl,3 ;put in place add dl,cs:[bx+3] ;Base mov byte ptr cs:[bx],2 ;set the size up mov cs:[bx+1],ch ;size of memory addin mov cs:[bx+2],dh ;put in data mov cs:[bx+3],dl ;put in data jmp near memory_part_resume memory_part_not32:mov byte ptr cs:[dist32_ident],1;set 16bit flag cmp word ptr cs:[bx+1],0 ;empty at all? je short memory_part_not16 ;16 bit code here xor dx,dx ;dx will be data. cmp eax,0 je short memory_part_16_num inc dh ;add to number cmp eax,127 jg short memory_part_16_num2 cmp eax,-128 jl short memory_part_16_num2 jmp short memory_part_16_num memory_part_16_num2:inc dh ;set 16 bit.. cmp eax,32767 jg short memory_part_16_num3 cmp eax,-32768 jl short memory_part_16_num3 jmp short memory_part_16_num memory_part_16_num3:xor eax,eax ;ok, illegal, but work anyway mov cs:[memnum_ident],eax ;save null memory_part_16_num:mov ax,cs:[bx+1] ;grab 2 byte information mov si,memory_data2_T mov cx,8 ;max count (locked in place) memory_part_16_fix:cmp cs:[si],ax jne short memory_part_16_fix1 ;if it doesn't fit mov ax,cs:[si+2] ;update jmp short memory_part_16_fix2 memory_part_16_fix1:add si,4 ;increase on loop short memory_part_16_fix memory_part_16_fix2:cmp ah,6 ;open part BP jne short memory_part_16_fix3 ;is it? cmp dh,0 ;any carryover? jne short memory_part_16_fix3 ;if higher then 0, don't bother inc dh ;make at least +0 memory_part_16_fix3:mov byte ptr cs:[bx],1 ;set the size up mov cs:[bx+1],dh ;size of memory addin shr ax,6 ;move in place mov ah,dh ;get important byte size shr ax,2 ;final update mov cs:[bx+2],al ;put in data jmp short memory_part_resume memory_part_not16: ;ok, pure memory (number in only) 32/16? cmp eax,65535 jg short memory_part_dr_num cmp eax,-32768 jl short memory_part_dr_num jmp short memory_part_dr_num1 memory_part_dr_num:mov byte ptr cs:[dist32_ident],2 ;set 32bit flag mov dh,4 ;32 bits mov dl,4 ;sp? (Mem)? jmp short memory_part_dr_num2 memory_part_dr_num1:mov dh,2 ;16 bits mov dl,6 ;bp+0 (mem) memory_part_dr_num2:mov byte ptr cs:[bx],1 mov byte ptr cs:[bx+1],dh ;save size info mov byte ptr cs:[bx+2],dl ;save actual half memory_part_resume:nop memory_part_alldone:popad ret Memory_data: ;format, size of text, location to save text (plus memdata_ident), value, text ;0 is null :P ;1, 2 and 7 are fixed, 3's are open, each time used, they will increase 1 ;theory ;Info, Info2, BX/BP, SI/DI, E, E, E, times db 2,1,1,"BX" db 2,1,2,"BP" db 2,2,1,"SI" db 2,2,2,"DI" db 2,7,0,"*1" db 2,7,1,"*2" db 2,7,2,"*4" db 2,7,3,"*8" db 3,3,0,"EAX" db 3,3,1,"ECX" db 3,3,2,"EDX" db 3,3,3,"EBX" db 3,3,4,"ESP" db 3,3,5,"EBP" db 3,3,6,"ESI" db 3,3,7,"EDI" db 0 ;real 1 ;extended ;register 1 ;register 2 ;register 3 ;multiplyer memory_data2_T: db 0,1,0,4 ;backwards checked.. SI db 0,2,0,5 ;DI db 1,0,0,7 ;BX db 2,0,0,6 ;there is no BP, but BP+0 there is... need check later db 1,1,0,0 ;SI+BX db 2,1,0,2 ;SI+BP db 1,2,0,1 ;DI+BX db 2,2,0,3 ;DI+BP db 0,0,0,0 ;db 1,0,0,4 ;backwards checked.. SI ;db 2,0,0,5 ;DI ;db 0,1,0,7 ;BX ;db 0,2,0,6 ;there is no BP, but BP+0 there is... need check later ;db 1,1,0,0 ;SI+BX ;db 1,2,0,2 ;SI+BP ;db 2,1,0,1 ;DI+BX ;db 2,2,0,3 ;DI+BP ;db 0,0,0,0 direct_segment:dw 0 ;segment for Direct information prefix_data_32:db 66h,67h ;this is the data information (locked) prefixes CompVerSet: db 0ffh ;set up for system (255 = all instructions) bit32_set: db 1 ;16 bit by default opinclude_set: db 0 ;turned off (contains 0???????) null_ident: db 0 ;a null location (nothing important) direct_on_ident:db 0 ;if set to 1, will be a direct input data direct_size_ident:dw 0 ;size of data (starting 0 from segment) dist_ident: db 0 ;distance identify numtype_ident: db 0 ;number size (or larger) type1_ident: db 0 ;identify half type2_ident: db 0 ;identify half type3_ident: db 0 ;identify half ;0 nothing, 1 register, 2 memory, 3 number memnum_ident: dw 0,0 ;the memory location, if there is one memdata_ident: dw 0,0,0,0 ;reserved for the memory funciton ;also data when memory done. ;size of instruction, size of memnum to accept, instruction, Junk number_ident: dw 0,0 ;the number, if there is one numberEXT_ident: dw 0,0 ;extended instructions, unused for now seg_ident: db 0 ;segment override? rep_ident: db 0 ;repeats are defined reg_ident: db 0,0 ;the 2 sections of registers (if needed) reg_ident_info: db 0,0 ;remainder information (size of registers) err_ident: db 0 ;errors encountered (only 1 allowed) start_ident: db 0 ;minus from real size_ident: db 0 ;instruction size size_ident_E: db 0 ;Exact Size, subtract from Size_ident bit32_ident: db 0 ;intruction type/size dist32_ident: db 0 ;distance 32bit? opinclude_ident: db 0 ;the special, optional include prefix_ident: db 0,0,0,0,0 ;allows, a segment override (1 byte) 2 type overrides (mem / register), ;and an instruction override (rep) ; 1 extra (just in case) real_ident: dw 0,0,0,0,0,0,0,0 ^D_Data_Size cpx-null_ident ;Starting at null? prefix_data: ;format, size of text, location to save text (plus dist_ident), value, text ;0 is null :P db 5,dist_ident-null_ident,1,"SH","ORT" db 4,dist_ident-null_ident,2,"NE","AR" db 3,dist_ident-null_ident,4,"FA","R" db 5,numtype_ident-null_ident,16,"TBY","TE" ;for FPU db 6,numtype_ident-null_ident,8,"DOU","BLE" ;for FPU db 5,numtype_ident-null_ident,8,"DQ","UAD" db 5,numtype_ident-null_ident,8,"QW","ORD" db 6,numtype_ident-null_ident,4,"SIN","GLE" ;for FPU db 5,numtype_ident-null_ident,4,"FLO","AT" ;for FPU db 5,numtype_ident-null_ident,4,"DW","ORD" db 4,numtype_ident-null_ident,4,"QU","AD" db 4,numtype_ident-null_ident,2,"WO","RD" db 4,numtype_ident-null_ident,1,"BY","TE" db 3,null_ident-null_ident,0,"PT","R" ;0 db 4,seg_ident-null_ident,2eh,"[CS",":" ;removes label possibility db 4,seg_ident-null_ident,3eh,"[DS",":" db 4,seg_ident-null_ident,26h,"[ES",":" db 4,seg_ident-null_ident,64h,"[FS",":" db 4,seg_ident-null_ident,65h,"[GS",":" db 4,seg_ident-null_ident,36h,"[SS",":" db 4,seg_ident-null_ident,2eh," CS",":" db 4,seg_ident-null_ident,3eh," DS",":" db 4,seg_ident-null_ident,26h," ES",":" db 4,seg_ident-null_ident,64h," FS",":" db 4,seg_ident-null_ident,65h," GS",":" db 4,seg_ident-null_ident,36h," SS",":" db 4,seg_ident-null_ident,2eh,",CS",":" db 4,seg_ident-null_ident,3eh,",DS",":" db 4,seg_ident-null_ident,26h,",ES",":" db 4,seg_ident-null_ident,64h,",FS",":" db 4,seg_ident-null_ident,65h,",GS",":" db 4,seg_ident-null_ident,36h,",SS",":" db 5,rep_ident-null_ident,0f2h,"RE","PNE" db 4,rep_ident-null_ident,0f0h,"LO","CK" db 4,rep_ident-null_ident,0f3h,"RE","PZ" db 4,rep_ident-null_ident,0f3h,"RE","PE" db 3,rep_ident-null_ident,0f2h,"RE","P" db 0 ;a cheat, this will have to do (all texts the same size) err0_ident: db 13,10,"$ SPace, Junk Data",32,"unIMPORTant!!!!------" $err_ident_L db 59,"Unknown Instruction",13,10,"$ " db 59,"Instruction Not on That Computer Model",13,10,"$" db 59,"Instruction Too Big (over 16 bytes)",13,10,"$ " db 59,"Is not a Number, or Register",13,10,"$ " db 59,"Number too large",13,10,"$ " db 59,"No Division or Multiplacation allowed",13,10,"$ " db 59,"Jump Too big (No Jump) >",13,10,"$ " db 59,"Jump Is Small enough <=",13,10,"$ " db 59,"Illegal Instruction",13,10,"$ " db 59,"Database Has Errors / Illegal",13,10,"$ " db 59,"Please Confirm this line (Db, Dw, Dq)",13,10,"$ " ;db 59,"Error in Memory Line []",13,10,"$ " db 59,"Unknown",13,10,"$ " tempfile1: db "temp.asm",0,0,0,0,0 tempfile2: db "temp1.asm",0,0,0,0 debugfile: db "debug.txt",0,0,0,0 Instruction_set: db "test.set",0,0,0,0,0 dbg: db 0 includez: db 0 fst: db 0 ;1 use, 2 make tmpkeep: db 0 ;1 keep 0 delete optimize: db 0 ;if 1, then short and near jumps are undefined. unicode: db 0 ;used later, leave alone for now file1: dw 0 file2: dw 0 file3: dw 0 ;debug.txt file4: dw 0 ;includes files: dw 0,0,0,0,0,0,0,0,0,0 ;junk area, just in case, only 3 needed thecpx: dw 0,0 ;get location for CPX cpxstart:dw 0,0 ;save location of labels here ($) loopback: dw loopback_minimum ;for extra info. (more complex code?) ^loopback_minimum 7 ;new minimum.. change as needed debugcpx: db "00000000:$" ;information, just a cut and paste.. Locked debugcpx_needed: dw 8 ;prepair count to keep (8 at default) cpuformula: dw 8088 db 0 dw 8086 db 1 dw 186 db 1 dw 286 db 2 dw 386 db 3 dw 486 db 4 dw 586 db 5 dw 686 db 6 dw 786 db 7 dw 886 db 8 dw 986 db 9 dw 1086 db 10 dw 1186 db 11 dw 1286 db 12 db 0 Intro: db " Intel/Assembler V",13,10,"$" db "Created by <NAME>", 13,10, "$" Proguse: db "Assembler Usage: Intelasm [Input.asm] [Output.com] [DMFOQT]",13,10 db "Other options:",13,10,13,10 db "D - Debug code.. (True assembly)",13,10 db "M - Make fast file [input].fst",13,10 db "F - Use Fast file [input].fst",13,10 db "O - Optimize jumps (Make Short, Near Jumps Undeclaired)",13,10 db "Q - Quick jumps (Make all jumps at least Near (Fast))",13,10 db "T - Keep Temp Files",13,10,13,10,"$" Exit: db "Thanks for using this :)",13,10, "$" Err: db "Unable to access Source File",13,10,13,10,"$" Err2: db "Unable to access Destination File",13,10,13,10,"$" Err3: db "Unable to Create/use Temporary Files",13,10,13,10,"$" Err4: db "Unable to Access .set File",13,10,13,10,"$" Err5: db "Redirecting .set From Internal Presets",13,10,13,10,"$" memerr: db "Not Enough Memory to Run Program",13,10,"$" dbgerr: db "There was an error trying to open Debug.txt, for the output.",13,10,"$" fsterr: db "There was an error while creating the FASTFILE.",13,10,"$" verseterr: db "This Program is not compadible with the SET file. Please Update",13,10,13,10,"$" internal_set: *idtest.txt $internal_set_L ;version settings now ^digit "0" ^Ver_Major 0 ^Ver_Minor 5 ^Ver_Revision 2 ;month, day, year ;upper, lower (upper is decades) ^Ver_LUuM 0 ^Ver_LUlM 4 ^Ver_LUuD 1 ^Ver_LUlD 1 ^Ver_LUuY 0 ^Ver_LUlY 2 %cpx 0 lab: +cpx 2 labcpx: +cpx 2 labstart: ;info for location structure IN the structure of the library %cpx 0 ident_pt0: +cpx 2 ident_pt1: +cpx 2 ident_pt2: +cpx 2 ident_pt3: +cpx 2 ident_pt4: ;don't ask, it's just the way it is. +cpx 2 ident_opinclude: +cpx 2 ident_verset: ;NOTE: this structure is for Getline, GLINE only.. don't use it for ;anything else.. and this is for 64K only, at lines to be expected at up to ;10240 bytes (why it would be bigger, i have no idea..) @gsize 1024 %cpx 0 gline: +cpx gsize ;stat, for where the text is to be read/scanned next gstat: +cpx 2 ;left, how many bytes were read, based on position, it will be ;able to tell what is left, before it has to do a real read again gleft: +cpx 2 gstuff: ^Delete 41h ^Open 3Dh ^Create 3Ch ^OpenCreate 6Ch ^Close 3Eh ^Read 3Fh ^Write 40h ^ReadOnly 0 ^WriteOnly 1 ^Random 2 @PointerSof 4200h @PointerCur 4201h @PointerEof 4202h ^Ptext 9 ;note, these are + to bp (SS) from a PUSHA PUSHAD to carry over information ;at the POPA POPAD ^pax 14 ^pcx 12 ^pdx 10 ^pbx 8 ^psp 6 ^pbp 4 ^psi 2 ^pdi 0 ^peax 28 ^pecx 24 ^pedx 20 ^pebx 16 ^pesp 12 ^pebp 8 ^pesi 4 ^pedi 0 ;rules: ;1) fs: Is the data section. (instructions) ;2) gs: Data in/out (text, and translation area (un-needed?) ; ; 3 numbers, starts of each item, each end with 1 0
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1550.asm
ljhsiun2/medusa
9
93174
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r15 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0xb74d, %r9 nop nop nop nop nop dec %rsi mov (%r9), %r12w nop cmp $53044, %r10 lea addresses_A_ht+0x1ddc5, %rsi lea addresses_A_ht+0x14bc5, %rdi nop inc %rbx mov $4, %rcx rep movsb add $46233, %r10 lea addresses_UC_ht+0x16cc5, %rsi lea addresses_normal_ht+0x1a9c5, %rdi clflush (%rsi) nop nop nop cmp %r12, %r12 mov $35, %rcx rep movsw nop nop nop sub %rbx, %rbx lea addresses_UC_ht+0x5fc5, %rsi lea addresses_normal_ht+0xaa45, %rdi sub $17104, %r15 mov $81, %rcx rep movsw nop nop and $49401, %rcx pop %rsi pop %rdi pop %rcx pop %rbx pop %r9 pop %r15 pop %r12 pop %r10 ret .global s_faulty_load s_faulty_load: push %r13 push %r14 push %r15 push %rbp push %rdi push %rsi // Store lea addresses_A+0x9e45, %rbp nop nop nop nop nop and %r13, %r13 mov $0x5152535455565758, %rsi movq %rsi, %xmm0 vmovups %ymm0, (%rbp) sub %r15, %r15 // Store lea addresses_normal+0x4105, %r15 nop inc %r14 mov $0x5152535455565758, %r13 movq %r13, (%r15) nop nop nop nop nop cmp $5048, %rsi // Store lea addresses_D+0x6d7d, %r15 nop sub $36816, %rdi movl $0x51525354, (%r15) sub %rdi, %rdi // Faulty Load lea addresses_RW+0x13dc5, %r13 nop nop xor $7236, %rsi movups (%r13), %xmm6 vpextrq $0, %xmm6, %r15 lea oracles, %r13 and $0xff, %r15 shlq $12, %r15 mov (%r13,%r15,1), %r15 pop %rsi pop %rdi pop %rbp pop %r15 pop %r14 pop %r13 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'size': 1, 'NT': True, 'type': 'addresses_RW', 'same': False, 'AVXalign': False, 'congruent': 0}} {'OP': 'STOR', 'dst': {'size': 32, 'NT': False, 'type': 'addresses_A', 'same': False, 'AVXalign': False, 'congruent': 7}} {'OP': 'STOR', 'dst': {'size': 8, 'NT': False, 'type': 'addresses_normal', 'same': False, 'AVXalign': False, 'congruent': 6}} {'OP': 'STOR', 'dst': {'size': 4, 'NT': False, 'type': 'addresses_D', 'same': False, 'AVXalign': True, 'congruent': 3}} [Faulty Load] {'OP': 'LOAD', 'src': {'size': 16, 'NT': False, 'type': 'addresses_RW', 'same': True, 'AVXalign': False, 'congruent': 0}} <gen_prepare_buffer> {'OP': 'LOAD', 'src': {'size': 2, 'NT': False, 'type': 'addresses_normal_ht', 'same': False, 'AVXalign': False, 'congruent': 3}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_A_ht', 'congruent': 11}, 'dst': {'same': False, 'type': 'addresses_A_ht', 'congruent': 7}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_UC_ht', 'congruent': 4}, 'dst': {'same': False, 'type': 'addresses_normal_ht', 'congruent': 9}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_UC_ht', 'congruent': 8}, 'dst': {'same': False, 'type': 'addresses_normal_ht', 'congruent': 7}} {'32': 21829} 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 */
jni/jpeg-turbo/simd/jdclrss2.asm
maqiangddb/AndroidVncServer
2
23769
<reponame>maqiangddb/AndroidVncServer<gh_stars>1-10 ; ; jdclrss2.asm - colorspace conversion (SSE2) ; ; Copyright 2009 Pierre Ossman <<EMAIL>> for Cendio AB ; ; Based on ; x86 SIMD extension for IJG JPEG library ; Copyright (C) 1999-2006, MIYASAKA Masaru. ; For conditions of distribution and use, see copyright notice in jsimdext.inc ; ; This file should be assembled with NASM (Netwide Assembler), ; can *not* be assembled with Microsoft's MASM or any compatible ; assembler (including Borland's Turbo Assembler). ; NASM is available from http://nasm.sourceforge.net/ or ; http://sourceforge.net/project/showfiles.php?group_id=6208 ; ; [TAB8] %include "jcolsamp.inc" ; -------------------------------------------------------------------------- ; ; Convert some rows of samples to the output colorspace. ; ; GLOBAL(void) ; jsimd_ycc_rgb_convert_sse2 (JDIMENSION out_width, ; JSAMPIMAGE input_buf, JDIMENSION input_row, ; JSAMPARRAY output_buf, int num_rows) ; %define out_width(b) (b)+8 ; JDIMENSION out_width %define input_buf(b) (b)+12 ; JSAMPIMAGE input_buf %define input_row(b) (b)+16 ; JDIMENSION input_row %define output_buf(b) (b)+20 ; JSAMPARRAY output_buf %define num_rows(b) (b)+24 ; int num_rows %define original_ebp ebp+0 %define wk(i) ebp-(WK_NUM-(i))*SIZEOF_XMMWORD ; xmmword wk[WK_NUM] %define WK_NUM 2 %define gotptr wk(0)-SIZEOF_POINTER ; void * gotptr align 16 global EXTN(jsimd_ycc_rgb_convert_sse2) EXTN(jsimd_ycc_rgb_convert_sse2): push ebp mov eax,esp ; eax = original ebp sub esp, byte 4 and esp, byte (-SIZEOF_XMMWORD) ; align to 128 bits mov [esp],eax mov ebp,esp ; ebp = aligned ebp lea esp, [wk(0)] pushpic eax ; make a room for GOT address push ebx ; push ecx ; need not be preserved ; push edx ; need not be preserved push esi push edi get_GOT ebx ; get GOT address movpic POINTER [gotptr], ebx ; save GOT address mov ecx, JDIMENSION [out_width(eax)] ; num_cols test ecx,ecx jz near .return push ecx mov edi, JSAMPIMAGE [input_buf(eax)] mov ecx, JDIMENSION [input_row(eax)] mov esi, JSAMPARRAY [edi+0*SIZEOF_JSAMPARRAY] mov ebx, JSAMPARRAY [edi+1*SIZEOF_JSAMPARRAY] mov edx, JSAMPARRAY [edi+2*SIZEOF_JSAMPARRAY] lea esi, [esi+ecx*SIZEOF_JSAMPROW] lea ebx, [ebx+ecx*SIZEOF_JSAMPROW] lea edx, [edx+ecx*SIZEOF_JSAMPROW] pop ecx mov edi, JSAMPARRAY [output_buf(eax)] mov eax, INT [num_rows(eax)] test eax,eax jle near .return alignx 16,7 .rowloop: push eax push edi push edx push ebx push esi push ecx ; col mov esi, JSAMPROW [esi] ; inptr0 mov ebx, JSAMPROW [ebx] ; inptr1 mov edx, JSAMPROW [edx] ; inptr2 mov edi, JSAMPROW [edi] ; outptr movpic eax, POINTER [gotptr] ; load GOT address (eax) alignx 16,7 .columnloop: movdqa xmm5, XMMWORD [ebx] ; xmm5=Cb(0123456789ABCDEF) movdqa xmm1, XMMWORD [edx] ; xmm1=Cr(0123456789ABCDEF) pcmpeqw xmm4,xmm4 pcmpeqw xmm7,xmm7 psrlw xmm4,BYTE_BIT psllw xmm7,7 ; xmm7={0xFF80 0xFF80 0xFF80 0xFF80 ..} movdqa xmm0,xmm4 ; xmm0=xmm4={0xFF 0x00 0xFF 0x00 ..} pand xmm4,xmm5 ; xmm4=Cb(02468ACE)=CbE psrlw xmm5,BYTE_BIT ; xmm5=Cb(13579BDF)=CbO pand xmm0,xmm1 ; xmm0=Cr(02468ACE)=CrE psrlw xmm1,BYTE_BIT ; xmm1=Cr(13579BDF)=CrO paddw xmm4,xmm7 paddw xmm5,xmm7 paddw xmm0,xmm7 paddw xmm1,xmm7 ; (Original) ; R = Y + 1.40200 * Cr ; G = Y - 0.34414 * Cb - 0.71414 * Cr ; B = Y + 1.77200 * Cb ; ; (This implementation) ; R = Y + 0.40200 * Cr + Cr ; G = Y - 0.34414 * Cb + 0.28586 * Cr - Cr ; B = Y - 0.22800 * Cb + Cb + Cb movdqa xmm2,xmm4 ; xmm2=CbE movdqa xmm3,xmm5 ; xmm3=CbO paddw xmm4,xmm4 ; xmm4=2*CbE paddw xmm5,xmm5 ; xmm5=2*CbO movdqa xmm6,xmm0 ; xmm6=CrE movdqa xmm7,xmm1 ; xmm7=CrO paddw xmm0,xmm0 ; xmm0=2*CrE paddw xmm1,xmm1 ; xmm1=2*CrO pmulhw xmm4,[GOTOFF(eax,PW_MF0228)] ; xmm4=(2*CbE * -FIX(0.22800)) pmulhw xmm5,[GOTOFF(eax,PW_MF0228)] ; xmm5=(2*CbO * -FIX(0.22800)) pmulhw xmm0,[GOTOFF(eax,PW_F0402)] ; xmm0=(2*CrE * FIX(0.40200)) pmulhw xmm1,[GOTOFF(eax,PW_F0402)] ; xmm1=(2*CrO * FIX(0.40200)) paddw xmm4,[GOTOFF(eax,PW_ONE)] paddw xmm5,[GOTOFF(eax,PW_ONE)] psraw xmm4,1 ; xmm4=(CbE * -FIX(0.22800)) psraw xmm5,1 ; xmm5=(CbO * -FIX(0.22800)) paddw xmm0,[GOTOFF(eax,PW_ONE)] paddw xmm1,[GOTOFF(eax,PW_ONE)] psraw xmm0,1 ; xmm0=(CrE * FIX(0.40200)) psraw xmm1,1 ; xmm1=(CrO * FIX(0.40200)) paddw xmm4,xmm2 paddw xmm5,xmm3 paddw xmm4,xmm2 ; xmm4=(CbE * FIX(1.77200))=(B-Y)E paddw xmm5,xmm3 ; xmm5=(CbO * FIX(1.77200))=(B-Y)O paddw xmm0,xmm6 ; xmm0=(CrE * FIX(1.40200))=(R-Y)E paddw xmm1,xmm7 ; xmm1=(CrO * FIX(1.40200))=(R-Y)O movdqa XMMWORD [wk(0)], xmm4 ; wk(0)=(B-Y)E movdqa XMMWORD [wk(1)], xmm5 ; wk(1)=(B-Y)O movdqa xmm4,xmm2 movdqa xmm5,xmm3 punpcklwd xmm2,xmm6 punpckhwd xmm4,xmm6 pmaddwd xmm2,[GOTOFF(eax,PW_MF0344_F0285)] pmaddwd xmm4,[GOTOFF(eax,PW_MF0344_F0285)] punpcklwd xmm3,xmm7 punpckhwd xmm5,xmm7 pmaddwd xmm3,[GOTOFF(eax,PW_MF0344_F0285)] pmaddwd xmm5,[GOTOFF(eax,PW_MF0344_F0285)] paddd xmm2,[GOTOFF(eax,PD_ONEHALF)] paddd xmm4,[GOTOFF(eax,PD_ONEHALF)] psrad xmm2,SCALEBITS psrad xmm4,SCALEBITS paddd xmm3,[GOTOFF(eax,PD_ONEHALF)] paddd xmm5,[GOTOFF(eax,PD_ONEHALF)] psrad xmm3,SCALEBITS psrad xmm5,SCALEBITS packssdw xmm2,xmm4 ; xmm2=CbE*-FIX(0.344)+CrE*FIX(0.285) packssdw xmm3,xmm5 ; xmm3=CbO*-FIX(0.344)+CrO*FIX(0.285) psubw xmm2,xmm6 ; xmm2=CbE*-FIX(0.344)+CrE*-FIX(0.714)=(G-Y)E psubw xmm3,xmm7 ; xmm3=CbO*-FIX(0.344)+CrO*-FIX(0.714)=(G-Y)O movdqa xmm5, XMMWORD [esi] ; xmm5=Y(0123456789ABCDEF) pcmpeqw xmm4,xmm4 psrlw xmm4,BYTE_BIT ; xmm4={0xFF 0x00 0xFF 0x00 ..} pand xmm4,xmm5 ; xmm4=Y(02468ACE)=YE psrlw xmm5,BYTE_BIT ; xmm5=Y(13579BDF)=YO paddw xmm0,xmm4 ; xmm0=((R-Y)E+YE)=RE=R(02468ACE) paddw xmm1,xmm5 ; xmm1=((R-Y)O+YO)=RO=R(13579BDF) packuswb xmm0,xmm0 ; xmm0=R(02468ACE********) packuswb xmm1,xmm1 ; xmm1=R(13579BDF********) paddw xmm2,xmm4 ; xmm2=((G-Y)E+YE)=GE=G(02468ACE) paddw xmm3,xmm5 ; xmm3=((G-Y)O+YO)=GO=G(13579BDF) packuswb xmm2,xmm2 ; xmm2=G(02468ACE********) packuswb xmm3,xmm3 ; xmm3=G(13579BDF********) paddw xmm4, XMMWORD [wk(0)] ; xmm4=(YE+(B-Y)E)=BE=B(02468ACE) paddw xmm5, XMMWORD [wk(1)] ; xmm5=(YO+(B-Y)O)=BO=B(13579BDF) packuswb xmm4,xmm4 ; xmm4=B(02468ACE********) packuswb xmm5,xmm5 ; xmm5=B(13579BDF********) %if RGB_PIXELSIZE == 3 ; --------------- ; xmmA=(00 02 04 06 08 0A 0C 0E **), xmmB=(01 03 05 07 09 0B 0D 0F **) ; xmmC=(10 12 14 16 18 1A 1C 1E **), xmmD=(11 13 15 17 19 1B 1D 1F **) ; xmmE=(20 22 24 26 28 2A 2C 2E **), xmmF=(21 23 25 27 29 2B 2D 2F **) ; xmmG=(** ** ** ** ** ** ** ** **), xmmH=(** ** ** ** ** ** ** ** **) punpcklbw xmmA,xmmC ; xmmA=(00 10 02 12 04 14 06 16 08 18 0A 1A 0C 1C 0E 1E) punpcklbw xmmE,xmmB ; xmmE=(20 01 22 03 24 05 26 07 28 09 2A 0B 2C 0D 2E 0F) punpcklbw xmmD,xmmF ; xmmD=(11 21 13 23 15 25 17 27 19 29 1B 2B 1D 2D 1F 2F) movdqa xmmG,xmmA movdqa xmmH,xmmA punpcklwd xmmA,xmmE ; xmmA=(00 10 20 01 02 12 22 03 04 14 24 05 06 16 26 07) punpckhwd xmmG,xmmE ; xmmG=(08 18 28 09 0A 1A 2A 0B 0C 1C 2C 0D 0E 1E 2E 0F) psrldq xmmH,2 ; xmmH=(02 12 04 14 06 16 08 18 0A 1A 0C 1C 0E 1E -- --) psrldq xmmE,2 ; xmmE=(22 03 24 05 26 07 28 09 2A 0B 2C 0D 2E 0F -- --) movdqa xmmC,xmmD movdqa xmmB,xmmD punpcklwd xmmD,xmmH ; xmmD=(11 21 02 12 13 23 04 14 15 25 06 16 17 27 08 18) punpckhwd xmmC,xmmH ; xmmC=(19 29 0A 1A 1B 2B 0C 1C 1D 2D 0E 1E 1F 2F -- --) psrldq xmmB,2 ; xmmB=(13 23 15 25 17 27 19 29 1B 2B 1D 2D 1F 2F -- --) movdqa xmmF,xmmE punpcklwd xmmE,xmmB ; xmmE=(22 03 13 23 24 05 15 25 26 07 17 27 28 09 19 29) punpckhwd xmmF,xmmB ; xmmF=(2A 0B 1B 2B 2C 0D 1D 2D 2E 0F 1F 2F -- -- -- --) pshufd xmmH,xmmA,0x4E; xmmH=(04 14 24 05 06 16 26 07 00 10 20 01 02 12 22 03) movdqa xmmB,xmmE punpckldq xmmA,xmmD ; xmmA=(00 10 20 01 11 21 02 12 02 12 22 03 13 23 04 14) punpckldq xmmE,xmmH ; xmmE=(22 03 13 23 04 14 24 05 24 05 15 25 06 16 26 07) punpckhdq xmmD,xmmB ; xmmD=(15 25 06 16 26 07 17 27 17 27 08 18 28 09 19 29) pshufd xmmH,xmmG,0x4E; xmmH=(0C 1C 2C 0D 0E 1E 2E 0F 08 18 28 09 0A 1A 2A 0B) movdqa xmmB,xmmF punpckldq xmmG,xmmC ; xmmG=(08 18 28 09 19 29 0A 1A 0A 1A 2A 0B 1B 2B 0C 1C) punpckldq xmmF,xmmH ; xmmF=(2A 0B 1B 2B 0C 1C 2C 0D 2C 0D 1D 2D 0E 1E 2E 0F) punpckhdq xmmC,xmmB ; xmmC=(1D 2D 0E 1E 2E 0F 1F 2F 1F 2F -- -- -- -- -- --) punpcklqdq xmmA,xmmE ; xmmA=(00 10 20 01 11 21 02 12 22 03 13 23 04 14 24 05) punpcklqdq xmmD,xmmG ; xmmD=(15 25 06 16 26 07 17 27 08 18 28 09 19 29 0A 1A) punpcklqdq xmmF,xmmC ; xmmF=(2A 0B 1B 2B 0C 1C 2C 0D 1D 2D 0E 1E 2E 0F 1F 2F) cmp ecx, byte SIZEOF_XMMWORD jb short .column_st32 test edi, SIZEOF_XMMWORD-1 jnz short .out1 ; --(aligned)------------------- movntdq XMMWORD [edi+0*SIZEOF_XMMWORD], xmmA movntdq XMMWORD [edi+1*SIZEOF_XMMWORD], xmmD movntdq XMMWORD [edi+2*SIZEOF_XMMWORD], xmmF add edi, byte RGB_PIXELSIZE*SIZEOF_XMMWORD ; outptr jmp short .out0 .out1: ; --(unaligned)----------------- pcmpeqb xmmH,xmmH ; xmmH=(all 1's) maskmovdqu xmmA,xmmH ; movntdqu XMMWORD [edi], xmmA add edi, byte SIZEOF_XMMWORD ; outptr maskmovdqu xmmD,xmmH ; movntdqu XMMWORD [edi], xmmD add edi, byte SIZEOF_XMMWORD ; outptr maskmovdqu xmmF,xmmH ; movntdqu XMMWORD [edi], xmmF add edi, byte SIZEOF_XMMWORD ; outptr .out0: sub ecx, byte SIZEOF_XMMWORD jz near .nextrow add esi, byte SIZEOF_XMMWORD ; inptr0 add ebx, byte SIZEOF_XMMWORD ; inptr1 add edx, byte SIZEOF_XMMWORD ; inptr2 jmp near .columnloop alignx 16,7 .column_st32: pcmpeqb xmmH,xmmH ; xmmH=(all 1's) lea ecx, [ecx+ecx*2] ; imul ecx, RGB_PIXELSIZE cmp ecx, byte 2*SIZEOF_XMMWORD jb short .column_st16 maskmovdqu xmmA,xmmH ; movntdqu XMMWORD [edi], xmmA add edi, byte SIZEOF_XMMWORD ; outptr maskmovdqu xmmD,xmmH ; movntdqu XMMWORD [edi], xmmD add edi, byte SIZEOF_XMMWORD ; outptr movdqa xmmA,xmmF sub ecx, byte 2*SIZEOF_XMMWORD jmp short .column_st15 .column_st16: cmp ecx, byte SIZEOF_XMMWORD jb short .column_st15 maskmovdqu xmmA,xmmH ; movntdqu XMMWORD [edi], xmmA add edi, byte SIZEOF_XMMWORD ; outptr movdqa xmmA,xmmD sub ecx, byte SIZEOF_XMMWORD .column_st15: mov eax,ecx xor ecx, byte 0x0F shl ecx, 2 movd xmmB,ecx psrlq xmmH,4 pcmpeqb xmmE,xmmE psrlq xmmH,xmmB psrlq xmmE,xmmB punpcklbw xmmE,xmmH ; ---------------- mov ecx,edi and ecx, byte SIZEOF_XMMWORD-1 jz short .adj0 add eax,ecx cmp eax, byte SIZEOF_XMMWORD ja short .adj0 and edi, byte (-SIZEOF_XMMWORD) ; align to 16-byte boundary shl ecx, 3 ; pslldq xmmA,ecx & pslldq xmmE,ecx movdqa xmmG,xmmA movdqa xmmC,xmmE pslldq xmmA, SIZEOF_XMMWORD/2 pslldq xmmE, SIZEOF_XMMWORD/2 movd xmmD,ecx sub ecx, byte (SIZEOF_XMMWORD/2)*BYTE_BIT jb short .adj1 movd xmmF,ecx psllq xmmA,xmmF psllq xmmE,xmmF jmp short .adj0 .adj1: neg ecx movd xmmF,ecx psrlq xmmA,xmmF psrlq xmmE,xmmF psllq xmmG,xmmD psllq xmmC,xmmD por xmmA,xmmG por xmmE,xmmC .adj0: ; ---------------- maskmovdqu xmmA,xmmE ; movntdqu XMMWORD [edi], xmmA %else ; RGB_PIXELSIZE == 4 ; ----------- %ifdef RGBX_FILLER_0XFF pcmpeqb xmm6,xmm6 ; xmm6=XE=X(02468ACE********) pcmpeqb xmm7,xmm7 ; xmm7=XO=X(13579BDF********) %else pxor xmm6,xmm6 ; xmm6=XE=X(02468ACE********) pxor xmm7,xmm7 ; xmm7=XO=X(13579BDF********) %endif ; xmmA=(00 02 04 06 08 0A 0C 0E **), xmmB=(01 03 05 07 09 0B 0D 0F **) ; xmmC=(10 12 14 16 18 1A 1C 1E **), xmmD=(11 13 15 17 19 1B 1D 1F **) ; xmmE=(20 22 24 26 28 2A 2C 2E **), xmmF=(21 23 25 27 29 2B 2D 2F **) ; xmmG=(30 32 34 36 38 3A 3C 3E **), xmmH=(31 33 35 37 39 3B 3D 3F **) punpcklbw xmmA,xmmC ; xmmA=(00 10 02 12 04 14 06 16 08 18 0A 1A 0C 1C 0E 1E) punpcklbw xmmE,xmmG ; xmmE=(20 30 22 32 24 34 26 36 28 38 2A 3A 2C 3C 2E 3E) punpcklbw xmmB,xmmD ; xmmB=(01 11 03 13 05 15 07 17 09 19 0B 1B 0D 1D 0F 1F) punpcklbw xmmF,xmmH ; xmmF=(21 31 23 33 25 35 27 37 29 39 2B 3B 2D 3D 2F 3F) movdqa xmmC,xmmA punpcklwd xmmA,xmmE ; xmmA=(00 10 20 30 02 12 22 32 04 14 24 34 06 16 26 36) punpckhwd xmmC,xmmE ; xmmC=(08 18 28 38 0A 1A 2A 3A 0C 1C 2C 3C 0E 1E 2E 3E) movdqa xmmG,xmmB punpcklwd xmmB,xmmF ; xmmB=(01 11 21 31 03 13 23 33 05 15 25 35 07 17 27 37) punpckhwd xmmG,xmmF ; xmmG=(09 19 29 39 0B 1B 2B 3B 0D 1D 2D 3D 0F 1F 2F 3F) movdqa xmmD,xmmA punpckldq xmmA,xmmB ; xmmA=(00 10 20 30 01 11 21 31 02 12 22 32 03 13 23 33) punpckhdq xmmD,xmmB ; xmmD=(04 14 24 34 05 15 25 35 06 16 26 36 07 17 27 37) movdqa xmmH,xmmC punpckldq xmmC,xmmG ; xmmC=(08 18 28 38 09 19 29 39 0A 1A 2A 3A 0B 1B 2B 3B) punpckhdq xmmH,xmmG ; xmmH=(0C 1C 2C 3C 0D 1D 2D 3D 0E 1E 2E 3E 0F 1F 2F 3F) cmp ecx, byte SIZEOF_XMMWORD jb short .column_st32 test edi, SIZEOF_XMMWORD-1 jnz short .out1 ; --(aligned)------------------- movntdq XMMWORD [edi+0*SIZEOF_XMMWORD], xmmA movntdq XMMWORD [edi+1*SIZEOF_XMMWORD], xmmD movntdq XMMWORD [edi+2*SIZEOF_XMMWORD], xmmC movntdq XMMWORD [edi+3*SIZEOF_XMMWORD], xmmH add edi, byte RGB_PIXELSIZE*SIZEOF_XMMWORD ; outptr jmp short .out0 .out1: ; --(unaligned)----------------- pcmpeqb xmmE,xmmE ; xmmE=(all 1's) maskmovdqu xmmA,xmmE ; movntdqu XMMWORD [edi], xmmA add edi, byte SIZEOF_XMMWORD ; outptr maskmovdqu xmmD,xmmE ; movntdqu XMMWORD [edi], xmmD add edi, byte SIZEOF_XMMWORD ; outptr maskmovdqu xmmC,xmmE ; movntdqu XMMWORD [edi], xmmC add edi, byte SIZEOF_XMMWORD ; outptr maskmovdqu xmmH,xmmE ; movntdqu XMMWORD [edi], xmmH add edi, byte SIZEOF_XMMWORD ; outptr .out0: sub ecx, byte SIZEOF_XMMWORD jz near .nextrow add esi, byte SIZEOF_XMMWORD ; inptr0 add ebx, byte SIZEOF_XMMWORD ; inptr1 add edx, byte SIZEOF_XMMWORD ; inptr2 jmp near .columnloop alignx 16,7 .column_st32: pcmpeqb xmmE,xmmE ; xmmE=(all 1's) cmp ecx, byte SIZEOF_XMMWORD/2 jb short .column_st16 maskmovdqu xmmA,xmmE ; movntdqu XMMWORD [edi], xmmA add edi, byte SIZEOF_XMMWORD ; outptr maskmovdqu xmmD,xmmE ; movntdqu XMMWORD [edi], xmmD add edi, byte SIZEOF_XMMWORD ; outptr movdqa xmmA,xmmC movdqa xmmD,xmmH sub ecx, byte SIZEOF_XMMWORD/2 .column_st16: cmp ecx, byte SIZEOF_XMMWORD/4 jb short .column_st15 maskmovdqu xmmA,xmmE ; movntdqu XMMWORD [edi], xmmA add edi, byte SIZEOF_XMMWORD ; outptr movdqa xmmA,xmmD sub ecx, byte SIZEOF_XMMWORD/4 .column_st15: cmp ecx, byte SIZEOF_XMMWORD/16 jb short .nextrow mov eax,ecx xor ecx, byte 0x03 inc ecx shl ecx, 4 movd xmmF,ecx psrlq xmmE,xmmF punpcklbw xmmE,xmmE ; ---------------- mov ecx,edi and ecx, byte SIZEOF_XMMWORD-1 jz short .adj0 lea eax, [ecx+eax*4] ; RGB_PIXELSIZE cmp eax, byte SIZEOF_XMMWORD ja short .adj0 and edi, byte (-SIZEOF_XMMWORD) ; align to 16-byte boundary shl ecx, 3 ; pslldq xmmA,ecx & pslldq xmmE,ecx movdqa xmmB,xmmA movdqa xmmG,xmmE pslldq xmmA, SIZEOF_XMMWORD/2 pslldq xmmE, SIZEOF_XMMWORD/2 movd xmmC,ecx sub ecx, byte (SIZEOF_XMMWORD/2)*BYTE_BIT jb short .adj1 movd xmmH,ecx psllq xmmA,xmmH psllq xmmE,xmmH jmp short .adj0 .adj1: neg ecx movd xmmH,ecx psrlq xmmA,xmmH psrlq xmmE,xmmH psllq xmmB,xmmC psllq xmmG,xmmC por xmmA,xmmB por xmmE,xmmG .adj0: ; ---------------- maskmovdqu xmmA,xmmE ; movntdqu XMMWORD [edi], xmmA %endif ; RGB_PIXELSIZE ; --------------- alignx 16,7 .nextrow: pop ecx pop esi pop ebx pop edx pop edi pop eax add esi, byte SIZEOF_JSAMPROW add ebx, byte SIZEOF_JSAMPROW add edx, byte SIZEOF_JSAMPROW add edi, byte SIZEOF_JSAMPROW ; output_buf dec eax ; num_rows jg near .rowloop sfence ; flush the write buffer .return: pop edi pop esi ; pop edx ; need not be preserved ; pop ecx ; need not be preserved pop ebx mov esp,ebp ; esp <- aligned ebp pop esp ; esp <- original ebp pop ebp ret ; For some reason, the OS X linker does not honor the request to align the ; segment unless we do this. align 16
kernel.asm
SOOJEONGKIMM/Operating-System-3
0
170580
kernel: file format elf32-i386 Disassembly of section .text: 80100000 <multiboot_header>: 80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh 80100006: 00 00 add %al,(%eax) 80100008: fe 4f 52 decb 0x52(%edi) 8010000b: e4 .byte 0xe4 8010000c <entry>: # Entering xv6 on boot processor, with paging off. .globl entry entry: # Turn on page size extension for 4Mbyte pages movl %cr4, %eax 8010000c: 0f 20 e0 mov %cr4,%eax orl $(CR4_PSE), %eax 8010000f: 83 c8 10 or $0x10,%eax movl %eax, %cr4 80100012: 0f 22 e0 mov %eax,%cr4 # Set page directory movl $(V2P_WO(entrypgdir)), %eax 80100015: b8 00 90 10 00 mov $0x109000,%eax movl %eax, %cr3 8010001a: 0f 22 d8 mov %eax,%cr3 # Turn on paging. movl %cr0, %eax 8010001d: 0f 20 c0 mov %cr0,%eax orl $(CR0_PG|CR0_WP), %eax 80100020: 0d 00 00 01 80 or $0x80010000,%eax movl %eax, %cr0 80100025: 0f 22 c0 mov %eax,%cr0 # Set up the stack pointer. movl $(stack + KSTACKSIZE), %esp 80100028: bc c0 b5 10 80 mov $0x8010b5c0,%esp # Jump to main(), and switch to executing at # high addresses. The indirect call is needed because # the assembler produces a PC-relative instruction # for a direct jump. mov $main, %eax 8010002d: b8 b0 2e 10 80 mov $0x80102eb0,%eax jmp *%eax 80100032: ff e0 jmp *%eax 80100034: 66 90 xchg %ax,%ax 80100036: 66 90 xchg %ax,%ax 80100038: 66 90 xchg %ax,%ax 8010003a: 66 90 xchg %ax,%ax 8010003c: 66 90 xchg %ax,%ax 8010003e: 66 90 xchg %ax,%ax 80100040 <binit>: struct buf head; } bcache; void binit(void) { 80100040: 55 push %ebp 80100041: 89 e5 mov %esp,%ebp 80100043: 53 push %ebx //PAGEBREAK! // Create linked list of buffers bcache.head.prev = &bcache.head; bcache.head.next = &bcache.head; for(b = bcache.buf; b < bcache.buf+NBUF; b++){ 80100044: bb f4 b5 10 80 mov $0x8010b5f4,%ebx { 80100049: 83 ec 0c sub $0xc,%esp initlock(&bcache.lock, "bcache"); 8010004c: 68 80 72 10 80 push $0x80107280 80100051: 68 c0 b5 10 80 push $0x8010b5c0 80100056: e8 15 44 00 00 call 80104470 <initlock> bcache.head.prev = &bcache.head; 8010005b: c7 05 0c fd 10 80 bc movl $0x8010fcbc,0x8010fd0c 80100062: fc 10 80 bcache.head.next = &bcache.head; 80100065: c7 05 10 fd 10 80 bc movl $0x8010fcbc,0x8010fd10 8010006c: fc 10 80 8010006f: 83 c4 10 add $0x10,%esp 80100072: ba bc fc 10 80 mov $0x8010fcbc,%edx 80100077: eb 09 jmp 80100082 <binit+0x42> 80100079: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 80100080: 89 c3 mov %eax,%ebx b->next = bcache.head.next; b->prev = &bcache.head; initsleeplock(&b->lock, "buffer"); 80100082: 8d 43 0c lea 0xc(%ebx),%eax 80100085: 83 ec 08 sub $0x8,%esp b->next = bcache.head.next; 80100088: 89 53 54 mov %edx,0x54(%ebx) b->prev = &bcache.head; 8010008b: c7 43 50 bc fc 10 80 movl $0x8010fcbc,0x50(%ebx) initsleeplock(&b->lock, "buffer"); 80100092: 68 87 72 10 80 push $0x80107287 80100097: 50 push %eax 80100098: e8 a3 42 00 00 call 80104340 <initsleeplock> bcache.head.next->prev = b; 8010009d: a1 10 fd 10 80 mov 0x8010fd10,%eax for(b = bcache.buf; b < bcache.buf+NBUF; b++){ 801000a2: 83 c4 10 add $0x10,%esp 801000a5: 89 da mov %ebx,%edx bcache.head.next->prev = b; 801000a7: 89 58 50 mov %ebx,0x50(%eax) for(b = bcache.buf; b < bcache.buf+NBUF; b++){ 801000aa: 8d 83 5c 02 00 00 lea 0x25c(%ebx),%eax bcache.head.next = b; 801000b0: 89 1d 10 fd 10 80 mov %ebx,0x8010fd10 for(b = bcache.buf; b < bcache.buf+NBUF; b++){ 801000b6: 3d bc fc 10 80 cmp $0x8010fcbc,%eax 801000bb: 72 c3 jb 80100080 <binit+0x40> } } 801000bd: 8b 5d fc mov -0x4(%ebp),%ebx 801000c0: c9 leave 801000c1: c3 ret 801000c2: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 801000c9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 801000d0 <bread>: } // Return a locked buf with the contents of the indicated block. struct buf* bread(uint dev, uint blockno) { 801000d0: 55 push %ebp 801000d1: 89 e5 mov %esp,%ebp 801000d3: 57 push %edi 801000d4: 56 push %esi 801000d5: 53 push %ebx 801000d6: 83 ec 18 sub $0x18,%esp 801000d9: 8b 75 08 mov 0x8(%ebp),%esi 801000dc: 8b 7d 0c mov 0xc(%ebp),%edi acquire(&bcache.lock); 801000df: 68 c0 b5 10 80 push $0x8010b5c0 801000e4: e8 c7 44 00 00 call 801045b0 <acquire> for(b = bcache.head.next; b != &bcache.head; b = b->next){ 801000e9: 8b 1d 10 fd 10 80 mov 0x8010fd10,%ebx 801000ef: 83 c4 10 add $0x10,%esp 801000f2: 81 fb bc fc 10 80 cmp $0x8010fcbc,%ebx 801000f8: 75 11 jne 8010010b <bread+0x3b> 801000fa: eb 24 jmp 80100120 <bread+0x50> 801000fc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80100100: 8b 5b 54 mov 0x54(%ebx),%ebx 80100103: 81 fb bc fc 10 80 cmp $0x8010fcbc,%ebx 80100109: 74 15 je 80100120 <bread+0x50> if(b->dev == dev && b->blockno == blockno){ 8010010b: 3b 73 04 cmp 0x4(%ebx),%esi 8010010e: 75 f0 jne 80100100 <bread+0x30> 80100110: 3b 7b 08 cmp 0x8(%ebx),%edi 80100113: 75 eb jne 80100100 <bread+0x30> b->refcnt++; 80100115: 83 43 4c 01 addl $0x1,0x4c(%ebx) 80100119: eb 3f jmp 8010015a <bread+0x8a> 8010011b: 90 nop 8010011c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi for(b = bcache.head.prev; b != &bcache.head; b = b->prev){ 80100120: 8b 1d 0c fd 10 80 mov 0x8010fd0c,%ebx 80100126: 81 fb bc fc 10 80 cmp $0x8010fcbc,%ebx 8010012c: 75 0d jne 8010013b <bread+0x6b> 8010012e: eb 60 jmp 80100190 <bread+0xc0> 80100130: 8b 5b 50 mov 0x50(%ebx),%ebx 80100133: 81 fb bc fc 10 80 cmp $0x8010fcbc,%ebx 80100139: 74 55 je 80100190 <bread+0xc0> if(b->refcnt == 0 && (b->flags & B_DIRTY) == 0) { 8010013b: 8b 43 4c mov 0x4c(%ebx),%eax 8010013e: 85 c0 test %eax,%eax 80100140: 75 ee jne 80100130 <bread+0x60> 80100142: f6 03 04 testb $0x4,(%ebx) 80100145: 75 e9 jne 80100130 <bread+0x60> b->dev = dev; 80100147: 89 73 04 mov %esi,0x4(%ebx) b->blockno = blockno; 8010014a: 89 7b 08 mov %edi,0x8(%ebx) b->flags = 0; 8010014d: c7 03 00 00 00 00 movl $0x0,(%ebx) b->refcnt = 1; 80100153: c7 43 4c 01 00 00 00 movl $0x1,0x4c(%ebx) release(&bcache.lock); 8010015a: 83 ec 0c sub $0xc,%esp 8010015d: 68 c0 b5 10 80 push $0x8010b5c0 80100162: e8 09 45 00 00 call 80104670 <release> acquiresleep(&b->lock); 80100167: 8d 43 0c lea 0xc(%ebx),%eax 8010016a: 89 04 24 mov %eax,(%esp) 8010016d: e8 0e 42 00 00 call 80104380 <acquiresleep> 80100172: 83 c4 10 add $0x10,%esp struct buf *b; b = bget(dev, blockno); if((b->flags & B_VALID) == 0) { 80100175: f6 03 02 testb $0x2,(%ebx) 80100178: 75 0c jne 80100186 <bread+0xb6> iderw(b); 8010017a: 83 ec 0c sub $0xc,%esp 8010017d: 53 push %ebx 8010017e: e8 ad 1f 00 00 call 80102130 <iderw> 80100183: 83 c4 10 add $0x10,%esp } return b; } 80100186: 8d 65 f4 lea -0xc(%ebp),%esp 80100189: 89 d8 mov %ebx,%eax 8010018b: 5b pop %ebx 8010018c: 5e pop %esi 8010018d: 5f pop %edi 8010018e: 5d pop %ebp 8010018f: c3 ret panic("bget: no buffers"); 80100190: 83 ec 0c sub $0xc,%esp 80100193: 68 8e 72 10 80 push $0x8010728e 80100198: e8 f3 01 00 00 call 80100390 <panic> 8010019d: 8d 76 00 lea 0x0(%esi),%esi 801001a0 <bwrite>: // Write b's contents to disk. Must be locked. void bwrite(struct buf *b) { 801001a0: 55 push %ebp 801001a1: 89 e5 mov %esp,%ebp 801001a3: 53 push %ebx 801001a4: 83 ec 10 sub $0x10,%esp 801001a7: 8b 5d 08 mov 0x8(%ebp),%ebx if(!holdingsleep(&b->lock)) 801001aa: 8d 43 0c lea 0xc(%ebx),%eax 801001ad: 50 push %eax 801001ae: e8 6d 42 00 00 call 80104420 <holdingsleep> 801001b3: 83 c4 10 add $0x10,%esp 801001b6: 85 c0 test %eax,%eax 801001b8: 74 0f je 801001c9 <bwrite+0x29> panic("bwrite"); b->flags |= B_DIRTY; 801001ba: 83 0b 04 orl $0x4,(%ebx) iderw(b); 801001bd: 89 5d 08 mov %ebx,0x8(%ebp) } 801001c0: 8b 5d fc mov -0x4(%ebp),%ebx 801001c3: c9 leave iderw(b); 801001c4: e9 67 1f 00 00 jmp 80102130 <iderw> panic("bwrite"); 801001c9: 83 ec 0c sub $0xc,%esp 801001cc: 68 9f 72 10 80 push $0x8010729f 801001d1: e8 ba 01 00 00 call 80100390 <panic> 801001d6: 8d 76 00 lea 0x0(%esi),%esi 801001d9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 801001e0 <brelse>: // Release a locked buffer. // Move to the head of the MRU list. void brelse(struct buf *b) { 801001e0: 55 push %ebp 801001e1: 89 e5 mov %esp,%ebp 801001e3: 56 push %esi 801001e4: 53 push %ebx 801001e5: 8b 5d 08 mov 0x8(%ebp),%ebx if(!holdingsleep(&b->lock)) 801001e8: 83 ec 0c sub $0xc,%esp 801001eb: 8d 73 0c lea 0xc(%ebx),%esi 801001ee: 56 push %esi 801001ef: e8 2c 42 00 00 call 80104420 <holdingsleep> 801001f4: 83 c4 10 add $0x10,%esp 801001f7: 85 c0 test %eax,%eax 801001f9: 74 66 je 80100261 <brelse+0x81> panic("brelse"); releasesleep(&b->lock); 801001fb: 83 ec 0c sub $0xc,%esp 801001fe: 56 push %esi 801001ff: e8 dc 41 00 00 call 801043e0 <releasesleep> acquire(&bcache.lock); 80100204: c7 04 24 c0 b5 10 80 movl $0x8010b5c0,(%esp) 8010020b: e8 a0 43 00 00 call 801045b0 <acquire> b->refcnt--; 80100210: 8b 43 4c mov 0x4c(%ebx),%eax if (b->refcnt == 0) { 80100213: 83 c4 10 add $0x10,%esp b->refcnt--; 80100216: 83 e8 01 sub $0x1,%eax if (b->refcnt == 0) { 80100219: 85 c0 test %eax,%eax b->refcnt--; 8010021b: 89 43 4c mov %eax,0x4c(%ebx) if (b->refcnt == 0) { 8010021e: 75 2f jne 8010024f <brelse+0x6f> // no one is waiting for it. b->next->prev = b->prev; 80100220: 8b 43 54 mov 0x54(%ebx),%eax 80100223: 8b 53 50 mov 0x50(%ebx),%edx 80100226: 89 50 50 mov %edx,0x50(%eax) b->prev->next = b->next; 80100229: 8b 43 50 mov 0x50(%ebx),%eax 8010022c: 8b 53 54 mov 0x54(%ebx),%edx 8010022f: 89 50 54 mov %edx,0x54(%eax) b->next = bcache.head.next; 80100232: a1 10 fd 10 80 mov 0x8010fd10,%eax b->prev = &bcache.head; 80100237: c7 43 50 bc fc 10 80 movl $0x8010fcbc,0x50(%ebx) b->next = bcache.head.next; 8010023e: 89 43 54 mov %eax,0x54(%ebx) bcache.head.next->prev = b; 80100241: a1 10 fd 10 80 mov 0x8010fd10,%eax 80100246: 89 58 50 mov %ebx,0x50(%eax) bcache.head.next = b; 80100249: 89 1d 10 fd 10 80 mov %ebx,0x8010fd10 } release(&bcache.lock); 8010024f: c7 45 08 c0 b5 10 80 movl $0x8010b5c0,0x8(%ebp) } 80100256: 8d 65 f8 lea -0x8(%ebp),%esp 80100259: 5b pop %ebx 8010025a: 5e pop %esi 8010025b: 5d pop %ebp release(&bcache.lock); 8010025c: e9 0f 44 00 00 jmp 80104670 <release> panic("brelse"); 80100261: 83 ec 0c sub $0xc,%esp 80100264: 68 a6 72 10 80 push $0x801072a6 80100269: e8 22 01 00 00 call 80100390 <panic> 8010026e: 66 90 xchg %ax,%ax 80100270 <consoleread>: } } int consoleread(struct inode *ip, char *dst, int n) { 80100270: 55 push %ebp 80100271: 89 e5 mov %esp,%ebp 80100273: 57 push %edi 80100274: 56 push %esi 80100275: 53 push %ebx 80100276: 83 ec 28 sub $0x28,%esp 80100279: 8b 7d 08 mov 0x8(%ebp),%edi 8010027c: 8b 75 0c mov 0xc(%ebp),%esi uint target; int c; iunlock(ip); 8010027f: 57 push %edi 80100280: e8 eb 14 00 00 call 80101770 <iunlock> target = n; acquire(&cons.lock); 80100285: c7 04 24 20 a5 10 80 movl $0x8010a520,(%esp) 8010028c: e8 1f 43 00 00 call 801045b0 <acquire> while(n > 0){ 80100291: 8b 5d 10 mov 0x10(%ebp),%ebx 80100294: 83 c4 10 add $0x10,%esp 80100297: 31 c0 xor %eax,%eax 80100299: 85 db test %ebx,%ebx 8010029b: 0f 8e a1 00 00 00 jle 80100342 <consoleread+0xd2> while(input.r == input.w){ 801002a1: 8b 15 a0 ff 10 80 mov 0x8010ffa0,%edx 801002a7: 39 15 a4 ff 10 80 cmp %edx,0x8010ffa4 801002ad: 74 2c je 801002db <consoleread+0x6b> 801002af: eb 5f jmp 80100310 <consoleread+0xa0> 801002b1: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi if(myproc()->killed){ release(&cons.lock); ilock(ip); return -1; } sleep(&input.r, &cons.lock); 801002b8: 83 ec 08 sub $0x8,%esp 801002bb: 68 20 a5 10 80 push $0x8010a520 801002c0: 68 a0 ff 10 80 push $0x8010ffa0 801002c5: e8 36 3b 00 00 call 80103e00 <sleep> while(input.r == input.w){ 801002ca: 8b 15 a0 ff 10 80 mov 0x8010ffa0,%edx 801002d0: 83 c4 10 add $0x10,%esp 801002d3: 3b 15 a4 ff 10 80 cmp 0x8010ffa4,%edx 801002d9: 75 35 jne 80100310 <consoleread+0xa0> if(myproc()->killed){ 801002db: e8 20 35 00 00 call 80103800 <myproc> 801002e0: 8b 40 28 mov 0x28(%eax),%eax 801002e3: 85 c0 test %eax,%eax 801002e5: 74 d1 je 801002b8 <consoleread+0x48> release(&cons.lock); 801002e7: 83 ec 0c sub $0xc,%esp 801002ea: 68 20 a5 10 80 push $0x8010a520 801002ef: e8 7c 43 00 00 call 80104670 <release> ilock(ip); 801002f4: 89 3c 24 mov %edi,(%esp) 801002f7: e8 94 13 00 00 call 80101690 <ilock> return -1; 801002fc: 83 c4 10 add $0x10,%esp } release(&cons.lock); ilock(ip); return target - n; } 801002ff: 8d 65 f4 lea -0xc(%ebp),%esp return -1; 80100302: b8 ff ff ff ff mov $0xffffffff,%eax } 80100307: 5b pop %ebx 80100308: 5e pop %esi 80100309: 5f pop %edi 8010030a: 5d pop %ebp 8010030b: c3 ret 8010030c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi c = input.buf[input.r++ % INPUT_BUF]; 80100310: 8d 42 01 lea 0x1(%edx),%eax 80100313: a3 a0 ff 10 80 mov %eax,0x8010ffa0 80100318: 89 d0 mov %edx,%eax 8010031a: 83 e0 7f and $0x7f,%eax 8010031d: 0f be 80 20 ff 10 80 movsbl -0x7fef00e0(%eax),%eax if(c == C('D')){ // EOF 80100324: 83 f8 04 cmp $0x4,%eax 80100327: 74 3f je 80100368 <consoleread+0xf8> *dst++ = c; 80100329: 83 c6 01 add $0x1,%esi --n; 8010032c: 83 eb 01 sub $0x1,%ebx if(c == '\n') 8010032f: 83 f8 0a cmp $0xa,%eax *dst++ = c; 80100332: 88 46 ff mov %al,-0x1(%esi) if(c == '\n') 80100335: 74 43 je 8010037a <consoleread+0x10a> while(n > 0){ 80100337: 85 db test %ebx,%ebx 80100339: 0f 85 62 ff ff ff jne 801002a1 <consoleread+0x31> 8010033f: 8b 45 10 mov 0x10(%ebp),%eax release(&cons.lock); 80100342: 83 ec 0c sub $0xc,%esp 80100345: 89 45 e4 mov %eax,-0x1c(%ebp) 80100348: 68 20 a5 10 80 push $0x8010a520 8010034d: e8 1e 43 00 00 call 80104670 <release> ilock(ip); 80100352: 89 3c 24 mov %edi,(%esp) 80100355: e8 36 13 00 00 call 80101690 <ilock> return target - n; 8010035a: 8b 45 e4 mov -0x1c(%ebp),%eax 8010035d: 83 c4 10 add $0x10,%esp } 80100360: 8d 65 f4 lea -0xc(%ebp),%esp 80100363: 5b pop %ebx 80100364: 5e pop %esi 80100365: 5f pop %edi 80100366: 5d pop %ebp 80100367: c3 ret 80100368: 8b 45 10 mov 0x10(%ebp),%eax 8010036b: 29 d8 sub %ebx,%eax if(n < target){ 8010036d: 3b 5d 10 cmp 0x10(%ebp),%ebx 80100370: 73 d0 jae 80100342 <consoleread+0xd2> input.r--; 80100372: 89 15 a0 ff 10 80 mov %edx,0x8010ffa0 80100378: eb c8 jmp 80100342 <consoleread+0xd2> 8010037a: 8b 45 10 mov 0x10(%ebp),%eax 8010037d: 29 d8 sub %ebx,%eax 8010037f: eb c1 jmp 80100342 <consoleread+0xd2> 80100381: eb 0d jmp 80100390 <panic> 80100383: 90 nop 80100384: 90 nop 80100385: 90 nop 80100386: 90 nop 80100387: 90 nop 80100388: 90 nop 80100389: 90 nop 8010038a: 90 nop 8010038b: 90 nop 8010038c: 90 nop 8010038d: 90 nop 8010038e: 90 nop 8010038f: 90 nop 80100390 <panic>: { 80100390: 55 push %ebp 80100391: 89 e5 mov %esp,%ebp 80100393: 56 push %esi 80100394: 53 push %ebx 80100395: 83 ec 30 sub $0x30,%esp } static inline void cli(void) { asm volatile("cli"); 80100398: fa cli cons.locking = 0; 80100399: c7 05 54 a5 10 80 00 movl $0x0,0x8010a554 801003a0: 00 00 00 getcallerpcs(&s, pcs); 801003a3: 8d 5d d0 lea -0x30(%ebp),%ebx 801003a6: 8d 75 f8 lea -0x8(%ebp),%esi cprintf("lapicid %d: panic: ", lapicid()); 801003a9: e8 92 23 00 00 call 80102740 <lapicid> 801003ae: 83 ec 08 sub $0x8,%esp 801003b1: 50 push %eax 801003b2: 68 ad 72 10 80 push $0x801072ad 801003b7: e8 a4 02 00 00 call 80100660 <cprintf> cprintf(s); 801003bc: 58 pop %eax 801003bd: ff 75 08 pushl 0x8(%ebp) 801003c0: e8 9b 02 00 00 call 80100660 <cprintf> cprintf("\n"); 801003c5: c7 04 24 b3 7c 10 80 movl $0x80107cb3,(%esp) 801003cc: e8 8f 02 00 00 call 80100660 <cprintf> getcallerpcs(&s, pcs); 801003d1: 5a pop %edx 801003d2: 8d 45 08 lea 0x8(%ebp),%eax 801003d5: 59 pop %ecx 801003d6: 53 push %ebx 801003d7: 50 push %eax 801003d8: e8 b3 40 00 00 call 80104490 <getcallerpcs> 801003dd: 83 c4 10 add $0x10,%esp cprintf(" %p", pcs[i]); 801003e0: 83 ec 08 sub $0x8,%esp 801003e3: ff 33 pushl (%ebx) 801003e5: 83 c3 04 add $0x4,%ebx 801003e8: 68 c1 72 10 80 push $0x801072c1 801003ed: e8 6e 02 00 00 call 80100660 <cprintf> for(i=0; i<10; i++) 801003f2: 83 c4 10 add $0x10,%esp 801003f5: 39 f3 cmp %esi,%ebx 801003f7: 75 e7 jne 801003e0 <panic+0x50> panicked = 1; // freeze other CPU 801003f9: c7 05 58 a5 10 80 01 movl $0x1,0x8010a558 80100400: 00 00 00 80100403: eb fe jmp 80100403 <panic+0x73> 80100405: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80100409: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80100410 <consputc>: if(panicked){ 80100410: 8b 0d 58 a5 10 80 mov 0x8010a558,%ecx 80100416: 85 c9 test %ecx,%ecx 80100418: 74 06 je 80100420 <consputc+0x10> 8010041a: fa cli 8010041b: eb fe jmp 8010041b <consputc+0xb> 8010041d: 8d 76 00 lea 0x0(%esi),%esi { 80100420: 55 push %ebp 80100421: 89 e5 mov %esp,%ebp 80100423: 57 push %edi 80100424: 56 push %esi 80100425: 53 push %ebx 80100426: 89 c6 mov %eax,%esi 80100428: 83 ec 0c sub $0xc,%esp if(c == BACKSPACE){ 8010042b: 3d 00 01 00 00 cmp $0x100,%eax 80100430: 0f 84 b1 00 00 00 je 801004e7 <consputc+0xd7> uartputc(c); 80100436: 83 ec 0c sub $0xc,%esp 80100439: 50 push %eax 8010043a: e8 41 5a 00 00 call 80105e80 <uartputc> 8010043f: 83 c4 10 add $0x10,%esp asm volatile("out %0,%1" : : "a" (data), "d" (port)); 80100442: bb d4 03 00 00 mov $0x3d4,%ebx 80100447: b8 0e 00 00 00 mov $0xe,%eax 8010044c: 89 da mov %ebx,%edx 8010044e: ee out %al,(%dx) asm volatile("in %1,%0" : "=a" (data) : "d" (port)); 8010044f: b9 d5 03 00 00 mov $0x3d5,%ecx 80100454: 89 ca mov %ecx,%edx 80100456: ec in (%dx),%al pos = inb(CRTPORT+1) << 8; 80100457: 0f b6 c0 movzbl %al,%eax asm volatile("out %0,%1" : : "a" (data), "d" (port)); 8010045a: 89 da mov %ebx,%edx 8010045c: c1 e0 08 shl $0x8,%eax 8010045f: 89 c7 mov %eax,%edi 80100461: b8 0f 00 00 00 mov $0xf,%eax 80100466: ee out %al,(%dx) asm volatile("in %1,%0" : "=a" (data) : "d" (port)); 80100467: 89 ca mov %ecx,%edx 80100469: ec in (%dx),%al 8010046a: 0f b6 d8 movzbl %al,%ebx pos |= inb(CRTPORT+1); 8010046d: 09 fb or %edi,%ebx if(c == '\n') 8010046f: 83 fe 0a cmp $0xa,%esi 80100472: 0f 84 f3 00 00 00 je 8010056b <consputc+0x15b> else if(c == BACKSPACE){ 80100478: 81 fe 00 01 00 00 cmp $0x100,%esi 8010047e: 0f 84 d7 00 00 00 je 8010055b <consputc+0x14b> crt[pos++] = (c&0xff) | 0x0700; // black on white 80100484: 89 f0 mov %esi,%eax 80100486: 0f b6 c0 movzbl %al,%eax 80100489: 80 cc 07 or $0x7,%ah 8010048c: 66 89 84 1b 00 80 0b mov %ax,-0x7ff48000(%ebx,%ebx,1) 80100493: 80 80100494: 83 c3 01 add $0x1,%ebx if(pos < 0 || pos > 25*80) 80100497: 81 fb d0 07 00 00 cmp $0x7d0,%ebx 8010049d: 0f 8f ab 00 00 00 jg 8010054e <consputc+0x13e> if((pos/80) >= 24){ // Scroll up. 801004a3: 81 fb 7f 07 00 00 cmp $0x77f,%ebx 801004a9: 7f 66 jg 80100511 <consputc+0x101> asm volatile("out %0,%1" : : "a" (data), "d" (port)); 801004ab: be d4 03 00 00 mov $0x3d4,%esi 801004b0: b8 0e 00 00 00 mov $0xe,%eax 801004b5: 89 f2 mov %esi,%edx 801004b7: ee out %al,(%dx) 801004b8: b9 d5 03 00 00 mov $0x3d5,%ecx outb(CRTPORT+1, pos>>8); 801004bd: 89 d8 mov %ebx,%eax 801004bf: c1 f8 08 sar $0x8,%eax 801004c2: 89 ca mov %ecx,%edx 801004c4: ee out %al,(%dx) 801004c5: b8 0f 00 00 00 mov $0xf,%eax 801004ca: 89 f2 mov %esi,%edx 801004cc: ee out %al,(%dx) 801004cd: 89 d8 mov %ebx,%eax 801004cf: 89 ca mov %ecx,%edx 801004d1: ee out %al,(%dx) crt[pos] = ' ' | 0x0700; 801004d2: b8 20 07 00 00 mov $0x720,%eax 801004d7: 66 89 84 1b 00 80 0b mov %ax,-0x7ff48000(%ebx,%ebx,1) 801004de: 80 } 801004df: 8d 65 f4 lea -0xc(%ebp),%esp 801004e2: 5b pop %ebx 801004e3: 5e pop %esi 801004e4: 5f pop %edi 801004e5: 5d pop %ebp 801004e6: c3 ret uartputc('\b'); uartputc(' '); uartputc('\b'); 801004e7: 83 ec 0c sub $0xc,%esp 801004ea: 6a 08 push $0x8 801004ec: e8 8f 59 00 00 call 80105e80 <uartputc> 801004f1: c7 04 24 20 00 00 00 movl $0x20,(%esp) 801004f8: e8 83 59 00 00 call 80105e80 <uartputc> 801004fd: c7 04 24 08 00 00 00 movl $0x8,(%esp) 80100504: e8 77 59 00 00 call 80105e80 <uartputc> 80100509: 83 c4 10 add $0x10,%esp 8010050c: e9 31 ff ff ff jmp 80100442 <consputc+0x32> memmove(crt, crt+80, sizeof(crt[0])*23*80); 80100511: 52 push %edx 80100512: 68 60 0e 00 00 push $0xe60 pos -= 80; 80100517: 83 eb 50 sub $0x50,%ebx memmove(crt, crt+80, sizeof(crt[0])*23*80); 8010051a: 68 a0 80 0b 80 push $0x800b80a0 8010051f: 68 00 80 0b 80 push $0x800b8000 80100524: e8 47 42 00 00 call 80104770 <memmove> memset(crt+pos, 0, sizeof(crt[0])*(24*80 - pos)); 80100529: b8 80 07 00 00 mov $0x780,%eax 8010052e: 83 c4 0c add $0xc,%esp 80100531: 29 d8 sub %ebx,%eax 80100533: 01 c0 add %eax,%eax 80100535: 50 push %eax 80100536: 8d 04 1b lea (%ebx,%ebx,1),%eax 80100539: 6a 00 push $0x0 8010053b: 2d 00 80 f4 7f sub $0x7ff48000,%eax 80100540: 50 push %eax 80100541: e8 7a 41 00 00 call 801046c0 <memset> 80100546: 83 c4 10 add $0x10,%esp 80100549: e9 5d ff ff ff jmp 801004ab <consputc+0x9b> panic("pos under/overflow"); 8010054e: 83 ec 0c sub $0xc,%esp 80100551: 68 c5 72 10 80 push $0x801072c5 80100556: e8 35 fe ff ff call 80100390 <panic> if(pos > 0) --pos; 8010055b: 85 db test %ebx,%ebx 8010055d: 0f 84 48 ff ff ff je 801004ab <consputc+0x9b> 80100563: 83 eb 01 sub $0x1,%ebx 80100566: e9 2c ff ff ff jmp 80100497 <consputc+0x87> pos += 80 - pos%80; 8010056b: 89 d8 mov %ebx,%eax 8010056d: b9 50 00 00 00 mov $0x50,%ecx 80100572: 99 cltd 80100573: f7 f9 idiv %ecx 80100575: 29 d1 sub %edx,%ecx 80100577: 01 cb add %ecx,%ebx 80100579: e9 19 ff ff ff jmp 80100497 <consputc+0x87> 8010057e: 66 90 xchg %ax,%ax 80100580 <printint>: { 80100580: 55 push %ebp 80100581: 89 e5 mov %esp,%ebp 80100583: 57 push %edi 80100584: 56 push %esi 80100585: 53 push %ebx 80100586: 89 d3 mov %edx,%ebx 80100588: 83 ec 2c sub $0x2c,%esp if(sign && (sign = xx < 0)) 8010058b: 85 c9 test %ecx,%ecx { 8010058d: 89 4d d4 mov %ecx,-0x2c(%ebp) if(sign && (sign = xx < 0)) 80100590: 74 04 je 80100596 <printint+0x16> 80100592: 85 c0 test %eax,%eax 80100594: 78 5a js 801005f0 <printint+0x70> x = xx; 80100596: c7 45 d4 00 00 00 00 movl $0x0,-0x2c(%ebp) i = 0; 8010059d: 31 c9 xor %ecx,%ecx 8010059f: 8d 75 d7 lea -0x29(%ebp),%esi 801005a2: eb 06 jmp 801005aa <printint+0x2a> 801005a4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi buf[i++] = digits[x % base]; 801005a8: 89 f9 mov %edi,%ecx 801005aa: 31 d2 xor %edx,%edx 801005ac: 8d 79 01 lea 0x1(%ecx),%edi 801005af: f7 f3 div %ebx 801005b1: 0f b6 92 f0 72 10 80 movzbl -0x7fef8d10(%edx),%edx }while((x /= base) != 0); 801005b8: 85 c0 test %eax,%eax buf[i++] = digits[x % base]; 801005ba: 88 14 3e mov %dl,(%esi,%edi,1) }while((x /= base) != 0); 801005bd: 75 e9 jne 801005a8 <printint+0x28> if(sign) 801005bf: 8b 45 d4 mov -0x2c(%ebp),%eax 801005c2: 85 c0 test %eax,%eax 801005c4: 74 08 je 801005ce <printint+0x4e> buf[i++] = '-'; 801005c6: c6 44 3d d8 2d movb $0x2d,-0x28(%ebp,%edi,1) 801005cb: 8d 79 02 lea 0x2(%ecx),%edi 801005ce: 8d 5c 3d d7 lea -0x29(%ebp,%edi,1),%ebx 801005d2: 8d b6 00 00 00 00 lea 0x0(%esi),%esi consputc(buf[i]); 801005d8: 0f be 03 movsbl (%ebx),%eax 801005db: 83 eb 01 sub $0x1,%ebx 801005de: e8 2d fe ff ff call 80100410 <consputc> while(--i >= 0) 801005e3: 39 f3 cmp %esi,%ebx 801005e5: 75 f1 jne 801005d8 <printint+0x58> } 801005e7: 83 c4 2c add $0x2c,%esp 801005ea: 5b pop %ebx 801005eb: 5e pop %esi 801005ec: 5f pop %edi 801005ed: 5d pop %ebp 801005ee: c3 ret 801005ef: 90 nop x = -xx; 801005f0: f7 d8 neg %eax 801005f2: eb a9 jmp 8010059d <printint+0x1d> 801005f4: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 801005fa: 8d bf 00 00 00 00 lea 0x0(%edi),%edi 80100600 <consolewrite>: int consolewrite(struct inode *ip, char *buf, int n) { 80100600: 55 push %ebp 80100601: 89 e5 mov %esp,%ebp 80100603: 57 push %edi 80100604: 56 push %esi 80100605: 53 push %ebx 80100606: 83 ec 18 sub $0x18,%esp 80100609: 8b 75 10 mov 0x10(%ebp),%esi int i; iunlock(ip); 8010060c: ff 75 08 pushl 0x8(%ebp) 8010060f: e8 5c 11 00 00 call 80101770 <iunlock> acquire(&cons.lock); 80100614: c7 04 24 20 a5 10 80 movl $0x8010a520,(%esp) 8010061b: e8 90 3f 00 00 call 801045b0 <acquire> for(i = 0; i < n; i++) 80100620: 83 c4 10 add $0x10,%esp 80100623: 85 f6 test %esi,%esi 80100625: 7e 18 jle 8010063f <consolewrite+0x3f> 80100627: 8b 7d 0c mov 0xc(%ebp),%edi 8010062a: 8d 1c 37 lea (%edi,%esi,1),%ebx 8010062d: 8d 76 00 lea 0x0(%esi),%esi consputc(buf[i] & 0xff); 80100630: 0f b6 07 movzbl (%edi),%eax 80100633: 83 c7 01 add $0x1,%edi 80100636: e8 d5 fd ff ff call 80100410 <consputc> for(i = 0; i < n; i++) 8010063b: 39 fb cmp %edi,%ebx 8010063d: 75 f1 jne 80100630 <consolewrite+0x30> release(&cons.lock); 8010063f: 83 ec 0c sub $0xc,%esp 80100642: 68 20 a5 10 80 push $0x8010a520 80100647: e8 24 40 00 00 call 80104670 <release> ilock(ip); 8010064c: 58 pop %eax 8010064d: ff 75 08 pushl 0x8(%ebp) 80100650: e8 3b 10 00 00 call 80101690 <ilock> return n; } 80100655: 8d 65 f4 lea -0xc(%ebp),%esp 80100658: 89 f0 mov %esi,%eax 8010065a: 5b pop %ebx 8010065b: 5e pop %esi 8010065c: 5f pop %edi 8010065d: 5d pop %ebp 8010065e: c3 ret 8010065f: 90 nop 80100660 <cprintf>: { 80100660: 55 push %ebp 80100661: 89 e5 mov %esp,%ebp 80100663: 57 push %edi 80100664: 56 push %esi 80100665: 53 push %ebx 80100666: 83 ec 1c sub $0x1c,%esp locking = cons.locking; 80100669: a1 54 a5 10 80 mov 0x8010a554,%eax if(locking) 8010066e: 85 c0 test %eax,%eax locking = cons.locking; 80100670: 89 45 dc mov %eax,-0x24(%ebp) if(locking) 80100673: 0f 85 6f 01 00 00 jne 801007e8 <cprintf+0x188> if (fmt == 0) 80100679: 8b 45 08 mov 0x8(%ebp),%eax 8010067c: 85 c0 test %eax,%eax 8010067e: 89 c7 mov %eax,%edi 80100680: 0f 84 77 01 00 00 je 801007fd <cprintf+0x19d> for(i = 0; (c = fmt[i] & 0xff) != 0; i++){ 80100686: 0f b6 00 movzbl (%eax),%eax argp = (uint*)(void*)(&fmt + 1); 80100689: 8d 4d 0c lea 0xc(%ebp),%ecx for(i = 0; (c = fmt[i] & 0xff) != 0; i++){ 8010068c: 31 db xor %ebx,%ebx argp = (uint*)(void*)(&fmt + 1); 8010068e: 89 4d e4 mov %ecx,-0x1c(%ebp) for(i = 0; (c = fmt[i] & 0xff) != 0; i++){ 80100691: 85 c0 test %eax,%eax 80100693: 75 56 jne 801006eb <cprintf+0x8b> 80100695: eb 79 jmp 80100710 <cprintf+0xb0> 80100697: 89 f6 mov %esi,%esi 80100699: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi c = fmt[++i] & 0xff; 801006a0: 0f b6 16 movzbl (%esi),%edx if(c == 0) 801006a3: 85 d2 test %edx,%edx 801006a5: 74 69 je 80100710 <cprintf+0xb0> 801006a7: 83 c3 02 add $0x2,%ebx switch(c){ 801006aa: 83 fa 70 cmp $0x70,%edx 801006ad: 8d 34 1f lea (%edi,%ebx,1),%esi 801006b0: 0f 84 84 00 00 00 je 8010073a <cprintf+0xda> 801006b6: 7f 78 jg 80100730 <cprintf+0xd0> 801006b8: 83 fa 25 cmp $0x25,%edx 801006bb: 0f 84 ff 00 00 00 je 801007c0 <cprintf+0x160> 801006c1: 83 fa 64 cmp $0x64,%edx 801006c4: 0f 85 8e 00 00 00 jne 80100758 <cprintf+0xf8> printint(*argp++, 10, 1); 801006ca: 8b 45 e4 mov -0x1c(%ebp),%eax 801006cd: ba 0a 00 00 00 mov $0xa,%edx 801006d2: 8d 48 04 lea 0x4(%eax),%ecx 801006d5: 8b 00 mov (%eax),%eax 801006d7: 89 4d e4 mov %ecx,-0x1c(%ebp) 801006da: b9 01 00 00 00 mov $0x1,%ecx 801006df: e8 9c fe ff ff call 80100580 <printint> for(i = 0; (c = fmt[i] & 0xff) != 0; i++){ 801006e4: 0f b6 06 movzbl (%esi),%eax 801006e7: 85 c0 test %eax,%eax 801006e9: 74 25 je 80100710 <cprintf+0xb0> 801006eb: 8d 53 01 lea 0x1(%ebx),%edx if(c != '%'){ 801006ee: 83 f8 25 cmp $0x25,%eax 801006f1: 8d 34 17 lea (%edi,%edx,1),%esi 801006f4: 74 aa je 801006a0 <cprintf+0x40> 801006f6: 89 55 e0 mov %edx,-0x20(%ebp) consputc(c); 801006f9: e8 12 fd ff ff call 80100410 <consputc> for(i = 0; (c = fmt[i] & 0xff) != 0; i++){ 801006fe: 0f b6 06 movzbl (%esi),%eax continue; 80100701: 8b 55 e0 mov -0x20(%ebp),%edx 80100704: 89 d3 mov %edx,%ebx for(i = 0; (c = fmt[i] & 0xff) != 0; i++){ 80100706: 85 c0 test %eax,%eax 80100708: 75 e1 jne 801006eb <cprintf+0x8b> 8010070a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi if(locking) 80100710: 8b 45 dc mov -0x24(%ebp),%eax 80100713: 85 c0 test %eax,%eax 80100715: 74 10 je 80100727 <cprintf+0xc7> release(&cons.lock); 80100717: 83 ec 0c sub $0xc,%esp 8010071a: 68 20 a5 10 80 push $0x8010a520 8010071f: e8 4c 3f 00 00 call 80104670 <release> 80100724: 83 c4 10 add $0x10,%esp } 80100727: 8d 65 f4 lea -0xc(%ebp),%esp 8010072a: 5b pop %ebx 8010072b: 5e pop %esi 8010072c: 5f pop %edi 8010072d: 5d pop %ebp 8010072e: c3 ret 8010072f: 90 nop switch(c){ 80100730: 83 fa 73 cmp $0x73,%edx 80100733: 74 43 je 80100778 <cprintf+0x118> 80100735: 83 fa 78 cmp $0x78,%edx 80100738: 75 1e jne 80100758 <cprintf+0xf8> printint(*argp++, 16, 0); 8010073a: 8b 45 e4 mov -0x1c(%ebp),%eax 8010073d: ba 10 00 00 00 mov $0x10,%edx 80100742: 8d 48 04 lea 0x4(%eax),%ecx 80100745: 8b 00 mov (%eax),%eax 80100747: 89 4d e4 mov %ecx,-0x1c(%ebp) 8010074a: 31 c9 xor %ecx,%ecx 8010074c: e8 2f fe ff ff call 80100580 <printint> break; 80100751: eb 91 jmp 801006e4 <cprintf+0x84> 80100753: 90 nop 80100754: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi consputc('%'); 80100758: b8 25 00 00 00 mov $0x25,%eax 8010075d: 89 55 e0 mov %edx,-0x20(%ebp) 80100760: e8 ab fc ff ff call 80100410 <consputc> consputc(c); 80100765: 8b 55 e0 mov -0x20(%ebp),%edx 80100768: 89 d0 mov %edx,%eax 8010076a: e8 a1 fc ff ff call 80100410 <consputc> break; 8010076f: e9 70 ff ff ff jmp 801006e4 <cprintf+0x84> 80100774: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi if((s = (char*)*argp++) == 0) 80100778: 8b 45 e4 mov -0x1c(%ebp),%eax 8010077b: 8b 10 mov (%eax),%edx 8010077d: 8d 48 04 lea 0x4(%eax),%ecx 80100780: 89 4d e0 mov %ecx,-0x20(%ebp) 80100783: 85 d2 test %edx,%edx 80100785: 74 49 je 801007d0 <cprintf+0x170> for(; *s; s++) 80100787: 0f be 02 movsbl (%edx),%eax if((s = (char*)*argp++) == 0) 8010078a: 89 4d e4 mov %ecx,-0x1c(%ebp) for(; *s; s++) 8010078d: 84 c0 test %al,%al 8010078f: 0f 84 4f ff ff ff je 801006e4 <cprintf+0x84> 80100795: 89 5d e4 mov %ebx,-0x1c(%ebp) 80100798: 89 d3 mov %edx,%ebx 8010079a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 801007a0: 83 c3 01 add $0x1,%ebx consputc(*s); 801007a3: e8 68 fc ff ff call 80100410 <consputc> for(; *s; s++) 801007a8: 0f be 03 movsbl (%ebx),%eax 801007ab: 84 c0 test %al,%al 801007ad: 75 f1 jne 801007a0 <cprintf+0x140> if((s = (char*)*argp++) == 0) 801007af: 8b 45 e0 mov -0x20(%ebp),%eax 801007b2: 8b 5d e4 mov -0x1c(%ebp),%ebx 801007b5: 89 45 e4 mov %eax,-0x1c(%ebp) 801007b8: e9 27 ff ff ff jmp 801006e4 <cprintf+0x84> 801007bd: 8d 76 00 lea 0x0(%esi),%esi consputc('%'); 801007c0: b8 25 00 00 00 mov $0x25,%eax 801007c5: e8 46 fc ff ff call 80100410 <consputc> break; 801007ca: e9 15 ff ff ff jmp 801006e4 <cprintf+0x84> 801007cf: 90 nop s = "(null)"; 801007d0: ba d8 72 10 80 mov $0x801072d8,%edx for(; *s; s++) 801007d5: 89 5d e4 mov %ebx,-0x1c(%ebp) 801007d8: b8 28 00 00 00 mov $0x28,%eax 801007dd: 89 d3 mov %edx,%ebx 801007df: eb bf jmp 801007a0 <cprintf+0x140> 801007e1: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi acquire(&cons.lock); 801007e8: 83 ec 0c sub $0xc,%esp 801007eb: 68 20 a5 10 80 push $0x8010a520 801007f0: e8 bb 3d 00 00 call 801045b0 <acquire> 801007f5: 83 c4 10 add $0x10,%esp 801007f8: e9 7c fe ff ff jmp 80100679 <cprintf+0x19> panic("null fmt"); 801007fd: 83 ec 0c sub $0xc,%esp 80100800: 68 df 72 10 80 push $0x801072df 80100805: e8 86 fb ff ff call 80100390 <panic> 8010080a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 80100810 <consoleintr>: { 80100810: 55 push %ebp 80100811: 89 e5 mov %esp,%ebp 80100813: 57 push %edi 80100814: 56 push %esi 80100815: 53 push %ebx int c, doprocdump = 0; 80100816: 31 f6 xor %esi,%esi { 80100818: 83 ec 18 sub $0x18,%esp 8010081b: 8b 5d 08 mov 0x8(%ebp),%ebx acquire(&cons.lock); 8010081e: 68 20 a5 10 80 push $0x8010a520 80100823: e8 88 3d 00 00 call 801045b0 <acquire> while((c = getc()) >= 0){ 80100828: 83 c4 10 add $0x10,%esp 8010082b: 90 nop 8010082c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80100830: ff d3 call *%ebx 80100832: 85 c0 test %eax,%eax 80100834: 89 c7 mov %eax,%edi 80100836: 78 48 js 80100880 <consoleintr+0x70> switch(c){ 80100838: 83 ff 10 cmp $0x10,%edi 8010083b: 0f 84 e7 00 00 00 je 80100928 <consoleintr+0x118> 80100841: 7e 5d jle 801008a0 <consoleintr+0x90> 80100843: 83 ff 15 cmp $0x15,%edi 80100846: 0f 84 ec 00 00 00 je 80100938 <consoleintr+0x128> 8010084c: 83 ff 7f cmp $0x7f,%edi 8010084f: 75 54 jne 801008a5 <consoleintr+0x95> if(input.e != input.w){ 80100851: a1 a8 ff 10 80 mov 0x8010ffa8,%eax 80100856: 3b 05 a4 ff 10 80 cmp 0x8010ffa4,%eax 8010085c: 74 d2 je 80100830 <consoleintr+0x20> input.e--; 8010085e: 83 e8 01 sub $0x1,%eax 80100861: a3 a8 ff 10 80 mov %eax,0x8010ffa8 consputc(BACKSPACE); 80100866: b8 00 01 00 00 mov $0x100,%eax 8010086b: e8 a0 fb ff ff call 80100410 <consputc> while((c = getc()) >= 0){ 80100870: ff d3 call *%ebx 80100872: 85 c0 test %eax,%eax 80100874: 89 c7 mov %eax,%edi 80100876: 79 c0 jns 80100838 <consoleintr+0x28> 80100878: 90 nop 80100879: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi release(&cons.lock); 80100880: 83 ec 0c sub $0xc,%esp 80100883: 68 20 a5 10 80 push $0x8010a520 80100888: e8 e3 3d 00 00 call 80104670 <release> if(doprocdump) { 8010088d: 83 c4 10 add $0x10,%esp 80100890: 85 f6 test %esi,%esi 80100892: 0f 85 f8 00 00 00 jne 80100990 <consoleintr+0x180> } 80100898: 8d 65 f4 lea -0xc(%ebp),%esp 8010089b: 5b pop %ebx 8010089c: 5e pop %esi 8010089d: 5f pop %edi 8010089e: 5d pop %ebp 8010089f: c3 ret switch(c){ 801008a0: 83 ff 08 cmp $0x8,%edi 801008a3: 74 ac je 80100851 <consoleintr+0x41> if(c != 0 && input.e-input.r < INPUT_BUF){ 801008a5: 85 ff test %edi,%edi 801008a7: 74 87 je 80100830 <consoleintr+0x20> 801008a9: a1 a8 ff 10 80 mov 0x8010ffa8,%eax 801008ae: 89 c2 mov %eax,%edx 801008b0: 2b 15 a0 ff 10 80 sub 0x8010ffa0,%edx 801008b6: 83 fa 7f cmp $0x7f,%edx 801008b9: 0f 87 71 ff ff ff ja 80100830 <consoleintr+0x20> 801008bf: 8d 50 01 lea 0x1(%eax),%edx 801008c2: 83 e0 7f and $0x7f,%eax c = (c == '\r') ? '\n' : c; 801008c5: 83 ff 0d cmp $0xd,%edi input.buf[input.e++ % INPUT_BUF] = c; 801008c8: 89 15 a8 ff 10 80 mov %edx,0x8010ffa8 c = (c == '\r') ? '\n' : c; 801008ce: 0f 84 cc 00 00 00 je 801009a0 <consoleintr+0x190> input.buf[input.e++ % INPUT_BUF] = c; 801008d4: 89 f9 mov %edi,%ecx 801008d6: 88 88 20 ff 10 80 mov %cl,-0x7fef00e0(%eax) consputc(c); 801008dc: 89 f8 mov %edi,%eax 801008de: e8 2d fb ff ff call 80100410 <consputc> if(c == '\n' || c == C('D') || input.e == input.r+INPUT_BUF){ 801008e3: 83 ff 0a cmp $0xa,%edi 801008e6: 0f 84 c5 00 00 00 je 801009b1 <consoleintr+0x1a1> 801008ec: 83 ff 04 cmp $0x4,%edi 801008ef: 0f 84 bc 00 00 00 je 801009b1 <consoleintr+0x1a1> 801008f5: a1 a0 ff 10 80 mov 0x8010ffa0,%eax 801008fa: 83 e8 80 sub $0xffffff80,%eax 801008fd: 39 05 a8 ff 10 80 cmp %eax,0x8010ffa8 80100903: 0f 85 27 ff ff ff jne 80100830 <consoleintr+0x20> wakeup(&input.r); 80100909: 83 ec 0c sub $0xc,%esp input.w = input.e; 8010090c: a3 a4 ff 10 80 mov %eax,0x8010ffa4 wakeup(&input.r); 80100911: 68 a0 ff 10 80 push $0x8010ffa0 80100916: e8 a5 36 00 00 call 80103fc0 <wakeup> 8010091b: 83 c4 10 add $0x10,%esp 8010091e: e9 0d ff ff ff jmp 80100830 <consoleintr+0x20> 80100923: 90 nop 80100924: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi doprocdump = 1; 80100928: be 01 00 00 00 mov $0x1,%esi 8010092d: e9 fe fe ff ff jmp 80100830 <consoleintr+0x20> 80100932: 8d b6 00 00 00 00 lea 0x0(%esi),%esi while(input.e != input.w && 80100938: a1 a8 ff 10 80 mov 0x8010ffa8,%eax 8010093d: 39 05 a4 ff 10 80 cmp %eax,0x8010ffa4 80100943: 75 2b jne 80100970 <consoleintr+0x160> 80100945: e9 e6 fe ff ff jmp 80100830 <consoleintr+0x20> 8010094a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi input.e--; 80100950: a3 a8 ff 10 80 mov %eax,0x8010ffa8 consputc(BACKSPACE); 80100955: b8 00 01 00 00 mov $0x100,%eax 8010095a: e8 b1 fa ff ff call 80100410 <consputc> while(input.e != input.w && 8010095f: a1 a8 ff 10 80 mov 0x8010ffa8,%eax 80100964: 3b 05 a4 ff 10 80 cmp 0x8010ffa4,%eax 8010096a: 0f 84 c0 fe ff ff je 80100830 <consoleintr+0x20> input.buf[(input.e-1) % INPUT_BUF] != '\n'){ 80100970: 83 e8 01 sub $0x1,%eax 80100973: 89 c2 mov %eax,%edx 80100975: 83 e2 7f and $0x7f,%edx while(input.e != input.w && 80100978: 80 ba 20 ff 10 80 0a cmpb $0xa,-0x7fef00e0(%edx) 8010097f: 75 cf jne 80100950 <consoleintr+0x140> 80100981: e9 aa fe ff ff jmp 80100830 <consoleintr+0x20> 80100986: 8d 76 00 lea 0x0(%esi),%esi 80100989: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi } 80100990: 8d 65 f4 lea -0xc(%ebp),%esp 80100993: 5b pop %ebx 80100994: 5e pop %esi 80100995: 5f pop %edi 80100996: 5d pop %ebp procdump(); // now call procdump() wo. cons.lock held 80100997: e9 04 37 00 00 jmp 801040a0 <procdump> 8010099c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi input.buf[input.e++ % INPUT_BUF] = c; 801009a0: c6 80 20 ff 10 80 0a movb $0xa,-0x7fef00e0(%eax) consputc(c); 801009a7: b8 0a 00 00 00 mov $0xa,%eax 801009ac: e8 5f fa ff ff call 80100410 <consputc> 801009b1: a1 a8 ff 10 80 mov 0x8010ffa8,%eax 801009b6: e9 4e ff ff ff jmp 80100909 <consoleintr+0xf9> 801009bb: 90 nop 801009bc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 801009c0 <consoleinit>: void consoleinit(void) { 801009c0: 55 push %ebp 801009c1: 89 e5 mov %esp,%ebp 801009c3: 83 ec 10 sub $0x10,%esp initlock(&cons.lock, "console"); 801009c6: 68 e8 72 10 80 push $0x801072e8 801009cb: 68 20 a5 10 80 push $0x8010a520 801009d0: e8 9b 3a 00 00 call 80104470 <initlock> devsw[CONSOLE].write = consolewrite; devsw[CONSOLE].read = consoleread; cons.locking = 1; ioapicenable(IRQ_KBD, 0); 801009d5: 58 pop %eax 801009d6: 5a pop %edx 801009d7: 6a 00 push $0x0 801009d9: 6a 01 push $0x1 devsw[CONSOLE].write = consolewrite; 801009db: c7 05 6c 09 11 80 00 movl $0x80100600,0x8011096c 801009e2: 06 10 80 devsw[CONSOLE].read = consoleread; 801009e5: c7 05 68 09 11 80 70 movl $0x80100270,0x80110968 801009ec: 02 10 80 cons.locking = 1; 801009ef: c7 05 54 a5 10 80 01 movl $0x1,0x8010a554 801009f6: 00 00 00 ioapicenable(IRQ_KBD, 0); 801009f9: e8 e2 18 00 00 call 801022e0 <ioapicenable> } 801009fe: 83 c4 10 add $0x10,%esp 80100a01: c9 leave 80100a02: c3 ret 80100a03: 66 90 xchg %ax,%ax 80100a05: 66 90 xchg %ax,%ax 80100a07: 66 90 xchg %ax,%ax 80100a09: 66 90 xchg %ax,%ax 80100a0b: 66 90 xchg %ax,%ax 80100a0d: 66 90 xchg %ax,%ax 80100a0f: 90 nop 80100a10 <exec>: #include "x86.h" #include "elf.h" int exec(char *path, char **argv) { 80100a10: 55 push %ebp 80100a11: 89 e5 mov %esp,%ebp 80100a13: 57 push %edi 80100a14: 56 push %esi 80100a15: 53 push %ebx 80100a16: 81 ec 0c 01 00 00 sub $0x10c,%esp uint argc, sz, sp, ustack[3+MAXARG+1]; struct elfhdr elf; struct inode *ip; struct proghdr ph; pde_t *pgdir, *oldpgdir; struct proc *curproc = myproc(); 80100a1c: e8 df 2d 00 00 call 80103800 <myproc> 80100a21: 89 85 f4 fe ff ff mov %eax,-0x10c(%ebp) begin_op(); 80100a27: e8 84 21 00 00 call 80102bb0 <begin_op> if((ip = namei(path)) == 0){ 80100a2c: 83 ec 0c sub $0xc,%esp 80100a2f: ff 75 08 pushl 0x8(%ebp) 80100a32: e8 b9 14 00 00 call 80101ef0 <namei> 80100a37: 83 c4 10 add $0x10,%esp 80100a3a: 85 c0 test %eax,%eax 80100a3c: 0f 84 91 01 00 00 je 80100bd3 <exec+0x1c3> end_op(); cprintf("exec: fail\n"); return -1; } ilock(ip); 80100a42: 83 ec 0c sub $0xc,%esp 80100a45: 89 c3 mov %eax,%ebx 80100a47: 50 push %eax 80100a48: e8 43 0c 00 00 call 80101690 <ilock> pgdir = 0; // Check ELF header if(readi(ip, (char*)&elf, 0, sizeof(elf)) != sizeof(elf)) 80100a4d: 8d 85 24 ff ff ff lea -0xdc(%ebp),%eax 80100a53: 6a 34 push $0x34 80100a55: 6a 00 push $0x0 80100a57: 50 push %eax 80100a58: 53 push %ebx 80100a59: e8 12 0f 00 00 call 80101970 <readi> 80100a5e: 83 c4 20 add $0x20,%esp 80100a61: 83 f8 34 cmp $0x34,%eax 80100a64: 74 22 je 80100a88 <exec+0x78> bad: if(pgdir) freevm(pgdir); if(ip){ iunlockput(ip); 80100a66: 83 ec 0c sub $0xc,%esp 80100a69: 53 push %ebx 80100a6a: e8 b1 0e 00 00 call 80101920 <iunlockput> end_op(); 80100a6f: e8 ac 21 00 00 call 80102c20 <end_op> 80100a74: 83 c4 10 add $0x10,%esp } return -1; 80100a77: b8 ff ff ff ff mov $0xffffffff,%eax } 80100a7c: 8d 65 f4 lea -0xc(%ebp),%esp 80100a7f: 5b pop %ebx 80100a80: 5e pop %esi 80100a81: 5f pop %edi 80100a82: 5d pop %ebp 80100a83: c3 ret 80100a84: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi if(elf.magic != ELF_MAGIC) 80100a88: 81 bd 24 ff ff ff 7f cmpl $0x464c457f,-0xdc(%ebp) 80100a8f: 45 4c 46 80100a92: 75 d2 jne 80100a66 <exec+0x56> if((pgdir = setupkvm()) == 0) 80100a94: e8 37 65 00 00 call 80106fd0 <setupkvm> 80100a99: 85 c0 test %eax,%eax 80100a9b: 89 85 f0 fe ff ff mov %eax,-0x110(%ebp) 80100aa1: 74 c3 je 80100a66 <exec+0x56> sz = 0; 80100aa3: 31 ff xor %edi,%edi for(i=0, off=elf.phoff; i<elf.phnum; i++, off+=sizeof(ph)){ 80100aa5: 66 83 bd 50 ff ff ff cmpw $0x0,-0xb0(%ebp) 80100aac: 00 80100aad: 8b 85 40 ff ff ff mov -0xc0(%ebp),%eax 80100ab3: 89 85 ec fe ff ff mov %eax,-0x114(%ebp) 80100ab9: 0f 84 8c 02 00 00 je 80100d4b <exec+0x33b> 80100abf: 31 f6 xor %esi,%esi 80100ac1: eb 7f jmp 80100b42 <exec+0x132> 80100ac3: 90 nop 80100ac4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi if(ph.type != ELF_PROG_LOAD) 80100ac8: 83 bd 04 ff ff ff 01 cmpl $0x1,-0xfc(%ebp) 80100acf: 75 63 jne 80100b34 <exec+0x124> if(ph.memsz < ph.filesz) 80100ad1: 8b 85 18 ff ff ff mov -0xe8(%ebp),%eax 80100ad7: 3b 85 14 ff ff ff cmp -0xec(%ebp),%eax 80100add: 0f 82 86 00 00 00 jb 80100b69 <exec+0x159> 80100ae3: 03 85 0c ff ff ff add -0xf4(%ebp),%eax 80100ae9: 72 7e jb 80100b69 <exec+0x159> if((sz = allocuvm(pgdir, sz, ph.vaddr + ph.memsz)) == 0) 80100aeb: 83 ec 04 sub $0x4,%esp 80100aee: 50 push %eax 80100aef: 57 push %edi 80100af0: ff b5 f0 fe ff ff pushl -0x110(%ebp) 80100af6: e8 f5 62 00 00 call 80106df0 <allocuvm> 80100afb: 83 c4 10 add $0x10,%esp 80100afe: 85 c0 test %eax,%eax 80100b00: 89 c7 mov %eax,%edi 80100b02: 74 65 je 80100b69 <exec+0x159> if(ph.vaddr % PGSIZE != 0) 80100b04: 8b 85 0c ff ff ff mov -0xf4(%ebp),%eax 80100b0a: a9 ff 0f 00 00 test $0xfff,%eax 80100b0f: 75 58 jne 80100b69 <exec+0x159> if(loaduvm(pgdir, (char*)ph.vaddr, ip, ph.off, ph.filesz) < 0) 80100b11: 83 ec 0c sub $0xc,%esp 80100b14: ff b5 14 ff ff ff pushl -0xec(%ebp) 80100b1a: ff b5 08 ff ff ff pushl -0xf8(%ebp) 80100b20: 53 push %ebx 80100b21: 50 push %eax 80100b22: ff b5 f0 fe ff ff pushl -0x110(%ebp) 80100b28: e8 03 62 00 00 call 80106d30 <loaduvm> 80100b2d: 83 c4 20 add $0x20,%esp 80100b30: 85 c0 test %eax,%eax 80100b32: 78 35 js 80100b69 <exec+0x159> for(i=0, off=elf.phoff; i<elf.phnum; i++, off+=sizeof(ph)){ 80100b34: 0f b7 85 50 ff ff ff movzwl -0xb0(%ebp),%eax 80100b3b: 83 c6 01 add $0x1,%esi 80100b3e: 39 f0 cmp %esi,%eax 80100b40: 7e 3d jle 80100b7f <exec+0x16f> if(readi(ip, (char*)&ph, off, sizeof(ph)) != sizeof(ph)) 80100b42: 89 f0 mov %esi,%eax 80100b44: 6a 20 push $0x20 80100b46: c1 e0 05 shl $0x5,%eax 80100b49: 03 85 ec fe ff ff add -0x114(%ebp),%eax 80100b4f: 50 push %eax 80100b50: 8d 85 04 ff ff ff lea -0xfc(%ebp),%eax 80100b56: 50 push %eax 80100b57: 53 push %ebx 80100b58: e8 13 0e 00 00 call 80101970 <readi> 80100b5d: 83 c4 10 add $0x10,%esp 80100b60: 83 f8 20 cmp $0x20,%eax 80100b63: 0f 84 5f ff ff ff je 80100ac8 <exec+0xb8> freevm(pgdir); 80100b69: 83 ec 0c sub $0xc,%esp 80100b6c: ff b5 f0 fe ff ff pushl -0x110(%ebp) 80100b72: e8 d9 63 00 00 call 80106f50 <freevm> 80100b77: 83 c4 10 add $0x10,%esp 80100b7a: e9 e7 fe ff ff jmp 80100a66 <exec+0x56> 80100b7f: 81 c7 ff 0f 00 00 add $0xfff,%edi 80100b85: 81 e7 00 f0 ff ff and $0xfffff000,%edi 80100b8b: 8d b7 00 20 00 00 lea 0x2000(%edi),%esi iunlockput(ip); 80100b91: 83 ec 0c sub $0xc,%esp 80100b94: 53 push %ebx 80100b95: e8 86 0d 00 00 call 80101920 <iunlockput> end_op(); 80100b9a: e8 81 20 00 00 call 80102c20 <end_op> if((sz = allocuvm(pgdir, sz, sz + 2*PGSIZE)) == 0) 80100b9f: 83 c4 0c add $0xc,%esp 80100ba2: 56 push %esi 80100ba3: 57 push %edi 80100ba4: ff b5 f0 fe ff ff pushl -0x110(%ebp) 80100baa: e8 41 62 00 00 call 80106df0 <allocuvm> 80100baf: 83 c4 10 add $0x10,%esp 80100bb2: 85 c0 test %eax,%eax 80100bb4: 89 c6 mov %eax,%esi 80100bb6: 75 3a jne 80100bf2 <exec+0x1e2> freevm(pgdir); 80100bb8: 83 ec 0c sub $0xc,%esp 80100bbb: ff b5 f0 fe ff ff pushl -0x110(%ebp) 80100bc1: e8 8a 63 00 00 call 80106f50 <freevm> 80100bc6: 83 c4 10 add $0x10,%esp return -1; 80100bc9: b8 ff ff ff ff mov $0xffffffff,%eax 80100bce: e9 a9 fe ff ff jmp 80100a7c <exec+0x6c> end_op(); 80100bd3: e8 48 20 00 00 call 80102c20 <end_op> cprintf("exec: fail\n"); 80100bd8: 83 ec 0c sub $0xc,%esp 80100bdb: 68 01 73 10 80 push $0x80107301 80100be0: e8 7b fa ff ff call 80100660 <cprintf> return -1; 80100be5: 83 c4 10 add $0x10,%esp 80100be8: b8 ff ff ff ff mov $0xffffffff,%eax 80100bed: e9 8a fe ff ff jmp 80100a7c <exec+0x6c> clearpteu(pgdir, (char*)(sz - 2*PGSIZE)); 80100bf2: 8d 80 00 e0 ff ff lea -0x2000(%eax),%eax 80100bf8: 83 ec 08 sub $0x8,%esp for(argc = 0; argv[argc]; argc++) { 80100bfb: 31 ff xor %edi,%edi 80100bfd: 89 f3 mov %esi,%ebx clearpteu(pgdir, (char*)(sz - 2*PGSIZE)); 80100bff: 50 push %eax 80100c00: ff b5 f0 fe ff ff pushl -0x110(%ebp) 80100c06: e8 65 64 00 00 call 80107070 <clearpteu> for(argc = 0; argv[argc]; argc++) { 80100c0b: 8b 45 0c mov 0xc(%ebp),%eax 80100c0e: 83 c4 10 add $0x10,%esp 80100c11: 8d 95 58 ff ff ff lea -0xa8(%ebp),%edx 80100c17: 8b 00 mov (%eax),%eax 80100c19: 85 c0 test %eax,%eax 80100c1b: 74 70 je 80100c8d <exec+0x27d> 80100c1d: 89 b5 ec fe ff ff mov %esi,-0x114(%ebp) 80100c23: 8b b5 f0 fe ff ff mov -0x110(%ebp),%esi 80100c29: eb 0a jmp 80100c35 <exec+0x225> 80100c2b: 90 nop 80100c2c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi if(argc >= MAXARG) 80100c30: 83 ff 20 cmp $0x20,%edi 80100c33: 74 83 je 80100bb8 <exec+0x1a8> sp = (sp - (strlen(argv[argc]) + 1)) & ~3; 80100c35: 83 ec 0c sub $0xc,%esp 80100c38: 50 push %eax 80100c39: e8 a2 3c 00 00 call 801048e0 <strlen> 80100c3e: f7 d0 not %eax 80100c40: 01 c3 add %eax,%ebx if(copyout(pgdir, sp, argv[argc], strlen(argv[argc]) + 1) < 0) 80100c42: 8b 45 0c mov 0xc(%ebp),%eax 80100c45: 5a pop %edx sp = (sp - (strlen(argv[argc]) + 1)) & ~3; 80100c46: 83 e3 fc and $0xfffffffc,%ebx if(copyout(pgdir, sp, argv[argc], strlen(argv[argc]) + 1) < 0) 80100c49: ff 34 b8 pushl (%eax,%edi,4) 80100c4c: e8 8f 3c 00 00 call 801048e0 <strlen> 80100c51: 83 c0 01 add $0x1,%eax 80100c54: 50 push %eax 80100c55: 8b 45 0c mov 0xc(%ebp),%eax 80100c58: ff 34 b8 pushl (%eax,%edi,4) 80100c5b: 53 push %ebx 80100c5c: 56 push %esi 80100c5d: e8 6e 65 00 00 call 801071d0 <copyout> 80100c62: 83 c4 20 add $0x20,%esp 80100c65: 85 c0 test %eax,%eax 80100c67: 0f 88 4b ff ff ff js 80100bb8 <exec+0x1a8> for(argc = 0; argv[argc]; argc++) { 80100c6d: 8b 45 0c mov 0xc(%ebp),%eax ustack[3+argc] = sp; 80100c70: 89 9c bd 64 ff ff ff mov %ebx,-0x9c(%ebp,%edi,4) for(argc = 0; argv[argc]; argc++) { 80100c77: 83 c7 01 add $0x1,%edi ustack[3+argc] = sp; 80100c7a: 8d 95 58 ff ff ff lea -0xa8(%ebp),%edx for(argc = 0; argv[argc]; argc++) { 80100c80: 8b 04 b8 mov (%eax,%edi,4),%eax 80100c83: 85 c0 test %eax,%eax 80100c85: 75 a9 jne 80100c30 <exec+0x220> 80100c87: 8b b5 ec fe ff ff mov -0x114(%ebp),%esi ustack[2] = sp - (argc+1)*4; // argv pointer 80100c8d: 8d 04 bd 04 00 00 00 lea 0x4(,%edi,4),%eax 80100c94: 89 d9 mov %ebx,%ecx ustack[3+argc] = 0; 80100c96: c7 84 bd 64 ff ff ff movl $0x0,-0x9c(%ebp,%edi,4) 80100c9d: 00 00 00 00 ustack[0] = 0xffffffff; // fake return PC 80100ca1: c7 85 58 ff ff ff ff movl $0xffffffff,-0xa8(%ebp) 80100ca8: ff ff ff ustack[1] = argc; 80100cab: 89 bd 5c ff ff ff mov %edi,-0xa4(%ebp) ustack[2] = sp - (argc+1)*4; // argv pointer 80100cb1: 29 c1 sub %eax,%ecx sp -= (3+argc+1) * 4; 80100cb3: 83 c0 0c add $0xc,%eax 80100cb6: 29 c3 sub %eax,%ebx if(copyout(pgdir, sp, ustack, (3+argc+1)*4) < 0) 80100cb8: 50 push %eax 80100cb9: 52 push %edx 80100cba: 53 push %ebx 80100cbb: ff b5 f0 fe ff ff pushl -0x110(%ebp) ustack[2] = sp - (argc+1)*4; // argv pointer 80100cc1: 89 8d 60 ff ff ff mov %ecx,-0xa0(%ebp) if(copyout(pgdir, sp, ustack, (3+argc+1)*4) < 0) 80100cc7: e8 04 65 00 00 call 801071d0 <copyout> 80100ccc: 83 c4 10 add $0x10,%esp 80100ccf: 85 c0 test %eax,%eax 80100cd1: 0f 88 e1 fe ff ff js 80100bb8 <exec+0x1a8> for(last=s=path; *s; s++) 80100cd7: 8b 45 08 mov 0x8(%ebp),%eax 80100cda: 0f b6 00 movzbl (%eax),%eax 80100cdd: 84 c0 test %al,%al 80100cdf: 74 17 je 80100cf8 <exec+0x2e8> 80100ce1: 8b 55 08 mov 0x8(%ebp),%edx 80100ce4: 89 d1 mov %edx,%ecx 80100ce6: 83 c1 01 add $0x1,%ecx 80100ce9: 3c 2f cmp $0x2f,%al 80100ceb: 0f b6 01 movzbl (%ecx),%eax 80100cee: 0f 44 d1 cmove %ecx,%edx 80100cf1: 84 c0 test %al,%al 80100cf3: 75 f1 jne 80100ce6 <exec+0x2d6> 80100cf5: 89 55 08 mov %edx,0x8(%ebp) safestrcpy(curproc->name, last, sizeof(curproc->name)); 80100cf8: 8b bd f4 fe ff ff mov -0x10c(%ebp),%edi 80100cfe: 50 push %eax 80100cff: 6a 10 push $0x10 80100d01: ff 75 08 pushl 0x8(%ebp) 80100d04: 89 f8 mov %edi,%eax 80100d06: 83 c0 70 add $0x70,%eax 80100d09: 50 push %eax 80100d0a: e8 91 3b 00 00 call 801048a0 <safestrcpy> curproc->pgdir = pgdir; 80100d0f: 8b 95 f0 fe ff ff mov -0x110(%ebp),%edx oldpgdir = curproc->pgdir; 80100d15: 89 f9 mov %edi,%ecx 80100d17: 8b 7f 04 mov 0x4(%edi),%edi curproc->tf->eip = elf.entry; // main 80100d1a: 8b 41 18 mov 0x18(%ecx),%eax curproc->sz = sz; 80100d1d: 89 31 mov %esi,(%ecx) curproc->pgdir = pgdir; 80100d1f: 89 51 04 mov %edx,0x4(%ecx) curproc->tf->eip = elf.entry; // main 80100d22: 8b 95 3c ff ff ff mov -0xc4(%ebp),%edx 80100d28: 89 50 38 mov %edx,0x38(%eax) curproc->tf->esp = sp; 80100d2b: 8b 41 18 mov 0x18(%ecx),%eax 80100d2e: 89 58 44 mov %ebx,0x44(%eax) switchuvm(curproc); 80100d31: 89 0c 24 mov %ecx,(%esp) 80100d34: e8 67 5e 00 00 call 80106ba0 <switchuvm> freevm(oldpgdir); 80100d39: 89 3c 24 mov %edi,(%esp) 80100d3c: e8 0f 62 00 00 call 80106f50 <freevm> return 0; 80100d41: 83 c4 10 add $0x10,%esp 80100d44: 31 c0 xor %eax,%eax 80100d46: e9 31 fd ff ff jmp 80100a7c <exec+0x6c> for(i=0, off=elf.phoff; i<elf.phnum; i++, off+=sizeof(ph)){ 80100d4b: be 00 20 00 00 mov $0x2000,%esi 80100d50: e9 3c fe ff ff jmp 80100b91 <exec+0x181> 80100d55: 66 90 xchg %ax,%ax 80100d57: 66 90 xchg %ax,%ax 80100d59: 66 90 xchg %ax,%ax 80100d5b: 66 90 xchg %ax,%ax 80100d5d: 66 90 xchg %ax,%ax 80100d5f: 90 nop 80100d60 <fileinit>: struct file file[NFILE]; } ftable; void fileinit(void) { 80100d60: 55 push %ebp 80100d61: 89 e5 mov %esp,%ebp 80100d63: 83 ec 10 sub $0x10,%esp initlock(&ftable.lock, "ftable"); 80100d66: 68 0d 73 10 80 push $0x8010730d 80100d6b: 68 c0 ff 10 80 push $0x8010ffc0 80100d70: e8 fb 36 00 00 call 80104470 <initlock> } 80100d75: 83 c4 10 add $0x10,%esp 80100d78: c9 leave 80100d79: c3 ret 80100d7a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 80100d80 <filealloc>: // Allocate a file structure. struct file* filealloc(void) { 80100d80: 55 push %ebp 80100d81: 89 e5 mov %esp,%ebp 80100d83: 53 push %ebx struct file *f; acquire(&ftable.lock); for(f = ftable.file; f < ftable.file + NFILE; f++){ 80100d84: bb f4 ff 10 80 mov $0x8010fff4,%ebx { 80100d89: 83 ec 10 sub $0x10,%esp acquire(&ftable.lock); 80100d8c: 68 c0 ff 10 80 push $0x8010ffc0 80100d91: e8 1a 38 00 00 call 801045b0 <acquire> 80100d96: 83 c4 10 add $0x10,%esp 80100d99: eb 10 jmp 80100dab <filealloc+0x2b> 80100d9b: 90 nop 80100d9c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi for(f = ftable.file; f < ftable.file + NFILE; f++){ 80100da0: 83 c3 18 add $0x18,%ebx 80100da3: 81 fb 54 09 11 80 cmp $0x80110954,%ebx 80100da9: 73 25 jae 80100dd0 <filealloc+0x50> if(f->ref == 0){ 80100dab: 8b 43 04 mov 0x4(%ebx),%eax 80100dae: 85 c0 test %eax,%eax 80100db0: 75 ee jne 80100da0 <filealloc+0x20> f->ref = 1; release(&ftable.lock); 80100db2: 83 ec 0c sub $0xc,%esp f->ref = 1; 80100db5: c7 43 04 01 00 00 00 movl $0x1,0x4(%ebx) release(&ftable.lock); 80100dbc: 68 c0 ff 10 80 push $0x8010ffc0 80100dc1: e8 aa 38 00 00 call 80104670 <release> return f; } } release(&ftable.lock); return 0; } 80100dc6: 89 d8 mov %ebx,%eax return f; 80100dc8: 83 c4 10 add $0x10,%esp } 80100dcb: 8b 5d fc mov -0x4(%ebp),%ebx 80100dce: c9 leave 80100dcf: c3 ret release(&ftable.lock); 80100dd0: 83 ec 0c sub $0xc,%esp return 0; 80100dd3: 31 db xor %ebx,%ebx release(&ftable.lock); 80100dd5: 68 c0 ff 10 80 push $0x8010ffc0 80100dda: e8 91 38 00 00 call 80104670 <release> } 80100ddf: 89 d8 mov %ebx,%eax return 0; 80100de1: 83 c4 10 add $0x10,%esp } 80100de4: 8b 5d fc mov -0x4(%ebp),%ebx 80100de7: c9 leave 80100de8: c3 ret 80100de9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 80100df0 <filedup>: // Increment ref count for file f. struct file* filedup(struct file *f) { 80100df0: 55 push %ebp 80100df1: 89 e5 mov %esp,%ebp 80100df3: 53 push %ebx 80100df4: 83 ec 10 sub $0x10,%esp 80100df7: 8b 5d 08 mov 0x8(%ebp),%ebx acquire(&ftable.lock); 80100dfa: 68 c0 ff 10 80 push $0x8010ffc0 80100dff: e8 ac 37 00 00 call 801045b0 <acquire> if(f->ref < 1) 80100e04: 8b 43 04 mov 0x4(%ebx),%eax 80100e07: 83 c4 10 add $0x10,%esp 80100e0a: 85 c0 test %eax,%eax 80100e0c: 7e 1a jle 80100e28 <filedup+0x38> panic("filedup"); f->ref++; 80100e0e: 83 c0 01 add $0x1,%eax release(&ftable.lock); 80100e11: 83 ec 0c sub $0xc,%esp f->ref++; 80100e14: 89 43 04 mov %eax,0x4(%ebx) release(&ftable.lock); 80100e17: 68 c0 ff 10 80 push $0x8010ffc0 80100e1c: e8 4f 38 00 00 call 80104670 <release> return f; } 80100e21: 89 d8 mov %ebx,%eax 80100e23: 8b 5d fc mov -0x4(%ebp),%ebx 80100e26: c9 leave 80100e27: c3 ret panic("filedup"); 80100e28: 83 ec 0c sub $0xc,%esp 80100e2b: 68 14 73 10 80 push $0x80107314 80100e30: e8 5b f5 ff ff call 80100390 <panic> 80100e35: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80100e39: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80100e40 <fileclose>: // Close file f. (Decrement ref count, close when reaches 0.) void fileclose(struct file *f) { 80100e40: 55 push %ebp 80100e41: 89 e5 mov %esp,%ebp 80100e43: 57 push %edi 80100e44: 56 push %esi 80100e45: 53 push %ebx 80100e46: 83 ec 28 sub $0x28,%esp 80100e49: 8b 5d 08 mov 0x8(%ebp),%ebx struct file ff; acquire(&ftable.lock); 80100e4c: 68 c0 ff 10 80 push $0x8010ffc0 80100e51: e8 5a 37 00 00 call 801045b0 <acquire> if(f->ref < 1) 80100e56: 8b 43 04 mov 0x4(%ebx),%eax 80100e59: 83 c4 10 add $0x10,%esp 80100e5c: 85 c0 test %eax,%eax 80100e5e: 0f 8e 9b 00 00 00 jle 80100eff <fileclose+0xbf> panic("fileclose"); if(--f->ref > 0){ 80100e64: 83 e8 01 sub $0x1,%eax 80100e67: 85 c0 test %eax,%eax 80100e69: 89 43 04 mov %eax,0x4(%ebx) 80100e6c: 74 1a je 80100e88 <fileclose+0x48> release(&ftable.lock); 80100e6e: c7 45 08 c0 ff 10 80 movl $0x8010ffc0,0x8(%ebp) else if(ff.type == FD_INODE){ begin_op(); iput(ff.ip); end_op(); } } 80100e75: 8d 65 f4 lea -0xc(%ebp),%esp 80100e78: 5b pop %ebx 80100e79: 5e pop %esi 80100e7a: 5f pop %edi 80100e7b: 5d pop %ebp release(&ftable.lock); 80100e7c: e9 ef 37 00 00 jmp 80104670 <release> 80100e81: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi ff = *f; 80100e88: 0f b6 43 09 movzbl 0x9(%ebx),%eax 80100e8c: 8b 3b mov (%ebx),%edi release(&ftable.lock); 80100e8e: 83 ec 0c sub $0xc,%esp ff = *f; 80100e91: 8b 73 0c mov 0xc(%ebx),%esi f->type = FD_NONE; 80100e94: c7 03 00 00 00 00 movl $0x0,(%ebx) ff = *f; 80100e9a: 88 45 e7 mov %al,-0x19(%ebp) 80100e9d: 8b 43 10 mov 0x10(%ebx),%eax release(&ftable.lock); 80100ea0: 68 c0 ff 10 80 push $0x8010ffc0 ff = *f; 80100ea5: 89 45 e0 mov %eax,-0x20(%ebp) release(&ftable.lock); 80100ea8: e8 c3 37 00 00 call 80104670 <release> if(ff.type == FD_PIPE) 80100ead: 83 c4 10 add $0x10,%esp 80100eb0: 83 ff 01 cmp $0x1,%edi 80100eb3: 74 13 je 80100ec8 <fileclose+0x88> else if(ff.type == FD_INODE){ 80100eb5: 83 ff 02 cmp $0x2,%edi 80100eb8: 74 26 je 80100ee0 <fileclose+0xa0> } 80100eba: 8d 65 f4 lea -0xc(%ebp),%esp 80100ebd: 5b pop %ebx 80100ebe: 5e pop %esi 80100ebf: 5f pop %edi 80100ec0: 5d pop %ebp 80100ec1: c3 ret 80100ec2: 8d b6 00 00 00 00 lea 0x0(%esi),%esi pipeclose(ff.pipe, ff.writable); 80100ec8: 0f be 5d e7 movsbl -0x19(%ebp),%ebx 80100ecc: 83 ec 08 sub $0x8,%esp 80100ecf: 53 push %ebx 80100ed0: 56 push %esi 80100ed1: e8 8a 24 00 00 call 80103360 <pipeclose> 80100ed6: 83 c4 10 add $0x10,%esp 80100ed9: eb df jmp 80100eba <fileclose+0x7a> 80100edb: 90 nop 80100edc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi begin_op(); 80100ee0: e8 cb 1c 00 00 call 80102bb0 <begin_op> iput(ff.ip); 80100ee5: 83 ec 0c sub $0xc,%esp 80100ee8: ff 75 e0 pushl -0x20(%ebp) 80100eeb: e8 d0 08 00 00 call 801017c0 <iput> end_op(); 80100ef0: 83 c4 10 add $0x10,%esp } 80100ef3: 8d 65 f4 lea -0xc(%ebp),%esp 80100ef6: 5b pop %ebx 80100ef7: 5e pop %esi 80100ef8: 5f pop %edi 80100ef9: 5d pop %ebp end_op(); 80100efa: e9 21 1d 00 00 jmp 80102c20 <end_op> panic("fileclose"); 80100eff: 83 ec 0c sub $0xc,%esp 80100f02: 68 1c 73 10 80 push $0x8010731c 80100f07: e8 84 f4 ff ff call 80100390 <panic> 80100f0c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80100f10 <filestat>: // Get metadata about file f. int filestat(struct file *f, struct stat *st) { 80100f10: 55 push %ebp 80100f11: 89 e5 mov %esp,%ebp 80100f13: 53 push %ebx 80100f14: 83 ec 04 sub $0x4,%esp 80100f17: 8b 5d 08 mov 0x8(%ebp),%ebx if(f->type == FD_INODE){ 80100f1a: 83 3b 02 cmpl $0x2,(%ebx) 80100f1d: 75 31 jne 80100f50 <filestat+0x40> ilock(f->ip); 80100f1f: 83 ec 0c sub $0xc,%esp 80100f22: ff 73 10 pushl 0x10(%ebx) 80100f25: e8 66 07 00 00 call 80101690 <ilock> stati(f->ip, st); 80100f2a: 58 pop %eax 80100f2b: 5a pop %edx 80100f2c: ff 75 0c pushl 0xc(%ebp) 80100f2f: ff 73 10 pushl 0x10(%ebx) 80100f32: e8 09 0a 00 00 call 80101940 <stati> iunlock(f->ip); 80100f37: 59 pop %ecx 80100f38: ff 73 10 pushl 0x10(%ebx) 80100f3b: e8 30 08 00 00 call 80101770 <iunlock> return 0; 80100f40: 83 c4 10 add $0x10,%esp 80100f43: 31 c0 xor %eax,%eax } return -1; } 80100f45: 8b 5d fc mov -0x4(%ebp),%ebx 80100f48: c9 leave 80100f49: c3 ret 80100f4a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi return -1; 80100f50: b8 ff ff ff ff mov $0xffffffff,%eax 80100f55: eb ee jmp 80100f45 <filestat+0x35> 80100f57: 89 f6 mov %esi,%esi 80100f59: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80100f60 <fileread>: // Read from file f. int fileread(struct file *f, char *addr, int n) { 80100f60: 55 push %ebp 80100f61: 89 e5 mov %esp,%ebp 80100f63: 57 push %edi 80100f64: 56 push %esi 80100f65: 53 push %ebx 80100f66: 83 ec 0c sub $0xc,%esp 80100f69: 8b 5d 08 mov 0x8(%ebp),%ebx 80100f6c: 8b 75 0c mov 0xc(%ebp),%esi 80100f6f: 8b 7d 10 mov 0x10(%ebp),%edi int r; if(f->readable == 0) 80100f72: 80 7b 08 00 cmpb $0x0,0x8(%ebx) 80100f76: 74 60 je 80100fd8 <fileread+0x78> return -1; if(f->type == FD_PIPE) 80100f78: 8b 03 mov (%ebx),%eax 80100f7a: 83 f8 01 cmp $0x1,%eax 80100f7d: 74 41 je 80100fc0 <fileread+0x60> return piperead(f->pipe, addr, n); if(f->type == FD_INODE){ 80100f7f: 83 f8 02 cmp $0x2,%eax 80100f82: 75 5b jne 80100fdf <fileread+0x7f> ilock(f->ip); 80100f84: 83 ec 0c sub $0xc,%esp 80100f87: ff 73 10 pushl 0x10(%ebx) 80100f8a: e8 01 07 00 00 call 80101690 <ilock> if((r = readi(f->ip, addr, f->off, n)) > 0) 80100f8f: 57 push %edi 80100f90: ff 73 14 pushl 0x14(%ebx) 80100f93: 56 push %esi 80100f94: ff 73 10 pushl 0x10(%ebx) 80100f97: e8 d4 09 00 00 call 80101970 <readi> 80100f9c: 83 c4 20 add $0x20,%esp 80100f9f: 85 c0 test %eax,%eax 80100fa1: 89 c6 mov %eax,%esi 80100fa3: 7e 03 jle 80100fa8 <fileread+0x48> f->off += r; 80100fa5: 01 43 14 add %eax,0x14(%ebx) iunlock(f->ip); 80100fa8: 83 ec 0c sub $0xc,%esp 80100fab: ff 73 10 pushl 0x10(%ebx) 80100fae: e8 bd 07 00 00 call 80101770 <iunlock> return r; 80100fb3: 83 c4 10 add $0x10,%esp } panic("fileread"); } 80100fb6: 8d 65 f4 lea -0xc(%ebp),%esp 80100fb9: 89 f0 mov %esi,%eax 80100fbb: 5b pop %ebx 80100fbc: 5e pop %esi 80100fbd: 5f pop %edi 80100fbe: 5d pop %ebp 80100fbf: c3 ret return piperead(f->pipe, addr, n); 80100fc0: 8b 43 0c mov 0xc(%ebx),%eax 80100fc3: 89 45 08 mov %eax,0x8(%ebp) } 80100fc6: 8d 65 f4 lea -0xc(%ebp),%esp 80100fc9: 5b pop %ebx 80100fca: 5e pop %esi 80100fcb: 5f pop %edi 80100fcc: 5d pop %ebp return piperead(f->pipe, addr, n); 80100fcd: e9 3e 25 00 00 jmp 80103510 <piperead> 80100fd2: 8d b6 00 00 00 00 lea 0x0(%esi),%esi return -1; 80100fd8: be ff ff ff ff mov $0xffffffff,%esi 80100fdd: eb d7 jmp 80100fb6 <fileread+0x56> panic("fileread"); 80100fdf: 83 ec 0c sub $0xc,%esp 80100fe2: 68 26 73 10 80 push $0x80107326 80100fe7: e8 a4 f3 ff ff call 80100390 <panic> 80100fec: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80100ff0 <filewrite>: //PAGEBREAK! // Write to file f. int filewrite(struct file *f, char *addr, int n) { 80100ff0: 55 push %ebp 80100ff1: 89 e5 mov %esp,%ebp 80100ff3: 57 push %edi 80100ff4: 56 push %esi 80100ff5: 53 push %ebx 80100ff6: 83 ec 1c sub $0x1c,%esp 80100ff9: 8b 75 08 mov 0x8(%ebp),%esi 80100ffc: 8b 45 0c mov 0xc(%ebp),%eax int r; if(f->writable == 0) 80100fff: 80 7e 09 00 cmpb $0x0,0x9(%esi) { 80101003: 89 45 dc mov %eax,-0x24(%ebp) 80101006: 8b 45 10 mov 0x10(%ebp),%eax 80101009: 89 45 e4 mov %eax,-0x1c(%ebp) if(f->writable == 0) 8010100c: 0f 84 aa 00 00 00 je 801010bc <filewrite+0xcc> return -1; if(f->type == FD_PIPE) 80101012: 8b 06 mov (%esi),%eax 80101014: 83 f8 01 cmp $0x1,%eax 80101017: 0f 84 c3 00 00 00 je 801010e0 <filewrite+0xf0> return pipewrite(f->pipe, addr, n); if(f->type == FD_INODE){ 8010101d: 83 f8 02 cmp $0x2,%eax 80101020: 0f 85 d9 00 00 00 jne 801010ff <filewrite+0x10f> // and 2 blocks of slop for non-aligned writes. // this really belongs lower down, since writei() // might be writing a device like the console. int max = ((MAXOPBLOCKS-1-1-2) / 2) * 512; int i = 0; while(i < n){ 80101026: 8b 45 e4 mov -0x1c(%ebp),%eax int i = 0; 80101029: 31 ff xor %edi,%edi while(i < n){ 8010102b: 85 c0 test %eax,%eax 8010102d: 7f 34 jg 80101063 <filewrite+0x73> 8010102f: e9 9c 00 00 00 jmp 801010d0 <filewrite+0xe0> 80101034: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi n1 = max; begin_op(); ilock(f->ip); if ((r = writei(f->ip, addr + i, f->off, n1)) > 0) f->off += r; 80101038: 01 46 14 add %eax,0x14(%esi) iunlock(f->ip); 8010103b: 83 ec 0c sub $0xc,%esp 8010103e: ff 76 10 pushl 0x10(%esi) f->off += r; 80101041: 89 45 e0 mov %eax,-0x20(%ebp) iunlock(f->ip); 80101044: e8 27 07 00 00 call 80101770 <iunlock> end_op(); 80101049: e8 d2 1b 00 00 call 80102c20 <end_op> 8010104e: 8b 45 e0 mov -0x20(%ebp),%eax 80101051: 83 c4 10 add $0x10,%esp if(r < 0) break; if(r != n1) 80101054: 39 c3 cmp %eax,%ebx 80101056: 0f 85 96 00 00 00 jne 801010f2 <filewrite+0x102> panic("short filewrite"); i += r; 8010105c: 01 df add %ebx,%edi while(i < n){ 8010105e: 39 7d e4 cmp %edi,-0x1c(%ebp) 80101061: 7e 6d jle 801010d0 <filewrite+0xe0> int n1 = n - i; 80101063: 8b 5d e4 mov -0x1c(%ebp),%ebx 80101066: b8 00 06 00 00 mov $0x600,%eax 8010106b: 29 fb sub %edi,%ebx 8010106d: 81 fb 00 06 00 00 cmp $0x600,%ebx 80101073: 0f 4f d8 cmovg %eax,%ebx begin_op(); 80101076: e8 35 1b 00 00 call 80102bb0 <begin_op> ilock(f->ip); 8010107b: 83 ec 0c sub $0xc,%esp 8010107e: ff 76 10 pushl 0x10(%esi) 80101081: e8 0a 06 00 00 call 80101690 <ilock> if ((r = writei(f->ip, addr + i, f->off, n1)) > 0) 80101086: 8b 45 dc mov -0x24(%ebp),%eax 80101089: 53 push %ebx 8010108a: ff 76 14 pushl 0x14(%esi) 8010108d: 01 f8 add %edi,%eax 8010108f: 50 push %eax 80101090: ff 76 10 pushl 0x10(%esi) 80101093: e8 d8 09 00 00 call 80101a70 <writei> 80101098: 83 c4 20 add $0x20,%esp 8010109b: 85 c0 test %eax,%eax 8010109d: 7f 99 jg 80101038 <filewrite+0x48> iunlock(f->ip); 8010109f: 83 ec 0c sub $0xc,%esp 801010a2: ff 76 10 pushl 0x10(%esi) 801010a5: 89 45 e0 mov %eax,-0x20(%ebp) 801010a8: e8 c3 06 00 00 call 80101770 <iunlock> end_op(); 801010ad: e8 6e 1b 00 00 call 80102c20 <end_op> if(r < 0) 801010b2: 8b 45 e0 mov -0x20(%ebp),%eax 801010b5: 83 c4 10 add $0x10,%esp 801010b8: 85 c0 test %eax,%eax 801010ba: 74 98 je 80101054 <filewrite+0x64> } return i == n ? n : -1; } panic("filewrite"); } 801010bc: 8d 65 f4 lea -0xc(%ebp),%esp return -1; 801010bf: bf ff ff ff ff mov $0xffffffff,%edi } 801010c4: 89 f8 mov %edi,%eax 801010c6: 5b pop %ebx 801010c7: 5e pop %esi 801010c8: 5f pop %edi 801010c9: 5d pop %ebp 801010ca: c3 ret 801010cb: 90 nop 801010cc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi return i == n ? n : -1; 801010d0: 39 7d e4 cmp %edi,-0x1c(%ebp) 801010d3: 75 e7 jne 801010bc <filewrite+0xcc> } 801010d5: 8d 65 f4 lea -0xc(%ebp),%esp 801010d8: 89 f8 mov %edi,%eax 801010da: 5b pop %ebx 801010db: 5e pop %esi 801010dc: 5f pop %edi 801010dd: 5d pop %ebp 801010de: c3 ret 801010df: 90 nop return pipewrite(f->pipe, addr, n); 801010e0: 8b 46 0c mov 0xc(%esi),%eax 801010e3: 89 45 08 mov %eax,0x8(%ebp) } 801010e6: 8d 65 f4 lea -0xc(%ebp),%esp 801010e9: 5b pop %ebx 801010ea: 5e pop %esi 801010eb: 5f pop %edi 801010ec: 5d pop %ebp return pipewrite(f->pipe, addr, n); 801010ed: e9 0e 23 00 00 jmp 80103400 <pipewrite> panic("short filewrite"); 801010f2: 83 ec 0c sub $0xc,%esp 801010f5: 68 2f 73 10 80 push $0x8010732f 801010fa: e8 91 f2 ff ff call 80100390 <panic> panic("filewrite"); 801010ff: 83 ec 0c sub $0xc,%esp 80101102: 68 35 73 10 80 push $0x80107335 80101107: e8 84 f2 ff ff call 80100390 <panic> 8010110c: 66 90 xchg %ax,%ax 8010110e: 66 90 xchg %ax,%ax 80101110 <balloc>: // Blocks. // Allocate a zeroed disk block. static uint balloc(uint dev) { 80101110: 55 push %ebp 80101111: 89 e5 mov %esp,%ebp 80101113: 57 push %edi 80101114: 56 push %esi 80101115: 53 push %ebx 80101116: 83 ec 1c sub $0x1c,%esp int b, bi, m; struct buf *bp; bp = 0; for(b = 0; b < sb.size; b += BPB){ 80101119: 8b 0d c0 09 11 80 mov 0x801109c0,%ecx { 8010111f: 89 45 d8 mov %eax,-0x28(%ebp) for(b = 0; b < sb.size; b += BPB){ 80101122: 85 c9 test %ecx,%ecx 80101124: 0f 84 87 00 00 00 je 801011b1 <balloc+0xa1> 8010112a: c7 45 dc 00 00 00 00 movl $0x0,-0x24(%ebp) bp = bread(dev, BBLOCK(b, sb)); 80101131: 8b 75 dc mov -0x24(%ebp),%esi 80101134: 83 ec 08 sub $0x8,%esp 80101137: 89 f0 mov %esi,%eax 80101139: c1 f8 0c sar $0xc,%eax 8010113c: 03 05 d8 09 11 80 add 0x801109d8,%eax 80101142: 50 push %eax 80101143: ff 75 d8 pushl -0x28(%ebp) 80101146: e8 85 ef ff ff call 801000d0 <bread> 8010114b: 89 45 e4 mov %eax,-0x1c(%ebp) for(bi = 0; bi < BPB && b + bi < sb.size; bi++){ 8010114e: a1 c0 09 11 80 mov 0x801109c0,%eax 80101153: 83 c4 10 add $0x10,%esp 80101156: 89 45 e0 mov %eax,-0x20(%ebp) 80101159: 31 c0 xor %eax,%eax 8010115b: eb 2f jmp 8010118c <balloc+0x7c> 8010115d: 8d 76 00 lea 0x0(%esi),%esi m = 1 << (bi % 8); 80101160: 89 c1 mov %eax,%ecx if((bp->data[bi/8] & m) == 0){ // Is block free? 80101162: 8b 55 e4 mov -0x1c(%ebp),%edx m = 1 << (bi % 8); 80101165: bb 01 00 00 00 mov $0x1,%ebx 8010116a: 83 e1 07 and $0x7,%ecx 8010116d: d3 e3 shl %cl,%ebx if((bp->data[bi/8] & m) == 0){ // Is block free? 8010116f: 89 c1 mov %eax,%ecx 80101171: c1 f9 03 sar $0x3,%ecx 80101174: 0f b6 7c 0a 5c movzbl 0x5c(%edx,%ecx,1),%edi 80101179: 85 df test %ebx,%edi 8010117b: 89 fa mov %edi,%edx 8010117d: 74 41 je 801011c0 <balloc+0xb0> for(bi = 0; bi < BPB && b + bi < sb.size; bi++){ 8010117f: 83 c0 01 add $0x1,%eax 80101182: 83 c6 01 add $0x1,%esi 80101185: 3d 00 10 00 00 cmp $0x1000,%eax 8010118a: 74 05 je 80101191 <balloc+0x81> 8010118c: 39 75 e0 cmp %esi,-0x20(%ebp) 8010118f: 77 cf ja 80101160 <balloc+0x50> brelse(bp); bzero(dev, b + bi); return b + bi; } } brelse(bp); 80101191: 83 ec 0c sub $0xc,%esp 80101194: ff 75 e4 pushl -0x1c(%ebp) 80101197: e8 44 f0 ff ff call 801001e0 <brelse> for(b = 0; b < sb.size; b += BPB){ 8010119c: 81 45 dc 00 10 00 00 addl $0x1000,-0x24(%ebp) 801011a3: 83 c4 10 add $0x10,%esp 801011a6: 8b 45 dc mov -0x24(%ebp),%eax 801011a9: 39 05 c0 09 11 80 cmp %eax,0x801109c0 801011af: 77 80 ja 80101131 <balloc+0x21> } panic("balloc: out of blocks"); 801011b1: 83 ec 0c sub $0xc,%esp 801011b4: 68 3f 73 10 80 push $0x8010733f 801011b9: e8 d2 f1 ff ff call 80100390 <panic> 801011be: 66 90 xchg %ax,%ax bp->data[bi/8] |= m; // Mark block in use. 801011c0: 8b 7d e4 mov -0x1c(%ebp),%edi log_write(bp); 801011c3: 83 ec 0c sub $0xc,%esp bp->data[bi/8] |= m; // Mark block in use. 801011c6: 09 da or %ebx,%edx 801011c8: 88 54 0f 5c mov %dl,0x5c(%edi,%ecx,1) log_write(bp); 801011cc: 57 push %edi 801011cd: e8 ae 1b 00 00 call 80102d80 <log_write> brelse(bp); 801011d2: 89 3c 24 mov %edi,(%esp) 801011d5: e8 06 f0 ff ff call 801001e0 <brelse> bp = bread(dev, bno); 801011da: 58 pop %eax 801011db: 5a pop %edx 801011dc: 56 push %esi 801011dd: ff 75 d8 pushl -0x28(%ebp) 801011e0: e8 eb ee ff ff call 801000d0 <bread> 801011e5: 89 c3 mov %eax,%ebx memset(bp->data, 0, BSIZE); 801011e7: 8d 40 5c lea 0x5c(%eax),%eax 801011ea: 83 c4 0c add $0xc,%esp 801011ed: 68 00 02 00 00 push $0x200 801011f2: 6a 00 push $0x0 801011f4: 50 push %eax 801011f5: e8 c6 34 00 00 call 801046c0 <memset> log_write(bp); 801011fa: 89 1c 24 mov %ebx,(%esp) 801011fd: e8 7e 1b 00 00 call 80102d80 <log_write> brelse(bp); 80101202: 89 1c 24 mov %ebx,(%esp) 80101205: e8 d6 ef ff ff call 801001e0 <brelse> } 8010120a: 8d 65 f4 lea -0xc(%ebp),%esp 8010120d: 89 f0 mov %esi,%eax 8010120f: 5b pop %ebx 80101210: 5e pop %esi 80101211: 5f pop %edi 80101212: 5d pop %ebp 80101213: c3 ret 80101214: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 8010121a: 8d bf 00 00 00 00 lea 0x0(%edi),%edi 80101220 <iget>: // Find the inode with number inum on device dev // and return the in-memory copy. Does not lock // the inode and does not read it from disk. static struct inode* iget(uint dev, uint inum) { 80101220: 55 push %ebp 80101221: 89 e5 mov %esp,%ebp 80101223: 57 push %edi 80101224: 56 push %esi 80101225: 53 push %ebx 80101226: 89 c7 mov %eax,%edi struct inode *ip, *empty; acquire(&icache.lock); // Is the inode already cached? empty = 0; 80101228: 31 f6 xor %esi,%esi for(ip = &icache.inode[0]; ip < &icache.inode[NINODE]; ip++){ 8010122a: bb 14 0a 11 80 mov $0x80110a14,%ebx { 8010122f: 83 ec 28 sub $0x28,%esp 80101232: 89 55 e4 mov %edx,-0x1c(%ebp) acquire(&icache.lock); 80101235: 68 e0 09 11 80 push $0x801109e0 8010123a: e8 71 33 00 00 call 801045b0 <acquire> 8010123f: 83 c4 10 add $0x10,%esp for(ip = &icache.inode[0]; ip < &icache.inode[NINODE]; ip++){ 80101242: 8b 55 e4 mov -0x1c(%ebp),%edx 80101245: eb 17 jmp 8010125e <iget+0x3e> 80101247: 89 f6 mov %esi,%esi 80101249: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80101250: 81 c3 90 00 00 00 add $0x90,%ebx 80101256: 81 fb 34 26 11 80 cmp $0x80112634,%ebx 8010125c: 73 22 jae 80101280 <iget+0x60> if(ip->ref > 0 && ip->dev == dev && ip->inum == inum){ 8010125e: 8b 4b 08 mov 0x8(%ebx),%ecx 80101261: 85 c9 test %ecx,%ecx 80101263: 7e 04 jle 80101269 <iget+0x49> 80101265: 39 3b cmp %edi,(%ebx) 80101267: 74 4f je 801012b8 <iget+0x98> ip->ref++; release(&icache.lock); return ip; } if(empty == 0 && ip->ref == 0) // Remember empty slot. 80101269: 85 f6 test %esi,%esi 8010126b: 75 e3 jne 80101250 <iget+0x30> 8010126d: 85 c9 test %ecx,%ecx 8010126f: 0f 44 f3 cmove %ebx,%esi for(ip = &icache.inode[0]; ip < &icache.inode[NINODE]; ip++){ 80101272: 81 c3 90 00 00 00 add $0x90,%ebx 80101278: 81 fb 34 26 11 80 cmp $0x80112634,%ebx 8010127e: 72 de jb 8010125e <iget+0x3e> empty = ip; } // Recycle an inode cache entry. if(empty == 0) 80101280: 85 f6 test %esi,%esi 80101282: 74 5b je 801012df <iget+0xbf> ip = empty; ip->dev = dev; ip->inum = inum; ip->ref = 1; ip->valid = 0; release(&icache.lock); 80101284: 83 ec 0c sub $0xc,%esp ip->dev = dev; 80101287: 89 3e mov %edi,(%esi) ip->inum = inum; 80101289: 89 56 04 mov %edx,0x4(%esi) ip->ref = 1; 8010128c: c7 46 08 01 00 00 00 movl $0x1,0x8(%esi) ip->valid = 0; 80101293: c7 46 4c 00 00 00 00 movl $0x0,0x4c(%esi) release(&icache.lock); 8010129a: 68 e0 09 11 80 push $0x801109e0 8010129f: e8 cc 33 00 00 call 80104670 <release> return ip; 801012a4: 83 c4 10 add $0x10,%esp } 801012a7: 8d 65 f4 lea -0xc(%ebp),%esp 801012aa: 89 f0 mov %esi,%eax 801012ac: 5b pop %ebx 801012ad: 5e pop %esi 801012ae: 5f pop %edi 801012af: 5d pop %ebp 801012b0: c3 ret 801012b1: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi if(ip->ref > 0 && ip->dev == dev && ip->inum == inum){ 801012b8: 39 53 04 cmp %edx,0x4(%ebx) 801012bb: 75 ac jne 80101269 <iget+0x49> release(&icache.lock); 801012bd: 83 ec 0c sub $0xc,%esp ip->ref++; 801012c0: 83 c1 01 add $0x1,%ecx return ip; 801012c3: 89 de mov %ebx,%esi release(&icache.lock); 801012c5: 68 e0 09 11 80 push $0x801109e0 ip->ref++; 801012ca: 89 4b 08 mov %ecx,0x8(%ebx) release(&icache.lock); 801012cd: e8 9e 33 00 00 call 80104670 <release> return ip; 801012d2: 83 c4 10 add $0x10,%esp } 801012d5: 8d 65 f4 lea -0xc(%ebp),%esp 801012d8: 89 f0 mov %esi,%eax 801012da: 5b pop %ebx 801012db: 5e pop %esi 801012dc: 5f pop %edi 801012dd: 5d pop %ebp 801012de: c3 ret panic("iget: no inodes"); 801012df: 83 ec 0c sub $0xc,%esp 801012e2: 68 55 73 10 80 push $0x80107355 801012e7: e8 a4 f0 ff ff call 80100390 <panic> 801012ec: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 801012f0 <bmap>: // Return the disk block address of the nth block in inode ip. // If there is no such block, bmap allocates one. static uint bmap(struct inode *ip, uint bn) { 801012f0: 55 push %ebp 801012f1: 89 e5 mov %esp,%ebp 801012f3: 57 push %edi 801012f4: 56 push %esi 801012f5: 53 push %ebx 801012f6: 89 c6 mov %eax,%esi 801012f8: 83 ec 1c sub $0x1c,%esp uint addr, *a; struct buf *bp; if(bn < NDIRECT){ 801012fb: 83 fa 0b cmp $0xb,%edx 801012fe: 77 18 ja 80101318 <bmap+0x28> 80101300: 8d 3c 90 lea (%eax,%edx,4),%edi if((addr = ip->addrs[bn]) == 0) 80101303: 8b 5f 5c mov 0x5c(%edi),%ebx 80101306: 85 db test %ebx,%ebx 80101308: 74 76 je 80101380 <bmap+0x90> brelse(bp); return addr; } panic("bmap: out of range"); } 8010130a: 8d 65 f4 lea -0xc(%ebp),%esp 8010130d: 89 d8 mov %ebx,%eax 8010130f: 5b pop %ebx 80101310: 5e pop %esi 80101311: 5f pop %edi 80101312: 5d pop %ebp 80101313: c3 ret 80101314: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi bn -= NDIRECT; 80101318: 8d 5a f4 lea -0xc(%edx),%ebx if(bn < NINDIRECT){ 8010131b: 83 fb 7f cmp $0x7f,%ebx 8010131e: 0f 87 90 00 00 00 ja 801013b4 <bmap+0xc4> if((addr = ip->addrs[NDIRECT]) == 0) 80101324: 8b 90 8c 00 00 00 mov 0x8c(%eax),%edx 8010132a: 8b 00 mov (%eax),%eax 8010132c: 85 d2 test %edx,%edx 8010132e: 74 70 je 801013a0 <bmap+0xb0> bp = bread(ip->dev, addr); 80101330: 83 ec 08 sub $0x8,%esp 80101333: 52 push %edx 80101334: 50 push %eax 80101335: e8 96 ed ff ff call 801000d0 <bread> if((addr = a[bn]) == 0){ 8010133a: 8d 54 98 5c lea 0x5c(%eax,%ebx,4),%edx 8010133e: 83 c4 10 add $0x10,%esp bp = bread(ip->dev, addr); 80101341: 89 c7 mov %eax,%edi if((addr = a[bn]) == 0){ 80101343: 8b 1a mov (%edx),%ebx 80101345: 85 db test %ebx,%ebx 80101347: 75 1d jne 80101366 <bmap+0x76> a[bn] = addr = balloc(ip->dev); 80101349: 8b 06 mov (%esi),%eax 8010134b: 89 55 e4 mov %edx,-0x1c(%ebp) 8010134e: e8 bd fd ff ff call 80101110 <balloc> 80101353: 8b 55 e4 mov -0x1c(%ebp),%edx log_write(bp); 80101356: 83 ec 0c sub $0xc,%esp a[bn] = addr = balloc(ip->dev); 80101359: 89 c3 mov %eax,%ebx 8010135b: 89 02 mov %eax,(%edx) log_write(bp); 8010135d: 57 push %edi 8010135e: e8 1d 1a 00 00 call 80102d80 <log_write> 80101363: 83 c4 10 add $0x10,%esp brelse(bp); 80101366: 83 ec 0c sub $0xc,%esp 80101369: 57 push %edi 8010136a: e8 71 ee ff ff call 801001e0 <brelse> 8010136f: 83 c4 10 add $0x10,%esp } 80101372: 8d 65 f4 lea -0xc(%ebp),%esp 80101375: 89 d8 mov %ebx,%eax 80101377: 5b pop %ebx 80101378: 5e pop %esi 80101379: 5f pop %edi 8010137a: 5d pop %ebp 8010137b: c3 ret 8010137c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi ip->addrs[bn] = addr = balloc(ip->dev); 80101380: 8b 00 mov (%eax),%eax 80101382: e8 89 fd ff ff call 80101110 <balloc> 80101387: 89 47 5c mov %eax,0x5c(%edi) } 8010138a: 8d 65 f4 lea -0xc(%ebp),%esp ip->addrs[bn] = addr = balloc(ip->dev); 8010138d: 89 c3 mov %eax,%ebx } 8010138f: 89 d8 mov %ebx,%eax 80101391: 5b pop %ebx 80101392: 5e pop %esi 80101393: 5f pop %edi 80101394: 5d pop %ebp 80101395: c3 ret 80101396: 8d 76 00 lea 0x0(%esi),%esi 80101399: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi ip->addrs[NDIRECT] = addr = balloc(ip->dev); 801013a0: e8 6b fd ff ff call 80101110 <balloc> 801013a5: 89 c2 mov %eax,%edx 801013a7: 89 86 8c 00 00 00 mov %eax,0x8c(%esi) 801013ad: 8b 06 mov (%esi),%eax 801013af: e9 7c ff ff ff jmp 80101330 <bmap+0x40> panic("bmap: out of range"); 801013b4: 83 ec 0c sub $0xc,%esp 801013b7: 68 65 73 10 80 push $0x80107365 801013bc: e8 cf ef ff ff call 80100390 <panic> 801013c1: eb 0d jmp 801013d0 <readsb> 801013c3: 90 nop 801013c4: 90 nop 801013c5: 90 nop 801013c6: 90 nop 801013c7: 90 nop 801013c8: 90 nop 801013c9: 90 nop 801013ca: 90 nop 801013cb: 90 nop 801013cc: 90 nop 801013cd: 90 nop 801013ce: 90 nop 801013cf: 90 nop 801013d0 <readsb>: { 801013d0: 55 push %ebp 801013d1: 89 e5 mov %esp,%ebp 801013d3: 56 push %esi 801013d4: 53 push %ebx 801013d5: 8b 75 0c mov 0xc(%ebp),%esi bp = bread(dev, 1); 801013d8: 83 ec 08 sub $0x8,%esp 801013db: 6a 01 push $0x1 801013dd: ff 75 08 pushl 0x8(%ebp) 801013e0: e8 eb ec ff ff call 801000d0 <bread> 801013e5: 89 c3 mov %eax,%ebx memmove(sb, bp->data, sizeof(*sb)); 801013e7: 8d 40 5c lea 0x5c(%eax),%eax 801013ea: 83 c4 0c add $0xc,%esp 801013ed: 6a 1c push $0x1c 801013ef: 50 push %eax 801013f0: 56 push %esi 801013f1: e8 7a 33 00 00 call 80104770 <memmove> brelse(bp); 801013f6: 89 5d 08 mov %ebx,0x8(%ebp) 801013f9: 83 c4 10 add $0x10,%esp } 801013fc: 8d 65 f8 lea -0x8(%ebp),%esp 801013ff: 5b pop %ebx 80101400: 5e pop %esi 80101401: 5d pop %ebp brelse(bp); 80101402: e9 d9 ed ff ff jmp 801001e0 <brelse> 80101407: 89 f6 mov %esi,%esi 80101409: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80101410 <bfree>: { 80101410: 55 push %ebp 80101411: 89 e5 mov %esp,%ebp 80101413: 56 push %esi 80101414: 53 push %ebx 80101415: 89 d3 mov %edx,%ebx 80101417: 89 c6 mov %eax,%esi readsb(dev, &sb); 80101419: 83 ec 08 sub $0x8,%esp 8010141c: 68 c0 09 11 80 push $0x801109c0 80101421: 50 push %eax 80101422: e8 a9 ff ff ff call 801013d0 <readsb> bp = bread(dev, BBLOCK(b, sb)); 80101427: 58 pop %eax 80101428: 5a pop %edx 80101429: 89 da mov %ebx,%edx 8010142b: c1 ea 0c shr $0xc,%edx 8010142e: 03 15 d8 09 11 80 add 0x801109d8,%edx 80101434: 52 push %edx 80101435: 56 push %esi 80101436: e8 95 ec ff ff call 801000d0 <bread> m = 1 << (bi % 8); 8010143b: 89 d9 mov %ebx,%ecx if((bp->data[bi/8] & m) == 0) 8010143d: c1 fb 03 sar $0x3,%ebx m = 1 << (bi % 8); 80101440: ba 01 00 00 00 mov $0x1,%edx 80101445: 83 e1 07 and $0x7,%ecx if((bp->data[bi/8] & m) == 0) 80101448: 81 e3 ff 01 00 00 and $0x1ff,%ebx 8010144e: 83 c4 10 add $0x10,%esp m = 1 << (bi % 8); 80101451: d3 e2 shl %cl,%edx if((bp->data[bi/8] & m) == 0) 80101453: 0f b6 4c 18 5c movzbl 0x5c(%eax,%ebx,1),%ecx 80101458: 85 d1 test %edx,%ecx 8010145a: 74 25 je 80101481 <bfree+0x71> bp->data[bi/8] &= ~m; 8010145c: f7 d2 not %edx 8010145e: 89 c6 mov %eax,%esi log_write(bp); 80101460: 83 ec 0c sub $0xc,%esp bp->data[bi/8] &= ~m; 80101463: 21 ca and %ecx,%edx 80101465: 88 54 1e 5c mov %dl,0x5c(%esi,%ebx,1) log_write(bp); 80101469: 56 push %esi 8010146a: e8 11 19 00 00 call 80102d80 <log_write> brelse(bp); 8010146f: 89 34 24 mov %esi,(%esp) 80101472: e8 69 ed ff ff call 801001e0 <brelse> } 80101477: 83 c4 10 add $0x10,%esp 8010147a: 8d 65 f8 lea -0x8(%ebp),%esp 8010147d: 5b pop %ebx 8010147e: 5e pop %esi 8010147f: 5d pop %ebp 80101480: c3 ret panic("freeing free block"); 80101481: 83 ec 0c sub $0xc,%esp 80101484: 68 78 73 10 80 push $0x80107378 80101489: e8 02 ef ff ff call 80100390 <panic> 8010148e: 66 90 xchg %ax,%ax 80101490 <iinit>: { 80101490: 55 push %ebp 80101491: 89 e5 mov %esp,%ebp 80101493: 53 push %ebx 80101494: bb 20 0a 11 80 mov $0x80110a20,%ebx 80101499: 83 ec 0c sub $0xc,%esp initlock(&icache.lock, "icache"); 8010149c: 68 8b 73 10 80 push $0x8010738b 801014a1: 68 e0 09 11 80 push $0x801109e0 801014a6: e8 c5 2f 00 00 call 80104470 <initlock> 801014ab: 83 c4 10 add $0x10,%esp 801014ae: 66 90 xchg %ax,%ax initsleeplock(&icache.inode[i].lock, "inode"); 801014b0: 83 ec 08 sub $0x8,%esp 801014b3: 68 92 73 10 80 push $0x80107392 801014b8: 53 push %ebx 801014b9: 81 c3 90 00 00 00 add $0x90,%ebx 801014bf: e8 7c 2e 00 00 call 80104340 <initsleeplock> for(i = 0; i < NINODE; i++) { 801014c4: 83 c4 10 add $0x10,%esp 801014c7: 81 fb 40 26 11 80 cmp $0x80112640,%ebx 801014cd: 75 e1 jne 801014b0 <iinit+0x20> readsb(dev, &sb); 801014cf: 83 ec 08 sub $0x8,%esp 801014d2: 68 c0 09 11 80 push $0x801109c0 801014d7: ff 75 08 pushl 0x8(%ebp) 801014da: e8 f1 fe ff ff call 801013d0 <readsb> cprintf("sb: size %d nblocks %d ninodes %d nlog %d logstart %d\ 801014df: ff 35 d8 09 11 80 pushl 0x801109d8 801014e5: ff 35 d4 09 11 80 pushl 0x801109d4 801014eb: ff 35 d0 09 11 80 pushl 0x801109d0 801014f1: ff 35 cc 09 11 80 pushl 0x801109cc 801014f7: ff 35 c8 09 11 80 pushl 0x801109c8 801014fd: ff 35 c4 09 11 80 pushl 0x801109c4 80101503: ff 35 c0 09 11 80 pushl 0x801109c0 80101509: 68 f8 73 10 80 push $0x801073f8 8010150e: e8 4d f1 ff ff call 80100660 <cprintf> } 80101513: 83 c4 30 add $0x30,%esp 80101516: 8b 5d fc mov -0x4(%ebp),%ebx 80101519: c9 leave 8010151a: c3 ret 8010151b: 90 nop 8010151c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80101520 <ialloc>: { 80101520: 55 push %ebp 80101521: 89 e5 mov %esp,%ebp 80101523: 57 push %edi 80101524: 56 push %esi 80101525: 53 push %ebx 80101526: 83 ec 1c sub $0x1c,%esp for(inum = 1; inum < sb.ninodes; inum++){ 80101529: 83 3d c8 09 11 80 01 cmpl $0x1,0x801109c8 { 80101530: 8b 45 0c mov 0xc(%ebp),%eax 80101533: 8b 75 08 mov 0x8(%ebp),%esi 80101536: 89 45 e4 mov %eax,-0x1c(%ebp) for(inum = 1; inum < sb.ninodes; inum++){ 80101539: 0f 86 91 00 00 00 jbe 801015d0 <ialloc+0xb0> 8010153f: bb 01 00 00 00 mov $0x1,%ebx 80101544: eb 21 jmp 80101567 <ialloc+0x47> 80101546: 8d 76 00 lea 0x0(%esi),%esi 80101549: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi brelse(bp); 80101550: 83 ec 0c sub $0xc,%esp for(inum = 1; inum < sb.ninodes; inum++){ 80101553: 83 c3 01 add $0x1,%ebx brelse(bp); 80101556: 57 push %edi 80101557: e8 84 ec ff ff call 801001e0 <brelse> for(inum = 1; inum < sb.ninodes; inum++){ 8010155c: 83 c4 10 add $0x10,%esp 8010155f: 39 1d c8 09 11 80 cmp %ebx,0x801109c8 80101565: 76 69 jbe 801015d0 <ialloc+0xb0> bp = bread(dev, IBLOCK(inum, sb)); 80101567: 89 d8 mov %ebx,%eax 80101569: 83 ec 08 sub $0x8,%esp 8010156c: c1 e8 03 shr $0x3,%eax 8010156f: 03 05 d4 09 11 80 add 0x801109d4,%eax 80101575: 50 push %eax 80101576: 56 push %esi 80101577: e8 54 eb ff ff call 801000d0 <bread> 8010157c: 89 c7 mov %eax,%edi dip = (struct dinode*)bp->data + inum%IPB; 8010157e: 89 d8 mov %ebx,%eax if(dip->type == 0){ // a free inode 80101580: 83 c4 10 add $0x10,%esp dip = (struct dinode*)bp->data + inum%IPB; 80101583: 83 e0 07 and $0x7,%eax 80101586: c1 e0 06 shl $0x6,%eax 80101589: 8d 4c 07 5c lea 0x5c(%edi,%eax,1),%ecx if(dip->type == 0){ // a free inode 8010158d: 66 83 39 00 cmpw $0x0,(%ecx) 80101591: 75 bd jne 80101550 <ialloc+0x30> memset(dip, 0, sizeof(*dip)); 80101593: 83 ec 04 sub $0x4,%esp 80101596: 89 4d e0 mov %ecx,-0x20(%ebp) 80101599: 6a 40 push $0x40 8010159b: 6a 00 push $0x0 8010159d: 51 push %ecx 8010159e: e8 1d 31 00 00 call 801046c0 <memset> dip->type = type; 801015a3: 0f b7 45 e4 movzwl -0x1c(%ebp),%eax 801015a7: 8b 4d e0 mov -0x20(%ebp),%ecx 801015aa: 66 89 01 mov %ax,(%ecx) log_write(bp); // mark it allocated on the disk 801015ad: 89 3c 24 mov %edi,(%esp) 801015b0: e8 cb 17 00 00 call 80102d80 <log_write> brelse(bp); 801015b5: 89 3c 24 mov %edi,(%esp) 801015b8: e8 23 ec ff ff call 801001e0 <brelse> return iget(dev, inum); 801015bd: 83 c4 10 add $0x10,%esp } 801015c0: 8d 65 f4 lea -0xc(%ebp),%esp return iget(dev, inum); 801015c3: 89 da mov %ebx,%edx 801015c5: 89 f0 mov %esi,%eax } 801015c7: 5b pop %ebx 801015c8: 5e pop %esi 801015c9: 5f pop %edi 801015ca: 5d pop %ebp return iget(dev, inum); 801015cb: e9 50 fc ff ff jmp 80101220 <iget> panic("ialloc: no inodes"); 801015d0: 83 ec 0c sub $0xc,%esp 801015d3: 68 98 73 10 80 push $0x80107398 801015d8: e8 b3 ed ff ff call 80100390 <panic> 801015dd: 8d 76 00 lea 0x0(%esi),%esi 801015e0 <iupdate>: { 801015e0: 55 push %ebp 801015e1: 89 e5 mov %esp,%ebp 801015e3: 56 push %esi 801015e4: 53 push %ebx 801015e5: 8b 5d 08 mov 0x8(%ebp),%ebx bp = bread(ip->dev, IBLOCK(ip->inum, sb)); 801015e8: 83 ec 08 sub $0x8,%esp 801015eb: 8b 43 04 mov 0x4(%ebx),%eax memmove(dip->addrs, ip->addrs, sizeof(ip->addrs)); 801015ee: 83 c3 5c add $0x5c,%ebx bp = bread(ip->dev, IBLOCK(ip->inum, sb)); 801015f1: c1 e8 03 shr $0x3,%eax 801015f4: 03 05 d4 09 11 80 add 0x801109d4,%eax 801015fa: 50 push %eax 801015fb: ff 73 a4 pushl -0x5c(%ebx) 801015fe: e8 cd ea ff ff call 801000d0 <bread> 80101603: 89 c6 mov %eax,%esi dip = (struct dinode*)bp->data + ip->inum%IPB; 80101605: 8b 43 a8 mov -0x58(%ebx),%eax dip->type = ip->type; 80101608: 0f b7 53 f4 movzwl -0xc(%ebx),%edx memmove(dip->addrs, ip->addrs, sizeof(ip->addrs)); 8010160c: 83 c4 0c add $0xc,%esp dip = (struct dinode*)bp->data + ip->inum%IPB; 8010160f: 83 e0 07 and $0x7,%eax 80101612: c1 e0 06 shl $0x6,%eax 80101615: 8d 44 06 5c lea 0x5c(%esi,%eax,1),%eax dip->type = ip->type; 80101619: 66 89 10 mov %dx,(%eax) dip->major = ip->major; 8010161c: 0f b7 53 f6 movzwl -0xa(%ebx),%edx memmove(dip->addrs, ip->addrs, sizeof(ip->addrs)); 80101620: 83 c0 0c add $0xc,%eax dip->major = ip->major; 80101623: 66 89 50 f6 mov %dx,-0xa(%eax) dip->minor = ip->minor; 80101627: 0f b7 53 f8 movzwl -0x8(%ebx),%edx 8010162b: 66 89 50 f8 mov %dx,-0x8(%eax) dip->nlink = ip->nlink; 8010162f: 0f b7 53 fa movzwl -0x6(%ebx),%edx 80101633: 66 89 50 fa mov %dx,-0x6(%eax) dip->size = ip->size; 80101637: 8b 53 fc mov -0x4(%ebx),%edx 8010163a: 89 50 fc mov %edx,-0x4(%eax) memmove(dip->addrs, ip->addrs, sizeof(ip->addrs)); 8010163d: 6a 34 push $0x34 8010163f: 53 push %ebx 80101640: 50 push %eax 80101641: e8 2a 31 00 00 call 80104770 <memmove> log_write(bp); 80101646: 89 34 24 mov %esi,(%esp) 80101649: e8 32 17 00 00 call 80102d80 <log_write> brelse(bp); 8010164e: 89 75 08 mov %esi,0x8(%ebp) 80101651: 83 c4 10 add $0x10,%esp } 80101654: 8d 65 f8 lea -0x8(%ebp),%esp 80101657: 5b pop %ebx 80101658: 5e pop %esi 80101659: 5d pop %ebp brelse(bp); 8010165a: e9 81 eb ff ff jmp 801001e0 <brelse> 8010165f: 90 nop 80101660 <idup>: { 80101660: 55 push %ebp 80101661: 89 e5 mov %esp,%ebp 80101663: 53 push %ebx 80101664: 83 ec 10 sub $0x10,%esp 80101667: 8b 5d 08 mov 0x8(%ebp),%ebx acquire(&icache.lock); 8010166a: 68 e0 09 11 80 push $0x801109e0 8010166f: e8 3c 2f 00 00 call 801045b0 <acquire> ip->ref++; 80101674: 83 43 08 01 addl $0x1,0x8(%ebx) release(&icache.lock); 80101678: c7 04 24 e0 09 11 80 movl $0x801109e0,(%esp) 8010167f: e8 ec 2f 00 00 call 80104670 <release> } 80101684: 89 d8 mov %ebx,%eax 80101686: 8b 5d fc mov -0x4(%ebp),%ebx 80101689: c9 leave 8010168a: c3 ret 8010168b: 90 nop 8010168c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80101690 <ilock>: { 80101690: 55 push %ebp 80101691: 89 e5 mov %esp,%ebp 80101693: 56 push %esi 80101694: 53 push %ebx 80101695: 8b 5d 08 mov 0x8(%ebp),%ebx if(ip == 0 || ip->ref < 1) 80101698: 85 db test %ebx,%ebx 8010169a: 0f 84 b7 00 00 00 je 80101757 <ilock+0xc7> 801016a0: 8b 53 08 mov 0x8(%ebx),%edx 801016a3: 85 d2 test %edx,%edx 801016a5: 0f 8e ac 00 00 00 jle 80101757 <ilock+0xc7> acquiresleep(&ip->lock); 801016ab: 8d 43 0c lea 0xc(%ebx),%eax 801016ae: 83 ec 0c sub $0xc,%esp 801016b1: 50 push %eax 801016b2: e8 c9 2c 00 00 call 80104380 <acquiresleep> if(ip->valid == 0){ 801016b7: 8b 43 4c mov 0x4c(%ebx),%eax 801016ba: 83 c4 10 add $0x10,%esp 801016bd: 85 c0 test %eax,%eax 801016bf: 74 0f je 801016d0 <ilock+0x40> } 801016c1: 8d 65 f8 lea -0x8(%ebp),%esp 801016c4: 5b pop %ebx 801016c5: 5e pop %esi 801016c6: 5d pop %ebp 801016c7: c3 ret 801016c8: 90 nop 801016c9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi bp = bread(ip->dev, IBLOCK(ip->inum, sb)); 801016d0: 8b 43 04 mov 0x4(%ebx),%eax 801016d3: 83 ec 08 sub $0x8,%esp 801016d6: c1 e8 03 shr $0x3,%eax 801016d9: 03 05 d4 09 11 80 add 0x801109d4,%eax 801016df: 50 push %eax 801016e0: ff 33 pushl (%ebx) 801016e2: e8 e9 e9 ff ff call 801000d0 <bread> 801016e7: 89 c6 mov %eax,%esi dip = (struct dinode*)bp->data + ip->inum%IPB; 801016e9: 8b 43 04 mov 0x4(%ebx),%eax memmove(ip->addrs, dip->addrs, sizeof(ip->addrs)); 801016ec: 83 c4 0c add $0xc,%esp dip = (struct dinode*)bp->data + ip->inum%IPB; 801016ef: 83 e0 07 and $0x7,%eax 801016f2: c1 e0 06 shl $0x6,%eax 801016f5: 8d 44 06 5c lea 0x5c(%esi,%eax,1),%eax ip->type = dip->type; 801016f9: 0f b7 10 movzwl (%eax),%edx memmove(ip->addrs, dip->addrs, sizeof(ip->addrs)); 801016fc: 83 c0 0c add $0xc,%eax ip->type = dip->type; 801016ff: 66 89 53 50 mov %dx,0x50(%ebx) ip->major = dip->major; 80101703: 0f b7 50 f6 movzwl -0xa(%eax),%edx 80101707: 66 89 53 52 mov %dx,0x52(%ebx) ip->minor = dip->minor; 8010170b: 0f b7 50 f8 movzwl -0x8(%eax),%edx 8010170f: 66 89 53 54 mov %dx,0x54(%ebx) ip->nlink = dip->nlink; 80101713: 0f b7 50 fa movzwl -0x6(%eax),%edx 80101717: 66 89 53 56 mov %dx,0x56(%ebx) ip->size = dip->size; 8010171b: 8b 50 fc mov -0x4(%eax),%edx 8010171e: 89 53 58 mov %edx,0x58(%ebx) memmove(ip->addrs, dip->addrs, sizeof(ip->addrs)); 80101721: 6a 34 push $0x34 80101723: 50 push %eax 80101724: 8d 43 5c lea 0x5c(%ebx),%eax 80101727: 50 push %eax 80101728: e8 43 30 00 00 call 80104770 <memmove> brelse(bp); 8010172d: 89 34 24 mov %esi,(%esp) 80101730: e8 ab ea ff ff call 801001e0 <brelse> if(ip->type == 0) 80101735: 83 c4 10 add $0x10,%esp 80101738: 66 83 7b 50 00 cmpw $0x0,0x50(%ebx) ip->valid = 1; 8010173d: c7 43 4c 01 00 00 00 movl $0x1,0x4c(%ebx) if(ip->type == 0) 80101744: 0f 85 77 ff ff ff jne 801016c1 <ilock+0x31> panic("ilock: no type"); 8010174a: 83 ec 0c sub $0xc,%esp 8010174d: 68 b0 73 10 80 push $0x801073b0 80101752: e8 39 ec ff ff call 80100390 <panic> panic("ilock"); 80101757: 83 ec 0c sub $0xc,%esp 8010175a: 68 aa 73 10 80 push $0x801073aa 8010175f: e8 2c ec ff ff call 80100390 <panic> 80101764: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 8010176a: 8d bf 00 00 00 00 lea 0x0(%edi),%edi 80101770 <iunlock>: { 80101770: 55 push %ebp 80101771: 89 e5 mov %esp,%ebp 80101773: 56 push %esi 80101774: 53 push %ebx 80101775: 8b 5d 08 mov 0x8(%ebp),%ebx if(ip == 0 || !holdingsleep(&ip->lock) || ip->ref < 1) 80101778: 85 db test %ebx,%ebx 8010177a: 74 28 je 801017a4 <iunlock+0x34> 8010177c: 8d 73 0c lea 0xc(%ebx),%esi 8010177f: 83 ec 0c sub $0xc,%esp 80101782: 56 push %esi 80101783: e8 98 2c 00 00 call 80104420 <holdingsleep> 80101788: 83 c4 10 add $0x10,%esp 8010178b: 85 c0 test %eax,%eax 8010178d: 74 15 je 801017a4 <iunlock+0x34> 8010178f: 8b 43 08 mov 0x8(%ebx),%eax 80101792: 85 c0 test %eax,%eax 80101794: 7e 0e jle 801017a4 <iunlock+0x34> releasesleep(&ip->lock); 80101796: 89 75 08 mov %esi,0x8(%ebp) } 80101799: 8d 65 f8 lea -0x8(%ebp),%esp 8010179c: 5b pop %ebx 8010179d: 5e pop %esi 8010179e: 5d pop %ebp releasesleep(&ip->lock); 8010179f: e9 3c 2c 00 00 jmp 801043e0 <releasesleep> panic("iunlock"); 801017a4: 83 ec 0c sub $0xc,%esp 801017a7: 68 bf 73 10 80 push $0x801073bf 801017ac: e8 df eb ff ff call 80100390 <panic> 801017b1: eb 0d jmp 801017c0 <iput> 801017b3: 90 nop 801017b4: 90 nop 801017b5: 90 nop 801017b6: 90 nop 801017b7: 90 nop 801017b8: 90 nop 801017b9: 90 nop 801017ba: 90 nop 801017bb: 90 nop 801017bc: 90 nop 801017bd: 90 nop 801017be: 90 nop 801017bf: 90 nop 801017c0 <iput>: { 801017c0: 55 push %ebp 801017c1: 89 e5 mov %esp,%ebp 801017c3: 57 push %edi 801017c4: 56 push %esi 801017c5: 53 push %ebx 801017c6: 83 ec 28 sub $0x28,%esp 801017c9: 8b 5d 08 mov 0x8(%ebp),%ebx acquiresleep(&ip->lock); 801017cc: 8d 7b 0c lea 0xc(%ebx),%edi 801017cf: 57 push %edi 801017d0: e8 ab 2b 00 00 call 80104380 <acquiresleep> if(ip->valid && ip->nlink == 0){ 801017d5: 8b 53 4c mov 0x4c(%ebx),%edx 801017d8: 83 c4 10 add $0x10,%esp 801017db: 85 d2 test %edx,%edx 801017dd: 74 07 je 801017e6 <iput+0x26> 801017df: 66 83 7b 56 00 cmpw $0x0,0x56(%ebx) 801017e4: 74 32 je 80101818 <iput+0x58> releasesleep(&ip->lock); 801017e6: 83 ec 0c sub $0xc,%esp 801017e9: 57 push %edi 801017ea: e8 f1 2b 00 00 call 801043e0 <releasesleep> acquire(&icache.lock); 801017ef: c7 04 24 e0 09 11 80 movl $0x801109e0,(%esp) 801017f6: e8 b5 2d 00 00 call 801045b0 <acquire> ip->ref--; 801017fb: 83 6b 08 01 subl $0x1,0x8(%ebx) release(&icache.lock); 801017ff: 83 c4 10 add $0x10,%esp 80101802: c7 45 08 e0 09 11 80 movl $0x801109e0,0x8(%ebp) } 80101809: 8d 65 f4 lea -0xc(%ebp),%esp 8010180c: 5b pop %ebx 8010180d: 5e pop %esi 8010180e: 5f pop %edi 8010180f: 5d pop %ebp release(&icache.lock); 80101810: e9 5b 2e 00 00 jmp 80104670 <release> 80101815: 8d 76 00 lea 0x0(%esi),%esi acquire(&icache.lock); 80101818: 83 ec 0c sub $0xc,%esp 8010181b: 68 e0 09 11 80 push $0x801109e0 80101820: e8 8b 2d 00 00 call 801045b0 <acquire> int r = ip->ref; 80101825: 8b 73 08 mov 0x8(%ebx),%esi release(&icache.lock); 80101828: c7 04 24 e0 09 11 80 movl $0x801109e0,(%esp) 8010182f: e8 3c 2e 00 00 call 80104670 <release> if(r == 1){ 80101834: 83 c4 10 add $0x10,%esp 80101837: 83 fe 01 cmp $0x1,%esi 8010183a: 75 aa jne 801017e6 <iput+0x26> 8010183c: 8d 8b 8c 00 00 00 lea 0x8c(%ebx),%ecx 80101842: 89 7d e4 mov %edi,-0x1c(%ebp) 80101845: 8d 73 5c lea 0x5c(%ebx),%esi 80101848: 89 cf mov %ecx,%edi 8010184a: eb 0b jmp 80101857 <iput+0x97> 8010184c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80101850: 83 c6 04 add $0x4,%esi { int i, j; struct buf *bp; uint *a; for(i = 0; i < NDIRECT; i++){ 80101853: 39 fe cmp %edi,%esi 80101855: 74 19 je 80101870 <iput+0xb0> if(ip->addrs[i]){ 80101857: 8b 16 mov (%esi),%edx 80101859: 85 d2 test %edx,%edx 8010185b: 74 f3 je 80101850 <iput+0x90> bfree(ip->dev, ip->addrs[i]); 8010185d: 8b 03 mov (%ebx),%eax 8010185f: e8 ac fb ff ff call 80101410 <bfree> ip->addrs[i] = 0; 80101864: c7 06 00 00 00 00 movl $0x0,(%esi) 8010186a: eb e4 jmp 80101850 <iput+0x90> 8010186c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi } } if(ip->addrs[NDIRECT]){ 80101870: 8b 83 8c 00 00 00 mov 0x8c(%ebx),%eax 80101876: 8b 7d e4 mov -0x1c(%ebp),%edi 80101879: 85 c0 test %eax,%eax 8010187b: 75 33 jne 801018b0 <iput+0xf0> bfree(ip->dev, ip->addrs[NDIRECT]); ip->addrs[NDIRECT] = 0; } ip->size = 0; iupdate(ip); 8010187d: 83 ec 0c sub $0xc,%esp ip->size = 0; 80101880: c7 43 58 00 00 00 00 movl $0x0,0x58(%ebx) iupdate(ip); 80101887: 53 push %ebx 80101888: e8 53 fd ff ff call 801015e0 <iupdate> ip->type = 0; 8010188d: 31 c0 xor %eax,%eax 8010188f: 66 89 43 50 mov %ax,0x50(%ebx) iupdate(ip); 80101893: 89 1c 24 mov %ebx,(%esp) 80101896: e8 45 fd ff ff call 801015e0 <iupdate> ip->valid = 0; 8010189b: c7 43 4c 00 00 00 00 movl $0x0,0x4c(%ebx) 801018a2: 83 c4 10 add $0x10,%esp 801018a5: e9 3c ff ff ff jmp 801017e6 <iput+0x26> 801018aa: 8d b6 00 00 00 00 lea 0x0(%esi),%esi bp = bread(ip->dev, ip->addrs[NDIRECT]); 801018b0: 83 ec 08 sub $0x8,%esp 801018b3: 50 push %eax 801018b4: ff 33 pushl (%ebx) 801018b6: e8 15 e8 ff ff call 801000d0 <bread> 801018bb: 8d 88 5c 02 00 00 lea 0x25c(%eax),%ecx 801018c1: 89 7d e0 mov %edi,-0x20(%ebp) 801018c4: 89 45 e4 mov %eax,-0x1c(%ebp) a = (uint*)bp->data; 801018c7: 8d 70 5c lea 0x5c(%eax),%esi 801018ca: 83 c4 10 add $0x10,%esp 801018cd: 89 cf mov %ecx,%edi 801018cf: eb 0e jmp 801018df <iput+0x11f> 801018d1: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 801018d8: 83 c6 04 add $0x4,%esi for(j = 0; j < NINDIRECT; j++){ 801018db: 39 fe cmp %edi,%esi 801018dd: 74 0f je 801018ee <iput+0x12e> if(a[j]) 801018df: 8b 16 mov (%esi),%edx 801018e1: 85 d2 test %edx,%edx 801018e3: 74 f3 je 801018d8 <iput+0x118> bfree(ip->dev, a[j]); 801018e5: 8b 03 mov (%ebx),%eax 801018e7: e8 24 fb ff ff call 80101410 <bfree> 801018ec: eb ea jmp 801018d8 <iput+0x118> brelse(bp); 801018ee: 83 ec 0c sub $0xc,%esp 801018f1: ff 75 e4 pushl -0x1c(%ebp) 801018f4: 8b 7d e0 mov -0x20(%ebp),%edi 801018f7: e8 e4 e8 ff ff call 801001e0 <brelse> bfree(ip->dev, ip->addrs[NDIRECT]); 801018fc: 8b 93 8c 00 00 00 mov 0x8c(%ebx),%edx 80101902: 8b 03 mov (%ebx),%eax 80101904: e8 07 fb ff ff call 80101410 <bfree> ip->addrs[NDIRECT] = 0; 80101909: c7 83 8c 00 00 00 00 movl $0x0,0x8c(%ebx) 80101910: 00 00 00 80101913: 83 c4 10 add $0x10,%esp 80101916: e9 62 ff ff ff jmp 8010187d <iput+0xbd> 8010191b: 90 nop 8010191c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80101920 <iunlockput>: { 80101920: 55 push %ebp 80101921: 89 e5 mov %esp,%ebp 80101923: 53 push %ebx 80101924: 83 ec 10 sub $0x10,%esp 80101927: 8b 5d 08 mov 0x8(%ebp),%ebx iunlock(ip); 8010192a: 53 push %ebx 8010192b: e8 40 fe ff ff call 80101770 <iunlock> iput(ip); 80101930: 89 5d 08 mov %ebx,0x8(%ebp) 80101933: 83 c4 10 add $0x10,%esp } 80101936: 8b 5d fc mov -0x4(%ebp),%ebx 80101939: c9 leave iput(ip); 8010193a: e9 81 fe ff ff jmp 801017c0 <iput> 8010193f: 90 nop 80101940 <stati>: // Copy stat information from inode. // Caller must hold ip->lock. void stati(struct inode *ip, struct stat *st) { 80101940: 55 push %ebp 80101941: 89 e5 mov %esp,%ebp 80101943: 8b 55 08 mov 0x8(%ebp),%edx 80101946: 8b 45 0c mov 0xc(%ebp),%eax st->dev = ip->dev; 80101949: 8b 0a mov (%edx),%ecx 8010194b: 89 48 04 mov %ecx,0x4(%eax) st->ino = ip->inum; 8010194e: 8b 4a 04 mov 0x4(%edx),%ecx 80101951: 89 48 08 mov %ecx,0x8(%eax) st->type = ip->type; 80101954: 0f b7 4a 50 movzwl 0x50(%edx),%ecx 80101958: 66 89 08 mov %cx,(%eax) st->nlink = ip->nlink; 8010195b: 0f b7 4a 56 movzwl 0x56(%edx),%ecx 8010195f: 66 89 48 0c mov %cx,0xc(%eax) st->size = ip->size; 80101963: 8b 52 58 mov 0x58(%edx),%edx 80101966: 89 50 10 mov %edx,0x10(%eax) } 80101969: 5d pop %ebp 8010196a: c3 ret 8010196b: 90 nop 8010196c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80101970 <readi>: //PAGEBREAK! // Read data from inode. // Caller must hold ip->lock. int readi(struct inode *ip, char *dst, uint off, uint n) { 80101970: 55 push %ebp 80101971: 89 e5 mov %esp,%ebp 80101973: 57 push %edi 80101974: 56 push %esi 80101975: 53 push %ebx 80101976: 83 ec 1c sub $0x1c,%esp 80101979: 8b 45 08 mov 0x8(%ebp),%eax 8010197c: 8b 75 0c mov 0xc(%ebp),%esi 8010197f: 8b 7d 14 mov 0x14(%ebp),%edi uint tot, m; struct buf *bp; if(ip->type == T_DEV){ 80101982: 66 83 78 50 03 cmpw $0x3,0x50(%eax) { 80101987: 89 75 e0 mov %esi,-0x20(%ebp) 8010198a: 89 45 d8 mov %eax,-0x28(%ebp) 8010198d: 8b 75 10 mov 0x10(%ebp),%esi 80101990: 89 7d e4 mov %edi,-0x1c(%ebp) if(ip->type == T_DEV){ 80101993: 0f 84 a7 00 00 00 je 80101a40 <readi+0xd0> if(ip->major < 0 || ip->major >= NDEV || !devsw[ip->major].read) return -1; return devsw[ip->major].read(ip, dst, n); } if(off > ip->size || off + n < off) 80101999: 8b 45 d8 mov -0x28(%ebp),%eax 8010199c: 8b 40 58 mov 0x58(%eax),%eax 8010199f: 39 c6 cmp %eax,%esi 801019a1: 0f 87 ba 00 00 00 ja 80101a61 <readi+0xf1> 801019a7: 8b 7d e4 mov -0x1c(%ebp),%edi 801019aa: 89 f9 mov %edi,%ecx 801019ac: 01 f1 add %esi,%ecx 801019ae: 0f 82 ad 00 00 00 jb 80101a61 <readi+0xf1> return -1; if(off + n > ip->size) n = ip->size - off; 801019b4: 89 c2 mov %eax,%edx 801019b6: 29 f2 sub %esi,%edx 801019b8: 39 c8 cmp %ecx,%eax 801019ba: 0f 43 d7 cmovae %edi,%edx for(tot=0; tot<n; tot+=m, off+=m, dst+=m){ 801019bd: 31 ff xor %edi,%edi 801019bf: 85 d2 test %edx,%edx n = ip->size - off; 801019c1: 89 55 e4 mov %edx,-0x1c(%ebp) for(tot=0; tot<n; tot+=m, off+=m, dst+=m){ 801019c4: 74 6c je 80101a32 <readi+0xc2> 801019c6: 8d 76 00 lea 0x0(%esi),%esi 801019c9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi bp = bread(ip->dev, bmap(ip, off/BSIZE)); 801019d0: 8b 5d d8 mov -0x28(%ebp),%ebx 801019d3: 89 f2 mov %esi,%edx 801019d5: c1 ea 09 shr $0x9,%edx 801019d8: 89 d8 mov %ebx,%eax 801019da: e8 11 f9 ff ff call 801012f0 <bmap> 801019df: 83 ec 08 sub $0x8,%esp 801019e2: 50 push %eax 801019e3: ff 33 pushl (%ebx) 801019e5: e8 e6 e6 ff ff call 801000d0 <bread> m = min(n - tot, BSIZE - off%BSIZE); 801019ea: 8b 5d e4 mov -0x1c(%ebp),%ebx bp = bread(ip->dev, bmap(ip, off/BSIZE)); 801019ed: 89 c2 mov %eax,%edx m = min(n - tot, BSIZE - off%BSIZE); 801019ef: 89 f0 mov %esi,%eax 801019f1: 25 ff 01 00 00 and $0x1ff,%eax 801019f6: b9 00 02 00 00 mov $0x200,%ecx 801019fb: 83 c4 0c add $0xc,%esp 801019fe: 29 c1 sub %eax,%ecx memmove(dst, bp->data + off%BSIZE, m); 80101a00: 8d 44 02 5c lea 0x5c(%edx,%eax,1),%eax 80101a04: 89 55 dc mov %edx,-0x24(%ebp) m = min(n - tot, BSIZE - off%BSIZE); 80101a07: 29 fb sub %edi,%ebx 80101a09: 39 d9 cmp %ebx,%ecx 80101a0b: 0f 46 d9 cmovbe %ecx,%ebx memmove(dst, bp->data + off%BSIZE, m); 80101a0e: 53 push %ebx 80101a0f: 50 push %eax for(tot=0; tot<n; tot+=m, off+=m, dst+=m){ 80101a10: 01 df add %ebx,%edi memmove(dst, bp->data + off%BSIZE, m); 80101a12: ff 75 e0 pushl -0x20(%ebp) for(tot=0; tot<n; tot+=m, off+=m, dst+=m){ 80101a15: 01 de add %ebx,%esi memmove(dst, bp->data + off%BSIZE, m); 80101a17: e8 54 2d 00 00 call 80104770 <memmove> brelse(bp); 80101a1c: 8b 55 dc mov -0x24(%ebp),%edx 80101a1f: 89 14 24 mov %edx,(%esp) 80101a22: e8 b9 e7 ff ff call 801001e0 <brelse> for(tot=0; tot<n; tot+=m, off+=m, dst+=m){ 80101a27: 01 5d e0 add %ebx,-0x20(%ebp) 80101a2a: 83 c4 10 add $0x10,%esp 80101a2d: 39 7d e4 cmp %edi,-0x1c(%ebp) 80101a30: 77 9e ja 801019d0 <readi+0x60> } return n; 80101a32: 8b 45 e4 mov -0x1c(%ebp),%eax } 80101a35: 8d 65 f4 lea -0xc(%ebp),%esp 80101a38: 5b pop %ebx 80101a39: 5e pop %esi 80101a3a: 5f pop %edi 80101a3b: 5d pop %ebp 80101a3c: c3 ret 80101a3d: 8d 76 00 lea 0x0(%esi),%esi if(ip->major < 0 || ip->major >= NDEV || !devsw[ip->major].read) 80101a40: 0f bf 40 52 movswl 0x52(%eax),%eax 80101a44: 66 83 f8 09 cmp $0x9,%ax 80101a48: 77 17 ja 80101a61 <readi+0xf1> 80101a4a: 8b 04 c5 60 09 11 80 mov -0x7feef6a0(,%eax,8),%eax 80101a51: 85 c0 test %eax,%eax 80101a53: 74 0c je 80101a61 <readi+0xf1> return devsw[ip->major].read(ip, dst, n); 80101a55: 89 7d 10 mov %edi,0x10(%ebp) } 80101a58: 8d 65 f4 lea -0xc(%ebp),%esp 80101a5b: 5b pop %ebx 80101a5c: 5e pop %esi 80101a5d: 5f pop %edi 80101a5e: 5d pop %ebp return devsw[ip->major].read(ip, dst, n); 80101a5f: ff e0 jmp *%eax return -1; 80101a61: b8 ff ff ff ff mov $0xffffffff,%eax 80101a66: eb cd jmp 80101a35 <readi+0xc5> 80101a68: 90 nop 80101a69: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 80101a70 <writei>: // PAGEBREAK! // Write data to inode. // Caller must hold ip->lock. int writei(struct inode *ip, char *src, uint off, uint n) { 80101a70: 55 push %ebp 80101a71: 89 e5 mov %esp,%ebp 80101a73: 57 push %edi 80101a74: 56 push %esi 80101a75: 53 push %ebx 80101a76: 83 ec 1c sub $0x1c,%esp 80101a79: 8b 45 08 mov 0x8(%ebp),%eax 80101a7c: 8b 75 0c mov 0xc(%ebp),%esi 80101a7f: 8b 7d 14 mov 0x14(%ebp),%edi uint tot, m; struct buf *bp; if(ip->type == T_DEV){ 80101a82: 66 83 78 50 03 cmpw $0x3,0x50(%eax) { 80101a87: 89 75 dc mov %esi,-0x24(%ebp) 80101a8a: 89 45 d8 mov %eax,-0x28(%ebp) 80101a8d: 8b 75 10 mov 0x10(%ebp),%esi 80101a90: 89 7d e0 mov %edi,-0x20(%ebp) if(ip->type == T_DEV){ 80101a93: 0f 84 b7 00 00 00 je 80101b50 <writei+0xe0> if(ip->major < 0 || ip->major >= NDEV || !devsw[ip->major].write) return -1; return devsw[ip->major].write(ip, src, n); } if(off > ip->size || off + n < off) 80101a99: 8b 45 d8 mov -0x28(%ebp),%eax 80101a9c: 39 70 58 cmp %esi,0x58(%eax) 80101a9f: 0f 82 eb 00 00 00 jb 80101b90 <writei+0x120> 80101aa5: 8b 7d e0 mov -0x20(%ebp),%edi 80101aa8: 31 d2 xor %edx,%edx 80101aaa: 89 f8 mov %edi,%eax 80101aac: 01 f0 add %esi,%eax 80101aae: 0f 92 c2 setb %dl return -1; if(off + n > MAXFILE*BSIZE) 80101ab1: 3d 00 18 01 00 cmp $0x11800,%eax 80101ab6: 0f 87 d4 00 00 00 ja 80101b90 <writei+0x120> 80101abc: 85 d2 test %edx,%edx 80101abe: 0f 85 cc 00 00 00 jne 80101b90 <writei+0x120> return -1; for(tot=0; tot<n; tot+=m, off+=m, src+=m){ 80101ac4: 85 ff test %edi,%edi 80101ac6: c7 45 e4 00 00 00 00 movl $0x0,-0x1c(%ebp) 80101acd: 74 72 je 80101b41 <writei+0xd1> 80101acf: 90 nop bp = bread(ip->dev, bmap(ip, off/BSIZE)); 80101ad0: 8b 7d d8 mov -0x28(%ebp),%edi 80101ad3: 89 f2 mov %esi,%edx 80101ad5: c1 ea 09 shr $0x9,%edx 80101ad8: 89 f8 mov %edi,%eax 80101ada: e8 11 f8 ff ff call 801012f0 <bmap> 80101adf: 83 ec 08 sub $0x8,%esp 80101ae2: 50 push %eax 80101ae3: ff 37 pushl (%edi) 80101ae5: e8 e6 e5 ff ff call 801000d0 <bread> m = min(n - tot, BSIZE - off%BSIZE); 80101aea: 8b 5d e0 mov -0x20(%ebp),%ebx 80101aed: 2b 5d e4 sub -0x1c(%ebp),%ebx bp = bread(ip->dev, bmap(ip, off/BSIZE)); 80101af0: 89 c7 mov %eax,%edi m = min(n - tot, BSIZE - off%BSIZE); 80101af2: 89 f0 mov %esi,%eax 80101af4: b9 00 02 00 00 mov $0x200,%ecx 80101af9: 83 c4 0c add $0xc,%esp 80101afc: 25 ff 01 00 00 and $0x1ff,%eax 80101b01: 29 c1 sub %eax,%ecx memmove(bp->data + off%BSIZE, src, m); 80101b03: 8d 44 07 5c lea 0x5c(%edi,%eax,1),%eax m = min(n - tot, BSIZE - off%BSIZE); 80101b07: 39 d9 cmp %ebx,%ecx 80101b09: 0f 46 d9 cmovbe %ecx,%ebx memmove(bp->data + off%BSIZE, src, m); 80101b0c: 53 push %ebx 80101b0d: ff 75 dc pushl -0x24(%ebp) for(tot=0; tot<n; tot+=m, off+=m, src+=m){ 80101b10: 01 de add %ebx,%esi memmove(bp->data + off%BSIZE, src, m); 80101b12: 50 push %eax 80101b13: e8 58 2c 00 00 call 80104770 <memmove> log_write(bp); 80101b18: 89 3c 24 mov %edi,(%esp) 80101b1b: e8 60 12 00 00 call 80102d80 <log_write> brelse(bp); 80101b20: 89 3c 24 mov %edi,(%esp) 80101b23: e8 b8 e6 ff ff call 801001e0 <brelse> for(tot=0; tot<n; tot+=m, off+=m, src+=m){ 80101b28: 01 5d e4 add %ebx,-0x1c(%ebp) 80101b2b: 01 5d dc add %ebx,-0x24(%ebp) 80101b2e: 83 c4 10 add $0x10,%esp 80101b31: 8b 45 e4 mov -0x1c(%ebp),%eax 80101b34: 39 45 e0 cmp %eax,-0x20(%ebp) 80101b37: 77 97 ja 80101ad0 <writei+0x60> } if(n > 0 && off > ip->size){ 80101b39: 8b 45 d8 mov -0x28(%ebp),%eax 80101b3c: 3b 70 58 cmp 0x58(%eax),%esi 80101b3f: 77 37 ja 80101b78 <writei+0x108> ip->size = off; iupdate(ip); } return n; 80101b41: 8b 45 e0 mov -0x20(%ebp),%eax } 80101b44: 8d 65 f4 lea -0xc(%ebp),%esp 80101b47: 5b pop %ebx 80101b48: 5e pop %esi 80101b49: 5f pop %edi 80101b4a: 5d pop %ebp 80101b4b: c3 ret 80101b4c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi if(ip->major < 0 || ip->major >= NDEV || !devsw[ip->major].write) 80101b50: 0f bf 40 52 movswl 0x52(%eax),%eax 80101b54: 66 83 f8 09 cmp $0x9,%ax 80101b58: 77 36 ja 80101b90 <writei+0x120> 80101b5a: 8b 04 c5 64 09 11 80 mov -0x7feef69c(,%eax,8),%eax 80101b61: 85 c0 test %eax,%eax 80101b63: 74 2b je 80101b90 <writei+0x120> return devsw[ip->major].write(ip, src, n); 80101b65: 89 7d 10 mov %edi,0x10(%ebp) } 80101b68: 8d 65 f4 lea -0xc(%ebp),%esp 80101b6b: 5b pop %ebx 80101b6c: 5e pop %esi 80101b6d: 5f pop %edi 80101b6e: 5d pop %ebp return devsw[ip->major].write(ip, src, n); 80101b6f: ff e0 jmp *%eax 80101b71: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi ip->size = off; 80101b78: 8b 45 d8 mov -0x28(%ebp),%eax iupdate(ip); 80101b7b: 83 ec 0c sub $0xc,%esp ip->size = off; 80101b7e: 89 70 58 mov %esi,0x58(%eax) iupdate(ip); 80101b81: 50 push %eax 80101b82: e8 59 fa ff ff call 801015e0 <iupdate> 80101b87: 83 c4 10 add $0x10,%esp 80101b8a: eb b5 jmp 80101b41 <writei+0xd1> 80101b8c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi return -1; 80101b90: b8 ff ff ff ff mov $0xffffffff,%eax 80101b95: eb ad jmp 80101b44 <writei+0xd4> 80101b97: 89 f6 mov %esi,%esi 80101b99: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80101ba0 <namecmp>: //PAGEBREAK! // Directories int namecmp(const char *s, const char *t) { 80101ba0: 55 push %ebp 80101ba1: 89 e5 mov %esp,%ebp 80101ba3: 83 ec 0c sub $0xc,%esp return strncmp(s, t, DIRSIZ); 80101ba6: 6a 0e push $0xe 80101ba8: ff 75 0c pushl 0xc(%ebp) 80101bab: ff 75 08 pushl 0x8(%ebp) 80101bae: e8 2d 2c 00 00 call 801047e0 <strncmp> } 80101bb3: c9 leave 80101bb4: c3 ret 80101bb5: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80101bb9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80101bc0 <dirlookup>: // Look for a directory entry in a directory. // If found, set *poff to byte offset of entry. struct inode* dirlookup(struct inode *dp, char *name, uint *poff) { 80101bc0: 55 push %ebp 80101bc1: 89 e5 mov %esp,%ebp 80101bc3: 57 push %edi 80101bc4: 56 push %esi 80101bc5: 53 push %ebx 80101bc6: 83 ec 1c sub $0x1c,%esp 80101bc9: 8b 5d 08 mov 0x8(%ebp),%ebx uint off, inum; struct dirent de; if(dp->type != T_DIR) 80101bcc: 66 83 7b 50 01 cmpw $0x1,0x50(%ebx) 80101bd1: 0f 85 85 00 00 00 jne 80101c5c <dirlookup+0x9c> panic("dirlookup not DIR"); for(off = 0; off < dp->size; off += sizeof(de)){ 80101bd7: 8b 53 58 mov 0x58(%ebx),%edx 80101bda: 31 ff xor %edi,%edi 80101bdc: 8d 75 d8 lea -0x28(%ebp),%esi 80101bdf: 85 d2 test %edx,%edx 80101be1: 74 3e je 80101c21 <dirlookup+0x61> 80101be3: 90 nop 80101be4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi if(readi(dp, (char*)&de, off, sizeof(de)) != sizeof(de)) 80101be8: 6a 10 push $0x10 80101bea: 57 push %edi 80101beb: 56 push %esi 80101bec: 53 push %ebx 80101bed: e8 7e fd ff ff call 80101970 <readi> 80101bf2: 83 c4 10 add $0x10,%esp 80101bf5: 83 f8 10 cmp $0x10,%eax 80101bf8: 75 55 jne 80101c4f <dirlookup+0x8f> panic("dirlookup read"); if(de.inum == 0) 80101bfa: 66 83 7d d8 00 cmpw $0x0,-0x28(%ebp) 80101bff: 74 18 je 80101c19 <dirlookup+0x59> return strncmp(s, t, DIRSIZ); 80101c01: 8d 45 da lea -0x26(%ebp),%eax 80101c04: 83 ec 04 sub $0x4,%esp 80101c07: 6a 0e push $0xe 80101c09: 50 push %eax 80101c0a: ff 75 0c pushl 0xc(%ebp) 80101c0d: e8 ce 2b 00 00 call 801047e0 <strncmp> continue; if(namecmp(name, de.name) == 0){ 80101c12: 83 c4 10 add $0x10,%esp 80101c15: 85 c0 test %eax,%eax 80101c17: 74 17 je 80101c30 <dirlookup+0x70> for(off = 0; off < dp->size; off += sizeof(de)){ 80101c19: 83 c7 10 add $0x10,%edi 80101c1c: 3b 7b 58 cmp 0x58(%ebx),%edi 80101c1f: 72 c7 jb 80101be8 <dirlookup+0x28> return iget(dp->dev, inum); } } return 0; } 80101c21: 8d 65 f4 lea -0xc(%ebp),%esp return 0; 80101c24: 31 c0 xor %eax,%eax } 80101c26: 5b pop %ebx 80101c27: 5e pop %esi 80101c28: 5f pop %edi 80101c29: 5d pop %ebp 80101c2a: c3 ret 80101c2b: 90 nop 80101c2c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi if(poff) 80101c30: 8b 45 10 mov 0x10(%ebp),%eax 80101c33: 85 c0 test %eax,%eax 80101c35: 74 05 je 80101c3c <dirlookup+0x7c> *poff = off; 80101c37: 8b 45 10 mov 0x10(%ebp),%eax 80101c3a: 89 38 mov %edi,(%eax) inum = de.inum; 80101c3c: 0f b7 55 d8 movzwl -0x28(%ebp),%edx return iget(dp->dev, inum); 80101c40: 8b 03 mov (%ebx),%eax 80101c42: e8 d9 f5 ff ff call 80101220 <iget> } 80101c47: 8d 65 f4 lea -0xc(%ebp),%esp 80101c4a: 5b pop %ebx 80101c4b: 5e pop %esi 80101c4c: 5f pop %edi 80101c4d: 5d pop %ebp 80101c4e: c3 ret panic("dirlookup read"); 80101c4f: 83 ec 0c sub $0xc,%esp 80101c52: 68 d9 73 10 80 push $0x801073d9 80101c57: e8 34 e7 ff ff call 80100390 <panic> panic("dirlookup not DIR"); 80101c5c: 83 ec 0c sub $0xc,%esp 80101c5f: 68 c7 73 10 80 push $0x801073c7 80101c64: e8 27 e7 ff ff call 80100390 <panic> 80101c69: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 80101c70 <namex>: // If parent != 0, return the inode for the parent and copy the final // path element into name, which must have room for DIRSIZ bytes. // Must be called inside a transaction since it calls iput(). static struct inode* namex(char *path, int nameiparent, char *name) { 80101c70: 55 push %ebp 80101c71: 89 e5 mov %esp,%ebp 80101c73: 57 push %edi 80101c74: 56 push %esi 80101c75: 53 push %ebx 80101c76: 89 cf mov %ecx,%edi 80101c78: 89 c3 mov %eax,%ebx 80101c7a: 83 ec 1c sub $0x1c,%esp struct inode *ip, *next; if(*path == '/') 80101c7d: 80 38 2f cmpb $0x2f,(%eax) { 80101c80: 89 55 e0 mov %edx,-0x20(%ebp) if(*path == '/') 80101c83: 0f 84 67 01 00 00 je 80101df0 <namex+0x180> ip = iget(ROOTDEV, ROOTINO); else ip = idup(myproc()->cwd); 80101c89: e8 72 1b 00 00 call 80103800 <myproc> acquire(&icache.lock); 80101c8e: 83 ec 0c sub $0xc,%esp ip = idup(myproc()->cwd); 80101c91: 8b 70 6c mov 0x6c(%eax),%esi acquire(&icache.lock); 80101c94: 68 e0 09 11 80 push $0x801109e0 80101c99: e8 12 29 00 00 call 801045b0 <acquire> ip->ref++; 80101c9e: 83 46 08 01 addl $0x1,0x8(%esi) release(&icache.lock); 80101ca2: c7 04 24 e0 09 11 80 movl $0x801109e0,(%esp) 80101ca9: e8 c2 29 00 00 call 80104670 <release> 80101cae: 83 c4 10 add $0x10,%esp 80101cb1: eb 08 jmp 80101cbb <namex+0x4b> 80101cb3: 90 nop 80101cb4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi path++; 80101cb8: 83 c3 01 add $0x1,%ebx while(*path == '/') 80101cbb: 0f b6 03 movzbl (%ebx),%eax 80101cbe: 3c 2f cmp $0x2f,%al 80101cc0: 74 f6 je 80101cb8 <namex+0x48> if(*path == 0) 80101cc2: 84 c0 test %al,%al 80101cc4: 0f 84 ee 00 00 00 je 80101db8 <namex+0x148> while(*path != '/' && *path != 0) 80101cca: 0f b6 03 movzbl (%ebx),%eax 80101ccd: 3c 2f cmp $0x2f,%al 80101ccf: 0f 84 b3 00 00 00 je 80101d88 <namex+0x118> 80101cd5: 84 c0 test %al,%al 80101cd7: 89 da mov %ebx,%edx 80101cd9: 75 09 jne 80101ce4 <namex+0x74> 80101cdb: e9 a8 00 00 00 jmp 80101d88 <namex+0x118> 80101ce0: 84 c0 test %al,%al 80101ce2: 74 0a je 80101cee <namex+0x7e> path++; 80101ce4: 83 c2 01 add $0x1,%edx while(*path != '/' && *path != 0) 80101ce7: 0f b6 02 movzbl (%edx),%eax 80101cea: 3c 2f cmp $0x2f,%al 80101cec: 75 f2 jne 80101ce0 <namex+0x70> 80101cee: 89 d1 mov %edx,%ecx 80101cf0: 29 d9 sub %ebx,%ecx if(len >= DIRSIZ) 80101cf2: 83 f9 0d cmp $0xd,%ecx 80101cf5: 0f 8e 91 00 00 00 jle 80101d8c <namex+0x11c> memmove(name, s, DIRSIZ); 80101cfb: 83 ec 04 sub $0x4,%esp 80101cfe: 89 55 e4 mov %edx,-0x1c(%ebp) 80101d01: 6a 0e push $0xe 80101d03: 53 push %ebx 80101d04: 57 push %edi 80101d05: e8 66 2a 00 00 call 80104770 <memmove> path++; 80101d0a: 8b 55 e4 mov -0x1c(%ebp),%edx memmove(name, s, DIRSIZ); 80101d0d: 83 c4 10 add $0x10,%esp path++; 80101d10: 89 d3 mov %edx,%ebx while(*path == '/') 80101d12: 80 3a 2f cmpb $0x2f,(%edx) 80101d15: 75 11 jne 80101d28 <namex+0xb8> 80101d17: 89 f6 mov %esi,%esi 80101d19: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi path++; 80101d20: 83 c3 01 add $0x1,%ebx while(*path == '/') 80101d23: 80 3b 2f cmpb $0x2f,(%ebx) 80101d26: 74 f8 je 80101d20 <namex+0xb0> while((path = skipelem(path, name)) != 0){ ilock(ip); 80101d28: 83 ec 0c sub $0xc,%esp 80101d2b: 56 push %esi 80101d2c: e8 5f f9 ff ff call 80101690 <ilock> if(ip->type != T_DIR){ 80101d31: 83 c4 10 add $0x10,%esp 80101d34: 66 83 7e 50 01 cmpw $0x1,0x50(%esi) 80101d39: 0f 85 91 00 00 00 jne 80101dd0 <namex+0x160> iunlockput(ip); return 0; } if(nameiparent && *path == '\0'){ 80101d3f: 8b 55 e0 mov -0x20(%ebp),%edx 80101d42: 85 d2 test %edx,%edx 80101d44: 74 09 je 80101d4f <namex+0xdf> 80101d46: 80 3b 00 cmpb $0x0,(%ebx) 80101d49: 0f 84 b7 00 00 00 je 80101e06 <namex+0x196> // Stop one level early. iunlock(ip); return ip; } if((next = dirlookup(ip, name, 0)) == 0){ 80101d4f: 83 ec 04 sub $0x4,%esp 80101d52: 6a 00 push $0x0 80101d54: 57 push %edi 80101d55: 56 push %esi 80101d56: e8 65 fe ff ff call 80101bc0 <dirlookup> 80101d5b: 83 c4 10 add $0x10,%esp 80101d5e: 85 c0 test %eax,%eax 80101d60: 74 6e je 80101dd0 <namex+0x160> iunlock(ip); 80101d62: 83 ec 0c sub $0xc,%esp 80101d65: 89 45 e4 mov %eax,-0x1c(%ebp) 80101d68: 56 push %esi 80101d69: e8 02 fa ff ff call 80101770 <iunlock> iput(ip); 80101d6e: 89 34 24 mov %esi,(%esp) 80101d71: e8 4a fa ff ff call 801017c0 <iput> 80101d76: 8b 45 e4 mov -0x1c(%ebp),%eax 80101d79: 83 c4 10 add $0x10,%esp 80101d7c: 89 c6 mov %eax,%esi 80101d7e: e9 38 ff ff ff jmp 80101cbb <namex+0x4b> 80101d83: 90 nop 80101d84: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi while(*path != '/' && *path != 0) 80101d88: 89 da mov %ebx,%edx 80101d8a: 31 c9 xor %ecx,%ecx memmove(name, s, len); 80101d8c: 83 ec 04 sub $0x4,%esp 80101d8f: 89 55 dc mov %edx,-0x24(%ebp) 80101d92: 89 4d e4 mov %ecx,-0x1c(%ebp) 80101d95: 51 push %ecx 80101d96: 53 push %ebx 80101d97: 57 push %edi 80101d98: e8 d3 29 00 00 call 80104770 <memmove> name[len] = 0; 80101d9d: 8b 4d e4 mov -0x1c(%ebp),%ecx 80101da0: 8b 55 dc mov -0x24(%ebp),%edx 80101da3: 83 c4 10 add $0x10,%esp 80101da6: c6 04 0f 00 movb $0x0,(%edi,%ecx,1) 80101daa: 89 d3 mov %edx,%ebx 80101dac: e9 61 ff ff ff jmp 80101d12 <namex+0xa2> 80101db1: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi return 0; } iunlockput(ip); ip = next; } if(nameiparent){ 80101db8: 8b 45 e0 mov -0x20(%ebp),%eax 80101dbb: 85 c0 test %eax,%eax 80101dbd: 75 5d jne 80101e1c <namex+0x1ac> iput(ip); return 0; } return ip; } 80101dbf: 8d 65 f4 lea -0xc(%ebp),%esp 80101dc2: 89 f0 mov %esi,%eax 80101dc4: 5b pop %ebx 80101dc5: 5e pop %esi 80101dc6: 5f pop %edi 80101dc7: 5d pop %ebp 80101dc8: c3 ret 80101dc9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi iunlock(ip); 80101dd0: 83 ec 0c sub $0xc,%esp 80101dd3: 56 push %esi 80101dd4: e8 97 f9 ff ff call 80101770 <iunlock> iput(ip); 80101dd9: 89 34 24 mov %esi,(%esp) return 0; 80101ddc: 31 f6 xor %esi,%esi iput(ip); 80101dde: e8 dd f9 ff ff call 801017c0 <iput> return 0; 80101de3: 83 c4 10 add $0x10,%esp } 80101de6: 8d 65 f4 lea -0xc(%ebp),%esp 80101de9: 89 f0 mov %esi,%eax 80101deb: 5b pop %ebx 80101dec: 5e pop %esi 80101ded: 5f pop %edi 80101dee: 5d pop %ebp 80101def: c3 ret ip = iget(ROOTDEV, ROOTINO); 80101df0: ba 01 00 00 00 mov $0x1,%edx 80101df5: b8 01 00 00 00 mov $0x1,%eax 80101dfa: e8 21 f4 ff ff call 80101220 <iget> 80101dff: 89 c6 mov %eax,%esi 80101e01: e9 b5 fe ff ff jmp 80101cbb <namex+0x4b> iunlock(ip); 80101e06: 83 ec 0c sub $0xc,%esp 80101e09: 56 push %esi 80101e0a: e8 61 f9 ff ff call 80101770 <iunlock> return ip; 80101e0f: 83 c4 10 add $0x10,%esp } 80101e12: 8d 65 f4 lea -0xc(%ebp),%esp 80101e15: 89 f0 mov %esi,%eax 80101e17: 5b pop %ebx 80101e18: 5e pop %esi 80101e19: 5f pop %edi 80101e1a: 5d pop %ebp 80101e1b: c3 ret iput(ip); 80101e1c: 83 ec 0c sub $0xc,%esp 80101e1f: 56 push %esi return 0; 80101e20: 31 f6 xor %esi,%esi iput(ip); 80101e22: e8 99 f9 ff ff call 801017c0 <iput> return 0; 80101e27: 83 c4 10 add $0x10,%esp 80101e2a: eb 93 jmp 80101dbf <namex+0x14f> 80101e2c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80101e30 <dirlink>: { 80101e30: 55 push %ebp 80101e31: 89 e5 mov %esp,%ebp 80101e33: 57 push %edi 80101e34: 56 push %esi 80101e35: 53 push %ebx 80101e36: 83 ec 20 sub $0x20,%esp 80101e39: 8b 5d 08 mov 0x8(%ebp),%ebx if((ip = dirlookup(dp, name, 0)) != 0){ 80101e3c: 6a 00 push $0x0 80101e3e: ff 75 0c pushl 0xc(%ebp) 80101e41: 53 push %ebx 80101e42: e8 79 fd ff ff call 80101bc0 <dirlookup> 80101e47: 83 c4 10 add $0x10,%esp 80101e4a: 85 c0 test %eax,%eax 80101e4c: 75 67 jne 80101eb5 <dirlink+0x85> for(off = 0; off < dp->size; off += sizeof(de)){ 80101e4e: 8b 7b 58 mov 0x58(%ebx),%edi 80101e51: 8d 75 d8 lea -0x28(%ebp),%esi 80101e54: 85 ff test %edi,%edi 80101e56: 74 29 je 80101e81 <dirlink+0x51> 80101e58: 31 ff xor %edi,%edi 80101e5a: 8d 75 d8 lea -0x28(%ebp),%esi 80101e5d: eb 09 jmp 80101e68 <dirlink+0x38> 80101e5f: 90 nop 80101e60: 83 c7 10 add $0x10,%edi 80101e63: 3b 7b 58 cmp 0x58(%ebx),%edi 80101e66: 73 19 jae 80101e81 <dirlink+0x51> if(readi(dp, (char*)&de, off, sizeof(de)) != sizeof(de)) 80101e68: 6a 10 push $0x10 80101e6a: 57 push %edi 80101e6b: 56 push %esi 80101e6c: 53 push %ebx 80101e6d: e8 fe fa ff ff call 80101970 <readi> 80101e72: 83 c4 10 add $0x10,%esp 80101e75: 83 f8 10 cmp $0x10,%eax 80101e78: 75 4e jne 80101ec8 <dirlink+0x98> if(de.inum == 0) 80101e7a: 66 83 7d d8 00 cmpw $0x0,-0x28(%ebp) 80101e7f: 75 df jne 80101e60 <dirlink+0x30> strncpy(de.name, name, DIRSIZ); 80101e81: 8d 45 da lea -0x26(%ebp),%eax 80101e84: 83 ec 04 sub $0x4,%esp 80101e87: 6a 0e push $0xe 80101e89: ff 75 0c pushl 0xc(%ebp) 80101e8c: 50 push %eax 80101e8d: e8 ae 29 00 00 call 80104840 <strncpy> de.inum = inum; 80101e92: 8b 45 10 mov 0x10(%ebp),%eax if(writei(dp, (char*)&de, off, sizeof(de)) != sizeof(de)) 80101e95: 6a 10 push $0x10 80101e97: 57 push %edi 80101e98: 56 push %esi 80101e99: 53 push %ebx de.inum = inum; 80101e9a: 66 89 45 d8 mov %ax,-0x28(%ebp) if(writei(dp, (char*)&de, off, sizeof(de)) != sizeof(de)) 80101e9e: e8 cd fb ff ff call 80101a70 <writei> 80101ea3: 83 c4 20 add $0x20,%esp 80101ea6: 83 f8 10 cmp $0x10,%eax 80101ea9: 75 2a jne 80101ed5 <dirlink+0xa5> return 0; 80101eab: 31 c0 xor %eax,%eax } 80101ead: 8d 65 f4 lea -0xc(%ebp),%esp 80101eb0: 5b pop %ebx 80101eb1: 5e pop %esi 80101eb2: 5f pop %edi 80101eb3: 5d pop %ebp 80101eb4: c3 ret iput(ip); 80101eb5: 83 ec 0c sub $0xc,%esp 80101eb8: 50 push %eax 80101eb9: e8 02 f9 ff ff call 801017c0 <iput> return -1; 80101ebe: 83 c4 10 add $0x10,%esp 80101ec1: b8 ff ff ff ff mov $0xffffffff,%eax 80101ec6: eb e5 jmp 80101ead <dirlink+0x7d> panic("dirlink read"); 80101ec8: 83 ec 0c sub $0xc,%esp 80101ecb: 68 e8 73 10 80 push $0x801073e8 80101ed0: e8 bb e4 ff ff call 80100390 <panic> panic("dirlink"); 80101ed5: 83 ec 0c sub $0xc,%esp 80101ed8: 68 1a 7a 10 80 push $0x80107a1a 80101edd: e8 ae e4 ff ff call 80100390 <panic> 80101ee2: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 80101ee9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80101ef0 <namei>: struct inode* namei(char *path) { 80101ef0: 55 push %ebp char name[DIRSIZ]; return namex(path, 0, name); 80101ef1: 31 d2 xor %edx,%edx { 80101ef3: 89 e5 mov %esp,%ebp 80101ef5: 83 ec 18 sub $0x18,%esp return namex(path, 0, name); 80101ef8: 8b 45 08 mov 0x8(%ebp),%eax 80101efb: 8d 4d ea lea -0x16(%ebp),%ecx 80101efe: e8 6d fd ff ff call 80101c70 <namex> } 80101f03: c9 leave 80101f04: c3 ret 80101f05: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80101f09: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80101f10 <nameiparent>: struct inode* nameiparent(char *path, char *name) { 80101f10: 55 push %ebp return namex(path, 1, name); 80101f11: ba 01 00 00 00 mov $0x1,%edx { 80101f16: 89 e5 mov %esp,%ebp return namex(path, 1, name); 80101f18: 8b 4d 0c mov 0xc(%ebp),%ecx 80101f1b: 8b 45 08 mov 0x8(%ebp),%eax } 80101f1e: 5d pop %ebp return namex(path, 1, name); 80101f1f: e9 4c fd ff ff jmp 80101c70 <namex> 80101f24: 66 90 xchg %ax,%ax 80101f26: 66 90 xchg %ax,%ax 80101f28: 66 90 xchg %ax,%ax 80101f2a: 66 90 xchg %ax,%ax 80101f2c: 66 90 xchg %ax,%ax 80101f2e: 66 90 xchg %ax,%ax 80101f30 <idestart>: } // Start the request for b. Caller must hold idelock. static void idestart(struct buf *b) { 80101f30: 55 push %ebp 80101f31: 89 e5 mov %esp,%ebp 80101f33: 57 push %edi 80101f34: 56 push %esi 80101f35: 53 push %ebx 80101f36: 83 ec 0c sub $0xc,%esp if(b == 0) 80101f39: 85 c0 test %eax,%eax 80101f3b: 0f 84 b4 00 00 00 je 80101ff5 <idestart+0xc5> panic("idestart"); if(b->blockno >= FSSIZE) 80101f41: 8b 58 08 mov 0x8(%eax),%ebx 80101f44: 89 c6 mov %eax,%esi 80101f46: 81 fb e7 03 00 00 cmp $0x3e7,%ebx 80101f4c: 0f 87 96 00 00 00 ja 80101fe8 <idestart+0xb8> asm volatile("in %1,%0" : "=a" (data) : "d" (port)); 80101f52: b9 f7 01 00 00 mov $0x1f7,%ecx 80101f57: 89 f6 mov %esi,%esi 80101f59: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80101f60: 89 ca mov %ecx,%edx 80101f62: ec in (%dx),%al while(((r = inb(0x1f7)) & (IDE_BSY|IDE_DRDY)) != IDE_DRDY) 80101f63: 83 e0 c0 and $0xffffffc0,%eax 80101f66: 3c 40 cmp $0x40,%al 80101f68: 75 f6 jne 80101f60 <idestart+0x30> asm volatile("out %0,%1" : : "a" (data), "d" (port)); 80101f6a: 31 ff xor %edi,%edi 80101f6c: ba f6 03 00 00 mov $0x3f6,%edx 80101f71: 89 f8 mov %edi,%eax 80101f73: ee out %al,(%dx) 80101f74: b8 01 00 00 00 mov $0x1,%eax 80101f79: ba f2 01 00 00 mov $0x1f2,%edx 80101f7e: ee out %al,(%dx) 80101f7f: ba f3 01 00 00 mov $0x1f3,%edx 80101f84: 89 d8 mov %ebx,%eax 80101f86: ee out %al,(%dx) idewait(0); outb(0x3f6, 0); // generate interrupt outb(0x1f2, sector_per_block); // number of sectors outb(0x1f3, sector & 0xff); outb(0x1f4, (sector >> 8) & 0xff); 80101f87: 89 d8 mov %ebx,%eax 80101f89: ba f4 01 00 00 mov $0x1f4,%edx 80101f8e: c1 f8 08 sar $0x8,%eax 80101f91: ee out %al,(%dx) 80101f92: ba f5 01 00 00 mov $0x1f5,%edx 80101f97: 89 f8 mov %edi,%eax 80101f99: ee out %al,(%dx) outb(0x1f5, (sector >> 16) & 0xff); outb(0x1f6, 0xe0 | ((b->dev&1)<<4) | ((sector>>24)&0x0f)); 80101f9a: 0f b6 46 04 movzbl 0x4(%esi),%eax 80101f9e: ba f6 01 00 00 mov $0x1f6,%edx 80101fa3: c1 e0 04 shl $0x4,%eax 80101fa6: 83 e0 10 and $0x10,%eax 80101fa9: 83 c8 e0 or $0xffffffe0,%eax 80101fac: ee out %al,(%dx) if(b->flags & B_DIRTY){ 80101fad: f6 06 04 testb $0x4,(%esi) 80101fb0: 75 16 jne 80101fc8 <idestart+0x98> 80101fb2: b8 20 00 00 00 mov $0x20,%eax 80101fb7: 89 ca mov %ecx,%edx 80101fb9: ee out %al,(%dx) outb(0x1f7, write_cmd); outsl(0x1f0, b->data, BSIZE/4); } else { outb(0x1f7, read_cmd); } } 80101fba: 8d 65 f4 lea -0xc(%ebp),%esp 80101fbd: 5b pop %ebx 80101fbe: 5e pop %esi 80101fbf: 5f pop %edi 80101fc0: 5d pop %ebp 80101fc1: c3 ret 80101fc2: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 80101fc8: b8 30 00 00 00 mov $0x30,%eax 80101fcd: 89 ca mov %ecx,%edx 80101fcf: ee out %al,(%dx) asm volatile("cld; rep outsl" : 80101fd0: b9 80 00 00 00 mov $0x80,%ecx outsl(0x1f0, b->data, BSIZE/4); 80101fd5: 83 c6 5c add $0x5c,%esi 80101fd8: ba f0 01 00 00 mov $0x1f0,%edx 80101fdd: fc cld 80101fde: f3 6f rep outsl %ds:(%esi),(%dx) } 80101fe0: 8d 65 f4 lea -0xc(%ebp),%esp 80101fe3: 5b pop %ebx 80101fe4: 5e pop %esi 80101fe5: 5f pop %edi 80101fe6: 5d pop %ebp 80101fe7: c3 ret panic("incorrect blockno"); 80101fe8: 83 ec 0c sub $0xc,%esp 80101feb: 68 54 74 10 80 push $0x80107454 80101ff0: e8 9b e3 ff ff call 80100390 <panic> panic("idestart"); 80101ff5: 83 ec 0c sub $0xc,%esp 80101ff8: 68 4b 74 10 80 push $0x8010744b 80101ffd: e8 8e e3 ff ff call 80100390 <panic> 80102002: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 80102009: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80102010 <ideinit>: { 80102010: 55 push %ebp 80102011: 89 e5 mov %esp,%ebp 80102013: 83 ec 10 sub $0x10,%esp initlock(&idelock, "ide"); 80102016: 68 66 74 10 80 push $0x80107466 8010201b: 68 80 a5 10 80 push $0x8010a580 80102020: e8 4b 24 00 00 call 80104470 <initlock> ioapicenable(IRQ_IDE, ncpu - 1); 80102025: 58 pop %eax 80102026: a1 00 2d 11 80 mov 0x80112d00,%eax 8010202b: 5a pop %edx 8010202c: 83 e8 01 sub $0x1,%eax 8010202f: 50 push %eax 80102030: 6a 0e push $0xe 80102032: e8 a9 02 00 00 call 801022e0 <ioapicenable> 80102037: 83 c4 10 add $0x10,%esp asm volatile("in %1,%0" : "=a" (data) : "d" (port)); 8010203a: ba f7 01 00 00 mov $0x1f7,%edx 8010203f: 90 nop 80102040: ec in (%dx),%al while(((r = inb(0x1f7)) & (IDE_BSY|IDE_DRDY)) != IDE_DRDY) 80102041: 83 e0 c0 and $0xffffffc0,%eax 80102044: 3c 40 cmp $0x40,%al 80102046: 75 f8 jne 80102040 <ideinit+0x30> asm volatile("out %0,%1" : : "a" (data), "d" (port)); 80102048: b8 f0 ff ff ff mov $0xfffffff0,%eax 8010204d: ba f6 01 00 00 mov $0x1f6,%edx 80102052: ee out %al,(%dx) 80102053: b9 e8 03 00 00 mov $0x3e8,%ecx asm volatile("in %1,%0" : "=a" (data) : "d" (port)); 80102058: ba f7 01 00 00 mov $0x1f7,%edx 8010205d: eb 06 jmp 80102065 <ideinit+0x55> 8010205f: 90 nop for(i=0; i<1000; i++){ 80102060: 83 e9 01 sub $0x1,%ecx 80102063: 74 0f je 80102074 <ideinit+0x64> 80102065: ec in (%dx),%al if(inb(0x1f7) != 0){ 80102066: 84 c0 test %al,%al 80102068: 74 f6 je 80102060 <ideinit+0x50> havedisk1 = 1; 8010206a: c7 05 60 a5 10 80 01 movl $0x1,0x8010a560 80102071: 00 00 00 asm volatile("out %0,%1" : : "a" (data), "d" (port)); 80102074: b8 e0 ff ff ff mov $0xffffffe0,%eax 80102079: ba f6 01 00 00 mov $0x1f6,%edx 8010207e: ee out %al,(%dx) } 8010207f: c9 leave 80102080: c3 ret 80102081: eb 0d jmp 80102090 <ideintr> 80102083: 90 nop 80102084: 90 nop 80102085: 90 nop 80102086: 90 nop 80102087: 90 nop 80102088: 90 nop 80102089: 90 nop 8010208a: 90 nop 8010208b: 90 nop 8010208c: 90 nop 8010208d: 90 nop 8010208e: 90 nop 8010208f: 90 nop 80102090 <ideintr>: // Interrupt handler. void ideintr(void) { 80102090: 55 push %ebp 80102091: 89 e5 mov %esp,%ebp 80102093: 57 push %edi 80102094: 56 push %esi 80102095: 53 push %ebx 80102096: 83 ec 18 sub $0x18,%esp struct buf *b; // First queued buffer is the active request. acquire(&idelock); 80102099: 68 80 a5 10 80 push $0x8010a580 8010209e: e8 0d 25 00 00 call 801045b0 <acquire> if((b = idequeue) == 0){ 801020a3: 8b 1d 64 a5 10 80 mov 0x8010a564,%ebx 801020a9: 83 c4 10 add $0x10,%esp 801020ac: 85 db test %ebx,%ebx 801020ae: 74 67 je 80102117 <ideintr+0x87> release(&idelock); return; } idequeue = b->qnext; 801020b0: 8b 43 58 mov 0x58(%ebx),%eax 801020b3: a3 64 a5 10 80 mov %eax,0x8010a564 // Read data if needed. if(!(b->flags & B_DIRTY) && idewait(1) >= 0) 801020b8: 8b 3b mov (%ebx),%edi 801020ba: f7 c7 04 00 00 00 test $0x4,%edi 801020c0: 75 31 jne 801020f3 <ideintr+0x63> asm volatile("in %1,%0" : "=a" (data) : "d" (port)); 801020c2: ba f7 01 00 00 mov $0x1f7,%edx 801020c7: 89 f6 mov %esi,%esi 801020c9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 801020d0: ec in (%dx),%al while(((r = inb(0x1f7)) & (IDE_BSY|IDE_DRDY)) != IDE_DRDY) 801020d1: 89 c6 mov %eax,%esi 801020d3: 83 e6 c0 and $0xffffffc0,%esi 801020d6: 89 f1 mov %esi,%ecx 801020d8: 80 f9 40 cmp $0x40,%cl 801020db: 75 f3 jne 801020d0 <ideintr+0x40> if(checkerr && (r & (IDE_DF|IDE_ERR)) != 0) 801020dd: a8 21 test $0x21,%al 801020df: 75 12 jne 801020f3 <ideintr+0x63> insl(0x1f0, b->data, BSIZE/4); 801020e1: 8d 7b 5c lea 0x5c(%ebx),%edi asm volatile("cld; rep insl" : 801020e4: b9 80 00 00 00 mov $0x80,%ecx 801020e9: ba f0 01 00 00 mov $0x1f0,%edx 801020ee: fc cld 801020ef: f3 6d rep insl (%dx),%es:(%edi) 801020f1: 8b 3b mov (%ebx),%edi // Wake process waiting for this buf. b->flags |= B_VALID; b->flags &= ~B_DIRTY; 801020f3: 83 e7 fb and $0xfffffffb,%edi wakeup(b); 801020f6: 83 ec 0c sub $0xc,%esp b->flags &= ~B_DIRTY; 801020f9: 89 f9 mov %edi,%ecx 801020fb: 83 c9 02 or $0x2,%ecx 801020fe: 89 0b mov %ecx,(%ebx) wakeup(b); 80102100: 53 push %ebx 80102101: e8 ba 1e 00 00 call 80103fc0 <wakeup> // Start disk on next buf in queue. if(idequeue != 0) 80102106: a1 64 a5 10 80 mov 0x8010a564,%eax 8010210b: 83 c4 10 add $0x10,%esp 8010210e: 85 c0 test %eax,%eax 80102110: 74 05 je 80102117 <ideintr+0x87> idestart(idequeue); 80102112: e8 19 fe ff ff call 80101f30 <idestart> release(&idelock); 80102117: 83 ec 0c sub $0xc,%esp 8010211a: 68 80 a5 10 80 push $0x8010a580 8010211f: e8 4c 25 00 00 call 80104670 <release> release(&idelock); } 80102124: 8d 65 f4 lea -0xc(%ebp),%esp 80102127: 5b pop %ebx 80102128: 5e pop %esi 80102129: 5f pop %edi 8010212a: 5d pop %ebp 8010212b: c3 ret 8010212c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80102130 <iderw>: // Sync buf with disk. // If B_DIRTY is set, write buf to disk, clear B_DIRTY, set B_VALID. // Else if B_VALID is not set, read buf from disk, set B_VALID. void iderw(struct buf *b) { 80102130: 55 push %ebp 80102131: 89 e5 mov %esp,%ebp 80102133: 53 push %ebx 80102134: 83 ec 10 sub $0x10,%esp 80102137: 8b 5d 08 mov 0x8(%ebp),%ebx struct buf **pp; if(!holdingsleep(&b->lock)) 8010213a: 8d 43 0c lea 0xc(%ebx),%eax 8010213d: 50 push %eax 8010213e: e8 dd 22 00 00 call 80104420 <holdingsleep> 80102143: 83 c4 10 add $0x10,%esp 80102146: 85 c0 test %eax,%eax 80102148: 0f 84 c6 00 00 00 je 80102214 <iderw+0xe4> panic("iderw: buf not locked"); if((b->flags & (B_VALID|B_DIRTY)) == B_VALID) 8010214e: 8b 03 mov (%ebx),%eax 80102150: 83 e0 06 and $0x6,%eax 80102153: 83 f8 02 cmp $0x2,%eax 80102156: 0f 84 ab 00 00 00 je 80102207 <iderw+0xd7> panic("iderw: nothing to do"); if(b->dev != 0 && !havedisk1) 8010215c: 8b 53 04 mov 0x4(%ebx),%edx 8010215f: 85 d2 test %edx,%edx 80102161: 74 0d je 80102170 <iderw+0x40> 80102163: a1 60 a5 10 80 mov 0x8010a560,%eax 80102168: 85 c0 test %eax,%eax 8010216a: 0f 84 b1 00 00 00 je 80102221 <iderw+0xf1> panic("iderw: ide disk 1 not present"); acquire(&idelock); //DOC:acquire-lock 80102170: 83 ec 0c sub $0xc,%esp 80102173: 68 80 a5 10 80 push $0x8010a580 80102178: e8 33 24 00 00 call 801045b0 <acquire> // Append b to idequeue. b->qnext = 0; for(pp=&idequeue; *pp; pp=&(*pp)->qnext) //DOC:insert-queue 8010217d: 8b 15 64 a5 10 80 mov 0x8010a564,%edx 80102183: 83 c4 10 add $0x10,%esp b->qnext = 0; 80102186: c7 43 58 00 00 00 00 movl $0x0,0x58(%ebx) for(pp=&idequeue; *pp; pp=&(*pp)->qnext) //DOC:insert-queue 8010218d: 85 d2 test %edx,%edx 8010218f: 75 09 jne 8010219a <iderw+0x6a> 80102191: eb 6d jmp 80102200 <iderw+0xd0> 80102193: 90 nop 80102194: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80102198: 89 c2 mov %eax,%edx 8010219a: 8b 42 58 mov 0x58(%edx),%eax 8010219d: 85 c0 test %eax,%eax 8010219f: 75 f7 jne 80102198 <iderw+0x68> 801021a1: 83 c2 58 add $0x58,%edx ; *pp = b; 801021a4: 89 1a mov %ebx,(%edx) // Start disk if necessary. if(idequeue == b) 801021a6: 39 1d 64 a5 10 80 cmp %ebx,0x8010a564 801021ac: 74 42 je 801021f0 <iderw+0xc0> idestart(b); // Wait for request to finish. while((b->flags & (B_VALID|B_DIRTY)) != B_VALID){ 801021ae: 8b 03 mov (%ebx),%eax 801021b0: 83 e0 06 and $0x6,%eax 801021b3: 83 f8 02 cmp $0x2,%eax 801021b6: 74 23 je 801021db <iderw+0xab> 801021b8: 90 nop 801021b9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi sleep(b, &idelock); 801021c0: 83 ec 08 sub $0x8,%esp 801021c3: 68 80 a5 10 80 push $0x8010a580 801021c8: 53 push %ebx 801021c9: e8 32 1c 00 00 call 80103e00 <sleep> while((b->flags & (B_VALID|B_DIRTY)) != B_VALID){ 801021ce: 8b 03 mov (%ebx),%eax 801021d0: 83 c4 10 add $0x10,%esp 801021d3: 83 e0 06 and $0x6,%eax 801021d6: 83 f8 02 cmp $0x2,%eax 801021d9: 75 e5 jne 801021c0 <iderw+0x90> } release(&idelock); 801021db: c7 45 08 80 a5 10 80 movl $0x8010a580,0x8(%ebp) } 801021e2: 8b 5d fc mov -0x4(%ebp),%ebx 801021e5: c9 leave release(&idelock); 801021e6: e9 85 24 00 00 jmp 80104670 <release> 801021eb: 90 nop 801021ec: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi idestart(b); 801021f0: 89 d8 mov %ebx,%eax 801021f2: e8 39 fd ff ff call 80101f30 <idestart> 801021f7: eb b5 jmp 801021ae <iderw+0x7e> 801021f9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi for(pp=&idequeue; *pp; pp=&(*pp)->qnext) //DOC:insert-queue 80102200: ba 64 a5 10 80 mov $0x8010a564,%edx 80102205: eb 9d jmp 801021a4 <iderw+0x74> panic("iderw: nothing to do"); 80102207: 83 ec 0c sub $0xc,%esp 8010220a: 68 80 74 10 80 push $0x80107480 8010220f: e8 7c e1 ff ff call 80100390 <panic> panic("iderw: buf not locked"); 80102214: 83 ec 0c sub $0xc,%esp 80102217: 68 6a 74 10 80 push $0x8010746a 8010221c: e8 6f e1 ff ff call 80100390 <panic> panic("iderw: ide disk 1 not present"); 80102221: 83 ec 0c sub $0xc,%esp 80102224: 68 95 74 10 80 push $0x80107495 80102229: e8 62 e1 ff ff call 80100390 <panic> 8010222e: 66 90 xchg %ax,%ax 80102230 <ioapicinit>: ioapic->data = data; } void ioapicinit(void) { 80102230: 55 push %ebp int i, id, maxintr; ioapic = (volatile struct ioapic*)IOAPIC; 80102231: c7 05 34 26 11 80 00 movl $0xfec00000,0x80112634 80102238: 00 c0 fe { 8010223b: 89 e5 mov %esp,%ebp 8010223d: 56 push %esi 8010223e: 53 push %ebx ioapic->reg = reg; 8010223f: c7 05 00 00 c0 fe 01 movl $0x1,0xfec00000 80102246: 00 00 00 return ioapic->data; 80102249: a1 34 26 11 80 mov 0x80112634,%eax 8010224e: 8b 58 10 mov 0x10(%eax),%ebx ioapic->reg = reg; 80102251: c7 00 00 00 00 00 movl $0x0,(%eax) return ioapic->data; 80102257: 8b 0d 34 26 11 80 mov 0x80112634,%ecx maxintr = (ioapicread(REG_VER) >> 16) & 0xFF; id = ioapicread(REG_ID) >> 24; if(id != ioapicid) 8010225d: 0f b6 15 60 27 11 80 movzbl 0x80112760,%edx maxintr = (ioapicread(REG_VER) >> 16) & 0xFF; 80102264: c1 eb 10 shr $0x10,%ebx return ioapic->data; 80102267: 8b 41 10 mov 0x10(%ecx),%eax maxintr = (ioapicread(REG_VER) >> 16) & 0xFF; 8010226a: 0f b6 db movzbl %bl,%ebx id = ioapicread(REG_ID) >> 24; 8010226d: c1 e8 18 shr $0x18,%eax if(id != ioapicid) 80102270: 39 c2 cmp %eax,%edx 80102272: 74 16 je 8010228a <ioapicinit+0x5a> cprintf("ioapicinit: id isn't equal to ioapicid; not a MP\n"); 80102274: 83 ec 0c sub $0xc,%esp 80102277: 68 b4 74 10 80 push $0x801074b4 8010227c: e8 df e3 ff ff call 80100660 <cprintf> 80102281: 8b 0d 34 26 11 80 mov 0x80112634,%ecx 80102287: 83 c4 10 add $0x10,%esp 8010228a: 83 c3 21 add $0x21,%ebx { 8010228d: ba 10 00 00 00 mov $0x10,%edx 80102292: b8 20 00 00 00 mov $0x20,%eax 80102297: 89 f6 mov %esi,%esi 80102299: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi ioapic->reg = reg; 801022a0: 89 11 mov %edx,(%ecx) ioapic->data = data; 801022a2: 8b 0d 34 26 11 80 mov 0x80112634,%ecx // Mark all interrupts edge-triggered, active high, disabled, // and not routed to any CPUs. for(i = 0; i <= maxintr; i++){ ioapicwrite(REG_TABLE+2*i, INT_DISABLED | (T_IRQ0 + i)); 801022a8: 89 c6 mov %eax,%esi 801022aa: 81 ce 00 00 01 00 or $0x10000,%esi 801022b0: 83 c0 01 add $0x1,%eax ioapic->data = data; 801022b3: 89 71 10 mov %esi,0x10(%ecx) 801022b6: 8d 72 01 lea 0x1(%edx),%esi 801022b9: 83 c2 02 add $0x2,%edx for(i = 0; i <= maxintr; i++){ 801022bc: 39 d8 cmp %ebx,%eax ioapic->reg = reg; 801022be: 89 31 mov %esi,(%ecx) ioapic->data = data; 801022c0: 8b 0d 34 26 11 80 mov 0x80112634,%ecx 801022c6: c7 41 10 00 00 00 00 movl $0x0,0x10(%ecx) for(i = 0; i <= maxintr; i++){ 801022cd: 75 d1 jne 801022a0 <ioapicinit+0x70> ioapicwrite(REG_TABLE+2*i+1, 0); } } 801022cf: 8d 65 f8 lea -0x8(%ebp),%esp 801022d2: 5b pop %ebx 801022d3: 5e pop %esi 801022d4: 5d pop %ebp 801022d5: c3 ret 801022d6: 8d 76 00 lea 0x0(%esi),%esi 801022d9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 801022e0 <ioapicenable>: void ioapicenable(int irq, int cpunum) { 801022e0: 55 push %ebp ioapic->reg = reg; 801022e1: 8b 0d 34 26 11 80 mov 0x80112634,%ecx { 801022e7: 89 e5 mov %esp,%ebp 801022e9: 8b 45 08 mov 0x8(%ebp),%eax // Mark interrupt edge-triggered, active high, // enabled, and routed to the given cpunum, // which happens to be that cpu's APIC ID. ioapicwrite(REG_TABLE+2*irq, T_IRQ0 + irq); 801022ec: 8d 50 20 lea 0x20(%eax),%edx 801022ef: 8d 44 00 10 lea 0x10(%eax,%eax,1),%eax ioapic->reg = reg; 801022f3: 89 01 mov %eax,(%ecx) ioapic->data = data; 801022f5: 8b 0d 34 26 11 80 mov 0x80112634,%ecx ioapicwrite(REG_TABLE+2*irq+1, cpunum << 24); 801022fb: 83 c0 01 add $0x1,%eax ioapic->data = data; 801022fe: 89 51 10 mov %edx,0x10(%ecx) ioapicwrite(REG_TABLE+2*irq+1, cpunum << 24); 80102301: 8b 55 0c mov 0xc(%ebp),%edx ioapic->reg = reg; 80102304: 89 01 mov %eax,(%ecx) ioapic->data = data; 80102306: a1 34 26 11 80 mov 0x80112634,%eax ioapicwrite(REG_TABLE+2*irq+1, cpunum << 24); 8010230b: c1 e2 18 shl $0x18,%edx ioapic->data = data; 8010230e: 89 50 10 mov %edx,0x10(%eax) } 80102311: 5d pop %ebp 80102312: c3 ret 80102313: 66 90 xchg %ax,%ax 80102315: 66 90 xchg %ax,%ax 80102317: 66 90 xchg %ax,%ax 80102319: 66 90 xchg %ax,%ax 8010231b: 66 90 xchg %ax,%ax 8010231d: 66 90 xchg %ax,%ax 8010231f: 90 nop 80102320 <kfree>: // which normally should have been returned by a // call to kalloc(). (The exception is when // initializing the allocator; see kinit above.) void kfree(char *v) { 80102320: 55 push %ebp 80102321: 89 e5 mov %esp,%ebp 80102323: 53 push %ebx 80102324: 83 ec 04 sub $0x4,%esp 80102327: 8b 5d 08 mov 0x8(%ebp),%ebx struct run *r; if((uint)v % PGSIZE || v < end || V2P(v) >= PHYSTOP) 8010232a: f7 c3 ff 0f 00 00 test $0xfff,%ebx 80102330: 75 70 jne 801023a2 <kfree+0x82> 80102332: 81 fb a8 58 11 80 cmp $0x801158a8,%ebx 80102338: 72 68 jb 801023a2 <kfree+0x82> 8010233a: 8d 83 00 00 00 80 lea -0x80000000(%ebx),%eax 80102340: 3d ff ff ff 0d cmp $0xdffffff,%eax 80102345: 77 5b ja 801023a2 <kfree+0x82> panic("kfree"); // Fill with junk to catch dangling refs. memset(v, 1, PGSIZE); 80102347: 83 ec 04 sub $0x4,%esp 8010234a: 68 00 10 00 00 push $0x1000 8010234f: 6a 01 push $0x1 80102351: 53 push %ebx 80102352: e8 69 23 00 00 call 801046c0 <memset> if(kmem.use_lock) 80102357: 8b 15 74 26 11 80 mov 0x80112674,%edx 8010235d: 83 c4 10 add $0x10,%esp 80102360: 85 d2 test %edx,%edx 80102362: 75 2c jne 80102390 <kfree+0x70> acquire(&kmem.lock); r = (struct run*)v; r->next = kmem.freelist; 80102364: a1 78 26 11 80 mov 0x80112678,%eax 80102369: 89 03 mov %eax,(%ebx) kmem.freelist = r; if(kmem.use_lock) 8010236b: a1 74 26 11 80 mov 0x80112674,%eax kmem.freelist = r; 80102370: 89 1d 78 26 11 80 mov %ebx,0x80112678 if(kmem.use_lock) 80102376: 85 c0 test %eax,%eax 80102378: 75 06 jne 80102380 <kfree+0x60> release(&kmem.lock); } 8010237a: 8b 5d fc mov -0x4(%ebp),%ebx 8010237d: c9 leave 8010237e: c3 ret 8010237f: 90 nop release(&kmem.lock); 80102380: c7 45 08 40 26 11 80 movl $0x80112640,0x8(%ebp) } 80102387: 8b 5d fc mov -0x4(%ebp),%ebx 8010238a: c9 leave release(&kmem.lock); 8010238b: e9 e0 22 00 00 jmp 80104670 <release> acquire(&kmem.lock); 80102390: 83 ec 0c sub $0xc,%esp 80102393: 68 40 26 11 80 push $0x80112640 80102398: e8 13 22 00 00 call 801045b0 <acquire> 8010239d: 83 c4 10 add $0x10,%esp 801023a0: eb c2 jmp 80102364 <kfree+0x44> panic("kfree"); 801023a2: 83 ec 0c sub $0xc,%esp 801023a5: 68 e6 74 10 80 push $0x801074e6 801023aa: e8 e1 df ff ff call 80100390 <panic> 801023af: 90 nop 801023b0 <freerange>: { 801023b0: 55 push %ebp 801023b1: 89 e5 mov %esp,%ebp 801023b3: 56 push %esi 801023b4: 53 push %ebx p = (char*)PGROUNDUP((uint)vstart); 801023b5: 8b 45 08 mov 0x8(%ebp),%eax { 801023b8: 8b 75 0c mov 0xc(%ebp),%esi p = (char*)PGROUNDUP((uint)vstart); 801023bb: 8d 98 ff 0f 00 00 lea 0xfff(%eax),%ebx 801023c1: 81 e3 00 f0 ff ff and $0xfffff000,%ebx for(; p + PGSIZE <= (char*)vend; p += PGSIZE) 801023c7: 81 c3 00 10 00 00 add $0x1000,%ebx 801023cd: 39 de cmp %ebx,%esi 801023cf: 72 23 jb 801023f4 <freerange+0x44> 801023d1: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi kfree(p); 801023d8: 8d 83 00 f0 ff ff lea -0x1000(%ebx),%eax 801023de: 83 ec 0c sub $0xc,%esp for(; p + PGSIZE <= (char*)vend; p += PGSIZE) 801023e1: 81 c3 00 10 00 00 add $0x1000,%ebx kfree(p); 801023e7: 50 push %eax 801023e8: e8 33 ff ff ff call 80102320 <kfree> for(; p + PGSIZE <= (char*)vend; p += PGSIZE) 801023ed: 83 c4 10 add $0x10,%esp 801023f0: 39 f3 cmp %esi,%ebx 801023f2: 76 e4 jbe 801023d8 <freerange+0x28> } 801023f4: 8d 65 f8 lea -0x8(%ebp),%esp 801023f7: 5b pop %ebx 801023f8: 5e pop %esi 801023f9: 5d pop %ebp 801023fa: c3 ret 801023fb: 90 nop 801023fc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80102400 <kinit1>: { 80102400: 55 push %ebp 80102401: 89 e5 mov %esp,%ebp 80102403: 56 push %esi 80102404: 53 push %ebx 80102405: 8b 75 0c mov 0xc(%ebp),%esi initlock(&kmem.lock, "kmem"); 80102408: 83 ec 08 sub $0x8,%esp 8010240b: 68 ec 74 10 80 push $0x801074ec 80102410: 68 40 26 11 80 push $0x80112640 80102415: e8 56 20 00 00 call 80104470 <initlock> p = (char*)PGROUNDUP((uint)vstart); 8010241a: 8b 45 08 mov 0x8(%ebp),%eax for(; p + PGSIZE <= (char*)vend; p += PGSIZE) 8010241d: 83 c4 10 add $0x10,%esp kmem.use_lock = 0; 80102420: c7 05 74 26 11 80 00 movl $0x0,0x80112674 80102427: 00 00 00 p = (char*)PGROUNDUP((uint)vstart); 8010242a: 8d 98 ff 0f 00 00 lea 0xfff(%eax),%ebx 80102430: 81 e3 00 f0 ff ff and $0xfffff000,%ebx for(; p + PGSIZE <= (char*)vend; p += PGSIZE) 80102436: 81 c3 00 10 00 00 add $0x1000,%ebx 8010243c: 39 de cmp %ebx,%esi 8010243e: 72 1c jb 8010245c <kinit1+0x5c> kfree(p); 80102440: 8d 83 00 f0 ff ff lea -0x1000(%ebx),%eax 80102446: 83 ec 0c sub $0xc,%esp for(; p + PGSIZE <= (char*)vend; p += PGSIZE) 80102449: 81 c3 00 10 00 00 add $0x1000,%ebx kfree(p); 8010244f: 50 push %eax 80102450: e8 cb fe ff ff call 80102320 <kfree> for(; p + PGSIZE <= (char*)vend; p += PGSIZE) 80102455: 83 c4 10 add $0x10,%esp 80102458: 39 de cmp %ebx,%esi 8010245a: 73 e4 jae 80102440 <kinit1+0x40> } 8010245c: 8d 65 f8 lea -0x8(%ebp),%esp 8010245f: 5b pop %ebx 80102460: 5e pop %esi 80102461: 5d pop %ebp 80102462: c3 ret 80102463: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 80102469: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80102470 <kinit2>: { 80102470: 55 push %ebp 80102471: 89 e5 mov %esp,%ebp 80102473: 56 push %esi 80102474: 53 push %ebx p = (char*)PGROUNDUP((uint)vstart); 80102475: 8b 45 08 mov 0x8(%ebp),%eax { 80102478: 8b 75 0c mov 0xc(%ebp),%esi p = (char*)PGROUNDUP((uint)vstart); 8010247b: 8d 98 ff 0f 00 00 lea 0xfff(%eax),%ebx 80102481: 81 e3 00 f0 ff ff and $0xfffff000,%ebx for(; p + PGSIZE <= (char*)vend; p += PGSIZE) 80102487: 81 c3 00 10 00 00 add $0x1000,%ebx 8010248d: 39 de cmp %ebx,%esi 8010248f: 72 23 jb 801024b4 <kinit2+0x44> 80102491: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi kfree(p); 80102498: 8d 83 00 f0 ff ff lea -0x1000(%ebx),%eax 8010249e: 83 ec 0c sub $0xc,%esp for(; p + PGSIZE <= (char*)vend; p += PGSIZE) 801024a1: 81 c3 00 10 00 00 add $0x1000,%ebx kfree(p); 801024a7: 50 push %eax 801024a8: e8 73 fe ff ff call 80102320 <kfree> for(; p + PGSIZE <= (char*)vend; p += PGSIZE) 801024ad: 83 c4 10 add $0x10,%esp 801024b0: 39 de cmp %ebx,%esi 801024b2: 73 e4 jae 80102498 <kinit2+0x28> kmem.use_lock = 1; 801024b4: c7 05 74 26 11 80 01 movl $0x1,0x80112674 801024bb: 00 00 00 } 801024be: 8d 65 f8 lea -0x8(%ebp),%esp 801024c1: 5b pop %ebx 801024c2: 5e pop %esi 801024c3: 5d pop %ebp 801024c4: c3 ret 801024c5: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 801024c9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 801024d0 <kalloc>: char* kalloc(void) { struct run *r; if(kmem.use_lock) 801024d0: a1 74 26 11 80 mov 0x80112674,%eax 801024d5: 85 c0 test %eax,%eax 801024d7: 75 1f jne 801024f8 <kalloc+0x28> acquire(&kmem.lock); r = kmem.freelist; 801024d9: a1 78 26 11 80 mov 0x80112678,%eax if(r) 801024de: 85 c0 test %eax,%eax 801024e0: 74 0e je 801024f0 <kalloc+0x20> kmem.freelist = r->next; 801024e2: 8b 10 mov (%eax),%edx 801024e4: 89 15 78 26 11 80 mov %edx,0x80112678 801024ea: c3 ret 801024eb: 90 nop 801024ec: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi if(kmem.use_lock) release(&kmem.lock); return (char*)r; } 801024f0: f3 c3 repz ret 801024f2: 8d b6 00 00 00 00 lea 0x0(%esi),%esi { 801024f8: 55 push %ebp 801024f9: 89 e5 mov %esp,%ebp 801024fb: 83 ec 24 sub $0x24,%esp acquire(&kmem.lock); 801024fe: 68 40 26 11 80 push $0x80112640 80102503: e8 a8 20 00 00 call 801045b0 <acquire> r = kmem.freelist; 80102508: a1 78 26 11 80 mov 0x80112678,%eax if(r) 8010250d: 83 c4 10 add $0x10,%esp 80102510: 8b 15 74 26 11 80 mov 0x80112674,%edx 80102516: 85 c0 test %eax,%eax 80102518: 74 08 je 80102522 <kalloc+0x52> kmem.freelist = r->next; 8010251a: 8b 08 mov (%eax),%ecx 8010251c: 89 0d 78 26 11 80 mov %ecx,0x80112678 if(kmem.use_lock) 80102522: 85 d2 test %edx,%edx 80102524: 74 16 je 8010253c <kalloc+0x6c> release(&kmem.lock); 80102526: 83 ec 0c sub $0xc,%esp 80102529: 89 45 f4 mov %eax,-0xc(%ebp) 8010252c: 68 40 26 11 80 push $0x80112640 80102531: e8 3a 21 00 00 call 80104670 <release> return (char*)r; 80102536: 8b 45 f4 mov -0xc(%ebp),%eax release(&kmem.lock); 80102539: 83 c4 10 add $0x10,%esp } 8010253c: c9 leave 8010253d: c3 ret 8010253e: 66 90 xchg %ax,%ax 80102540 <kbdgetc>: asm volatile("in %1,%0" : "=a" (data) : "d" (port)); 80102540: ba 64 00 00 00 mov $0x64,%edx 80102545: ec in (%dx),%al normalmap, shiftmap, ctlmap, ctlmap }; uint st, data, c; st = inb(KBSTATP); if((st & KBS_DIB) == 0) 80102546: a8 01 test $0x1,%al 80102548: 0f 84 c2 00 00 00 je 80102610 <kbdgetc+0xd0> 8010254e: ba 60 00 00 00 mov $0x60,%edx 80102553: ec in (%dx),%al return -1; data = inb(KBDATAP); 80102554: 0f b6 d0 movzbl %al,%edx 80102557: 8b 0d b4 a5 10 80 mov 0x8010a5b4,%ecx if(data == 0xE0){ 8010255d: 81 fa e0 00 00 00 cmp $0xe0,%edx 80102563: 0f 84 7f 00 00 00 je 801025e8 <kbdgetc+0xa8> { 80102569: 55 push %ebp 8010256a: 89 e5 mov %esp,%ebp 8010256c: 53 push %ebx 8010256d: 89 cb mov %ecx,%ebx 8010256f: 83 e3 40 and $0x40,%ebx shift |= E0ESC; return 0; } else if(data & 0x80){ 80102572: 84 c0 test %al,%al 80102574: 78 4a js 801025c0 <kbdgetc+0x80> // Key released data = (shift & E0ESC ? data : data & 0x7F); shift &= ~(shiftcode[data] | E0ESC); return 0; } else if(shift & E0ESC){ 80102576: 85 db test %ebx,%ebx 80102578: 74 09 je 80102583 <kbdgetc+0x43> // Last character was an E0 escape; or with 0x80 data |= 0x80; 8010257a: 83 c8 80 or $0xffffff80,%eax shift &= ~E0ESC; 8010257d: 83 e1 bf and $0xffffffbf,%ecx data |= 0x80; 80102580: 0f b6 d0 movzbl %al,%edx } shift |= shiftcode[data]; 80102583: 0f b6 82 20 76 10 80 movzbl -0x7fef89e0(%edx),%eax 8010258a: 09 c1 or %eax,%ecx shift ^= togglecode[data]; 8010258c: 0f b6 82 20 75 10 80 movzbl -0x7fef8ae0(%edx),%eax 80102593: 31 c1 xor %eax,%ecx c = charcode[shift & (CTL | SHIFT)][data]; 80102595: 89 c8 mov %ecx,%eax shift ^= togglecode[data]; 80102597: 89 0d b4 a5 10 80 mov %ecx,0x8010a5b4 c = charcode[shift & (CTL | SHIFT)][data]; 8010259d: 83 e0 03 and $0x3,%eax if(shift & CAPSLOCK){ 801025a0: 83 e1 08 and $0x8,%ecx c = charcode[shift & (CTL | SHIFT)][data]; 801025a3: 8b 04 85 00 75 10 80 mov -0x7fef8b00(,%eax,4),%eax 801025aa: 0f b6 04 10 movzbl (%eax,%edx,1),%eax if(shift & CAPSLOCK){ 801025ae: 74 31 je 801025e1 <kbdgetc+0xa1> if('a' <= c && c <= 'z') 801025b0: 8d 50 9f lea -0x61(%eax),%edx 801025b3: 83 fa 19 cmp $0x19,%edx 801025b6: 77 40 ja 801025f8 <kbdgetc+0xb8> c += 'A' - 'a'; 801025b8: 83 e8 20 sub $0x20,%eax else if('A' <= c && c <= 'Z') c += 'a' - 'A'; } return c; } 801025bb: 5b pop %ebx 801025bc: 5d pop %ebp 801025bd: c3 ret 801025be: 66 90 xchg %ax,%ax data = (shift & E0ESC ? data : data & 0x7F); 801025c0: 83 e0 7f and $0x7f,%eax 801025c3: 85 db test %ebx,%ebx 801025c5: 0f 44 d0 cmove %eax,%edx shift &= ~(shiftcode[data] | E0ESC); 801025c8: 0f b6 82 20 76 10 80 movzbl -0x7fef89e0(%edx),%eax 801025cf: 83 c8 40 or $0x40,%eax 801025d2: 0f b6 c0 movzbl %al,%eax 801025d5: f7 d0 not %eax 801025d7: 21 c1 and %eax,%ecx return 0; 801025d9: 31 c0 xor %eax,%eax shift &= ~(shiftcode[data] | E0ESC); 801025db: 89 0d b4 a5 10 80 mov %ecx,0x8010a5b4 } 801025e1: 5b pop %ebx 801025e2: 5d pop %ebp 801025e3: c3 ret 801025e4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi shift |= E0ESC; 801025e8: 83 c9 40 or $0x40,%ecx return 0; 801025eb: 31 c0 xor %eax,%eax shift |= E0ESC; 801025ed: 89 0d b4 a5 10 80 mov %ecx,0x8010a5b4 return 0; 801025f3: c3 ret 801025f4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi else if('A' <= c && c <= 'Z') 801025f8: 8d 48 bf lea -0x41(%eax),%ecx c += 'a' - 'A'; 801025fb: 8d 50 20 lea 0x20(%eax),%edx } 801025fe: 5b pop %ebx c += 'a' - 'A'; 801025ff: 83 f9 1a cmp $0x1a,%ecx 80102602: 0f 42 c2 cmovb %edx,%eax } 80102605: 5d pop %ebp 80102606: c3 ret 80102607: 89 f6 mov %esi,%esi 80102609: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi return -1; 80102610: b8 ff ff ff ff mov $0xffffffff,%eax } 80102615: c3 ret 80102616: 8d 76 00 lea 0x0(%esi),%esi 80102619: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80102620 <kbdintr>: void kbdintr(void) { 80102620: 55 push %ebp 80102621: 89 e5 mov %esp,%ebp 80102623: 83 ec 14 sub $0x14,%esp consoleintr(kbdgetc); 80102626: 68 40 25 10 80 push $0x80102540 8010262b: e8 e0 e1 ff ff call 80100810 <consoleintr> } 80102630: 83 c4 10 add $0x10,%esp 80102633: c9 leave 80102634: c3 ret 80102635: 66 90 xchg %ax,%ax 80102637: 66 90 xchg %ax,%ax 80102639: 66 90 xchg %ax,%ax 8010263b: 66 90 xchg %ax,%ax 8010263d: 66 90 xchg %ax,%ax 8010263f: 90 nop 80102640 <lapicinit>: } void lapicinit(void) { if(!lapic) 80102640: a1 7c 26 11 80 mov 0x8011267c,%eax { 80102645: 55 push %ebp 80102646: 89 e5 mov %esp,%ebp if(!lapic) 80102648: 85 c0 test %eax,%eax 8010264a: 0f 84 c8 00 00 00 je 80102718 <lapicinit+0xd8> lapic[index] = value; 80102650: c7 80 f0 00 00 00 3f movl $0x13f,0xf0(%eax) 80102657: 01 00 00 lapic[ID]; // wait for write to finish, by reading 8010265a: 8b 50 20 mov 0x20(%eax),%edx lapic[index] = value; 8010265d: c7 80 e0 03 00 00 0b movl $0xb,0x3e0(%eax) 80102664: 00 00 00 lapic[ID]; // wait for write to finish, by reading 80102667: 8b 50 20 mov 0x20(%eax),%edx lapic[index] = value; 8010266a: c7 80 20 03 00 00 20 movl $0x20020,0x320(%eax) 80102671: 00 02 00 lapic[ID]; // wait for write to finish, by reading 80102674: 8b 50 20 mov 0x20(%eax),%edx lapic[index] = value; 80102677: c7 80 80 03 00 00 80 movl $0x989680,0x380(%eax) 8010267e: 96 98 00 lapic[ID]; // wait for write to finish, by reading 80102681: 8b 50 20 mov 0x20(%eax),%edx lapic[index] = value; 80102684: c7 80 50 03 00 00 00 movl $0x10000,0x350(%eax) 8010268b: 00 01 00 lapic[ID]; // wait for write to finish, by reading 8010268e: 8b 50 20 mov 0x20(%eax),%edx lapic[index] = value; 80102691: c7 80 60 03 00 00 00 movl $0x10000,0x360(%eax) 80102698: 00 01 00 lapic[ID]; // wait for write to finish, by reading 8010269b: 8b 50 20 mov 0x20(%eax),%edx lapicw(LINT0, MASKED); lapicw(LINT1, MASKED); // Disable performance counter overflow interrupts // on machines that provide that interrupt entry. if(((lapic[VER]>>16) & 0xFF) >= 4) 8010269e: 8b 50 30 mov 0x30(%eax),%edx 801026a1: c1 ea 10 shr $0x10,%edx 801026a4: 80 fa 03 cmp $0x3,%dl 801026a7: 77 77 ja 80102720 <lapicinit+0xe0> lapic[index] = value; 801026a9: c7 80 70 03 00 00 33 movl $0x33,0x370(%eax) 801026b0: 00 00 00 lapic[ID]; // wait for write to finish, by reading 801026b3: 8b 50 20 mov 0x20(%eax),%edx lapic[index] = value; 801026b6: c7 80 80 02 00 00 00 movl $0x0,0x280(%eax) 801026bd: 00 00 00 lapic[ID]; // wait for write to finish, by reading 801026c0: 8b 50 20 mov 0x20(%eax),%edx lapic[index] = value; 801026c3: c7 80 80 02 00 00 00 movl $0x0,0x280(%eax) 801026ca: 00 00 00 lapic[ID]; // wait for write to finish, by reading 801026cd: 8b 50 20 mov 0x20(%eax),%edx lapic[index] = value; 801026d0: c7 80 b0 00 00 00 00 movl $0x0,0xb0(%eax) 801026d7: 00 00 00 lapic[ID]; // wait for write to finish, by reading 801026da: 8b 50 20 mov 0x20(%eax),%edx lapic[index] = value; 801026dd: c7 80 10 03 00 00 00 movl $0x0,0x310(%eax) 801026e4: 00 00 00 lapic[ID]; // wait for write to finish, by reading 801026e7: 8b 50 20 mov 0x20(%eax),%edx lapic[index] = value; 801026ea: c7 80 00 03 00 00 00 movl $0x88500,0x300(%eax) 801026f1: 85 08 00 lapic[ID]; // wait for write to finish, by reading 801026f4: 8b 50 20 mov 0x20(%eax),%edx 801026f7: 89 f6 mov %esi,%esi 801026f9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi lapicw(EOI, 0); // Send an Init Level De-Assert to synchronise arbitration ID's. lapicw(ICRHI, 0); lapicw(ICRLO, BCAST | INIT | LEVEL); while(lapic[ICRLO] & DELIVS) 80102700: 8b 90 00 03 00 00 mov 0x300(%eax),%edx 80102706: 80 e6 10 and $0x10,%dh 80102709: 75 f5 jne 80102700 <lapicinit+0xc0> lapic[index] = value; 8010270b: c7 80 80 00 00 00 00 movl $0x0,0x80(%eax) 80102712: 00 00 00 lapic[ID]; // wait for write to finish, by reading 80102715: 8b 40 20 mov 0x20(%eax),%eax ; // Enable interrupts on the APIC (but not on the processor). lapicw(TPR, 0); } 80102718: 5d pop %ebp 80102719: c3 ret 8010271a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi lapic[index] = value; 80102720: c7 80 40 03 00 00 00 movl $0x10000,0x340(%eax) 80102727: 00 01 00 lapic[ID]; // wait for write to finish, by reading 8010272a: 8b 50 20 mov 0x20(%eax),%edx 8010272d: e9 77 ff ff ff jmp 801026a9 <lapicinit+0x69> 80102732: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 80102739: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80102740 <lapicid>: int lapicid(void) { if (!lapic) 80102740: 8b 15 7c 26 11 80 mov 0x8011267c,%edx { 80102746: 55 push %ebp 80102747: 31 c0 xor %eax,%eax 80102749: 89 e5 mov %esp,%ebp if (!lapic) 8010274b: 85 d2 test %edx,%edx 8010274d: 74 06 je 80102755 <lapicid+0x15> return 0; return lapic[ID] >> 24; 8010274f: 8b 42 20 mov 0x20(%edx),%eax 80102752: c1 e8 18 shr $0x18,%eax } 80102755: 5d pop %ebp 80102756: c3 ret 80102757: 89 f6 mov %esi,%esi 80102759: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80102760 <lapiceoi>: // Acknowledge interrupt. void lapiceoi(void) { if(lapic) 80102760: a1 7c 26 11 80 mov 0x8011267c,%eax { 80102765: 55 push %ebp 80102766: 89 e5 mov %esp,%ebp if(lapic) 80102768: 85 c0 test %eax,%eax 8010276a: 74 0d je 80102779 <lapiceoi+0x19> lapic[index] = value; 8010276c: c7 80 b0 00 00 00 00 movl $0x0,0xb0(%eax) 80102773: 00 00 00 lapic[ID]; // wait for write to finish, by reading 80102776: 8b 40 20 mov 0x20(%eax),%eax lapicw(EOI, 0); } 80102779: 5d pop %ebp 8010277a: c3 ret 8010277b: 90 nop 8010277c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80102780 <microdelay>: // Spin for a given number of microseconds. // On real hardware would want to tune this dynamically. void microdelay(int us) { 80102780: 55 push %ebp 80102781: 89 e5 mov %esp,%ebp } 80102783: 5d pop %ebp 80102784: c3 ret 80102785: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80102789: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80102790 <lapicstartap>: // Start additional processor running entry code at addr. // See Appendix B of MultiProcessor Specification. void lapicstartap(uchar apicid, uint addr) { 80102790: 55 push %ebp asm volatile("out %0,%1" : : "a" (data), "d" (port)); 80102791: b8 0f 00 00 00 mov $0xf,%eax 80102796: ba 70 00 00 00 mov $0x70,%edx 8010279b: 89 e5 mov %esp,%ebp 8010279d: 53 push %ebx 8010279e: 8b 4d 0c mov 0xc(%ebp),%ecx 801027a1: 8b 5d 08 mov 0x8(%ebp),%ebx 801027a4: ee out %al,(%dx) 801027a5: b8 0a 00 00 00 mov $0xa,%eax 801027aa: ba 71 00 00 00 mov $0x71,%edx 801027af: ee out %al,(%dx) // and the warm reset vector (DWORD based at 40:67) to point at // the AP startup code prior to the [universal startup algorithm]." outb(CMOS_PORT, 0xF); // offset 0xF is shutdown code outb(CMOS_PORT+1, 0x0A); wrv = (ushort*)P2V((0x40<<4 | 0x67)); // Warm reset vector wrv[0] = 0; 801027b0: 31 c0 xor %eax,%eax wrv[1] = addr >> 4; // "Universal startup algorithm." // Send INIT (level-triggered) interrupt to reset other CPU. lapicw(ICRHI, apicid<<24); 801027b2: c1 e3 18 shl $0x18,%ebx wrv[0] = 0; 801027b5: 66 a3 67 04 00 80 mov %ax,0x80000467 wrv[1] = addr >> 4; 801027bb: 89 c8 mov %ecx,%eax // when it is in the halted state due to an INIT. So the second // should be ignored, but it is part of the official Intel algorithm. // Bochs complains about the second one. Too bad for Bochs. for(i = 0; i < 2; i++){ lapicw(ICRHI, apicid<<24); lapicw(ICRLO, STARTUP | (addr>>12)); 801027bd: c1 e9 0c shr $0xc,%ecx wrv[1] = addr >> 4; 801027c0: c1 e8 04 shr $0x4,%eax lapicw(ICRHI, apicid<<24); 801027c3: 89 da mov %ebx,%edx lapicw(ICRLO, STARTUP | (addr>>12)); 801027c5: 80 cd 06 or $0x6,%ch wrv[1] = addr >> 4; 801027c8: 66 a3 69 04 00 80 mov %ax,0x80000469 lapic[index] = value; 801027ce: a1 7c 26 11 80 mov 0x8011267c,%eax 801027d3: 89 98 10 03 00 00 mov %ebx,0x310(%eax) lapic[ID]; // wait for write to finish, by reading 801027d9: 8b 58 20 mov 0x20(%eax),%ebx lapic[index] = value; 801027dc: c7 80 00 03 00 00 00 movl $0xc500,0x300(%eax) 801027e3: c5 00 00 lapic[ID]; // wait for write to finish, by reading 801027e6: 8b 58 20 mov 0x20(%eax),%ebx lapic[index] = value; 801027e9: c7 80 00 03 00 00 00 movl $0x8500,0x300(%eax) 801027f0: 85 00 00 lapic[ID]; // wait for write to finish, by reading 801027f3: 8b 58 20 mov 0x20(%eax),%ebx lapic[index] = value; 801027f6: 89 90 10 03 00 00 mov %edx,0x310(%eax) lapic[ID]; // wait for write to finish, by reading 801027fc: 8b 58 20 mov 0x20(%eax),%ebx lapic[index] = value; 801027ff: 89 88 00 03 00 00 mov %ecx,0x300(%eax) lapic[ID]; // wait for write to finish, by reading 80102805: 8b 58 20 mov 0x20(%eax),%ebx lapic[index] = value; 80102808: 89 90 10 03 00 00 mov %edx,0x310(%eax) lapic[ID]; // wait for write to finish, by reading 8010280e: 8b 50 20 mov 0x20(%eax),%edx lapic[index] = value; 80102811: 89 88 00 03 00 00 mov %ecx,0x300(%eax) lapic[ID]; // wait for write to finish, by reading 80102817: 8b 40 20 mov 0x20(%eax),%eax microdelay(200); } } 8010281a: 5b pop %ebx 8010281b: 5d pop %ebp 8010281c: c3 ret 8010281d: 8d 76 00 lea 0x0(%esi),%esi 80102820 <cmostime>: } // qemu seems to use 24-hour GWT and the values are BCD encoded void cmostime(struct rtcdate *r) { 80102820: 55 push %ebp 80102821: b8 0b 00 00 00 mov $0xb,%eax 80102826: ba 70 00 00 00 mov $0x70,%edx 8010282b: 89 e5 mov %esp,%ebp 8010282d: 57 push %edi 8010282e: 56 push %esi 8010282f: 53 push %ebx 80102830: 83 ec 4c sub $0x4c,%esp 80102833: ee out %al,(%dx) asm volatile("in %1,%0" : "=a" (data) : "d" (port)); 80102834: ba 71 00 00 00 mov $0x71,%edx 80102839: ec in (%dx),%al 8010283a: 83 e0 04 and $0x4,%eax asm volatile("out %0,%1" : : "a" (data), "d" (port)); 8010283d: bb 70 00 00 00 mov $0x70,%ebx 80102842: 88 45 b3 mov %al,-0x4d(%ebp) 80102845: 8d 76 00 lea 0x0(%esi),%esi 80102848: 31 c0 xor %eax,%eax 8010284a: 89 da mov %ebx,%edx 8010284c: ee out %al,(%dx) asm volatile("in %1,%0" : "=a" (data) : "d" (port)); 8010284d: b9 71 00 00 00 mov $0x71,%ecx 80102852: 89 ca mov %ecx,%edx 80102854: ec in (%dx),%al 80102855: 88 45 b7 mov %al,-0x49(%ebp) asm volatile("out %0,%1" : : "a" (data), "d" (port)); 80102858: 89 da mov %ebx,%edx 8010285a: b8 02 00 00 00 mov $0x2,%eax 8010285f: ee out %al,(%dx) asm volatile("in %1,%0" : "=a" (data) : "d" (port)); 80102860: 89 ca mov %ecx,%edx 80102862: ec in (%dx),%al 80102863: 88 45 b6 mov %al,-0x4a(%ebp) asm volatile("out %0,%1" : : "a" (data), "d" (port)); 80102866: 89 da mov %ebx,%edx 80102868: b8 04 00 00 00 mov $0x4,%eax 8010286d: ee out %al,(%dx) asm volatile("in %1,%0" : "=a" (data) : "d" (port)); 8010286e: 89 ca mov %ecx,%edx 80102870: ec in (%dx),%al 80102871: 88 45 b5 mov %al,-0x4b(%ebp) asm volatile("out %0,%1" : : "a" (data), "d" (port)); 80102874: 89 da mov %ebx,%edx 80102876: b8 07 00 00 00 mov $0x7,%eax 8010287b: ee out %al,(%dx) asm volatile("in %1,%0" : "=a" (data) : "d" (port)); 8010287c: 89 ca mov %ecx,%edx 8010287e: ec in (%dx),%al 8010287f: 88 45 b4 mov %al,-0x4c(%ebp) asm volatile("out %0,%1" : : "a" (data), "d" (port)); 80102882: 89 da mov %ebx,%edx 80102884: b8 08 00 00 00 mov $0x8,%eax 80102889: ee out %al,(%dx) asm volatile("in %1,%0" : "=a" (data) : "d" (port)); 8010288a: 89 ca mov %ecx,%edx 8010288c: ec in (%dx),%al 8010288d: 89 c7 mov %eax,%edi asm volatile("out %0,%1" : : "a" (data), "d" (port)); 8010288f: 89 da mov %ebx,%edx 80102891: b8 09 00 00 00 mov $0x9,%eax 80102896: ee out %al,(%dx) asm volatile("in %1,%0" : "=a" (data) : "d" (port)); 80102897: 89 ca mov %ecx,%edx 80102899: ec in (%dx),%al 8010289a: 89 c6 mov %eax,%esi asm volatile("out %0,%1" : : "a" (data), "d" (port)); 8010289c: 89 da mov %ebx,%edx 8010289e: b8 0a 00 00 00 mov $0xa,%eax 801028a3: ee out %al,(%dx) asm volatile("in %1,%0" : "=a" (data) : "d" (port)); 801028a4: 89 ca mov %ecx,%edx 801028a6: ec in (%dx),%al bcd = (sb & (1 << 2)) == 0; // make sure CMOS doesn't modify time while we read it for(;;) { fill_rtcdate(&t1); if(cmos_read(CMOS_STATA) & CMOS_UIP) 801028a7: 84 c0 test %al,%al 801028a9: 78 9d js 80102848 <cmostime+0x28> return inb(CMOS_RETURN); 801028ab: 0f b6 45 b7 movzbl -0x49(%ebp),%eax 801028af: 89 fa mov %edi,%edx 801028b1: 0f b6 fa movzbl %dl,%edi 801028b4: 89 f2 mov %esi,%edx 801028b6: 0f b6 f2 movzbl %dl,%esi 801028b9: 89 7d c8 mov %edi,-0x38(%ebp) asm volatile("out %0,%1" : : "a" (data), "d" (port)); 801028bc: 89 da mov %ebx,%edx 801028be: 89 75 cc mov %esi,-0x34(%ebp) 801028c1: 89 45 b8 mov %eax,-0x48(%ebp) 801028c4: 0f b6 45 b6 movzbl -0x4a(%ebp),%eax 801028c8: 89 45 bc mov %eax,-0x44(%ebp) 801028cb: 0f b6 45 b5 movzbl -0x4b(%ebp),%eax 801028cf: 89 45 c0 mov %eax,-0x40(%ebp) 801028d2: 0f b6 45 b4 movzbl -0x4c(%ebp),%eax 801028d6: 89 45 c4 mov %eax,-0x3c(%ebp) 801028d9: 31 c0 xor %eax,%eax 801028db: ee out %al,(%dx) asm volatile("in %1,%0" : "=a" (data) : "d" (port)); 801028dc: 89 ca mov %ecx,%edx 801028de: ec in (%dx),%al 801028df: 0f b6 c0 movzbl %al,%eax asm volatile("out %0,%1" : : "a" (data), "d" (port)); 801028e2: 89 da mov %ebx,%edx 801028e4: 89 45 d0 mov %eax,-0x30(%ebp) 801028e7: b8 02 00 00 00 mov $0x2,%eax 801028ec: ee out %al,(%dx) asm volatile("in %1,%0" : "=a" (data) : "d" (port)); 801028ed: 89 ca mov %ecx,%edx 801028ef: ec in (%dx),%al 801028f0: 0f b6 c0 movzbl %al,%eax asm volatile("out %0,%1" : : "a" (data), "d" (port)); 801028f3: 89 da mov %ebx,%edx 801028f5: 89 45 d4 mov %eax,-0x2c(%ebp) 801028f8: b8 04 00 00 00 mov $0x4,%eax 801028fd: ee out %al,(%dx) asm volatile("in %1,%0" : "=a" (data) : "d" (port)); 801028fe: 89 ca mov %ecx,%edx 80102900: ec in (%dx),%al 80102901: 0f b6 c0 movzbl %al,%eax asm volatile("out %0,%1" : : "a" (data), "d" (port)); 80102904: 89 da mov %ebx,%edx 80102906: 89 45 d8 mov %eax,-0x28(%ebp) 80102909: b8 07 00 00 00 mov $0x7,%eax 8010290e: ee out %al,(%dx) asm volatile("in %1,%0" : "=a" (data) : "d" (port)); 8010290f: 89 ca mov %ecx,%edx 80102911: ec in (%dx),%al 80102912: 0f b6 c0 movzbl %al,%eax asm volatile("out %0,%1" : : "a" (data), "d" (port)); 80102915: 89 da mov %ebx,%edx 80102917: 89 45 dc mov %eax,-0x24(%ebp) 8010291a: b8 08 00 00 00 mov $0x8,%eax 8010291f: ee out %al,(%dx) asm volatile("in %1,%0" : "=a" (data) : "d" (port)); 80102920: 89 ca mov %ecx,%edx 80102922: ec in (%dx),%al 80102923: 0f b6 c0 movzbl %al,%eax asm volatile("out %0,%1" : : "a" (data), "d" (port)); 80102926: 89 da mov %ebx,%edx 80102928: 89 45 e0 mov %eax,-0x20(%ebp) 8010292b: b8 09 00 00 00 mov $0x9,%eax 80102930: ee out %al,(%dx) asm volatile("in %1,%0" : "=a" (data) : "d" (port)); 80102931: 89 ca mov %ecx,%edx 80102933: ec in (%dx),%al 80102934: 0f b6 c0 movzbl %al,%eax continue; fill_rtcdate(&t2); if(memcmp(&t1, &t2, sizeof(t1)) == 0) 80102937: 83 ec 04 sub $0x4,%esp return inb(CMOS_RETURN); 8010293a: 89 45 e4 mov %eax,-0x1c(%ebp) if(memcmp(&t1, &t2, sizeof(t1)) == 0) 8010293d: 8d 45 d0 lea -0x30(%ebp),%eax 80102940: 6a 18 push $0x18 80102942: 50 push %eax 80102943: 8d 45 b8 lea -0x48(%ebp),%eax 80102946: 50 push %eax 80102947: e8 c4 1d 00 00 call 80104710 <memcmp> 8010294c: 83 c4 10 add $0x10,%esp 8010294f: 85 c0 test %eax,%eax 80102951: 0f 85 f1 fe ff ff jne 80102848 <cmostime+0x28> break; } // convert if(bcd) { 80102957: 80 7d b3 00 cmpb $0x0,-0x4d(%ebp) 8010295b: 75 78 jne 801029d5 <cmostime+0x1b5> #define CONV(x) (t1.x = ((t1.x >> 4) * 10) + (t1.x & 0xf)) CONV(second); 8010295d: 8b 45 b8 mov -0x48(%ebp),%eax 80102960: 89 c2 mov %eax,%edx 80102962: 83 e0 0f and $0xf,%eax 80102965: c1 ea 04 shr $0x4,%edx 80102968: 8d 14 92 lea (%edx,%edx,4),%edx 8010296b: 8d 04 50 lea (%eax,%edx,2),%eax 8010296e: 89 45 b8 mov %eax,-0x48(%ebp) CONV(minute); 80102971: 8b 45 bc mov -0x44(%ebp),%eax 80102974: 89 c2 mov %eax,%edx 80102976: 83 e0 0f and $0xf,%eax 80102979: c1 ea 04 shr $0x4,%edx 8010297c: 8d 14 92 lea (%edx,%edx,4),%edx 8010297f: 8d 04 50 lea (%eax,%edx,2),%eax 80102982: 89 45 bc mov %eax,-0x44(%ebp) CONV(hour ); 80102985: 8b 45 c0 mov -0x40(%ebp),%eax 80102988: 89 c2 mov %eax,%edx 8010298a: 83 e0 0f and $0xf,%eax 8010298d: c1 ea 04 shr $0x4,%edx 80102990: 8d 14 92 lea (%edx,%edx,4),%edx 80102993: 8d 04 50 lea (%eax,%edx,2),%eax 80102996: 89 45 c0 mov %eax,-0x40(%ebp) CONV(day ); 80102999: 8b 45 c4 mov -0x3c(%ebp),%eax 8010299c: 89 c2 mov %eax,%edx 8010299e: 83 e0 0f and $0xf,%eax 801029a1: c1 ea 04 shr $0x4,%edx 801029a4: 8d 14 92 lea (%edx,%edx,4),%edx 801029a7: 8d 04 50 lea (%eax,%edx,2),%eax 801029aa: 89 45 c4 mov %eax,-0x3c(%ebp) CONV(month ); 801029ad: 8b 45 c8 mov -0x38(%ebp),%eax 801029b0: 89 c2 mov %eax,%edx 801029b2: 83 e0 0f and $0xf,%eax 801029b5: c1 ea 04 shr $0x4,%edx 801029b8: 8d 14 92 lea (%edx,%edx,4),%edx 801029bb: 8d 04 50 lea (%eax,%edx,2),%eax 801029be: 89 45 c8 mov %eax,-0x38(%ebp) CONV(year ); 801029c1: 8b 45 cc mov -0x34(%ebp),%eax 801029c4: 89 c2 mov %eax,%edx 801029c6: 83 e0 0f and $0xf,%eax 801029c9: c1 ea 04 shr $0x4,%edx 801029cc: 8d 14 92 lea (%edx,%edx,4),%edx 801029cf: 8d 04 50 lea (%eax,%edx,2),%eax 801029d2: 89 45 cc mov %eax,-0x34(%ebp) #undef CONV } *r = t1; 801029d5: 8b 75 08 mov 0x8(%ebp),%esi 801029d8: 8b 45 b8 mov -0x48(%ebp),%eax 801029db: 89 06 mov %eax,(%esi) 801029dd: 8b 45 bc mov -0x44(%ebp),%eax 801029e0: 89 46 04 mov %eax,0x4(%esi) 801029e3: 8b 45 c0 mov -0x40(%ebp),%eax 801029e6: 89 46 08 mov %eax,0x8(%esi) 801029e9: 8b 45 c4 mov -0x3c(%ebp),%eax 801029ec: 89 46 0c mov %eax,0xc(%esi) 801029ef: 8b 45 c8 mov -0x38(%ebp),%eax 801029f2: 89 46 10 mov %eax,0x10(%esi) 801029f5: 8b 45 cc mov -0x34(%ebp),%eax 801029f8: 89 46 14 mov %eax,0x14(%esi) r->year += 2000; 801029fb: 81 46 14 d0 07 00 00 addl $0x7d0,0x14(%esi) } 80102a02: 8d 65 f4 lea -0xc(%ebp),%esp 80102a05: 5b pop %ebx 80102a06: 5e pop %esi 80102a07: 5f pop %edi 80102a08: 5d pop %ebp 80102a09: c3 ret 80102a0a: 66 90 xchg %ax,%ax 80102a0c: 66 90 xchg %ax,%ax 80102a0e: 66 90 xchg %ax,%ax 80102a10 <install_trans>: static void install_trans(void) { int tail; for (tail = 0; tail < log.lh.n; tail++) { 80102a10: 8b 0d c8 26 11 80 mov 0x801126c8,%ecx 80102a16: 85 c9 test %ecx,%ecx 80102a18: 0f 8e 8a 00 00 00 jle 80102aa8 <install_trans+0x98> { 80102a1e: 55 push %ebp 80102a1f: 89 e5 mov %esp,%ebp 80102a21: 57 push %edi 80102a22: 56 push %esi 80102a23: 53 push %ebx for (tail = 0; tail < log.lh.n; tail++) { 80102a24: 31 db xor %ebx,%ebx { 80102a26: 83 ec 0c sub $0xc,%esp 80102a29: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi struct buf *lbuf = bread(log.dev, log.start+tail+1); // read log block 80102a30: a1 b4 26 11 80 mov 0x801126b4,%eax 80102a35: 83 ec 08 sub $0x8,%esp 80102a38: 01 d8 add %ebx,%eax 80102a3a: 83 c0 01 add $0x1,%eax 80102a3d: 50 push %eax 80102a3e: ff 35 c4 26 11 80 pushl 0x801126c4 80102a44: e8 87 d6 ff ff call 801000d0 <bread> 80102a49: 89 c7 mov %eax,%edi struct buf *dbuf = bread(log.dev, log.lh.block[tail]); // read dst 80102a4b: 58 pop %eax 80102a4c: 5a pop %edx 80102a4d: ff 34 9d cc 26 11 80 pushl -0x7feed934(,%ebx,4) 80102a54: ff 35 c4 26 11 80 pushl 0x801126c4 for (tail = 0; tail < log.lh.n; tail++) { 80102a5a: 83 c3 01 add $0x1,%ebx struct buf *dbuf = bread(log.dev, log.lh.block[tail]); // read dst 80102a5d: e8 6e d6 ff ff call 801000d0 <bread> 80102a62: 89 c6 mov %eax,%esi memmove(dbuf->data, lbuf->data, BSIZE); // copy block to dst 80102a64: 8d 47 5c lea 0x5c(%edi),%eax 80102a67: 83 c4 0c add $0xc,%esp 80102a6a: 68 00 02 00 00 push $0x200 80102a6f: 50 push %eax 80102a70: 8d 46 5c lea 0x5c(%esi),%eax 80102a73: 50 push %eax 80102a74: e8 f7 1c 00 00 call 80104770 <memmove> bwrite(dbuf); // write dst to disk 80102a79: 89 34 24 mov %esi,(%esp) 80102a7c: e8 1f d7 ff ff call 801001a0 <bwrite> brelse(lbuf); 80102a81: 89 3c 24 mov %edi,(%esp) 80102a84: e8 57 d7 ff ff call 801001e0 <brelse> brelse(dbuf); 80102a89: 89 34 24 mov %esi,(%esp) 80102a8c: e8 4f d7 ff ff call 801001e0 <brelse> for (tail = 0; tail < log.lh.n; tail++) { 80102a91: 83 c4 10 add $0x10,%esp 80102a94: 39 1d c8 26 11 80 cmp %ebx,0x801126c8 80102a9a: 7f 94 jg 80102a30 <install_trans+0x20> } } 80102a9c: 8d 65 f4 lea -0xc(%ebp),%esp 80102a9f: 5b pop %ebx 80102aa0: 5e pop %esi 80102aa1: 5f pop %edi 80102aa2: 5d pop %ebp 80102aa3: c3 ret 80102aa4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80102aa8: f3 c3 repz ret 80102aaa: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 80102ab0 <write_head>: // Write in-memory log header to disk. // This is the true point at which the // current transaction commits. static void write_head(void) { 80102ab0: 55 push %ebp 80102ab1: 89 e5 mov %esp,%ebp 80102ab3: 56 push %esi 80102ab4: 53 push %ebx struct buf *buf = bread(log.dev, log.start); 80102ab5: 83 ec 08 sub $0x8,%esp 80102ab8: ff 35 b4 26 11 80 pushl 0x801126b4 80102abe: ff 35 c4 26 11 80 pushl 0x801126c4 80102ac4: e8 07 d6 ff ff call 801000d0 <bread> struct logheader *hb = (struct logheader *) (buf->data); int i; hb->n = log.lh.n; 80102ac9: 8b 1d c8 26 11 80 mov 0x801126c8,%ebx for (i = 0; i < log.lh.n; i++) { 80102acf: 83 c4 10 add $0x10,%esp struct buf *buf = bread(log.dev, log.start); 80102ad2: 89 c6 mov %eax,%esi for (i = 0; i < log.lh.n; i++) { 80102ad4: 85 db test %ebx,%ebx hb->n = log.lh.n; 80102ad6: 89 58 5c mov %ebx,0x5c(%eax) for (i = 0; i < log.lh.n; i++) { 80102ad9: 7e 16 jle 80102af1 <write_head+0x41> 80102adb: c1 e3 02 shl $0x2,%ebx 80102ade: 31 d2 xor %edx,%edx hb->block[i] = log.lh.block[i]; 80102ae0: 8b 8a cc 26 11 80 mov -0x7feed934(%edx),%ecx 80102ae6: 89 4c 16 60 mov %ecx,0x60(%esi,%edx,1) 80102aea: 83 c2 04 add $0x4,%edx for (i = 0; i < log.lh.n; i++) { 80102aed: 39 da cmp %ebx,%edx 80102aef: 75 ef jne 80102ae0 <write_head+0x30> } bwrite(buf); 80102af1: 83 ec 0c sub $0xc,%esp 80102af4: 56 push %esi 80102af5: e8 a6 d6 ff ff call 801001a0 <bwrite> brelse(buf); 80102afa: 89 34 24 mov %esi,(%esp) 80102afd: e8 de d6 ff ff call 801001e0 <brelse> } 80102b02: 83 c4 10 add $0x10,%esp 80102b05: 8d 65 f8 lea -0x8(%ebp),%esp 80102b08: 5b pop %ebx 80102b09: 5e pop %esi 80102b0a: 5d pop %ebp 80102b0b: c3 ret 80102b0c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80102b10 <initlog>: { 80102b10: 55 push %ebp 80102b11: 89 e5 mov %esp,%ebp 80102b13: 53 push %ebx 80102b14: 83 ec 2c sub $0x2c,%esp 80102b17: 8b 5d 08 mov 0x8(%ebp),%ebx initlock(&log.lock, "log"); 80102b1a: 68 20 77 10 80 push $0x80107720 80102b1f: 68 80 26 11 80 push $0x80112680 80102b24: e8 47 19 00 00 call 80104470 <initlock> readsb(dev, &sb); 80102b29: 58 pop %eax 80102b2a: 8d 45 dc lea -0x24(%ebp),%eax 80102b2d: 5a pop %edx 80102b2e: 50 push %eax 80102b2f: 53 push %ebx 80102b30: e8 9b e8 ff ff call 801013d0 <readsb> log.size = sb.nlog; 80102b35: 8b 55 e8 mov -0x18(%ebp),%edx log.start = sb.logstart; 80102b38: 8b 45 ec mov -0x14(%ebp),%eax struct buf *buf = bread(log.dev, log.start); 80102b3b: 59 pop %ecx log.dev = dev; 80102b3c: 89 1d c4 26 11 80 mov %ebx,0x801126c4 log.size = sb.nlog; 80102b42: 89 15 b8 26 11 80 mov %edx,0x801126b8 log.start = sb.logstart; 80102b48: a3 b4 26 11 80 mov %eax,0x801126b4 struct buf *buf = bread(log.dev, log.start); 80102b4d: 5a pop %edx 80102b4e: 50 push %eax 80102b4f: 53 push %ebx 80102b50: e8 7b d5 ff ff call 801000d0 <bread> log.lh.n = lh->n; 80102b55: 8b 58 5c mov 0x5c(%eax),%ebx for (i = 0; i < log.lh.n; i++) { 80102b58: 83 c4 10 add $0x10,%esp 80102b5b: 85 db test %ebx,%ebx log.lh.n = lh->n; 80102b5d: 89 1d c8 26 11 80 mov %ebx,0x801126c8 for (i = 0; i < log.lh.n; i++) { 80102b63: 7e 1c jle 80102b81 <initlog+0x71> 80102b65: c1 e3 02 shl $0x2,%ebx 80102b68: 31 d2 xor %edx,%edx 80102b6a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi log.lh.block[i] = lh->block[i]; 80102b70: 8b 4c 10 60 mov 0x60(%eax,%edx,1),%ecx 80102b74: 83 c2 04 add $0x4,%edx 80102b77: 89 8a c8 26 11 80 mov %ecx,-0x7feed938(%edx) for (i = 0; i < log.lh.n; i++) { 80102b7d: 39 d3 cmp %edx,%ebx 80102b7f: 75 ef jne 80102b70 <initlog+0x60> brelse(buf); 80102b81: 83 ec 0c sub $0xc,%esp 80102b84: 50 push %eax 80102b85: e8 56 d6 ff ff call 801001e0 <brelse> static void recover_from_log(void) { read_head(); install_trans(); // if committed, copy from log to disk 80102b8a: e8 81 fe ff ff call 80102a10 <install_trans> log.lh.n = 0; 80102b8f: c7 05 c8 26 11 80 00 movl $0x0,0x801126c8 80102b96: 00 00 00 write_head(); // clear the log 80102b99: e8 12 ff ff ff call 80102ab0 <write_head> } 80102b9e: 83 c4 10 add $0x10,%esp 80102ba1: 8b 5d fc mov -0x4(%ebp),%ebx 80102ba4: c9 leave 80102ba5: c3 ret 80102ba6: 8d 76 00 lea 0x0(%esi),%esi 80102ba9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80102bb0 <begin_op>: } // called at the start of each FS system call. void begin_op(void) { 80102bb0: 55 push %ebp 80102bb1: 89 e5 mov %esp,%ebp 80102bb3: 83 ec 14 sub $0x14,%esp acquire(&log.lock); 80102bb6: 68 80 26 11 80 push $0x80112680 80102bbb: e8 f0 19 00 00 call 801045b0 <acquire> 80102bc0: 83 c4 10 add $0x10,%esp 80102bc3: eb 18 jmp 80102bdd <begin_op+0x2d> 80102bc5: 8d 76 00 lea 0x0(%esi),%esi while(1){ if(log.committing){ sleep(&log, &log.lock); 80102bc8: 83 ec 08 sub $0x8,%esp 80102bcb: 68 80 26 11 80 push $0x80112680 80102bd0: 68 80 26 11 80 push $0x80112680 80102bd5: e8 26 12 00 00 call 80103e00 <sleep> 80102bda: 83 c4 10 add $0x10,%esp if(log.committing){ 80102bdd: a1 c0 26 11 80 mov 0x801126c0,%eax 80102be2: 85 c0 test %eax,%eax 80102be4: 75 e2 jne 80102bc8 <begin_op+0x18> } else if(log.lh.n + (log.outstanding+1)*MAXOPBLOCKS > LOGSIZE){ 80102be6: a1 bc 26 11 80 mov 0x801126bc,%eax 80102beb: 8b 15 c8 26 11 80 mov 0x801126c8,%edx 80102bf1: 83 c0 01 add $0x1,%eax 80102bf4: 8d 0c 80 lea (%eax,%eax,4),%ecx 80102bf7: 8d 14 4a lea (%edx,%ecx,2),%edx 80102bfa: 83 fa 1e cmp $0x1e,%edx 80102bfd: 7f c9 jg 80102bc8 <begin_op+0x18> // this op might exhaust log space; wait for commit. sleep(&log, &log.lock); } else { log.outstanding += 1; release(&log.lock); 80102bff: 83 ec 0c sub $0xc,%esp log.outstanding += 1; 80102c02: a3 bc 26 11 80 mov %eax,0x801126bc release(&log.lock); 80102c07: 68 80 26 11 80 push $0x80112680 80102c0c: e8 5f 1a 00 00 call 80104670 <release> break; } } } 80102c11: 83 c4 10 add $0x10,%esp 80102c14: c9 leave 80102c15: c3 ret 80102c16: 8d 76 00 lea 0x0(%esi),%esi 80102c19: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80102c20 <end_op>: // called at the end of each FS system call. // commits if this was the last outstanding operation. void end_op(void) { 80102c20: 55 push %ebp 80102c21: 89 e5 mov %esp,%ebp 80102c23: 57 push %edi 80102c24: 56 push %esi 80102c25: 53 push %ebx 80102c26: 83 ec 18 sub $0x18,%esp int do_commit = 0; acquire(&log.lock); 80102c29: 68 80 26 11 80 push $0x80112680 80102c2e: e8 7d 19 00 00 call 801045b0 <acquire> log.outstanding -= 1; 80102c33: a1 bc 26 11 80 mov 0x801126bc,%eax if(log.committing) 80102c38: 8b 35 c0 26 11 80 mov 0x801126c0,%esi 80102c3e: 83 c4 10 add $0x10,%esp log.outstanding -= 1; 80102c41: 8d 58 ff lea -0x1(%eax),%ebx if(log.committing) 80102c44: 85 f6 test %esi,%esi log.outstanding -= 1; 80102c46: 89 1d bc 26 11 80 mov %ebx,0x801126bc if(log.committing) 80102c4c: 0f 85 1a 01 00 00 jne 80102d6c <end_op+0x14c> panic("log.committing"); if(log.outstanding == 0){ 80102c52: 85 db test %ebx,%ebx 80102c54: 0f 85 ee 00 00 00 jne 80102d48 <end_op+0x128> // begin_op() may be waiting for log space, // and decrementing log.outstanding has decreased // the amount of reserved space. wakeup(&log); } release(&log.lock); 80102c5a: 83 ec 0c sub $0xc,%esp log.committing = 1; 80102c5d: c7 05 c0 26 11 80 01 movl $0x1,0x801126c0 80102c64: 00 00 00 release(&log.lock); 80102c67: 68 80 26 11 80 push $0x80112680 80102c6c: e8 ff 19 00 00 call 80104670 <release> } static void commit() { if (log.lh.n > 0) { 80102c71: 8b 0d c8 26 11 80 mov 0x801126c8,%ecx 80102c77: 83 c4 10 add $0x10,%esp 80102c7a: 85 c9 test %ecx,%ecx 80102c7c: 0f 8e 85 00 00 00 jle 80102d07 <end_op+0xe7> struct buf *to = bread(log.dev, log.start+tail+1); // log block 80102c82: a1 b4 26 11 80 mov 0x801126b4,%eax 80102c87: 83 ec 08 sub $0x8,%esp 80102c8a: 01 d8 add %ebx,%eax 80102c8c: 83 c0 01 add $0x1,%eax 80102c8f: 50 push %eax 80102c90: ff 35 c4 26 11 80 pushl 0x801126c4 80102c96: e8 35 d4 ff ff call 801000d0 <bread> 80102c9b: 89 c6 mov %eax,%esi struct buf *from = bread(log.dev, log.lh.block[tail]); // cache block 80102c9d: 58 pop %eax 80102c9e: 5a pop %edx 80102c9f: ff 34 9d cc 26 11 80 pushl -0x7feed934(,%ebx,4) 80102ca6: ff 35 c4 26 11 80 pushl 0x801126c4 for (tail = 0; tail < log.lh.n; tail++) { 80102cac: 83 c3 01 add $0x1,%ebx struct buf *from = bread(log.dev, log.lh.block[tail]); // cache block 80102caf: e8 1c d4 ff ff call 801000d0 <bread> 80102cb4: 89 c7 mov %eax,%edi memmove(to->data, from->data, BSIZE); 80102cb6: 8d 40 5c lea 0x5c(%eax),%eax 80102cb9: 83 c4 0c add $0xc,%esp 80102cbc: 68 00 02 00 00 push $0x200 80102cc1: 50 push %eax 80102cc2: 8d 46 5c lea 0x5c(%esi),%eax 80102cc5: 50 push %eax 80102cc6: e8 a5 1a 00 00 call 80104770 <memmove> bwrite(to); // write the log 80102ccb: 89 34 24 mov %esi,(%esp) 80102cce: e8 cd d4 ff ff call 801001a0 <bwrite> brelse(from); 80102cd3: 89 3c 24 mov %edi,(%esp) 80102cd6: e8 05 d5 ff ff call 801001e0 <brelse> brelse(to); 80102cdb: 89 34 24 mov %esi,(%esp) 80102cde: e8 fd d4 ff ff call 801001e0 <brelse> for (tail = 0; tail < log.lh.n; tail++) { 80102ce3: 83 c4 10 add $0x10,%esp 80102ce6: 3b 1d c8 26 11 80 cmp 0x801126c8,%ebx 80102cec: 7c 94 jl 80102c82 <end_op+0x62> write_log(); // Write modified blocks from cache to log write_head(); // Write header to disk -- the real commit 80102cee: e8 bd fd ff ff call 80102ab0 <write_head> install_trans(); // Now install writes to home locations 80102cf3: e8 18 fd ff ff call 80102a10 <install_trans> log.lh.n = 0; 80102cf8: c7 05 c8 26 11 80 00 movl $0x0,0x801126c8 80102cff: 00 00 00 write_head(); // Erase the transaction from the log 80102d02: e8 a9 fd ff ff call 80102ab0 <write_head> acquire(&log.lock); 80102d07: 83 ec 0c sub $0xc,%esp 80102d0a: 68 80 26 11 80 push $0x80112680 80102d0f: e8 9c 18 00 00 call 801045b0 <acquire> wakeup(&log); 80102d14: c7 04 24 80 26 11 80 movl $0x80112680,(%esp) log.committing = 0; 80102d1b: c7 05 c0 26 11 80 00 movl $0x0,0x801126c0 80102d22: 00 00 00 wakeup(&log); 80102d25: e8 96 12 00 00 call 80103fc0 <wakeup> release(&log.lock); 80102d2a: c7 04 24 80 26 11 80 movl $0x80112680,(%esp) 80102d31: e8 3a 19 00 00 call 80104670 <release> 80102d36: 83 c4 10 add $0x10,%esp } 80102d39: 8d 65 f4 lea -0xc(%ebp),%esp 80102d3c: 5b pop %ebx 80102d3d: 5e pop %esi 80102d3e: 5f pop %edi 80102d3f: 5d pop %ebp 80102d40: c3 ret 80102d41: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi wakeup(&log); 80102d48: 83 ec 0c sub $0xc,%esp 80102d4b: 68 80 26 11 80 push $0x80112680 80102d50: e8 6b 12 00 00 call 80103fc0 <wakeup> release(&log.lock); 80102d55: c7 04 24 80 26 11 80 movl $0x80112680,(%esp) 80102d5c: e8 0f 19 00 00 call 80104670 <release> 80102d61: 83 c4 10 add $0x10,%esp } 80102d64: 8d 65 f4 lea -0xc(%ebp),%esp 80102d67: 5b pop %ebx 80102d68: 5e pop %esi 80102d69: 5f pop %edi 80102d6a: 5d pop %ebp 80102d6b: c3 ret panic("log.committing"); 80102d6c: 83 ec 0c sub $0xc,%esp 80102d6f: 68 24 77 10 80 push $0x80107724 80102d74: e8 17 d6 ff ff call 80100390 <panic> 80102d79: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 80102d80 <log_write>: // modify bp->data[] // log_write(bp) // brelse(bp) void log_write(struct buf *b) { 80102d80: 55 push %ebp 80102d81: 89 e5 mov %esp,%ebp 80102d83: 53 push %ebx 80102d84: 83 ec 04 sub $0x4,%esp int i; if (log.lh.n >= LOGSIZE || log.lh.n >= log.size - 1) 80102d87: 8b 15 c8 26 11 80 mov 0x801126c8,%edx { 80102d8d: 8b 5d 08 mov 0x8(%ebp),%ebx if (log.lh.n >= LOGSIZE || log.lh.n >= log.size - 1) 80102d90: 83 fa 1d cmp $0x1d,%edx 80102d93: 0f 8f 9d 00 00 00 jg 80102e36 <log_write+0xb6> 80102d99: a1 b8 26 11 80 mov 0x801126b8,%eax 80102d9e: 83 e8 01 sub $0x1,%eax 80102da1: 39 c2 cmp %eax,%edx 80102da3: 0f 8d 8d 00 00 00 jge 80102e36 <log_write+0xb6> panic("too big a transaction"); if (log.outstanding < 1) 80102da9: a1 bc 26 11 80 mov 0x801126bc,%eax 80102dae: 85 c0 test %eax,%eax 80102db0: 0f 8e 8d 00 00 00 jle 80102e43 <log_write+0xc3> panic("log_write outside of trans"); acquire(&log.lock); 80102db6: 83 ec 0c sub $0xc,%esp 80102db9: 68 80 26 11 80 push $0x80112680 80102dbe: e8 ed 17 00 00 call 801045b0 <acquire> for (i = 0; i < log.lh.n; i++) { 80102dc3: 8b 0d c8 26 11 80 mov 0x801126c8,%ecx 80102dc9: 83 c4 10 add $0x10,%esp 80102dcc: 83 f9 00 cmp $0x0,%ecx 80102dcf: 7e 57 jle 80102e28 <log_write+0xa8> if (log.lh.block[i] == b->blockno) // log absorbtion 80102dd1: 8b 53 08 mov 0x8(%ebx),%edx for (i = 0; i < log.lh.n; i++) { 80102dd4: 31 c0 xor %eax,%eax if (log.lh.block[i] == b->blockno) // log absorbtion 80102dd6: 3b 15 cc 26 11 80 cmp 0x801126cc,%edx 80102ddc: 75 0b jne 80102de9 <log_write+0x69> 80102dde: eb 38 jmp 80102e18 <log_write+0x98> 80102de0: 39 14 85 cc 26 11 80 cmp %edx,-0x7feed934(,%eax,4) 80102de7: 74 2f je 80102e18 <log_write+0x98> for (i = 0; i < log.lh.n; i++) { 80102de9: 83 c0 01 add $0x1,%eax 80102dec: 39 c1 cmp %eax,%ecx 80102dee: 75 f0 jne 80102de0 <log_write+0x60> break; } log.lh.block[i] = b->blockno; 80102df0: 89 14 85 cc 26 11 80 mov %edx,-0x7feed934(,%eax,4) if (i == log.lh.n) log.lh.n++; 80102df7: 83 c0 01 add $0x1,%eax 80102dfa: a3 c8 26 11 80 mov %eax,0x801126c8 b->flags |= B_DIRTY; // prevent eviction 80102dff: 83 0b 04 orl $0x4,(%ebx) release(&log.lock); 80102e02: c7 45 08 80 26 11 80 movl $0x80112680,0x8(%ebp) } 80102e09: 8b 5d fc mov -0x4(%ebp),%ebx 80102e0c: c9 leave release(&log.lock); 80102e0d: e9 5e 18 00 00 jmp 80104670 <release> 80102e12: 8d b6 00 00 00 00 lea 0x0(%esi),%esi log.lh.block[i] = b->blockno; 80102e18: 89 14 85 cc 26 11 80 mov %edx,-0x7feed934(,%eax,4) 80102e1f: eb de jmp 80102dff <log_write+0x7f> 80102e21: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 80102e28: 8b 43 08 mov 0x8(%ebx),%eax 80102e2b: a3 cc 26 11 80 mov %eax,0x801126cc if (i == log.lh.n) 80102e30: 75 cd jne 80102dff <log_write+0x7f> 80102e32: 31 c0 xor %eax,%eax 80102e34: eb c1 jmp 80102df7 <log_write+0x77> panic("too big a transaction"); 80102e36: 83 ec 0c sub $0xc,%esp 80102e39: 68 33 77 10 80 push $0x80107733 80102e3e: e8 4d d5 ff ff call 80100390 <panic> panic("log_write outside of trans"); 80102e43: 83 ec 0c sub $0xc,%esp 80102e46: 68 49 77 10 80 push $0x80107749 80102e4b: e8 40 d5 ff ff call 80100390 <panic> 80102e50 <mpmain>: } // Common CPU setup code. static void mpmain(void) { 80102e50: 55 push %ebp 80102e51: 89 e5 mov %esp,%ebp 80102e53: 53 push %ebx 80102e54: 83 ec 04 sub $0x4,%esp cprintf("cpu%d: starting %d\n", cpuid(), cpuid()); 80102e57: e8 84 09 00 00 call 801037e0 <cpuid> 80102e5c: 89 c3 mov %eax,%ebx 80102e5e: e8 7d 09 00 00 call 801037e0 <cpuid> 80102e63: 83 ec 04 sub $0x4,%esp 80102e66: 53 push %ebx 80102e67: 50 push %eax 80102e68: 68 64 77 10 80 push $0x80107764 80102e6d: e8 ee d7 ff ff call 80100660 <cprintf> idtinit(); // load idt register 80102e72: e8 e9 2b 00 00 call 80105a60 <idtinit> xchg(&(mycpu()->started), 1); // tell startothers() we're up 80102e77: e8 e4 08 00 00 call 80103760 <mycpu> 80102e7c: 89 c2 mov %eax,%edx xchg(volatile uint *addr, uint newval) { uint result; // The + in "+m" denotes a read-modify-write operand. asm volatile("lock; xchgl %0, %1" : 80102e7e: b8 01 00 00 00 mov $0x1,%eax 80102e83: f0 87 82 a0 00 00 00 lock xchg %eax,0xa0(%edx) scheduler(); // start running processes 80102e8a: e8 31 0c 00 00 call 80103ac0 <scheduler> 80102e8f: 90 nop 80102e90 <mpenter>: { 80102e90: 55 push %ebp 80102e91: 89 e5 mov %esp,%ebp 80102e93: 83 ec 08 sub $0x8,%esp switchkvm(); 80102e96: e8 e5 3c 00 00 call 80106b80 <switchkvm> seginit(); 80102e9b: e8 50 3c 00 00 call 80106af0 <seginit> lapicinit(); 80102ea0: e8 9b f7 ff ff call 80102640 <lapicinit> mpmain(); 80102ea5: e8 a6 ff ff ff call 80102e50 <mpmain> 80102eaa: 66 90 xchg %ax,%ax 80102eac: 66 90 xchg %ax,%ax 80102eae: 66 90 xchg %ax,%ax 80102eb0 <main>: { 80102eb0: 8d 4c 24 04 lea 0x4(%esp),%ecx 80102eb4: 83 e4 f0 and $0xfffffff0,%esp 80102eb7: ff 71 fc pushl -0x4(%ecx) 80102eba: 55 push %ebp 80102ebb: 89 e5 mov %esp,%ebp 80102ebd: 53 push %ebx 80102ebe: 51 push %ecx kinit1(end, P2V(4*1024*1024)); // phys page allocator 80102ebf: 83 ec 08 sub $0x8,%esp 80102ec2: 68 00 00 40 80 push $0x80400000 80102ec7: 68 a8 58 11 80 push $0x801158a8 80102ecc: e8 2f f5 ff ff call 80102400 <kinit1> kvmalloc(); // kernel page table 80102ed1: e8 7a 41 00 00 call 80107050 <kvmalloc> mpinit(); // detect other processors 80102ed6: e8 75 01 00 00 call 80103050 <mpinit> lapicinit(); // interrupt controller 80102edb: e8 60 f7 ff ff call 80102640 <lapicinit> seginit(); // segment descriptors 80102ee0: e8 0b 3c 00 00 call 80106af0 <seginit> picinit(); // disable pic 80102ee5: e8 46 03 00 00 call 80103230 <picinit> ioapicinit(); // another interrupt controller 80102eea: e8 41 f3 ff ff call 80102230 <ioapicinit> consoleinit(); // console hardware 80102eef: e8 cc da ff ff call 801009c0 <consoleinit> uartinit(); // serial port 80102ef4: e8 c7 2e 00 00 call 80105dc0 <uartinit> pinit(); // process table 80102ef9: e8 42 08 00 00 call 80103740 <pinit> tvinit(); // trap vectors 80102efe: e8 dd 2a 00 00 call 801059e0 <tvinit> binit(); // buffer cache 80102f03: e8 38 d1 ff ff call 80100040 <binit> fileinit(); // file table 80102f08: e8 53 de ff ff call 80100d60 <fileinit> ideinit(); // disk 80102f0d: e8 fe f0 ff ff call 80102010 <ideinit> // Write entry code to unused memory at 0x7000. // The linker has placed the image of entryother.S in // _binary_entryother_start. code = P2V(0x7000); memmove(code, _binary_entryother_start, (uint)_binary_entryother_size); 80102f12: 83 c4 0c add $0xc,%esp 80102f15: 68 8a 00 00 00 push $0x8a 80102f1a: 68 8c a4 10 80 push $0x8010a48c 80102f1f: 68 00 70 00 80 push $0x80007000 80102f24: e8 47 18 00 00 call 80104770 <memmove> for(c = cpus; c < cpus+ncpu; c++){ 80102f29: 69 05 00 2d 11 80 b0 imul $0xb0,0x80112d00,%eax 80102f30: 00 00 00 80102f33: 83 c4 10 add $0x10,%esp 80102f36: 05 80 27 11 80 add $0x80112780,%eax 80102f3b: 3d 80 27 11 80 cmp $0x80112780,%eax 80102f40: 76 71 jbe 80102fb3 <main+0x103> 80102f42: bb 80 27 11 80 mov $0x80112780,%ebx 80102f47: 89 f6 mov %esi,%esi 80102f49: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi if(c == mycpu()) // We've started already. 80102f50: e8 0b 08 00 00 call 80103760 <mycpu> 80102f55: 39 d8 cmp %ebx,%eax 80102f57: 74 41 je 80102f9a <main+0xea> continue; // Tell entryother.S what stack to use, where to enter, and what // pgdir to use. We cannot use kpgdir yet, because the AP processor // is running in low memory, so we use entrypgdir for the APs too. stack = kalloc(); 80102f59: e8 72 f5 ff ff call 801024d0 <kalloc> *(void**)(code-4) = stack + KSTACKSIZE; 80102f5e: 05 00 10 00 00 add $0x1000,%eax *(void(**)(void))(code-8) = mpenter; 80102f63: c7 05 f8 6f 00 80 90 movl $0x80102e90,0x80006ff8 80102f6a: 2e 10 80 *(int**)(code-12) = (void *) V2P(entrypgdir); 80102f6d: c7 05 f4 6f 00 80 00 movl $0x109000,0x80006ff4 80102f74: 90 10 00 *(void**)(code-4) = stack + KSTACKSIZE; 80102f77: a3 fc 6f 00 80 mov %eax,0x80006ffc lapicstartap(c->apicid, V2P(code)); 80102f7c: 0f b6 03 movzbl (%ebx),%eax 80102f7f: 83 ec 08 sub $0x8,%esp 80102f82: 68 00 70 00 00 push $0x7000 80102f87: 50 push %eax 80102f88: e8 03 f8 ff ff call 80102790 <lapicstartap> 80102f8d: 83 c4 10 add $0x10,%esp // wait for cpu to finish mpmain() while(c->started == 0) 80102f90: 8b 83 a0 00 00 00 mov 0xa0(%ebx),%eax 80102f96: 85 c0 test %eax,%eax 80102f98: 74 f6 je 80102f90 <main+0xe0> for(c = cpus; c < cpus+ncpu; c++){ 80102f9a: 69 05 00 2d 11 80 b0 imul $0xb0,0x80112d00,%eax 80102fa1: 00 00 00 80102fa4: 81 c3 b0 00 00 00 add $0xb0,%ebx 80102faa: 05 80 27 11 80 add $0x80112780,%eax 80102faf: 39 c3 cmp %eax,%ebx 80102fb1: 72 9d jb 80102f50 <main+0xa0> kinit2(P2V(4*1024*1024), P2V(PHYSTOP)); // must come after startothers() 80102fb3: 83 ec 08 sub $0x8,%esp 80102fb6: 68 00 00 00 8e push $0x8e000000 80102fbb: 68 00 00 40 80 push $0x80400000 80102fc0: e8 ab f4 ff ff call 80102470 <kinit2> userinit(); // first user process 80102fc5: e8 66 08 00 00 call 80103830 <userinit> mpmain(); // finish this processor's setup 80102fca: e8 81 fe ff ff call 80102e50 <mpmain> 80102fcf: 90 nop 80102fd0 <mpsearch1>: } // Look for an MP structure in the len bytes at addr. static struct mp* mpsearch1(uint a, int len) { 80102fd0: 55 push %ebp 80102fd1: 89 e5 mov %esp,%ebp 80102fd3: 57 push %edi 80102fd4: 56 push %esi uchar *e, *p, *addr; addr = P2V(a); 80102fd5: 8d b0 00 00 00 80 lea -0x80000000(%eax),%esi { 80102fdb: 53 push %ebx e = addr+len; 80102fdc: 8d 1c 16 lea (%esi,%edx,1),%ebx { 80102fdf: 83 ec 0c sub $0xc,%esp for(p = addr; p < e; p += sizeof(struct mp)) 80102fe2: 39 de cmp %ebx,%esi 80102fe4: 72 10 jb 80102ff6 <mpsearch1+0x26> 80102fe6: eb 50 jmp 80103038 <mpsearch1+0x68> 80102fe8: 90 nop 80102fe9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 80102ff0: 39 fb cmp %edi,%ebx 80102ff2: 89 fe mov %edi,%esi 80102ff4: 76 42 jbe 80103038 <mpsearch1+0x68> if(memcmp(p, "_MP_", 4) == 0 && sum(p, sizeof(struct mp)) == 0) 80102ff6: 83 ec 04 sub $0x4,%esp 80102ff9: 8d 7e 10 lea 0x10(%esi),%edi 80102ffc: 6a 04 push $0x4 80102ffe: 68 78 77 10 80 push $0x80107778 80103003: 56 push %esi 80103004: e8 07 17 00 00 call 80104710 <memcmp> 80103009: 83 c4 10 add $0x10,%esp 8010300c: 85 c0 test %eax,%eax 8010300e: 75 e0 jne 80102ff0 <mpsearch1+0x20> 80103010: 89 f1 mov %esi,%ecx 80103012: 8d b6 00 00 00 00 lea 0x0(%esi),%esi sum += addr[i]; 80103018: 0f b6 11 movzbl (%ecx),%edx 8010301b: 83 c1 01 add $0x1,%ecx 8010301e: 01 d0 add %edx,%eax for(i=0; i<len; i++) 80103020: 39 f9 cmp %edi,%ecx 80103022: 75 f4 jne 80103018 <mpsearch1+0x48> if(memcmp(p, "_MP_", 4) == 0 && sum(p, sizeof(struct mp)) == 0) 80103024: 84 c0 test %al,%al 80103026: 75 c8 jne 80102ff0 <mpsearch1+0x20> return (struct mp*)p; return 0; } 80103028: 8d 65 f4 lea -0xc(%ebp),%esp 8010302b: 89 f0 mov %esi,%eax 8010302d: 5b pop %ebx 8010302e: 5e pop %esi 8010302f: 5f pop %edi 80103030: 5d pop %ebp 80103031: c3 ret 80103032: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 80103038: 8d 65 f4 lea -0xc(%ebp),%esp return 0; 8010303b: 31 f6 xor %esi,%esi } 8010303d: 89 f0 mov %esi,%eax 8010303f: 5b pop %ebx 80103040: 5e pop %esi 80103041: 5f pop %edi 80103042: 5d pop %ebp 80103043: c3 ret 80103044: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 8010304a: 8d bf 00 00 00 00 lea 0x0(%edi),%edi 80103050 <mpinit>: return conf; } void mpinit(void) { 80103050: 55 push %ebp 80103051: 89 e5 mov %esp,%ebp 80103053: 57 push %edi 80103054: 56 push %esi 80103055: 53 push %ebx 80103056: 83 ec 1c sub $0x1c,%esp if((p = ((bda[0x0F]<<8)| bda[0x0E]) << 4)){ 80103059: 0f b6 05 0f 04 00 80 movzbl 0x8000040f,%eax 80103060: 0f b6 15 0e 04 00 80 movzbl 0x8000040e,%edx 80103067: c1 e0 08 shl $0x8,%eax 8010306a: 09 d0 or %edx,%eax 8010306c: c1 e0 04 shl $0x4,%eax 8010306f: 85 c0 test %eax,%eax 80103071: 75 1b jne 8010308e <mpinit+0x3e> p = ((bda[0x14]<<8)|bda[0x13])*1024; 80103073: 0f b6 05 14 04 00 80 movzbl 0x80000414,%eax 8010307a: 0f b6 15 13 04 00 80 movzbl 0x80000413,%edx 80103081: c1 e0 08 shl $0x8,%eax 80103084: 09 d0 or %edx,%eax 80103086: c1 e0 0a shl $0xa,%eax if((mp = mpsearch1(p-1024, 1024))) 80103089: 2d 00 04 00 00 sub $0x400,%eax if((mp = mpsearch1(p, 1024))) 8010308e: ba 00 04 00 00 mov $0x400,%edx 80103093: e8 38 ff ff ff call 80102fd0 <mpsearch1> 80103098: 85 c0 test %eax,%eax 8010309a: 89 45 e4 mov %eax,-0x1c(%ebp) 8010309d: 0f 84 3d 01 00 00 je 801031e0 <mpinit+0x190> if((mp = mpsearch()) == 0 || mp->physaddr == 0) 801030a3: 8b 45 e4 mov -0x1c(%ebp),%eax 801030a6: 8b 58 04 mov 0x4(%eax),%ebx 801030a9: 85 db test %ebx,%ebx 801030ab: 0f 84 4f 01 00 00 je 80103200 <mpinit+0x1b0> conf = (struct mpconf*) P2V((uint) mp->physaddr); 801030b1: 8d b3 00 00 00 80 lea -0x80000000(%ebx),%esi if(memcmp(conf, "PCMP", 4) != 0) 801030b7: 83 ec 04 sub $0x4,%esp 801030ba: 6a 04 push $0x4 801030bc: 68 95 77 10 80 push $0x80107795 801030c1: 56 push %esi 801030c2: e8 49 16 00 00 call 80104710 <memcmp> 801030c7: 83 c4 10 add $0x10,%esp 801030ca: 85 c0 test %eax,%eax 801030cc: 0f 85 2e 01 00 00 jne 80103200 <mpinit+0x1b0> if(conf->version != 1 && conf->version != 4) 801030d2: 0f b6 83 06 00 00 80 movzbl -0x7ffffffa(%ebx),%eax 801030d9: 3c 01 cmp $0x1,%al 801030db: 0f 95 c2 setne %dl 801030de: 3c 04 cmp $0x4,%al 801030e0: 0f 95 c0 setne %al 801030e3: 20 c2 and %al,%dl 801030e5: 0f 85 15 01 00 00 jne 80103200 <mpinit+0x1b0> if(sum((uchar*)conf, conf->length) != 0) 801030eb: 0f b7 bb 04 00 00 80 movzwl -0x7ffffffc(%ebx),%edi for(i=0; i<len; i++) 801030f2: 66 85 ff test %di,%di 801030f5: 74 1a je 80103111 <mpinit+0xc1> 801030f7: 89 f0 mov %esi,%eax 801030f9: 01 f7 add %esi,%edi sum = 0; 801030fb: 31 d2 xor %edx,%edx 801030fd: 8d 76 00 lea 0x0(%esi),%esi sum += addr[i]; 80103100: 0f b6 08 movzbl (%eax),%ecx 80103103: 83 c0 01 add $0x1,%eax 80103106: 01 ca add %ecx,%edx for(i=0; i<len; i++) 80103108: 39 c7 cmp %eax,%edi 8010310a: 75 f4 jne 80103100 <mpinit+0xb0> 8010310c: 84 d2 test %dl,%dl 8010310e: 0f 95 c2 setne %dl struct mp *mp; struct mpconf *conf; struct mpproc *proc; struct mpioapic *ioapic; if((conf = mpconfig(&mp)) == 0) 80103111: 85 f6 test %esi,%esi 80103113: 0f 84 e7 00 00 00 je 80103200 <mpinit+0x1b0> 80103119: 84 d2 test %dl,%dl 8010311b: 0f 85 df 00 00 00 jne 80103200 <mpinit+0x1b0> panic("Expect to run on an SMP"); ismp = 1; lapic = (uint*)conf->lapicaddr; 80103121: 8b 83 24 00 00 80 mov -0x7fffffdc(%ebx),%eax 80103127: a3 7c 26 11 80 mov %eax,0x8011267c for(p=(uchar*)(conf+1), e=(uchar*)conf+conf->length; p<e; ){ 8010312c: 0f b7 93 04 00 00 80 movzwl -0x7ffffffc(%ebx),%edx 80103133: 8d 83 2c 00 00 80 lea -0x7fffffd4(%ebx),%eax ismp = 1; 80103139: bb 01 00 00 00 mov $0x1,%ebx for(p=(uchar*)(conf+1), e=(uchar*)conf+conf->length; p<e; ){ 8010313e: 01 d6 add %edx,%esi 80103140: 39 c6 cmp %eax,%esi 80103142: 76 23 jbe 80103167 <mpinit+0x117> switch(*p){ 80103144: 0f b6 10 movzbl (%eax),%edx 80103147: 80 fa 04 cmp $0x4,%dl 8010314a: 0f 87 ca 00 00 00 ja 8010321a <mpinit+0x1ca> 80103150: ff 24 95 bc 77 10 80 jmp *-0x7fef8844(,%edx,4) 80103157: 89 f6 mov %esi,%esi 80103159: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi p += sizeof(struct mpioapic); continue; case MPBUS: case MPIOINTR: case MPLINTR: p += 8; 80103160: 83 c0 08 add $0x8,%eax for(p=(uchar*)(conf+1), e=(uchar*)conf+conf->length; p<e; ){ 80103163: 39 c6 cmp %eax,%esi 80103165: 77 dd ja 80103144 <mpinit+0xf4> default: ismp = 0; break; } } if(!ismp) 80103167: 85 db test %ebx,%ebx 80103169: 0f 84 9e 00 00 00 je 8010320d <mpinit+0x1bd> panic("Didn't find a suitable machine"); if(mp->imcrp){ 8010316f: 8b 45 e4 mov -0x1c(%ebp),%eax 80103172: 80 78 0c 00 cmpb $0x0,0xc(%eax) 80103176: 74 15 je 8010318d <mpinit+0x13d> asm volatile("out %0,%1" : : "a" (data), "d" (port)); 80103178: b8 70 00 00 00 mov $0x70,%eax 8010317d: ba 22 00 00 00 mov $0x22,%edx 80103182: ee out %al,(%dx) asm volatile("in %1,%0" : "=a" (data) : "d" (port)); 80103183: ba 23 00 00 00 mov $0x23,%edx 80103188: ec in (%dx),%al // Bochs doesn't support IMCR, so this doesn't run on Bochs. // But it would on real hardware. outb(0x22, 0x70); // Select IMCR outb(0x23, inb(0x23) | 1); // Mask external interrupts. 80103189: 83 c8 01 or $0x1,%eax asm volatile("out %0,%1" : : "a" (data), "d" (port)); 8010318c: ee out %al,(%dx) } } 8010318d: 8d 65 f4 lea -0xc(%ebp),%esp 80103190: 5b pop %ebx 80103191: 5e pop %esi 80103192: 5f pop %edi 80103193: 5d pop %ebp 80103194: c3 ret 80103195: 8d 76 00 lea 0x0(%esi),%esi if(ncpu < NCPU) { 80103198: 8b 0d 00 2d 11 80 mov 0x80112d00,%ecx 8010319e: 83 f9 07 cmp $0x7,%ecx 801031a1: 7f 19 jg 801031bc <mpinit+0x16c> cpus[ncpu].apicid = proc->apicid; // apicid may differ from ncpu 801031a3: 0f b6 50 01 movzbl 0x1(%eax),%edx 801031a7: 69 f9 b0 00 00 00 imul $0xb0,%ecx,%edi ncpu++; 801031ad: 83 c1 01 add $0x1,%ecx 801031b0: 89 0d 00 2d 11 80 mov %ecx,0x80112d00 cpus[ncpu].apicid = proc->apicid; // apicid may differ from ncpu 801031b6: 88 97 80 27 11 80 mov %dl,-0x7feed880(%edi) p += sizeof(struct mpproc); 801031bc: 83 c0 14 add $0x14,%eax continue; 801031bf: e9 7c ff ff ff jmp 80103140 <mpinit+0xf0> 801031c4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi ioapicid = ioapic->apicno; 801031c8: 0f b6 50 01 movzbl 0x1(%eax),%edx p += sizeof(struct mpioapic); 801031cc: 83 c0 08 add $0x8,%eax ioapicid = ioapic->apicno; 801031cf: 88 15 60 27 11 80 mov %dl,0x80112760 continue; 801031d5: e9 66 ff ff ff jmp 80103140 <mpinit+0xf0> 801031da: 8d b6 00 00 00 00 lea 0x0(%esi),%esi return mpsearch1(0xF0000, 0x10000); 801031e0: ba 00 00 01 00 mov $0x10000,%edx 801031e5: b8 00 00 0f 00 mov $0xf0000,%eax 801031ea: e8 e1 fd ff ff call 80102fd0 <mpsearch1> if((mp = mpsearch()) == 0 || mp->physaddr == 0) 801031ef: 85 c0 test %eax,%eax return mpsearch1(0xF0000, 0x10000); 801031f1: 89 45 e4 mov %eax,-0x1c(%ebp) if((mp = mpsearch()) == 0 || mp->physaddr == 0) 801031f4: 0f 85 a9 fe ff ff jne 801030a3 <mpinit+0x53> 801031fa: 8d b6 00 00 00 00 lea 0x0(%esi),%esi panic("Expect to run on an SMP"); 80103200: 83 ec 0c sub $0xc,%esp 80103203: 68 7d 77 10 80 push $0x8010777d 80103208: e8 83 d1 ff ff call 80100390 <panic> panic("Didn't find a suitable machine"); 8010320d: 83 ec 0c sub $0xc,%esp 80103210: 68 9c 77 10 80 push $0x8010779c 80103215: e8 76 d1 ff ff call 80100390 <panic> ismp = 0; 8010321a: 31 db xor %ebx,%ebx 8010321c: e9 26 ff ff ff jmp 80103147 <mpinit+0xf7> 80103221: 66 90 xchg %ax,%ax 80103223: 66 90 xchg %ax,%ax 80103225: 66 90 xchg %ax,%ax 80103227: 66 90 xchg %ax,%ax 80103229: 66 90 xchg %ax,%ax 8010322b: 66 90 xchg %ax,%ax 8010322d: 66 90 xchg %ax,%ax 8010322f: 90 nop 80103230 <picinit>: #define IO_PIC2 0xA0 // Slave (IRQs 8-15) // Don't use the 8259A interrupt controllers. Xv6 assumes SMP hardware. void picinit(void) { 80103230: 55 push %ebp } static inline void outb(ushort port, uchar data) { asm volatile("out %0,%1" : : "a" (data), "d" (port)); 80103231: b8 ff ff ff ff mov $0xffffffff,%eax 80103236: ba 21 00 00 00 mov $0x21,%edx 8010323b: 89 e5 mov %esp,%ebp 8010323d: ee out %al,(%dx) 8010323e: ba a1 00 00 00 mov $0xa1,%edx 80103243: ee out %al,(%dx) // mask all interrupts outb(IO_PIC1+1, 0xFF); outb(IO_PIC2+1, 0xFF); } 80103244: 5d pop %ebp 80103245: c3 ret 80103246: 66 90 xchg %ax,%ax 80103248: 66 90 xchg %ax,%ax 8010324a: 66 90 xchg %ax,%ax 8010324c: 66 90 xchg %ax,%ax 8010324e: 66 90 xchg %ax,%ax 80103250 <pipealloc>: int writeopen; // write fd is still open }; int pipealloc(struct file **f0, struct file **f1) { 80103250: 55 push %ebp 80103251: 89 e5 mov %esp,%ebp 80103253: 57 push %edi 80103254: 56 push %esi 80103255: 53 push %ebx 80103256: 83 ec 0c sub $0xc,%esp 80103259: 8b 5d 08 mov 0x8(%ebp),%ebx 8010325c: 8b 75 0c mov 0xc(%ebp),%esi struct pipe *p; p = 0; *f0 = *f1 = 0; 8010325f: c7 06 00 00 00 00 movl $0x0,(%esi) 80103265: c7 03 00 00 00 00 movl $0x0,(%ebx) if((*f0 = filealloc()) == 0 || (*f1 = filealloc()) == 0) 8010326b: e8 10 db ff ff call 80100d80 <filealloc> 80103270: 85 c0 test %eax,%eax 80103272: 89 03 mov %eax,(%ebx) 80103274: 74 22 je 80103298 <pipealloc+0x48> 80103276: e8 05 db ff ff call 80100d80 <filealloc> 8010327b: 85 c0 test %eax,%eax 8010327d: 89 06 mov %eax,(%esi) 8010327f: 74 3f je 801032c0 <pipealloc+0x70> goto bad; if((p = (struct pipe*)kalloc()) == 0) 80103281: e8 4a f2 ff ff call 801024d0 <kalloc> 80103286: 85 c0 test %eax,%eax 80103288: 89 c7 mov %eax,%edi 8010328a: 75 54 jne 801032e0 <pipealloc+0x90> //PAGEBREAK: 20 bad: if(p) kfree((char*)p); if(*f0) 8010328c: 8b 03 mov (%ebx),%eax 8010328e: 85 c0 test %eax,%eax 80103290: 75 34 jne 801032c6 <pipealloc+0x76> 80103292: 8d b6 00 00 00 00 lea 0x0(%esi),%esi fileclose(*f0); if(*f1) 80103298: 8b 06 mov (%esi),%eax 8010329a: 85 c0 test %eax,%eax 8010329c: 74 0c je 801032aa <pipealloc+0x5a> fileclose(*f1); 8010329e: 83 ec 0c sub $0xc,%esp 801032a1: 50 push %eax 801032a2: e8 99 db ff ff call 80100e40 <fileclose> 801032a7: 83 c4 10 add $0x10,%esp return -1; } 801032aa: 8d 65 f4 lea -0xc(%ebp),%esp return -1; 801032ad: b8 ff ff ff ff mov $0xffffffff,%eax } 801032b2: 5b pop %ebx 801032b3: 5e pop %esi 801032b4: 5f pop %edi 801032b5: 5d pop %ebp 801032b6: c3 ret 801032b7: 89 f6 mov %esi,%esi 801032b9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi if(*f0) 801032c0: 8b 03 mov (%ebx),%eax 801032c2: 85 c0 test %eax,%eax 801032c4: 74 e4 je 801032aa <pipealloc+0x5a> fileclose(*f0); 801032c6: 83 ec 0c sub $0xc,%esp 801032c9: 50 push %eax 801032ca: e8 71 db ff ff call 80100e40 <fileclose> if(*f1) 801032cf: 8b 06 mov (%esi),%eax fileclose(*f0); 801032d1: 83 c4 10 add $0x10,%esp if(*f1) 801032d4: 85 c0 test %eax,%eax 801032d6: 75 c6 jne 8010329e <pipealloc+0x4e> 801032d8: eb d0 jmp 801032aa <pipealloc+0x5a> 801032da: 8d b6 00 00 00 00 lea 0x0(%esi),%esi initlock(&p->lock, "pipe"); 801032e0: 83 ec 08 sub $0x8,%esp p->readopen = 1; 801032e3: c7 80 3c 02 00 00 01 movl $0x1,0x23c(%eax) 801032ea: 00 00 00 p->writeopen = 1; 801032ed: c7 80 40 02 00 00 01 movl $0x1,0x240(%eax) 801032f4: 00 00 00 p->nwrite = 0; 801032f7: c7 80 38 02 00 00 00 movl $0x0,0x238(%eax) 801032fe: 00 00 00 p->nread = 0; 80103301: c7 80 34 02 00 00 00 movl $0x0,0x234(%eax) 80103308: 00 00 00 initlock(&p->lock, "pipe"); 8010330b: 68 d0 77 10 80 push $0x801077d0 80103310: 50 push %eax 80103311: e8 5a 11 00 00 call 80104470 <initlock> (*f0)->type = FD_PIPE; 80103316: 8b 03 mov (%ebx),%eax return 0; 80103318: 83 c4 10 add $0x10,%esp (*f0)->type = FD_PIPE; 8010331b: c7 00 01 00 00 00 movl $0x1,(%eax) (*f0)->readable = 1; 80103321: 8b 03 mov (%ebx),%eax 80103323: c6 40 08 01 movb $0x1,0x8(%eax) (*f0)->writable = 0; 80103327: 8b 03 mov (%ebx),%eax 80103329: c6 40 09 00 movb $0x0,0x9(%eax) (*f0)->pipe = p; 8010332d: 8b 03 mov (%ebx),%eax 8010332f: 89 78 0c mov %edi,0xc(%eax) (*f1)->type = FD_PIPE; 80103332: 8b 06 mov (%esi),%eax 80103334: c7 00 01 00 00 00 movl $0x1,(%eax) (*f1)->readable = 0; 8010333a: 8b 06 mov (%esi),%eax 8010333c: c6 40 08 00 movb $0x0,0x8(%eax) (*f1)->writable = 1; 80103340: 8b 06 mov (%esi),%eax 80103342: c6 40 09 01 movb $0x1,0x9(%eax) (*f1)->pipe = p; 80103346: 8b 06 mov (%esi),%eax 80103348: 89 78 0c mov %edi,0xc(%eax) } 8010334b: 8d 65 f4 lea -0xc(%ebp),%esp return 0; 8010334e: 31 c0 xor %eax,%eax } 80103350: 5b pop %ebx 80103351: 5e pop %esi 80103352: 5f pop %edi 80103353: 5d pop %ebp 80103354: c3 ret 80103355: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80103359: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80103360 <pipeclose>: void pipeclose(struct pipe *p, int writable) { 80103360: 55 push %ebp 80103361: 89 e5 mov %esp,%ebp 80103363: 56 push %esi 80103364: 53 push %ebx 80103365: 8b 5d 08 mov 0x8(%ebp),%ebx 80103368: 8b 75 0c mov 0xc(%ebp),%esi acquire(&p->lock); 8010336b: 83 ec 0c sub $0xc,%esp 8010336e: 53 push %ebx 8010336f: e8 3c 12 00 00 call 801045b0 <acquire> if(writable){ 80103374: 83 c4 10 add $0x10,%esp 80103377: 85 f6 test %esi,%esi 80103379: 74 45 je 801033c0 <pipeclose+0x60> p->writeopen = 0; wakeup(&p->nread); 8010337b: 8d 83 34 02 00 00 lea 0x234(%ebx),%eax 80103381: 83 ec 0c sub $0xc,%esp p->writeopen = 0; 80103384: c7 83 40 02 00 00 00 movl $0x0,0x240(%ebx) 8010338b: 00 00 00 wakeup(&p->nread); 8010338e: 50 push %eax 8010338f: e8 2c 0c 00 00 call 80103fc0 <wakeup> 80103394: 83 c4 10 add $0x10,%esp } else { p->readopen = 0; wakeup(&p->nwrite); } if(p->readopen == 0 && p->writeopen == 0){ 80103397: 8b 93 3c 02 00 00 mov 0x23c(%ebx),%edx 8010339d: 85 d2 test %edx,%edx 8010339f: 75 0a jne 801033ab <pipeclose+0x4b> 801033a1: 8b 83 40 02 00 00 mov 0x240(%ebx),%eax 801033a7: 85 c0 test %eax,%eax 801033a9: 74 35 je 801033e0 <pipeclose+0x80> release(&p->lock); kfree((char*)p); } else release(&p->lock); 801033ab: 89 5d 08 mov %ebx,0x8(%ebp) } 801033ae: 8d 65 f8 lea -0x8(%ebp),%esp 801033b1: 5b pop %ebx 801033b2: 5e pop %esi 801033b3: 5d pop %ebp release(&p->lock); 801033b4: e9 b7 12 00 00 jmp 80104670 <release> 801033b9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi wakeup(&p->nwrite); 801033c0: 8d 83 38 02 00 00 lea 0x238(%ebx),%eax 801033c6: 83 ec 0c sub $0xc,%esp p->readopen = 0; 801033c9: c7 83 3c 02 00 00 00 movl $0x0,0x23c(%ebx) 801033d0: 00 00 00 wakeup(&p->nwrite); 801033d3: 50 push %eax 801033d4: e8 e7 0b 00 00 call 80103fc0 <wakeup> 801033d9: 83 c4 10 add $0x10,%esp 801033dc: eb b9 jmp 80103397 <pipeclose+0x37> 801033de: 66 90 xchg %ax,%ax release(&p->lock); 801033e0: 83 ec 0c sub $0xc,%esp 801033e3: 53 push %ebx 801033e4: e8 87 12 00 00 call 80104670 <release> kfree((char*)p); 801033e9: 89 5d 08 mov %ebx,0x8(%ebp) 801033ec: 83 c4 10 add $0x10,%esp } 801033ef: 8d 65 f8 lea -0x8(%ebp),%esp 801033f2: 5b pop %ebx 801033f3: 5e pop %esi 801033f4: 5d pop %ebp kfree((char*)p); 801033f5: e9 26 ef ff ff jmp 80102320 <kfree> 801033fa: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 80103400 <pipewrite>: //PAGEBREAK: 40 int pipewrite(struct pipe *p, char *addr, int n) { 80103400: 55 push %ebp 80103401: 89 e5 mov %esp,%ebp 80103403: 57 push %edi 80103404: 56 push %esi 80103405: 53 push %ebx 80103406: 83 ec 28 sub $0x28,%esp 80103409: 8b 5d 08 mov 0x8(%ebp),%ebx int i; acquire(&p->lock); 8010340c: 53 push %ebx 8010340d: e8 9e 11 00 00 call 801045b0 <acquire> for(i = 0; i < n; i++){ 80103412: 8b 45 10 mov 0x10(%ebp),%eax 80103415: 83 c4 10 add $0x10,%esp 80103418: 85 c0 test %eax,%eax 8010341a: 0f 8e c9 00 00 00 jle 801034e9 <pipewrite+0xe9> 80103420: 8b 4d 0c mov 0xc(%ebp),%ecx 80103423: 8b 83 38 02 00 00 mov 0x238(%ebx),%eax while(p->nwrite == p->nread + PIPESIZE){ //DOC: pipewrite-full if(p->readopen == 0 || myproc()->killed){ release(&p->lock); return -1; } wakeup(&p->nread); 80103429: 8d bb 34 02 00 00 lea 0x234(%ebx),%edi 8010342f: 89 4d e4 mov %ecx,-0x1c(%ebp) 80103432: 03 4d 10 add 0x10(%ebp),%ecx 80103435: 89 4d e0 mov %ecx,-0x20(%ebp) while(p->nwrite == p->nread + PIPESIZE){ //DOC: pipewrite-full 80103438: 8b 8b 34 02 00 00 mov 0x234(%ebx),%ecx 8010343e: 8d 91 00 02 00 00 lea 0x200(%ecx),%edx 80103444: 39 d0 cmp %edx,%eax 80103446: 75 71 jne 801034b9 <pipewrite+0xb9> if(p->readopen == 0 || myproc()->killed){ 80103448: 8b 83 3c 02 00 00 mov 0x23c(%ebx),%eax 8010344e: 85 c0 test %eax,%eax 80103450: 74 4e je 801034a0 <pipewrite+0xa0> sleep(&p->nwrite, &p->lock); //DOC: pipewrite-sleep 80103452: 8d b3 38 02 00 00 lea 0x238(%ebx),%esi 80103458: eb 3a jmp 80103494 <pipewrite+0x94> 8010345a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi wakeup(&p->nread); 80103460: 83 ec 0c sub $0xc,%esp 80103463: 57 push %edi 80103464: e8 57 0b 00 00 call 80103fc0 <wakeup> sleep(&p->nwrite, &p->lock); //DOC: pipewrite-sleep 80103469: 5a pop %edx 8010346a: 59 pop %ecx 8010346b: 53 push %ebx 8010346c: 56 push %esi 8010346d: e8 8e 09 00 00 call 80103e00 <sleep> while(p->nwrite == p->nread + PIPESIZE){ //DOC: pipewrite-full 80103472: 8b 83 34 02 00 00 mov 0x234(%ebx),%eax 80103478: 8b 93 38 02 00 00 mov 0x238(%ebx),%edx 8010347e: 83 c4 10 add $0x10,%esp 80103481: 05 00 02 00 00 add $0x200,%eax 80103486: 39 c2 cmp %eax,%edx 80103488: 75 36 jne 801034c0 <pipewrite+0xc0> if(p->readopen == 0 || myproc()->killed){ 8010348a: 8b 83 3c 02 00 00 mov 0x23c(%ebx),%eax 80103490: 85 c0 test %eax,%eax 80103492: 74 0c je 801034a0 <pipewrite+0xa0> 80103494: e8 67 03 00 00 call 80103800 <myproc> 80103499: 8b 40 28 mov 0x28(%eax),%eax 8010349c: 85 c0 test %eax,%eax 8010349e: 74 c0 je 80103460 <pipewrite+0x60> release(&p->lock); 801034a0: 83 ec 0c sub $0xc,%esp 801034a3: 53 push %ebx 801034a4: e8 c7 11 00 00 call 80104670 <release> return -1; 801034a9: 83 c4 10 add $0x10,%esp 801034ac: b8 ff ff ff ff mov $0xffffffff,%eax p->data[p->nwrite++ % PIPESIZE] = addr[i]; } wakeup(&p->nread); //DOC: pipewrite-wakeup1 release(&p->lock); return n; } 801034b1: 8d 65 f4 lea -0xc(%ebp),%esp 801034b4: 5b pop %ebx 801034b5: 5e pop %esi 801034b6: 5f pop %edi 801034b7: 5d pop %ebp 801034b8: c3 ret while(p->nwrite == p->nread + PIPESIZE){ //DOC: pipewrite-full 801034b9: 89 c2 mov %eax,%edx 801034bb: 90 nop 801034bc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi p->data[p->nwrite++ % PIPESIZE] = addr[i]; 801034c0: 8b 75 e4 mov -0x1c(%ebp),%esi 801034c3: 8d 42 01 lea 0x1(%edx),%eax 801034c6: 81 e2 ff 01 00 00 and $0x1ff,%edx 801034cc: 89 83 38 02 00 00 mov %eax,0x238(%ebx) 801034d2: 83 c6 01 add $0x1,%esi 801034d5: 0f b6 4e ff movzbl -0x1(%esi),%ecx for(i = 0; i < n; i++){ 801034d9: 3b 75 e0 cmp -0x20(%ebp),%esi 801034dc: 89 75 e4 mov %esi,-0x1c(%ebp) p->data[p->nwrite++ % PIPESIZE] = addr[i]; 801034df: 88 4c 13 34 mov %cl,0x34(%ebx,%edx,1) for(i = 0; i < n; i++){ 801034e3: 0f 85 4f ff ff ff jne 80103438 <pipewrite+0x38> wakeup(&p->nread); //DOC: pipewrite-wakeup1 801034e9: 8d 83 34 02 00 00 lea 0x234(%ebx),%eax 801034ef: 83 ec 0c sub $0xc,%esp 801034f2: 50 push %eax 801034f3: e8 c8 0a 00 00 call 80103fc0 <wakeup> release(&p->lock); 801034f8: 89 1c 24 mov %ebx,(%esp) 801034fb: e8 70 11 00 00 call 80104670 <release> return n; 80103500: 83 c4 10 add $0x10,%esp 80103503: 8b 45 10 mov 0x10(%ebp),%eax 80103506: eb a9 jmp 801034b1 <pipewrite+0xb1> 80103508: 90 nop 80103509: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 80103510 <piperead>: int piperead(struct pipe *p, char *addr, int n) { 80103510: 55 push %ebp 80103511: 89 e5 mov %esp,%ebp 80103513: 57 push %edi 80103514: 56 push %esi 80103515: 53 push %ebx 80103516: 83 ec 18 sub $0x18,%esp 80103519: 8b 75 08 mov 0x8(%ebp),%esi 8010351c: 8b 7d 0c mov 0xc(%ebp),%edi int i; acquire(&p->lock); 8010351f: 56 push %esi 80103520: e8 8b 10 00 00 call 801045b0 <acquire> while(p->nread == p->nwrite && p->writeopen){ //DOC: pipe-empty 80103525: 83 c4 10 add $0x10,%esp 80103528: 8b 8e 34 02 00 00 mov 0x234(%esi),%ecx 8010352e: 3b 8e 38 02 00 00 cmp 0x238(%esi),%ecx 80103534: 75 6a jne 801035a0 <piperead+0x90> 80103536: 8b 9e 40 02 00 00 mov 0x240(%esi),%ebx 8010353c: 85 db test %ebx,%ebx 8010353e: 0f 84 c4 00 00 00 je 80103608 <piperead+0xf8> if(myproc()->killed){ release(&p->lock); return -1; } sleep(&p->nread, &p->lock); //DOC: piperead-sleep 80103544: 8d 9e 34 02 00 00 lea 0x234(%esi),%ebx 8010354a: eb 2d jmp 80103579 <piperead+0x69> 8010354c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80103550: 83 ec 08 sub $0x8,%esp 80103553: 56 push %esi 80103554: 53 push %ebx 80103555: e8 a6 08 00 00 call 80103e00 <sleep> while(p->nread == p->nwrite && p->writeopen){ //DOC: pipe-empty 8010355a: 83 c4 10 add $0x10,%esp 8010355d: 8b 8e 34 02 00 00 mov 0x234(%esi),%ecx 80103563: 3b 8e 38 02 00 00 cmp 0x238(%esi),%ecx 80103569: 75 35 jne 801035a0 <piperead+0x90> 8010356b: 8b 96 40 02 00 00 mov 0x240(%esi),%edx 80103571: 85 d2 test %edx,%edx 80103573: 0f 84 8f 00 00 00 je 80103608 <piperead+0xf8> if(myproc()->killed){ 80103579: e8 82 02 00 00 call 80103800 <myproc> 8010357e: 8b 48 28 mov 0x28(%eax),%ecx 80103581: 85 c9 test %ecx,%ecx 80103583: 74 cb je 80103550 <piperead+0x40> release(&p->lock); 80103585: 83 ec 0c sub $0xc,%esp return -1; 80103588: bb ff ff ff ff mov $0xffffffff,%ebx release(&p->lock); 8010358d: 56 push %esi 8010358e: e8 dd 10 00 00 call 80104670 <release> return -1; 80103593: 83 c4 10 add $0x10,%esp addr[i] = p->data[p->nread++ % PIPESIZE]; } wakeup(&p->nwrite); //DOC: piperead-wakeup release(&p->lock); return i; } 80103596: 8d 65 f4 lea -0xc(%ebp),%esp 80103599: 89 d8 mov %ebx,%eax 8010359b: 5b pop %ebx 8010359c: 5e pop %esi 8010359d: 5f pop %edi 8010359e: 5d pop %ebp 8010359f: c3 ret for(i = 0; i < n; i++){ //DOC: piperead-copy 801035a0: 8b 45 10 mov 0x10(%ebp),%eax 801035a3: 85 c0 test %eax,%eax 801035a5: 7e 61 jle 80103608 <piperead+0xf8> if(p->nread == p->nwrite) 801035a7: 31 db xor %ebx,%ebx 801035a9: eb 13 jmp 801035be <piperead+0xae> 801035ab: 90 nop 801035ac: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 801035b0: 8b 8e 34 02 00 00 mov 0x234(%esi),%ecx 801035b6: 3b 8e 38 02 00 00 cmp 0x238(%esi),%ecx 801035bc: 74 1f je 801035dd <piperead+0xcd> addr[i] = p->data[p->nread++ % PIPESIZE]; 801035be: 8d 41 01 lea 0x1(%ecx),%eax 801035c1: 81 e1 ff 01 00 00 and $0x1ff,%ecx 801035c7: 89 86 34 02 00 00 mov %eax,0x234(%esi) 801035cd: 0f b6 44 0e 34 movzbl 0x34(%esi,%ecx,1),%eax 801035d2: 88 04 1f mov %al,(%edi,%ebx,1) for(i = 0; i < n; i++){ //DOC: piperead-copy 801035d5: 83 c3 01 add $0x1,%ebx 801035d8: 39 5d 10 cmp %ebx,0x10(%ebp) 801035db: 75 d3 jne 801035b0 <piperead+0xa0> wakeup(&p->nwrite); //DOC: piperead-wakeup 801035dd: 8d 86 38 02 00 00 lea 0x238(%esi),%eax 801035e3: 83 ec 0c sub $0xc,%esp 801035e6: 50 push %eax 801035e7: e8 d4 09 00 00 call 80103fc0 <wakeup> release(&p->lock); 801035ec: 89 34 24 mov %esi,(%esp) 801035ef: e8 7c 10 00 00 call 80104670 <release> return i; 801035f4: 83 c4 10 add $0x10,%esp } 801035f7: 8d 65 f4 lea -0xc(%ebp),%esp 801035fa: 89 d8 mov %ebx,%eax 801035fc: 5b pop %ebx 801035fd: 5e pop %esi 801035fe: 5f pop %edi 801035ff: 5d pop %ebp 80103600: c3 ret 80103601: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 80103608: 31 db xor %ebx,%ebx 8010360a: eb d1 jmp 801035dd <piperead+0xcd> 8010360c: 66 90 xchg %ax,%ax 8010360e: 66 90 xchg %ax,%ax 80103610 <allocproc>: // If found, change state to EMBRYO and initialize // state required to run in the kernel. // Otherwise return 0. static struct proc* allocproc(void) { 80103610: 55 push %ebp 80103611: 89 e5 mov %esp,%ebp 80103613: 53 push %ebx struct proc *p; char *sp; acquire(&ptable.lock); for(p = ptable.proc; p < &ptable.proc[NPROC]; p++) 80103614: bb 54 2d 11 80 mov $0x80112d54,%ebx { 80103619: 83 ec 10 sub $0x10,%esp acquire(&ptable.lock); 8010361c: 68 20 2d 11 80 push $0x80112d20 80103621: e8 8a 0f 00 00 call 801045b0 <acquire> 80103626: 83 c4 10 add $0x10,%esp 80103629: eb 17 jmp 80103642 <allocproc+0x32> 8010362b: 90 nop 8010362c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi for(p = ptable.proc; p < &ptable.proc[NPROC]; p++) 80103630: 81 c3 8c 00 00 00 add $0x8c,%ebx 80103636: 81 fb 54 50 11 80 cmp $0x80115054,%ebx 8010363c: 0f 83 7e 00 00 00 jae 801036c0 <allocproc+0xb0> if(p->state == UNUSED) 80103642: 8b 43 0c mov 0xc(%ebx),%eax 80103645: 85 c0 test %eax,%eax 80103647: 75 e7 jne 80103630 <allocproc+0x20> release(&ptable.lock); return 0; found: p->state = EMBRYO; p->pid = nextpid++; 80103649: a1 04 a0 10 80 mov 0x8010a004,%eax p->priority = 500; release(&ptable.lock); 8010364e: 83 ec 0c sub $0xc,%esp p->state = EMBRYO; 80103651: c7 43 0c 01 00 00 00 movl $0x1,0xc(%ebx) p->priority = 500; 80103658: c7 83 80 00 00 00 f4 movl $0x1f4,0x80(%ebx) 8010365f: 01 00 00 p->pid = nextpid++; 80103662: 8d 50 01 lea 0x1(%eax),%edx 80103665: 89 43 10 mov %eax,0x10(%ebx) release(&ptable.lock); 80103668: 68 20 2d 11 80 push $0x80112d20 p->pid = nextpid++; 8010366d: 89 15 04 a0 10 80 mov %edx,0x8010a004 release(&ptable.lock); 80103673: e8 f8 0f 00 00 call 80104670 <release> // Allocate kernel stack. if((p->kstack = kalloc()) == 0){ 80103678: e8 53 ee ff ff call 801024d0 <kalloc> 8010367d: 83 c4 10 add $0x10,%esp 80103680: 85 c0 test %eax,%eax 80103682: 89 43 08 mov %eax,0x8(%ebx) 80103685: 74 52 je 801036d9 <allocproc+0xc9> return 0; } sp = p->kstack + KSTACKSIZE; // Leave room for trap frame. sp -= sizeof *p->tf; 80103687: 8d 90 b4 0f 00 00 lea 0xfb4(%eax),%edx sp -= 4; *(uint*)sp = (uint)trapret; sp -= sizeof *p->context; p->context = (struct context*)sp; memset(p->context, 0, sizeof *p->context); 8010368d: 83 ec 04 sub $0x4,%esp sp -= sizeof *p->context; 80103690: 05 9c 0f 00 00 add $0xf9c,%eax sp -= sizeof *p->tf; 80103695: 89 53 18 mov %edx,0x18(%ebx) *(uint*)sp = (uint)trapret; 80103698: c7 40 14 d1 59 10 80 movl $0x801059d1,0x14(%eax) p->context = (struct context*)sp; 8010369f: 89 43 1c mov %eax,0x1c(%ebx) memset(p->context, 0, sizeof *p->context); 801036a2: 6a 14 push $0x14 801036a4: 6a 00 push $0x0 801036a6: 50 push %eax 801036a7: e8 14 10 00 00 call 801046c0 <memset> p->context->eip = (uint)forkret; 801036ac: 8b 43 1c mov 0x1c(%ebx),%eax return p; 801036af: 83 c4 10 add $0x10,%esp p->context->eip = (uint)forkret; 801036b2: c7 40 10 f0 36 10 80 movl $0x801036f0,0x10(%eax) } 801036b9: 89 d8 mov %ebx,%eax 801036bb: 8b 5d fc mov -0x4(%ebp),%ebx 801036be: c9 leave 801036bf: c3 ret release(&ptable.lock); 801036c0: 83 ec 0c sub $0xc,%esp return 0; 801036c3: 31 db xor %ebx,%ebx release(&ptable.lock); 801036c5: 68 20 2d 11 80 push $0x80112d20 801036ca: e8 a1 0f 00 00 call 80104670 <release> } 801036cf: 89 d8 mov %ebx,%eax return 0; 801036d1: 83 c4 10 add $0x10,%esp } 801036d4: 8b 5d fc mov -0x4(%ebp),%ebx 801036d7: c9 leave 801036d8: c3 ret p->state = UNUSED; 801036d9: c7 43 0c 00 00 00 00 movl $0x0,0xc(%ebx) return 0; 801036e0: 31 db xor %ebx,%ebx 801036e2: eb d5 jmp 801036b9 <allocproc+0xa9> 801036e4: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 801036ea: 8d bf 00 00 00 00 lea 0x0(%edi),%edi 801036f0 <forkret>: // A fork child's very first scheduling by scheduler() // will swtch here. "Return" to user space. void forkret(void) { 801036f0: 55 push %ebp 801036f1: 89 e5 mov %esp,%ebp 801036f3: 83 ec 14 sub $0x14,%esp static int first = 1; // Still holding ptable.lock from scheduler. release(&ptable.lock); 801036f6: 68 20 2d 11 80 push $0x80112d20 801036fb: e8 70 0f 00 00 call 80104670 <release> if (first) { 80103700: a1 00 a0 10 80 mov 0x8010a000,%eax 80103705: 83 c4 10 add $0x10,%esp 80103708: 85 c0 test %eax,%eax 8010370a: 75 04 jne 80103710 <forkret+0x20> iinit(ROOTDEV); initlog(ROOTDEV); } // Return to "caller", actually trapret (see allocproc). } 8010370c: c9 leave 8010370d: c3 ret 8010370e: 66 90 xchg %ax,%ax iinit(ROOTDEV); 80103710: 83 ec 0c sub $0xc,%esp first = 0; 80103713: c7 05 00 a0 10 80 00 movl $0x0,0x8010a000 8010371a: 00 00 00 iinit(ROOTDEV); 8010371d: 6a 01 push $0x1 8010371f: e8 6c dd ff ff call 80101490 <iinit> initlog(ROOTDEV); 80103724: c7 04 24 01 00 00 00 movl $0x1,(%esp) 8010372b: e8 e0 f3 ff ff call 80102b10 <initlog> 80103730: 83 c4 10 add $0x10,%esp } 80103733: c9 leave 80103734: c3 ret 80103735: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80103739: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80103740 <pinit>: { 80103740: 55 push %ebp 80103741: 89 e5 mov %esp,%ebp 80103743: 83 ec 10 sub $0x10,%esp initlock(&ptable.lock, "ptable"); 80103746: 68 d5 77 10 80 push $0x801077d5 8010374b: 68 20 2d 11 80 push $0x80112d20 80103750: e8 1b 0d 00 00 call 80104470 <initlock> } 80103755: 83 c4 10 add $0x10,%esp 80103758: c9 leave 80103759: c3 ret 8010375a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 80103760 <mycpu>: { 80103760: 55 push %ebp 80103761: 89 e5 mov %esp,%ebp 80103763: 56 push %esi 80103764: 53 push %ebx asm volatile("pushfl; popl %0" : "=r" (eflags)); 80103765: 9c pushf 80103766: 58 pop %eax if(readeflags()&FL_IF) 80103767: f6 c4 02 test $0x2,%ah 8010376a: 75 5e jne 801037ca <mycpu+0x6a> apicid = lapicid(); 8010376c: e8 cf ef ff ff call 80102740 <lapicid> for (i = 0; i < ncpu; ++i) { 80103771: 8b 35 00 2d 11 80 mov 0x80112d00,%esi 80103777: 85 f6 test %esi,%esi 80103779: 7e 42 jle 801037bd <mycpu+0x5d> if (cpus[i].apicid == apicid) 8010377b: 0f b6 15 80 27 11 80 movzbl 0x80112780,%edx 80103782: 39 d0 cmp %edx,%eax 80103784: 74 30 je 801037b6 <mycpu+0x56> 80103786: b9 30 28 11 80 mov $0x80112830,%ecx for (i = 0; i < ncpu; ++i) { 8010378b: 31 d2 xor %edx,%edx 8010378d: 8d 76 00 lea 0x0(%esi),%esi 80103790: 83 c2 01 add $0x1,%edx 80103793: 39 f2 cmp %esi,%edx 80103795: 74 26 je 801037bd <mycpu+0x5d> if (cpus[i].apicid == apicid) 80103797: 0f b6 19 movzbl (%ecx),%ebx 8010379a: 81 c1 b0 00 00 00 add $0xb0,%ecx 801037a0: 39 c3 cmp %eax,%ebx 801037a2: 75 ec jne 80103790 <mycpu+0x30> 801037a4: 69 c2 b0 00 00 00 imul $0xb0,%edx,%eax 801037aa: 05 80 27 11 80 add $0x80112780,%eax } 801037af: 8d 65 f8 lea -0x8(%ebp),%esp 801037b2: 5b pop %ebx 801037b3: 5e pop %esi 801037b4: 5d pop %ebp 801037b5: c3 ret if (cpus[i].apicid == apicid) 801037b6: b8 80 27 11 80 mov $0x80112780,%eax return &cpus[i]; 801037bb: eb f2 jmp 801037af <mycpu+0x4f> panic("unknown apicid\n"); 801037bd: 83 ec 0c sub $0xc,%esp 801037c0: 68 dc 77 10 80 push $0x801077dc 801037c5: e8 c6 cb ff ff call 80100390 <panic> panic("mycpu called with interrupts enabled\n"); 801037ca: 83 ec 0c sub $0xc,%esp 801037cd: 68 b8 78 10 80 push $0x801078b8 801037d2: e8 b9 cb ff ff call 80100390 <panic> 801037d7: 89 f6 mov %esi,%esi 801037d9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 801037e0 <cpuid>: cpuid() { 801037e0: 55 push %ebp 801037e1: 89 e5 mov %esp,%ebp 801037e3: 83 ec 08 sub $0x8,%esp return mycpu()-cpus; 801037e6: e8 75 ff ff ff call 80103760 <mycpu> 801037eb: 2d 80 27 11 80 sub $0x80112780,%eax } 801037f0: c9 leave return mycpu()-cpus; 801037f1: c1 f8 04 sar $0x4,%eax 801037f4: 69 c0 a3 8b 2e ba imul $0xba2e8ba3,%eax,%eax } 801037fa: c3 ret 801037fb: 90 nop 801037fc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80103800 <myproc>: myproc(void) { 80103800: 55 push %ebp 80103801: 89 e5 mov %esp,%ebp 80103803: 53 push %ebx 80103804: 83 ec 04 sub $0x4,%esp pushcli(); 80103807: e8 d4 0c 00 00 call 801044e0 <pushcli> c = mycpu(); 8010380c: e8 4f ff ff ff call 80103760 <mycpu> p = c->proc; 80103811: 8b 98 ac 00 00 00 mov 0xac(%eax),%ebx popcli(); 80103817: e8 04 0d 00 00 call 80104520 <popcli> } 8010381c: 83 c4 04 add $0x4,%esp 8010381f: 89 d8 mov %ebx,%eax 80103821: 5b pop %ebx 80103822: 5d pop %ebp 80103823: c3 ret 80103824: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 8010382a: 8d bf 00 00 00 00 lea 0x0(%edi),%edi 80103830 <userinit>: { 80103830: 55 push %ebp 80103831: 89 e5 mov %esp,%ebp 80103833: 53 push %ebx 80103834: 83 ec 04 sub $0x4,%esp p = allocproc(); 80103837: e8 d4 fd ff ff call 80103610 <allocproc> 8010383c: 89 c3 mov %eax,%ebx initproc = p; 8010383e: a3 b8 a5 10 80 mov %eax,0x8010a5b8 if((p->pgdir = setupkvm()) == 0) 80103843: e8 88 37 00 00 call 80106fd0 <setupkvm> 80103848: 85 c0 test %eax,%eax 8010384a: 89 43 04 mov %eax,0x4(%ebx) 8010384d: 0f 84 bd 00 00 00 je 80103910 <userinit+0xe0> inituvm(p->pgdir, _binary_initcode_start, (int)_binary_initcode_size); 80103853: 83 ec 04 sub $0x4,%esp 80103856: 68 2c 00 00 00 push $0x2c 8010385b: 68 60 a4 10 80 push $0x8010a460 80103860: 50 push %eax 80103861: e8 4a 34 00 00 call 80106cb0 <inituvm> memset(p->tf, 0, sizeof(*p->tf)); 80103866: 83 c4 0c add $0xc,%esp p->sz = PGSIZE; 80103869: c7 03 00 10 00 00 movl $0x1000,(%ebx) memset(p->tf, 0, sizeof(*p->tf)); 8010386f: 6a 4c push $0x4c 80103871: 6a 00 push $0x0 80103873: ff 73 18 pushl 0x18(%ebx) 80103876: e8 45 0e 00 00 call 801046c0 <memset> p->tf->cs = (SEG_UCODE << 3) | DPL_USER; 8010387b: 8b 43 18 mov 0x18(%ebx),%eax 8010387e: ba 1b 00 00 00 mov $0x1b,%edx p->tf->ds = (SEG_UDATA << 3) | DPL_USER; 80103883: b9 23 00 00 00 mov $0x23,%ecx safestrcpy(p->name, "initcode", sizeof(p->name)); 80103888: 83 c4 0c add $0xc,%esp p->tf->cs = (SEG_UCODE << 3) | DPL_USER; 8010388b: 66 89 50 3c mov %dx,0x3c(%eax) p->tf->ds = (SEG_UDATA << 3) | DPL_USER; 8010388f: 8b 43 18 mov 0x18(%ebx),%eax 80103892: 66 89 48 2c mov %cx,0x2c(%eax) p->tf->es = p->tf->ds; 80103896: 8b 43 18 mov 0x18(%ebx),%eax 80103899: 0f b7 50 2c movzwl 0x2c(%eax),%edx 8010389d: 66 89 50 28 mov %dx,0x28(%eax) p->tf->ss = p->tf->ds; 801038a1: 8b 43 18 mov 0x18(%ebx),%eax 801038a4: 0f b7 50 2c movzwl 0x2c(%eax),%edx 801038a8: 66 89 50 48 mov %dx,0x48(%eax) p->tf->eflags = FL_IF; 801038ac: 8b 43 18 mov 0x18(%ebx),%eax 801038af: c7 40 40 00 02 00 00 movl $0x200,0x40(%eax) p->tf->esp = PGSIZE; 801038b6: 8b 43 18 mov 0x18(%ebx),%eax 801038b9: c7 40 44 00 10 00 00 movl $0x1000,0x44(%eax) p->tf->eip = 0; // beginning of initcode.S 801038c0: 8b 43 18 mov 0x18(%ebx),%eax 801038c3: c7 40 38 00 00 00 00 movl $0x0,0x38(%eax) safestrcpy(p->name, "initcode", sizeof(p->name)); 801038ca: 8d 43 70 lea 0x70(%ebx),%eax 801038cd: 6a 10 push $0x10 801038cf: 68 05 78 10 80 push $0x80107805 801038d4: 50 push %eax 801038d5: e8 c6 0f 00 00 call 801048a0 <safestrcpy> p->cwd = namei("/"); 801038da: c7 04 24 0e 78 10 80 movl $0x8010780e,(%esp) 801038e1: e8 0a e6 ff ff call 80101ef0 <namei> 801038e6: 89 43 6c mov %eax,0x6c(%ebx) acquire(&ptable.lock); 801038e9: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp) 801038f0: e8 bb 0c 00 00 call 801045b0 <acquire> p->state = RUNNABLE; 801038f5: c7 43 0c 03 00 00 00 movl $0x3,0xc(%ebx) release(&ptable.lock); 801038fc: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp) 80103903: e8 68 0d 00 00 call 80104670 <release> } 80103908: 83 c4 10 add $0x10,%esp 8010390b: 8b 5d fc mov -0x4(%ebp),%ebx 8010390e: c9 leave 8010390f: c3 ret panic("userinit: out of memory?"); 80103910: 83 ec 0c sub $0xc,%esp 80103913: 68 ec 77 10 80 push $0x801077ec 80103918: e8 73 ca ff ff call 80100390 <panic> 8010391d: 8d 76 00 lea 0x0(%esi),%esi 80103920 <growproc>: { 80103920: 55 push %ebp 80103921: 89 e5 mov %esp,%ebp 80103923: 56 push %esi 80103924: 53 push %ebx 80103925: 8b 75 08 mov 0x8(%ebp),%esi pushcli(); 80103928: e8 b3 0b 00 00 call 801044e0 <pushcli> c = mycpu(); 8010392d: e8 2e fe ff ff call 80103760 <mycpu> p = c->proc; 80103932: 8b 98 ac 00 00 00 mov 0xac(%eax),%ebx popcli(); 80103938: e8 e3 0b 00 00 call 80104520 <popcli> if(n > 0){ 8010393d: 83 fe 00 cmp $0x0,%esi sz = curproc->sz; 80103940: 8b 03 mov (%ebx),%eax if(n > 0){ 80103942: 7f 1c jg 80103960 <growproc+0x40> } else if(n < 0){ 80103944: 75 3a jne 80103980 <growproc+0x60> switchuvm(curproc); 80103946: 83 ec 0c sub $0xc,%esp curproc->sz = sz; 80103949: 89 03 mov %eax,(%ebx) switchuvm(curproc); 8010394b: 53 push %ebx 8010394c: e8 4f 32 00 00 call 80106ba0 <switchuvm> return 0; 80103951: 83 c4 10 add $0x10,%esp 80103954: 31 c0 xor %eax,%eax } 80103956: 8d 65 f8 lea -0x8(%ebp),%esp 80103959: 5b pop %ebx 8010395a: 5e pop %esi 8010395b: 5d pop %ebp 8010395c: c3 ret 8010395d: 8d 76 00 lea 0x0(%esi),%esi if((sz = allocuvm(curproc->pgdir, sz, sz + n)) == 0) 80103960: 83 ec 04 sub $0x4,%esp 80103963: 01 c6 add %eax,%esi 80103965: 56 push %esi 80103966: 50 push %eax 80103967: ff 73 04 pushl 0x4(%ebx) 8010396a: e8 81 34 00 00 call 80106df0 <allocuvm> 8010396f: 83 c4 10 add $0x10,%esp 80103972: 85 c0 test %eax,%eax 80103974: 75 d0 jne 80103946 <growproc+0x26> return -1; 80103976: b8 ff ff ff ff mov $0xffffffff,%eax 8010397b: eb d9 jmp 80103956 <growproc+0x36> 8010397d: 8d 76 00 lea 0x0(%esi),%esi if((sz = deallocuvm(curproc->pgdir, sz, sz + n)) == 0) 80103980: 83 ec 04 sub $0x4,%esp 80103983: 01 c6 add %eax,%esi 80103985: 56 push %esi 80103986: 50 push %eax 80103987: ff 73 04 pushl 0x4(%ebx) 8010398a: e8 91 35 00 00 call 80106f20 <deallocuvm> 8010398f: 83 c4 10 add $0x10,%esp 80103992: 85 c0 test %eax,%eax 80103994: 75 b0 jne 80103946 <growproc+0x26> 80103996: eb de jmp 80103976 <growproc+0x56> 80103998: 90 nop 80103999: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 801039a0 <fork>: { 801039a0: 55 push %ebp 801039a1: 89 e5 mov %esp,%ebp 801039a3: 57 push %edi 801039a4: 56 push %esi 801039a5: 53 push %ebx 801039a6: 83 ec 1c sub $0x1c,%esp pushcli(); 801039a9: e8 32 0b 00 00 call 801044e0 <pushcli> c = mycpu(); 801039ae: e8 ad fd ff ff call 80103760 <mycpu> p = c->proc; 801039b3: 8b 98 ac 00 00 00 mov 0xac(%eax),%ebx popcli(); 801039b9: e8 62 0b 00 00 call 80104520 <popcli> if((np = allocproc()) == 0){ 801039be: e8 4d fc ff ff call 80103610 <allocproc> 801039c3: 85 c0 test %eax,%eax 801039c5: 89 45 e4 mov %eax,-0x1c(%ebp) 801039c8: 0f 84 b7 00 00 00 je 80103a85 <fork+0xe5> if((np->pgdir = copyuvm(curproc->pgdir, curproc->sz)) == 0){ 801039ce: 83 ec 08 sub $0x8,%esp 801039d1: ff 33 pushl (%ebx) 801039d3: ff 73 04 pushl 0x4(%ebx) 801039d6: 89 c7 mov %eax,%edi 801039d8: e8 c3 36 00 00 call 801070a0 <copyuvm> 801039dd: 83 c4 10 add $0x10,%esp 801039e0: 85 c0 test %eax,%eax 801039e2: 89 47 04 mov %eax,0x4(%edi) 801039e5: 0f 84 a1 00 00 00 je 80103a8c <fork+0xec> np->sz = curproc->sz; 801039eb: 8b 03 mov (%ebx),%eax 801039ed: 8b 4d e4 mov -0x1c(%ebp),%ecx 801039f0: 89 01 mov %eax,(%ecx) np->parent = curproc; 801039f2: 89 59 14 mov %ebx,0x14(%ecx) 801039f5: 89 c8 mov %ecx,%eax *np->tf = *curproc->tf; 801039f7: 8b 79 18 mov 0x18(%ecx),%edi 801039fa: 8b 73 18 mov 0x18(%ebx),%esi 801039fd: b9 13 00 00 00 mov $0x13,%ecx 80103a02: f3 a5 rep movsl %ds:(%esi),%es:(%edi) for(i = 0; i < NOFILE; i++) 80103a04: 31 f6 xor %esi,%esi np->tf->eax = 0; 80103a06: 8b 40 18 mov 0x18(%eax),%eax 80103a09: c7 40 1c 00 00 00 00 movl $0x0,0x1c(%eax) if(curproc->ofile[i]) 80103a10: 8b 44 b3 2c mov 0x2c(%ebx,%esi,4),%eax 80103a14: 85 c0 test %eax,%eax 80103a16: 74 13 je 80103a2b <fork+0x8b> np->ofile[i] = filedup(curproc->ofile[i]); 80103a18: 83 ec 0c sub $0xc,%esp 80103a1b: 50 push %eax 80103a1c: e8 cf d3 ff ff call 80100df0 <filedup> 80103a21: 8b 55 e4 mov -0x1c(%ebp),%edx 80103a24: 83 c4 10 add $0x10,%esp 80103a27: 89 44 b2 2c mov %eax,0x2c(%edx,%esi,4) for(i = 0; i < NOFILE; i++) 80103a2b: 83 c6 01 add $0x1,%esi 80103a2e: 83 fe 10 cmp $0x10,%esi 80103a31: 75 dd jne 80103a10 <fork+0x70> np->cwd = idup(curproc->cwd); 80103a33: 83 ec 0c sub $0xc,%esp 80103a36: ff 73 6c pushl 0x6c(%ebx) safestrcpy(np->name, curproc->name, sizeof(curproc->name)); 80103a39: 83 c3 70 add $0x70,%ebx np->cwd = idup(curproc->cwd); 80103a3c: e8 1f dc ff ff call 80101660 <idup> 80103a41: 8b 7d e4 mov -0x1c(%ebp),%edi safestrcpy(np->name, curproc->name, sizeof(curproc->name)); 80103a44: 83 c4 0c add $0xc,%esp np->cwd = idup(curproc->cwd); 80103a47: 89 47 6c mov %eax,0x6c(%edi) safestrcpy(np->name, curproc->name, sizeof(curproc->name)); 80103a4a: 8d 47 70 lea 0x70(%edi),%eax 80103a4d: 6a 10 push $0x10 80103a4f: 53 push %ebx 80103a50: 50 push %eax 80103a51: e8 4a 0e 00 00 call 801048a0 <safestrcpy> pid = np->pid; 80103a56: 8b 5f 10 mov 0x10(%edi),%ebx acquire(&ptable.lock); 80103a59: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp) 80103a60: e8 4b 0b 00 00 call 801045b0 <acquire> np->state = RUNNABLE; 80103a65: c7 47 0c 03 00 00 00 movl $0x3,0xc(%edi) release(&ptable.lock); 80103a6c: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp) 80103a73: e8 f8 0b 00 00 call 80104670 <release> return pid; 80103a78: 83 c4 10 add $0x10,%esp } 80103a7b: 8d 65 f4 lea -0xc(%ebp),%esp 80103a7e: 89 d8 mov %ebx,%eax 80103a80: 5b pop %ebx 80103a81: 5e pop %esi 80103a82: 5f pop %edi 80103a83: 5d pop %ebp 80103a84: c3 ret return -1; 80103a85: bb ff ff ff ff mov $0xffffffff,%ebx 80103a8a: eb ef jmp 80103a7b <fork+0xdb> kfree(np->kstack); 80103a8c: 8b 5d e4 mov -0x1c(%ebp),%ebx 80103a8f: 83 ec 0c sub $0xc,%esp 80103a92: ff 73 08 pushl 0x8(%ebx) 80103a95: e8 86 e8 ff ff call 80102320 <kfree> np->kstack = 0; 80103a9a: c7 43 08 00 00 00 00 movl $0x0,0x8(%ebx) np->state = UNUSED; 80103aa1: c7 43 0c 00 00 00 00 movl $0x0,0xc(%ebx) return -1; 80103aa8: 83 c4 10 add $0x10,%esp 80103aab: bb ff ff ff ff mov $0xffffffff,%ebx 80103ab0: eb c9 jmp 80103a7b <fork+0xdb> 80103ab2: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 80103ab9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80103ac0 <scheduler>: { 80103ac0: 55 push %ebp 80103ac1: 89 e5 mov %esp,%ebp 80103ac3: 57 push %edi 80103ac4: 56 push %esi 80103ac5: 53 push %ebx 80103ac6: 83 ec 0c sub $0xc,%esp struct cpu *c = mycpu(); 80103ac9: e8 92 fc ff ff call 80103760 <mycpu> 80103ace: 8d 70 04 lea 0x4(%eax),%esi 80103ad1: 89 c3 mov %eax,%ebx c->proc = 0; 80103ad3: c7 80 ac 00 00 00 00 movl $0x0,0xac(%eax) 80103ada: 00 00 00 asm volatile("sti"); 80103add: fb sti acquire(&ptable.lock); 80103ade: 83 ec 0c sub $0xc,%esp 80103ae1: 68 20 2d 11 80 push $0x80112d20 80103ae6: e8 c5 0a 00 00 call 801045b0 <acquire> 80103aeb: 83 c4 10 add $0x10,%esp for(p = ptable.proc; p < &ptable.proc[NPROC]; p++){ 80103aee: ba 54 2d 11 80 mov $0x80112d54,%edx 80103af3: eb 15 jmp 80103b0a <scheduler+0x4a> 80103af5: 8d 76 00 lea 0x0(%esi),%esi 80103af8: 81 c2 8c 00 00 00 add $0x8c,%edx 80103afe: 81 fa 54 50 11 80 cmp $0x80115054,%edx 80103b04: 0f 83 98 00 00 00 jae 80103ba2 <scheduler+0xe2> if(p->state != RUNNABLE) 80103b0a: 83 7a 0c 03 cmpl $0x3,0xc(%edx) 80103b0e: 75 e8 jne 80103af8 <scheduler+0x38> struct proc *pHigh=0; 80103b10: 31 ff xor %edi,%edi for(p2=ptable.proc;p2<&ptable.proc[NPROC];p2++){ 80103b12: b8 54 2d 11 80 mov $0x80112d54,%eax 80103b17: 89 f6 mov %esi,%esi 80103b19: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi if(p2->state!=RUNNABLE) 80103b20: 83 78 0c 03 cmpl $0x3,0xc(%eax) 80103b24: 75 19 jne 80103b3f <scheduler+0x7f> if(pHigh->priority < p2->priority){//larger value, lower priority 80103b26: 8b 88 80 00 00 00 mov 0x80(%eax),%ecx 80103b2c: 39 8a 80 00 00 00 cmp %ecx,0x80(%edx) 80103b32: 89 d7 mov %edx,%edi 80103b34: 7d 09 jge 80103b3f <scheduler+0x7f> p2->extra_slice++; 80103b36: 83 80 88 00 00 00 01 addl $0x1,0x88(%eax) 80103b3d: 89 c7 mov %eax,%edi for(p2=ptable.proc;p2<&ptable.proc[NPROC];p2++){ 80103b3f: 05 8c 00 00 00 add $0x8c,%eax 80103b44: 3d 54 50 11 80 cmp $0x80115054,%eax 80103b49: 72 d5 jb 80103b20 <scheduler+0x60> switchuvm(p); 80103b4b: 83 ec 0c sub $0xc,%esp c->proc = p; 80103b4e: 89 bb ac 00 00 00 mov %edi,0xac(%ebx) switchuvm(p); 80103b54: 57 push %edi 80103b55: e8 46 30 00 00 call 80106ba0 <switchuvm> p->current_slice = p->extra_slice; 80103b5a: 8b 87 88 00 00 00 mov 0x88(%edi),%eax p->state = RUNNING; 80103b60: c7 47 0c 04 00 00 00 movl $0x4,0xc(%edi) p->current_slice = p->extra_slice; 80103b67: 89 87 84 00 00 00 mov %eax,0x84(%edi) swtch(&(c->scheduler), p->context); 80103b6d: 58 pop %eax 80103b6e: 5a pop %edx 80103b6f: ff 77 1c pushl 0x1c(%edi) 80103b72: 56 push %esi 80103b73: e8 83 0d 00 00 call 801048fb <swtch> p->csnum++;//1-(5) context switch count 80103b78: 83 47 20 01 addl $0x1,0x20(%edi) switchkvm(); 80103b7c: e8 ff 2f 00 00 call 80106b80 <switchkvm> c->proc = 0; 80103b81: 89 fa mov %edi,%edx 80103b83: 83 c4 10 add $0x10,%esp 80103b86: c7 83 ac 00 00 00 00 movl $0x0,0xac(%ebx) 80103b8d: 00 00 00 for(p = ptable.proc; p < &ptable.proc[NPROC]; p++){ 80103b90: 81 c2 8c 00 00 00 add $0x8c,%edx 80103b96: 81 fa 54 50 11 80 cmp $0x80115054,%edx 80103b9c: 0f 82 68 ff ff ff jb 80103b0a <scheduler+0x4a> release(&ptable.lock); 80103ba2: 83 ec 0c sub $0xc,%esp 80103ba5: 68 20 2d 11 80 push $0x80112d20 80103baa: e8 c1 0a 00 00 call 80104670 <release> sti(); 80103baf: 83 c4 10 add $0x10,%esp 80103bb2: e9 26 ff ff ff jmp 80103add <scheduler+0x1d> 80103bb7: 89 f6 mov %esi,%esi 80103bb9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80103bc0 <sched>: { 80103bc0: 55 push %ebp 80103bc1: 89 e5 mov %esp,%ebp 80103bc3: 56 push %esi 80103bc4: 53 push %ebx pushcli(); 80103bc5: e8 16 09 00 00 call 801044e0 <pushcli> c = mycpu(); 80103bca: e8 91 fb ff ff call 80103760 <mycpu> p = c->proc; 80103bcf: 8b 98 ac 00 00 00 mov 0xac(%eax),%ebx popcli(); 80103bd5: e8 46 09 00 00 call 80104520 <popcli> if(!holding(&ptable.lock)) 80103bda: 83 ec 0c sub $0xc,%esp 80103bdd: 68 20 2d 11 80 push $0x80112d20 80103be2: e8 99 09 00 00 call 80104580 <holding> 80103be7: 83 c4 10 add $0x10,%esp 80103bea: 85 c0 test %eax,%eax 80103bec: 74 4f je 80103c3d <sched+0x7d> if(mycpu()->ncli != 1) 80103bee: e8 6d fb ff ff call 80103760 <mycpu> 80103bf3: 83 b8 a4 00 00 00 01 cmpl $0x1,0xa4(%eax) 80103bfa: 75 68 jne 80103c64 <sched+0xa4> if(p->state == RUNNING) 80103bfc: 83 7b 0c 04 cmpl $0x4,0xc(%ebx) 80103c00: 74 55 je 80103c57 <sched+0x97> asm volatile("pushfl; popl %0" : "=r" (eflags)); 80103c02: 9c pushf 80103c03: 58 pop %eax if(readeflags()&FL_IF) 80103c04: f6 c4 02 test $0x2,%ah 80103c07: 75 41 jne 80103c4a <sched+0x8a> intena = mycpu()->intena; 80103c09: e8 52 fb ff ff call 80103760 <mycpu> swtch(&p->context, mycpu()->scheduler); 80103c0e: 83 c3 1c add $0x1c,%ebx intena = mycpu()->intena; 80103c11: 8b b0 a8 00 00 00 mov 0xa8(%eax),%esi swtch(&p->context, mycpu()->scheduler); 80103c17: e8 44 fb ff ff call 80103760 <mycpu> 80103c1c: 83 ec 08 sub $0x8,%esp 80103c1f: ff 70 04 pushl 0x4(%eax) 80103c22: 53 push %ebx 80103c23: e8 d3 0c 00 00 call 801048fb <swtch> mycpu()->intena = intena; 80103c28: e8 33 fb ff ff call 80103760 <mycpu> } 80103c2d: 83 c4 10 add $0x10,%esp mycpu()->intena = intena; 80103c30: 89 b0 a8 00 00 00 mov %esi,0xa8(%eax) } 80103c36: 8d 65 f8 lea -0x8(%ebp),%esp 80103c39: 5b pop %ebx 80103c3a: 5e pop %esi 80103c3b: 5d pop %ebp 80103c3c: c3 ret panic("sched ptable.lock"); 80103c3d: 83 ec 0c sub $0xc,%esp 80103c40: 68 10 78 10 80 push $0x80107810 80103c45: e8 46 c7 ff ff call 80100390 <panic> panic("sched interruptible"); 80103c4a: 83 ec 0c sub $0xc,%esp 80103c4d: 68 3c 78 10 80 push $0x8010783c 80103c52: e8 39 c7 ff ff call 80100390 <panic> panic("sched running"); 80103c57: 83 ec 0c sub $0xc,%esp 80103c5a: 68 2e 78 10 80 push $0x8010782e 80103c5f: e8 2c c7 ff ff call 80100390 <panic> panic("sched locks"); 80103c64: 83 ec 0c sub $0xc,%esp 80103c67: 68 22 78 10 80 push $0x80107822 80103c6c: e8 1f c7 ff ff call 80100390 <panic> 80103c71: eb 0d jmp 80103c80 <exit> 80103c73: 90 nop 80103c74: 90 nop 80103c75: 90 nop 80103c76: 90 nop 80103c77: 90 nop 80103c78: 90 nop 80103c79: 90 nop 80103c7a: 90 nop 80103c7b: 90 nop 80103c7c: 90 nop 80103c7d: 90 nop 80103c7e: 90 nop 80103c7f: 90 nop 80103c80 <exit>: { 80103c80: 55 push %ebp 80103c81: 89 e5 mov %esp,%ebp 80103c83: 57 push %edi 80103c84: 56 push %esi 80103c85: 53 push %ebx 80103c86: 83 ec 0c sub $0xc,%esp pushcli(); 80103c89: e8 52 08 00 00 call 801044e0 <pushcli> c = mycpu(); 80103c8e: e8 cd fa ff ff call 80103760 <mycpu> p = c->proc; 80103c93: 8b b0 ac 00 00 00 mov 0xac(%eax),%esi popcli(); 80103c99: e8 82 08 00 00 call 80104520 <popcli> if(curproc == initproc) 80103c9e: 39 35 b8 a5 10 80 cmp %esi,0x8010a5b8 80103ca4: 8d 5e 2c lea 0x2c(%esi),%ebx 80103ca7: 8d 7e 6c lea 0x6c(%esi),%edi 80103caa: 0f 84 f1 00 00 00 je 80103da1 <exit+0x121> if(curproc->ofile[fd]){ 80103cb0: 8b 03 mov (%ebx),%eax 80103cb2: 85 c0 test %eax,%eax 80103cb4: 74 12 je 80103cc8 <exit+0x48> fileclose(curproc->ofile[fd]); 80103cb6: 83 ec 0c sub $0xc,%esp 80103cb9: 50 push %eax 80103cba: e8 81 d1 ff ff call 80100e40 <fileclose> curproc->ofile[fd] = 0; 80103cbf: c7 03 00 00 00 00 movl $0x0,(%ebx) 80103cc5: 83 c4 10 add $0x10,%esp 80103cc8: 83 c3 04 add $0x4,%ebx for(fd = 0; fd < NOFILE; fd++){ 80103ccb: 39 fb cmp %edi,%ebx 80103ccd: 75 e1 jne 80103cb0 <exit+0x30> begin_op(); 80103ccf: e8 dc ee ff ff call 80102bb0 <begin_op> iput(curproc->cwd); 80103cd4: 83 ec 0c sub $0xc,%esp 80103cd7: ff 76 6c pushl 0x6c(%esi) 80103cda: e8 e1 da ff ff call 801017c0 <iput> end_op(); 80103cdf: e8 3c ef ff ff call 80102c20 <end_op> curproc->cwd = 0; 80103ce4: c7 46 6c 00 00 00 00 movl $0x0,0x6c(%esi) acquire(&ptable.lock); 80103ceb: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp) 80103cf2: e8 b9 08 00 00 call 801045b0 <acquire> wakeup1(curproc->parent); 80103cf7: 8b 56 14 mov 0x14(%esi),%edx 80103cfa: 83 c4 10 add $0x10,%esp static void wakeup1(void *chan) { struct proc *p; for(p = ptable.proc; p < &ptable.proc[NPROC]; p++) 80103cfd: b8 54 2d 11 80 mov $0x80112d54,%eax 80103d02: eb 10 jmp 80103d14 <exit+0x94> 80103d04: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80103d08: 05 8c 00 00 00 add $0x8c,%eax 80103d0d: 3d 54 50 11 80 cmp $0x80115054,%eax 80103d12: 73 1e jae 80103d32 <exit+0xb2> if(p->state == SLEEPING && p->chan == chan) 80103d14: 83 78 0c 02 cmpl $0x2,0xc(%eax) 80103d18: 75 ee jne 80103d08 <exit+0x88> 80103d1a: 3b 50 24 cmp 0x24(%eax),%edx 80103d1d: 75 e9 jne 80103d08 <exit+0x88> p->state = RUNNABLE; 80103d1f: c7 40 0c 03 00 00 00 movl $0x3,0xc(%eax) for(p = ptable.proc; p < &ptable.proc[NPROC]; p++) 80103d26: 05 8c 00 00 00 add $0x8c,%eax 80103d2b: 3d 54 50 11 80 cmp $0x80115054,%eax 80103d30: 72 e2 jb 80103d14 <exit+0x94> p->parent = initproc; 80103d32: 8b 0d b8 a5 10 80 mov 0x8010a5b8,%ecx for(p = ptable.proc; p < &ptable.proc[NPROC]; p++){ 80103d38: ba 54 2d 11 80 mov $0x80112d54,%edx 80103d3d: eb 0f jmp 80103d4e <exit+0xce> 80103d3f: 90 nop 80103d40: 81 c2 8c 00 00 00 add $0x8c,%edx 80103d46: 81 fa 54 50 11 80 cmp $0x80115054,%edx 80103d4c: 73 3a jae 80103d88 <exit+0x108> if(p->parent == curproc){ 80103d4e: 39 72 14 cmp %esi,0x14(%edx) 80103d51: 75 ed jne 80103d40 <exit+0xc0> if(p->state == ZOMBIE) 80103d53: 83 7a 0c 05 cmpl $0x5,0xc(%edx) p->parent = initproc; 80103d57: 89 4a 14 mov %ecx,0x14(%edx) if(p->state == ZOMBIE) 80103d5a: 75 e4 jne 80103d40 <exit+0xc0> for(p = ptable.proc; p < &ptable.proc[NPROC]; p++) 80103d5c: b8 54 2d 11 80 mov $0x80112d54,%eax 80103d61: eb 11 jmp 80103d74 <exit+0xf4> 80103d63: 90 nop 80103d64: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80103d68: 05 8c 00 00 00 add $0x8c,%eax 80103d6d: 3d 54 50 11 80 cmp $0x80115054,%eax 80103d72: 73 cc jae 80103d40 <exit+0xc0> if(p->state == SLEEPING && p->chan == chan) 80103d74: 83 78 0c 02 cmpl $0x2,0xc(%eax) 80103d78: 75 ee jne 80103d68 <exit+0xe8> 80103d7a: 3b 48 24 cmp 0x24(%eax),%ecx 80103d7d: 75 e9 jne 80103d68 <exit+0xe8> p->state = RUNNABLE; 80103d7f: c7 40 0c 03 00 00 00 movl $0x3,0xc(%eax) 80103d86: eb e0 jmp 80103d68 <exit+0xe8> curproc->state = ZOMBIE; 80103d88: c7 46 0c 05 00 00 00 movl $0x5,0xc(%esi) sched(); 80103d8f: e8 2c fe ff ff call 80103bc0 <sched> panic("zombie exit"); 80103d94: 83 ec 0c sub $0xc,%esp 80103d97: 68 5d 78 10 80 push $0x8010785d 80103d9c: e8 ef c5 ff ff call 80100390 <panic> panic("init exiting"); 80103da1: 83 ec 0c sub $0xc,%esp 80103da4: 68 50 78 10 80 push $0x80107850 80103da9: e8 e2 c5 ff ff call 80100390 <panic> 80103dae: 66 90 xchg %ax,%ax 80103db0 <yield>: { 80103db0: 55 push %ebp 80103db1: 89 e5 mov %esp,%ebp 80103db3: 53 push %ebx 80103db4: 83 ec 10 sub $0x10,%esp acquire(&ptable.lock); //DOC: yieldlock 80103db7: 68 20 2d 11 80 push $0x80112d20 80103dbc: e8 ef 07 00 00 call 801045b0 <acquire> pushcli(); 80103dc1: e8 1a 07 00 00 call 801044e0 <pushcli> c = mycpu(); 80103dc6: e8 95 f9 ff ff call 80103760 <mycpu> p = c->proc; 80103dcb: 8b 98 ac 00 00 00 mov 0xac(%eax),%ebx popcli(); 80103dd1: e8 4a 07 00 00 call 80104520 <popcli> myproc()->state = RUNNABLE; 80103dd6: c7 43 0c 03 00 00 00 movl $0x3,0xc(%ebx) sched(); 80103ddd: e8 de fd ff ff call 80103bc0 <sched> release(&ptable.lock); 80103de2: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp) 80103de9: e8 82 08 00 00 call 80104670 <release> } 80103dee: 83 c4 10 add $0x10,%esp 80103df1: 8b 5d fc mov -0x4(%ebp),%ebx 80103df4: c9 leave 80103df5: c3 ret 80103df6: 8d 76 00 lea 0x0(%esi),%esi 80103df9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80103e00 <sleep>: { 80103e00: 55 push %ebp 80103e01: 89 e5 mov %esp,%ebp 80103e03: 57 push %edi 80103e04: 56 push %esi 80103e05: 53 push %ebx 80103e06: 83 ec 0c sub $0xc,%esp 80103e09: 8b 7d 08 mov 0x8(%ebp),%edi 80103e0c: 8b 75 0c mov 0xc(%ebp),%esi pushcli(); 80103e0f: e8 cc 06 00 00 call 801044e0 <pushcli> c = mycpu(); 80103e14: e8 47 f9 ff ff call 80103760 <mycpu> p = c->proc; 80103e19: 8b 98 ac 00 00 00 mov 0xac(%eax),%ebx popcli(); 80103e1f: e8 fc 06 00 00 call 80104520 <popcli> if(p == 0) 80103e24: 85 db test %ebx,%ebx 80103e26: 0f 84 87 00 00 00 je 80103eb3 <sleep+0xb3> if(lk == 0) 80103e2c: 85 f6 test %esi,%esi 80103e2e: 74 76 je 80103ea6 <sleep+0xa6> if(lk != &ptable.lock){ //DOC: sleeplock0 80103e30: 81 fe 20 2d 11 80 cmp $0x80112d20,%esi 80103e36: 74 50 je 80103e88 <sleep+0x88> acquire(&ptable.lock); //DOC: sleeplock1 80103e38: 83 ec 0c sub $0xc,%esp 80103e3b: 68 20 2d 11 80 push $0x80112d20 80103e40: e8 6b 07 00 00 call 801045b0 <acquire> release(lk); 80103e45: 89 34 24 mov %esi,(%esp) 80103e48: e8 23 08 00 00 call 80104670 <release> p->chan = chan; 80103e4d: 89 7b 24 mov %edi,0x24(%ebx) p->state = SLEEPING; 80103e50: c7 43 0c 02 00 00 00 movl $0x2,0xc(%ebx) sched(); 80103e57: e8 64 fd ff ff call 80103bc0 <sched> p->chan = 0; 80103e5c: c7 43 24 00 00 00 00 movl $0x0,0x24(%ebx) release(&ptable.lock); 80103e63: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp) 80103e6a: e8 01 08 00 00 call 80104670 <release> acquire(lk); 80103e6f: 89 75 08 mov %esi,0x8(%ebp) 80103e72: 83 c4 10 add $0x10,%esp } 80103e75: 8d 65 f4 lea -0xc(%ebp),%esp 80103e78: 5b pop %ebx 80103e79: 5e pop %esi 80103e7a: 5f pop %edi 80103e7b: 5d pop %ebp acquire(lk); 80103e7c: e9 2f 07 00 00 jmp 801045b0 <acquire> 80103e81: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi p->chan = chan; 80103e88: 89 7b 24 mov %edi,0x24(%ebx) p->state = SLEEPING; 80103e8b: c7 43 0c 02 00 00 00 movl $0x2,0xc(%ebx) sched(); 80103e92: e8 29 fd ff ff call 80103bc0 <sched> p->chan = 0; 80103e97: c7 43 24 00 00 00 00 movl $0x0,0x24(%ebx) } 80103e9e: 8d 65 f4 lea -0xc(%ebp),%esp 80103ea1: 5b pop %ebx 80103ea2: 5e pop %esi 80103ea3: 5f pop %edi 80103ea4: 5d pop %ebp 80103ea5: c3 ret panic("sleep without lk"); 80103ea6: 83 ec 0c sub $0xc,%esp 80103ea9: 68 6f 78 10 80 push $0x8010786f 80103eae: e8 dd c4 ff ff call 80100390 <panic> panic("sleep"); 80103eb3: 83 ec 0c sub $0xc,%esp 80103eb6: 68 69 78 10 80 push $0x80107869 80103ebb: e8 d0 c4 ff ff call 80100390 <panic> 80103ec0 <wait>: { 80103ec0: 55 push %ebp 80103ec1: 89 e5 mov %esp,%ebp 80103ec3: 56 push %esi 80103ec4: 53 push %ebx pushcli(); 80103ec5: e8 16 06 00 00 call 801044e0 <pushcli> c = mycpu(); 80103eca: e8 91 f8 ff ff call 80103760 <mycpu> p = c->proc; 80103ecf: 8b b0 ac 00 00 00 mov 0xac(%eax),%esi popcli(); 80103ed5: e8 46 06 00 00 call 80104520 <popcli> acquire(&ptable.lock); 80103eda: 83 ec 0c sub $0xc,%esp 80103edd: 68 20 2d 11 80 push $0x80112d20 80103ee2: e8 c9 06 00 00 call 801045b0 <acquire> 80103ee7: 83 c4 10 add $0x10,%esp havekids = 0; 80103eea: 31 c0 xor %eax,%eax for(p = ptable.proc; p < &ptable.proc[NPROC]; p++){ 80103eec: bb 54 2d 11 80 mov $0x80112d54,%ebx 80103ef1: eb 13 jmp 80103f06 <wait+0x46> 80103ef3: 90 nop 80103ef4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80103ef8: 81 c3 8c 00 00 00 add $0x8c,%ebx 80103efe: 81 fb 54 50 11 80 cmp $0x80115054,%ebx 80103f04: 73 1e jae 80103f24 <wait+0x64> if(p->parent != curproc) 80103f06: 39 73 14 cmp %esi,0x14(%ebx) 80103f09: 75 ed jne 80103ef8 <wait+0x38> if(p->state == ZOMBIE){ 80103f0b: 83 7b 0c 05 cmpl $0x5,0xc(%ebx) 80103f0f: 74 37 je 80103f48 <wait+0x88> for(p = ptable.proc; p < &ptable.proc[NPROC]; p++){ 80103f11: 81 c3 8c 00 00 00 add $0x8c,%ebx havekids = 1; 80103f17: b8 01 00 00 00 mov $0x1,%eax for(p = ptable.proc; p < &ptable.proc[NPROC]; p++){ 80103f1c: 81 fb 54 50 11 80 cmp $0x80115054,%ebx 80103f22: 72 e2 jb 80103f06 <wait+0x46> if(!havekids || curproc->killed){ 80103f24: 85 c0 test %eax,%eax 80103f26: 74 76 je 80103f9e <wait+0xde> 80103f28: 8b 46 28 mov 0x28(%esi),%eax 80103f2b: 85 c0 test %eax,%eax 80103f2d: 75 6f jne 80103f9e <wait+0xde> sleep(curproc, &ptable.lock); //DOC: wait-sleep 80103f2f: 83 ec 08 sub $0x8,%esp 80103f32: 68 20 2d 11 80 push $0x80112d20 80103f37: 56 push %esi 80103f38: e8 c3 fe ff ff call 80103e00 <sleep> havekids = 0; 80103f3d: 83 c4 10 add $0x10,%esp 80103f40: eb a8 jmp 80103eea <wait+0x2a> 80103f42: 8d b6 00 00 00 00 lea 0x0(%esi),%esi kfree(p->kstack); 80103f48: 83 ec 0c sub $0xc,%esp 80103f4b: ff 73 08 pushl 0x8(%ebx) pid = p->pid; 80103f4e: 8b 73 10 mov 0x10(%ebx),%esi kfree(p->kstack); 80103f51: e8 ca e3 ff ff call 80102320 <kfree> freevm(p->pgdir); 80103f56: 5a pop %edx 80103f57: ff 73 04 pushl 0x4(%ebx) p->kstack = 0; 80103f5a: c7 43 08 00 00 00 00 movl $0x0,0x8(%ebx) freevm(p->pgdir); 80103f61: e8 ea 2f 00 00 call 80106f50 <freevm> release(&ptable.lock); 80103f66: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp) p->pid = 0; 80103f6d: c7 43 10 00 00 00 00 movl $0x0,0x10(%ebx) p->parent = 0; 80103f74: c7 43 14 00 00 00 00 movl $0x0,0x14(%ebx) p->name[0] = 0; 80103f7b: c6 43 70 00 movb $0x0,0x70(%ebx) p->killed = 0; 80103f7f: c7 43 28 00 00 00 00 movl $0x0,0x28(%ebx) p->state = UNUSED; 80103f86: c7 43 0c 00 00 00 00 movl $0x0,0xc(%ebx) release(&ptable.lock); 80103f8d: e8 de 06 00 00 call 80104670 <release> return pid; 80103f92: 83 c4 10 add $0x10,%esp } 80103f95: 8d 65 f8 lea -0x8(%ebp),%esp 80103f98: 89 f0 mov %esi,%eax 80103f9a: 5b pop %ebx 80103f9b: 5e pop %esi 80103f9c: 5d pop %ebp 80103f9d: c3 ret release(&ptable.lock); 80103f9e: 83 ec 0c sub $0xc,%esp return -1; 80103fa1: be ff ff ff ff mov $0xffffffff,%esi release(&ptable.lock); 80103fa6: 68 20 2d 11 80 push $0x80112d20 80103fab: e8 c0 06 00 00 call 80104670 <release> return -1; 80103fb0: 83 c4 10 add $0x10,%esp 80103fb3: eb e0 jmp 80103f95 <wait+0xd5> 80103fb5: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80103fb9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80103fc0 <wakeup>: } // Wake up all processes sleeping on chan. void wakeup(void *chan) { 80103fc0: 55 push %ebp 80103fc1: 89 e5 mov %esp,%ebp 80103fc3: 53 push %ebx 80103fc4: 83 ec 10 sub $0x10,%esp 80103fc7: 8b 5d 08 mov 0x8(%ebp),%ebx acquire(&ptable.lock); 80103fca: 68 20 2d 11 80 push $0x80112d20 80103fcf: e8 dc 05 00 00 call 801045b0 <acquire> 80103fd4: 83 c4 10 add $0x10,%esp for(p = ptable.proc; p < &ptable.proc[NPROC]; p++) 80103fd7: b8 54 2d 11 80 mov $0x80112d54,%eax 80103fdc: eb 0e jmp 80103fec <wakeup+0x2c> 80103fde: 66 90 xchg %ax,%ax 80103fe0: 05 8c 00 00 00 add $0x8c,%eax 80103fe5: 3d 54 50 11 80 cmp $0x80115054,%eax 80103fea: 73 1e jae 8010400a <wakeup+0x4a> if(p->state == SLEEPING && p->chan == chan) 80103fec: 83 78 0c 02 cmpl $0x2,0xc(%eax) 80103ff0: 75 ee jne 80103fe0 <wakeup+0x20> 80103ff2: 3b 58 24 cmp 0x24(%eax),%ebx 80103ff5: 75 e9 jne 80103fe0 <wakeup+0x20> p->state = RUNNABLE; 80103ff7: c7 40 0c 03 00 00 00 movl $0x3,0xc(%eax) for(p = ptable.proc; p < &ptable.proc[NPROC]; p++) 80103ffe: 05 8c 00 00 00 add $0x8c,%eax 80104003: 3d 54 50 11 80 cmp $0x80115054,%eax 80104008: 72 e2 jb 80103fec <wakeup+0x2c> wakeup1(chan); release(&ptable.lock); 8010400a: c7 45 08 20 2d 11 80 movl $0x80112d20,0x8(%ebp) } 80104011: 8b 5d fc mov -0x4(%ebp),%ebx 80104014: c9 leave release(&ptable.lock); 80104015: e9 56 06 00 00 jmp 80104670 <release> 8010401a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 80104020 <kill>: // Kill the process with the given pid. // Process won't exit until it returns // to user space (see trap in trap.c). int kill(int pid) { 80104020: 55 push %ebp 80104021: 89 e5 mov %esp,%ebp 80104023: 53 push %ebx 80104024: 83 ec 10 sub $0x10,%esp 80104027: 8b 5d 08 mov 0x8(%ebp),%ebx struct proc *p; acquire(&ptable.lock); 8010402a: 68 20 2d 11 80 push $0x80112d20 8010402f: e8 7c 05 00 00 call 801045b0 <acquire> 80104034: 83 c4 10 add $0x10,%esp for(p = ptable.proc; p < &ptable.proc[NPROC]; p++){ 80104037: b8 54 2d 11 80 mov $0x80112d54,%eax 8010403c: eb 0e jmp 8010404c <kill+0x2c> 8010403e: 66 90 xchg %ax,%ax 80104040: 05 8c 00 00 00 add $0x8c,%eax 80104045: 3d 54 50 11 80 cmp $0x80115054,%eax 8010404a: 73 34 jae 80104080 <kill+0x60> if(p->pid == pid){ 8010404c: 39 58 10 cmp %ebx,0x10(%eax) 8010404f: 75 ef jne 80104040 <kill+0x20> p->killed = 1; // Wake process from sleep if necessary. if(p->state == SLEEPING) 80104051: 83 78 0c 02 cmpl $0x2,0xc(%eax) p->killed = 1; 80104055: c7 40 28 01 00 00 00 movl $0x1,0x28(%eax) if(p->state == SLEEPING) 8010405c: 75 07 jne 80104065 <kill+0x45> p->state = RUNNABLE; 8010405e: c7 40 0c 03 00 00 00 movl $0x3,0xc(%eax) release(&ptable.lock); 80104065: 83 ec 0c sub $0xc,%esp 80104068: 68 20 2d 11 80 push $0x80112d20 8010406d: e8 fe 05 00 00 call 80104670 <release> return 0; 80104072: 83 c4 10 add $0x10,%esp 80104075: 31 c0 xor %eax,%eax } } release(&ptable.lock); return -1; } 80104077: 8b 5d fc mov -0x4(%ebp),%ebx 8010407a: c9 leave 8010407b: c3 ret 8010407c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi release(&ptable.lock); 80104080: 83 ec 0c sub $0xc,%esp 80104083: 68 20 2d 11 80 push $0x80112d20 80104088: e8 e3 05 00 00 call 80104670 <release> return -1; 8010408d: 83 c4 10 add $0x10,%esp 80104090: b8 ff ff ff ff mov $0xffffffff,%eax } 80104095: 8b 5d fc mov -0x4(%ebp),%ebx 80104098: c9 leave 80104099: c3 ret 8010409a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 801040a0 <procdump>: // Print a process listing to console. For debugging. // Runs when user types ^P on console. // No lock to avoid wedging a stuck machine further. void procdump(void) { 801040a0: 55 push %ebp 801040a1: 89 e5 mov %esp,%ebp 801040a3: 57 push %edi 801040a4: 56 push %esi 801040a5: 53 push %ebx 801040a6: 8d 75 e8 lea -0x18(%ebp),%esi int i; struct proc *p; char *state; uint pc[10]; for(p = ptable.proc; p < &ptable.proc[NPROC]; p++){ 801040a9: bb 54 2d 11 80 mov $0x80112d54,%ebx { 801040ae: 83 ec 3c sub $0x3c,%esp 801040b1: eb 27 jmp 801040da <procdump+0x3a> 801040b3: 90 nop 801040b4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi if(p->state == SLEEPING){ getcallerpcs((uint*)p->context->ebp+2, pc); for(i=0; i<10 && pc[i] != 0; i++) cprintf(" %p", pc[i]); } cprintf("\n"); 801040b8: 83 ec 0c sub $0xc,%esp 801040bb: 68 b3 7c 10 80 push $0x80107cb3 801040c0: e8 9b c5 ff ff call 80100660 <cprintf> 801040c5: 83 c4 10 add $0x10,%esp for(p = ptable.proc; p < &ptable.proc[NPROC]; p++){ 801040c8: 81 c3 8c 00 00 00 add $0x8c,%ebx 801040ce: 81 fb 54 50 11 80 cmp $0x80115054,%ebx 801040d4: 0f 83 86 00 00 00 jae 80104160 <procdump+0xc0> if(p->state == UNUSED) 801040da: 8b 43 0c mov 0xc(%ebx),%eax 801040dd: 85 c0 test %eax,%eax 801040df: 74 e7 je 801040c8 <procdump+0x28> if(p->state >= 0 && p->state < NELEM(states) && states[p->state]) 801040e1: 83 f8 05 cmp $0x5,%eax state = "???"; 801040e4: ba 80 78 10 80 mov $0x80107880,%edx if(p->state >= 0 && p->state < NELEM(states) && states[p->state]) 801040e9: 77 11 ja 801040fc <procdump+0x5c> 801040eb: 8b 14 85 00 79 10 80 mov -0x7fef8700(,%eax,4),%edx state = "???"; 801040f2: b8 80 78 10 80 mov $0x80107880,%eax 801040f7: 85 d2 test %edx,%edx 801040f9: 0f 44 d0 cmove %eax,%edx cprintf("%d %s %s", p->pid, state, p->name); 801040fc: 8d 43 70 lea 0x70(%ebx),%eax 801040ff: 50 push %eax 80104100: 52 push %edx 80104101: ff 73 10 pushl 0x10(%ebx) 80104104: 68 84 78 10 80 push $0x80107884 80104109: e8 52 c5 ff ff call 80100660 <cprintf> if(p->state == SLEEPING){ 8010410e: 83 c4 10 add $0x10,%esp 80104111: 83 7b 0c 02 cmpl $0x2,0xc(%ebx) 80104115: 75 a1 jne 801040b8 <procdump+0x18> getcallerpcs((uint*)p->context->ebp+2, pc); 80104117: 8d 45 c0 lea -0x40(%ebp),%eax 8010411a: 83 ec 08 sub $0x8,%esp 8010411d: 8d 7d c0 lea -0x40(%ebp),%edi 80104120: 50 push %eax 80104121: 8b 43 1c mov 0x1c(%ebx),%eax 80104124: 8b 40 0c mov 0xc(%eax),%eax 80104127: 83 c0 08 add $0x8,%eax 8010412a: 50 push %eax 8010412b: e8 60 03 00 00 call 80104490 <getcallerpcs> 80104130: 83 c4 10 add $0x10,%esp 80104133: 90 nop 80104134: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi for(i=0; i<10 && pc[i] != 0; i++) 80104138: 8b 17 mov (%edi),%edx 8010413a: 85 d2 test %edx,%edx 8010413c: 0f 84 76 ff ff ff je 801040b8 <procdump+0x18> cprintf(" %p", pc[i]); 80104142: 83 ec 08 sub $0x8,%esp 80104145: 83 c7 04 add $0x4,%edi 80104148: 52 push %edx 80104149: 68 c1 72 10 80 push $0x801072c1 8010414e: e8 0d c5 ff ff call 80100660 <cprintf> for(i=0; i<10 && pc[i] != 0; i++) 80104153: 83 c4 10 add $0x10,%esp 80104156: 39 fe cmp %edi,%esi 80104158: 75 de jne 80104138 <procdump+0x98> 8010415a: e9 59 ff ff ff jmp 801040b8 <procdump+0x18> 8010415f: 90 nop } } 80104160: 8d 65 f4 lea -0xc(%ebp),%esp 80104163: 5b pop %ebx 80104164: 5e pop %esi 80104165: 5f pop %edi 80104166: 5d pop %ebp 80104167: c3 ret 80104168: 90 nop 80104169: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 80104170 <getnumproc>: int getnumproc(void) { 80104170: 55 push %ebp 80104171: 89 e5 mov %esp,%ebp 80104173: 53 push %ebx struct proc *p; int count=0; 80104174: 31 db xor %ebx,%ebx { 80104176: 83 ec 10 sub $0x10,%esp acquire(&ptable.lock); 80104179: 68 20 2d 11 80 push $0x80112d20 8010417e: e8 2d 04 00 00 call 801045b0 <acquire> 80104183: 83 c4 10 add $0x10,%esp for(p = ptable.proc; p < &ptable.proc[NPROC]; p++) 80104186: ba 54 2d 11 80 mov $0x80112d54,%edx 8010418b: 90 nop 8010418c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi { if(p->state != UNUSED) count++; 80104190: 83 7a 0c 01 cmpl $0x1,0xc(%edx) 80104194: 83 db ff sbb $0xffffffff,%ebx for(p = ptable.proc; p < &ptable.proc[NPROC]; p++) 80104197: 81 c2 8c 00 00 00 add $0x8c,%edx 8010419d: 81 fa 54 50 11 80 cmp $0x80115054,%edx 801041a3: 72 eb jb 80104190 <getnumproc+0x20> } release(&ptable.lock); 801041a5: 83 ec 0c sub $0xc,%esp 801041a8: 68 20 2d 11 80 push $0x80112d20 801041ad: e8 be 04 00 00 call 80104670 <release> return count; } 801041b2: 89 d8 mov %ebx,%eax 801041b4: 8b 5d fc mov -0x4(%ebp),%ebx 801041b7: c9 leave 801041b8: c3 ret 801041b9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 801041c0 <getmaxpid>: int getmaxpid(void) { 801041c0: 55 push %ebp 801041c1: 89 e5 mov %esp,%ebp 801041c3: 53 push %ebx //struct uproc * table; struct proc *p; int i=0; int maxpid=0; 801041c4: 31 db xor %ebx,%ebx { 801041c6: 83 ec 10 sub $0x10,%esp acquire(&ptable.lock); 801041c9: 68 20 2d 11 80 push $0x80112d20 801041ce: e8 dd 03 00 00 call 801045b0 <acquire> 801041d3: 83 c4 10 add $0x10,%esp for(i=0,p=ptable.proc;p<&ptable.proc[NPROC];p++) 801041d6: ba 54 2d 11 80 mov $0x80112d54,%edx 801041db: 90 nop 801041dc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi { if(p->state != UNUSED){ 801041e0: 8b 42 0c mov 0xc(%edx),%eax 801041e3: 85 c0 test %eax,%eax 801041e5: 74 03 je 801041ea <getmaxpid+0x2a> maxpid = p->pid; 801041e7: 8b 5a 10 mov 0x10(%edx),%ebx for(i=0,p=ptable.proc;p<&ptable.proc[NPROC];p++) 801041ea: 81 c2 8c 00 00 00 add $0x8c,%edx 801041f0: 81 fa 54 50 11 80 cmp $0x80115054,%edx 801041f6: 72 e8 jb 801041e0 <getmaxpid+0x20> i++; } } release(&ptable.lock); 801041f8: 83 ec 0c sub $0xc,%esp 801041fb: 68 20 2d 11 80 push $0x80112d20 80104200: e8 6b 04 00 00 call 80104670 <release> return maxpid; } 80104205: 89 d8 mov %ebx,%eax 80104207: 8b 5d fc mov -0x4(%ebp),%ebx 8010420a: c9 leave 8010420b: c3 ret 8010420c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80104210 <getprocinfo>: int getprocinfo(int pid, struct processInfo *pI) { 80104210: 55 push %ebp 80104211: 89 e5 mov %esp,%ebp 80104213: 57 push %edi 80104214: 56 push %esi 80104215: 53 push %ebx struct proc *p; acquire(&ptable.lock); for(p=ptable.proc;p<&ptable.proc[NPROC];p++) 80104216: bb 54 2d 11 80 mov $0x80112d54,%ebx { 8010421b: 83 ec 18 sub $0x18,%esp 8010421e: 8b 75 0c mov 0xc(%ebp),%esi acquire(&ptable.lock); 80104221: 68 20 2d 11 80 push $0x80112d20 80104226: e8 85 03 00 00 call 801045b0 <acquire> 8010422b: 83 c4 10 add $0x10,%esp 8010422e: 66 90 xchg %ax,%ax { if(p->state != UNUSED){ 80104230: 8b 43 0c mov 0xc(%ebx),%eax 80104233: 85 c0 test %eax,%eax 80104235: 74 36 je 8010426d <getprocinfo+0x5d> pid=p->pid; pI->ppid = p->parent!=0? p->parent->pid : 0; 80104237: 8b 53 14 mov 0x14(%ebx),%edx 8010423a: 31 c0 xor %eax,%eax pid=p->pid; 8010423c: 8b 7b 10 mov 0x10(%ebx),%edi pI->ppid = p->parent!=0? p->parent->pid : 0; 8010423f: 85 d2 test %edx,%edx 80104241: 74 03 je 80104246 <getprocinfo+0x36> 80104243: 8b 42 10 mov 0x10(%edx),%eax 80104246: 89 06 mov %eax,(%esi) pI->psize = p->sz; 80104248: 8b 13 mov (%ebx),%edx pI->numberContextSwitches=p->csnum; cprintf("%d %d %d %d %d \n", pid, pI->ppid, pI->psize, pI->numberContextSwitches,p->priority); 8010424a: 83 ec 08 sub $0x8,%esp pI->psize = p->sz; 8010424d: 89 56 04 mov %edx,0x4(%esi) pI->numberContextSwitches=p->csnum; 80104250: 8b 4b 20 mov 0x20(%ebx),%ecx 80104253: 89 4e 08 mov %ecx,0x8(%esi) cprintf("%d %d %d %d %d \n", pid, pI->ppid, pI->psize, pI->numberContextSwitches,p->priority); 80104256: ff b3 80 00 00 00 pushl 0x80(%ebx) 8010425c: 51 push %ecx 8010425d: 52 push %edx 8010425e: 50 push %eax 8010425f: 57 push %edi 80104260: 68 e0 78 10 80 push $0x801078e0 80104265: e8 f6 c3 ff ff call 80100660 <cprintf> 8010426a: 83 c4 20 add $0x20,%esp for(p=ptable.proc;p<&ptable.proc[NPROC];p++) 8010426d: 81 c3 8c 00 00 00 add $0x8c,%ebx 80104273: 81 fb 54 50 11 80 cmp $0x80115054,%ebx 80104279: 72 b5 jb 80104230 <getprocinfo+0x20> } } release(&ptable.lock); 8010427b: 83 ec 0c sub $0xc,%esp 8010427e: 68 20 2d 11 80 push $0x80112d20 80104283: e8 e8 03 00 00 call 80104670 <release> return 0; } 80104288: 8d 65 f4 lea -0xc(%ebp),%esp 8010428b: 31 c0 xor %eax,%eax 8010428d: 5b pop %ebx 8010428e: 5e pop %esi 8010428f: 5f pop %edi 80104290: 5d pop %ebp 80104291: c3 ret 80104292: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 80104299: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 801042a0 <setprio>: int setprio(int newPrio) { 801042a0: 55 push %ebp 801042a1: 89 e5 mov %esp,%ebp 801042a3: 53 push %ebx 801042a4: 83 ec 04 sub $0x4,%esp pushcli(); 801042a7: e8 34 02 00 00 call 801044e0 <pushcli> c = mycpu(); 801042ac: e8 af f4 ff ff call 80103760 <mycpu> p = c->proc; 801042b1: 8b 98 ac 00 00 00 mov 0xac(%eax),%ebx popcli(); 801042b7: e8 64 02 00 00 call 80104520 <popcli> struct proc *p=myproc(); acquire(&ptable.lock); 801042bc: 83 ec 0c sub $0xc,%esp 801042bf: 68 20 2d 11 80 push $0x80112d20 801042c4: e8 e7 02 00 00 call 801045b0 <acquire> p->priority = newPrio; 801042c9: 8b 45 08 mov 0x8(%ebp),%eax 801042cc: 89 83 80 00 00 00 mov %eax,0x80(%ebx) //cprintf("---prio of %d: %d \n", p->pid, p->priority); release(&ptable.lock); 801042d2: c7 04 24 20 2d 11 80 movl $0x80112d20,(%esp) 801042d9: e8 92 03 00 00 call 80104670 <release> return 0; } 801042de: 31 c0 xor %eax,%eax 801042e0: 8b 5d fc mov -0x4(%ebp),%ebx 801042e3: c9 leave 801042e4: c3 ret 801042e5: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 801042e9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 801042f0 <getprio>: int getprio(void) { 801042f0: 55 push %ebp 801042f1: 89 e5 mov %esp,%ebp 801042f3: 53 push %ebx 801042f4: 83 ec 10 sub $0x10,%esp asm volatile("sti"); 801042f7: fb sti struct proc *p; sti(); acquire(&ptable.lock); 801042f8: 68 20 2d 11 80 push $0x80112d20 int priority=0; 801042fd: 31 db xor %ebx,%ebx acquire(&ptable.lock); 801042ff: e8 ac 02 00 00 call 801045b0 <acquire> 80104304: 83 c4 10 add $0x10,%esp for(p=ptable.proc;p<&ptable.proc[NPROC];p++) 80104307: ba 54 2d 11 80 mov $0x80112d54,%edx 8010430c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi { if(p->state != UNUSED){ 80104310: 8b 42 0c mov 0xc(%edx),%eax 80104313: 85 c0 test %eax,%eax 80104315: 74 06 je 8010431d <getprio+0x2d> priority=p->priority; 80104317: 8b 9a 80 00 00 00 mov 0x80(%edx),%ebx for(p=ptable.proc;p<&ptable.proc[NPROC];p++) 8010431d: 81 c2 8c 00 00 00 add $0x8c,%edx 80104323: 81 fa 54 50 11 80 cmp $0x80115054,%edx 80104329: 72 e5 jb 80104310 <getprio+0x20> } } release(&ptable.lock); 8010432b: 83 ec 0c sub $0xc,%esp 8010432e: 68 20 2d 11 80 push $0x80112d20 80104333: e8 38 03 00 00 call 80104670 <release> return priority; } 80104338: 89 d8 mov %ebx,%eax 8010433a: 8b 5d fc mov -0x4(%ebp),%ebx 8010433d: c9 leave 8010433e: c3 ret 8010433f: 90 nop 80104340 <initsleeplock>: #include "spinlock.h" #include "sleeplock.h" void initsleeplock(struct sleeplock *lk, char *name) { 80104340: 55 push %ebp 80104341: 89 e5 mov %esp,%ebp 80104343: 53 push %ebx 80104344: 83 ec 0c sub $0xc,%esp 80104347: 8b 5d 08 mov 0x8(%ebp),%ebx initlock(&lk->lk, "sleep lock"); 8010434a: 68 18 79 10 80 push $0x80107918 8010434f: 8d 43 04 lea 0x4(%ebx),%eax 80104352: 50 push %eax 80104353: e8 18 01 00 00 call 80104470 <initlock> lk->name = name; 80104358: 8b 45 0c mov 0xc(%ebp),%eax lk->locked = 0; 8010435b: c7 03 00 00 00 00 movl $0x0,(%ebx) lk->pid = 0; } 80104361: 83 c4 10 add $0x10,%esp lk->pid = 0; 80104364: c7 43 3c 00 00 00 00 movl $0x0,0x3c(%ebx) lk->name = name; 8010436b: 89 43 38 mov %eax,0x38(%ebx) } 8010436e: 8b 5d fc mov -0x4(%ebp),%ebx 80104371: c9 leave 80104372: c3 ret 80104373: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 80104379: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80104380 <acquiresleep>: void acquiresleep(struct sleeplock *lk) { 80104380: 55 push %ebp 80104381: 89 e5 mov %esp,%ebp 80104383: 56 push %esi 80104384: 53 push %ebx 80104385: 8b 5d 08 mov 0x8(%ebp),%ebx acquire(&lk->lk); 80104388: 83 ec 0c sub $0xc,%esp 8010438b: 8d 73 04 lea 0x4(%ebx),%esi 8010438e: 56 push %esi 8010438f: e8 1c 02 00 00 call 801045b0 <acquire> while (lk->locked) { 80104394: 8b 13 mov (%ebx),%edx 80104396: 83 c4 10 add $0x10,%esp 80104399: 85 d2 test %edx,%edx 8010439b: 74 16 je 801043b3 <acquiresleep+0x33> 8010439d: 8d 76 00 lea 0x0(%esi),%esi sleep(lk, &lk->lk); 801043a0: 83 ec 08 sub $0x8,%esp 801043a3: 56 push %esi 801043a4: 53 push %ebx 801043a5: e8 56 fa ff ff call 80103e00 <sleep> while (lk->locked) { 801043aa: 8b 03 mov (%ebx),%eax 801043ac: 83 c4 10 add $0x10,%esp 801043af: 85 c0 test %eax,%eax 801043b1: 75 ed jne 801043a0 <acquiresleep+0x20> } lk->locked = 1; 801043b3: c7 03 01 00 00 00 movl $0x1,(%ebx) lk->pid = myproc()->pid; 801043b9: e8 42 f4 ff ff call 80103800 <myproc> 801043be: 8b 40 10 mov 0x10(%eax),%eax 801043c1: 89 43 3c mov %eax,0x3c(%ebx) release(&lk->lk); 801043c4: 89 75 08 mov %esi,0x8(%ebp) } 801043c7: 8d 65 f8 lea -0x8(%ebp),%esp 801043ca: 5b pop %ebx 801043cb: 5e pop %esi 801043cc: 5d pop %ebp release(&lk->lk); 801043cd: e9 9e 02 00 00 jmp 80104670 <release> 801043d2: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 801043d9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 801043e0 <releasesleep>: void releasesleep(struct sleeplock *lk) { 801043e0: 55 push %ebp 801043e1: 89 e5 mov %esp,%ebp 801043e3: 56 push %esi 801043e4: 53 push %ebx 801043e5: 8b 5d 08 mov 0x8(%ebp),%ebx acquire(&lk->lk); 801043e8: 83 ec 0c sub $0xc,%esp 801043eb: 8d 73 04 lea 0x4(%ebx),%esi 801043ee: 56 push %esi 801043ef: e8 bc 01 00 00 call 801045b0 <acquire> lk->locked = 0; 801043f4: c7 03 00 00 00 00 movl $0x0,(%ebx) lk->pid = 0; 801043fa: c7 43 3c 00 00 00 00 movl $0x0,0x3c(%ebx) wakeup(lk); 80104401: 89 1c 24 mov %ebx,(%esp) 80104404: e8 b7 fb ff ff call 80103fc0 <wakeup> release(&lk->lk); 80104409: 89 75 08 mov %esi,0x8(%ebp) 8010440c: 83 c4 10 add $0x10,%esp } 8010440f: 8d 65 f8 lea -0x8(%ebp),%esp 80104412: 5b pop %ebx 80104413: 5e pop %esi 80104414: 5d pop %ebp release(&lk->lk); 80104415: e9 56 02 00 00 jmp 80104670 <release> 8010441a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 80104420 <holdingsleep>: int holdingsleep(struct sleeplock *lk) { 80104420: 55 push %ebp 80104421: 89 e5 mov %esp,%ebp 80104423: 57 push %edi 80104424: 56 push %esi 80104425: 53 push %ebx 80104426: 31 ff xor %edi,%edi 80104428: 83 ec 18 sub $0x18,%esp 8010442b: 8b 5d 08 mov 0x8(%ebp),%ebx int r; acquire(&lk->lk); 8010442e: 8d 73 04 lea 0x4(%ebx),%esi 80104431: 56 push %esi 80104432: e8 79 01 00 00 call 801045b0 <acquire> r = lk->locked && (lk->pid == myproc()->pid); 80104437: 8b 03 mov (%ebx),%eax 80104439: 83 c4 10 add $0x10,%esp 8010443c: 85 c0 test %eax,%eax 8010443e: 74 13 je 80104453 <holdingsleep+0x33> 80104440: 8b 5b 3c mov 0x3c(%ebx),%ebx 80104443: e8 b8 f3 ff ff call 80103800 <myproc> 80104448: 39 58 10 cmp %ebx,0x10(%eax) 8010444b: 0f 94 c0 sete %al 8010444e: 0f b6 c0 movzbl %al,%eax 80104451: 89 c7 mov %eax,%edi release(&lk->lk); 80104453: 83 ec 0c sub $0xc,%esp 80104456: 56 push %esi 80104457: e8 14 02 00 00 call 80104670 <release> return r; } 8010445c: 8d 65 f4 lea -0xc(%ebp),%esp 8010445f: 89 f8 mov %edi,%eax 80104461: 5b pop %ebx 80104462: 5e pop %esi 80104463: 5f pop %edi 80104464: 5d pop %ebp 80104465: c3 ret 80104466: 66 90 xchg %ax,%ax 80104468: 66 90 xchg %ax,%ax 8010446a: 66 90 xchg %ax,%ax 8010446c: 66 90 xchg %ax,%ax 8010446e: 66 90 xchg %ax,%ax 80104470 <initlock>: #include "proc.h" #include "spinlock.h" void initlock(struct spinlock *lk, char *name) { 80104470: 55 push %ebp 80104471: 89 e5 mov %esp,%ebp 80104473: 8b 45 08 mov 0x8(%ebp),%eax lk->name = name; 80104476: 8b 55 0c mov 0xc(%ebp),%edx lk->locked = 0; 80104479: c7 00 00 00 00 00 movl $0x0,(%eax) lk->name = name; 8010447f: 89 50 04 mov %edx,0x4(%eax) lk->cpu = 0; 80104482: c7 40 08 00 00 00 00 movl $0x0,0x8(%eax) } 80104489: 5d pop %ebp 8010448a: c3 ret 8010448b: 90 nop 8010448c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80104490 <getcallerpcs>: } // Record the current call stack in pcs[] by following the %ebp chain. void getcallerpcs(void *v, uint pcs[]) { 80104490: 55 push %ebp uint *ebp; int i; ebp = (uint*)v - 2; for(i = 0; i < 10; i++){ 80104491: 31 d2 xor %edx,%edx { 80104493: 89 e5 mov %esp,%ebp 80104495: 53 push %ebx ebp = (uint*)v - 2; 80104496: 8b 45 08 mov 0x8(%ebp),%eax { 80104499: 8b 4d 0c mov 0xc(%ebp),%ecx ebp = (uint*)v - 2; 8010449c: 83 e8 08 sub $0x8,%eax 8010449f: 90 nop if(ebp == 0 || ebp < (uint*)KERNBASE || ebp == (uint*)0xffffffff) 801044a0: 8d 98 00 00 00 80 lea -0x80000000(%eax),%ebx 801044a6: 81 fb fe ff ff 7f cmp $0x7ffffffe,%ebx 801044ac: 77 1a ja 801044c8 <getcallerpcs+0x38> break; pcs[i] = ebp[1]; // saved %eip 801044ae: 8b 58 04 mov 0x4(%eax),%ebx 801044b1: 89 1c 91 mov %ebx,(%ecx,%edx,4) for(i = 0; i < 10; i++){ 801044b4: 83 c2 01 add $0x1,%edx ebp = (uint*)ebp[0]; // saved %ebp 801044b7: 8b 00 mov (%eax),%eax for(i = 0; i < 10; i++){ 801044b9: 83 fa 0a cmp $0xa,%edx 801044bc: 75 e2 jne 801044a0 <getcallerpcs+0x10> } for(; i < 10; i++) pcs[i] = 0; } 801044be: 5b pop %ebx 801044bf: 5d pop %ebp 801044c0: c3 ret 801044c1: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 801044c8: 8d 04 91 lea (%ecx,%edx,4),%eax 801044cb: 83 c1 28 add $0x28,%ecx 801044ce: 66 90 xchg %ax,%ax pcs[i] = 0; 801044d0: c7 00 00 00 00 00 movl $0x0,(%eax) 801044d6: 83 c0 04 add $0x4,%eax for(; i < 10; i++) 801044d9: 39 c1 cmp %eax,%ecx 801044db: 75 f3 jne 801044d0 <getcallerpcs+0x40> } 801044dd: 5b pop %ebx 801044de: 5d pop %ebp 801044df: c3 ret 801044e0 <pushcli>: // it takes two popcli to undo two pushcli. Also, if interrupts // are off, then pushcli, popcli leaves them off. void pushcli(void) { 801044e0: 55 push %ebp 801044e1: 89 e5 mov %esp,%ebp 801044e3: 53 push %ebx 801044e4: 83 ec 04 sub $0x4,%esp asm volatile("pushfl; popl %0" : "=r" (eflags)); 801044e7: 9c pushf 801044e8: 5b pop %ebx asm volatile("cli"); 801044e9: fa cli int eflags; eflags = readeflags(); cli(); if(mycpu()->ncli == 0) 801044ea: e8 71 f2 ff ff call 80103760 <mycpu> 801044ef: 8b 80 a4 00 00 00 mov 0xa4(%eax),%eax 801044f5: 85 c0 test %eax,%eax 801044f7: 75 11 jne 8010450a <pushcli+0x2a> mycpu()->intena = eflags & FL_IF; 801044f9: 81 e3 00 02 00 00 and $0x200,%ebx 801044ff: e8 5c f2 ff ff call 80103760 <mycpu> 80104504: 89 98 a8 00 00 00 mov %ebx,0xa8(%eax) mycpu()->ncli += 1; 8010450a: e8 51 f2 ff ff call 80103760 <mycpu> 8010450f: 83 80 a4 00 00 00 01 addl $0x1,0xa4(%eax) } 80104516: 83 c4 04 add $0x4,%esp 80104519: 5b pop %ebx 8010451a: 5d pop %ebp 8010451b: c3 ret 8010451c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80104520 <popcli>: void popcli(void) { 80104520: 55 push %ebp 80104521: 89 e5 mov %esp,%ebp 80104523: 83 ec 08 sub $0x8,%esp asm volatile("pushfl; popl %0" : "=r" (eflags)); 80104526: 9c pushf 80104527: 58 pop %eax if(readeflags()&FL_IF) 80104528: f6 c4 02 test $0x2,%ah 8010452b: 75 35 jne 80104562 <popcli+0x42> panic("popcli - interruptible"); if(--mycpu()->ncli < 0) 8010452d: e8 2e f2 ff ff call 80103760 <mycpu> 80104532: 83 a8 a4 00 00 00 01 subl $0x1,0xa4(%eax) 80104539: 78 34 js 8010456f <popcli+0x4f> panic("popcli"); if(mycpu()->ncli == 0 && mycpu()->intena) 8010453b: e8 20 f2 ff ff call 80103760 <mycpu> 80104540: 8b 90 a4 00 00 00 mov 0xa4(%eax),%edx 80104546: 85 d2 test %edx,%edx 80104548: 74 06 je 80104550 <popcli+0x30> sti(); } 8010454a: c9 leave 8010454b: c3 ret 8010454c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi if(mycpu()->ncli == 0 && mycpu()->intena) 80104550: e8 0b f2 ff ff call 80103760 <mycpu> 80104555: 8b 80 a8 00 00 00 mov 0xa8(%eax),%eax 8010455b: 85 c0 test %eax,%eax 8010455d: 74 eb je 8010454a <popcli+0x2a> asm volatile("sti"); 8010455f: fb sti } 80104560: c9 leave 80104561: c3 ret panic("popcli - interruptible"); 80104562: 83 ec 0c sub $0xc,%esp 80104565: 68 23 79 10 80 push $0x80107923 8010456a: e8 21 be ff ff call 80100390 <panic> panic("popcli"); 8010456f: 83 ec 0c sub $0xc,%esp 80104572: 68 3a 79 10 80 push $0x8010793a 80104577: e8 14 be ff ff call 80100390 <panic> 8010457c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80104580 <holding>: { 80104580: 55 push %ebp 80104581: 89 e5 mov %esp,%ebp 80104583: 56 push %esi 80104584: 53 push %ebx 80104585: 8b 75 08 mov 0x8(%ebp),%esi 80104588: 31 db xor %ebx,%ebx pushcli(); 8010458a: e8 51 ff ff ff call 801044e0 <pushcli> r = lock->locked && lock->cpu == mycpu(); 8010458f: 8b 06 mov (%esi),%eax 80104591: 85 c0 test %eax,%eax 80104593: 74 10 je 801045a5 <holding+0x25> 80104595: 8b 5e 08 mov 0x8(%esi),%ebx 80104598: e8 c3 f1 ff ff call 80103760 <mycpu> 8010459d: 39 c3 cmp %eax,%ebx 8010459f: 0f 94 c3 sete %bl 801045a2: 0f b6 db movzbl %bl,%ebx popcli(); 801045a5: e8 76 ff ff ff call 80104520 <popcli> } 801045aa: 89 d8 mov %ebx,%eax 801045ac: 5b pop %ebx 801045ad: 5e pop %esi 801045ae: 5d pop %ebp 801045af: c3 ret 801045b0 <acquire>: { 801045b0: 55 push %ebp 801045b1: 89 e5 mov %esp,%ebp 801045b3: 56 push %esi 801045b4: 53 push %ebx pushcli(); // disable interrupts to avoid deadlock. 801045b5: e8 26 ff ff ff call 801044e0 <pushcli> if(holding(lk)) 801045ba: 8b 5d 08 mov 0x8(%ebp),%ebx 801045bd: 83 ec 0c sub $0xc,%esp 801045c0: 53 push %ebx 801045c1: e8 ba ff ff ff call 80104580 <holding> 801045c6: 83 c4 10 add $0x10,%esp 801045c9: 85 c0 test %eax,%eax 801045cb: 0f 85 83 00 00 00 jne 80104654 <acquire+0xa4> 801045d1: 89 c6 mov %eax,%esi asm volatile("lock; xchgl %0, %1" : 801045d3: ba 01 00 00 00 mov $0x1,%edx 801045d8: eb 09 jmp 801045e3 <acquire+0x33> 801045da: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 801045e0: 8b 5d 08 mov 0x8(%ebp),%ebx 801045e3: 89 d0 mov %edx,%eax 801045e5: f0 87 03 lock xchg %eax,(%ebx) while(xchg(&lk->locked, 1) != 0) 801045e8: 85 c0 test %eax,%eax 801045ea: 75 f4 jne 801045e0 <acquire+0x30> __sync_synchronize(); 801045ec: f0 83 0c 24 00 lock orl $0x0,(%esp) lk->cpu = mycpu(); 801045f1: 8b 5d 08 mov 0x8(%ebp),%ebx 801045f4: e8 67 f1 ff ff call 80103760 <mycpu> getcallerpcs(&lk, lk->pcs); 801045f9: 8d 53 0c lea 0xc(%ebx),%edx lk->cpu = mycpu(); 801045fc: 89 43 08 mov %eax,0x8(%ebx) ebp = (uint*)v - 2; 801045ff: 89 e8 mov %ebp,%eax 80104601: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi if(ebp == 0 || ebp < (uint*)KERNBASE || ebp == (uint*)0xffffffff) 80104608: 8d 88 00 00 00 80 lea -0x80000000(%eax),%ecx 8010460e: 81 f9 fe ff ff 7f cmp $0x7ffffffe,%ecx 80104614: 77 1a ja 80104630 <acquire+0x80> pcs[i] = ebp[1]; // saved %eip 80104616: 8b 48 04 mov 0x4(%eax),%ecx 80104619: 89 0c b2 mov %ecx,(%edx,%esi,4) for(i = 0; i < 10; i++){ 8010461c: 83 c6 01 add $0x1,%esi ebp = (uint*)ebp[0]; // saved %ebp 8010461f: 8b 00 mov (%eax),%eax for(i = 0; i < 10; i++){ 80104621: 83 fe 0a cmp $0xa,%esi 80104624: 75 e2 jne 80104608 <acquire+0x58> } 80104626: 8d 65 f8 lea -0x8(%ebp),%esp 80104629: 5b pop %ebx 8010462a: 5e pop %esi 8010462b: 5d pop %ebp 8010462c: c3 ret 8010462d: 8d 76 00 lea 0x0(%esi),%esi 80104630: 8d 04 b2 lea (%edx,%esi,4),%eax 80104633: 83 c2 28 add $0x28,%edx 80104636: 8d 76 00 lea 0x0(%esi),%esi 80104639: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi pcs[i] = 0; 80104640: c7 00 00 00 00 00 movl $0x0,(%eax) 80104646: 83 c0 04 add $0x4,%eax for(; i < 10; i++) 80104649: 39 d0 cmp %edx,%eax 8010464b: 75 f3 jne 80104640 <acquire+0x90> } 8010464d: 8d 65 f8 lea -0x8(%ebp),%esp 80104650: 5b pop %ebx 80104651: 5e pop %esi 80104652: 5d pop %ebp 80104653: c3 ret panic("acquire"); 80104654: 83 ec 0c sub $0xc,%esp 80104657: 68 41 79 10 80 push $0x80107941 8010465c: e8 2f bd ff ff call 80100390 <panic> 80104661: eb 0d jmp 80104670 <release> 80104663: 90 nop 80104664: 90 nop 80104665: 90 nop 80104666: 90 nop 80104667: 90 nop 80104668: 90 nop 80104669: 90 nop 8010466a: 90 nop 8010466b: 90 nop 8010466c: 90 nop 8010466d: 90 nop 8010466e: 90 nop 8010466f: 90 nop 80104670 <release>: { 80104670: 55 push %ebp 80104671: 89 e5 mov %esp,%ebp 80104673: 53 push %ebx 80104674: 83 ec 10 sub $0x10,%esp 80104677: 8b 5d 08 mov 0x8(%ebp),%ebx if(!holding(lk)) 8010467a: 53 push %ebx 8010467b: e8 00 ff ff ff call 80104580 <holding> 80104680: 83 c4 10 add $0x10,%esp 80104683: 85 c0 test %eax,%eax 80104685: 74 22 je 801046a9 <release+0x39> lk->pcs[0] = 0; 80104687: c7 43 0c 00 00 00 00 movl $0x0,0xc(%ebx) lk->cpu = 0; 8010468e: c7 43 08 00 00 00 00 movl $0x0,0x8(%ebx) __sync_synchronize(); 80104695: f0 83 0c 24 00 lock orl $0x0,(%esp) asm volatile("movl $0, %0" : "+m" (lk->locked) : ); 8010469a: c7 03 00 00 00 00 movl $0x0,(%ebx) } 801046a0: 8b 5d fc mov -0x4(%ebp),%ebx 801046a3: c9 leave popcli(); 801046a4: e9 77 fe ff ff jmp 80104520 <popcli> panic("release"); 801046a9: 83 ec 0c sub $0xc,%esp 801046ac: 68 49 79 10 80 push $0x80107949 801046b1: e8 da bc ff ff call 80100390 <panic> 801046b6: 66 90 xchg %ax,%ax 801046b8: 66 90 xchg %ax,%ax 801046ba: 66 90 xchg %ax,%ax 801046bc: 66 90 xchg %ax,%ax 801046be: 66 90 xchg %ax,%ax 801046c0 <memset>: #include "types.h" #include "x86.h" void* memset(void *dst, int c, uint n) { 801046c0: 55 push %ebp 801046c1: 89 e5 mov %esp,%ebp 801046c3: 57 push %edi 801046c4: 53 push %ebx 801046c5: 8b 55 08 mov 0x8(%ebp),%edx 801046c8: 8b 4d 10 mov 0x10(%ebp),%ecx if ((int)dst%4 == 0 && n%4 == 0){ 801046cb: f6 c2 03 test $0x3,%dl 801046ce: 75 05 jne 801046d5 <memset+0x15> 801046d0: f6 c1 03 test $0x3,%cl 801046d3: 74 13 je 801046e8 <memset+0x28> } static inline void stosb(void *addr, int data, int cnt) { asm volatile("cld; rep stosb" : 801046d5: 89 d7 mov %edx,%edi 801046d7: 8b 45 0c mov 0xc(%ebp),%eax 801046da: fc cld 801046db: f3 aa rep stos %al,%es:(%edi) c &= 0xFF; stosl(dst, (c<<24)|(c<<16)|(c<<8)|c, n/4); } else stosb(dst, c, n); return dst; } 801046dd: 5b pop %ebx 801046de: 89 d0 mov %edx,%eax 801046e0: 5f pop %edi 801046e1: 5d pop %ebp 801046e2: c3 ret 801046e3: 90 nop 801046e4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi c &= 0xFF; 801046e8: 0f b6 7d 0c movzbl 0xc(%ebp),%edi stosl(dst, (c<<24)|(c<<16)|(c<<8)|c, n/4); 801046ec: c1 e9 02 shr $0x2,%ecx 801046ef: 89 f8 mov %edi,%eax 801046f1: 89 fb mov %edi,%ebx 801046f3: c1 e0 18 shl $0x18,%eax 801046f6: c1 e3 10 shl $0x10,%ebx 801046f9: 09 d8 or %ebx,%eax 801046fb: 09 f8 or %edi,%eax 801046fd: c1 e7 08 shl $0x8,%edi 80104700: 09 f8 or %edi,%eax } static inline void stosl(void *addr, int data, int cnt) { asm volatile("cld; rep stosl" : 80104702: 89 d7 mov %edx,%edi 80104704: fc cld 80104705: f3 ab rep stos %eax,%es:(%edi) } 80104707: 5b pop %ebx 80104708: 89 d0 mov %edx,%eax 8010470a: 5f pop %edi 8010470b: 5d pop %ebp 8010470c: c3 ret 8010470d: 8d 76 00 lea 0x0(%esi),%esi 80104710 <memcmp>: int memcmp(const void *v1, const void *v2, uint n) { 80104710: 55 push %ebp 80104711: 89 e5 mov %esp,%ebp 80104713: 57 push %edi 80104714: 56 push %esi 80104715: 53 push %ebx 80104716: 8b 5d 10 mov 0x10(%ebp),%ebx 80104719: 8b 75 08 mov 0x8(%ebp),%esi 8010471c: 8b 7d 0c mov 0xc(%ebp),%edi const uchar *s1, *s2; s1 = v1; s2 = v2; while(n-- > 0){ 8010471f: 85 db test %ebx,%ebx 80104721: 74 29 je 8010474c <memcmp+0x3c> if(*s1 != *s2) 80104723: 0f b6 16 movzbl (%esi),%edx 80104726: 0f b6 0f movzbl (%edi),%ecx 80104729: 38 d1 cmp %dl,%cl 8010472b: 75 2b jne 80104758 <memcmp+0x48> 8010472d: b8 01 00 00 00 mov $0x1,%eax 80104732: eb 14 jmp 80104748 <memcmp+0x38> 80104734: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80104738: 0f b6 14 06 movzbl (%esi,%eax,1),%edx 8010473c: 83 c0 01 add $0x1,%eax 8010473f: 0f b6 4c 07 ff movzbl -0x1(%edi,%eax,1),%ecx 80104744: 38 ca cmp %cl,%dl 80104746: 75 10 jne 80104758 <memcmp+0x48> while(n-- > 0){ 80104748: 39 d8 cmp %ebx,%eax 8010474a: 75 ec jne 80104738 <memcmp+0x28> return *s1 - *s2; s1++, s2++; } return 0; } 8010474c: 5b pop %ebx return 0; 8010474d: 31 c0 xor %eax,%eax } 8010474f: 5e pop %esi 80104750: 5f pop %edi 80104751: 5d pop %ebp 80104752: c3 ret 80104753: 90 nop 80104754: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi return *s1 - *s2; 80104758: 0f b6 c2 movzbl %dl,%eax } 8010475b: 5b pop %ebx return *s1 - *s2; 8010475c: 29 c8 sub %ecx,%eax } 8010475e: 5e pop %esi 8010475f: 5f pop %edi 80104760: 5d pop %ebp 80104761: c3 ret 80104762: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 80104769: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80104770 <memmove>: void* memmove(void *dst, const void *src, uint n) { 80104770: 55 push %ebp 80104771: 89 e5 mov %esp,%ebp 80104773: 56 push %esi 80104774: 53 push %ebx 80104775: 8b 45 08 mov 0x8(%ebp),%eax 80104778: 8b 5d 0c mov 0xc(%ebp),%ebx 8010477b: 8b 75 10 mov 0x10(%ebp),%esi const char *s; char *d; s = src; d = dst; if(s < d && s + n > d){ 8010477e: 39 c3 cmp %eax,%ebx 80104780: 73 26 jae 801047a8 <memmove+0x38> 80104782: 8d 0c 33 lea (%ebx,%esi,1),%ecx 80104785: 39 c8 cmp %ecx,%eax 80104787: 73 1f jae 801047a8 <memmove+0x38> s += n; d += n; while(n-- > 0) 80104789: 85 f6 test %esi,%esi 8010478b: 8d 56 ff lea -0x1(%esi),%edx 8010478e: 74 0f je 8010479f <memmove+0x2f> *--d = *--s; 80104790: 0f b6 0c 13 movzbl (%ebx,%edx,1),%ecx 80104794: 88 0c 10 mov %cl,(%eax,%edx,1) while(n-- > 0) 80104797: 83 ea 01 sub $0x1,%edx 8010479a: 83 fa ff cmp $0xffffffff,%edx 8010479d: 75 f1 jne 80104790 <memmove+0x20> } else while(n-- > 0) *d++ = *s++; return dst; } 8010479f: 5b pop %ebx 801047a0: 5e pop %esi 801047a1: 5d pop %ebp 801047a2: c3 ret 801047a3: 90 nop 801047a4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi while(n-- > 0) 801047a8: 31 d2 xor %edx,%edx 801047aa: 85 f6 test %esi,%esi 801047ac: 74 f1 je 8010479f <memmove+0x2f> 801047ae: 66 90 xchg %ax,%ax *d++ = *s++; 801047b0: 0f b6 0c 13 movzbl (%ebx,%edx,1),%ecx 801047b4: 88 0c 10 mov %cl,(%eax,%edx,1) 801047b7: 83 c2 01 add $0x1,%edx while(n-- > 0) 801047ba: 39 d6 cmp %edx,%esi 801047bc: 75 f2 jne 801047b0 <memmove+0x40> } 801047be: 5b pop %ebx 801047bf: 5e pop %esi 801047c0: 5d pop %ebp 801047c1: c3 ret 801047c2: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 801047c9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 801047d0 <memcpy>: // memcpy exists to placate GCC. Use memmove. void* memcpy(void *dst, const void *src, uint n) { 801047d0: 55 push %ebp 801047d1: 89 e5 mov %esp,%ebp return memmove(dst, src, n); } 801047d3: 5d pop %ebp return memmove(dst, src, n); 801047d4: eb 9a jmp 80104770 <memmove> 801047d6: 8d 76 00 lea 0x0(%esi),%esi 801047d9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 801047e0 <strncmp>: int strncmp(const char *p, const char *q, uint n) { 801047e0: 55 push %ebp 801047e1: 89 e5 mov %esp,%ebp 801047e3: 57 push %edi 801047e4: 56 push %esi 801047e5: 8b 7d 10 mov 0x10(%ebp),%edi 801047e8: 53 push %ebx 801047e9: 8b 4d 08 mov 0x8(%ebp),%ecx 801047ec: 8b 75 0c mov 0xc(%ebp),%esi while(n > 0 && *p && *p == *q) 801047ef: 85 ff test %edi,%edi 801047f1: 74 2f je 80104822 <strncmp+0x42> 801047f3: 0f b6 01 movzbl (%ecx),%eax 801047f6: 0f b6 1e movzbl (%esi),%ebx 801047f9: 84 c0 test %al,%al 801047fb: 74 37 je 80104834 <strncmp+0x54> 801047fd: 38 c3 cmp %al,%bl 801047ff: 75 33 jne 80104834 <strncmp+0x54> 80104801: 01 f7 add %esi,%edi 80104803: eb 13 jmp 80104818 <strncmp+0x38> 80104805: 8d 76 00 lea 0x0(%esi),%esi 80104808: 0f b6 01 movzbl (%ecx),%eax 8010480b: 84 c0 test %al,%al 8010480d: 74 21 je 80104830 <strncmp+0x50> 8010480f: 0f b6 1a movzbl (%edx),%ebx 80104812: 89 d6 mov %edx,%esi 80104814: 38 d8 cmp %bl,%al 80104816: 75 1c jne 80104834 <strncmp+0x54> n--, p++, q++; 80104818: 8d 56 01 lea 0x1(%esi),%edx 8010481b: 83 c1 01 add $0x1,%ecx while(n > 0 && *p && *p == *q) 8010481e: 39 fa cmp %edi,%edx 80104820: 75 e6 jne 80104808 <strncmp+0x28> if(n == 0) return 0; return (uchar)*p - (uchar)*q; } 80104822: 5b pop %ebx return 0; 80104823: 31 c0 xor %eax,%eax } 80104825: 5e pop %esi 80104826: 5f pop %edi 80104827: 5d pop %ebp 80104828: c3 ret 80104829: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 80104830: 0f b6 5e 01 movzbl 0x1(%esi),%ebx return (uchar)*p - (uchar)*q; 80104834: 29 d8 sub %ebx,%eax } 80104836: 5b pop %ebx 80104837: 5e pop %esi 80104838: 5f pop %edi 80104839: 5d pop %ebp 8010483a: c3 ret 8010483b: 90 nop 8010483c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80104840 <strncpy>: char* strncpy(char *s, const char *t, int n) { 80104840: 55 push %ebp 80104841: 89 e5 mov %esp,%ebp 80104843: 56 push %esi 80104844: 53 push %ebx 80104845: 8b 45 08 mov 0x8(%ebp),%eax 80104848: 8b 5d 0c mov 0xc(%ebp),%ebx 8010484b: 8b 4d 10 mov 0x10(%ebp),%ecx char *os; os = s; while(n-- > 0 && (*s++ = *t++) != 0) 8010484e: 89 c2 mov %eax,%edx 80104850: eb 19 jmp 8010486b <strncpy+0x2b> 80104852: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 80104858: 83 c3 01 add $0x1,%ebx 8010485b: 0f b6 4b ff movzbl -0x1(%ebx),%ecx 8010485f: 83 c2 01 add $0x1,%edx 80104862: 84 c9 test %cl,%cl 80104864: 88 4a ff mov %cl,-0x1(%edx) 80104867: 74 09 je 80104872 <strncpy+0x32> 80104869: 89 f1 mov %esi,%ecx 8010486b: 85 c9 test %ecx,%ecx 8010486d: 8d 71 ff lea -0x1(%ecx),%esi 80104870: 7f e6 jg 80104858 <strncpy+0x18> ; while(n-- > 0) 80104872: 31 c9 xor %ecx,%ecx 80104874: 85 f6 test %esi,%esi 80104876: 7e 17 jle 8010488f <strncpy+0x4f> 80104878: 90 nop 80104879: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi *s++ = 0; 80104880: c6 04 0a 00 movb $0x0,(%edx,%ecx,1) 80104884: 89 f3 mov %esi,%ebx 80104886: 83 c1 01 add $0x1,%ecx 80104889: 29 cb sub %ecx,%ebx while(n-- > 0) 8010488b: 85 db test %ebx,%ebx 8010488d: 7f f1 jg 80104880 <strncpy+0x40> return os; } 8010488f: 5b pop %ebx 80104890: 5e pop %esi 80104891: 5d pop %ebp 80104892: c3 ret 80104893: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 80104899: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 801048a0 <safestrcpy>: // Like strncpy but guaranteed to NUL-terminate. char* safestrcpy(char *s, const char *t, int n) { 801048a0: 55 push %ebp 801048a1: 89 e5 mov %esp,%ebp 801048a3: 56 push %esi 801048a4: 53 push %ebx 801048a5: 8b 4d 10 mov 0x10(%ebp),%ecx 801048a8: 8b 45 08 mov 0x8(%ebp),%eax 801048ab: 8b 55 0c mov 0xc(%ebp),%edx char *os; os = s; if(n <= 0) 801048ae: 85 c9 test %ecx,%ecx 801048b0: 7e 26 jle 801048d8 <safestrcpy+0x38> 801048b2: 8d 74 0a ff lea -0x1(%edx,%ecx,1),%esi 801048b6: 89 c1 mov %eax,%ecx 801048b8: eb 17 jmp 801048d1 <safestrcpy+0x31> 801048ba: 8d b6 00 00 00 00 lea 0x0(%esi),%esi return os; while(--n > 0 && (*s++ = *t++) != 0) 801048c0: 83 c2 01 add $0x1,%edx 801048c3: 0f b6 5a ff movzbl -0x1(%edx),%ebx 801048c7: 83 c1 01 add $0x1,%ecx 801048ca: 84 db test %bl,%bl 801048cc: 88 59 ff mov %bl,-0x1(%ecx) 801048cf: 74 04 je 801048d5 <safestrcpy+0x35> 801048d1: 39 f2 cmp %esi,%edx 801048d3: 75 eb jne 801048c0 <safestrcpy+0x20> ; *s = 0; 801048d5: c6 01 00 movb $0x0,(%ecx) return os; } 801048d8: 5b pop %ebx 801048d9: 5e pop %esi 801048da: 5d pop %ebp 801048db: c3 ret 801048dc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 801048e0 <strlen>: int strlen(const char *s) { 801048e0: 55 push %ebp int n; for(n = 0; s[n]; n++) 801048e1: 31 c0 xor %eax,%eax { 801048e3: 89 e5 mov %esp,%ebp 801048e5: 8b 55 08 mov 0x8(%ebp),%edx for(n = 0; s[n]; n++) 801048e8: 80 3a 00 cmpb $0x0,(%edx) 801048eb: 74 0c je 801048f9 <strlen+0x19> 801048ed: 8d 76 00 lea 0x0(%esi),%esi 801048f0: 83 c0 01 add $0x1,%eax 801048f3: 80 3c 02 00 cmpb $0x0,(%edx,%eax,1) 801048f7: 75 f7 jne 801048f0 <strlen+0x10> ; return n; } 801048f9: 5d pop %ebp 801048fa: c3 ret 801048fb <swtch>: # a struct context, and save its address in *old. # Switch stacks to new and pop previously-saved registers. .globl swtch swtch: movl 4(%esp), %eax 801048fb: 8b 44 24 04 mov 0x4(%esp),%eax movl 8(%esp), %edx 801048ff: 8b 54 24 08 mov 0x8(%esp),%edx # Save old callee-saved registers pushl %ebp 80104903: 55 push %ebp pushl %ebx 80104904: 53 push %ebx pushl %esi 80104905: 56 push %esi pushl %edi 80104906: 57 push %edi # Switch stacks movl %esp, (%eax) 80104907: 89 20 mov %esp,(%eax) movl %edx, %esp 80104909: 89 d4 mov %edx,%esp # Load new callee-saved registers popl %edi 8010490b: 5f pop %edi popl %esi 8010490c: 5e pop %esi popl %ebx 8010490d: 5b pop %ebx popl %ebp 8010490e: 5d pop %ebp ret 8010490f: c3 ret 80104910 <fetchint>: // to a saved program counter, and then the first argument. // Fetch the int at addr from the current process. int fetchint(uint addr, int *ip) { 80104910: 55 push %ebp 80104911: 89 e5 mov %esp,%ebp 80104913: 53 push %ebx 80104914: 83 ec 04 sub $0x4,%esp 80104917: 8b 5d 08 mov 0x8(%ebp),%ebx struct proc *curproc = myproc(); 8010491a: e8 e1 ee ff ff call 80103800 <myproc> if(addr >= curproc->sz || addr+4 > curproc->sz) 8010491f: 8b 00 mov (%eax),%eax 80104921: 39 d8 cmp %ebx,%eax 80104923: 76 1b jbe 80104940 <fetchint+0x30> 80104925: 8d 53 04 lea 0x4(%ebx),%edx 80104928: 39 d0 cmp %edx,%eax 8010492a: 72 14 jb 80104940 <fetchint+0x30> return -1; *ip = *(int*)(addr); 8010492c: 8b 45 0c mov 0xc(%ebp),%eax 8010492f: 8b 13 mov (%ebx),%edx 80104931: 89 10 mov %edx,(%eax) return 0; 80104933: 31 c0 xor %eax,%eax } 80104935: 83 c4 04 add $0x4,%esp 80104938: 5b pop %ebx 80104939: 5d pop %ebp 8010493a: c3 ret 8010493b: 90 nop 8010493c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi return -1; 80104940: b8 ff ff ff ff mov $0xffffffff,%eax 80104945: eb ee jmp 80104935 <fetchint+0x25> 80104947: 89 f6 mov %esi,%esi 80104949: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80104950 <fetchstr>: // Fetch the nul-terminated string at addr from the current process. // Doesn't actually copy the string - just sets *pp to point at it. // Returns length of string, not including nul. int fetchstr(uint addr, char **pp) { 80104950: 55 push %ebp 80104951: 89 e5 mov %esp,%ebp 80104953: 53 push %ebx 80104954: 83 ec 04 sub $0x4,%esp 80104957: 8b 5d 08 mov 0x8(%ebp),%ebx char *s, *ep; struct proc *curproc = myproc(); 8010495a: e8 a1 ee ff ff call 80103800 <myproc> if(addr >= curproc->sz) 8010495f: 39 18 cmp %ebx,(%eax) 80104961: 76 29 jbe 8010498c <fetchstr+0x3c> return -1; *pp = (char*)addr; 80104963: 8b 4d 0c mov 0xc(%ebp),%ecx 80104966: 89 da mov %ebx,%edx 80104968: 89 19 mov %ebx,(%ecx) ep = (char*)curproc->sz; 8010496a: 8b 00 mov (%eax),%eax for(s = *pp; s < ep; s++){ 8010496c: 39 c3 cmp %eax,%ebx 8010496e: 73 1c jae 8010498c <fetchstr+0x3c> if(*s == 0) 80104970: 80 3b 00 cmpb $0x0,(%ebx) 80104973: 75 10 jne 80104985 <fetchstr+0x35> 80104975: eb 39 jmp 801049b0 <fetchstr+0x60> 80104977: 89 f6 mov %esi,%esi 80104979: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80104980: 80 3a 00 cmpb $0x0,(%edx) 80104983: 74 1b je 801049a0 <fetchstr+0x50> for(s = *pp; s < ep; s++){ 80104985: 83 c2 01 add $0x1,%edx 80104988: 39 d0 cmp %edx,%eax 8010498a: 77 f4 ja 80104980 <fetchstr+0x30> return -1; 8010498c: b8 ff ff ff ff mov $0xffffffff,%eax return s - *pp; } return -1; } 80104991: 83 c4 04 add $0x4,%esp 80104994: 5b pop %ebx 80104995: 5d pop %ebp 80104996: c3 ret 80104997: 89 f6 mov %esi,%esi 80104999: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 801049a0: 83 c4 04 add $0x4,%esp 801049a3: 89 d0 mov %edx,%eax 801049a5: 29 d8 sub %ebx,%eax 801049a7: 5b pop %ebx 801049a8: 5d pop %ebp 801049a9: c3 ret 801049aa: 8d b6 00 00 00 00 lea 0x0(%esi),%esi if(*s == 0) 801049b0: 31 c0 xor %eax,%eax return s - *pp; 801049b2: eb dd jmp 80104991 <fetchstr+0x41> 801049b4: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 801049ba: 8d bf 00 00 00 00 lea 0x0(%edi),%edi 801049c0 <argint>: // Fetch the nth 32-bit system call argument. int argint(int n, int *ip) { 801049c0: 55 push %ebp 801049c1: 89 e5 mov %esp,%ebp 801049c3: 56 push %esi 801049c4: 53 push %ebx return fetchint((myproc()->tf->esp) + 4 + 4*n, ip); 801049c5: e8 36 ee ff ff call 80103800 <myproc> 801049ca: 8b 40 18 mov 0x18(%eax),%eax 801049cd: 8b 55 08 mov 0x8(%ebp),%edx 801049d0: 8b 40 44 mov 0x44(%eax),%eax 801049d3: 8d 1c 90 lea (%eax,%edx,4),%ebx struct proc *curproc = myproc(); 801049d6: e8 25 ee ff ff call 80103800 <myproc> if(addr >= curproc->sz || addr+4 > curproc->sz) 801049db: 8b 00 mov (%eax),%eax return fetchint((myproc()->tf->esp) + 4 + 4*n, ip); 801049dd: 8d 73 04 lea 0x4(%ebx),%esi if(addr >= curproc->sz || addr+4 > curproc->sz) 801049e0: 39 c6 cmp %eax,%esi 801049e2: 73 1c jae 80104a00 <argint+0x40> 801049e4: 8d 53 08 lea 0x8(%ebx),%edx 801049e7: 39 d0 cmp %edx,%eax 801049e9: 72 15 jb 80104a00 <argint+0x40> *ip = *(int*)(addr); 801049eb: 8b 45 0c mov 0xc(%ebp),%eax 801049ee: 8b 53 04 mov 0x4(%ebx),%edx 801049f1: 89 10 mov %edx,(%eax) return 0; 801049f3: 31 c0 xor %eax,%eax } 801049f5: 5b pop %ebx 801049f6: 5e pop %esi 801049f7: 5d pop %ebp 801049f8: c3 ret 801049f9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi return -1; 80104a00: b8 ff ff ff ff mov $0xffffffff,%eax return fetchint((myproc()->tf->esp) + 4 + 4*n, ip); 80104a05: eb ee jmp 801049f5 <argint+0x35> 80104a07: 89 f6 mov %esi,%esi 80104a09: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80104a10 <argptr>: // Fetch the nth word-sized system call argument as a pointer // to a block of memory of size bytes. Check that the pointer // lies within the process address space. int argptr(int n, char **pp, int size) { 80104a10: 55 push %ebp 80104a11: 89 e5 mov %esp,%ebp 80104a13: 56 push %esi 80104a14: 53 push %ebx 80104a15: 83 ec 10 sub $0x10,%esp 80104a18: 8b 5d 10 mov 0x10(%ebp),%ebx int i; struct proc *curproc = myproc(); 80104a1b: e8 e0 ed ff ff call 80103800 <myproc> 80104a20: 89 c6 mov %eax,%esi if(argint(n, &i) < 0) 80104a22: 8d 45 f4 lea -0xc(%ebp),%eax 80104a25: 83 ec 08 sub $0x8,%esp 80104a28: 50 push %eax 80104a29: ff 75 08 pushl 0x8(%ebp) 80104a2c: e8 8f ff ff ff call 801049c0 <argint> return -1; if(size < 0 || (uint)i >= curproc->sz || (uint)i+size > curproc->sz) 80104a31: 83 c4 10 add $0x10,%esp 80104a34: 85 c0 test %eax,%eax 80104a36: 78 28 js 80104a60 <argptr+0x50> 80104a38: 85 db test %ebx,%ebx 80104a3a: 78 24 js 80104a60 <argptr+0x50> 80104a3c: 8b 16 mov (%esi),%edx 80104a3e: 8b 45 f4 mov -0xc(%ebp),%eax 80104a41: 39 c2 cmp %eax,%edx 80104a43: 76 1b jbe 80104a60 <argptr+0x50> 80104a45: 01 c3 add %eax,%ebx 80104a47: 39 da cmp %ebx,%edx 80104a49: 72 15 jb 80104a60 <argptr+0x50> return -1; *pp = (char*)i; 80104a4b: 8b 55 0c mov 0xc(%ebp),%edx 80104a4e: 89 02 mov %eax,(%edx) return 0; 80104a50: 31 c0 xor %eax,%eax } 80104a52: 8d 65 f8 lea -0x8(%ebp),%esp 80104a55: 5b pop %ebx 80104a56: 5e pop %esi 80104a57: 5d pop %ebp 80104a58: c3 ret 80104a59: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi return -1; 80104a60: b8 ff ff ff ff mov $0xffffffff,%eax 80104a65: eb eb jmp 80104a52 <argptr+0x42> 80104a67: 89 f6 mov %esi,%esi 80104a69: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80104a70 <argstr>: // Check that the pointer is valid and the string is nul-terminated. // (There is no shared writable memory, so the string can't change // between this check and being used by the kernel.) int argstr(int n, char **pp) { 80104a70: 55 push %ebp 80104a71: 89 e5 mov %esp,%ebp 80104a73: 83 ec 20 sub $0x20,%esp int addr; if(argint(n, &addr) < 0) 80104a76: 8d 45 f4 lea -0xc(%ebp),%eax 80104a79: 50 push %eax 80104a7a: ff 75 08 pushl 0x8(%ebp) 80104a7d: e8 3e ff ff ff call 801049c0 <argint> 80104a82: 83 c4 10 add $0x10,%esp 80104a85: 85 c0 test %eax,%eax 80104a87: 78 17 js 80104aa0 <argstr+0x30> return -1; return fetchstr(addr, pp); 80104a89: 83 ec 08 sub $0x8,%esp 80104a8c: ff 75 0c pushl 0xc(%ebp) 80104a8f: ff 75 f4 pushl -0xc(%ebp) 80104a92: e8 b9 fe ff ff call 80104950 <fetchstr> 80104a97: 83 c4 10 add $0x10,%esp } 80104a9a: c9 leave 80104a9b: c3 ret 80104a9c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi return -1; 80104aa0: b8 ff ff ff ff mov $0xffffffff,%eax } 80104aa5: c9 leave 80104aa6: c3 ret 80104aa7: 89 f6 mov %esi,%esi 80104aa9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80104ab0 <syscall>: [SYS_getprio] sys_getprio, }; void syscall(void) { 80104ab0: 55 push %ebp 80104ab1: 89 e5 mov %esp,%ebp 80104ab3: 53 push %ebx 80104ab4: 83 ec 04 sub $0x4,%esp int num; struct proc *curproc = myproc(); 80104ab7: e8 44 ed ff ff call 80103800 <myproc> 80104abc: 89 c3 mov %eax,%ebx num = curproc->tf->eax; 80104abe: 8b 40 18 mov 0x18(%eax),%eax 80104ac1: 8b 40 1c mov 0x1c(%eax),%eax if(num > 0 && num < NELEM(syscalls) && syscalls[num]) { 80104ac4: 8d 50 ff lea -0x1(%eax),%edx 80104ac7: 83 fa 1b cmp $0x1b,%edx 80104aca: 77 1c ja 80104ae8 <syscall+0x38> 80104acc: 8b 14 85 80 79 10 80 mov -0x7fef8680(,%eax,4),%edx 80104ad3: 85 d2 test %edx,%edx 80104ad5: 74 11 je 80104ae8 <syscall+0x38> curproc->tf->eax = syscalls[num](); 80104ad7: ff d2 call *%edx 80104ad9: 8b 53 18 mov 0x18(%ebx),%edx 80104adc: 89 42 1c mov %eax,0x1c(%edx) } else { cprintf("%d %s: unknown sys call %d\n", curproc->pid, curproc->name, num); curproc->tf->eax = -1; } } 80104adf: 8b 5d fc mov -0x4(%ebp),%ebx 80104ae2: c9 leave 80104ae3: c3 ret 80104ae4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi cprintf("%d %s: unknown sys call %d\n", 80104ae8: 50 push %eax curproc->pid, curproc->name, num); 80104ae9: 8d 43 70 lea 0x70(%ebx),%eax cprintf("%d %s: unknown sys call %d\n", 80104aec: 50 push %eax 80104aed: ff 73 10 pushl 0x10(%ebx) 80104af0: 68 51 79 10 80 push $0x80107951 80104af5: e8 66 bb ff ff call 80100660 <cprintf> curproc->tf->eax = -1; 80104afa: 8b 43 18 mov 0x18(%ebx),%eax 80104afd: 83 c4 10 add $0x10,%esp 80104b00: c7 40 1c ff ff ff ff movl $0xffffffff,0x1c(%eax) } 80104b07: 8b 5d fc mov -0x4(%ebp),%ebx 80104b0a: c9 leave 80104b0b: c3 ret 80104b0c: 66 90 xchg %ax,%ax 80104b0e: 66 90 xchg %ax,%ax 80104b10 <create>: return -1; } static struct inode* create(char *path, short type, short major, short minor) { 80104b10: 55 push %ebp 80104b11: 89 e5 mov %esp,%ebp 80104b13: 57 push %edi 80104b14: 56 push %esi 80104b15: 53 push %ebx uint off; struct inode *ip, *dp; char name[DIRSIZ]; if((dp = nameiparent(path, name)) == 0) 80104b16: 8d 75 da lea -0x26(%ebp),%esi { 80104b19: 83 ec 44 sub $0x44,%esp 80104b1c: 89 4d c0 mov %ecx,-0x40(%ebp) 80104b1f: 8b 4d 08 mov 0x8(%ebp),%ecx if((dp = nameiparent(path, name)) == 0) 80104b22: 56 push %esi 80104b23: 50 push %eax { 80104b24: 89 55 c4 mov %edx,-0x3c(%ebp) 80104b27: 89 4d bc mov %ecx,-0x44(%ebp) if((dp = nameiparent(path, name)) == 0) 80104b2a: e8 e1 d3 ff ff call 80101f10 <nameiparent> 80104b2f: 83 c4 10 add $0x10,%esp 80104b32: 85 c0 test %eax,%eax 80104b34: 0f 84 46 01 00 00 je 80104c80 <create+0x170> return 0; ilock(dp); 80104b3a: 83 ec 0c sub $0xc,%esp 80104b3d: 89 c3 mov %eax,%ebx 80104b3f: 50 push %eax 80104b40: e8 4b cb ff ff call 80101690 <ilock> if((ip = dirlookup(dp, name, &off)) != 0){ 80104b45: 8d 45 d4 lea -0x2c(%ebp),%eax 80104b48: 83 c4 0c add $0xc,%esp 80104b4b: 50 push %eax 80104b4c: 56 push %esi 80104b4d: 53 push %ebx 80104b4e: e8 6d d0 ff ff call 80101bc0 <dirlookup> 80104b53: 83 c4 10 add $0x10,%esp 80104b56: 85 c0 test %eax,%eax 80104b58: 89 c7 mov %eax,%edi 80104b5a: 74 34 je 80104b90 <create+0x80> iunlockput(dp); 80104b5c: 83 ec 0c sub $0xc,%esp 80104b5f: 53 push %ebx 80104b60: e8 bb cd ff ff call 80101920 <iunlockput> ilock(ip); 80104b65: 89 3c 24 mov %edi,(%esp) 80104b68: e8 23 cb ff ff call 80101690 <ilock> if(type == T_FILE && ip->type == T_FILE) 80104b6d: 83 c4 10 add $0x10,%esp 80104b70: 66 83 7d c4 02 cmpw $0x2,-0x3c(%ebp) 80104b75: 0f 85 95 00 00 00 jne 80104c10 <create+0x100> 80104b7b: 66 83 7f 50 02 cmpw $0x2,0x50(%edi) 80104b80: 0f 85 8a 00 00 00 jne 80104c10 <create+0x100> panic("create: dirlink"); iunlockput(dp); return ip; } 80104b86: 8d 65 f4 lea -0xc(%ebp),%esp 80104b89: 89 f8 mov %edi,%eax 80104b8b: 5b pop %ebx 80104b8c: 5e pop %esi 80104b8d: 5f pop %edi 80104b8e: 5d pop %ebp 80104b8f: c3 ret if((ip = ialloc(dp->dev, type)) == 0) 80104b90: 0f bf 45 c4 movswl -0x3c(%ebp),%eax 80104b94: 83 ec 08 sub $0x8,%esp 80104b97: 50 push %eax 80104b98: ff 33 pushl (%ebx) 80104b9a: e8 81 c9 ff ff call 80101520 <ialloc> 80104b9f: 83 c4 10 add $0x10,%esp 80104ba2: 85 c0 test %eax,%eax 80104ba4: 89 c7 mov %eax,%edi 80104ba6: 0f 84 e8 00 00 00 je 80104c94 <create+0x184> ilock(ip); 80104bac: 83 ec 0c sub $0xc,%esp 80104baf: 50 push %eax 80104bb0: e8 db ca ff ff call 80101690 <ilock> ip->major = major; 80104bb5: 0f b7 45 c0 movzwl -0x40(%ebp),%eax 80104bb9: 66 89 47 52 mov %ax,0x52(%edi) ip->minor = minor; 80104bbd: 0f b7 45 bc movzwl -0x44(%ebp),%eax 80104bc1: 66 89 47 54 mov %ax,0x54(%edi) ip->nlink = 1; 80104bc5: b8 01 00 00 00 mov $0x1,%eax 80104bca: 66 89 47 56 mov %ax,0x56(%edi) iupdate(ip); 80104bce: 89 3c 24 mov %edi,(%esp) 80104bd1: e8 0a ca ff ff call 801015e0 <iupdate> if(type == T_DIR){ // Create . and .. entries. 80104bd6: 83 c4 10 add $0x10,%esp 80104bd9: 66 83 7d c4 01 cmpw $0x1,-0x3c(%ebp) 80104bde: 74 50 je 80104c30 <create+0x120> if(dirlink(dp, name, ip->inum) < 0) 80104be0: 83 ec 04 sub $0x4,%esp 80104be3: ff 77 04 pushl 0x4(%edi) 80104be6: 56 push %esi 80104be7: 53 push %ebx 80104be8: e8 43 d2 ff ff call 80101e30 <dirlink> 80104bed: 83 c4 10 add $0x10,%esp 80104bf0: 85 c0 test %eax,%eax 80104bf2: 0f 88 8f 00 00 00 js 80104c87 <create+0x177> iunlockput(dp); 80104bf8: 83 ec 0c sub $0xc,%esp 80104bfb: 53 push %ebx 80104bfc: e8 1f cd ff ff call 80101920 <iunlockput> return ip; 80104c01: 83 c4 10 add $0x10,%esp } 80104c04: 8d 65 f4 lea -0xc(%ebp),%esp 80104c07: 89 f8 mov %edi,%eax 80104c09: 5b pop %ebx 80104c0a: 5e pop %esi 80104c0b: 5f pop %edi 80104c0c: 5d pop %ebp 80104c0d: c3 ret 80104c0e: 66 90 xchg %ax,%ax iunlockput(ip); 80104c10: 83 ec 0c sub $0xc,%esp 80104c13: 57 push %edi return 0; 80104c14: 31 ff xor %edi,%edi iunlockput(ip); 80104c16: e8 05 cd ff ff call 80101920 <iunlockput> return 0; 80104c1b: 83 c4 10 add $0x10,%esp } 80104c1e: 8d 65 f4 lea -0xc(%ebp),%esp 80104c21: 89 f8 mov %edi,%eax 80104c23: 5b pop %ebx 80104c24: 5e pop %esi 80104c25: 5f pop %edi 80104c26: 5d pop %ebp 80104c27: c3 ret 80104c28: 90 nop 80104c29: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi dp->nlink++; // for ".." 80104c30: 66 83 43 56 01 addw $0x1,0x56(%ebx) iupdate(dp); 80104c35: 83 ec 0c sub $0xc,%esp 80104c38: 53 push %ebx 80104c39: e8 a2 c9 ff ff call 801015e0 <iupdate> if(dirlink(ip, ".", ip->inum) < 0 || dirlink(ip, "..", dp->inum) < 0) 80104c3e: 83 c4 0c add $0xc,%esp 80104c41: ff 77 04 pushl 0x4(%edi) 80104c44: 68 10 7a 10 80 push $0x80107a10 80104c49: 57 push %edi 80104c4a: e8 e1 d1 ff ff call 80101e30 <dirlink> 80104c4f: 83 c4 10 add $0x10,%esp 80104c52: 85 c0 test %eax,%eax 80104c54: 78 1c js 80104c72 <create+0x162> 80104c56: 83 ec 04 sub $0x4,%esp 80104c59: ff 73 04 pushl 0x4(%ebx) 80104c5c: 68 0f 7a 10 80 push $0x80107a0f 80104c61: 57 push %edi 80104c62: e8 c9 d1 ff ff call 80101e30 <dirlink> 80104c67: 83 c4 10 add $0x10,%esp 80104c6a: 85 c0 test %eax,%eax 80104c6c: 0f 89 6e ff ff ff jns 80104be0 <create+0xd0> panic("create dots"); 80104c72: 83 ec 0c sub $0xc,%esp 80104c75: 68 03 7a 10 80 push $0x80107a03 80104c7a: e8 11 b7 ff ff call 80100390 <panic> 80104c7f: 90 nop return 0; 80104c80: 31 ff xor %edi,%edi 80104c82: e9 ff fe ff ff jmp 80104b86 <create+0x76> panic("create: dirlink"); 80104c87: 83 ec 0c sub $0xc,%esp 80104c8a: 68 12 7a 10 80 push $0x80107a12 80104c8f: e8 fc b6 ff ff call 80100390 <panic> panic("create: ialloc"); 80104c94: 83 ec 0c sub $0xc,%esp 80104c97: 68 f4 79 10 80 push $0x801079f4 80104c9c: e8 ef b6 ff ff call 80100390 <panic> 80104ca1: eb 0d jmp 80104cb0 <argfd.constprop.0> 80104ca3: 90 nop 80104ca4: 90 nop 80104ca5: 90 nop 80104ca6: 90 nop 80104ca7: 90 nop 80104ca8: 90 nop 80104ca9: 90 nop 80104caa: 90 nop 80104cab: 90 nop 80104cac: 90 nop 80104cad: 90 nop 80104cae: 90 nop 80104caf: 90 nop 80104cb0 <argfd.constprop.0>: argfd(int n, int *pfd, struct file **pf) 80104cb0: 55 push %ebp 80104cb1: 89 e5 mov %esp,%ebp 80104cb3: 56 push %esi 80104cb4: 53 push %ebx 80104cb5: 89 c3 mov %eax,%ebx if(argint(n, &fd) < 0) 80104cb7: 8d 45 f4 lea -0xc(%ebp),%eax argfd(int n, int *pfd, struct file **pf) 80104cba: 89 d6 mov %edx,%esi 80104cbc: 83 ec 18 sub $0x18,%esp if(argint(n, &fd) < 0) 80104cbf: 50 push %eax 80104cc0: 6a 00 push $0x0 80104cc2: e8 f9 fc ff ff call 801049c0 <argint> 80104cc7: 83 c4 10 add $0x10,%esp 80104cca: 85 c0 test %eax,%eax 80104ccc: 78 2a js 80104cf8 <argfd.constprop.0+0x48> if(fd < 0 || fd >= NOFILE || (f=myproc()->ofile[fd]) == 0) 80104cce: 83 7d f4 0f cmpl $0xf,-0xc(%ebp) 80104cd2: 77 24 ja 80104cf8 <argfd.constprop.0+0x48> 80104cd4: e8 27 eb ff ff call 80103800 <myproc> 80104cd9: 8b 55 f4 mov -0xc(%ebp),%edx 80104cdc: 8b 44 90 2c mov 0x2c(%eax,%edx,4),%eax 80104ce0: 85 c0 test %eax,%eax 80104ce2: 74 14 je 80104cf8 <argfd.constprop.0+0x48> if(pfd) 80104ce4: 85 db test %ebx,%ebx 80104ce6: 74 02 je 80104cea <argfd.constprop.0+0x3a> *pfd = fd; 80104ce8: 89 13 mov %edx,(%ebx) *pf = f; 80104cea: 89 06 mov %eax,(%esi) return 0; 80104cec: 31 c0 xor %eax,%eax } 80104cee: 8d 65 f8 lea -0x8(%ebp),%esp 80104cf1: 5b pop %ebx 80104cf2: 5e pop %esi 80104cf3: 5d pop %ebp 80104cf4: c3 ret 80104cf5: 8d 76 00 lea 0x0(%esi),%esi return -1; 80104cf8: b8 ff ff ff ff mov $0xffffffff,%eax 80104cfd: eb ef jmp 80104cee <argfd.constprop.0+0x3e> 80104cff: 90 nop 80104d00 <sys_dup>: { 80104d00: 55 push %ebp if(argfd(0, 0, &f) < 0) 80104d01: 31 c0 xor %eax,%eax { 80104d03: 89 e5 mov %esp,%ebp 80104d05: 56 push %esi 80104d06: 53 push %ebx if(argfd(0, 0, &f) < 0) 80104d07: 8d 55 f4 lea -0xc(%ebp),%edx { 80104d0a: 83 ec 10 sub $0x10,%esp if(argfd(0, 0, &f) < 0) 80104d0d: e8 9e ff ff ff call 80104cb0 <argfd.constprop.0> 80104d12: 85 c0 test %eax,%eax 80104d14: 78 42 js 80104d58 <sys_dup+0x58> if((fd=fdalloc(f)) < 0) 80104d16: 8b 75 f4 mov -0xc(%ebp),%esi for(fd = 0; fd < NOFILE; fd++){ 80104d19: 31 db xor %ebx,%ebx struct proc *curproc = myproc(); 80104d1b: e8 e0 ea ff ff call 80103800 <myproc> 80104d20: eb 0e jmp 80104d30 <sys_dup+0x30> 80104d22: 8d b6 00 00 00 00 lea 0x0(%esi),%esi for(fd = 0; fd < NOFILE; fd++){ 80104d28: 83 c3 01 add $0x1,%ebx 80104d2b: 83 fb 10 cmp $0x10,%ebx 80104d2e: 74 28 je 80104d58 <sys_dup+0x58> if(curproc->ofile[fd] == 0){ 80104d30: 8b 54 98 2c mov 0x2c(%eax,%ebx,4),%edx 80104d34: 85 d2 test %edx,%edx 80104d36: 75 f0 jne 80104d28 <sys_dup+0x28> curproc->ofile[fd] = f; 80104d38: 89 74 98 2c mov %esi,0x2c(%eax,%ebx,4) filedup(f); 80104d3c: 83 ec 0c sub $0xc,%esp 80104d3f: ff 75 f4 pushl -0xc(%ebp) 80104d42: e8 a9 c0 ff ff call 80100df0 <filedup> return fd; 80104d47: 83 c4 10 add $0x10,%esp } 80104d4a: 8d 65 f8 lea -0x8(%ebp),%esp 80104d4d: 89 d8 mov %ebx,%eax 80104d4f: 5b pop %ebx 80104d50: 5e pop %esi 80104d51: 5d pop %ebp 80104d52: c3 ret 80104d53: 90 nop 80104d54: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80104d58: 8d 65 f8 lea -0x8(%ebp),%esp return -1; 80104d5b: bb ff ff ff ff mov $0xffffffff,%ebx } 80104d60: 89 d8 mov %ebx,%eax 80104d62: 5b pop %ebx 80104d63: 5e pop %esi 80104d64: 5d pop %ebp 80104d65: c3 ret 80104d66: 8d 76 00 lea 0x0(%esi),%esi 80104d69: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80104d70 <sys_read>: { 80104d70: 55 push %ebp if(argfd(0, 0, &f) < 0 || argint(2, &n) < 0 || argptr(1, &p, n) < 0) 80104d71: 31 c0 xor %eax,%eax { 80104d73: 89 e5 mov %esp,%ebp 80104d75: 83 ec 18 sub $0x18,%esp if(argfd(0, 0, &f) < 0 || argint(2, &n) < 0 || argptr(1, &p, n) < 0) 80104d78: 8d 55 ec lea -0x14(%ebp),%edx 80104d7b: e8 30 ff ff ff call 80104cb0 <argfd.constprop.0> 80104d80: 85 c0 test %eax,%eax 80104d82: 78 4c js 80104dd0 <sys_read+0x60> 80104d84: 8d 45 f0 lea -0x10(%ebp),%eax 80104d87: 83 ec 08 sub $0x8,%esp 80104d8a: 50 push %eax 80104d8b: 6a 02 push $0x2 80104d8d: e8 2e fc ff ff call 801049c0 <argint> 80104d92: 83 c4 10 add $0x10,%esp 80104d95: 85 c0 test %eax,%eax 80104d97: 78 37 js 80104dd0 <sys_read+0x60> 80104d99: 8d 45 f4 lea -0xc(%ebp),%eax 80104d9c: 83 ec 04 sub $0x4,%esp 80104d9f: ff 75 f0 pushl -0x10(%ebp) 80104da2: 50 push %eax 80104da3: 6a 01 push $0x1 80104da5: e8 66 fc ff ff call 80104a10 <argptr> 80104daa: 83 c4 10 add $0x10,%esp 80104dad: 85 c0 test %eax,%eax 80104daf: 78 1f js 80104dd0 <sys_read+0x60> return fileread(f, p, n); 80104db1: 83 ec 04 sub $0x4,%esp 80104db4: ff 75 f0 pushl -0x10(%ebp) 80104db7: ff 75 f4 pushl -0xc(%ebp) 80104dba: ff 75 ec pushl -0x14(%ebp) 80104dbd: e8 9e c1 ff ff call 80100f60 <fileread> 80104dc2: 83 c4 10 add $0x10,%esp } 80104dc5: c9 leave 80104dc6: c3 ret 80104dc7: 89 f6 mov %esi,%esi 80104dc9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi return -1; 80104dd0: b8 ff ff ff ff mov $0xffffffff,%eax } 80104dd5: c9 leave 80104dd6: c3 ret 80104dd7: 89 f6 mov %esi,%esi 80104dd9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80104de0 <sys_write>: { 80104de0: 55 push %ebp if(argfd(0, 0, &f) < 0 || argint(2, &n) < 0 || argptr(1, &p, n) < 0) 80104de1: 31 c0 xor %eax,%eax { 80104de3: 89 e5 mov %esp,%ebp 80104de5: 83 ec 18 sub $0x18,%esp if(argfd(0, 0, &f) < 0 || argint(2, &n) < 0 || argptr(1, &p, n) < 0) 80104de8: 8d 55 ec lea -0x14(%ebp),%edx 80104deb: e8 c0 fe ff ff call 80104cb0 <argfd.constprop.0> 80104df0: 85 c0 test %eax,%eax 80104df2: 78 4c js 80104e40 <sys_write+0x60> 80104df4: 8d 45 f0 lea -0x10(%ebp),%eax 80104df7: 83 ec 08 sub $0x8,%esp 80104dfa: 50 push %eax 80104dfb: 6a 02 push $0x2 80104dfd: e8 be fb ff ff call 801049c0 <argint> 80104e02: 83 c4 10 add $0x10,%esp 80104e05: 85 c0 test %eax,%eax 80104e07: 78 37 js 80104e40 <sys_write+0x60> 80104e09: 8d 45 f4 lea -0xc(%ebp),%eax 80104e0c: 83 ec 04 sub $0x4,%esp 80104e0f: ff 75 f0 pushl -0x10(%ebp) 80104e12: 50 push %eax 80104e13: 6a 01 push $0x1 80104e15: e8 f6 fb ff ff call 80104a10 <argptr> 80104e1a: 83 c4 10 add $0x10,%esp 80104e1d: 85 c0 test %eax,%eax 80104e1f: 78 1f js 80104e40 <sys_write+0x60> return filewrite(f, p, n); 80104e21: 83 ec 04 sub $0x4,%esp 80104e24: ff 75 f0 pushl -0x10(%ebp) 80104e27: ff 75 f4 pushl -0xc(%ebp) 80104e2a: ff 75 ec pushl -0x14(%ebp) 80104e2d: e8 be c1 ff ff call 80100ff0 <filewrite> 80104e32: 83 c4 10 add $0x10,%esp } 80104e35: c9 leave 80104e36: c3 ret 80104e37: 89 f6 mov %esi,%esi 80104e39: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi return -1; 80104e40: b8 ff ff ff ff mov $0xffffffff,%eax } 80104e45: c9 leave 80104e46: c3 ret 80104e47: 89 f6 mov %esi,%esi 80104e49: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80104e50 <sys_close>: { 80104e50: 55 push %ebp 80104e51: 89 e5 mov %esp,%ebp 80104e53: 83 ec 18 sub $0x18,%esp if(argfd(0, &fd, &f) < 0) 80104e56: 8d 55 f4 lea -0xc(%ebp),%edx 80104e59: 8d 45 f0 lea -0x10(%ebp),%eax 80104e5c: e8 4f fe ff ff call 80104cb0 <argfd.constprop.0> 80104e61: 85 c0 test %eax,%eax 80104e63: 78 2b js 80104e90 <sys_close+0x40> myproc()->ofile[fd] = 0; 80104e65: e8 96 e9 ff ff call 80103800 <myproc> 80104e6a: 8b 55 f0 mov -0x10(%ebp),%edx fileclose(f); 80104e6d: 83 ec 0c sub $0xc,%esp myproc()->ofile[fd] = 0; 80104e70: c7 44 90 2c 00 00 00 movl $0x0,0x2c(%eax,%edx,4) 80104e77: 00 fileclose(f); 80104e78: ff 75 f4 pushl -0xc(%ebp) 80104e7b: e8 c0 bf ff ff call 80100e40 <fileclose> return 0; 80104e80: 83 c4 10 add $0x10,%esp 80104e83: 31 c0 xor %eax,%eax } 80104e85: c9 leave 80104e86: c3 ret 80104e87: 89 f6 mov %esi,%esi 80104e89: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi return -1; 80104e90: b8 ff ff ff ff mov $0xffffffff,%eax } 80104e95: c9 leave 80104e96: c3 ret 80104e97: 89 f6 mov %esi,%esi 80104e99: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80104ea0 <sys_fstat>: { 80104ea0: 55 push %ebp if(argfd(0, 0, &f) < 0 || argptr(1, (void*)&st, sizeof(*st)) < 0) 80104ea1: 31 c0 xor %eax,%eax { 80104ea3: 89 e5 mov %esp,%ebp 80104ea5: 83 ec 18 sub $0x18,%esp if(argfd(0, 0, &f) < 0 || argptr(1, (void*)&st, sizeof(*st)) < 0) 80104ea8: 8d 55 f0 lea -0x10(%ebp),%edx 80104eab: e8 00 fe ff ff call 80104cb0 <argfd.constprop.0> 80104eb0: 85 c0 test %eax,%eax 80104eb2: 78 2c js 80104ee0 <sys_fstat+0x40> 80104eb4: 8d 45 f4 lea -0xc(%ebp),%eax 80104eb7: 83 ec 04 sub $0x4,%esp 80104eba: 6a 14 push $0x14 80104ebc: 50 push %eax 80104ebd: 6a 01 push $0x1 80104ebf: e8 4c fb ff ff call 80104a10 <argptr> 80104ec4: 83 c4 10 add $0x10,%esp 80104ec7: 85 c0 test %eax,%eax 80104ec9: 78 15 js 80104ee0 <sys_fstat+0x40> return filestat(f, st); 80104ecb: 83 ec 08 sub $0x8,%esp 80104ece: ff 75 f4 pushl -0xc(%ebp) 80104ed1: ff 75 f0 pushl -0x10(%ebp) 80104ed4: e8 37 c0 ff ff call 80100f10 <filestat> 80104ed9: 83 c4 10 add $0x10,%esp } 80104edc: c9 leave 80104edd: c3 ret 80104ede: 66 90 xchg %ax,%ax return -1; 80104ee0: b8 ff ff ff ff mov $0xffffffff,%eax } 80104ee5: c9 leave 80104ee6: c3 ret 80104ee7: 89 f6 mov %esi,%esi 80104ee9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80104ef0 <sys_link>: { 80104ef0: 55 push %ebp 80104ef1: 89 e5 mov %esp,%ebp 80104ef3: 57 push %edi 80104ef4: 56 push %esi 80104ef5: 53 push %ebx if(argstr(0, &old) < 0 || argstr(1, &new) < 0) 80104ef6: 8d 45 d4 lea -0x2c(%ebp),%eax { 80104ef9: 83 ec 34 sub $0x34,%esp if(argstr(0, &old) < 0 || argstr(1, &new) < 0) 80104efc: 50 push %eax 80104efd: 6a 00 push $0x0 80104eff: e8 6c fb ff ff call 80104a70 <argstr> 80104f04: 83 c4 10 add $0x10,%esp 80104f07: 85 c0 test %eax,%eax 80104f09: 0f 88 fb 00 00 00 js 8010500a <sys_link+0x11a> 80104f0f: 8d 45 d0 lea -0x30(%ebp),%eax 80104f12: 83 ec 08 sub $0x8,%esp 80104f15: 50 push %eax 80104f16: 6a 01 push $0x1 80104f18: e8 53 fb ff ff call 80104a70 <argstr> 80104f1d: 83 c4 10 add $0x10,%esp 80104f20: 85 c0 test %eax,%eax 80104f22: 0f 88 e2 00 00 00 js 8010500a <sys_link+0x11a> begin_op(); 80104f28: e8 83 dc ff ff call 80102bb0 <begin_op> if((ip = namei(old)) == 0){ 80104f2d: 83 ec 0c sub $0xc,%esp 80104f30: ff 75 d4 pushl -0x2c(%ebp) 80104f33: e8 b8 cf ff ff call 80101ef0 <namei> 80104f38: 83 c4 10 add $0x10,%esp 80104f3b: 85 c0 test %eax,%eax 80104f3d: 89 c3 mov %eax,%ebx 80104f3f: 0f 84 ea 00 00 00 je 8010502f <sys_link+0x13f> ilock(ip); 80104f45: 83 ec 0c sub $0xc,%esp 80104f48: 50 push %eax 80104f49: e8 42 c7 ff ff call 80101690 <ilock> if(ip->type == T_DIR){ 80104f4e: 83 c4 10 add $0x10,%esp 80104f51: 66 83 7b 50 01 cmpw $0x1,0x50(%ebx) 80104f56: 0f 84 bb 00 00 00 je 80105017 <sys_link+0x127> ip->nlink++; 80104f5c: 66 83 43 56 01 addw $0x1,0x56(%ebx) iupdate(ip); 80104f61: 83 ec 0c sub $0xc,%esp if((dp = nameiparent(new, name)) == 0) 80104f64: 8d 7d da lea -0x26(%ebp),%edi iupdate(ip); 80104f67: 53 push %ebx 80104f68: e8 73 c6 ff ff call 801015e0 <iupdate> iunlock(ip); 80104f6d: 89 1c 24 mov %ebx,(%esp) 80104f70: e8 fb c7 ff ff call 80101770 <iunlock> if((dp = nameiparent(new, name)) == 0) 80104f75: 58 pop %eax 80104f76: 5a pop %edx 80104f77: 57 push %edi 80104f78: ff 75 d0 pushl -0x30(%ebp) 80104f7b: e8 90 cf ff ff call 80101f10 <nameiparent> 80104f80: 83 c4 10 add $0x10,%esp 80104f83: 85 c0 test %eax,%eax 80104f85: 89 c6 mov %eax,%esi 80104f87: 74 5b je 80104fe4 <sys_link+0xf4> ilock(dp); 80104f89: 83 ec 0c sub $0xc,%esp 80104f8c: 50 push %eax 80104f8d: e8 fe c6 ff ff call 80101690 <ilock> if(dp->dev != ip->dev || dirlink(dp, name, ip->inum) < 0){ 80104f92: 83 c4 10 add $0x10,%esp 80104f95: 8b 03 mov (%ebx),%eax 80104f97: 39 06 cmp %eax,(%esi) 80104f99: 75 3d jne 80104fd8 <sys_link+0xe8> 80104f9b: 83 ec 04 sub $0x4,%esp 80104f9e: ff 73 04 pushl 0x4(%ebx) 80104fa1: 57 push %edi 80104fa2: 56 push %esi 80104fa3: e8 88 ce ff ff call 80101e30 <dirlink> 80104fa8: 83 c4 10 add $0x10,%esp 80104fab: 85 c0 test %eax,%eax 80104fad: 78 29 js 80104fd8 <sys_link+0xe8> iunlockput(dp); 80104faf: 83 ec 0c sub $0xc,%esp 80104fb2: 56 push %esi 80104fb3: e8 68 c9 ff ff call 80101920 <iunlockput> iput(ip); 80104fb8: 89 1c 24 mov %ebx,(%esp) 80104fbb: e8 00 c8 ff ff call 801017c0 <iput> end_op(); 80104fc0: e8 5b dc ff ff call 80102c20 <end_op> return 0; 80104fc5: 83 c4 10 add $0x10,%esp 80104fc8: 31 c0 xor %eax,%eax } 80104fca: 8d 65 f4 lea -0xc(%ebp),%esp 80104fcd: 5b pop %ebx 80104fce: 5e pop %esi 80104fcf: 5f pop %edi 80104fd0: 5d pop %ebp 80104fd1: c3 ret 80104fd2: 8d b6 00 00 00 00 lea 0x0(%esi),%esi iunlockput(dp); 80104fd8: 83 ec 0c sub $0xc,%esp 80104fdb: 56 push %esi 80104fdc: e8 3f c9 ff ff call 80101920 <iunlockput> goto bad; 80104fe1: 83 c4 10 add $0x10,%esp ilock(ip); 80104fe4: 83 ec 0c sub $0xc,%esp 80104fe7: 53 push %ebx 80104fe8: e8 a3 c6 ff ff call 80101690 <ilock> ip->nlink--; 80104fed: 66 83 6b 56 01 subw $0x1,0x56(%ebx) iupdate(ip); 80104ff2: 89 1c 24 mov %ebx,(%esp) 80104ff5: e8 e6 c5 ff ff call 801015e0 <iupdate> iunlockput(ip); 80104ffa: 89 1c 24 mov %ebx,(%esp) 80104ffd: e8 1e c9 ff ff call 80101920 <iunlockput> end_op(); 80105002: e8 19 dc ff ff call 80102c20 <end_op> return -1; 80105007: 83 c4 10 add $0x10,%esp } 8010500a: 8d 65 f4 lea -0xc(%ebp),%esp return -1; 8010500d: b8 ff ff ff ff mov $0xffffffff,%eax } 80105012: 5b pop %ebx 80105013: 5e pop %esi 80105014: 5f pop %edi 80105015: 5d pop %ebp 80105016: c3 ret iunlockput(ip); 80105017: 83 ec 0c sub $0xc,%esp 8010501a: 53 push %ebx 8010501b: e8 00 c9 ff ff call 80101920 <iunlockput> end_op(); 80105020: e8 fb db ff ff call 80102c20 <end_op> return -1; 80105025: 83 c4 10 add $0x10,%esp 80105028: b8 ff ff ff ff mov $0xffffffff,%eax 8010502d: eb 9b jmp 80104fca <sys_link+0xda> end_op(); 8010502f: e8 ec db ff ff call 80102c20 <end_op> return -1; 80105034: b8 ff ff ff ff mov $0xffffffff,%eax 80105039: eb 8f jmp 80104fca <sys_link+0xda> 8010503b: 90 nop 8010503c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80105040 <sys_unlink>: { 80105040: 55 push %ebp 80105041: 89 e5 mov %esp,%ebp 80105043: 57 push %edi 80105044: 56 push %esi 80105045: 53 push %ebx if(argstr(0, &path) < 0) 80105046: 8d 45 c0 lea -0x40(%ebp),%eax { 80105049: 83 ec 44 sub $0x44,%esp if(argstr(0, &path) < 0) 8010504c: 50 push %eax 8010504d: 6a 00 push $0x0 8010504f: e8 1c fa ff ff call 80104a70 <argstr> 80105054: 83 c4 10 add $0x10,%esp 80105057: 85 c0 test %eax,%eax 80105059: 0f 88 77 01 00 00 js 801051d6 <sys_unlink+0x196> if((dp = nameiparent(path, name)) == 0){ 8010505f: 8d 5d ca lea -0x36(%ebp),%ebx begin_op(); 80105062: e8 49 db ff ff call 80102bb0 <begin_op> if((dp = nameiparent(path, name)) == 0){ 80105067: 83 ec 08 sub $0x8,%esp 8010506a: 53 push %ebx 8010506b: ff 75 c0 pushl -0x40(%ebp) 8010506e: e8 9d ce ff ff call 80101f10 <nameiparent> 80105073: 83 c4 10 add $0x10,%esp 80105076: 85 c0 test %eax,%eax 80105078: 89 c6 mov %eax,%esi 8010507a: 0f 84 60 01 00 00 je 801051e0 <sys_unlink+0x1a0> ilock(dp); 80105080: 83 ec 0c sub $0xc,%esp 80105083: 50 push %eax 80105084: e8 07 c6 ff ff call 80101690 <ilock> if(namecmp(name, ".") == 0 || namecmp(name, "..") == 0) 80105089: 58 pop %eax 8010508a: 5a pop %edx 8010508b: 68 10 7a 10 80 push $0x80107a10 80105090: 53 push %ebx 80105091: e8 0a cb ff ff call 80101ba0 <namecmp> 80105096: 83 c4 10 add $0x10,%esp 80105099: 85 c0 test %eax,%eax 8010509b: 0f 84 03 01 00 00 je 801051a4 <sys_unlink+0x164> 801050a1: 83 ec 08 sub $0x8,%esp 801050a4: 68 0f 7a 10 80 push $0x80107a0f 801050a9: 53 push %ebx 801050aa: e8 f1 ca ff ff call 80101ba0 <namecmp> 801050af: 83 c4 10 add $0x10,%esp 801050b2: 85 c0 test %eax,%eax 801050b4: 0f 84 ea 00 00 00 je 801051a4 <sys_unlink+0x164> if((ip = dirlookup(dp, name, &off)) == 0) 801050ba: 8d 45 c4 lea -0x3c(%ebp),%eax 801050bd: 83 ec 04 sub $0x4,%esp 801050c0: 50 push %eax 801050c1: 53 push %ebx 801050c2: 56 push %esi 801050c3: e8 f8 ca ff ff call 80101bc0 <dirlookup> 801050c8: 83 c4 10 add $0x10,%esp 801050cb: 85 c0 test %eax,%eax 801050cd: 89 c3 mov %eax,%ebx 801050cf: 0f 84 cf 00 00 00 je 801051a4 <sys_unlink+0x164> ilock(ip); 801050d5: 83 ec 0c sub $0xc,%esp 801050d8: 50 push %eax 801050d9: e8 b2 c5 ff ff call 80101690 <ilock> if(ip->nlink < 1) 801050de: 83 c4 10 add $0x10,%esp 801050e1: 66 83 7b 56 00 cmpw $0x0,0x56(%ebx) 801050e6: 0f 8e 10 01 00 00 jle 801051fc <sys_unlink+0x1bc> if(ip->type == T_DIR && !isdirempty(ip)){ 801050ec: 66 83 7b 50 01 cmpw $0x1,0x50(%ebx) 801050f1: 74 6d je 80105160 <sys_unlink+0x120> memset(&de, 0, sizeof(de)); 801050f3: 8d 45 d8 lea -0x28(%ebp),%eax 801050f6: 83 ec 04 sub $0x4,%esp 801050f9: 6a 10 push $0x10 801050fb: 6a 00 push $0x0 801050fd: 50 push %eax 801050fe: e8 bd f5 ff ff call 801046c0 <memset> if(writei(dp, (char*)&de, off, sizeof(de)) != sizeof(de)) 80105103: 8d 45 d8 lea -0x28(%ebp),%eax 80105106: 6a 10 push $0x10 80105108: ff 75 c4 pushl -0x3c(%ebp) 8010510b: 50 push %eax 8010510c: 56 push %esi 8010510d: e8 5e c9 ff ff call 80101a70 <writei> 80105112: 83 c4 20 add $0x20,%esp 80105115: 83 f8 10 cmp $0x10,%eax 80105118: 0f 85 eb 00 00 00 jne 80105209 <sys_unlink+0x1c9> if(ip->type == T_DIR){ 8010511e: 66 83 7b 50 01 cmpw $0x1,0x50(%ebx) 80105123: 0f 84 97 00 00 00 je 801051c0 <sys_unlink+0x180> iunlockput(dp); 80105129: 83 ec 0c sub $0xc,%esp 8010512c: 56 push %esi 8010512d: e8 ee c7 ff ff call 80101920 <iunlockput> ip->nlink--; 80105132: 66 83 6b 56 01 subw $0x1,0x56(%ebx) iupdate(ip); 80105137: 89 1c 24 mov %ebx,(%esp) 8010513a: e8 a1 c4 ff ff call 801015e0 <iupdate> iunlockput(ip); 8010513f: 89 1c 24 mov %ebx,(%esp) 80105142: e8 d9 c7 ff ff call 80101920 <iunlockput> end_op(); 80105147: e8 d4 da ff ff call 80102c20 <end_op> return 0; 8010514c: 83 c4 10 add $0x10,%esp 8010514f: 31 c0 xor %eax,%eax } 80105151: 8d 65 f4 lea -0xc(%ebp),%esp 80105154: 5b pop %ebx 80105155: 5e pop %esi 80105156: 5f pop %edi 80105157: 5d pop %ebp 80105158: c3 ret 80105159: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi for(off=2*sizeof(de); off<dp->size; off+=sizeof(de)){ 80105160: 83 7b 58 20 cmpl $0x20,0x58(%ebx) 80105164: 76 8d jbe 801050f3 <sys_unlink+0xb3> 80105166: bf 20 00 00 00 mov $0x20,%edi 8010516b: eb 0f jmp 8010517c <sys_unlink+0x13c> 8010516d: 8d 76 00 lea 0x0(%esi),%esi 80105170: 83 c7 10 add $0x10,%edi 80105173: 3b 7b 58 cmp 0x58(%ebx),%edi 80105176: 0f 83 77 ff ff ff jae 801050f3 <sys_unlink+0xb3> if(readi(dp, (char*)&de, off, sizeof(de)) != sizeof(de)) 8010517c: 8d 45 d8 lea -0x28(%ebp),%eax 8010517f: 6a 10 push $0x10 80105181: 57 push %edi 80105182: 50 push %eax 80105183: 53 push %ebx 80105184: e8 e7 c7 ff ff call 80101970 <readi> 80105189: 83 c4 10 add $0x10,%esp 8010518c: 83 f8 10 cmp $0x10,%eax 8010518f: 75 5e jne 801051ef <sys_unlink+0x1af> if(de.inum != 0) 80105191: 66 83 7d d8 00 cmpw $0x0,-0x28(%ebp) 80105196: 74 d8 je 80105170 <sys_unlink+0x130> iunlockput(ip); 80105198: 83 ec 0c sub $0xc,%esp 8010519b: 53 push %ebx 8010519c: e8 7f c7 ff ff call 80101920 <iunlockput> goto bad; 801051a1: 83 c4 10 add $0x10,%esp iunlockput(dp); 801051a4: 83 ec 0c sub $0xc,%esp 801051a7: 56 push %esi 801051a8: e8 73 c7 ff ff call 80101920 <iunlockput> end_op(); 801051ad: e8 6e da ff ff call 80102c20 <end_op> return -1; 801051b2: 83 c4 10 add $0x10,%esp 801051b5: b8 ff ff ff ff mov $0xffffffff,%eax 801051ba: eb 95 jmp 80105151 <sys_unlink+0x111> 801051bc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi dp->nlink--; 801051c0: 66 83 6e 56 01 subw $0x1,0x56(%esi) iupdate(dp); 801051c5: 83 ec 0c sub $0xc,%esp 801051c8: 56 push %esi 801051c9: e8 12 c4 ff ff call 801015e0 <iupdate> 801051ce: 83 c4 10 add $0x10,%esp 801051d1: e9 53 ff ff ff jmp 80105129 <sys_unlink+0xe9> return -1; 801051d6: b8 ff ff ff ff mov $0xffffffff,%eax 801051db: e9 71 ff ff ff jmp 80105151 <sys_unlink+0x111> end_op(); 801051e0: e8 3b da ff ff call 80102c20 <end_op> return -1; 801051e5: b8 ff ff ff ff mov $0xffffffff,%eax 801051ea: e9 62 ff ff ff jmp 80105151 <sys_unlink+0x111> panic("isdirempty: readi"); 801051ef: 83 ec 0c sub $0xc,%esp 801051f2: 68 34 7a 10 80 push $0x80107a34 801051f7: e8 94 b1 ff ff call 80100390 <panic> panic("unlink: nlink < 1"); 801051fc: 83 ec 0c sub $0xc,%esp 801051ff: 68 22 7a 10 80 push $0x80107a22 80105204: e8 87 b1 ff ff call 80100390 <panic> panic("unlink: writei"); 80105209: 83 ec 0c sub $0xc,%esp 8010520c: 68 46 7a 10 80 push $0x80107a46 80105211: e8 7a b1 ff ff call 80100390 <panic> 80105216: 8d 76 00 lea 0x0(%esi),%esi 80105219: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80105220 <sys_open>: int sys_open(void) { 80105220: 55 push %ebp 80105221: 89 e5 mov %esp,%ebp 80105223: 57 push %edi 80105224: 56 push %esi 80105225: 53 push %ebx char *path; int fd, omode; struct file *f; struct inode *ip; if(argstr(0, &path) < 0 || argint(1, &omode) < 0) 80105226: 8d 45 e0 lea -0x20(%ebp),%eax { 80105229: 83 ec 24 sub $0x24,%esp if(argstr(0, &path) < 0 || argint(1, &omode) < 0) 8010522c: 50 push %eax 8010522d: 6a 00 push $0x0 8010522f: e8 3c f8 ff ff call 80104a70 <argstr> 80105234: 83 c4 10 add $0x10,%esp 80105237: 85 c0 test %eax,%eax 80105239: 0f 88 1d 01 00 00 js 8010535c <sys_open+0x13c> 8010523f: 8d 45 e4 lea -0x1c(%ebp),%eax 80105242: 83 ec 08 sub $0x8,%esp 80105245: 50 push %eax 80105246: 6a 01 push $0x1 80105248: e8 73 f7 ff ff call 801049c0 <argint> 8010524d: 83 c4 10 add $0x10,%esp 80105250: 85 c0 test %eax,%eax 80105252: 0f 88 04 01 00 00 js 8010535c <sys_open+0x13c> return -1; begin_op(); 80105258: e8 53 d9 ff ff call 80102bb0 <begin_op> if(omode & O_CREATE){ 8010525d: f6 45 e5 02 testb $0x2,-0x1b(%ebp) 80105261: 0f 85 a9 00 00 00 jne 80105310 <sys_open+0xf0> if(ip == 0){ end_op(); return -1; } } else { if((ip = namei(path)) == 0){ 80105267: 83 ec 0c sub $0xc,%esp 8010526a: ff 75 e0 pushl -0x20(%ebp) 8010526d: e8 7e cc ff ff call 80101ef0 <namei> 80105272: 83 c4 10 add $0x10,%esp 80105275: 85 c0 test %eax,%eax 80105277: 89 c6 mov %eax,%esi 80105279: 0f 84 b2 00 00 00 je 80105331 <sys_open+0x111> end_op(); return -1; } ilock(ip); 8010527f: 83 ec 0c sub $0xc,%esp 80105282: 50 push %eax 80105283: e8 08 c4 ff ff call 80101690 <ilock> if(ip->type == T_DIR && omode != O_RDONLY){ 80105288: 83 c4 10 add $0x10,%esp 8010528b: 66 83 7e 50 01 cmpw $0x1,0x50(%esi) 80105290: 0f 84 aa 00 00 00 je 80105340 <sys_open+0x120> end_op(); return -1; } } if((f = filealloc()) == 0 || (fd = fdalloc(f)) < 0){ 80105296: e8 e5 ba ff ff call 80100d80 <filealloc> 8010529b: 85 c0 test %eax,%eax 8010529d: 89 c7 mov %eax,%edi 8010529f: 0f 84 a6 00 00 00 je 8010534b <sys_open+0x12b> struct proc *curproc = myproc(); 801052a5: e8 56 e5 ff ff call 80103800 <myproc> for(fd = 0; fd < NOFILE; fd++){ 801052aa: 31 db xor %ebx,%ebx 801052ac: eb 0e jmp 801052bc <sys_open+0x9c> 801052ae: 66 90 xchg %ax,%ax 801052b0: 83 c3 01 add $0x1,%ebx 801052b3: 83 fb 10 cmp $0x10,%ebx 801052b6: 0f 84 ac 00 00 00 je 80105368 <sys_open+0x148> if(curproc->ofile[fd] == 0){ 801052bc: 8b 54 98 2c mov 0x2c(%eax,%ebx,4),%edx 801052c0: 85 d2 test %edx,%edx 801052c2: 75 ec jne 801052b0 <sys_open+0x90> fileclose(f); iunlockput(ip); end_op(); return -1; } iunlock(ip); 801052c4: 83 ec 0c sub $0xc,%esp curproc->ofile[fd] = f; 801052c7: 89 7c 98 2c mov %edi,0x2c(%eax,%ebx,4) iunlock(ip); 801052cb: 56 push %esi 801052cc: e8 9f c4 ff ff call 80101770 <iunlock> end_op(); 801052d1: e8 4a d9 ff ff call 80102c20 <end_op> f->type = FD_INODE; 801052d6: c7 07 02 00 00 00 movl $0x2,(%edi) f->ip = ip; f->off = 0; f->readable = !(omode & O_WRONLY); 801052dc: 8b 55 e4 mov -0x1c(%ebp),%edx f->writable = (omode & O_WRONLY) || (omode & O_RDWR); 801052df: 83 c4 10 add $0x10,%esp f->ip = ip; 801052e2: 89 77 10 mov %esi,0x10(%edi) f->off = 0; 801052e5: c7 47 14 00 00 00 00 movl $0x0,0x14(%edi) f->readable = !(omode & O_WRONLY); 801052ec: 89 d0 mov %edx,%eax 801052ee: f7 d0 not %eax 801052f0: 83 e0 01 and $0x1,%eax f->writable = (omode & O_WRONLY) || (omode & O_RDWR); 801052f3: 83 e2 03 and $0x3,%edx f->readable = !(omode & O_WRONLY); 801052f6: 88 47 08 mov %al,0x8(%edi) f->writable = (omode & O_WRONLY) || (omode & O_RDWR); 801052f9: 0f 95 47 09 setne 0x9(%edi) return fd; } 801052fd: 8d 65 f4 lea -0xc(%ebp),%esp 80105300: 89 d8 mov %ebx,%eax 80105302: 5b pop %ebx 80105303: 5e pop %esi 80105304: 5f pop %edi 80105305: 5d pop %ebp 80105306: c3 ret 80105307: 89 f6 mov %esi,%esi 80105309: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi ip = create(path, T_FILE, 0, 0); 80105310: 83 ec 0c sub $0xc,%esp 80105313: 8b 45 e0 mov -0x20(%ebp),%eax 80105316: 31 c9 xor %ecx,%ecx 80105318: 6a 00 push $0x0 8010531a: ba 02 00 00 00 mov $0x2,%edx 8010531f: e8 ec f7 ff ff call 80104b10 <create> if(ip == 0){ 80105324: 83 c4 10 add $0x10,%esp 80105327: 85 c0 test %eax,%eax ip = create(path, T_FILE, 0, 0); 80105329: 89 c6 mov %eax,%esi if(ip == 0){ 8010532b: 0f 85 65 ff ff ff jne 80105296 <sys_open+0x76> end_op(); 80105331: e8 ea d8 ff ff call 80102c20 <end_op> return -1; 80105336: bb ff ff ff ff mov $0xffffffff,%ebx 8010533b: eb c0 jmp 801052fd <sys_open+0xdd> 8010533d: 8d 76 00 lea 0x0(%esi),%esi if(ip->type == T_DIR && omode != O_RDONLY){ 80105340: 8b 4d e4 mov -0x1c(%ebp),%ecx 80105343: 85 c9 test %ecx,%ecx 80105345: 0f 84 4b ff ff ff je 80105296 <sys_open+0x76> iunlockput(ip); 8010534b: 83 ec 0c sub $0xc,%esp 8010534e: 56 push %esi 8010534f: e8 cc c5 ff ff call 80101920 <iunlockput> end_op(); 80105354: e8 c7 d8 ff ff call 80102c20 <end_op> return -1; 80105359: 83 c4 10 add $0x10,%esp 8010535c: bb ff ff ff ff mov $0xffffffff,%ebx 80105361: eb 9a jmp 801052fd <sys_open+0xdd> 80105363: 90 nop 80105364: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi fileclose(f); 80105368: 83 ec 0c sub $0xc,%esp 8010536b: 57 push %edi 8010536c: e8 cf ba ff ff call 80100e40 <fileclose> 80105371: 83 c4 10 add $0x10,%esp 80105374: eb d5 jmp 8010534b <sys_open+0x12b> 80105376: 8d 76 00 lea 0x0(%esi),%esi 80105379: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80105380 <sys_mkdir>: int sys_mkdir(void) { 80105380: 55 push %ebp 80105381: 89 e5 mov %esp,%ebp 80105383: 83 ec 18 sub $0x18,%esp char *path; struct inode *ip; begin_op(); 80105386: e8 25 d8 ff ff call 80102bb0 <begin_op> if(argstr(0, &path) < 0 || (ip = create(path, T_DIR, 0, 0)) == 0){ 8010538b: 8d 45 f4 lea -0xc(%ebp),%eax 8010538e: 83 ec 08 sub $0x8,%esp 80105391: 50 push %eax 80105392: 6a 00 push $0x0 80105394: e8 d7 f6 ff ff call 80104a70 <argstr> 80105399: 83 c4 10 add $0x10,%esp 8010539c: 85 c0 test %eax,%eax 8010539e: 78 30 js 801053d0 <sys_mkdir+0x50> 801053a0: 83 ec 0c sub $0xc,%esp 801053a3: 8b 45 f4 mov -0xc(%ebp),%eax 801053a6: 31 c9 xor %ecx,%ecx 801053a8: 6a 00 push $0x0 801053aa: ba 01 00 00 00 mov $0x1,%edx 801053af: e8 5c f7 ff ff call 80104b10 <create> 801053b4: 83 c4 10 add $0x10,%esp 801053b7: 85 c0 test %eax,%eax 801053b9: 74 15 je 801053d0 <sys_mkdir+0x50> end_op(); return -1; } iunlockput(ip); 801053bb: 83 ec 0c sub $0xc,%esp 801053be: 50 push %eax 801053bf: e8 5c c5 ff ff call 80101920 <iunlockput> end_op(); 801053c4: e8 57 d8 ff ff call 80102c20 <end_op> return 0; 801053c9: 83 c4 10 add $0x10,%esp 801053cc: 31 c0 xor %eax,%eax } 801053ce: c9 leave 801053cf: c3 ret end_op(); 801053d0: e8 4b d8 ff ff call 80102c20 <end_op> return -1; 801053d5: b8 ff ff ff ff mov $0xffffffff,%eax } 801053da: c9 leave 801053db: c3 ret 801053dc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 801053e0 <sys_mknod>: int sys_mknod(void) { 801053e0: 55 push %ebp 801053e1: 89 e5 mov %esp,%ebp 801053e3: 83 ec 18 sub $0x18,%esp struct inode *ip; char *path; int major, minor; begin_op(); 801053e6: e8 c5 d7 ff ff call 80102bb0 <begin_op> if((argstr(0, &path)) < 0 || 801053eb: 8d 45 ec lea -0x14(%ebp),%eax 801053ee: 83 ec 08 sub $0x8,%esp 801053f1: 50 push %eax 801053f2: 6a 00 push $0x0 801053f4: e8 77 f6 ff ff call 80104a70 <argstr> 801053f9: 83 c4 10 add $0x10,%esp 801053fc: 85 c0 test %eax,%eax 801053fe: 78 60 js 80105460 <sys_mknod+0x80> argint(1, &major) < 0 || 80105400: 8d 45 f0 lea -0x10(%ebp),%eax 80105403: 83 ec 08 sub $0x8,%esp 80105406: 50 push %eax 80105407: 6a 01 push $0x1 80105409: e8 b2 f5 ff ff call 801049c0 <argint> if((argstr(0, &path)) < 0 || 8010540e: 83 c4 10 add $0x10,%esp 80105411: 85 c0 test %eax,%eax 80105413: 78 4b js 80105460 <sys_mknod+0x80> argint(2, &minor) < 0 || 80105415: 8d 45 f4 lea -0xc(%ebp),%eax 80105418: 83 ec 08 sub $0x8,%esp 8010541b: 50 push %eax 8010541c: 6a 02 push $0x2 8010541e: e8 9d f5 ff ff call 801049c0 <argint> argint(1, &major) < 0 || 80105423: 83 c4 10 add $0x10,%esp 80105426: 85 c0 test %eax,%eax 80105428: 78 36 js 80105460 <sys_mknod+0x80> (ip = create(path, T_DEV, major, minor)) == 0){ 8010542a: 0f bf 45 f4 movswl -0xc(%ebp),%eax argint(2, &minor) < 0 || 8010542e: 83 ec 0c sub $0xc,%esp (ip = create(path, T_DEV, major, minor)) == 0){ 80105431: 0f bf 4d f0 movswl -0x10(%ebp),%ecx argint(2, &minor) < 0 || 80105435: ba 03 00 00 00 mov $0x3,%edx 8010543a: 50 push %eax 8010543b: 8b 45 ec mov -0x14(%ebp),%eax 8010543e: e8 cd f6 ff ff call 80104b10 <create> 80105443: 83 c4 10 add $0x10,%esp 80105446: 85 c0 test %eax,%eax 80105448: 74 16 je 80105460 <sys_mknod+0x80> end_op(); return -1; } iunlockput(ip); 8010544a: 83 ec 0c sub $0xc,%esp 8010544d: 50 push %eax 8010544e: e8 cd c4 ff ff call 80101920 <iunlockput> end_op(); 80105453: e8 c8 d7 ff ff call 80102c20 <end_op> return 0; 80105458: 83 c4 10 add $0x10,%esp 8010545b: 31 c0 xor %eax,%eax } 8010545d: c9 leave 8010545e: c3 ret 8010545f: 90 nop end_op(); 80105460: e8 bb d7 ff ff call 80102c20 <end_op> return -1; 80105465: b8 ff ff ff ff mov $0xffffffff,%eax } 8010546a: c9 leave 8010546b: c3 ret 8010546c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80105470 <sys_chdir>: int sys_chdir(void) { 80105470: 55 push %ebp 80105471: 89 e5 mov %esp,%ebp 80105473: 56 push %esi 80105474: 53 push %ebx 80105475: 83 ec 10 sub $0x10,%esp char *path; struct inode *ip; struct proc *curproc = myproc(); 80105478: e8 83 e3 ff ff call 80103800 <myproc> 8010547d: 89 c6 mov %eax,%esi begin_op(); 8010547f: e8 2c d7 ff ff call 80102bb0 <begin_op> if(argstr(0, &path) < 0 || (ip = namei(path)) == 0){ 80105484: 8d 45 f4 lea -0xc(%ebp),%eax 80105487: 83 ec 08 sub $0x8,%esp 8010548a: 50 push %eax 8010548b: 6a 00 push $0x0 8010548d: e8 de f5 ff ff call 80104a70 <argstr> 80105492: 83 c4 10 add $0x10,%esp 80105495: 85 c0 test %eax,%eax 80105497: 78 77 js 80105510 <sys_chdir+0xa0> 80105499: 83 ec 0c sub $0xc,%esp 8010549c: ff 75 f4 pushl -0xc(%ebp) 8010549f: e8 4c ca ff ff call 80101ef0 <namei> 801054a4: 83 c4 10 add $0x10,%esp 801054a7: 85 c0 test %eax,%eax 801054a9: 89 c3 mov %eax,%ebx 801054ab: 74 63 je 80105510 <sys_chdir+0xa0> end_op(); return -1; } ilock(ip); 801054ad: 83 ec 0c sub $0xc,%esp 801054b0: 50 push %eax 801054b1: e8 da c1 ff ff call 80101690 <ilock> if(ip->type != T_DIR){ 801054b6: 83 c4 10 add $0x10,%esp 801054b9: 66 83 7b 50 01 cmpw $0x1,0x50(%ebx) 801054be: 75 30 jne 801054f0 <sys_chdir+0x80> iunlockput(ip); end_op(); return -1; } iunlock(ip); 801054c0: 83 ec 0c sub $0xc,%esp 801054c3: 53 push %ebx 801054c4: e8 a7 c2 ff ff call 80101770 <iunlock> iput(curproc->cwd); 801054c9: 58 pop %eax 801054ca: ff 76 6c pushl 0x6c(%esi) 801054cd: e8 ee c2 ff ff call 801017c0 <iput> end_op(); 801054d2: e8 49 d7 ff ff call 80102c20 <end_op> curproc->cwd = ip; 801054d7: 89 5e 6c mov %ebx,0x6c(%esi) return 0; 801054da: 83 c4 10 add $0x10,%esp 801054dd: 31 c0 xor %eax,%eax } 801054df: 8d 65 f8 lea -0x8(%ebp),%esp 801054e2: 5b pop %ebx 801054e3: 5e pop %esi 801054e4: 5d pop %ebp 801054e5: c3 ret 801054e6: 8d 76 00 lea 0x0(%esi),%esi 801054e9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi iunlockput(ip); 801054f0: 83 ec 0c sub $0xc,%esp 801054f3: 53 push %ebx 801054f4: e8 27 c4 ff ff call 80101920 <iunlockput> end_op(); 801054f9: e8 22 d7 ff ff call 80102c20 <end_op> return -1; 801054fe: 83 c4 10 add $0x10,%esp 80105501: b8 ff ff ff ff mov $0xffffffff,%eax 80105506: eb d7 jmp 801054df <sys_chdir+0x6f> 80105508: 90 nop 80105509: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi end_op(); 80105510: e8 0b d7 ff ff call 80102c20 <end_op> return -1; 80105515: b8 ff ff ff ff mov $0xffffffff,%eax 8010551a: eb c3 jmp 801054df <sys_chdir+0x6f> 8010551c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80105520 <sys_exec>: int sys_exec(void) { 80105520: 55 push %ebp 80105521: 89 e5 mov %esp,%ebp 80105523: 57 push %edi 80105524: 56 push %esi 80105525: 53 push %ebx char *path, *argv[MAXARG]; int i; uint uargv, uarg; if(argstr(0, &path) < 0 || argint(1, (int*)&uargv) < 0){ 80105526: 8d 85 5c ff ff ff lea -0xa4(%ebp),%eax { 8010552c: 81 ec a4 00 00 00 sub $0xa4,%esp if(argstr(0, &path) < 0 || argint(1, (int*)&uargv) < 0){ 80105532: 50 push %eax 80105533: 6a 00 push $0x0 80105535: e8 36 f5 ff ff call 80104a70 <argstr> 8010553a: 83 c4 10 add $0x10,%esp 8010553d: 85 c0 test %eax,%eax 8010553f: 0f 88 87 00 00 00 js 801055cc <sys_exec+0xac> 80105545: 8d 85 60 ff ff ff lea -0xa0(%ebp),%eax 8010554b: 83 ec 08 sub $0x8,%esp 8010554e: 50 push %eax 8010554f: 6a 01 push $0x1 80105551: e8 6a f4 ff ff call 801049c0 <argint> 80105556: 83 c4 10 add $0x10,%esp 80105559: 85 c0 test %eax,%eax 8010555b: 78 6f js 801055cc <sys_exec+0xac> return -1; } memset(argv, 0, sizeof(argv)); 8010555d: 8d 85 68 ff ff ff lea -0x98(%ebp),%eax 80105563: 83 ec 04 sub $0x4,%esp for(i=0;; i++){ 80105566: 31 db xor %ebx,%ebx memset(argv, 0, sizeof(argv)); 80105568: 68 80 00 00 00 push $0x80 8010556d: 6a 00 push $0x0 8010556f: 8d bd 64 ff ff ff lea -0x9c(%ebp),%edi 80105575: 50 push %eax 80105576: e8 45 f1 ff ff call 801046c0 <memset> 8010557b: 83 c4 10 add $0x10,%esp 8010557e: eb 2c jmp 801055ac <sys_exec+0x8c> if(i >= NELEM(argv)) return -1; if(fetchint(uargv+4*i, (int*)&uarg) < 0) return -1; if(uarg == 0){ 80105580: 8b 85 64 ff ff ff mov -0x9c(%ebp),%eax 80105586: 85 c0 test %eax,%eax 80105588: 74 56 je 801055e0 <sys_exec+0xc0> argv[i] = 0; break; } if(fetchstr(uarg, &argv[i]) < 0) 8010558a: 8d 8d 68 ff ff ff lea -0x98(%ebp),%ecx 80105590: 83 ec 08 sub $0x8,%esp 80105593: 8d 14 31 lea (%ecx,%esi,1),%edx 80105596: 52 push %edx 80105597: 50 push %eax 80105598: e8 b3 f3 ff ff call 80104950 <fetchstr> 8010559d: 83 c4 10 add $0x10,%esp 801055a0: 85 c0 test %eax,%eax 801055a2: 78 28 js 801055cc <sys_exec+0xac> for(i=0;; i++){ 801055a4: 83 c3 01 add $0x1,%ebx if(i >= NELEM(argv)) 801055a7: 83 fb 20 cmp $0x20,%ebx 801055aa: 74 20 je 801055cc <sys_exec+0xac> if(fetchint(uargv+4*i, (int*)&uarg) < 0) 801055ac: 8b 85 60 ff ff ff mov -0xa0(%ebp),%eax 801055b2: 8d 34 9d 00 00 00 00 lea 0x0(,%ebx,4),%esi 801055b9: 83 ec 08 sub $0x8,%esp 801055bc: 57 push %edi 801055bd: 01 f0 add %esi,%eax 801055bf: 50 push %eax 801055c0: e8 4b f3 ff ff call 80104910 <fetchint> 801055c5: 83 c4 10 add $0x10,%esp 801055c8: 85 c0 test %eax,%eax 801055ca: 79 b4 jns 80105580 <sys_exec+0x60> return -1; } return exec(path, argv); } 801055cc: 8d 65 f4 lea -0xc(%ebp),%esp return -1; 801055cf: b8 ff ff ff ff mov $0xffffffff,%eax } 801055d4: 5b pop %ebx 801055d5: 5e pop %esi 801055d6: 5f pop %edi 801055d7: 5d pop %ebp 801055d8: c3 ret 801055d9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi return exec(path, argv); 801055e0: 8d 85 68 ff ff ff lea -0x98(%ebp),%eax 801055e6: 83 ec 08 sub $0x8,%esp argv[i] = 0; 801055e9: c7 84 9d 68 ff ff ff movl $0x0,-0x98(%ebp,%ebx,4) 801055f0: 00 00 00 00 return exec(path, argv); 801055f4: 50 push %eax 801055f5: ff b5 5c ff ff ff pushl -0xa4(%ebp) 801055fb: e8 10 b4 ff ff call 80100a10 <exec> 80105600: 83 c4 10 add $0x10,%esp } 80105603: 8d 65 f4 lea -0xc(%ebp),%esp 80105606: 5b pop %ebx 80105607: 5e pop %esi 80105608: 5f pop %edi 80105609: 5d pop %ebp 8010560a: c3 ret 8010560b: 90 nop 8010560c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80105610 <sys_pipe>: int sys_pipe(void) { 80105610: 55 push %ebp 80105611: 89 e5 mov %esp,%ebp 80105613: 57 push %edi 80105614: 56 push %esi 80105615: 53 push %ebx int *fd; struct file *rf, *wf; int fd0, fd1; if(argptr(0, (void*)&fd, 2*sizeof(fd[0])) < 0) 80105616: 8d 45 dc lea -0x24(%ebp),%eax { 80105619: 83 ec 20 sub $0x20,%esp if(argptr(0, (void*)&fd, 2*sizeof(fd[0])) < 0) 8010561c: 6a 08 push $0x8 8010561e: 50 push %eax 8010561f: 6a 00 push $0x0 80105621: e8 ea f3 ff ff call 80104a10 <argptr> 80105626: 83 c4 10 add $0x10,%esp 80105629: 85 c0 test %eax,%eax 8010562b: 0f 88 ae 00 00 00 js 801056df <sys_pipe+0xcf> return -1; if(pipealloc(&rf, &wf) < 0) 80105631: 8d 45 e4 lea -0x1c(%ebp),%eax 80105634: 83 ec 08 sub $0x8,%esp 80105637: 50 push %eax 80105638: 8d 45 e0 lea -0x20(%ebp),%eax 8010563b: 50 push %eax 8010563c: e8 0f dc ff ff call 80103250 <pipealloc> 80105641: 83 c4 10 add $0x10,%esp 80105644: 85 c0 test %eax,%eax 80105646: 0f 88 93 00 00 00 js 801056df <sys_pipe+0xcf> return -1; fd0 = -1; if((fd0 = fdalloc(rf)) < 0 || (fd1 = fdalloc(wf)) < 0){ 8010564c: 8b 7d e0 mov -0x20(%ebp),%edi for(fd = 0; fd < NOFILE; fd++){ 8010564f: 31 db xor %ebx,%ebx struct proc *curproc = myproc(); 80105651: e8 aa e1 ff ff call 80103800 <myproc> 80105656: eb 10 jmp 80105668 <sys_pipe+0x58> 80105658: 90 nop 80105659: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi for(fd = 0; fd < NOFILE; fd++){ 80105660: 83 c3 01 add $0x1,%ebx 80105663: 83 fb 10 cmp $0x10,%ebx 80105666: 74 60 je 801056c8 <sys_pipe+0xb8> if(curproc->ofile[fd] == 0){ 80105668: 8b 74 98 2c mov 0x2c(%eax,%ebx,4),%esi 8010566c: 85 f6 test %esi,%esi 8010566e: 75 f0 jne 80105660 <sys_pipe+0x50> curproc->ofile[fd] = f; 80105670: 8d 73 08 lea 0x8(%ebx),%esi 80105673: 89 7c b0 0c mov %edi,0xc(%eax,%esi,4) if((fd0 = fdalloc(rf)) < 0 || (fd1 = fdalloc(wf)) < 0){ 80105677: 8b 7d e4 mov -0x1c(%ebp),%edi struct proc *curproc = myproc(); 8010567a: e8 81 e1 ff ff call 80103800 <myproc> for(fd = 0; fd < NOFILE; fd++){ 8010567f: 31 d2 xor %edx,%edx 80105681: eb 0d jmp 80105690 <sys_pipe+0x80> 80105683: 90 nop 80105684: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80105688: 83 c2 01 add $0x1,%edx 8010568b: 83 fa 10 cmp $0x10,%edx 8010568e: 74 28 je 801056b8 <sys_pipe+0xa8> if(curproc->ofile[fd] == 0){ 80105690: 8b 4c 90 2c mov 0x2c(%eax,%edx,4),%ecx 80105694: 85 c9 test %ecx,%ecx 80105696: 75 f0 jne 80105688 <sys_pipe+0x78> curproc->ofile[fd] = f; 80105698: 89 7c 90 2c mov %edi,0x2c(%eax,%edx,4) myproc()->ofile[fd0] = 0; fileclose(rf); fileclose(wf); return -1; } fd[0] = fd0; 8010569c: 8b 45 dc mov -0x24(%ebp),%eax 8010569f: 89 18 mov %ebx,(%eax) fd[1] = fd1; 801056a1: 8b 45 dc mov -0x24(%ebp),%eax 801056a4: 89 50 04 mov %edx,0x4(%eax) return 0; 801056a7: 31 c0 xor %eax,%eax } 801056a9: 8d 65 f4 lea -0xc(%ebp),%esp 801056ac: 5b pop %ebx 801056ad: 5e pop %esi 801056ae: 5f pop %edi 801056af: 5d pop %ebp 801056b0: c3 ret 801056b1: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi myproc()->ofile[fd0] = 0; 801056b8: e8 43 e1 ff ff call 80103800 <myproc> 801056bd: c7 44 b0 0c 00 00 00 movl $0x0,0xc(%eax,%esi,4) 801056c4: 00 801056c5: 8d 76 00 lea 0x0(%esi),%esi fileclose(rf); 801056c8: 83 ec 0c sub $0xc,%esp 801056cb: ff 75 e0 pushl -0x20(%ebp) 801056ce: e8 6d b7 ff ff call 80100e40 <fileclose> fileclose(wf); 801056d3: 58 pop %eax 801056d4: ff 75 e4 pushl -0x1c(%ebp) 801056d7: e8 64 b7 ff ff call 80100e40 <fileclose> return -1; 801056dc: 83 c4 10 add $0x10,%esp 801056df: b8 ff ff ff ff mov $0xffffffff,%eax 801056e4: eb c3 jmp 801056a9 <sys_pipe+0x99> 801056e6: 66 90 xchg %ax,%ax 801056e8: 66 90 xchg %ax,%ax 801056ea: 66 90 xchg %ax,%ax 801056ec: 66 90 xchg %ax,%ax 801056ee: 66 90 xchg %ax,%ax 801056f0 <sys_fork>: #include "proc.h" #include "processInfo.h" int sys_fork(void) { 801056f0: 55 push %ebp 801056f1: 89 e5 mov %esp,%ebp return fork(); } 801056f3: 5d pop %ebp return fork(); 801056f4: e9 a7 e2 ff ff jmp 801039a0 <fork> 801056f9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 80105700 <sys_exit>: int sys_exit(void) { 80105700: 55 push %ebp 80105701: 89 e5 mov %esp,%ebp 80105703: 83 ec 08 sub $0x8,%esp exit(); 80105706: e8 75 e5 ff ff call 80103c80 <exit> return 0; // not reached } 8010570b: 31 c0 xor %eax,%eax 8010570d: c9 leave 8010570e: c3 ret 8010570f: 90 nop 80105710 <sys_wait>: int sys_wait(void) { 80105710: 55 push %ebp 80105711: 89 e5 mov %esp,%ebp return wait(); } 80105713: 5d pop %ebp return wait(); 80105714: e9 a7 e7 ff ff jmp 80103ec0 <wait> 80105719: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 80105720 <sys_kill>: int sys_kill(void) { 80105720: 55 push %ebp 80105721: 89 e5 mov %esp,%ebp 80105723: 83 ec 20 sub $0x20,%esp int pid; if(argint(0, &pid) < 0) 80105726: 8d 45 f4 lea -0xc(%ebp),%eax 80105729: 50 push %eax 8010572a: 6a 00 push $0x0 8010572c: e8 8f f2 ff ff call 801049c0 <argint> 80105731: 83 c4 10 add $0x10,%esp 80105734: 85 c0 test %eax,%eax 80105736: 78 18 js 80105750 <sys_kill+0x30> return -1; return kill(pid); 80105738: 83 ec 0c sub $0xc,%esp 8010573b: ff 75 f4 pushl -0xc(%ebp) 8010573e: e8 dd e8 ff ff call 80104020 <kill> 80105743: 83 c4 10 add $0x10,%esp } 80105746: c9 leave 80105747: c3 ret 80105748: 90 nop 80105749: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi return -1; 80105750: b8 ff ff ff ff mov $0xffffffff,%eax } 80105755: c9 leave 80105756: c3 ret 80105757: 89 f6 mov %esi,%esi 80105759: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80105760 <sys_getpid>: int sys_getpid(void) { 80105760: 55 push %ebp 80105761: 89 e5 mov %esp,%ebp 80105763: 83 ec 08 sub $0x8,%esp return myproc()->pid; 80105766: e8 95 e0 ff ff call 80103800 <myproc> 8010576b: 8b 40 10 mov 0x10(%eax),%eax } 8010576e: c9 leave 8010576f: c3 ret 80105770 <sys_sbrk>: int sys_sbrk(void) { 80105770: 55 push %ebp 80105771: 89 e5 mov %esp,%ebp 80105773: 53 push %ebx int addr; int n; if(argint(0, &n) < 0) 80105774: 8d 45 f4 lea -0xc(%ebp),%eax { 80105777: 83 ec 1c sub $0x1c,%esp if(argint(0, &n) < 0) 8010577a: 50 push %eax 8010577b: 6a 00 push $0x0 8010577d: e8 3e f2 ff ff call 801049c0 <argint> 80105782: 83 c4 10 add $0x10,%esp 80105785: 85 c0 test %eax,%eax 80105787: 78 27 js 801057b0 <sys_sbrk+0x40> return -1; addr = myproc()->sz; 80105789: e8 72 e0 ff ff call 80103800 <myproc> if(growproc(n) < 0) 8010578e: 83 ec 0c sub $0xc,%esp addr = myproc()->sz; 80105791: 8b 18 mov (%eax),%ebx if(growproc(n) < 0) 80105793: ff 75 f4 pushl -0xc(%ebp) 80105796: e8 85 e1 ff ff call 80103920 <growproc> 8010579b: 83 c4 10 add $0x10,%esp 8010579e: 85 c0 test %eax,%eax 801057a0: 78 0e js 801057b0 <sys_sbrk+0x40> return -1; return addr; } 801057a2: 89 d8 mov %ebx,%eax 801057a4: 8b 5d fc mov -0x4(%ebp),%ebx 801057a7: c9 leave 801057a8: c3 ret 801057a9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi return -1; 801057b0: bb ff ff ff ff mov $0xffffffff,%ebx 801057b5: eb eb jmp 801057a2 <sys_sbrk+0x32> 801057b7: 89 f6 mov %esi,%esi 801057b9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 801057c0 <sys_sleep>: int sys_sleep(void) { 801057c0: 55 push %ebp 801057c1: 89 e5 mov %esp,%ebp 801057c3: 53 push %ebx int n; uint ticks0; if(argint(0, &n) < 0) 801057c4: 8d 45 f4 lea -0xc(%ebp),%eax { 801057c7: 83 ec 1c sub $0x1c,%esp if(argint(0, &n) < 0) 801057ca: 50 push %eax 801057cb: 6a 00 push $0x0 801057cd: e8 ee f1 ff ff call 801049c0 <argint> 801057d2: 83 c4 10 add $0x10,%esp 801057d5: 85 c0 test %eax,%eax 801057d7: 0f 88 8a 00 00 00 js 80105867 <sys_sleep+0xa7> return -1; acquire(&tickslock); 801057dd: 83 ec 0c sub $0xc,%esp 801057e0: 68 60 50 11 80 push $0x80115060 801057e5: e8 c6 ed ff ff call 801045b0 <acquire> ticks0 = ticks; while(ticks - ticks0 < n){ 801057ea: 8b 55 f4 mov -0xc(%ebp),%edx 801057ed: 83 c4 10 add $0x10,%esp ticks0 = ticks; 801057f0: 8b 1d a0 58 11 80 mov 0x801158a0,%ebx while(ticks - ticks0 < n){ 801057f6: 85 d2 test %edx,%edx 801057f8: 75 27 jne 80105821 <sys_sleep+0x61> 801057fa: eb 54 jmp 80105850 <sys_sleep+0x90> 801057fc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi if(myproc()->killed){ release(&tickslock); return -1; } sleep(&ticks, &tickslock); 80105800: 83 ec 08 sub $0x8,%esp 80105803: 68 60 50 11 80 push $0x80115060 80105808: 68 a0 58 11 80 push $0x801158a0 8010580d: e8 ee e5 ff ff call 80103e00 <sleep> while(ticks - ticks0 < n){ 80105812: a1 a0 58 11 80 mov 0x801158a0,%eax 80105817: 83 c4 10 add $0x10,%esp 8010581a: 29 d8 sub %ebx,%eax 8010581c: 3b 45 f4 cmp -0xc(%ebp),%eax 8010581f: 73 2f jae 80105850 <sys_sleep+0x90> if(myproc()->killed){ 80105821: e8 da df ff ff call 80103800 <myproc> 80105826: 8b 40 28 mov 0x28(%eax),%eax 80105829: 85 c0 test %eax,%eax 8010582b: 74 d3 je 80105800 <sys_sleep+0x40> release(&tickslock); 8010582d: 83 ec 0c sub $0xc,%esp 80105830: 68 60 50 11 80 push $0x80115060 80105835: e8 36 ee ff ff call 80104670 <release> return -1; 8010583a: 83 c4 10 add $0x10,%esp 8010583d: b8 ff ff ff ff mov $0xffffffff,%eax } release(&tickslock); return 0; } 80105842: 8b 5d fc mov -0x4(%ebp),%ebx 80105845: c9 leave 80105846: c3 ret 80105847: 89 f6 mov %esi,%esi 80105849: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi release(&tickslock); 80105850: 83 ec 0c sub $0xc,%esp 80105853: 68 60 50 11 80 push $0x80115060 80105858: e8 13 ee ff ff call 80104670 <release> return 0; 8010585d: 83 c4 10 add $0x10,%esp 80105860: 31 c0 xor %eax,%eax } 80105862: 8b 5d fc mov -0x4(%ebp),%ebx 80105865: c9 leave 80105866: c3 ret return -1; 80105867: b8 ff ff ff ff mov $0xffffffff,%eax 8010586c: eb f4 jmp 80105862 <sys_sleep+0xa2> 8010586e: 66 90 xchg %ax,%ax 80105870 <sys_uptime>: // return how many clock tick interrupts have occurred // since start. int sys_uptime(void) { 80105870: 55 push %ebp 80105871: 89 e5 mov %esp,%ebp 80105873: 53 push %ebx 80105874: 83 ec 10 sub $0x10,%esp uint xticks; acquire(&tickslock); 80105877: 68 60 50 11 80 push $0x80115060 8010587c: e8 2f ed ff ff call 801045b0 <acquire> xticks = ticks; 80105881: 8b 1d a0 58 11 80 mov 0x801158a0,%ebx release(&tickslock); 80105887: c7 04 24 60 50 11 80 movl $0x80115060,(%esp) 8010588e: e8 dd ed ff ff call 80104670 <release> return xticks; } 80105893: 89 d8 mov %ebx,%eax 80105895: 8b 5d fc mov -0x4(%ebp),%ebx 80105898: c9 leave 80105899: c3 ret 8010589a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 801058a0 <sys_hello>: int sys_hello(void) { 801058a0: 55 push %ebp 801058a1: 89 e5 mov %esp,%ebp 801058a3: 83 ec 14 sub $0x14,%esp cprintf("helloxv6\n"); 801058a6: 68 55 7a 10 80 push $0x80107a55 801058ab: e8 b0 ad ff ff call 80100660 <cprintf> return 0; } 801058b0: 31 c0 xor %eax,%eax 801058b2: c9 leave 801058b3: c3 ret 801058b4: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 801058ba: 8d bf 00 00 00 00 lea 0x0(%edi),%edi 801058c0 <sys_helloname>: int sys_helloname(char *name) { 801058c0: 55 push %ebp 801058c1: 89 e5 mov %esp,%ebp 801058c3: 83 ec 0c sub $0xc,%esp argptr(0,(void*)&name, sizeof(name)); 801058c6: 8d 45 08 lea 0x8(%ebp),%eax 801058c9: 6a 04 push $0x4 801058cb: 50 push %eax 801058cc: 6a 00 push $0x0 801058ce: e8 3d f1 ff ff call 80104a10 <argptr> cprintf("hello %s\n",name); 801058d3: 58 pop %eax 801058d4: 5a pop %edx 801058d5: ff 75 08 pushl 0x8(%ebp) 801058d8: 68 5f 7a 10 80 push $0x80107a5f 801058dd: e8 7e ad ff ff call 80100660 <cprintf> return 0; } 801058e2: 31 c0 xor %eax,%eax 801058e4: c9 leave 801058e5: c3 ret 801058e6: 8d 76 00 lea 0x0(%esi),%esi 801058e9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 801058f0 <sys_getnumproc>: int sys_getnumproc(void) { 801058f0: 55 push %ebp 801058f1: 89 e5 mov %esp,%ebp 801058f3: 83 ec 08 sub $0x8,%esp // argint(0,&proc); cprintf("Total number of Active Processes: %d\n",getnumproc()); 801058f6: e8 75 e8 ff ff call 80104170 <getnumproc> 801058fb: 83 ec 08 sub $0x8,%esp 801058fe: 50 push %eax 801058ff: 68 7c 7a 10 80 push $0x80107a7c 80105904: e8 57 ad ff ff call 80100660 <cprintf> return 0; } 80105909: 31 c0 xor %eax,%eax 8010590b: c9 leave 8010590c: c3 ret 8010590d: 8d 76 00 lea 0x0(%esi),%esi 80105910 <sys_getmaxpid>: int sys_getmaxpid(void) { 80105910: 55 push %ebp 80105911: 89 e5 mov %esp,%ebp 80105913: 83 ec 08 sub $0x8,%esp int size; if(argint(0,&size)<0 || argptr(1,(void*)&tmp, sizeof(*tmp))<0) { return -1; }*/ cprintf("Maximum PID: %d\n",getmaxpid()); 80105916: e8 a5 e8 ff ff call 801041c0 <getmaxpid> 8010591b: 83 ec 08 sub $0x8,%esp 8010591e: 50 push %eax 8010591f: 68 69 7a 10 80 push $0x80107a69 80105924: e8 37 ad ff ff call 80100660 <cprintf> return 0; } 80105929: 31 c0 xor %eax,%eax 8010592b: c9 leave 8010592c: c3 ret 8010592d: 8d 76 00 lea 0x0(%esi),%esi 80105930 <sys_getprocinfo>: int sys_getprocinfo(void) { 80105930: 55 push %ebp 80105931: 89 e5 mov %esp,%ebp 80105933: 83 ec 24 sub $0x24,%esp cprintf("PID PPID SIZE Number of Context Switch\n"); 80105936: 68 a4 7a 10 80 push $0x80107aa4 8010593b: e8 20 ad ff ff call 80100660 <cprintf> int pid; struct processInfo *tmp; if(argint(0,&pid)<0 ||argptr(1,(void*)&tmp,sizeof(*tmp))<0) 80105940: 58 pop %eax 80105941: 8d 45 f0 lea -0x10(%ebp),%eax 80105944: 5a pop %edx 80105945: 50 push %eax 80105946: 6a 00 push $0x0 80105948: e8 73 f0 ff ff call 801049c0 <argint> 8010594d: 83 c4 10 add $0x10,%esp 80105950: 85 c0 test %eax,%eax 80105952: 78 2c js 80105980 <sys_getprocinfo+0x50> 80105954: 8d 45 f4 lea -0xc(%ebp),%eax 80105957: 83 ec 04 sub $0x4,%esp 8010595a: 6a 0c push $0xc 8010595c: 50 push %eax 8010595d: 6a 01 push $0x1 8010595f: e8 ac f0 ff ff call 80104a10 <argptr> 80105964: 83 c4 10 add $0x10,%esp 80105967: 85 c0 test %eax,%eax 80105969: 78 15 js 80105980 <sys_getprocinfo+0x50> return -1; getprocinfo(pid, tmp); 8010596b: 83 ec 08 sub $0x8,%esp 8010596e: ff 75 f4 pushl -0xc(%ebp) 80105971: ff 75 f0 pushl -0x10(%ebp) 80105974: e8 97 e8 ff ff call 80104210 <getprocinfo> return 0; 80105979: 83 c4 10 add $0x10,%esp 8010597c: 31 c0 xor %eax,%eax } 8010597e: c9 leave 8010597f: c3 ret return -1; 80105980: b8 ff ff ff ff mov $0xffffffff,%eax } 80105985: c9 leave 80105986: c3 ret 80105987: 89 f6 mov %esi,%esi 80105989: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80105990 <sys_setprio>: int sys_setprio(int newPrio) { 80105990: 55 push %ebp 80105991: 89 e5 mov %esp,%ebp 80105993: 83 ec 10 sub $0x10,%esp //cprintf("new:%d\n",newPrio); //cprintf("newprio of pre-arg: %d\n", newPrio); argint(0,&newPrio); 80105996: 8d 45 08 lea 0x8(%ebp),%eax 80105999: 50 push %eax 8010599a: 6a 00 push $0x0 8010599c: e8 1f f0 ff ff call 801049c0 <argint> //cprintf("newprio arg:%d\n",newPrio); //cprintf("proc %s priority changed ; new prio: %d\n",p->name,p->priority); //setprio(newPrio); return setprio(newPrio); 801059a1: 58 pop %eax 801059a2: ff 75 08 pushl 0x8(%ebp) 801059a5: e8 f6 e8 ff ff call 801042a0 <setprio> } 801059aa: c9 leave 801059ab: c3 ret 801059ac: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 801059b0 <sys_getprio>: int sys_getprio(void) { 801059b0: 55 push %ebp 801059b1: 89 e5 mov %esp,%ebp //getprio(); return getprio(); } 801059b3: 5d pop %ebp return getprio(); 801059b4: e9 37 e9 ff ff jmp 801042f0 <getprio> 801059b9 <alltraps>: # vectors.S sends all traps here. .globl alltraps alltraps: # Build trap frame. pushl %ds 801059b9: 1e push %ds pushl %es 801059ba: 06 push %es pushl %fs 801059bb: 0f a0 push %fs pushl %gs 801059bd: 0f a8 push %gs pushal 801059bf: 60 pusha # Set up data segments. movw $(SEG_KDATA<<3), %ax 801059c0: 66 b8 10 00 mov $0x10,%ax movw %ax, %ds 801059c4: 8e d8 mov %eax,%ds movw %ax, %es 801059c6: 8e c0 mov %eax,%es # Call trap(tf), where tf=%esp pushl %esp 801059c8: 54 push %esp call trap 801059c9: e8 c2 00 00 00 call 80105a90 <trap> addl $4, %esp 801059ce: 83 c4 04 add $0x4,%esp 801059d1 <trapret>: # Return falls through to trapret... .globl trapret trapret: popal 801059d1: 61 popa popl %gs 801059d2: 0f a9 pop %gs popl %fs 801059d4: 0f a1 pop %fs popl %es 801059d6: 07 pop %es popl %ds 801059d7: 1f pop %ds addl $0x8, %esp # trapno and errcode 801059d8: 83 c4 08 add $0x8,%esp iret 801059db: cf iret 801059dc: 66 90 xchg %ax,%ax 801059de: 66 90 xchg %ax,%ax 801059e0 <tvinit>: struct spinlock tickslock; uint ticks; void tvinit(void) { 801059e0: 55 push %ebp int i; for(i = 0; i < 256; i++) 801059e1: 31 c0 xor %eax,%eax { 801059e3: 89 e5 mov %esp,%ebp 801059e5: 83 ec 08 sub $0x8,%esp 801059e8: 90 nop 801059e9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi SETGATE(idt[i], 0, SEG_KCODE<<3, vectors[i], 0); 801059f0: 8b 14 85 08 a0 10 80 mov -0x7fef5ff8(,%eax,4),%edx 801059f7: c7 04 c5 a2 50 11 80 movl $0x8e000008,-0x7feeaf5e(,%eax,8) 801059fe: 08 00 00 8e 80105a02: 66 89 14 c5 a0 50 11 mov %dx,-0x7feeaf60(,%eax,8) 80105a09: 80 80105a0a: c1 ea 10 shr $0x10,%edx 80105a0d: 66 89 14 c5 a6 50 11 mov %dx,-0x7feeaf5a(,%eax,8) 80105a14: 80 for(i = 0; i < 256; i++) 80105a15: 83 c0 01 add $0x1,%eax 80105a18: 3d 00 01 00 00 cmp $0x100,%eax 80105a1d: 75 d1 jne 801059f0 <tvinit+0x10> SETGATE(idt[T_SYSCALL], 1, SEG_KCODE<<3, vectors[T_SYSCALL], DPL_USER); 80105a1f: a1 08 a1 10 80 mov 0x8010a108,%eax initlock(&tickslock, "time"); 80105a24: 83 ec 08 sub $0x8,%esp SETGATE(idt[T_SYSCALL], 1, SEG_KCODE<<3, vectors[T_SYSCALL], DPL_USER); 80105a27: c7 05 a2 52 11 80 08 movl $0xef000008,0x801152a2 80105a2e: 00 00 ef initlock(&tickslock, "time"); 80105a31: 68 d4 7a 10 80 push $0x80107ad4 80105a36: 68 60 50 11 80 push $0x80115060 SETGATE(idt[T_SYSCALL], 1, SEG_KCODE<<3, vectors[T_SYSCALL], DPL_USER); 80105a3b: 66 a3 a0 52 11 80 mov %ax,0x801152a0 80105a41: c1 e8 10 shr $0x10,%eax 80105a44: 66 a3 a6 52 11 80 mov %ax,0x801152a6 initlock(&tickslock, "time"); 80105a4a: e8 21 ea ff ff call 80104470 <initlock> } 80105a4f: 83 c4 10 add $0x10,%esp 80105a52: c9 leave 80105a53: c3 ret 80105a54: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 80105a5a: 8d bf 00 00 00 00 lea 0x0(%edi),%edi 80105a60 <idtinit>: void idtinit(void) { 80105a60: 55 push %ebp pd[0] = size-1; 80105a61: b8 ff 07 00 00 mov $0x7ff,%eax 80105a66: 89 e5 mov %esp,%ebp 80105a68: 83 ec 10 sub $0x10,%esp 80105a6b: 66 89 45 fa mov %ax,-0x6(%ebp) pd[1] = (uint)p; 80105a6f: b8 a0 50 11 80 mov $0x801150a0,%eax 80105a74: 66 89 45 fc mov %ax,-0x4(%ebp) pd[2] = (uint)p >> 16; 80105a78: c1 e8 10 shr $0x10,%eax 80105a7b: 66 89 45 fe mov %ax,-0x2(%ebp) asm volatile("lidt (%0)" : : "r" (pd)); 80105a7f: 8d 45 fa lea -0x6(%ebp),%eax 80105a82: 0f 01 18 lidtl (%eax) lidt(idt, sizeof(idt)); } 80105a85: c9 leave 80105a86: c3 ret 80105a87: 89 f6 mov %esi,%esi 80105a89: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80105a90 <trap>: //PAGEBREAK: 41 void trap(struct trapframe *tf) { 80105a90: 55 push %ebp 80105a91: 89 e5 mov %esp,%ebp 80105a93: 57 push %edi 80105a94: 56 push %esi 80105a95: 53 push %ebx 80105a96: 83 ec 1c sub $0x1c,%esp 80105a99: 8b 7d 08 mov 0x8(%ebp),%edi if(tf->trapno == T_SYSCALL){ 80105a9c: 8b 47 30 mov 0x30(%edi),%eax 80105a9f: 83 f8 40 cmp $0x40,%eax 80105aa2: 0f 84 f0 00 00 00 je 80105b98 <trap+0x108> if(myproc()->killed) exit(); return; } switch(tf->trapno){ 80105aa8: 83 e8 20 sub $0x20,%eax 80105aab: 83 f8 1f cmp $0x1f,%eax 80105aae: 77 10 ja 80105ac0 <trap+0x30> 80105ab0: ff 24 85 7c 7b 10 80 jmp *-0x7fef8484(,%eax,4) 80105ab7: 89 f6 mov %esi,%esi 80105ab9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi lapiceoi(); break; //PAGEBREAK: 13 default: if(myproc() == 0 || (tf->cs&3) == 0){ 80105ac0: e8 3b dd ff ff call 80103800 <myproc> 80105ac5: 85 c0 test %eax,%eax 80105ac7: 8b 5f 38 mov 0x38(%edi),%ebx 80105aca: 0f 84 42 02 00 00 je 80105d12 <trap+0x282> 80105ad0: f6 47 3c 03 testb $0x3,0x3c(%edi) 80105ad4: 0f 84 38 02 00 00 je 80105d12 <trap+0x282> static inline uint rcr2(void) { uint val; asm volatile("movl %%cr2,%0" : "=r" (val)); 80105ada: 0f 20 d1 mov %cr2,%ecx 80105add: 89 4d d8 mov %ecx,-0x28(%ebp) cprintf("unexpected trap %d from cpu %d eip %x (cr2=0x%x)\n", tf->trapno, cpuid(), tf->eip, rcr2()); panic("trap"); } // In user space, assume process misbehaved. cprintf("pid %d %s: trap %d err %d on cpu %d " 80105ae0: e8 fb dc ff ff call 801037e0 <cpuid> 80105ae5: 89 45 dc mov %eax,-0x24(%ebp) 80105ae8: 8b 47 34 mov 0x34(%edi),%eax 80105aeb: 8b 77 30 mov 0x30(%edi),%esi 80105aee: 89 45 e4 mov %eax,-0x1c(%ebp) "eip 0x%x addr 0x%x--kill proc\n", myproc()->pid, myproc()->name, tf->trapno, 80105af1: e8 0a dd ff ff call 80103800 <myproc> 80105af6: 89 45 e0 mov %eax,-0x20(%ebp) 80105af9: e8 02 dd ff ff call 80103800 <myproc> cprintf("pid %d %s: trap %d err %d on cpu %d " 80105afe: 8b 4d d8 mov -0x28(%ebp),%ecx 80105b01: 8b 55 dc mov -0x24(%ebp),%edx 80105b04: 51 push %ecx 80105b05: 53 push %ebx 80105b06: 52 push %edx myproc()->pid, myproc()->name, tf->trapno, 80105b07: 8b 55 e0 mov -0x20(%ebp),%edx cprintf("pid %d %s: trap %d err %d on cpu %d " 80105b0a: ff 75 e4 pushl -0x1c(%ebp) 80105b0d: 56 push %esi myproc()->pid, myproc()->name, tf->trapno, 80105b0e: 83 c2 70 add $0x70,%edx cprintf("pid %d %s: trap %d err %d on cpu %d " 80105b11: 52 push %edx 80105b12: ff 70 10 pushl 0x10(%eax) 80105b15: 68 38 7b 10 80 push $0x80107b38 80105b1a: e8 41 ab ff ff call 80100660 <cprintf> tf->err, cpuid(), tf->eip, rcr2()); myproc()->killed = 1; 80105b1f: 83 c4 20 add $0x20,%esp 80105b22: e8 d9 dc ff ff call 80103800 <myproc> 80105b27: c7 40 28 01 00 00 00 movl $0x1,0x28(%eax) } // Force process exit if it has been killed and is in user space. // (If it is still executing in the kernel, let it keep running // until it gets to the regular system call return.) if(myproc() && myproc()->killed && (tf->cs&3) == DPL_USER) 80105b2e: e8 cd dc ff ff call 80103800 <myproc> 80105b33: 85 c0 test %eax,%eax 80105b35: 74 1d je 80105b54 <trap+0xc4> 80105b37: e8 c4 dc ff ff call 80103800 <myproc> 80105b3c: 8b 50 28 mov 0x28(%eax),%edx 80105b3f: 85 d2 test %edx,%edx 80105b41: 74 11 je 80105b54 <trap+0xc4> 80105b43: 0f b7 47 3c movzwl 0x3c(%edi),%eax 80105b47: 83 e0 03 and $0x3,%eax 80105b4a: 66 83 f8 03 cmp $0x3,%ax 80105b4e: 0f 84 6c 01 00 00 je 80105cc0 <trap+0x230> exit(); // Force process to give up CPU on clock tick. // If interrupts were on while locks held, would need to check nlock. if(myproc() && myproc()->state == RUNNING && 80105b54: e8 a7 dc ff ff call 80103800 <myproc> 80105b59: 85 c0 test %eax,%eax 80105b5b: 74 0b je 80105b68 <trap+0xd8> 80105b5d: e8 9e dc ff ff call 80103800 <myproc> 80105b62: 83 78 0c 04 cmpl $0x4,0xc(%eax) 80105b66: 74 68 je 80105bd0 <trap+0x140> else yield(); } // Check if the process has been killed since we yielded if(myproc() && myproc()->killed && (tf->cs&3) == DPL_USER) 80105b68: e8 93 dc ff ff call 80103800 <myproc> 80105b6d: 85 c0 test %eax,%eax 80105b6f: 74 19 je 80105b8a <trap+0xfa> 80105b71: e8 8a dc ff ff call 80103800 <myproc> 80105b76: 8b 40 28 mov 0x28(%eax),%eax 80105b79: 85 c0 test %eax,%eax 80105b7b: 74 0d je 80105b8a <trap+0xfa> 80105b7d: 0f b7 47 3c movzwl 0x3c(%edi),%eax 80105b81: 83 e0 03 and $0x3,%eax 80105b84: 66 83 f8 03 cmp $0x3,%ax 80105b88: 74 37 je 80105bc1 <trap+0x131> exit(); } 80105b8a: 8d 65 f4 lea -0xc(%ebp),%esp 80105b8d: 5b pop %ebx 80105b8e: 5e pop %esi 80105b8f: 5f pop %edi 80105b90: 5d pop %ebp 80105b91: c3 ret 80105b92: 8d b6 00 00 00 00 lea 0x0(%esi),%esi if(myproc()->killed) 80105b98: e8 63 dc ff ff call 80103800 <myproc> 80105b9d: 8b 58 28 mov 0x28(%eax),%ebx 80105ba0: 85 db test %ebx,%ebx 80105ba2: 0f 85 08 01 00 00 jne 80105cb0 <trap+0x220> myproc()->tf = tf; 80105ba8: e8 53 dc ff ff call 80103800 <myproc> 80105bad: 89 78 18 mov %edi,0x18(%eax) syscall(); 80105bb0: e8 fb ee ff ff call 80104ab0 <syscall> if(myproc()->killed) 80105bb5: e8 46 dc ff ff call 80103800 <myproc> 80105bba: 8b 48 28 mov 0x28(%eax),%ecx 80105bbd: 85 c9 test %ecx,%ecx 80105bbf: 74 c9 je 80105b8a <trap+0xfa> } 80105bc1: 8d 65 f4 lea -0xc(%ebp),%esp 80105bc4: 5b pop %ebx 80105bc5: 5e pop %esi 80105bc6: 5f pop %edi 80105bc7: 5d pop %ebp exit(); 80105bc8: e9 b3 e0 ff ff jmp 80103c80 <exit> 80105bcd: 8d 76 00 lea 0x0(%esi),%esi if(myproc() && myproc()->state == RUNNING && 80105bd0: 83 7f 30 20 cmpl $0x20,0x30(%edi) 80105bd4: 75 92 jne 80105b68 <trap+0xd8> struct proc *p = myproc(); 80105bd6: e8 25 dc ff ff call 80103800 <myproc> int current= p->current_slice; 80105bdb: 8b 98 84 00 00 00 mov 0x84(%eax),%ebx if(current) 80105be1: 85 db test %ebx,%ebx 80105be3: 0f 84 1f 01 00 00 je 80105d08 <trap+0x278> myproc()->current_slice=current-1; 80105be9: 83 eb 01 sub $0x1,%ebx 80105bec: e8 0f dc ff ff call 80103800 <myproc> 80105bf1: 89 98 84 00 00 00 mov %ebx,0x84(%eax) 80105bf7: e9 6c ff ff ff jmp 80105b68 <trap+0xd8> 80105bfc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi if(cpuid() == 0){ 80105c00: e8 db db ff ff call 801037e0 <cpuid> 80105c05: 85 c0 test %eax,%eax 80105c07: 0f 84 c3 00 00 00 je 80105cd0 <trap+0x240> lapiceoi(); 80105c0d: e8 4e cb ff ff call 80102760 <lapiceoi> if(myproc() && myproc()->killed && (tf->cs&3) == DPL_USER) 80105c12: e8 e9 db ff ff call 80103800 <myproc> 80105c17: 85 c0 test %eax,%eax 80105c19: 0f 85 18 ff ff ff jne 80105b37 <trap+0xa7> 80105c1f: e9 30 ff ff ff jmp 80105b54 <trap+0xc4> 80105c24: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi kbdintr(); 80105c28: e8 f3 c9 ff ff call 80102620 <kbdintr> lapiceoi(); 80105c2d: e8 2e cb ff ff call 80102760 <lapiceoi> if(myproc() && myproc()->killed && (tf->cs&3) == DPL_USER) 80105c32: e8 c9 db ff ff call 80103800 <myproc> 80105c37: 85 c0 test %eax,%eax 80105c39: 0f 85 f8 fe ff ff jne 80105b37 <trap+0xa7> 80105c3f: e9 10 ff ff ff jmp 80105b54 <trap+0xc4> 80105c44: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi uartintr(); 80105c48: e8 63 02 00 00 call 80105eb0 <uartintr> lapiceoi(); 80105c4d: e8 0e cb ff ff call 80102760 <lapiceoi> if(myproc() && myproc()->killed && (tf->cs&3) == DPL_USER) 80105c52: e8 a9 db ff ff call 80103800 <myproc> 80105c57: 85 c0 test %eax,%eax 80105c59: 0f 85 d8 fe ff ff jne 80105b37 <trap+0xa7> 80105c5f: e9 f0 fe ff ff jmp 80105b54 <trap+0xc4> 80105c64: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi cprintf("cpu%d: spurious interrupt at %x:%x\n", 80105c68: 0f b7 5f 3c movzwl 0x3c(%edi),%ebx 80105c6c: 8b 77 38 mov 0x38(%edi),%esi 80105c6f: e8 6c db ff ff call 801037e0 <cpuid> 80105c74: 56 push %esi 80105c75: 53 push %ebx 80105c76: 50 push %eax 80105c77: 68 e0 7a 10 80 push $0x80107ae0 80105c7c: e8 df a9 ff ff call 80100660 <cprintf> lapiceoi(); 80105c81: e8 da ca ff ff call 80102760 <lapiceoi> break; 80105c86: 83 c4 10 add $0x10,%esp if(myproc() && myproc()->killed && (tf->cs&3) == DPL_USER) 80105c89: e8 72 db ff ff call 80103800 <myproc> 80105c8e: 85 c0 test %eax,%eax 80105c90: 0f 85 a1 fe ff ff jne 80105b37 <trap+0xa7> 80105c96: e9 b9 fe ff ff jmp 80105b54 <trap+0xc4> 80105c9b: 90 nop 80105c9c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi ideintr(); 80105ca0: e8 eb c3 ff ff call 80102090 <ideintr> 80105ca5: e9 63 ff ff ff jmp 80105c0d <trap+0x17d> 80105caa: 8d b6 00 00 00 00 lea 0x0(%esi),%esi exit(); 80105cb0: e8 cb df ff ff call 80103c80 <exit> 80105cb5: e9 ee fe ff ff jmp 80105ba8 <trap+0x118> 80105cba: 8d b6 00 00 00 00 lea 0x0(%esi),%esi exit(); 80105cc0: e8 bb df ff ff call 80103c80 <exit> 80105cc5: e9 8a fe ff ff jmp 80105b54 <trap+0xc4> 80105cca: 8d b6 00 00 00 00 lea 0x0(%esi),%esi acquire(&tickslock); 80105cd0: 83 ec 0c sub $0xc,%esp 80105cd3: 68 60 50 11 80 push $0x80115060 80105cd8: e8 d3 e8 ff ff call 801045b0 <acquire> wakeup(&ticks); 80105cdd: c7 04 24 a0 58 11 80 movl $0x801158a0,(%esp) ticks++; 80105ce4: 83 05 a0 58 11 80 01 addl $0x1,0x801158a0 wakeup(&ticks); 80105ceb: e8 d0 e2 ff ff call 80103fc0 <wakeup> release(&tickslock); 80105cf0: c7 04 24 60 50 11 80 movl $0x80115060,(%esp) 80105cf7: e8 74 e9 ff ff call 80104670 <release> 80105cfc: 83 c4 10 add $0x10,%esp 80105cff: e9 09 ff ff ff jmp 80105c0d <trap+0x17d> 80105d04: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi yield(); 80105d08: e8 a3 e0 ff ff call 80103db0 <yield> 80105d0d: e9 56 fe ff ff jmp 80105b68 <trap+0xd8> 80105d12: 0f 20 d6 mov %cr2,%esi cprintf("unexpected trap %d from cpu %d eip %x (cr2=0x%x)\n", 80105d15: e8 c6 da ff ff call 801037e0 <cpuid> 80105d1a: 83 ec 0c sub $0xc,%esp 80105d1d: 56 push %esi 80105d1e: 53 push %ebx 80105d1f: 50 push %eax 80105d20: ff 77 30 pushl 0x30(%edi) 80105d23: 68 04 7b 10 80 push $0x80107b04 80105d28: e8 33 a9 ff ff call 80100660 <cprintf> panic("trap"); 80105d2d: 83 c4 14 add $0x14,%esp 80105d30: 68 d9 7a 10 80 push $0x80107ad9 80105d35: e8 56 a6 ff ff call 80100390 <panic> 80105d3a: 66 90 xchg %ax,%ax 80105d3c: 66 90 xchg %ax,%ax 80105d3e: 66 90 xchg %ax,%ax 80105d40 <uartgetc>: } static int uartgetc(void) { if(!uart) 80105d40: a1 bc a5 10 80 mov 0x8010a5bc,%eax { 80105d45: 55 push %ebp 80105d46: 89 e5 mov %esp,%ebp if(!uart) 80105d48: 85 c0 test %eax,%eax 80105d4a: 74 1c je 80105d68 <uartgetc+0x28> asm volatile("in %1,%0" : "=a" (data) : "d" (port)); 80105d4c: ba fd 03 00 00 mov $0x3fd,%edx 80105d51: ec in (%dx),%al return -1; if(!(inb(COM1+5) & 0x01)) 80105d52: a8 01 test $0x1,%al 80105d54: 74 12 je 80105d68 <uartgetc+0x28> 80105d56: ba f8 03 00 00 mov $0x3f8,%edx 80105d5b: ec in (%dx),%al return -1; return inb(COM1+0); 80105d5c: 0f b6 c0 movzbl %al,%eax } 80105d5f: 5d pop %ebp 80105d60: c3 ret 80105d61: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi return -1; 80105d68: b8 ff ff ff ff mov $0xffffffff,%eax } 80105d6d: 5d pop %ebp 80105d6e: c3 ret 80105d6f: 90 nop 80105d70 <uartputc.part.0>: uartputc(int c) 80105d70: 55 push %ebp 80105d71: 89 e5 mov %esp,%ebp 80105d73: 57 push %edi 80105d74: 56 push %esi 80105d75: 53 push %ebx 80105d76: 89 c7 mov %eax,%edi 80105d78: bb 80 00 00 00 mov $0x80,%ebx 80105d7d: be fd 03 00 00 mov $0x3fd,%esi 80105d82: 83 ec 0c sub $0xc,%esp 80105d85: eb 1b jmp 80105da2 <uartputc.part.0+0x32> 80105d87: 89 f6 mov %esi,%esi 80105d89: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi microdelay(10); 80105d90: 83 ec 0c sub $0xc,%esp 80105d93: 6a 0a push $0xa 80105d95: e8 e6 c9 ff ff call 80102780 <microdelay> for(i = 0; i < 128 && !(inb(COM1+5) & 0x20); i++) 80105d9a: 83 c4 10 add $0x10,%esp 80105d9d: 83 eb 01 sub $0x1,%ebx 80105da0: 74 07 je 80105da9 <uartputc.part.0+0x39> 80105da2: 89 f2 mov %esi,%edx 80105da4: ec in (%dx),%al 80105da5: a8 20 test $0x20,%al 80105da7: 74 e7 je 80105d90 <uartputc.part.0+0x20> asm volatile("out %0,%1" : : "a" (data), "d" (port)); 80105da9: ba f8 03 00 00 mov $0x3f8,%edx 80105dae: 89 f8 mov %edi,%eax 80105db0: ee out %al,(%dx) } 80105db1: 8d 65 f4 lea -0xc(%ebp),%esp 80105db4: 5b pop %ebx 80105db5: 5e pop %esi 80105db6: 5f pop %edi 80105db7: 5d pop %ebp 80105db8: c3 ret 80105db9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 80105dc0 <uartinit>: { 80105dc0: 55 push %ebp 80105dc1: 31 c9 xor %ecx,%ecx 80105dc3: 89 c8 mov %ecx,%eax 80105dc5: 89 e5 mov %esp,%ebp 80105dc7: 57 push %edi 80105dc8: 56 push %esi 80105dc9: 53 push %ebx 80105dca: bb fa 03 00 00 mov $0x3fa,%ebx 80105dcf: 89 da mov %ebx,%edx 80105dd1: 83 ec 0c sub $0xc,%esp 80105dd4: ee out %al,(%dx) 80105dd5: bf fb 03 00 00 mov $0x3fb,%edi 80105dda: b8 80 ff ff ff mov $0xffffff80,%eax 80105ddf: 89 fa mov %edi,%edx 80105de1: ee out %al,(%dx) 80105de2: b8 0c 00 00 00 mov $0xc,%eax 80105de7: ba f8 03 00 00 mov $0x3f8,%edx 80105dec: ee out %al,(%dx) 80105ded: be f9 03 00 00 mov $0x3f9,%esi 80105df2: 89 c8 mov %ecx,%eax 80105df4: 89 f2 mov %esi,%edx 80105df6: ee out %al,(%dx) 80105df7: b8 03 00 00 00 mov $0x3,%eax 80105dfc: 89 fa mov %edi,%edx 80105dfe: ee out %al,(%dx) 80105dff: ba fc 03 00 00 mov $0x3fc,%edx 80105e04: 89 c8 mov %ecx,%eax 80105e06: ee out %al,(%dx) 80105e07: b8 01 00 00 00 mov $0x1,%eax 80105e0c: 89 f2 mov %esi,%edx 80105e0e: ee out %al,(%dx) asm volatile("in %1,%0" : "=a" (data) : "d" (port)); 80105e0f: ba fd 03 00 00 mov $0x3fd,%edx 80105e14: ec in (%dx),%al if(inb(COM1+5) == 0xFF) 80105e15: 3c ff cmp $0xff,%al 80105e17: 74 5a je 80105e73 <uartinit+0xb3> uart = 1; 80105e19: c7 05 bc a5 10 80 01 movl $0x1,0x8010a5bc 80105e20: 00 00 00 80105e23: 89 da mov %ebx,%edx 80105e25: ec in (%dx),%al 80105e26: ba f8 03 00 00 mov $0x3f8,%edx 80105e2b: ec in (%dx),%al ioapicenable(IRQ_COM1, 0); 80105e2c: 83 ec 08 sub $0x8,%esp for(p="xv6...\n"; *p; p++) 80105e2f: bb fc 7b 10 80 mov $0x80107bfc,%ebx ioapicenable(IRQ_COM1, 0); 80105e34: 6a 00 push $0x0 80105e36: 6a 04 push $0x4 80105e38: e8 a3 c4 ff ff call 801022e0 <ioapicenable> 80105e3d: 83 c4 10 add $0x10,%esp for(p="xv6...\n"; *p; p++) 80105e40: b8 78 00 00 00 mov $0x78,%eax 80105e45: eb 13 jmp 80105e5a <uartinit+0x9a> 80105e47: 89 f6 mov %esi,%esi 80105e49: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80105e50: 83 c3 01 add $0x1,%ebx 80105e53: 0f be 03 movsbl (%ebx),%eax 80105e56: 84 c0 test %al,%al 80105e58: 74 19 je 80105e73 <uartinit+0xb3> if(!uart) 80105e5a: 8b 15 bc a5 10 80 mov 0x8010a5bc,%edx 80105e60: 85 d2 test %edx,%edx 80105e62: 74 ec je 80105e50 <uartinit+0x90> for(p="xv6...\n"; *p; p++) 80105e64: 83 c3 01 add $0x1,%ebx 80105e67: e8 04 ff ff ff call 80105d70 <uartputc.part.0> 80105e6c: 0f be 03 movsbl (%ebx),%eax 80105e6f: 84 c0 test %al,%al 80105e71: 75 e7 jne 80105e5a <uartinit+0x9a> } 80105e73: 8d 65 f4 lea -0xc(%ebp),%esp 80105e76: 5b pop %ebx 80105e77: 5e pop %esi 80105e78: 5f pop %edi 80105e79: 5d pop %ebp 80105e7a: c3 ret 80105e7b: 90 nop 80105e7c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80105e80 <uartputc>: if(!uart) 80105e80: 8b 15 bc a5 10 80 mov 0x8010a5bc,%edx { 80105e86: 55 push %ebp 80105e87: 89 e5 mov %esp,%ebp if(!uart) 80105e89: 85 d2 test %edx,%edx { 80105e8b: 8b 45 08 mov 0x8(%ebp),%eax if(!uart) 80105e8e: 74 10 je 80105ea0 <uartputc+0x20> } 80105e90: 5d pop %ebp 80105e91: e9 da fe ff ff jmp 80105d70 <uartputc.part.0> 80105e96: 8d 76 00 lea 0x0(%esi),%esi 80105e99: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80105ea0: 5d pop %ebp 80105ea1: c3 ret 80105ea2: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 80105ea9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80105eb0 <uartintr>: void uartintr(void) { 80105eb0: 55 push %ebp 80105eb1: 89 e5 mov %esp,%ebp 80105eb3: 83 ec 14 sub $0x14,%esp consoleintr(uartgetc); 80105eb6: 68 40 5d 10 80 push $0x80105d40 80105ebb: e8 50 a9 ff ff call 80100810 <consoleintr> } 80105ec0: 83 c4 10 add $0x10,%esp 80105ec3: c9 leave 80105ec4: c3 ret 80105ec5 <vector0>: # generated by vectors.pl - do not edit # handlers .globl alltraps .globl vector0 vector0: pushl $0 80105ec5: 6a 00 push $0x0 pushl $0 80105ec7: 6a 00 push $0x0 jmp alltraps 80105ec9: e9 eb fa ff ff jmp 801059b9 <alltraps> 80105ece <vector1>: .globl vector1 vector1: pushl $0 80105ece: 6a 00 push $0x0 pushl $1 80105ed0: 6a 01 push $0x1 jmp alltraps 80105ed2: e9 e2 fa ff ff jmp 801059b9 <alltraps> 80105ed7 <vector2>: .globl vector2 vector2: pushl $0 80105ed7: 6a 00 push $0x0 pushl $2 80105ed9: 6a 02 push $0x2 jmp alltraps 80105edb: e9 d9 fa ff ff jmp 801059b9 <alltraps> 80105ee0 <vector3>: .globl vector3 vector3: pushl $0 80105ee0: 6a 00 push $0x0 pushl $3 80105ee2: 6a 03 push $0x3 jmp alltraps 80105ee4: e9 d0 fa ff ff jmp 801059b9 <alltraps> 80105ee9 <vector4>: .globl vector4 vector4: pushl $0 80105ee9: 6a 00 push $0x0 pushl $4 80105eeb: 6a 04 push $0x4 jmp alltraps 80105eed: e9 c7 fa ff ff jmp 801059b9 <alltraps> 80105ef2 <vector5>: .globl vector5 vector5: pushl $0 80105ef2: 6a 00 push $0x0 pushl $5 80105ef4: 6a 05 push $0x5 jmp alltraps 80105ef6: e9 be fa ff ff jmp 801059b9 <alltraps> 80105efb <vector6>: .globl vector6 vector6: pushl $0 80105efb: 6a 00 push $0x0 pushl $6 80105efd: 6a 06 push $0x6 jmp alltraps 80105eff: e9 b5 fa ff ff jmp 801059b9 <alltraps> 80105f04 <vector7>: .globl vector7 vector7: pushl $0 80105f04: 6a 00 push $0x0 pushl $7 80105f06: 6a 07 push $0x7 jmp alltraps 80105f08: e9 ac fa ff ff jmp 801059b9 <alltraps> 80105f0d <vector8>: .globl vector8 vector8: pushl $8 80105f0d: 6a 08 push $0x8 jmp alltraps 80105f0f: e9 a5 fa ff ff jmp 801059b9 <alltraps> 80105f14 <vector9>: .globl vector9 vector9: pushl $0 80105f14: 6a 00 push $0x0 pushl $9 80105f16: 6a 09 push $0x9 jmp alltraps 80105f18: e9 9c fa ff ff jmp 801059b9 <alltraps> 80105f1d <vector10>: .globl vector10 vector10: pushl $10 80105f1d: 6a 0a push $0xa jmp alltraps 80105f1f: e9 95 fa ff ff jmp 801059b9 <alltraps> 80105f24 <vector11>: .globl vector11 vector11: pushl $11 80105f24: 6a 0b push $0xb jmp alltraps 80105f26: e9 8e fa ff ff jmp 801059b9 <alltraps> 80105f2b <vector12>: .globl vector12 vector12: pushl $12 80105f2b: 6a 0c push $0xc jmp alltraps 80105f2d: e9 87 fa ff ff jmp 801059b9 <alltraps> 80105f32 <vector13>: .globl vector13 vector13: pushl $13 80105f32: 6a 0d push $0xd jmp alltraps 80105f34: e9 80 fa ff ff jmp 801059b9 <alltraps> 80105f39 <vector14>: .globl vector14 vector14: pushl $14 80105f39: 6a 0e push $0xe jmp alltraps 80105f3b: e9 79 fa ff ff jmp 801059b9 <alltraps> 80105f40 <vector15>: .globl vector15 vector15: pushl $0 80105f40: 6a 00 push $0x0 pushl $15 80105f42: 6a 0f push $0xf jmp alltraps 80105f44: e9 70 fa ff ff jmp 801059b9 <alltraps> 80105f49 <vector16>: .globl vector16 vector16: pushl $0 80105f49: 6a 00 push $0x0 pushl $16 80105f4b: 6a 10 push $0x10 jmp alltraps 80105f4d: e9 67 fa ff ff jmp 801059b9 <alltraps> 80105f52 <vector17>: .globl vector17 vector17: pushl $17 80105f52: 6a 11 push $0x11 jmp alltraps 80105f54: e9 60 fa ff ff jmp 801059b9 <alltraps> 80105f59 <vector18>: .globl vector18 vector18: pushl $0 80105f59: 6a 00 push $0x0 pushl $18 80105f5b: 6a 12 push $0x12 jmp alltraps 80105f5d: e9 57 fa ff ff jmp 801059b9 <alltraps> 80105f62 <vector19>: .globl vector19 vector19: pushl $0 80105f62: 6a 00 push $0x0 pushl $19 80105f64: 6a 13 push $0x13 jmp alltraps 80105f66: e9 4e fa ff ff jmp 801059b9 <alltraps> 80105f6b <vector20>: .globl vector20 vector20: pushl $0 80105f6b: 6a 00 push $0x0 pushl $20 80105f6d: 6a 14 push $0x14 jmp alltraps 80105f6f: e9 45 fa ff ff jmp 801059b9 <alltraps> 80105f74 <vector21>: .globl vector21 vector21: pushl $0 80105f74: 6a 00 push $0x0 pushl $21 80105f76: 6a 15 push $0x15 jmp alltraps 80105f78: e9 3c fa ff ff jmp 801059b9 <alltraps> 80105f7d <vector22>: .globl vector22 vector22: pushl $0 80105f7d: 6a 00 push $0x0 pushl $22 80105f7f: 6a 16 push $0x16 jmp alltraps 80105f81: e9 33 fa ff ff jmp 801059b9 <alltraps> 80105f86 <vector23>: .globl vector23 vector23: pushl $0 80105f86: 6a 00 push $0x0 pushl $23 80105f88: 6a 17 push $0x17 jmp alltraps 80105f8a: e9 2a fa ff ff jmp 801059b9 <alltraps> 80105f8f <vector24>: .globl vector24 vector24: pushl $0 80105f8f: 6a 00 push $0x0 pushl $24 80105f91: 6a 18 push $0x18 jmp alltraps 80105f93: e9 21 fa ff ff jmp 801059b9 <alltraps> 80105f98 <vector25>: .globl vector25 vector25: pushl $0 80105f98: 6a 00 push $0x0 pushl $25 80105f9a: 6a 19 push $0x19 jmp alltraps 80105f9c: e9 18 fa ff ff jmp 801059b9 <alltraps> 80105fa1 <vector26>: .globl vector26 vector26: pushl $0 80105fa1: 6a 00 push $0x0 pushl $26 80105fa3: 6a 1a push $0x1a jmp alltraps 80105fa5: e9 0f fa ff ff jmp 801059b9 <alltraps> 80105faa <vector27>: .globl vector27 vector27: pushl $0 80105faa: 6a 00 push $0x0 pushl $27 80105fac: 6a 1b push $0x1b jmp alltraps 80105fae: e9 06 fa ff ff jmp 801059b9 <alltraps> 80105fb3 <vector28>: .globl vector28 vector28: pushl $0 80105fb3: 6a 00 push $0x0 pushl $28 80105fb5: 6a 1c push $0x1c jmp alltraps 80105fb7: e9 fd f9 ff ff jmp 801059b9 <alltraps> 80105fbc <vector29>: .globl vector29 vector29: pushl $0 80105fbc: 6a 00 push $0x0 pushl $29 80105fbe: 6a 1d push $0x1d jmp alltraps 80105fc0: e9 f4 f9 ff ff jmp 801059b9 <alltraps> 80105fc5 <vector30>: .globl vector30 vector30: pushl $0 80105fc5: 6a 00 push $0x0 pushl $30 80105fc7: 6a 1e push $0x1e jmp alltraps 80105fc9: e9 eb f9 ff ff jmp 801059b9 <alltraps> 80105fce <vector31>: .globl vector31 vector31: pushl $0 80105fce: 6a 00 push $0x0 pushl $31 80105fd0: 6a 1f push $0x1f jmp alltraps 80105fd2: e9 e2 f9 ff ff jmp 801059b9 <alltraps> 80105fd7 <vector32>: .globl vector32 vector32: pushl $0 80105fd7: 6a 00 push $0x0 pushl $32 80105fd9: 6a 20 push $0x20 jmp alltraps 80105fdb: e9 d9 f9 ff ff jmp 801059b9 <alltraps> 80105fe0 <vector33>: .globl vector33 vector33: pushl $0 80105fe0: 6a 00 push $0x0 pushl $33 80105fe2: 6a 21 push $0x21 jmp alltraps 80105fe4: e9 d0 f9 ff ff jmp 801059b9 <alltraps> 80105fe9 <vector34>: .globl vector34 vector34: pushl $0 80105fe9: 6a 00 push $0x0 pushl $34 80105feb: 6a 22 push $0x22 jmp alltraps 80105fed: e9 c7 f9 ff ff jmp 801059b9 <alltraps> 80105ff2 <vector35>: .globl vector35 vector35: pushl $0 80105ff2: 6a 00 push $0x0 pushl $35 80105ff4: 6a 23 push $0x23 jmp alltraps 80105ff6: e9 be f9 ff ff jmp 801059b9 <alltraps> 80105ffb <vector36>: .globl vector36 vector36: pushl $0 80105ffb: 6a 00 push $0x0 pushl $36 80105ffd: 6a 24 push $0x24 jmp alltraps 80105fff: e9 b5 f9 ff ff jmp 801059b9 <alltraps> 80106004 <vector37>: .globl vector37 vector37: pushl $0 80106004: 6a 00 push $0x0 pushl $37 80106006: 6a 25 push $0x25 jmp alltraps 80106008: e9 ac f9 ff ff jmp 801059b9 <alltraps> 8010600d <vector38>: .globl vector38 vector38: pushl $0 8010600d: 6a 00 push $0x0 pushl $38 8010600f: 6a 26 push $0x26 jmp alltraps 80106011: e9 a3 f9 ff ff jmp 801059b9 <alltraps> 80106016 <vector39>: .globl vector39 vector39: pushl $0 80106016: 6a 00 push $0x0 pushl $39 80106018: 6a 27 push $0x27 jmp alltraps 8010601a: e9 9a f9 ff ff jmp 801059b9 <alltraps> 8010601f <vector40>: .globl vector40 vector40: pushl $0 8010601f: 6a 00 push $0x0 pushl $40 80106021: 6a 28 push $0x28 jmp alltraps 80106023: e9 91 f9 ff ff jmp 801059b9 <alltraps> 80106028 <vector41>: .globl vector41 vector41: pushl $0 80106028: 6a 00 push $0x0 pushl $41 8010602a: 6a 29 push $0x29 jmp alltraps 8010602c: e9 88 f9 ff ff jmp 801059b9 <alltraps> 80106031 <vector42>: .globl vector42 vector42: pushl $0 80106031: 6a 00 push $0x0 pushl $42 80106033: 6a 2a push $0x2a jmp alltraps 80106035: e9 7f f9 ff ff jmp 801059b9 <alltraps> 8010603a <vector43>: .globl vector43 vector43: pushl $0 8010603a: 6a 00 push $0x0 pushl $43 8010603c: 6a 2b push $0x2b jmp alltraps 8010603e: e9 76 f9 ff ff jmp 801059b9 <alltraps> 80106043 <vector44>: .globl vector44 vector44: pushl $0 80106043: 6a 00 push $0x0 pushl $44 80106045: 6a 2c push $0x2c jmp alltraps 80106047: e9 6d f9 ff ff jmp 801059b9 <alltraps> 8010604c <vector45>: .globl vector45 vector45: pushl $0 8010604c: 6a 00 push $0x0 pushl $45 8010604e: 6a 2d push $0x2d jmp alltraps 80106050: e9 64 f9 ff ff jmp 801059b9 <alltraps> 80106055 <vector46>: .globl vector46 vector46: pushl $0 80106055: 6a 00 push $0x0 pushl $46 80106057: 6a 2e push $0x2e jmp alltraps 80106059: e9 5b f9 ff ff jmp 801059b9 <alltraps> 8010605e <vector47>: .globl vector47 vector47: pushl $0 8010605e: 6a 00 push $0x0 pushl $47 80106060: 6a 2f push $0x2f jmp alltraps 80106062: e9 52 f9 ff ff jmp 801059b9 <alltraps> 80106067 <vector48>: .globl vector48 vector48: pushl $0 80106067: 6a 00 push $0x0 pushl $48 80106069: 6a 30 push $0x30 jmp alltraps 8010606b: e9 49 f9 ff ff jmp 801059b9 <alltraps> 80106070 <vector49>: .globl vector49 vector49: pushl $0 80106070: 6a 00 push $0x0 pushl $49 80106072: 6a 31 push $0x31 jmp alltraps 80106074: e9 40 f9 ff ff jmp 801059b9 <alltraps> 80106079 <vector50>: .globl vector50 vector50: pushl $0 80106079: 6a 00 push $0x0 pushl $50 8010607b: 6a 32 push $0x32 jmp alltraps 8010607d: e9 37 f9 ff ff jmp 801059b9 <alltraps> 80106082 <vector51>: .globl vector51 vector51: pushl $0 80106082: 6a 00 push $0x0 pushl $51 80106084: 6a 33 push $0x33 jmp alltraps 80106086: e9 2e f9 ff ff jmp 801059b9 <alltraps> 8010608b <vector52>: .globl vector52 vector52: pushl $0 8010608b: 6a 00 push $0x0 pushl $52 8010608d: 6a 34 push $0x34 jmp alltraps 8010608f: e9 25 f9 ff ff jmp 801059b9 <alltraps> 80106094 <vector53>: .globl vector53 vector53: pushl $0 80106094: 6a 00 push $0x0 pushl $53 80106096: 6a 35 push $0x35 jmp alltraps 80106098: e9 1c f9 ff ff jmp 801059b9 <alltraps> 8010609d <vector54>: .globl vector54 vector54: pushl $0 8010609d: 6a 00 push $0x0 pushl $54 8010609f: 6a 36 push $0x36 jmp alltraps 801060a1: e9 13 f9 ff ff jmp 801059b9 <alltraps> 801060a6 <vector55>: .globl vector55 vector55: pushl $0 801060a6: 6a 00 push $0x0 pushl $55 801060a8: 6a 37 push $0x37 jmp alltraps 801060aa: e9 0a f9 ff ff jmp 801059b9 <alltraps> 801060af <vector56>: .globl vector56 vector56: pushl $0 801060af: 6a 00 push $0x0 pushl $56 801060b1: 6a 38 push $0x38 jmp alltraps 801060b3: e9 01 f9 ff ff jmp 801059b9 <alltraps> 801060b8 <vector57>: .globl vector57 vector57: pushl $0 801060b8: 6a 00 push $0x0 pushl $57 801060ba: 6a 39 push $0x39 jmp alltraps 801060bc: e9 f8 f8 ff ff jmp 801059b9 <alltraps> 801060c1 <vector58>: .globl vector58 vector58: pushl $0 801060c1: 6a 00 push $0x0 pushl $58 801060c3: 6a 3a push $0x3a jmp alltraps 801060c5: e9 ef f8 ff ff jmp 801059b9 <alltraps> 801060ca <vector59>: .globl vector59 vector59: pushl $0 801060ca: 6a 00 push $0x0 pushl $59 801060cc: 6a 3b push $0x3b jmp alltraps 801060ce: e9 e6 f8 ff ff jmp 801059b9 <alltraps> 801060d3 <vector60>: .globl vector60 vector60: pushl $0 801060d3: 6a 00 push $0x0 pushl $60 801060d5: 6a 3c push $0x3c jmp alltraps 801060d7: e9 dd f8 ff ff jmp 801059b9 <alltraps> 801060dc <vector61>: .globl vector61 vector61: pushl $0 801060dc: 6a 00 push $0x0 pushl $61 801060de: 6a 3d push $0x3d jmp alltraps 801060e0: e9 d4 f8 ff ff jmp 801059b9 <alltraps> 801060e5 <vector62>: .globl vector62 vector62: pushl $0 801060e5: 6a 00 push $0x0 pushl $62 801060e7: 6a 3e push $0x3e jmp alltraps 801060e9: e9 cb f8 ff ff jmp 801059b9 <alltraps> 801060ee <vector63>: .globl vector63 vector63: pushl $0 801060ee: 6a 00 push $0x0 pushl $63 801060f0: 6a 3f push $0x3f jmp alltraps 801060f2: e9 c2 f8 ff ff jmp 801059b9 <alltraps> 801060f7 <vector64>: .globl vector64 vector64: pushl $0 801060f7: 6a 00 push $0x0 pushl $64 801060f9: 6a 40 push $0x40 jmp alltraps 801060fb: e9 b9 f8 ff ff jmp 801059b9 <alltraps> 80106100 <vector65>: .globl vector65 vector65: pushl $0 80106100: 6a 00 push $0x0 pushl $65 80106102: 6a 41 push $0x41 jmp alltraps 80106104: e9 b0 f8 ff ff jmp 801059b9 <alltraps> 80106109 <vector66>: .globl vector66 vector66: pushl $0 80106109: 6a 00 push $0x0 pushl $66 8010610b: 6a 42 push $0x42 jmp alltraps 8010610d: e9 a7 f8 ff ff jmp 801059b9 <alltraps> 80106112 <vector67>: .globl vector67 vector67: pushl $0 80106112: 6a 00 push $0x0 pushl $67 80106114: 6a 43 push $0x43 jmp alltraps 80106116: e9 9e f8 ff ff jmp 801059b9 <alltraps> 8010611b <vector68>: .globl vector68 vector68: pushl $0 8010611b: 6a 00 push $0x0 pushl $68 8010611d: 6a 44 push $0x44 jmp alltraps 8010611f: e9 95 f8 ff ff jmp 801059b9 <alltraps> 80106124 <vector69>: .globl vector69 vector69: pushl $0 80106124: 6a 00 push $0x0 pushl $69 80106126: 6a 45 push $0x45 jmp alltraps 80106128: e9 8c f8 ff ff jmp 801059b9 <alltraps> 8010612d <vector70>: .globl vector70 vector70: pushl $0 8010612d: 6a 00 push $0x0 pushl $70 8010612f: 6a 46 push $0x46 jmp alltraps 80106131: e9 83 f8 ff ff jmp 801059b9 <alltraps> 80106136 <vector71>: .globl vector71 vector71: pushl $0 80106136: 6a 00 push $0x0 pushl $71 80106138: 6a 47 push $0x47 jmp alltraps 8010613a: e9 7a f8 ff ff jmp 801059b9 <alltraps> 8010613f <vector72>: .globl vector72 vector72: pushl $0 8010613f: 6a 00 push $0x0 pushl $72 80106141: 6a 48 push $0x48 jmp alltraps 80106143: e9 71 f8 ff ff jmp 801059b9 <alltraps> 80106148 <vector73>: .globl vector73 vector73: pushl $0 80106148: 6a 00 push $0x0 pushl $73 8010614a: 6a 49 push $0x49 jmp alltraps 8010614c: e9 68 f8 ff ff jmp 801059b9 <alltraps> 80106151 <vector74>: .globl vector74 vector74: pushl $0 80106151: 6a 00 push $0x0 pushl $74 80106153: 6a 4a push $0x4a jmp alltraps 80106155: e9 5f f8 ff ff jmp 801059b9 <alltraps> 8010615a <vector75>: .globl vector75 vector75: pushl $0 8010615a: 6a 00 push $0x0 pushl $75 8010615c: 6a 4b push $0x4b jmp alltraps 8010615e: e9 56 f8 ff ff jmp 801059b9 <alltraps> 80106163 <vector76>: .globl vector76 vector76: pushl $0 80106163: 6a 00 push $0x0 pushl $76 80106165: 6a 4c push $0x4c jmp alltraps 80106167: e9 4d f8 ff ff jmp 801059b9 <alltraps> 8010616c <vector77>: .globl vector77 vector77: pushl $0 8010616c: 6a 00 push $0x0 pushl $77 8010616e: 6a 4d push $0x4d jmp alltraps 80106170: e9 44 f8 ff ff jmp 801059b9 <alltraps> 80106175 <vector78>: .globl vector78 vector78: pushl $0 80106175: 6a 00 push $0x0 pushl $78 80106177: 6a 4e push $0x4e jmp alltraps 80106179: e9 3b f8 ff ff jmp 801059b9 <alltraps> 8010617e <vector79>: .globl vector79 vector79: pushl $0 8010617e: 6a 00 push $0x0 pushl $79 80106180: 6a 4f push $0x4f jmp alltraps 80106182: e9 32 f8 ff ff jmp 801059b9 <alltraps> 80106187 <vector80>: .globl vector80 vector80: pushl $0 80106187: 6a 00 push $0x0 pushl $80 80106189: 6a 50 push $0x50 jmp alltraps 8010618b: e9 29 f8 ff ff jmp 801059b9 <alltraps> 80106190 <vector81>: .globl vector81 vector81: pushl $0 80106190: 6a 00 push $0x0 pushl $81 80106192: 6a 51 push $0x51 jmp alltraps 80106194: e9 20 f8 ff ff jmp 801059b9 <alltraps> 80106199 <vector82>: .globl vector82 vector82: pushl $0 80106199: 6a 00 push $0x0 pushl $82 8010619b: 6a 52 push $0x52 jmp alltraps 8010619d: e9 17 f8 ff ff jmp 801059b9 <alltraps> 801061a2 <vector83>: .globl vector83 vector83: pushl $0 801061a2: 6a 00 push $0x0 pushl $83 801061a4: 6a 53 push $0x53 jmp alltraps 801061a6: e9 0e f8 ff ff jmp 801059b9 <alltraps> 801061ab <vector84>: .globl vector84 vector84: pushl $0 801061ab: 6a 00 push $0x0 pushl $84 801061ad: 6a 54 push $0x54 jmp alltraps 801061af: e9 05 f8 ff ff jmp 801059b9 <alltraps> 801061b4 <vector85>: .globl vector85 vector85: pushl $0 801061b4: 6a 00 push $0x0 pushl $85 801061b6: 6a 55 push $0x55 jmp alltraps 801061b8: e9 fc f7 ff ff jmp 801059b9 <alltraps> 801061bd <vector86>: .globl vector86 vector86: pushl $0 801061bd: 6a 00 push $0x0 pushl $86 801061bf: 6a 56 push $0x56 jmp alltraps 801061c1: e9 f3 f7 ff ff jmp 801059b9 <alltraps> 801061c6 <vector87>: .globl vector87 vector87: pushl $0 801061c6: 6a 00 push $0x0 pushl $87 801061c8: 6a 57 push $0x57 jmp alltraps 801061ca: e9 ea f7 ff ff jmp 801059b9 <alltraps> 801061cf <vector88>: .globl vector88 vector88: pushl $0 801061cf: 6a 00 push $0x0 pushl $88 801061d1: 6a 58 push $0x58 jmp alltraps 801061d3: e9 e1 f7 ff ff jmp 801059b9 <alltraps> 801061d8 <vector89>: .globl vector89 vector89: pushl $0 801061d8: 6a 00 push $0x0 pushl $89 801061da: 6a 59 push $0x59 jmp alltraps 801061dc: e9 d8 f7 ff ff jmp 801059b9 <alltraps> 801061e1 <vector90>: .globl vector90 vector90: pushl $0 801061e1: 6a 00 push $0x0 pushl $90 801061e3: 6a 5a push $0x5a jmp alltraps 801061e5: e9 cf f7 ff ff jmp 801059b9 <alltraps> 801061ea <vector91>: .globl vector91 vector91: pushl $0 801061ea: 6a 00 push $0x0 pushl $91 801061ec: 6a 5b push $0x5b jmp alltraps 801061ee: e9 c6 f7 ff ff jmp 801059b9 <alltraps> 801061f3 <vector92>: .globl vector92 vector92: pushl $0 801061f3: 6a 00 push $0x0 pushl $92 801061f5: 6a 5c push $0x5c jmp alltraps 801061f7: e9 bd f7 ff ff jmp 801059b9 <alltraps> 801061fc <vector93>: .globl vector93 vector93: pushl $0 801061fc: 6a 00 push $0x0 pushl $93 801061fe: 6a 5d push $0x5d jmp alltraps 80106200: e9 b4 f7 ff ff jmp 801059b9 <alltraps> 80106205 <vector94>: .globl vector94 vector94: pushl $0 80106205: 6a 00 push $0x0 pushl $94 80106207: 6a 5e push $0x5e jmp alltraps 80106209: e9 ab f7 ff ff jmp 801059b9 <alltraps> 8010620e <vector95>: .globl vector95 vector95: pushl $0 8010620e: 6a 00 push $0x0 pushl $95 80106210: 6a 5f push $0x5f jmp alltraps 80106212: e9 a2 f7 ff ff jmp 801059b9 <alltraps> 80106217 <vector96>: .globl vector96 vector96: pushl $0 80106217: 6a 00 push $0x0 pushl $96 80106219: 6a 60 push $0x60 jmp alltraps 8010621b: e9 99 f7 ff ff jmp 801059b9 <alltraps> 80106220 <vector97>: .globl vector97 vector97: pushl $0 80106220: 6a 00 push $0x0 pushl $97 80106222: 6a 61 push $0x61 jmp alltraps 80106224: e9 90 f7 ff ff jmp 801059b9 <alltraps> 80106229 <vector98>: .globl vector98 vector98: pushl $0 80106229: 6a 00 push $0x0 pushl $98 8010622b: 6a 62 push $0x62 jmp alltraps 8010622d: e9 87 f7 ff ff jmp 801059b9 <alltraps> 80106232 <vector99>: .globl vector99 vector99: pushl $0 80106232: 6a 00 push $0x0 pushl $99 80106234: 6a 63 push $0x63 jmp alltraps 80106236: e9 7e f7 ff ff jmp 801059b9 <alltraps> 8010623b <vector100>: .globl vector100 vector100: pushl $0 8010623b: 6a 00 push $0x0 pushl $100 8010623d: 6a 64 push $0x64 jmp alltraps 8010623f: e9 75 f7 ff ff jmp 801059b9 <alltraps> 80106244 <vector101>: .globl vector101 vector101: pushl $0 80106244: 6a 00 push $0x0 pushl $101 80106246: 6a 65 push $0x65 jmp alltraps 80106248: e9 6c f7 ff ff jmp 801059b9 <alltraps> 8010624d <vector102>: .globl vector102 vector102: pushl $0 8010624d: 6a 00 push $0x0 pushl $102 8010624f: 6a 66 push $0x66 jmp alltraps 80106251: e9 63 f7 ff ff jmp 801059b9 <alltraps> 80106256 <vector103>: .globl vector103 vector103: pushl $0 80106256: 6a 00 push $0x0 pushl $103 80106258: 6a 67 push $0x67 jmp alltraps 8010625a: e9 5a f7 ff ff jmp 801059b9 <alltraps> 8010625f <vector104>: .globl vector104 vector104: pushl $0 8010625f: 6a 00 push $0x0 pushl $104 80106261: 6a 68 push $0x68 jmp alltraps 80106263: e9 51 f7 ff ff jmp 801059b9 <alltraps> 80106268 <vector105>: .globl vector105 vector105: pushl $0 80106268: 6a 00 push $0x0 pushl $105 8010626a: 6a 69 push $0x69 jmp alltraps 8010626c: e9 48 f7 ff ff jmp 801059b9 <alltraps> 80106271 <vector106>: .globl vector106 vector106: pushl $0 80106271: 6a 00 push $0x0 pushl $106 80106273: 6a 6a push $0x6a jmp alltraps 80106275: e9 3f f7 ff ff jmp 801059b9 <alltraps> 8010627a <vector107>: .globl vector107 vector107: pushl $0 8010627a: 6a 00 push $0x0 pushl $107 8010627c: 6a 6b push $0x6b jmp alltraps 8010627e: e9 36 f7 ff ff jmp 801059b9 <alltraps> 80106283 <vector108>: .globl vector108 vector108: pushl $0 80106283: 6a 00 push $0x0 pushl $108 80106285: 6a 6c push $0x6c jmp alltraps 80106287: e9 2d f7 ff ff jmp 801059b9 <alltraps> 8010628c <vector109>: .globl vector109 vector109: pushl $0 8010628c: 6a 00 push $0x0 pushl $109 8010628e: 6a 6d push $0x6d jmp alltraps 80106290: e9 24 f7 ff ff jmp 801059b9 <alltraps> 80106295 <vector110>: .globl vector110 vector110: pushl $0 80106295: 6a 00 push $0x0 pushl $110 80106297: 6a 6e push $0x6e jmp alltraps 80106299: e9 1b f7 ff ff jmp 801059b9 <alltraps> 8010629e <vector111>: .globl vector111 vector111: pushl $0 8010629e: 6a 00 push $0x0 pushl $111 801062a0: 6a 6f push $0x6f jmp alltraps 801062a2: e9 12 f7 ff ff jmp 801059b9 <alltraps> 801062a7 <vector112>: .globl vector112 vector112: pushl $0 801062a7: 6a 00 push $0x0 pushl $112 801062a9: 6a 70 push $0x70 jmp alltraps 801062ab: e9 09 f7 ff ff jmp 801059b9 <alltraps> 801062b0 <vector113>: .globl vector113 vector113: pushl $0 801062b0: 6a 00 push $0x0 pushl $113 801062b2: 6a 71 push $0x71 jmp alltraps 801062b4: e9 00 f7 ff ff jmp 801059b9 <alltraps> 801062b9 <vector114>: .globl vector114 vector114: pushl $0 801062b9: 6a 00 push $0x0 pushl $114 801062bb: 6a 72 push $0x72 jmp alltraps 801062bd: e9 f7 f6 ff ff jmp 801059b9 <alltraps> 801062c2 <vector115>: .globl vector115 vector115: pushl $0 801062c2: 6a 00 push $0x0 pushl $115 801062c4: 6a 73 push $0x73 jmp alltraps 801062c6: e9 ee f6 ff ff jmp 801059b9 <alltraps> 801062cb <vector116>: .globl vector116 vector116: pushl $0 801062cb: 6a 00 push $0x0 pushl $116 801062cd: 6a 74 push $0x74 jmp alltraps 801062cf: e9 e5 f6 ff ff jmp 801059b9 <alltraps> 801062d4 <vector117>: .globl vector117 vector117: pushl $0 801062d4: 6a 00 push $0x0 pushl $117 801062d6: 6a 75 push $0x75 jmp alltraps 801062d8: e9 dc f6 ff ff jmp 801059b9 <alltraps> 801062dd <vector118>: .globl vector118 vector118: pushl $0 801062dd: 6a 00 push $0x0 pushl $118 801062df: 6a 76 push $0x76 jmp alltraps 801062e1: e9 d3 f6 ff ff jmp 801059b9 <alltraps> 801062e6 <vector119>: .globl vector119 vector119: pushl $0 801062e6: 6a 00 push $0x0 pushl $119 801062e8: 6a 77 push $0x77 jmp alltraps 801062ea: e9 ca f6 ff ff jmp 801059b9 <alltraps> 801062ef <vector120>: .globl vector120 vector120: pushl $0 801062ef: 6a 00 push $0x0 pushl $120 801062f1: 6a 78 push $0x78 jmp alltraps 801062f3: e9 c1 f6 ff ff jmp 801059b9 <alltraps> 801062f8 <vector121>: .globl vector121 vector121: pushl $0 801062f8: 6a 00 push $0x0 pushl $121 801062fa: 6a 79 push $0x79 jmp alltraps 801062fc: e9 b8 f6 ff ff jmp 801059b9 <alltraps> 80106301 <vector122>: .globl vector122 vector122: pushl $0 80106301: 6a 00 push $0x0 pushl $122 80106303: 6a 7a push $0x7a jmp alltraps 80106305: e9 af f6 ff ff jmp 801059b9 <alltraps> 8010630a <vector123>: .globl vector123 vector123: pushl $0 8010630a: 6a 00 push $0x0 pushl $123 8010630c: 6a 7b push $0x7b jmp alltraps 8010630e: e9 a6 f6 ff ff jmp 801059b9 <alltraps> 80106313 <vector124>: .globl vector124 vector124: pushl $0 80106313: 6a 00 push $0x0 pushl $124 80106315: 6a 7c push $0x7c jmp alltraps 80106317: e9 9d f6 ff ff jmp 801059b9 <alltraps> 8010631c <vector125>: .globl vector125 vector125: pushl $0 8010631c: 6a 00 push $0x0 pushl $125 8010631e: 6a 7d push $0x7d jmp alltraps 80106320: e9 94 f6 ff ff jmp 801059b9 <alltraps> 80106325 <vector126>: .globl vector126 vector126: pushl $0 80106325: 6a 00 push $0x0 pushl $126 80106327: 6a 7e push $0x7e jmp alltraps 80106329: e9 8b f6 ff ff jmp 801059b9 <alltraps> 8010632e <vector127>: .globl vector127 vector127: pushl $0 8010632e: 6a 00 push $0x0 pushl $127 80106330: 6a 7f push $0x7f jmp alltraps 80106332: e9 82 f6 ff ff jmp 801059b9 <alltraps> 80106337 <vector128>: .globl vector128 vector128: pushl $0 80106337: 6a 00 push $0x0 pushl $128 80106339: 68 80 00 00 00 push $0x80 jmp alltraps 8010633e: e9 76 f6 ff ff jmp 801059b9 <alltraps> 80106343 <vector129>: .globl vector129 vector129: pushl $0 80106343: 6a 00 push $0x0 pushl $129 80106345: 68 81 00 00 00 push $0x81 jmp alltraps 8010634a: e9 6a f6 ff ff jmp 801059b9 <alltraps> 8010634f <vector130>: .globl vector130 vector130: pushl $0 8010634f: 6a 00 push $0x0 pushl $130 80106351: 68 82 00 00 00 push $0x82 jmp alltraps 80106356: e9 5e f6 ff ff jmp 801059b9 <alltraps> 8010635b <vector131>: .globl vector131 vector131: pushl $0 8010635b: 6a 00 push $0x0 pushl $131 8010635d: 68 83 00 00 00 push $0x83 jmp alltraps 80106362: e9 52 f6 ff ff jmp 801059b9 <alltraps> 80106367 <vector132>: .globl vector132 vector132: pushl $0 80106367: 6a 00 push $0x0 pushl $132 80106369: 68 84 00 00 00 push $0x84 jmp alltraps 8010636e: e9 46 f6 ff ff jmp 801059b9 <alltraps> 80106373 <vector133>: .globl vector133 vector133: pushl $0 80106373: 6a 00 push $0x0 pushl $133 80106375: 68 85 00 00 00 push $0x85 jmp alltraps 8010637a: e9 3a f6 ff ff jmp 801059b9 <alltraps> 8010637f <vector134>: .globl vector134 vector134: pushl $0 8010637f: 6a 00 push $0x0 pushl $134 80106381: 68 86 00 00 00 push $0x86 jmp alltraps 80106386: e9 2e f6 ff ff jmp 801059b9 <alltraps> 8010638b <vector135>: .globl vector135 vector135: pushl $0 8010638b: 6a 00 push $0x0 pushl $135 8010638d: 68 87 00 00 00 push $0x87 jmp alltraps 80106392: e9 22 f6 ff ff jmp 801059b9 <alltraps> 80106397 <vector136>: .globl vector136 vector136: pushl $0 80106397: 6a 00 push $0x0 pushl $136 80106399: 68 88 00 00 00 push $0x88 jmp alltraps 8010639e: e9 16 f6 ff ff jmp 801059b9 <alltraps> 801063a3 <vector137>: .globl vector137 vector137: pushl $0 801063a3: 6a 00 push $0x0 pushl $137 801063a5: 68 89 00 00 00 push $0x89 jmp alltraps 801063aa: e9 0a f6 ff ff jmp 801059b9 <alltraps> 801063af <vector138>: .globl vector138 vector138: pushl $0 801063af: 6a 00 push $0x0 pushl $138 801063b1: 68 8a 00 00 00 push $0x8a jmp alltraps 801063b6: e9 fe f5 ff ff jmp 801059b9 <alltraps> 801063bb <vector139>: .globl vector139 vector139: pushl $0 801063bb: 6a 00 push $0x0 pushl $139 801063bd: 68 8b 00 00 00 push $0x8b jmp alltraps 801063c2: e9 f2 f5 ff ff jmp 801059b9 <alltraps> 801063c7 <vector140>: .globl vector140 vector140: pushl $0 801063c7: 6a 00 push $0x0 pushl $140 801063c9: 68 8c 00 00 00 push $0x8c jmp alltraps 801063ce: e9 e6 f5 ff ff jmp 801059b9 <alltraps> 801063d3 <vector141>: .globl vector141 vector141: pushl $0 801063d3: 6a 00 push $0x0 pushl $141 801063d5: 68 8d 00 00 00 push $0x8d jmp alltraps 801063da: e9 da f5 ff ff jmp 801059b9 <alltraps> 801063df <vector142>: .globl vector142 vector142: pushl $0 801063df: 6a 00 push $0x0 pushl $142 801063e1: 68 8e 00 00 00 push $0x8e jmp alltraps 801063e6: e9 ce f5 ff ff jmp 801059b9 <alltraps> 801063eb <vector143>: .globl vector143 vector143: pushl $0 801063eb: 6a 00 push $0x0 pushl $143 801063ed: 68 8f 00 00 00 push $0x8f jmp alltraps 801063f2: e9 c2 f5 ff ff jmp 801059b9 <alltraps> 801063f7 <vector144>: .globl vector144 vector144: pushl $0 801063f7: 6a 00 push $0x0 pushl $144 801063f9: 68 90 00 00 00 push $0x90 jmp alltraps 801063fe: e9 b6 f5 ff ff jmp 801059b9 <alltraps> 80106403 <vector145>: .globl vector145 vector145: pushl $0 80106403: 6a 00 push $0x0 pushl $145 80106405: 68 91 00 00 00 push $0x91 jmp alltraps 8010640a: e9 aa f5 ff ff jmp 801059b9 <alltraps> 8010640f <vector146>: .globl vector146 vector146: pushl $0 8010640f: 6a 00 push $0x0 pushl $146 80106411: 68 92 00 00 00 push $0x92 jmp alltraps 80106416: e9 9e f5 ff ff jmp 801059b9 <alltraps> 8010641b <vector147>: .globl vector147 vector147: pushl $0 8010641b: 6a 00 push $0x0 pushl $147 8010641d: 68 93 00 00 00 push $0x93 jmp alltraps 80106422: e9 92 f5 ff ff jmp 801059b9 <alltraps> 80106427 <vector148>: .globl vector148 vector148: pushl $0 80106427: 6a 00 push $0x0 pushl $148 80106429: 68 94 00 00 00 push $0x94 jmp alltraps 8010642e: e9 86 f5 ff ff jmp 801059b9 <alltraps> 80106433 <vector149>: .globl vector149 vector149: pushl $0 80106433: 6a 00 push $0x0 pushl $149 80106435: 68 95 00 00 00 push $0x95 jmp alltraps 8010643a: e9 7a f5 ff ff jmp 801059b9 <alltraps> 8010643f <vector150>: .globl vector150 vector150: pushl $0 8010643f: 6a 00 push $0x0 pushl $150 80106441: 68 96 00 00 00 push $0x96 jmp alltraps 80106446: e9 6e f5 ff ff jmp 801059b9 <alltraps> 8010644b <vector151>: .globl vector151 vector151: pushl $0 8010644b: 6a 00 push $0x0 pushl $151 8010644d: 68 97 00 00 00 push $0x97 jmp alltraps 80106452: e9 62 f5 ff ff jmp 801059b9 <alltraps> 80106457 <vector152>: .globl vector152 vector152: pushl $0 80106457: 6a 00 push $0x0 pushl $152 80106459: 68 98 00 00 00 push $0x98 jmp alltraps 8010645e: e9 56 f5 ff ff jmp 801059b9 <alltraps> 80106463 <vector153>: .globl vector153 vector153: pushl $0 80106463: 6a 00 push $0x0 pushl $153 80106465: 68 99 00 00 00 push $0x99 jmp alltraps 8010646a: e9 4a f5 ff ff jmp 801059b9 <alltraps> 8010646f <vector154>: .globl vector154 vector154: pushl $0 8010646f: 6a 00 push $0x0 pushl $154 80106471: 68 9a 00 00 00 push $0x9a jmp alltraps 80106476: e9 3e f5 ff ff jmp 801059b9 <alltraps> 8010647b <vector155>: .globl vector155 vector155: pushl $0 8010647b: 6a 00 push $0x0 pushl $155 8010647d: 68 9b 00 00 00 push $0x9b jmp alltraps 80106482: e9 32 f5 ff ff jmp 801059b9 <alltraps> 80106487 <vector156>: .globl vector156 vector156: pushl $0 80106487: 6a 00 push $0x0 pushl $156 80106489: 68 9c 00 00 00 push $0x9c jmp alltraps 8010648e: e9 26 f5 ff ff jmp 801059b9 <alltraps> 80106493 <vector157>: .globl vector157 vector157: pushl $0 80106493: 6a 00 push $0x0 pushl $157 80106495: 68 9d 00 00 00 push $0x9d jmp alltraps 8010649a: e9 1a f5 ff ff jmp 801059b9 <alltraps> 8010649f <vector158>: .globl vector158 vector158: pushl $0 8010649f: 6a 00 push $0x0 pushl $158 801064a1: 68 9e 00 00 00 push $0x9e jmp alltraps 801064a6: e9 0e f5 ff ff jmp 801059b9 <alltraps> 801064ab <vector159>: .globl vector159 vector159: pushl $0 801064ab: 6a 00 push $0x0 pushl $159 801064ad: 68 9f 00 00 00 push $0x9f jmp alltraps 801064b2: e9 02 f5 ff ff jmp 801059b9 <alltraps> 801064b7 <vector160>: .globl vector160 vector160: pushl $0 801064b7: 6a 00 push $0x0 pushl $160 801064b9: 68 a0 00 00 00 push $0xa0 jmp alltraps 801064be: e9 f6 f4 ff ff jmp 801059b9 <alltraps> 801064c3 <vector161>: .globl vector161 vector161: pushl $0 801064c3: 6a 00 push $0x0 pushl $161 801064c5: 68 a1 00 00 00 push $0xa1 jmp alltraps 801064ca: e9 ea f4 ff ff jmp 801059b9 <alltraps> 801064cf <vector162>: .globl vector162 vector162: pushl $0 801064cf: 6a 00 push $0x0 pushl $162 801064d1: 68 a2 00 00 00 push $0xa2 jmp alltraps 801064d6: e9 de f4 ff ff jmp 801059b9 <alltraps> 801064db <vector163>: .globl vector163 vector163: pushl $0 801064db: 6a 00 push $0x0 pushl $163 801064dd: 68 a3 00 00 00 push $0xa3 jmp alltraps 801064e2: e9 d2 f4 ff ff jmp 801059b9 <alltraps> 801064e7 <vector164>: .globl vector164 vector164: pushl $0 801064e7: 6a 00 push $0x0 pushl $164 801064e9: 68 a4 00 00 00 push $0xa4 jmp alltraps 801064ee: e9 c6 f4 ff ff jmp 801059b9 <alltraps> 801064f3 <vector165>: .globl vector165 vector165: pushl $0 801064f3: 6a 00 push $0x0 pushl $165 801064f5: 68 a5 00 00 00 push $0xa5 jmp alltraps 801064fa: e9 ba f4 ff ff jmp 801059b9 <alltraps> 801064ff <vector166>: .globl vector166 vector166: pushl $0 801064ff: 6a 00 push $0x0 pushl $166 80106501: 68 a6 00 00 00 push $0xa6 jmp alltraps 80106506: e9 ae f4 ff ff jmp 801059b9 <alltraps> 8010650b <vector167>: .globl vector167 vector167: pushl $0 8010650b: 6a 00 push $0x0 pushl $167 8010650d: 68 a7 00 00 00 push $0xa7 jmp alltraps 80106512: e9 a2 f4 ff ff jmp 801059b9 <alltraps> 80106517 <vector168>: .globl vector168 vector168: pushl $0 80106517: 6a 00 push $0x0 pushl $168 80106519: 68 a8 00 00 00 push $0xa8 jmp alltraps 8010651e: e9 96 f4 ff ff jmp 801059b9 <alltraps> 80106523 <vector169>: .globl vector169 vector169: pushl $0 80106523: 6a 00 push $0x0 pushl $169 80106525: 68 a9 00 00 00 push $0xa9 jmp alltraps 8010652a: e9 8a f4 ff ff jmp 801059b9 <alltraps> 8010652f <vector170>: .globl vector170 vector170: pushl $0 8010652f: 6a 00 push $0x0 pushl $170 80106531: 68 aa 00 00 00 push $0xaa jmp alltraps 80106536: e9 7e f4 ff ff jmp 801059b9 <alltraps> 8010653b <vector171>: .globl vector171 vector171: pushl $0 8010653b: 6a 00 push $0x0 pushl $171 8010653d: 68 ab 00 00 00 push $0xab jmp alltraps 80106542: e9 72 f4 ff ff jmp 801059b9 <alltraps> 80106547 <vector172>: .globl vector172 vector172: pushl $0 80106547: 6a 00 push $0x0 pushl $172 80106549: 68 ac 00 00 00 push $0xac jmp alltraps 8010654e: e9 66 f4 ff ff jmp 801059b9 <alltraps> 80106553 <vector173>: .globl vector173 vector173: pushl $0 80106553: 6a 00 push $0x0 pushl $173 80106555: 68 ad 00 00 00 push $0xad jmp alltraps 8010655a: e9 5a f4 ff ff jmp 801059b9 <alltraps> 8010655f <vector174>: .globl vector174 vector174: pushl $0 8010655f: 6a 00 push $0x0 pushl $174 80106561: 68 ae 00 00 00 push $0xae jmp alltraps 80106566: e9 4e f4 ff ff jmp 801059b9 <alltraps> 8010656b <vector175>: .globl vector175 vector175: pushl $0 8010656b: 6a 00 push $0x0 pushl $175 8010656d: 68 af 00 00 00 push $0xaf jmp alltraps 80106572: e9 42 f4 ff ff jmp 801059b9 <alltraps> 80106577 <vector176>: .globl vector176 vector176: pushl $0 80106577: 6a 00 push $0x0 pushl $176 80106579: 68 b0 00 00 00 push $0xb0 jmp alltraps 8010657e: e9 36 f4 ff ff jmp 801059b9 <alltraps> 80106583 <vector177>: .globl vector177 vector177: pushl $0 80106583: 6a 00 push $0x0 pushl $177 80106585: 68 b1 00 00 00 push $0xb1 jmp alltraps 8010658a: e9 2a f4 ff ff jmp 801059b9 <alltraps> 8010658f <vector178>: .globl vector178 vector178: pushl $0 8010658f: 6a 00 push $0x0 pushl $178 80106591: 68 b2 00 00 00 push $0xb2 jmp alltraps 80106596: e9 1e f4 ff ff jmp 801059b9 <alltraps> 8010659b <vector179>: .globl vector179 vector179: pushl $0 8010659b: 6a 00 push $0x0 pushl $179 8010659d: 68 b3 00 00 00 push $0xb3 jmp alltraps 801065a2: e9 12 f4 ff ff jmp 801059b9 <alltraps> 801065a7 <vector180>: .globl vector180 vector180: pushl $0 801065a7: 6a 00 push $0x0 pushl $180 801065a9: 68 b4 00 00 00 push $0xb4 jmp alltraps 801065ae: e9 06 f4 ff ff jmp 801059b9 <alltraps> 801065b3 <vector181>: .globl vector181 vector181: pushl $0 801065b3: 6a 00 push $0x0 pushl $181 801065b5: 68 b5 00 00 00 push $0xb5 jmp alltraps 801065ba: e9 fa f3 ff ff jmp 801059b9 <alltraps> 801065bf <vector182>: .globl vector182 vector182: pushl $0 801065bf: 6a 00 push $0x0 pushl $182 801065c1: 68 b6 00 00 00 push $0xb6 jmp alltraps 801065c6: e9 ee f3 ff ff jmp 801059b9 <alltraps> 801065cb <vector183>: .globl vector183 vector183: pushl $0 801065cb: 6a 00 push $0x0 pushl $183 801065cd: 68 b7 00 00 00 push $0xb7 jmp alltraps 801065d2: e9 e2 f3 ff ff jmp 801059b9 <alltraps> 801065d7 <vector184>: .globl vector184 vector184: pushl $0 801065d7: 6a 00 push $0x0 pushl $184 801065d9: 68 b8 00 00 00 push $0xb8 jmp alltraps 801065de: e9 d6 f3 ff ff jmp 801059b9 <alltraps> 801065e3 <vector185>: .globl vector185 vector185: pushl $0 801065e3: 6a 00 push $0x0 pushl $185 801065e5: 68 b9 00 00 00 push $0xb9 jmp alltraps 801065ea: e9 ca f3 ff ff jmp 801059b9 <alltraps> 801065ef <vector186>: .globl vector186 vector186: pushl $0 801065ef: 6a 00 push $0x0 pushl $186 801065f1: 68 ba 00 00 00 push $0xba jmp alltraps 801065f6: e9 be f3 ff ff jmp 801059b9 <alltraps> 801065fb <vector187>: .globl vector187 vector187: pushl $0 801065fb: 6a 00 push $0x0 pushl $187 801065fd: 68 bb 00 00 00 push $0xbb jmp alltraps 80106602: e9 b2 f3 ff ff jmp 801059b9 <alltraps> 80106607 <vector188>: .globl vector188 vector188: pushl $0 80106607: 6a 00 push $0x0 pushl $188 80106609: 68 bc 00 00 00 push $0xbc jmp alltraps 8010660e: e9 a6 f3 ff ff jmp 801059b9 <alltraps> 80106613 <vector189>: .globl vector189 vector189: pushl $0 80106613: 6a 00 push $0x0 pushl $189 80106615: 68 bd 00 00 00 push $0xbd jmp alltraps 8010661a: e9 9a f3 ff ff jmp 801059b9 <alltraps> 8010661f <vector190>: .globl vector190 vector190: pushl $0 8010661f: 6a 00 push $0x0 pushl $190 80106621: 68 be 00 00 00 push $0xbe jmp alltraps 80106626: e9 8e f3 ff ff jmp 801059b9 <alltraps> 8010662b <vector191>: .globl vector191 vector191: pushl $0 8010662b: 6a 00 push $0x0 pushl $191 8010662d: 68 bf 00 00 00 push $0xbf jmp alltraps 80106632: e9 82 f3 ff ff jmp 801059b9 <alltraps> 80106637 <vector192>: .globl vector192 vector192: pushl $0 80106637: 6a 00 push $0x0 pushl $192 80106639: 68 c0 00 00 00 push $0xc0 jmp alltraps 8010663e: e9 76 f3 ff ff jmp 801059b9 <alltraps> 80106643 <vector193>: .globl vector193 vector193: pushl $0 80106643: 6a 00 push $0x0 pushl $193 80106645: 68 c1 00 00 00 push $0xc1 jmp alltraps 8010664a: e9 6a f3 ff ff jmp 801059b9 <alltraps> 8010664f <vector194>: .globl vector194 vector194: pushl $0 8010664f: 6a 00 push $0x0 pushl $194 80106651: 68 c2 00 00 00 push $0xc2 jmp alltraps 80106656: e9 5e f3 ff ff jmp 801059b9 <alltraps> 8010665b <vector195>: .globl vector195 vector195: pushl $0 8010665b: 6a 00 push $0x0 pushl $195 8010665d: 68 c3 00 00 00 push $0xc3 jmp alltraps 80106662: e9 52 f3 ff ff jmp 801059b9 <alltraps> 80106667 <vector196>: .globl vector196 vector196: pushl $0 80106667: 6a 00 push $0x0 pushl $196 80106669: 68 c4 00 00 00 push $0xc4 jmp alltraps 8010666e: e9 46 f3 ff ff jmp 801059b9 <alltraps> 80106673 <vector197>: .globl vector197 vector197: pushl $0 80106673: 6a 00 push $0x0 pushl $197 80106675: 68 c5 00 00 00 push $0xc5 jmp alltraps 8010667a: e9 3a f3 ff ff jmp 801059b9 <alltraps> 8010667f <vector198>: .globl vector198 vector198: pushl $0 8010667f: 6a 00 push $0x0 pushl $198 80106681: 68 c6 00 00 00 push $0xc6 jmp alltraps 80106686: e9 2e f3 ff ff jmp 801059b9 <alltraps> 8010668b <vector199>: .globl vector199 vector199: pushl $0 8010668b: 6a 00 push $0x0 pushl $199 8010668d: 68 c7 00 00 00 push $0xc7 jmp alltraps 80106692: e9 22 f3 ff ff jmp 801059b9 <alltraps> 80106697 <vector200>: .globl vector200 vector200: pushl $0 80106697: 6a 00 push $0x0 pushl $200 80106699: 68 c8 00 00 00 push $0xc8 jmp alltraps 8010669e: e9 16 f3 ff ff jmp 801059b9 <alltraps> 801066a3 <vector201>: .globl vector201 vector201: pushl $0 801066a3: 6a 00 push $0x0 pushl $201 801066a5: 68 c9 00 00 00 push $0xc9 jmp alltraps 801066aa: e9 0a f3 ff ff jmp 801059b9 <alltraps> 801066af <vector202>: .globl vector202 vector202: pushl $0 801066af: 6a 00 push $0x0 pushl $202 801066b1: 68 ca 00 00 00 push $0xca jmp alltraps 801066b6: e9 fe f2 ff ff jmp 801059b9 <alltraps> 801066bb <vector203>: .globl vector203 vector203: pushl $0 801066bb: 6a 00 push $0x0 pushl $203 801066bd: 68 cb 00 00 00 push $0xcb jmp alltraps 801066c2: e9 f2 f2 ff ff jmp 801059b9 <alltraps> 801066c7 <vector204>: .globl vector204 vector204: pushl $0 801066c7: 6a 00 push $0x0 pushl $204 801066c9: 68 cc 00 00 00 push $0xcc jmp alltraps 801066ce: e9 e6 f2 ff ff jmp 801059b9 <alltraps> 801066d3 <vector205>: .globl vector205 vector205: pushl $0 801066d3: 6a 00 push $0x0 pushl $205 801066d5: 68 cd 00 00 00 push $0xcd jmp alltraps 801066da: e9 da f2 ff ff jmp 801059b9 <alltraps> 801066df <vector206>: .globl vector206 vector206: pushl $0 801066df: 6a 00 push $0x0 pushl $206 801066e1: 68 ce 00 00 00 push $0xce jmp alltraps 801066e6: e9 ce f2 ff ff jmp 801059b9 <alltraps> 801066eb <vector207>: .globl vector207 vector207: pushl $0 801066eb: 6a 00 push $0x0 pushl $207 801066ed: 68 cf 00 00 00 push $0xcf jmp alltraps 801066f2: e9 c2 f2 ff ff jmp 801059b9 <alltraps> 801066f7 <vector208>: .globl vector208 vector208: pushl $0 801066f7: 6a 00 push $0x0 pushl $208 801066f9: 68 d0 00 00 00 push $0xd0 jmp alltraps 801066fe: e9 b6 f2 ff ff jmp 801059b9 <alltraps> 80106703 <vector209>: .globl vector209 vector209: pushl $0 80106703: 6a 00 push $0x0 pushl $209 80106705: 68 d1 00 00 00 push $0xd1 jmp alltraps 8010670a: e9 aa f2 ff ff jmp 801059b9 <alltraps> 8010670f <vector210>: .globl vector210 vector210: pushl $0 8010670f: 6a 00 push $0x0 pushl $210 80106711: 68 d2 00 00 00 push $0xd2 jmp alltraps 80106716: e9 9e f2 ff ff jmp 801059b9 <alltraps> 8010671b <vector211>: .globl vector211 vector211: pushl $0 8010671b: 6a 00 push $0x0 pushl $211 8010671d: 68 d3 00 00 00 push $0xd3 jmp alltraps 80106722: e9 92 f2 ff ff jmp 801059b9 <alltraps> 80106727 <vector212>: .globl vector212 vector212: pushl $0 80106727: 6a 00 push $0x0 pushl $212 80106729: 68 d4 00 00 00 push $0xd4 jmp alltraps 8010672e: e9 86 f2 ff ff jmp 801059b9 <alltraps> 80106733 <vector213>: .globl vector213 vector213: pushl $0 80106733: 6a 00 push $0x0 pushl $213 80106735: 68 d5 00 00 00 push $0xd5 jmp alltraps 8010673a: e9 7a f2 ff ff jmp 801059b9 <alltraps> 8010673f <vector214>: .globl vector214 vector214: pushl $0 8010673f: 6a 00 push $0x0 pushl $214 80106741: 68 d6 00 00 00 push $0xd6 jmp alltraps 80106746: e9 6e f2 ff ff jmp 801059b9 <alltraps> 8010674b <vector215>: .globl vector215 vector215: pushl $0 8010674b: 6a 00 push $0x0 pushl $215 8010674d: 68 d7 00 00 00 push $0xd7 jmp alltraps 80106752: e9 62 f2 ff ff jmp 801059b9 <alltraps> 80106757 <vector216>: .globl vector216 vector216: pushl $0 80106757: 6a 00 push $0x0 pushl $216 80106759: 68 d8 00 00 00 push $0xd8 jmp alltraps 8010675e: e9 56 f2 ff ff jmp 801059b9 <alltraps> 80106763 <vector217>: .globl vector217 vector217: pushl $0 80106763: 6a 00 push $0x0 pushl $217 80106765: 68 d9 00 00 00 push $0xd9 jmp alltraps 8010676a: e9 4a f2 ff ff jmp 801059b9 <alltraps> 8010676f <vector218>: .globl vector218 vector218: pushl $0 8010676f: 6a 00 push $0x0 pushl $218 80106771: 68 da 00 00 00 push $0xda jmp alltraps 80106776: e9 3e f2 ff ff jmp 801059b9 <alltraps> 8010677b <vector219>: .globl vector219 vector219: pushl $0 8010677b: 6a 00 push $0x0 pushl $219 8010677d: 68 db 00 00 00 push $0xdb jmp alltraps 80106782: e9 32 f2 ff ff jmp 801059b9 <alltraps> 80106787 <vector220>: .globl vector220 vector220: pushl $0 80106787: 6a 00 push $0x0 pushl $220 80106789: 68 dc 00 00 00 push $0xdc jmp alltraps 8010678e: e9 26 f2 ff ff jmp 801059b9 <alltraps> 80106793 <vector221>: .globl vector221 vector221: pushl $0 80106793: 6a 00 push $0x0 pushl $221 80106795: 68 dd 00 00 00 push $0xdd jmp alltraps 8010679a: e9 1a f2 ff ff jmp 801059b9 <alltraps> 8010679f <vector222>: .globl vector222 vector222: pushl $0 8010679f: 6a 00 push $0x0 pushl $222 801067a1: 68 de 00 00 00 push $0xde jmp alltraps 801067a6: e9 0e f2 ff ff jmp 801059b9 <alltraps> 801067ab <vector223>: .globl vector223 vector223: pushl $0 801067ab: 6a 00 push $0x0 pushl $223 801067ad: 68 df 00 00 00 push $0xdf jmp alltraps 801067b2: e9 02 f2 ff ff jmp 801059b9 <alltraps> 801067b7 <vector224>: .globl vector224 vector224: pushl $0 801067b7: 6a 00 push $0x0 pushl $224 801067b9: 68 e0 00 00 00 push $0xe0 jmp alltraps 801067be: e9 f6 f1 ff ff jmp 801059b9 <alltraps> 801067c3 <vector225>: .globl vector225 vector225: pushl $0 801067c3: 6a 00 push $0x0 pushl $225 801067c5: 68 e1 00 00 00 push $0xe1 jmp alltraps 801067ca: e9 ea f1 ff ff jmp 801059b9 <alltraps> 801067cf <vector226>: .globl vector226 vector226: pushl $0 801067cf: 6a 00 push $0x0 pushl $226 801067d1: 68 e2 00 00 00 push $0xe2 jmp alltraps 801067d6: e9 de f1 ff ff jmp 801059b9 <alltraps> 801067db <vector227>: .globl vector227 vector227: pushl $0 801067db: 6a 00 push $0x0 pushl $227 801067dd: 68 e3 00 00 00 push $0xe3 jmp alltraps 801067e2: e9 d2 f1 ff ff jmp 801059b9 <alltraps> 801067e7 <vector228>: .globl vector228 vector228: pushl $0 801067e7: 6a 00 push $0x0 pushl $228 801067e9: 68 e4 00 00 00 push $0xe4 jmp alltraps 801067ee: e9 c6 f1 ff ff jmp 801059b9 <alltraps> 801067f3 <vector229>: .globl vector229 vector229: pushl $0 801067f3: 6a 00 push $0x0 pushl $229 801067f5: 68 e5 00 00 00 push $0xe5 jmp alltraps 801067fa: e9 ba f1 ff ff jmp 801059b9 <alltraps> 801067ff <vector230>: .globl vector230 vector230: pushl $0 801067ff: 6a 00 push $0x0 pushl $230 80106801: 68 e6 00 00 00 push $0xe6 jmp alltraps 80106806: e9 ae f1 ff ff jmp 801059b9 <alltraps> 8010680b <vector231>: .globl vector231 vector231: pushl $0 8010680b: 6a 00 push $0x0 pushl $231 8010680d: 68 e7 00 00 00 push $0xe7 jmp alltraps 80106812: e9 a2 f1 ff ff jmp 801059b9 <alltraps> 80106817 <vector232>: .globl vector232 vector232: pushl $0 80106817: 6a 00 push $0x0 pushl $232 80106819: 68 e8 00 00 00 push $0xe8 jmp alltraps 8010681e: e9 96 f1 ff ff jmp 801059b9 <alltraps> 80106823 <vector233>: .globl vector233 vector233: pushl $0 80106823: 6a 00 push $0x0 pushl $233 80106825: 68 e9 00 00 00 push $0xe9 jmp alltraps 8010682a: e9 8a f1 ff ff jmp 801059b9 <alltraps> 8010682f <vector234>: .globl vector234 vector234: pushl $0 8010682f: 6a 00 push $0x0 pushl $234 80106831: 68 ea 00 00 00 push $0xea jmp alltraps 80106836: e9 7e f1 ff ff jmp 801059b9 <alltraps> 8010683b <vector235>: .globl vector235 vector235: pushl $0 8010683b: 6a 00 push $0x0 pushl $235 8010683d: 68 eb 00 00 00 push $0xeb jmp alltraps 80106842: e9 72 f1 ff ff jmp 801059b9 <alltraps> 80106847 <vector236>: .globl vector236 vector236: pushl $0 80106847: 6a 00 push $0x0 pushl $236 80106849: 68 ec 00 00 00 push $0xec jmp alltraps 8010684e: e9 66 f1 ff ff jmp 801059b9 <alltraps> 80106853 <vector237>: .globl vector237 vector237: pushl $0 80106853: 6a 00 push $0x0 pushl $237 80106855: 68 ed 00 00 00 push $0xed jmp alltraps 8010685a: e9 5a f1 ff ff jmp 801059b9 <alltraps> 8010685f <vector238>: .globl vector238 vector238: pushl $0 8010685f: 6a 00 push $0x0 pushl $238 80106861: 68 ee 00 00 00 push $0xee jmp alltraps 80106866: e9 4e f1 ff ff jmp 801059b9 <alltraps> 8010686b <vector239>: .globl vector239 vector239: pushl $0 8010686b: 6a 00 push $0x0 pushl $239 8010686d: 68 ef 00 00 00 push $0xef jmp alltraps 80106872: e9 42 f1 ff ff jmp 801059b9 <alltraps> 80106877 <vector240>: .globl vector240 vector240: pushl $0 80106877: 6a 00 push $0x0 pushl $240 80106879: 68 f0 00 00 00 push $0xf0 jmp alltraps 8010687e: e9 36 f1 ff ff jmp 801059b9 <alltraps> 80106883 <vector241>: .globl vector241 vector241: pushl $0 80106883: 6a 00 push $0x0 pushl $241 80106885: 68 f1 00 00 00 push $0xf1 jmp alltraps 8010688a: e9 2a f1 ff ff jmp 801059b9 <alltraps> 8010688f <vector242>: .globl vector242 vector242: pushl $0 8010688f: 6a 00 push $0x0 pushl $242 80106891: 68 f2 00 00 00 push $0xf2 jmp alltraps 80106896: e9 1e f1 ff ff jmp 801059b9 <alltraps> 8010689b <vector243>: .globl vector243 vector243: pushl $0 8010689b: 6a 00 push $0x0 pushl $243 8010689d: 68 f3 00 00 00 push $0xf3 jmp alltraps 801068a2: e9 12 f1 ff ff jmp 801059b9 <alltraps> 801068a7 <vector244>: .globl vector244 vector244: pushl $0 801068a7: 6a 00 push $0x0 pushl $244 801068a9: 68 f4 00 00 00 push $0xf4 jmp alltraps 801068ae: e9 06 f1 ff ff jmp 801059b9 <alltraps> 801068b3 <vector245>: .globl vector245 vector245: pushl $0 801068b3: 6a 00 push $0x0 pushl $245 801068b5: 68 f5 00 00 00 push $0xf5 jmp alltraps 801068ba: e9 fa f0 ff ff jmp 801059b9 <alltraps> 801068bf <vector246>: .globl vector246 vector246: pushl $0 801068bf: 6a 00 push $0x0 pushl $246 801068c1: 68 f6 00 00 00 push $0xf6 jmp alltraps 801068c6: e9 ee f0 ff ff jmp 801059b9 <alltraps> 801068cb <vector247>: .globl vector247 vector247: pushl $0 801068cb: 6a 00 push $0x0 pushl $247 801068cd: 68 f7 00 00 00 push $0xf7 jmp alltraps 801068d2: e9 e2 f0 ff ff jmp 801059b9 <alltraps> 801068d7 <vector248>: .globl vector248 vector248: pushl $0 801068d7: 6a 00 push $0x0 pushl $248 801068d9: 68 f8 00 00 00 push $0xf8 jmp alltraps 801068de: e9 d6 f0 ff ff jmp 801059b9 <alltraps> 801068e3 <vector249>: .globl vector249 vector249: pushl $0 801068e3: 6a 00 push $0x0 pushl $249 801068e5: 68 f9 00 00 00 push $0xf9 jmp alltraps 801068ea: e9 ca f0 ff ff jmp 801059b9 <alltraps> 801068ef <vector250>: .globl vector250 vector250: pushl $0 801068ef: 6a 00 push $0x0 pushl $250 801068f1: 68 fa 00 00 00 push $0xfa jmp alltraps 801068f6: e9 be f0 ff ff jmp 801059b9 <alltraps> 801068fb <vector251>: .globl vector251 vector251: pushl $0 801068fb: 6a 00 push $0x0 pushl $251 801068fd: 68 fb 00 00 00 push $0xfb jmp alltraps 80106902: e9 b2 f0 ff ff jmp 801059b9 <alltraps> 80106907 <vector252>: .globl vector252 vector252: pushl $0 80106907: 6a 00 push $0x0 pushl $252 80106909: 68 fc 00 00 00 push $0xfc jmp alltraps 8010690e: e9 a6 f0 ff ff jmp 801059b9 <alltraps> 80106913 <vector253>: .globl vector253 vector253: pushl $0 80106913: 6a 00 push $0x0 pushl $253 80106915: 68 fd 00 00 00 push $0xfd jmp alltraps 8010691a: e9 9a f0 ff ff jmp 801059b9 <alltraps> 8010691f <vector254>: .globl vector254 vector254: pushl $0 8010691f: 6a 00 push $0x0 pushl $254 80106921: 68 fe 00 00 00 push $0xfe jmp alltraps 80106926: e9 8e f0 ff ff jmp 801059b9 <alltraps> 8010692b <vector255>: .globl vector255 vector255: pushl $0 8010692b: 6a 00 push $0x0 pushl $255 8010692d: 68 ff 00 00 00 push $0xff jmp alltraps 80106932: e9 82 f0 ff ff jmp 801059b9 <alltraps> 80106937: 66 90 xchg %ax,%ax 80106939: 66 90 xchg %ax,%ax 8010693b: 66 90 xchg %ax,%ax 8010693d: 66 90 xchg %ax,%ax 8010693f: 90 nop 80106940 <walkpgdir>: // Return the address of the PTE in page table pgdir // that corresponds to virtual address va. If alloc!=0, // create any required page table pages. static pte_t * walkpgdir(pde_t *pgdir, const void *va, int alloc) { 80106940: 55 push %ebp 80106941: 89 e5 mov %esp,%ebp 80106943: 57 push %edi 80106944: 56 push %esi 80106945: 53 push %ebx pde_t *pde; pte_t *pgtab; pde = &pgdir[PDX(va)]; 80106946: 89 d3 mov %edx,%ebx { 80106948: 89 d7 mov %edx,%edi pde = &pgdir[PDX(va)]; 8010694a: c1 eb 16 shr $0x16,%ebx 8010694d: 8d 34 98 lea (%eax,%ebx,4),%esi { 80106950: 83 ec 0c sub $0xc,%esp if(*pde & PTE_P){ 80106953: 8b 06 mov (%esi),%eax 80106955: a8 01 test $0x1,%al 80106957: 74 27 je 80106980 <walkpgdir+0x40> pgtab = (pte_t*)P2V(PTE_ADDR(*pde)); 80106959: 25 00 f0 ff ff and $0xfffff000,%eax 8010695e: 8d 98 00 00 00 80 lea -0x80000000(%eax),%ebx // The permissions here are overly generous, but they can // be further restricted by the permissions in the page table // entries, if necessary. *pde = V2P(pgtab) | PTE_P | PTE_W | PTE_U; } return &pgtab[PTX(va)]; 80106964: c1 ef 0a shr $0xa,%edi } 80106967: 8d 65 f4 lea -0xc(%ebp),%esp return &pgtab[PTX(va)]; 8010696a: 89 fa mov %edi,%edx 8010696c: 81 e2 fc 0f 00 00 and $0xffc,%edx 80106972: 8d 04 13 lea (%ebx,%edx,1),%eax } 80106975: 5b pop %ebx 80106976: 5e pop %esi 80106977: 5f pop %edi 80106978: 5d pop %ebp 80106979: c3 ret 8010697a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi if(!alloc || (pgtab = (pte_t*)kalloc()) == 0) 80106980: 85 c9 test %ecx,%ecx 80106982: 74 2c je 801069b0 <walkpgdir+0x70> 80106984: e8 47 bb ff ff call 801024d0 <kalloc> 80106989: 85 c0 test %eax,%eax 8010698b: 89 c3 mov %eax,%ebx 8010698d: 74 21 je 801069b0 <walkpgdir+0x70> memset(pgtab, 0, PGSIZE); 8010698f: 83 ec 04 sub $0x4,%esp 80106992: 68 00 10 00 00 push $0x1000 80106997: 6a 00 push $0x0 80106999: 50 push %eax 8010699a: e8 21 dd ff ff call 801046c0 <memset> *pde = V2P(pgtab) | PTE_P | PTE_W | PTE_U; 8010699f: 8d 83 00 00 00 80 lea -0x80000000(%ebx),%eax 801069a5: 83 c4 10 add $0x10,%esp 801069a8: 83 c8 07 or $0x7,%eax 801069ab: 89 06 mov %eax,(%esi) 801069ad: eb b5 jmp 80106964 <walkpgdir+0x24> 801069af: 90 nop } 801069b0: 8d 65 f4 lea -0xc(%ebp),%esp return 0; 801069b3: 31 c0 xor %eax,%eax } 801069b5: 5b pop %ebx 801069b6: 5e pop %esi 801069b7: 5f pop %edi 801069b8: 5d pop %ebp 801069b9: c3 ret 801069ba: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 801069c0 <mappages>: // Create PTEs for virtual addresses starting at va that refer to // physical addresses starting at pa. va and size might not // be page-aligned. static int mappages(pde_t *pgdir, void *va, uint size, uint pa, int perm) { 801069c0: 55 push %ebp 801069c1: 89 e5 mov %esp,%ebp 801069c3: 57 push %edi 801069c4: 56 push %esi 801069c5: 53 push %ebx char *a, *last; pte_t *pte; a = (char*)PGROUNDDOWN((uint)va); 801069c6: 89 d3 mov %edx,%ebx 801069c8: 81 e3 00 f0 ff ff and $0xfffff000,%ebx { 801069ce: 83 ec 1c sub $0x1c,%esp 801069d1: 89 45 e4 mov %eax,-0x1c(%ebp) last = (char*)PGROUNDDOWN(((uint)va) + size - 1); 801069d4: 8d 44 0a ff lea -0x1(%edx,%ecx,1),%eax 801069d8: 8b 7d 08 mov 0x8(%ebp),%edi 801069db: 25 00 f0 ff ff and $0xfffff000,%eax 801069e0: 89 45 e0 mov %eax,-0x20(%ebp) for(;;){ if((pte = walkpgdir(pgdir, a, 1)) == 0) return -1; if(*pte & PTE_P) panic("remap"); *pte = pa | perm | PTE_P; 801069e3: 8b 45 0c mov 0xc(%ebp),%eax 801069e6: 29 df sub %ebx,%edi 801069e8: 83 c8 01 or $0x1,%eax 801069eb: 89 45 dc mov %eax,-0x24(%ebp) 801069ee: eb 15 jmp 80106a05 <mappages+0x45> if(*pte & PTE_P) 801069f0: f6 00 01 testb $0x1,(%eax) 801069f3: 75 45 jne 80106a3a <mappages+0x7a> *pte = pa | perm | PTE_P; 801069f5: 0b 75 dc or -0x24(%ebp),%esi if(a == last) 801069f8: 3b 5d e0 cmp -0x20(%ebp),%ebx *pte = pa | perm | PTE_P; 801069fb: 89 30 mov %esi,(%eax) if(a == last) 801069fd: 74 31 je 80106a30 <mappages+0x70> break; a += PGSIZE; 801069ff: 81 c3 00 10 00 00 add $0x1000,%ebx if((pte = walkpgdir(pgdir, a, 1)) == 0) 80106a05: 8b 45 e4 mov -0x1c(%ebp),%eax 80106a08: b9 01 00 00 00 mov $0x1,%ecx 80106a0d: 89 da mov %ebx,%edx 80106a0f: 8d 34 3b lea (%ebx,%edi,1),%esi 80106a12: e8 29 ff ff ff call 80106940 <walkpgdir> 80106a17: 85 c0 test %eax,%eax 80106a19: 75 d5 jne 801069f0 <mappages+0x30> pa += PGSIZE; } return 0; } 80106a1b: 8d 65 f4 lea -0xc(%ebp),%esp return -1; 80106a1e: b8 ff ff ff ff mov $0xffffffff,%eax } 80106a23: 5b pop %ebx 80106a24: 5e pop %esi 80106a25: 5f pop %edi 80106a26: 5d pop %ebp 80106a27: c3 ret 80106a28: 90 nop 80106a29: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 80106a30: 8d 65 f4 lea -0xc(%ebp),%esp return 0; 80106a33: 31 c0 xor %eax,%eax } 80106a35: 5b pop %ebx 80106a36: 5e pop %esi 80106a37: 5f pop %edi 80106a38: 5d pop %ebp 80106a39: c3 ret panic("remap"); 80106a3a: 83 ec 0c sub $0xc,%esp 80106a3d: 68 04 7c 10 80 push $0x80107c04 80106a42: e8 49 99 ff ff call 80100390 <panic> 80106a47: 89 f6 mov %esi,%esi 80106a49: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80106a50 <deallocuvm.part.0>: // Deallocate user pages to bring the process size from oldsz to // newsz. oldsz and newsz need not be page-aligned, nor does newsz // need to be less than oldsz. oldsz can be larger than the actual // process size. Returns the new process size. int deallocuvm(pde_t *pgdir, uint oldsz, uint newsz) 80106a50: 55 push %ebp 80106a51: 89 e5 mov %esp,%ebp 80106a53: 57 push %edi 80106a54: 56 push %esi 80106a55: 53 push %ebx uint a, pa; if(newsz >= oldsz) return oldsz; a = PGROUNDUP(newsz); 80106a56: 8d 99 ff 0f 00 00 lea 0xfff(%ecx),%ebx deallocuvm(pde_t *pgdir, uint oldsz, uint newsz) 80106a5c: 89 c7 mov %eax,%edi a = PGROUNDUP(newsz); 80106a5e: 81 e3 00 f0 ff ff and $0xfffff000,%ebx deallocuvm(pde_t *pgdir, uint oldsz, uint newsz) 80106a64: 83 ec 1c sub $0x1c,%esp 80106a67: 89 4d e0 mov %ecx,-0x20(%ebp) for(; a < oldsz; a += PGSIZE){ 80106a6a: 39 d3 cmp %edx,%ebx 80106a6c: 73 66 jae 80106ad4 <deallocuvm.part.0+0x84> 80106a6e: 89 d6 mov %edx,%esi 80106a70: eb 3d jmp 80106aaf <deallocuvm.part.0+0x5f> 80106a72: 8d b6 00 00 00 00 lea 0x0(%esi),%esi pte = walkpgdir(pgdir, (char*)a, 0); if(!pte) a = PGADDR(PDX(a) + 1, 0, 0) - PGSIZE; else if((*pte & PTE_P) != 0){ 80106a78: 8b 10 mov (%eax),%edx 80106a7a: f6 c2 01 test $0x1,%dl 80106a7d: 74 26 je 80106aa5 <deallocuvm.part.0+0x55> pa = PTE_ADDR(*pte); if(pa == 0) 80106a7f: 81 e2 00 f0 ff ff and $0xfffff000,%edx 80106a85: 74 58 je 80106adf <deallocuvm.part.0+0x8f> panic("kfree"); char *v = P2V(pa); kfree(v); 80106a87: 83 ec 0c sub $0xc,%esp char *v = P2V(pa); 80106a8a: 81 c2 00 00 00 80 add $0x80000000,%edx 80106a90: 89 45 e4 mov %eax,-0x1c(%ebp) kfree(v); 80106a93: 52 push %edx 80106a94: e8 87 b8 ff ff call 80102320 <kfree> *pte = 0; 80106a99: 8b 45 e4 mov -0x1c(%ebp),%eax 80106a9c: 83 c4 10 add $0x10,%esp 80106a9f: c7 00 00 00 00 00 movl $0x0,(%eax) for(; a < oldsz; a += PGSIZE){ 80106aa5: 81 c3 00 10 00 00 add $0x1000,%ebx 80106aab: 39 f3 cmp %esi,%ebx 80106aad: 73 25 jae 80106ad4 <deallocuvm.part.0+0x84> pte = walkpgdir(pgdir, (char*)a, 0); 80106aaf: 31 c9 xor %ecx,%ecx 80106ab1: 89 da mov %ebx,%edx 80106ab3: 89 f8 mov %edi,%eax 80106ab5: e8 86 fe ff ff call 80106940 <walkpgdir> if(!pte) 80106aba: 85 c0 test %eax,%eax 80106abc: 75 ba jne 80106a78 <deallocuvm.part.0+0x28> a = PGADDR(PDX(a) + 1, 0, 0) - PGSIZE; 80106abe: 81 e3 00 00 c0 ff and $0xffc00000,%ebx 80106ac4: 81 c3 00 f0 3f 00 add $0x3ff000,%ebx for(; a < oldsz; a += PGSIZE){ 80106aca: 81 c3 00 10 00 00 add $0x1000,%ebx 80106ad0: 39 f3 cmp %esi,%ebx 80106ad2: 72 db jb 80106aaf <deallocuvm.part.0+0x5f> } } return newsz; } 80106ad4: 8b 45 e0 mov -0x20(%ebp),%eax 80106ad7: 8d 65 f4 lea -0xc(%ebp),%esp 80106ada: 5b pop %ebx 80106adb: 5e pop %esi 80106adc: 5f pop %edi 80106add: 5d pop %ebp 80106ade: c3 ret panic("kfree"); 80106adf: 83 ec 0c sub $0xc,%esp 80106ae2: 68 e6 74 10 80 push $0x801074e6 80106ae7: e8 a4 98 ff ff call 80100390 <panic> 80106aec: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 80106af0 <seginit>: { 80106af0: 55 push %ebp 80106af1: 89 e5 mov %esp,%ebp 80106af3: 83 ec 18 sub $0x18,%esp c = &cpus[cpuid()]; 80106af6: e8 e5 cc ff ff call 801037e0 <cpuid> 80106afb: 69 c0 b0 00 00 00 imul $0xb0,%eax,%eax pd[0] = size-1; 80106b01: ba 2f 00 00 00 mov $0x2f,%edx 80106b06: 66 89 55 f2 mov %dx,-0xe(%ebp) c->gdt[SEG_KCODE] = SEG(STA_X|STA_R, 0, 0xffffffff, 0); 80106b0a: c7 80 f8 27 11 80 ff movl $0xffff,-0x7feed808(%eax) 80106b11: ff 00 00 80106b14: c7 80 fc 27 11 80 00 movl $0xcf9a00,-0x7feed804(%eax) 80106b1b: 9a cf 00 c->gdt[SEG_KDATA] = SEG(STA_W, 0, 0xffffffff, 0); 80106b1e: c7 80 00 28 11 80 ff movl $0xffff,-0x7feed800(%eax) 80106b25: ff 00 00 80106b28: c7 80 04 28 11 80 00 movl $0xcf9200,-0x7feed7fc(%eax) 80106b2f: 92 cf 00 c->gdt[SEG_UCODE] = SEG(STA_X|STA_R, 0, 0xffffffff, DPL_USER); 80106b32: c7 80 08 28 11 80 ff movl $0xffff,-0x7feed7f8(%eax) 80106b39: ff 00 00 80106b3c: c7 80 0c 28 11 80 00 movl $0xcffa00,-0x7feed7f4(%eax) 80106b43: fa cf 00 c->gdt[SEG_UDATA] = SEG(STA_W, 0, 0xffffffff, DPL_USER); 80106b46: c7 80 10 28 11 80 ff movl $0xffff,-0x7feed7f0(%eax) 80106b4d: ff 00 00 80106b50: c7 80 14 28 11 80 00 movl $0xcff200,-0x7feed7ec(%eax) 80106b57: f2 cf 00 lgdt(c->gdt, sizeof(c->gdt)); 80106b5a: 05 f0 27 11 80 add $0x801127f0,%eax pd[1] = (uint)p; 80106b5f: 66 89 45 f4 mov %ax,-0xc(%ebp) pd[2] = (uint)p >> 16; 80106b63: c1 e8 10 shr $0x10,%eax 80106b66: 66 89 45 f6 mov %ax,-0xa(%ebp) asm volatile("lgdt (%0)" : : "r" (pd)); 80106b6a: 8d 45 f2 lea -0xe(%ebp),%eax 80106b6d: 0f 01 10 lgdtl (%eax) } 80106b70: c9 leave 80106b71: c3 ret 80106b72: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 80106b79: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80106b80 <switchkvm>: lcr3(V2P(kpgdir)); // switch to the kernel page table 80106b80: a1 a4 58 11 80 mov 0x801158a4,%eax { 80106b85: 55 push %ebp 80106b86: 89 e5 mov %esp,%ebp lcr3(V2P(kpgdir)); // switch to the kernel page table 80106b88: 05 00 00 00 80 add $0x80000000,%eax } static inline void lcr3(uint val) { asm volatile("movl %0,%%cr3" : : "r" (val)); 80106b8d: 0f 22 d8 mov %eax,%cr3 } 80106b90: 5d pop %ebp 80106b91: c3 ret 80106b92: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 80106b99: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80106ba0 <switchuvm>: { 80106ba0: 55 push %ebp 80106ba1: 89 e5 mov %esp,%ebp 80106ba3: 57 push %edi 80106ba4: 56 push %esi 80106ba5: 53 push %ebx 80106ba6: 83 ec 1c sub $0x1c,%esp 80106ba9: 8b 5d 08 mov 0x8(%ebp),%ebx if(p == 0) 80106bac: 85 db test %ebx,%ebx 80106bae: 0f 84 cb 00 00 00 je 80106c7f <switchuvm+0xdf> if(p->kstack == 0) 80106bb4: 8b 43 08 mov 0x8(%ebx),%eax 80106bb7: 85 c0 test %eax,%eax 80106bb9: 0f 84 da 00 00 00 je 80106c99 <switchuvm+0xf9> if(p->pgdir == 0) 80106bbf: 8b 43 04 mov 0x4(%ebx),%eax 80106bc2: 85 c0 test %eax,%eax 80106bc4: 0f 84 c2 00 00 00 je 80106c8c <switchuvm+0xec> pushcli(); 80106bca: e8 11 d9 ff ff call 801044e0 <pushcli> mycpu()->gdt[SEG_TSS] = SEG16(STS_T32A, &mycpu()->ts, 80106bcf: e8 8c cb ff ff call 80103760 <mycpu> 80106bd4: 89 c6 mov %eax,%esi 80106bd6: e8 85 cb ff ff call 80103760 <mycpu> 80106bdb: 89 c7 mov %eax,%edi 80106bdd: e8 7e cb ff ff call 80103760 <mycpu> 80106be2: 89 45 e4 mov %eax,-0x1c(%ebp) 80106be5: 83 c7 08 add $0x8,%edi 80106be8: e8 73 cb ff ff call 80103760 <mycpu> 80106bed: 8b 4d e4 mov -0x1c(%ebp),%ecx 80106bf0: 83 c0 08 add $0x8,%eax 80106bf3: ba 67 00 00 00 mov $0x67,%edx 80106bf8: c1 e8 18 shr $0x18,%eax 80106bfb: 66 89 96 98 00 00 00 mov %dx,0x98(%esi) 80106c02: 66 89 be 9a 00 00 00 mov %di,0x9a(%esi) 80106c09: 88 86 9f 00 00 00 mov %al,0x9f(%esi) mycpu()->ts.iomb = (ushort) 0xFFFF; 80106c0f: bf ff ff ff ff mov $0xffffffff,%edi mycpu()->gdt[SEG_TSS] = SEG16(STS_T32A, &mycpu()->ts, 80106c14: 83 c1 08 add $0x8,%ecx 80106c17: c1 e9 10 shr $0x10,%ecx 80106c1a: 88 8e 9c 00 00 00 mov %cl,0x9c(%esi) 80106c20: b9 99 40 00 00 mov $0x4099,%ecx 80106c25: 66 89 8e 9d 00 00 00 mov %cx,0x9d(%esi) mycpu()->ts.ss0 = SEG_KDATA << 3; 80106c2c: be 10 00 00 00 mov $0x10,%esi mycpu()->gdt[SEG_TSS].s = 0; 80106c31: e8 2a cb ff ff call 80103760 <mycpu> 80106c36: 80 a0 9d 00 00 00 ef andb $0xef,0x9d(%eax) mycpu()->ts.ss0 = SEG_KDATA << 3; 80106c3d: e8 1e cb ff ff call 80103760 <mycpu> 80106c42: 66 89 70 10 mov %si,0x10(%eax) mycpu()->ts.esp0 = (uint)p->kstack + KSTACKSIZE; 80106c46: 8b 73 08 mov 0x8(%ebx),%esi 80106c49: e8 12 cb ff ff call 80103760 <mycpu> 80106c4e: 81 c6 00 10 00 00 add $0x1000,%esi 80106c54: 89 70 0c mov %esi,0xc(%eax) mycpu()->ts.iomb = (ushort) 0xFFFF; 80106c57: e8 04 cb ff ff call 80103760 <mycpu> 80106c5c: 66 89 78 6e mov %di,0x6e(%eax) asm volatile("ltr %0" : : "r" (sel)); 80106c60: b8 28 00 00 00 mov $0x28,%eax 80106c65: 0f 00 d8 ltr %ax lcr3(V2P(p->pgdir)); // switch to process's address space 80106c68: 8b 43 04 mov 0x4(%ebx),%eax 80106c6b: 05 00 00 00 80 add $0x80000000,%eax asm volatile("movl %0,%%cr3" : : "r" (val)); 80106c70: 0f 22 d8 mov %eax,%cr3 } 80106c73: 8d 65 f4 lea -0xc(%ebp),%esp 80106c76: 5b pop %ebx 80106c77: 5e pop %esi 80106c78: 5f pop %edi 80106c79: 5d pop %ebp popcli(); 80106c7a: e9 a1 d8 ff ff jmp 80104520 <popcli> panic("switchuvm: no process"); 80106c7f: 83 ec 0c sub $0xc,%esp 80106c82: 68 0a 7c 10 80 push $0x80107c0a 80106c87: e8 04 97 ff ff call 80100390 <panic> panic("switchuvm: no pgdir"); 80106c8c: 83 ec 0c sub $0xc,%esp 80106c8f: 68 35 7c 10 80 push $0x80107c35 80106c94: e8 f7 96 ff ff call 80100390 <panic> panic("switchuvm: no kstack"); 80106c99: 83 ec 0c sub $0xc,%esp 80106c9c: 68 20 7c 10 80 push $0x80107c20 80106ca1: e8 ea 96 ff ff call 80100390 <panic> 80106ca6: 8d 76 00 lea 0x0(%esi),%esi 80106ca9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80106cb0 <inituvm>: { 80106cb0: 55 push %ebp 80106cb1: 89 e5 mov %esp,%ebp 80106cb3: 57 push %edi 80106cb4: 56 push %esi 80106cb5: 53 push %ebx 80106cb6: 83 ec 1c sub $0x1c,%esp 80106cb9: 8b 75 10 mov 0x10(%ebp),%esi 80106cbc: 8b 45 08 mov 0x8(%ebp),%eax 80106cbf: 8b 7d 0c mov 0xc(%ebp),%edi if(sz >= PGSIZE) 80106cc2: 81 fe ff 0f 00 00 cmp $0xfff,%esi { 80106cc8: 89 45 e4 mov %eax,-0x1c(%ebp) if(sz >= PGSIZE) 80106ccb: 77 49 ja 80106d16 <inituvm+0x66> mem = kalloc(); 80106ccd: e8 fe b7 ff ff call 801024d0 <kalloc> memset(mem, 0, PGSIZE); 80106cd2: 83 ec 04 sub $0x4,%esp mem = kalloc(); 80106cd5: 89 c3 mov %eax,%ebx memset(mem, 0, PGSIZE); 80106cd7: 68 00 10 00 00 push $0x1000 80106cdc: 6a 00 push $0x0 80106cde: 50 push %eax 80106cdf: e8 dc d9 ff ff call 801046c0 <memset> mappages(pgdir, 0, PGSIZE, V2P(mem), PTE_W|PTE_U); 80106ce4: 58 pop %eax 80106ce5: 8d 83 00 00 00 80 lea -0x80000000(%ebx),%eax 80106ceb: b9 00 10 00 00 mov $0x1000,%ecx 80106cf0: 5a pop %edx 80106cf1: 6a 06 push $0x6 80106cf3: 50 push %eax 80106cf4: 31 d2 xor %edx,%edx 80106cf6: 8b 45 e4 mov -0x1c(%ebp),%eax 80106cf9: e8 c2 fc ff ff call 801069c0 <mappages> memmove(mem, init, sz); 80106cfe: 89 75 10 mov %esi,0x10(%ebp) 80106d01: 89 7d 0c mov %edi,0xc(%ebp) 80106d04: 83 c4 10 add $0x10,%esp 80106d07: 89 5d 08 mov %ebx,0x8(%ebp) } 80106d0a: 8d 65 f4 lea -0xc(%ebp),%esp 80106d0d: 5b pop %ebx 80106d0e: 5e pop %esi 80106d0f: 5f pop %edi 80106d10: 5d pop %ebp memmove(mem, init, sz); 80106d11: e9 5a da ff ff jmp 80104770 <memmove> panic("inituvm: more than a page"); 80106d16: 83 ec 0c sub $0xc,%esp 80106d19: 68 49 7c 10 80 push $0x80107c49 80106d1e: e8 6d 96 ff ff call 80100390 <panic> 80106d23: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 80106d29: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80106d30 <loaduvm>: { 80106d30: 55 push %ebp 80106d31: 89 e5 mov %esp,%ebp 80106d33: 57 push %edi 80106d34: 56 push %esi 80106d35: 53 push %ebx 80106d36: 83 ec 0c sub $0xc,%esp if((uint) addr % PGSIZE != 0) 80106d39: f7 45 0c ff 0f 00 00 testl $0xfff,0xc(%ebp) 80106d40: 0f 85 91 00 00 00 jne 80106dd7 <loaduvm+0xa7> for(i = 0; i < sz; i += PGSIZE){ 80106d46: 8b 75 18 mov 0x18(%ebp),%esi 80106d49: 31 db xor %ebx,%ebx 80106d4b: 85 f6 test %esi,%esi 80106d4d: 75 1a jne 80106d69 <loaduvm+0x39> 80106d4f: eb 6f jmp 80106dc0 <loaduvm+0x90> 80106d51: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 80106d58: 81 c3 00 10 00 00 add $0x1000,%ebx 80106d5e: 81 ee 00 10 00 00 sub $0x1000,%esi 80106d64: 39 5d 18 cmp %ebx,0x18(%ebp) 80106d67: 76 57 jbe 80106dc0 <loaduvm+0x90> if((pte = walkpgdir(pgdir, addr+i, 0)) == 0) 80106d69: 8b 55 0c mov 0xc(%ebp),%edx 80106d6c: 8b 45 08 mov 0x8(%ebp),%eax 80106d6f: 31 c9 xor %ecx,%ecx 80106d71: 01 da add %ebx,%edx 80106d73: e8 c8 fb ff ff call 80106940 <walkpgdir> 80106d78: 85 c0 test %eax,%eax 80106d7a: 74 4e je 80106dca <loaduvm+0x9a> pa = PTE_ADDR(*pte); 80106d7c: 8b 00 mov (%eax),%eax if(readi(ip, P2V(pa), offset+i, n) != n) 80106d7e: 8b 4d 14 mov 0x14(%ebp),%ecx if(sz - i < PGSIZE) 80106d81: bf 00 10 00 00 mov $0x1000,%edi pa = PTE_ADDR(*pte); 80106d86: 25 00 f0 ff ff and $0xfffff000,%eax if(sz - i < PGSIZE) 80106d8b: 81 fe ff 0f 00 00 cmp $0xfff,%esi 80106d91: 0f 46 fe cmovbe %esi,%edi if(readi(ip, P2V(pa), offset+i, n) != n) 80106d94: 01 d9 add %ebx,%ecx 80106d96: 05 00 00 00 80 add $0x80000000,%eax 80106d9b: 57 push %edi 80106d9c: 51 push %ecx 80106d9d: 50 push %eax 80106d9e: ff 75 10 pushl 0x10(%ebp) 80106da1: e8 ca ab ff ff call 80101970 <readi> 80106da6: 83 c4 10 add $0x10,%esp 80106da9: 39 f8 cmp %edi,%eax 80106dab: 74 ab je 80106d58 <loaduvm+0x28> } 80106dad: 8d 65 f4 lea -0xc(%ebp),%esp return -1; 80106db0: b8 ff ff ff ff mov $0xffffffff,%eax } 80106db5: 5b pop %ebx 80106db6: 5e pop %esi 80106db7: 5f pop %edi 80106db8: 5d pop %ebp 80106db9: c3 ret 80106dba: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 80106dc0: 8d 65 f4 lea -0xc(%ebp),%esp return 0; 80106dc3: 31 c0 xor %eax,%eax } 80106dc5: 5b pop %ebx 80106dc6: 5e pop %esi 80106dc7: 5f pop %edi 80106dc8: 5d pop %ebp 80106dc9: c3 ret panic("loaduvm: address should exist"); 80106dca: 83 ec 0c sub $0xc,%esp 80106dcd: 68 63 7c 10 80 push $0x80107c63 80106dd2: e8 b9 95 ff ff call 80100390 <panic> panic("loaduvm: addr must be page aligned"); 80106dd7: 83 ec 0c sub $0xc,%esp 80106dda: 68 04 7d 10 80 push $0x80107d04 80106ddf: e8 ac 95 ff ff call 80100390 <panic> 80106de4: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 80106dea: 8d bf 00 00 00 00 lea 0x0(%edi),%edi 80106df0 <allocuvm>: { 80106df0: 55 push %ebp 80106df1: 89 e5 mov %esp,%ebp 80106df3: 57 push %edi 80106df4: 56 push %esi 80106df5: 53 push %ebx 80106df6: 83 ec 1c sub $0x1c,%esp if(newsz >= KERNBASE) 80106df9: 8b 7d 10 mov 0x10(%ebp),%edi 80106dfc: 85 ff test %edi,%edi 80106dfe: 0f 88 8e 00 00 00 js 80106e92 <allocuvm+0xa2> if(newsz < oldsz) 80106e04: 3b 7d 0c cmp 0xc(%ebp),%edi 80106e07: 0f 82 93 00 00 00 jb 80106ea0 <allocuvm+0xb0> a = PGROUNDUP(oldsz); 80106e0d: 8b 45 0c mov 0xc(%ebp),%eax 80106e10: 8d 98 ff 0f 00 00 lea 0xfff(%eax),%ebx 80106e16: 81 e3 00 f0 ff ff and $0xfffff000,%ebx for(; a < newsz; a += PGSIZE){ 80106e1c: 39 5d 10 cmp %ebx,0x10(%ebp) 80106e1f: 0f 86 7e 00 00 00 jbe 80106ea3 <allocuvm+0xb3> 80106e25: 89 7d e4 mov %edi,-0x1c(%ebp) 80106e28: 8b 7d 08 mov 0x8(%ebp),%edi 80106e2b: eb 42 jmp 80106e6f <allocuvm+0x7f> 80106e2d: 8d 76 00 lea 0x0(%esi),%esi memset(mem, 0, PGSIZE); 80106e30: 83 ec 04 sub $0x4,%esp 80106e33: 68 00 10 00 00 push $0x1000 80106e38: 6a 00 push $0x0 80106e3a: 50 push %eax 80106e3b: e8 80 d8 ff ff call 801046c0 <memset> if(mappages(pgdir, (char*)a, PGSIZE, V2P(mem), PTE_W|PTE_U) < 0){ 80106e40: 58 pop %eax 80106e41: 8d 86 00 00 00 80 lea -0x80000000(%esi),%eax 80106e47: b9 00 10 00 00 mov $0x1000,%ecx 80106e4c: 5a pop %edx 80106e4d: 6a 06 push $0x6 80106e4f: 50 push %eax 80106e50: 89 da mov %ebx,%edx 80106e52: 89 f8 mov %edi,%eax 80106e54: e8 67 fb ff ff call 801069c0 <mappages> 80106e59: 83 c4 10 add $0x10,%esp 80106e5c: 85 c0 test %eax,%eax 80106e5e: 78 50 js 80106eb0 <allocuvm+0xc0> for(; a < newsz; a += PGSIZE){ 80106e60: 81 c3 00 10 00 00 add $0x1000,%ebx 80106e66: 39 5d 10 cmp %ebx,0x10(%ebp) 80106e69: 0f 86 81 00 00 00 jbe 80106ef0 <allocuvm+0x100> mem = kalloc(); 80106e6f: e8 5c b6 ff ff call 801024d0 <kalloc> if(mem == 0){ 80106e74: 85 c0 test %eax,%eax mem = kalloc(); 80106e76: 89 c6 mov %eax,%esi if(mem == 0){ 80106e78: 75 b6 jne 80106e30 <allocuvm+0x40> cprintf("allocuvm out of memory\n"); 80106e7a: 83 ec 0c sub $0xc,%esp 80106e7d: 68 81 7c 10 80 push $0x80107c81 80106e82: e8 d9 97 ff ff call 80100660 <cprintf> if(newsz >= oldsz) 80106e87: 83 c4 10 add $0x10,%esp 80106e8a: 8b 45 0c mov 0xc(%ebp),%eax 80106e8d: 39 45 10 cmp %eax,0x10(%ebp) 80106e90: 77 6e ja 80106f00 <allocuvm+0x110> } 80106e92: 8d 65 f4 lea -0xc(%ebp),%esp return 0; 80106e95: 31 ff xor %edi,%edi } 80106e97: 89 f8 mov %edi,%eax 80106e99: 5b pop %ebx 80106e9a: 5e pop %esi 80106e9b: 5f pop %edi 80106e9c: 5d pop %ebp 80106e9d: c3 ret 80106e9e: 66 90 xchg %ax,%ax return oldsz; 80106ea0: 8b 7d 0c mov 0xc(%ebp),%edi } 80106ea3: 8d 65 f4 lea -0xc(%ebp),%esp 80106ea6: 89 f8 mov %edi,%eax 80106ea8: 5b pop %ebx 80106ea9: 5e pop %esi 80106eaa: 5f pop %edi 80106eab: 5d pop %ebp 80106eac: c3 ret 80106ead: 8d 76 00 lea 0x0(%esi),%esi cprintf("allocuvm out of memory (2)\n"); 80106eb0: 83 ec 0c sub $0xc,%esp 80106eb3: 68 99 7c 10 80 push $0x80107c99 80106eb8: e8 a3 97 ff ff call 80100660 <cprintf> if(newsz >= oldsz) 80106ebd: 83 c4 10 add $0x10,%esp 80106ec0: 8b 45 0c mov 0xc(%ebp),%eax 80106ec3: 39 45 10 cmp %eax,0x10(%ebp) 80106ec6: 76 0d jbe 80106ed5 <allocuvm+0xe5> 80106ec8: 89 c1 mov %eax,%ecx 80106eca: 8b 55 10 mov 0x10(%ebp),%edx 80106ecd: 8b 45 08 mov 0x8(%ebp),%eax 80106ed0: e8 7b fb ff ff call 80106a50 <deallocuvm.part.0> kfree(mem); 80106ed5: 83 ec 0c sub $0xc,%esp return 0; 80106ed8: 31 ff xor %edi,%edi kfree(mem); 80106eda: 56 push %esi 80106edb: e8 40 b4 ff ff call 80102320 <kfree> return 0; 80106ee0: 83 c4 10 add $0x10,%esp } 80106ee3: 8d 65 f4 lea -0xc(%ebp),%esp 80106ee6: 89 f8 mov %edi,%eax 80106ee8: 5b pop %ebx 80106ee9: 5e pop %esi 80106eea: 5f pop %edi 80106eeb: 5d pop %ebp 80106eec: c3 ret 80106eed: 8d 76 00 lea 0x0(%esi),%esi 80106ef0: 8b 7d e4 mov -0x1c(%ebp),%edi 80106ef3: 8d 65 f4 lea -0xc(%ebp),%esp 80106ef6: 5b pop %ebx 80106ef7: 89 f8 mov %edi,%eax 80106ef9: 5e pop %esi 80106efa: 5f pop %edi 80106efb: 5d pop %ebp 80106efc: c3 ret 80106efd: 8d 76 00 lea 0x0(%esi),%esi 80106f00: 89 c1 mov %eax,%ecx 80106f02: 8b 55 10 mov 0x10(%ebp),%edx 80106f05: 8b 45 08 mov 0x8(%ebp),%eax return 0; 80106f08: 31 ff xor %edi,%edi 80106f0a: e8 41 fb ff ff call 80106a50 <deallocuvm.part.0> 80106f0f: eb 92 jmp 80106ea3 <allocuvm+0xb3> 80106f11: eb 0d jmp 80106f20 <deallocuvm> 80106f13: 90 nop 80106f14: 90 nop 80106f15: 90 nop 80106f16: 90 nop 80106f17: 90 nop 80106f18: 90 nop 80106f19: 90 nop 80106f1a: 90 nop 80106f1b: 90 nop 80106f1c: 90 nop 80106f1d: 90 nop 80106f1e: 90 nop 80106f1f: 90 nop 80106f20 <deallocuvm>: { 80106f20: 55 push %ebp 80106f21: 89 e5 mov %esp,%ebp 80106f23: 8b 55 0c mov 0xc(%ebp),%edx 80106f26: 8b 4d 10 mov 0x10(%ebp),%ecx 80106f29: 8b 45 08 mov 0x8(%ebp),%eax if(newsz >= oldsz) 80106f2c: 39 d1 cmp %edx,%ecx 80106f2e: 73 10 jae 80106f40 <deallocuvm+0x20> } 80106f30: 5d pop %ebp 80106f31: e9 1a fb ff ff jmp 80106a50 <deallocuvm.part.0> 80106f36: 8d 76 00 lea 0x0(%esi),%esi 80106f39: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80106f40: 89 d0 mov %edx,%eax 80106f42: 5d pop %ebp 80106f43: c3 ret 80106f44: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 80106f4a: 8d bf 00 00 00 00 lea 0x0(%edi),%edi 80106f50 <freevm>: // Free a page table and all the physical memory pages // in the user part. void freevm(pde_t *pgdir) { 80106f50: 55 push %ebp 80106f51: 89 e5 mov %esp,%ebp 80106f53: 57 push %edi 80106f54: 56 push %esi 80106f55: 53 push %ebx 80106f56: 83 ec 0c sub $0xc,%esp 80106f59: 8b 75 08 mov 0x8(%ebp),%esi uint i; if(pgdir == 0) 80106f5c: 85 f6 test %esi,%esi 80106f5e: 74 59 je 80106fb9 <freevm+0x69> 80106f60: 31 c9 xor %ecx,%ecx 80106f62: ba 00 00 00 80 mov $0x80000000,%edx 80106f67: 89 f0 mov %esi,%eax 80106f69: e8 e2 fa ff ff call 80106a50 <deallocuvm.part.0> 80106f6e: 89 f3 mov %esi,%ebx 80106f70: 8d be 00 10 00 00 lea 0x1000(%esi),%edi 80106f76: eb 0f jmp 80106f87 <freevm+0x37> 80106f78: 90 nop 80106f79: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 80106f80: 83 c3 04 add $0x4,%ebx panic("freevm: no pgdir"); deallocuvm(pgdir, KERNBASE, 0); for(i = 0; i < NPDENTRIES; i++){ 80106f83: 39 fb cmp %edi,%ebx 80106f85: 74 23 je 80106faa <freevm+0x5a> if(pgdir[i] & PTE_P){ 80106f87: 8b 03 mov (%ebx),%eax 80106f89: a8 01 test $0x1,%al 80106f8b: 74 f3 je 80106f80 <freevm+0x30> char * v = P2V(PTE_ADDR(pgdir[i])); 80106f8d: 25 00 f0 ff ff and $0xfffff000,%eax kfree(v); 80106f92: 83 ec 0c sub $0xc,%esp 80106f95: 83 c3 04 add $0x4,%ebx char * v = P2V(PTE_ADDR(pgdir[i])); 80106f98: 05 00 00 00 80 add $0x80000000,%eax kfree(v); 80106f9d: 50 push %eax 80106f9e: e8 7d b3 ff ff call 80102320 <kfree> 80106fa3: 83 c4 10 add $0x10,%esp for(i = 0; i < NPDENTRIES; i++){ 80106fa6: 39 fb cmp %edi,%ebx 80106fa8: 75 dd jne 80106f87 <freevm+0x37> } } kfree((char*)pgdir); 80106faa: 89 75 08 mov %esi,0x8(%ebp) } 80106fad: 8d 65 f4 lea -0xc(%ebp),%esp 80106fb0: 5b pop %ebx 80106fb1: 5e pop %esi 80106fb2: 5f pop %edi 80106fb3: 5d pop %ebp kfree((char*)pgdir); 80106fb4: e9 67 b3 ff ff jmp 80102320 <kfree> panic("freevm: no pgdir"); 80106fb9: 83 ec 0c sub $0xc,%esp 80106fbc: 68 b5 7c 10 80 push $0x80107cb5 80106fc1: e8 ca 93 ff ff call 80100390 <panic> 80106fc6: 8d 76 00 lea 0x0(%esi),%esi 80106fc9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80106fd0 <setupkvm>: { 80106fd0: 55 push %ebp 80106fd1: 89 e5 mov %esp,%ebp 80106fd3: 56 push %esi 80106fd4: 53 push %ebx if((pgdir = (pde_t*)kalloc()) == 0) 80106fd5: e8 f6 b4 ff ff call 801024d0 <kalloc> 80106fda: 85 c0 test %eax,%eax 80106fdc: 89 c6 mov %eax,%esi 80106fde: 74 42 je 80107022 <setupkvm+0x52> memset(pgdir, 0, PGSIZE); 80106fe0: 83 ec 04 sub $0x4,%esp for(k = kmap; k < &kmap[NELEM(kmap)]; k++) 80106fe3: bb 20 a4 10 80 mov $0x8010a420,%ebx memset(pgdir, 0, PGSIZE); 80106fe8: 68 00 10 00 00 push $0x1000 80106fed: 6a 00 push $0x0 80106fef: 50 push %eax 80106ff0: e8 cb d6 ff ff call 801046c0 <memset> 80106ff5: 83 c4 10 add $0x10,%esp (uint)k->phys_start, k->perm) < 0) { 80106ff8: 8b 43 04 mov 0x4(%ebx),%eax if(mappages(pgdir, k->virt, k->phys_end - k->phys_start, 80106ffb: 8b 4b 08 mov 0x8(%ebx),%ecx 80106ffe: 83 ec 08 sub $0x8,%esp 80107001: 8b 13 mov (%ebx),%edx 80107003: ff 73 0c pushl 0xc(%ebx) 80107006: 50 push %eax 80107007: 29 c1 sub %eax,%ecx 80107009: 89 f0 mov %esi,%eax 8010700b: e8 b0 f9 ff ff call 801069c0 <mappages> 80107010: 83 c4 10 add $0x10,%esp 80107013: 85 c0 test %eax,%eax 80107015: 78 19 js 80107030 <setupkvm+0x60> for(k = kmap; k < &kmap[NELEM(kmap)]; k++) 80107017: 83 c3 10 add $0x10,%ebx 8010701a: 81 fb 60 a4 10 80 cmp $0x8010a460,%ebx 80107020: 75 d6 jne 80106ff8 <setupkvm+0x28> } 80107022: 8d 65 f8 lea -0x8(%ebp),%esp 80107025: 89 f0 mov %esi,%eax 80107027: 5b pop %ebx 80107028: 5e pop %esi 80107029: 5d pop %ebp 8010702a: c3 ret 8010702b: 90 nop 8010702c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi freevm(pgdir); 80107030: 83 ec 0c sub $0xc,%esp 80107033: 56 push %esi return 0; 80107034: 31 f6 xor %esi,%esi freevm(pgdir); 80107036: e8 15 ff ff ff call 80106f50 <freevm> return 0; 8010703b: 83 c4 10 add $0x10,%esp } 8010703e: 8d 65 f8 lea -0x8(%ebp),%esp 80107041: 89 f0 mov %esi,%eax 80107043: 5b pop %ebx 80107044: 5e pop %esi 80107045: 5d pop %ebp 80107046: c3 ret 80107047: 89 f6 mov %esi,%esi 80107049: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 80107050 <kvmalloc>: { 80107050: 55 push %ebp 80107051: 89 e5 mov %esp,%ebp 80107053: 83 ec 08 sub $0x8,%esp kpgdir = setupkvm(); 80107056: e8 75 ff ff ff call 80106fd0 <setupkvm> 8010705b: a3 a4 58 11 80 mov %eax,0x801158a4 lcr3(V2P(kpgdir)); // switch to the kernel page table 80107060: 05 00 00 00 80 add $0x80000000,%eax 80107065: 0f 22 d8 mov %eax,%cr3 } 80107068: c9 leave 80107069: c3 ret 8010706a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 80107070 <clearpteu>: // Clear PTE_U on a page. Used to create an inaccessible // page beneath the user stack. void clearpteu(pde_t *pgdir, char *uva) { 80107070: 55 push %ebp pte_t *pte; pte = walkpgdir(pgdir, uva, 0); 80107071: 31 c9 xor %ecx,%ecx { 80107073: 89 e5 mov %esp,%ebp 80107075: 83 ec 08 sub $0x8,%esp pte = walkpgdir(pgdir, uva, 0); 80107078: 8b 55 0c mov 0xc(%ebp),%edx 8010707b: 8b 45 08 mov 0x8(%ebp),%eax 8010707e: e8 bd f8 ff ff call 80106940 <walkpgdir> if(pte == 0) 80107083: 85 c0 test %eax,%eax 80107085: 74 05 je 8010708c <clearpteu+0x1c> panic("clearpteu"); *pte &= ~PTE_U; 80107087: 83 20 fb andl $0xfffffffb,(%eax) } 8010708a: c9 leave 8010708b: c3 ret panic("clearpteu"); 8010708c: 83 ec 0c sub $0xc,%esp 8010708f: 68 c6 7c 10 80 push $0x80107cc6 80107094: e8 f7 92 ff ff call 80100390 <panic> 80107099: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 801070a0 <copyuvm>: // Given a parent process's page table, create a copy // of it for a child. pde_t* copyuvm(pde_t *pgdir, uint sz) { 801070a0: 55 push %ebp 801070a1: 89 e5 mov %esp,%ebp 801070a3: 57 push %edi 801070a4: 56 push %esi 801070a5: 53 push %ebx 801070a6: 83 ec 1c sub $0x1c,%esp pde_t *d; pte_t *pte; uint pa, i, flags; char *mem; if((d = setupkvm()) == 0) 801070a9: e8 22 ff ff ff call 80106fd0 <setupkvm> 801070ae: 85 c0 test %eax,%eax 801070b0: 89 45 e0 mov %eax,-0x20(%ebp) 801070b3: 0f 84 9f 00 00 00 je 80107158 <copyuvm+0xb8> return 0; for(i = 0; i < sz; i += PGSIZE){ 801070b9: 8b 4d 0c mov 0xc(%ebp),%ecx 801070bc: 85 c9 test %ecx,%ecx 801070be: 0f 84 94 00 00 00 je 80107158 <copyuvm+0xb8> 801070c4: 31 ff xor %edi,%edi 801070c6: eb 4a jmp 80107112 <copyuvm+0x72> 801070c8: 90 nop 801070c9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi panic("copyuvm: page not present"); pa = PTE_ADDR(*pte); flags = PTE_FLAGS(*pte); if((mem = kalloc()) == 0) goto bad; memmove(mem, (char*)P2V(pa), PGSIZE); 801070d0: 83 ec 04 sub $0x4,%esp 801070d3: 81 c3 00 00 00 80 add $0x80000000,%ebx 801070d9: 68 00 10 00 00 push $0x1000 801070de: 53 push %ebx 801070df: 50 push %eax 801070e0: e8 8b d6 ff ff call 80104770 <memmove> if(mappages(d, (void*)i, PGSIZE, V2P(mem), flags) < 0) { 801070e5: 58 pop %eax 801070e6: 8d 86 00 00 00 80 lea -0x80000000(%esi),%eax 801070ec: b9 00 10 00 00 mov $0x1000,%ecx 801070f1: 5a pop %edx 801070f2: ff 75 e4 pushl -0x1c(%ebp) 801070f5: 50 push %eax 801070f6: 89 fa mov %edi,%edx 801070f8: 8b 45 e0 mov -0x20(%ebp),%eax 801070fb: e8 c0 f8 ff ff call 801069c0 <mappages> 80107100: 83 c4 10 add $0x10,%esp 80107103: 85 c0 test %eax,%eax 80107105: 78 61 js 80107168 <copyuvm+0xc8> for(i = 0; i < sz; i += PGSIZE){ 80107107: 81 c7 00 10 00 00 add $0x1000,%edi 8010710d: 39 7d 0c cmp %edi,0xc(%ebp) 80107110: 76 46 jbe 80107158 <copyuvm+0xb8> if((pte = walkpgdir(pgdir, (void *) i, 0)) == 0) 80107112: 8b 45 08 mov 0x8(%ebp),%eax 80107115: 31 c9 xor %ecx,%ecx 80107117: 89 fa mov %edi,%edx 80107119: e8 22 f8 ff ff call 80106940 <walkpgdir> 8010711e: 85 c0 test %eax,%eax 80107120: 74 61 je 80107183 <copyuvm+0xe3> if(!(*pte & PTE_P)) 80107122: 8b 00 mov (%eax),%eax 80107124: a8 01 test $0x1,%al 80107126: 74 4e je 80107176 <copyuvm+0xd6> pa = PTE_ADDR(*pte); 80107128: 89 c3 mov %eax,%ebx flags = PTE_FLAGS(*pte); 8010712a: 25 ff 0f 00 00 and $0xfff,%eax pa = PTE_ADDR(*pte); 8010712f: 81 e3 00 f0 ff ff and $0xfffff000,%ebx flags = PTE_FLAGS(*pte); 80107135: 89 45 e4 mov %eax,-0x1c(%ebp) if((mem = kalloc()) == 0) 80107138: e8 93 b3 ff ff call 801024d0 <kalloc> 8010713d: 85 c0 test %eax,%eax 8010713f: 89 c6 mov %eax,%esi 80107141: 75 8d jne 801070d0 <copyuvm+0x30> } } return d; bad: freevm(d); 80107143: 83 ec 0c sub $0xc,%esp 80107146: ff 75 e0 pushl -0x20(%ebp) 80107149: e8 02 fe ff ff call 80106f50 <freevm> return 0; 8010714e: 83 c4 10 add $0x10,%esp 80107151: c7 45 e0 00 00 00 00 movl $0x0,-0x20(%ebp) } 80107158: 8b 45 e0 mov -0x20(%ebp),%eax 8010715b: 8d 65 f4 lea -0xc(%ebp),%esp 8010715e: 5b pop %ebx 8010715f: 5e pop %esi 80107160: 5f pop %edi 80107161: 5d pop %ebp 80107162: c3 ret 80107163: 90 nop 80107164: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi kfree(mem); 80107168: 83 ec 0c sub $0xc,%esp 8010716b: 56 push %esi 8010716c: e8 af b1 ff ff call 80102320 <kfree> goto bad; 80107171: 83 c4 10 add $0x10,%esp 80107174: eb cd jmp 80107143 <copyuvm+0xa3> panic("copyuvm: page not present"); 80107176: 83 ec 0c sub $0xc,%esp 80107179: 68 ea 7c 10 80 push $0x80107cea 8010717e: e8 0d 92 ff ff call 80100390 <panic> panic("copyuvm: pte should exist"); 80107183: 83 ec 0c sub $0xc,%esp 80107186: 68 d0 7c 10 80 push $0x80107cd0 8010718b: e8 00 92 ff ff call 80100390 <panic> 80107190 <uva2ka>: //PAGEBREAK! // Map user virtual address to kernel address. char* uva2ka(pde_t *pgdir, char *uva) { 80107190: 55 push %ebp pte_t *pte; pte = walkpgdir(pgdir, uva, 0); 80107191: 31 c9 xor %ecx,%ecx { 80107193: 89 e5 mov %esp,%ebp 80107195: 83 ec 08 sub $0x8,%esp pte = walkpgdir(pgdir, uva, 0); 80107198: 8b 55 0c mov 0xc(%ebp),%edx 8010719b: 8b 45 08 mov 0x8(%ebp),%eax 8010719e: e8 9d f7 ff ff call 80106940 <walkpgdir> if((*pte & PTE_P) == 0) 801071a3: 8b 00 mov (%eax),%eax return 0; if((*pte & PTE_U) == 0) return 0; return (char*)P2V(PTE_ADDR(*pte)); } 801071a5: c9 leave if((*pte & PTE_U) == 0) 801071a6: 89 c2 mov %eax,%edx return (char*)P2V(PTE_ADDR(*pte)); 801071a8: 25 00 f0 ff ff and $0xfffff000,%eax if((*pte & PTE_U) == 0) 801071ad: 83 e2 05 and $0x5,%edx return (char*)P2V(PTE_ADDR(*pte)); 801071b0: 05 00 00 00 80 add $0x80000000,%eax 801071b5: 83 fa 05 cmp $0x5,%edx 801071b8: ba 00 00 00 00 mov $0x0,%edx 801071bd: 0f 45 c2 cmovne %edx,%eax } 801071c0: c3 ret 801071c1: eb 0d jmp 801071d0 <copyout> 801071c3: 90 nop 801071c4: 90 nop 801071c5: 90 nop 801071c6: 90 nop 801071c7: 90 nop 801071c8: 90 nop 801071c9: 90 nop 801071ca: 90 nop 801071cb: 90 nop 801071cc: 90 nop 801071cd: 90 nop 801071ce: 90 nop 801071cf: 90 nop 801071d0 <copyout>: // Copy len bytes from p to user address va in page table pgdir. // Most useful when pgdir is not the current page table. // uva2ka ensures this only works for PTE_U pages. int copyout(pde_t *pgdir, uint va, void *p, uint len) { 801071d0: 55 push %ebp 801071d1: 89 e5 mov %esp,%ebp 801071d3: 57 push %edi 801071d4: 56 push %esi 801071d5: 53 push %ebx 801071d6: 83 ec 1c sub $0x1c,%esp 801071d9: 8b 5d 14 mov 0x14(%ebp),%ebx 801071dc: 8b 55 0c mov 0xc(%ebp),%edx 801071df: 8b 7d 10 mov 0x10(%ebp),%edi char *buf, *pa0; uint n, va0; buf = (char*)p; while(len > 0){ 801071e2: 85 db test %ebx,%ebx 801071e4: 75 40 jne 80107226 <copyout+0x56> 801071e6: eb 70 jmp 80107258 <copyout+0x88> 801071e8: 90 nop 801071e9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi va0 = (uint)PGROUNDDOWN(va); pa0 = uva2ka(pgdir, (char*)va0); if(pa0 == 0) return -1; n = PGSIZE - (va - va0); 801071f0: 8b 55 e4 mov -0x1c(%ebp),%edx 801071f3: 89 f1 mov %esi,%ecx 801071f5: 29 d1 sub %edx,%ecx 801071f7: 81 c1 00 10 00 00 add $0x1000,%ecx 801071fd: 39 d9 cmp %ebx,%ecx 801071ff: 0f 47 cb cmova %ebx,%ecx if(n > len) n = len; memmove(pa0 + (va - va0), buf, n); 80107202: 29 f2 sub %esi,%edx 80107204: 83 ec 04 sub $0x4,%esp 80107207: 01 d0 add %edx,%eax 80107209: 51 push %ecx 8010720a: 57 push %edi 8010720b: 50 push %eax 8010720c: 89 4d e4 mov %ecx,-0x1c(%ebp) 8010720f: e8 5c d5 ff ff call 80104770 <memmove> len -= n; buf += n; 80107214: 8b 4d e4 mov -0x1c(%ebp),%ecx while(len > 0){ 80107217: 83 c4 10 add $0x10,%esp va = va0 + PGSIZE; 8010721a: 8d 96 00 10 00 00 lea 0x1000(%esi),%edx buf += n; 80107220: 01 cf add %ecx,%edi while(len > 0){ 80107222: 29 cb sub %ecx,%ebx 80107224: 74 32 je 80107258 <copyout+0x88> va0 = (uint)PGROUNDDOWN(va); 80107226: 89 d6 mov %edx,%esi pa0 = uva2ka(pgdir, (char*)va0); 80107228: 83 ec 08 sub $0x8,%esp va0 = (uint)PGROUNDDOWN(va); 8010722b: 89 55 e4 mov %edx,-0x1c(%ebp) 8010722e: 81 e6 00 f0 ff ff and $0xfffff000,%esi pa0 = uva2ka(pgdir, (char*)va0); 80107234: 56 push %esi 80107235: ff 75 08 pushl 0x8(%ebp) 80107238: e8 53 ff ff ff call 80107190 <uva2ka> if(pa0 == 0) 8010723d: 83 c4 10 add $0x10,%esp 80107240: 85 c0 test %eax,%eax 80107242: 75 ac jne 801071f0 <copyout+0x20> } return 0; } 80107244: 8d 65 f4 lea -0xc(%ebp),%esp return -1; 80107247: b8 ff ff ff ff mov $0xffffffff,%eax } 8010724c: 5b pop %ebx 8010724d: 5e pop %esi 8010724e: 5f pop %edi 8010724f: 5d pop %ebp 80107250: c3 ret 80107251: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 80107258: 8d 65 f4 lea -0xc(%ebp),%esp return 0; 8010725b: 31 c0 xor %eax,%eax } 8010725d: 5b pop %ebx 8010725e: 5e pop %esi 8010725f: 5f pop %edi 80107260: 5d pop %ebp 80107261: c3 ret
programs/oeis/044/A044331.asm
neoneye/loda
22
23135
; A044331: Numbers n such that string 8,8 occurs in the base 9 representation of n but not of n-1. ; 80,161,242,323,404,485,566,647,720,809,890,971,1052,1133,1214,1295,1376,1449,1538,1619,1700,1781,1862,1943,2024,2105,2178,2267,2348,2429,2510,2591,2672,2753,2834,2907,2996,3077,3158 mov $1,9 mov $3,$0 mod $0,9 lpb $0 mov $0,7 mov $1,1 lpe add $1,71 mov $2,$3 mul $2,81 add $1,$2 mov $0,$1
testAsmScripts/instructionTests/bne.asm
rystills/MIPS-sandbox
4
172124
<reponame>rystills/MIPS-sandbox #~~~BRANCH NOT EQUAL TEST~~~ ADDI $s0, $zero, 0 ADDI $s1, $zero, 10 branch1: ADDI $s0, $s0, 2 BNE $s0, $s1, branch1
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca.log_21829_608.asm
ljhsiun2/medusa
9
16088
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x330b, %r11 nop nop nop nop inc %rbp mov $0x6162636465666768, %r13 movq %r13, %xmm2 vmovups %ymm2, (%r11) nop nop cmp %r9, %r9 lea addresses_D_ht+0x1d0db, %r11 inc %r14 movw $0x6162, (%r11) nop nop lfence lea addresses_normal_ht+0xd80b, %rsi lea addresses_WC_ht+0xd70b, %rdi nop nop nop inc %r13 mov $115, %rcx rep movsw nop nop cmp %r9, %r9 lea addresses_normal_ht+0xa899, %rsi nop nop nop nop nop cmp $14515, %r9 mov $0x6162636465666768, %rcx movq %rcx, %xmm6 vmovups %ymm6, (%rsi) nop nop add %r13, %r13 lea addresses_normal_ht+0xe4bb, %r13 nop xor $34431, %r14 movb (%r13), %r9b nop nop nop xor %rdi, %rdi lea addresses_A_ht+0x122db, %rsi lea addresses_WT_ht+0x50cb, %rdi clflush (%rsi) nop cmp %r13, %r13 mov $54, %rcx rep movsl nop nop nop nop xor %r13, %r13 lea addresses_WC_ht+0xc6db, %r13 nop nop nop cmp %r11, %r11 mov $0x6162636465666768, %r14 movq %r14, %xmm1 movups %xmm1, (%r13) nop nop nop nop sub %rdi, %rdi lea addresses_A_ht+0x115fd, %r14 nop nop nop add %rdi, %rdi movups (%r14), %xmm5 vpextrq $0, %xmm5, %r13 nop nop nop nop nop xor %r14, %r14 lea addresses_WC_ht+0xf00b, %rsi lea addresses_UC_ht+0x630b, %rdi nop nop nop nop cmp %r13, %r13 mov $62, %rcx rep movsw nop nop and $57134, %rcx lea addresses_WT_ht+0x769e, %r9 clflush (%r9) nop xor %r11, %r11 movb $0x61, (%r9) nop nop nop nop nop inc %r11 lea addresses_A_ht+0x1673b, %rsi lea addresses_D_ht+0x300b, %rdi nop nop nop nop nop cmp $8898, %rbp mov $109, %rcx rep movsb nop nop nop nop cmp %rcx, %rcx pop %rsi pop %rdi pop %rcx pop %rbp pop %r9 pop %r14 pop %r13 pop %r11 ret .global s_faulty_load s_faulty_load: push %r10 push %r9 push %rbp push %rcx push %rdi push %rsi // Faulty Load lea addresses_A+0x1a00b, %rsi cmp $30585, %rcx mov (%rsi), %r10d lea oracles, %rsi and $0xff, %r10 shlq $12, %r10 mov (%rsi,%r10,1), %r10 pop %rsi pop %rdi pop %rcx pop %rbp pop %r9 pop %r10 ret /* <gen_faulty_load> [REF] {'src': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 16, 'NT': False, 'type': 'addresses_A'}, 'OP': 'LOAD'} [Faulty Load] {'src': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 4, 'NT': True, 'type': 'addresses_A'}, 'OP': 'LOAD'} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'congruent': 8, 'AVXalign': False, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_normal_ht'}} {'OP': 'STOR', 'dst': {'congruent': 3, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_D_ht'}} {'src': {'congruent': 11, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'dst': {'congruent': 8, 'same': False, 'type': 'addresses_WC_ht'}} {'OP': 'STOR', 'dst': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 32, 'NT': False, 'type': 'addresses_normal_ht'}} {'src': {'congruent': 4, 'AVXalign': False, 'same': True, 'size': 1, 'NT': False, 'type': 'addresses_normal_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 2, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'dst': {'congruent': 6, 'same': False, 'type': 'addresses_WT_ht'}} {'OP': 'STOR', 'dst': {'congruent': 3, 'AVXalign': False, 'same': False, 'size': 16, 'NT': False, 'type': 'addresses_WC_ht'}} {'src': {'congruent': 1, 'AVXalign': False, 'same': False, 'size': 16, 'NT': False, 'type': 'addresses_A_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 10, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'dst': {'congruent': 8, 'same': False, 'type': 'addresses_UC_ht'}} {'OP': 'STOR', 'dst': {'congruent': 0, 'AVXalign': False, 'same': False, 'size': 1, 'NT': True, 'type': 'addresses_WT_ht'}} {'src': {'congruent': 4, 'same': True, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'dst': {'congruent': 10, 'same': False, 'type': 'addresses_D_ht'}} {'00': 21829} 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 */
src/stantext.ads
lkujaw/felix
0
18553
<reponame>lkujaw/felix ------------------------------------------------------------------------------ -- Copyright (c) 2021, <NAME>. -- -- Permission is hereby granted, free of charge, to any person obtaining a -- copy of this software and associated documentation files (the "Software") -- to deal in the Software without restriction, including without limitation -- the rights to use, copy, modify, merge, publish, distribute, sublicense, -- and sell copies of the Software, and to permit persons to whom the -- Software is furnished to do so. -- -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -- THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -- FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -- DEALINGS IN THE SOFTWARE. -- -- SPDX-License-Identifier: MIT-0 -- -- File: stantext.ads (Ada Package Specification) -- Language: Ada (1995) [1] -- Author: <NAME> -- Description: Type-safe printf() emulation for string localization -- -- References: -- [1] Information technology - Programming languages - Ada, -- ISO/IEC 8652:1995(E), 15 Feb. 1995. ------------------------------------------------------------------------------ -- -- Standard_Text utilizes the C library's printf family of functions to -- guarantee that output will match that of C programs using the standard -- library. with Native_Language_System; with System; package Standard_Text is Usage_Error : exception; Error : exception; type Text_T (<>) is limited private; type Element_T (<>) is limited private; type Modifier_T (<>) is limited private; -- The empty text function Text return Text_T; -- Modifiers function Precision (Number_of_Digits : in Natural) return Modifier_T; function Positive_Sign return Modifier_T; function No_Positive_Sign return Modifier_T; function Thousands_Grouping return Modifier_T; function No_Thousands_Grouping return Modifier_T; function "&" (Left : in Text_T; Right : in Modifier_T) return Text_T; function "&" (Left : in Text_T; Right : in String) return Text_T; function "&" (Left : in Text_T; Right : in Character) return Text_T; -- The parameter type Integer emulates the C default of promoting -- to int. function "&" (Left : in Text_T; Right : in Integer) return Text_T; -- The parameter type of Right was chosen to emulate the GNAT -- runtime, which implements Float_IO by converting all generic -- Num types to the type Long_Long_Float. function "&" (Left : in Text_T; Right : in Long_Long_Float) return Text_T; -- Print a pointer (%p) function "&" (Left : in Text_T; Right : in System.Address) return Text_T; -- Non-default types function "&" (Left : in Text_T; Right : in Element_T) return Text_T; -- Print a string without translation (%s) function Raw (From_String : in String) return Element_T; function Float_L (Value : in Long_Float) return Element_T; function Integer_L (Value : in Long_Integer) return Element_T; -- Equivalent of '\n' function New_Line return String; -- Format_Of is useful for creating translatable messages and debugging -- purposes. function Format_Of (The_Text : in Text_T) return String; function String_Of (The_Text : in Text_T) return String; function Message (From_Catalog : in Native_Language_System.Catalog_T; Set_Number : in Positive; Message_Number : in Positive; Default_Message : in Text_T) return String; private -- Standard_Text --------------------------------------------------- type Octet_T is range 0 .. 255; for Octet_T'Size use 8; type Index_Array_T is array (Positive range <>) of Positive; type Octet_Array_T is array (Positive range <>) of Octet_T; type Flag_T is (Positive_Sign, Precision, Thousands_Grouping); type Flags_T is array (Flag_T) of Boolean; type Argument_T is (Address, Float_Long, Float_Long_Long, Integer_Long, Integer_Regular, Raw_String); type Type_Array_T is array (Positive range <>) of Argument_T; type Attributes_T is record Flag : Flags_T; Precision : Natural; end record; type Text_T (Index_Last : Natural; Format_Last : Natural; Argument_Last : Natural) is record Attribute : Attributes_T; Indices : Index_Array_T (1 .. Index_Last); Types : Type_Array_T (1 .. Index_Last); Format : String (1 .. Format_Last); -- A binary, rather than string, encoding of the arguments -- is utilized because different locales may have different -- formatting conventions for, e.g., numerals. Arguments : Octet_Array_T (1 .. Argument_Last); end record; type Element_T (Argument_Last : Natural) is record Kind : Argument_T; Argument : Octet_Array_T (1 .. Argument_Last); end record; type Setting_T is (On, Off, Unchanged); type Settings_T is array (Flag_T) of Setting_T; type Modifier_T is record Setting : Settings_T; Precision : Natural; end record; end Standard_Text;
data/mapObjects/CinnabarLabMetronomeRoom.asm
AmateurPanda92/pokemon-rby-dx
9
27152
CinnabarLabMetronomeRoom_Object: db $17 ; border block db 2 ; warps warp 2, 7, 3, CINNABAR_LAB warp 3, 7, 3, CINNABAR_LAB db 3 ; signs sign 0, 4, 3 ; Lab3Text3 sign 1, 4, 4 ; Lab3Text4 sign 2, 1, 5 ; Lab3Text5 db 2 ; objects object SPRITE_OAK_AIDE, 7, 2, STAY, DOWN, 1 ; person object SPRITE_OAK_AIDE, 2, 3, WALK, 2, 2 ; person ; warp-to warp_to 2, 7, CINNABAR_LAB_METRONOME_ROOM_WIDTH ; CINNABAR_LAB warp_to 3, 7, CINNABAR_LAB_METRONOME_ROOM_WIDTH ; CINNABAR_LAB
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_12139_1097.asm
ljhsiun2/medusa
9
80160
.global s_prepare_buffers s_prepare_buffers: push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x5b57, %rsi lea addresses_D_ht+0x12897, %rdi nop nop nop nop nop inc %rbp mov $115, %rcx rep movsl nop xor $49168, %rbp lea addresses_D_ht+0x1457, %rsi nop nop nop nop sub %r9, %r9 mov $0x6162636465666768, %rdx movq %rdx, %xmm6 vmovups %ymm6, (%rsi) nop add %rsi, %rsi pop %rsi pop %rdx pop %rdi pop %rcx pop %rbp pop %r9 ret .global s_faulty_load s_faulty_load: push %r10 push %r12 push %r13 push %r14 push %r9 push %rdi push %rdx // Store mov $0x475, %r13 nop xor %r10, %r10 movl $0x51525354, (%r13) nop nop nop nop nop dec %r10 // Load lea addresses_WT+0xc977, %r10 add $19993, %r14 movb (%r10), %r9b nop and %r13, %r13 // Store mov $0x557, %r10 add %rdi, %rdi movl $0x51525354, (%r10) nop nop nop nop add $15746, %rdi // Faulty Load lea addresses_WT+0xda57, %r14 nop nop nop nop nop and $47124, %r9 mov (%r14), %r12d lea oracles, %r14 and $0xff, %r12 shlq $12, %r12 mov (%r14,%r12,1), %r12 pop %rdx pop %rdi pop %r9 pop %r14 pop %r13 pop %r12 pop %r10 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_WT', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_P', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_WT', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 5, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_P', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 8, 'same': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_WT', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}} <gen_prepare_buffer> {'OP': 'REPM', 'src': {'type': 'addresses_normal_ht', 'congruent': 7, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 6, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 9, 'same': False}} {'00': 12139} 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 */
programs/oeis/040/A040406.asm
jmorken/loda
1
5518
<filename>programs/oeis/040/A040406.asm ; A040406: Continued fraction for sqrt(427). ; 20,1,1,1,40,1,1,1,40,1,1,1,40,1,1,1,40,1,1,1,40,1,1,1,40,1,1,1,40,1,1,1,40,1,1,1,40,1,1,1,40,1,1,1,40,1,1,1,40,1,1,1,40,1,1,1,40,1,1,1,40,1,1,1,40,1,1,1,40,1,1,1,40,1,1,1,40,1,1,1,40,1,1,1 mov $6,2 mov $9,$0 lpb $6 mov $0,$9 sub $6,1 add $0,$6 sub $0,1 mov $3,$0 add $0,8 div $3,4 mov $4,13 mov $5,10 sub $7,$7 add $7,$3 add $7,$3 add $7,2 add $7,$3 mul $7,2 mov $8,26 lpb $0 mov $0,1 sub $8,10 mov $10,$4 mul $10,$7 add $10,$5 sub $10,10 sub $10,$8 add $10,2 lpe mov $2,$6 lpb $2 mov $1,$10 sub $2,1 lpe lpe lpb $9 sub $1,$10 mov $9,0 lpe div $1,2 add $1,1
oeis/133/A133730.asm
neoneye/loda-programs
11
2586
<reponame>neoneye/loda-programs ; A133730: Alternating sign sequence A033999 interleaved with Jacobsthal sequence A001045. ; Submitted by <NAME> ; 1,0,-1,1,1,1,-1,3,1,5,-1,11,1,21,-1,43,1,85,-1,171,1,341,-1,683,1,1365,-1,2731,1,5461,-1,10923,1,21845,-1,43691,1,87381,-1,174763,1,349525,-1,699051,1,1398101,-1,2796203,1,5592405,-1,11184811,1,22369621,-1,44739243,1 mov $2,1 lpb $0 sub $0,2 mul $1,2 add $1,$2 div $2,-1 lpe mul $2,2 lpb $0 div $0,4 mov $2,$1 add $2,$1 lpe mov $0,$2 div $0,2
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca.log_21829_995.asm
ljhsiun2/medusa
9
3505
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0x1b90d, %rbp nop nop nop nop sub %r13, %r13 mov (%rbp), %di nop nop nop cmp %r11, %r11 lea addresses_A_ht+0x17633, %rsi lea addresses_WC_ht+0xcb43, %rdi nop nop inc %r14 mov $71, %rcx rep movsw nop cmp $10013, %rsi lea addresses_WC_ht+0x8cff, %rdi nop xor $33589, %rsi movb (%rdi), %cl nop nop nop nop nop cmp $50167, %r13 lea addresses_UC_ht+0xb343, %rsi nop nop nop nop nop cmp $49314, %rcx movw $0x6162, (%rsi) nop sub $34942, %r11 lea addresses_A_ht+0x1ec65, %rsi lea addresses_UC_ht+0x7ea3, %rdi clflush (%rdi) nop nop nop nop xor $4659, %r11 mov $68, %rcx rep movsq nop nop nop cmp %rbp, %rbp pop %rsi pop %rdi pop %rcx pop %rbp pop %r14 pop %r13 pop %r11 ret .global s_faulty_load s_faulty_load: push %r12 push %r13 push %r14 push %r8 push %rax push %rcx push %rdi // Load lea addresses_WC+0x13523, %rdi clflush (%rdi) nop nop nop nop add %rcx, %rcx movb (%rdi), %al nop nop add $4970, %rcx // Store lea addresses_normal+0x1c17b, %r12 nop nop add $23400, %rdi mov $0x5152535455565758, %rcx movq %rcx, (%r12) nop sub $33467, %rax // Store lea addresses_US+0x8323, %rdi nop nop cmp %r14, %r14 movw $0x5152, (%rdi) nop nop nop nop nop cmp $34258, %rdi // Store lea addresses_RW+0xd9c7, %r13 nop dec %rcx movl $0x51525354, (%r13) nop nop nop nop nop and $57776, %r12 // Faulty Load lea addresses_PSE+0x10923, %r12 nop nop nop nop cmp $53948, %r13 mov (%r12), %r14d lea oracles, %r12 and $0xff, %r14 shlq $12, %r14 mov (%r12,%r14,1), %r14 pop %rdi pop %rcx pop %rax pop %r8 pop %r14 pop %r13 pop %r12 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'size': 1, 'NT': False, 'type': 'addresses_PSE', 'same': True, 'AVXalign': False, 'congruent': 0}} {'OP': 'LOAD', 'src': {'size': 1, 'NT': False, 'type': 'addresses_WC', 'same': False, 'AVXalign': False, 'congruent': 9}} {'OP': 'STOR', 'dst': {'size': 8, 'NT': False, 'type': 'addresses_normal', 'same': False, 'AVXalign': False, 'congruent': 1}} {'OP': 'STOR', 'dst': {'size': 2, 'NT': False, 'type': 'addresses_US', 'same': False, 'AVXalign': False, 'congruent': 9}} {'OP': 'STOR', 'dst': {'size': 4, 'NT': False, 'type': 'addresses_RW', 'same': False, 'AVXalign': False, 'congruent': 2}} [Faulty Load] {'OP': 'LOAD', 'src': {'size': 4, 'NT': False, 'type': 'addresses_PSE', 'same': True, 'AVXalign': True, 'congruent': 0}} <gen_prepare_buffer> {'OP': 'LOAD', 'src': {'size': 2, 'NT': False, 'type': 'addresses_A_ht', 'same': False, 'AVXalign': True, 'congruent': 0}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_A_ht', 'congruent': 3}, 'dst': {'same': False, 'type': 'addresses_WC_ht', 'congruent': 3}} {'OP': 'LOAD', 'src': {'size': 1, 'NT': False, 'type': 'addresses_WC_ht', 'same': False, 'AVXalign': False, 'congruent': 2}} {'OP': 'STOR', 'dst': {'size': 2, 'NT': False, 'type': 'addresses_UC_ht', 'same': False, 'AVXalign': False, 'congruent': 4}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_A_ht', 'congruent': 0}, 'dst': {'same': False, 'type': 'addresses_UC_ht', 'congruent': 7}} {'33': 21829} 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 */
source/s-format.adb
ytomino/drake
33
16168
with System.Storage_Elements; package body System.Formatting is pragma Suppress (All_Checks); use type Long_Long_Integer_Types.Word_Unsigned; use type Long_Long_Integer_Types.Long_Long_Unsigned; subtype Word_Unsigned is Long_Long_Integer_Types.Word_Unsigned; subtype Long_Long_Unsigned is Long_Long_Integer_Types.Long_Long_Unsigned; procedure memset ( b : Address; c : Integer; n : Storage_Elements.Storage_Count) with Import, Convention => Intrinsic, External_Name => "__builtin_memset"; function add_overflow ( a, b : Word_Unsigned; res : not null access Word_Unsigned) return Boolean with Import, Convention => Intrinsic, External_Name => (if Standard'Word_Size = Integer'Size then "__builtin_uadd_overflow" elsif Standard'Word_Size = Long_Integer'Size then "__builtin_uaddl_overflow" else "__builtin_uaddll_overflow"); function add_overflow ( a, b : Long_Long_Unsigned; res : not null access Long_Long_Unsigned) return Boolean with Import, Convention => Intrinsic, External_Name => "__builtin_uaddll_overflow"; function mul_overflow ( a, b : Word_Unsigned; res : not null access Word_Unsigned) return Boolean with Import, Convention => Intrinsic, External_Name => (if Standard'Word_Size = Integer'Size then "__builtin_umul_overflow" elsif Standard'Word_Size = Long_Integer'Size then "__builtin_umull_overflow" else "__builtin_umulll_overflow"); function mul_overflow ( a, b : Long_Long_Unsigned; res : not null access Long_Long_Unsigned) return Boolean with Import, Convention => Intrinsic, External_Name => "__builtin_umulll_overflow"; function Width_Digits (Value : Word_Unsigned; Base : Number_Base) return Positive; function Width_Digits (Value : Word_Unsigned; Base : Number_Base) return Positive is P : aliased Word_Unsigned := Word_Unsigned (Base); Result : Positive := 1; begin while P <= Value loop Result := Result + 1; exit when mul_overflow (P, Word_Unsigned (Base), P'Access); end loop; return Result; end Width_Digits; function Width_Digits (Value : Long_Long_Unsigned; Base : Number_Base) return Positive; function Width_Digits (Value : Long_Long_Unsigned; Base : Number_Base) return Positive is begin if Standard'Word_Size < Long_Long_Unsigned'Size then -- optimized for 32bit declare P : aliased Long_Long_Unsigned := Long_Long_Unsigned (Base); Result : Positive := 1; begin while P <= Value loop Result := Result + 1; exit when mul_overflow (P, Long_Long_Unsigned (Base), P'Access); end loop; return Result; end; else -- optimized for 64bit return Width_Digits (Word_Unsigned (Value), Base); end if; end Width_Digits; procedure Fill_Digits ( Value : Word_Unsigned; Item : out String; Base : Number_Base; Set : Type_Set); procedure Fill_Digits ( Value : Word_Unsigned; Item : out String; Base : Number_Base; Set : Type_Set) is V : Word_Unsigned := Value; begin for I in reverse Item'Range loop Image (Digit (V rem Word_Unsigned (Base)), Item (I), Set); V := V / Word_Unsigned (Base); end loop; end Fill_Digits; procedure Fill_Digits ( Value : Long_Long_Unsigned; Item : out String; Base : Number_Base; Set : Type_Set); procedure Fill_Digits ( Value : Long_Long_Unsigned; Item : out String; Base : Number_Base; Set : Type_Set) is begin if Standard'Word_Size < Long_Long_Unsigned'Size then -- optimized for 32bit declare V : Long_Long_Unsigned := Value; I : Positive := Item'Last; begin while V > Long_Long_Unsigned (Word_Unsigned'Last) loop Image (Digit (V rem Long_Long_Unsigned (Base)), Item (I), Set); V := V / Long_Long_Unsigned (Base); I := I - 1; end loop; Fill_Digits (Word_Unsigned (V), Item (Item'First .. I), Base, Set); end; else -- optimized for 64bit Fill_Digits (Word_Unsigned (Value), Item, Base, Set); end if; end Fill_Digits; procedure Take_Digits ( Item : String; Last : out Natural; Result : out Word_Unsigned; Base : Number_Base; Skip_Underscore : Boolean; Overflow : out Boolean); procedure Take_Digits ( Item : String; Last : out Natural; Result : out Word_Unsigned; Base : Number_Base; Skip_Underscore : Boolean; Overflow : out Boolean) is R : aliased Word_Unsigned := 0; begin Last := Item'First - 1; Overflow := False; while Last < Item'Last loop declare X : Digit; Is_Invalid : Boolean; Next : Positive := Last + 1; begin if Item (Next) = '_' then exit when not Skip_Underscore or else Next = Item'First or else Next >= Item'Last; Next := Next + 1; end if; Value (Item (Next), X, Is_Invalid); exit when Is_Invalid or else X >= Base; if mul_overflow (R, Word_Unsigned (Base), R'Access) or else add_overflow (R, Word_Unsigned (X), R'Access) then Overflow := True; exit; end if; Last := Next; end; end loop; Result := R; end Take_Digits; procedure Take_Digits ( Item : String; Last : out Natural; Result : out Long_Long_Unsigned; Base : Number_Base; Skip_Underscore : Boolean; Overflow : out Boolean); procedure Take_Digits ( Item : String; Last : out Natural; Result : out Long_Long_Unsigned; Base : Number_Base; Skip_Underscore : Boolean; Overflow : out Boolean) is begin if Standard'Word_Size < Long_Long_Unsigned'Size then -- optimized for 32bit declare R : aliased Long_Long_Unsigned := 0; begin Take_Digits ( Item, Last, Word_Unsigned (R), Base, Skip_Underscore, Overflow); if Overflow then Overflow := False; while Last < Item'Last loop declare X : Digit; Is_Invalid : Boolean; Next : Positive := Last + 1; begin if Item (Next) = '_' then exit when not Skip_Underscore or else Next >= Item'Last; Next := Next + 1; end if; Value (Item (Next), X, Is_Invalid); exit when Is_Invalid or else X >= Base; if mul_overflow (R, Long_Long_Unsigned (Base), R'Access) or else add_overflow ( R, Long_Long_Unsigned (X), R'Access) then Overflow := True; exit; end if; Last := Next; end; end loop; end if; Result := R; end; else -- optimized for 64bit Take_Digits ( Item, Last, Word_Unsigned (Result), Base, Skip_Underscore, Overflow); end if; end Take_Digits; -- implementation function Digits_Width ( Value : Long_Long_Integer_Types.Word_Unsigned; Base : Number_Base := 10) return Positive is begin return Width_Digits (Value, Base); end Digits_Width; function Digits_Width ( Value : Long_Long_Integer_Types.Long_Long_Unsigned; Base : Number_Base := 10) return Positive is begin if Standard'Word_Size < Long_Long_Unsigned'Size then -- optimized for 32bit return Width_Digits (Value, Base); else -- optimized for 64bit return Digits_Width (Word_Unsigned (Value), Base); end if; end Digits_Width; procedure Image ( Value : Digit; Item : out Character; Set : Type_Set := Upper_Case) is begin case Value is when 0 .. 9 => Item := Character'Val (Character'Pos ('0') + Value); when 10 .. 15 => Item := Character'Val ( Character'Pos ('a') - 10 - (Character'Pos ('a') - Character'Pos ('A')) * Type_Set'Pos (Set) + Value); end case; end Image; procedure Image ( Value : Long_Long_Integer_Types.Word_Unsigned; Item : out String; Last : out Natural; Base : Number_Base := 10; Set : Type_Set := Upper_Case; Width : Positive := 1; Fill : Character := '0'; Error : out Boolean) is W : constant Positive := Formatting.Digits_Width (Value, Base); Padding_Length : constant Natural := Integer'Max (0, Width - W); Length : constant Natural := Padding_Length + W; begin Error := Item'First + Length - 1 > Item'Last; if Error then Last := Item'First - 1; else Last := Item'First + Length - 1; Fill_Padding ( Item (Item'First .. Item'First + Padding_Length - 1), Fill); Fill_Digits ( Value, Item (Item'First + Padding_Length .. Last), Base, Set); end if; end Image; procedure Image ( Value : Long_Long_Integer_Types.Long_Long_Unsigned; Item : out String; Last : out Natural; Base : Number_Base := 10; Set : Type_Set := Upper_Case; Width : Positive := 1; Fill : Character := '0'; Error : out Boolean) is begin if Standard'Word_Size < Long_Long_Unsigned'Size then -- optimized for 32bit declare W : constant Positive := Formatting.Digits_Width (Value, Base); Padding_Length : constant Natural := Integer'Max (0, Width - W); Length : constant Natural := Padding_Length + W; begin Error := Item'First + Length - 1 > Item'Last; if Error then Last := Item'First - 1; else Last := Item'First + Length - 1; Fill_Padding ( Item (Item'First .. Item'First + Padding_Length - 1), Fill); Fill_Digits ( Value, Item (Item'First + Padding_Length .. Last), Base, Set); end if; end; else -- optimized for 64bit Image ( Word_Unsigned (Value), Item, Last, Base, Set, Width, Fill, Error); end if; end Image; procedure Value ( Item : Character; Result : out Digit; Error : out Boolean) is begin case Item is when '0' .. '9' => Result := Character'Pos (Item) - Character'Pos ('0'); Error := False; when 'A' .. 'F' => Result := Character'Pos (Item) - (Character'Pos ('A') - 10); Error := False; when 'a' .. 'f' => Result := Character'Pos (Item) - (Character'Pos ('a') - 10); Error := False; when others => Error := True; end case; end Value; procedure Value ( Item : String; Last : out Natural; Result : out Long_Long_Integer_Types.Word_Unsigned; Base : Number_Base := 10; Skip_Underscore : Boolean := False; Error : out Boolean) is Overflow : Boolean; begin Take_Digits (Item, Last, Result, Base, Skip_Underscore, Overflow); if Overflow then Result := 0; Last := Item'First - 1; Error := True; else Error := Last < Item'First; end if; end Value; procedure Value ( Item : String; Last : out Natural; Result : out Long_Long_Integer_Types.Long_Long_Unsigned; Base : Number_Base := 10; Skip_Underscore : Boolean := False; Error : out Boolean) is begin if Standard'Word_Size < Long_Long_Unsigned'Size then -- optimized for 32bit declare Overflow : Boolean; begin Take_Digits (Item, Last, Result, Base, Skip_Underscore, Overflow); if Overflow then Result := 0; Last := Item'First - 1; Error := True; else Error := Last < Item'First; end if; end; else -- optimized for 64bit Value ( Item, Last, Word_Unsigned (Result), Base, Skip_Underscore, Error); end if; end Value; procedure Fill_Padding (Item : out String; Pad : Character) is begin memset (Item'Address, Character'Pos (Pad), Item'Length); end Fill_Padding; end System.Formatting;
alloy4fun_models/trainstlt/models/8/mqvGKzy8SXQq8sEPp.als
Kaixi26/org.alloytools.alloy
0
625
<gh_stars>0 open main pred idmqvGKzy8SXQq8sEPp_prop9 { (all t:Train |no t.pos implies eventually ( some t.pos and t.pos in Entry) ) } pred __repair { idmqvGKzy8SXQq8sEPp_prop9 } check __repair { idmqvGKzy8SXQq8sEPp_prop9 <=> prop9o }
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_2900.asm
ljhsiun2/medusa
9
166955
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r15 push %r8 push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0x473d, %r8 and %r13, %r13 mov $0x6162636465666768, %rbp movq %rbp, %xmm6 vmovups %ymm6, (%r8) nop nop nop nop add $57373, %rsi lea addresses_D_ht+0x1176d, %r11 nop nop nop and %rdi, %rdi mov $0x6162636465666768, %r15 movq %r15, %xmm5 vmovups %ymm5, (%r11) nop nop nop nop nop inc %r15 lea addresses_D_ht+0x59bd, %rdi nop nop mfence mov $0x6162636465666768, %r8 movq %r8, %xmm5 and $0xffffffffffffffc0, %rdi vmovntdq %ymm5, (%rdi) nop nop nop nop nop sub %r11, %r11 lea addresses_WC_ht+0x6aa, %r13 nop nop nop nop nop sub %r8, %r8 mov (%r13), %rsi nop nop nop nop cmp %rsi, %rsi lea addresses_UC_ht+0x1426d, %rbp nop cmp %rsi, %rsi movb $0x61, (%rbp) nop nop nop mfence lea addresses_A_ht+0x16ce2, %rsi nop nop nop nop xor $9265, %r8 mov $0x6162636465666768, %r15 movq %r15, %xmm5 vmovups %ymm5, (%rsi) cmp %rsi, %rsi lea addresses_A_ht+0x883d, %rsi lea addresses_normal_ht+0x403d, %rdi nop nop nop nop nop sub $2632, %r13 mov $86, %rcx rep movsb nop cmp $698, %rsi lea addresses_normal_ht+0x145a, %rsi nop nop xor %r13, %r13 movb (%rsi), %r11b nop nop nop add $40678, %r11 lea addresses_UC_ht+0xd629, %r15 nop inc %rdi mov (%r15), %si nop nop and %r13, %r13 pop %rsi pop %rdi pop %rcx pop %rbp pop %r8 pop %r15 pop %r13 pop %r11 ret .global s_faulty_load s_faulty_load: push %r13 push %r14 push %r15 push %r9 push %rax push %rbp push %rdi // Store lea addresses_normal+0x18d3d, %rax xor $48757, %r14 mov $0x5152535455565758, %r15 movq %r15, %xmm4 vmovups %ymm4, (%rax) inc %r15 // Store lea addresses_normal+0x263d, %rbp nop nop cmp $25432, %r9 mov $0x5152535455565758, %r14 movq %r14, %xmm0 movups %xmm0, (%rbp) and $25869, %r9 // Faulty Load lea addresses_normal+0x1763d, %r14 nop nop nop nop xor %r15, %r15 mov (%r14), %rdi lea oracles, %r9 and $0xff, %rdi shlq $12, %rdi mov (%r9,%rdi,1), %rdi pop %rdi pop %rbp pop %rax pop %r9 pop %r15 pop %r14 pop %r13 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_normal', 'AVXalign': False, 'congruent': 0, 'size': 8, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'AVXalign': False, 'congruent': 8, 'size': 32, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'AVXalign': False, 'congruent': 11, 'size': 16, 'same': False, 'NT': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_normal', 'AVXalign': False, 'congruent': 0, 'size': 8, 'same': True, 'NT': False}} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'AVXalign': False, 'congruent': 8, 'size': 32, 'same': True, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'AVXalign': False, 'congruent': 4, 'size': 32, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'AVXalign': False, 'congruent': 6, 'size': 32, 'same': False, 'NT': True}} {'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'AVXalign': False, 'congruent': 0, 'size': 8, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'AVXalign': False, 'congruent': 4, 'size': 1, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'AVXalign': False, 'congruent': 0, 'size': 32, 'same': False, 'NT': False}} {'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 8, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 9, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'AVXalign': False, 'congruent': 0, 'size': 1, 'same': False, 'NT': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_UC_ht', 'AVXalign': False, 'congruent': 2, 'size': 2, 'same': False, 'NT': False}} {'34': 21829} 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 */
programs/oeis/193/A193260.asm
neoneye/loda
22
27259
; A193260: G.f.: x+x^2 = Sum_{n>=1} x^n * ((1+x+x^2)^n - x^(2*n)) / (1+x+x^2)^a(n). ; 1,2,5,6,7,9,10,11,15,16,17,19,20,21,23,24,25,28,29,30,32,33,34,36,37,38,43,44,45,47,48,49,51,52,53,56,57,58,60,61,62,64,65,66,69,70,71,73,74,75,77,78,79,83,84,85,87,88,89,91,92,93,96,97,98,100,101,102,104,105,106,109,110,111,113,114,115,117,118,119,125,126,127,129,130,131,133,134,135,138,139,140,142,143,144,146,147,148,151,152 add $0,2 lpb $0 add $1,$0 add $0,2 div $0,3 lpe sub $1,1 mov $0,$1
oeis/023/A023514.asm
neoneye/loda-programs
11
166257
; A023514: a(n) = sum of exponents in prime-power factorization of prime(n) + 1. ; 1,2,2,3,3,2,3,3,4,3,5,2,3,3,5,4,4,2,3,5,2,5,4,4,3,3,4,5,3,3,7,4,3,4,4,4,2,3,5,3,5,3,7,2,4,5,3,6,4,3,4,6,3,5,3,5,5,5,2,3,3,4,4,5,2,3,3,3,4,4,3,6,5,3,4,8,4,2,3,3,5,2,7,3,5,4,5,2,4,5,5,7,4,4,5,6,4,4,3,2 seq $0,6005 ; The odd prime numbers together with 1. seq $0,1222 ; Number of prime divisors of n counted with multiplicity (also called bigomega(n) or Omega(n)).
programs/oeis/105/A105392.asm
jmorken/loda
1
86972
; A105392: Frobenius number of the subsemigroup of the natural numbers generated by successive pairs of Lucas numbers. ; 0,5,17,59,169,475,1287,3449,9149,24155,63557,166919,437839,1147645,3006777,7875419,20623889,54003395,141397847,370208849,969258949,2537616955,6643671117,17393524559,45537109919,119218140725 mov $7,$0 mov $9,$0 lpb $9 clr $0,7 mov $0,$7 sub $9,1 sub $0,$9 cal $0,204 ; Lucas numbers (beginning with 1): L(n) = L(n-1) + L(n-2) with L(1) = 1, L(2) = 3. add $3,$0 sub $0,1 mul $0,$3 div $3,2 mov $2,$3 mov $5,$0 sub $0,5 add $2,1 trn $2,$0 sub $5,$2 add $8,$5 lpe mov $1,$8
Ada/inc/Problem_60.ads
Tim-Tom/project-euler
0
27395
<filename>Ada/inc/Problem_60.ads package Problem_60 is procedure Solve; end Problem_60;
ada-python-test/ada_module.ads
kylelk/ada-examples
1
22945
<gh_stars>1-10 package Ada_Module is procedure Say_Hello; pragma Export (C, Say_Hello, "say_hello"); end Ada_Module;
MSDOS/Virus.MSDOS.Unknown.hello.asm
fengjixuchui/Family
3
96090
; +-------------------------------------------------------------+ ; ; | Sample hello world program for use with the Magic Assembler | ; ; +-------------------------------------------------------------+ ; mov ah,09 mov dx,offset(hello) int 21 mov ax,4c00 int 20 hello db 'Hello, world!$'
modular_hashing.ads
annexi-strayline/ASAP-Modular_Hashing
0
9853
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- Modular Hash Infrastructure -- -- -- -- ------------------------------------------------------------------------ -- -- -- -- Copyright (C) 2018-2021, ANNEXI-STRAYLINE Trans-Human Ltd. -- -- All rights reserved. -- -- -- -- Original Contributors: -- -- * <NAME>, <NAME>, <NAME>, <NAME> -- -- (ANNEXI-STRAYLINE) -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- -- -- * Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -- -- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ with Interfaces; with Ada.Streams; package Modular_Hashing is ---------- -- Hash -- ---------- type Hash is abstract tagged null record; -- The Hash Type represents a prototypical Hash value, being some kind of -- fixed-sized representation derrived from an input, such that two equal -- inputs generate the same Hash value. function "<" (Left, Right: Hash) return Boolean is abstract; function ">" (Left, Right: Hash) return Boolean is abstract; function "=" (Left, Right: Hash) return Boolean is abstract; -- Representation -- -------------------- type Hash_Binary_Value is array (Positive range <>) of Interfaces.Unsigned_8; function Binary_Bytes (Value: Hash) return Positive is abstract; -- Returns the number of bytes required to represent the Hash value with -- a Hash_Binary array. function Binary (Value: Hash) return Hash_Binary_Value is abstract with Post'Class => Binary'Result'Length = Value.Binary_Bytes; -- Returns a binary represetnation of the Hash value as an array of bytes. -- This output is used by the default implementation of Hexadecimal, which -- assumes that the resulting value is in ** LITTLE ENDIAN ** order function Hexadecimal_Digits (Value: Hash) return Positive is (Hash'Class(Value).Binary_Bytes * 2); -- Returns the number of hexidecimal digits required to represent the Hash -- value. function Hexadecimal (Value : Hash; Lower_Case: Boolean := True) return String with Post => Hexadecimal'Result'Length = Value.Hexadecimal_Digits; -- Returns the Hexadecimal representation of the Binary representation of -- Hash value. The size of the returned String is always constant for any -- value of the same Hash'Class type, and can be queried via -- Hexidecimal_Digits function. -------------------- -- Hash_Algorithm -- -------------------- type Hash_Algorithm is abstract new Ada.Streams.Root_Stream_Type with null record; -- Members of Hash_Algorithm'Class represent any given Hashing algorithm -- which can produce a value of Hash'Class from an arbitrary input delivered -- via the Ada Stream interface. -- -- Hash_Algorithm'Class members are not required, and should not be expected -- to be, task-safe. -- Streams Interface -- ----------------------- overriding procedure Read (Stream: in out Hash_Algorithm; Item : out Ada.Streams.Stream_Element_Array; Last : out Ada.Streams.Stream_Element_Offset); -- Hash algorithms are always "one way". Reading from a Hash_Algorithm'Class -- constitutes an incorrect application of a Hash_Algorithm and causes an -- explicit raise of Program_Error overriding procedure Write (Stream: in out Hash_Algorithm; Item : in Ada.Streams.Stream_Element_Array) is abstract; -- Accepts a stream or message of an arbitrary size. -- -- For message digest algorithms, content streamed to Write consitutes the -- message, and is held in a buffer until Digest is executed, which triggers -- digestion of the message (buffer contents at that point), into a single -- Hash value. -- Executive Operations -- -------------------------- procedure Reset (Engine: in out Hash_Algorithm) is abstract; -- Resets any internal state to the initial state, and clears any buffers. -- -- Hash_Algorithms shall be self-initializing. Reset should only be -- required to flush an aborted message function Digest (Engine: in out Hash_Algorithm) return Hash'Class is abstract; -- Returns the Hash value from the Hash_Algoritm. For digest algorithms, -- this also causes the Hash to be computed. -- -- The state of the Hash_Algorithm is reset. Any buffers are cleared. -- Message digest function Digest (Engine : in out Hash_Algorithm'Class; Message: in String) return Hash'Class; function Digest (Engine : in out Hash_Algorithm'Class; Message: in Wide_String) return Hash'Class; function Digest (Engine : in out Hash_Algorithm'Class; Message: in Wide_Wide_String) return Hash'Class; -- Directly writes Message to Engine's stream, and then invokes Digest, -- returning the result end Modular_Hashing;
EserciziMips/5.6-ManipolazioneStringa.asm
AntoAndGar/MIPS
0
100922
# Scrivere un programma in linguaggio assembly MIPS che legga una stringa introdotta da tastiera. # La stringa contiene sia caratteri maiuscoli che caratteri minuscoli, e complessivamente al più 100 caratteri. # Il programma deve svolgere le seguenti operazioni: # - visualizzare la stringa inserita # - costruire una nuova stringa in cui il primo carattere di ciascuna parola nella frase di partenza è stato reso maiuscolo. # Tutti gli altri caratteri devono essere resi minuscoli. Il programma deve memorizzare la nuova stringa # - visualizzare la nuova frase. .text .globl main main: la $a0, stringa la $a1, 100 li $v0, 8 syscall li $v0, 4 syscall li $s0, 96 li $s1, 122 li $s2, 32 lb $t2, stringa sgt $t3, $t2, $s0 slt $t4, $t2, $s1 and $t5, $t3, $t4 beqz $t5, not_upperable subi $t2, $t2, 32 not_upperable: sb $t2, result li $t1, 1 loop: beq $t2, 0, stampa lb $t6, stringa+-1($t1) lb $t2, stringa($t1) sgt $t3, $t2, $s0 slt $t4, $t2, $s1 and $t5, $t3, $t4 seq $t7, $t6, $s2 and $t8, $t7, $t5 bne $t8, 1, no_up subi $t2, $t2, 32 no_up: sb $t2, result($t1) addi $t1, $t1, 1 j loop stampa: la $a0, result li $v0, 4 syscall li $v0, 10 syscall .data stringa: .space 100 result: .space 100
src/_test/fixtures/apsepp_test_node_barrier.adb
thierr26/ada-apsepp
0
26272
-- Copyright (C) 2019 <NAME> <<EMAIL>> -- MIT license. Please refer to the LICENSE file. with Ada.Unchecked_Deallocation; package body Apsepp_Test_Node_Barrier is ---------------------------------------------------------------------------- function Test_Reporter_Proc_Name (Event_Kind : Test_Event_Kind) return String is Event_Kind_Str : String := Test_Event_Kind'Image (Event_Kind); begin for K in Event_Kind_Str'First + 1 .. Event_Kind_Str'Last loop if Event_Kind_Str(K - 1) /= '_' then Event_Kind_Str(K) := To_Lower (Event_Kind_Str(K)); end if; end loop; return "Report_" & Event_Kind_Str; end; ---------------------------------------------------------------------------- task body Test_Node_Barrier_Monitor is B : access Test_Node_Barrier; Period : Day_Duration; Cross_Count : Natural; begin accept Setup (Barrier : not null Test_Node_Barrier_Access; Monitoring_Period : Day_Duration := 0.7) do B := Barrier; Period := Monitoring_Period; Cross_Count := B.Cross_Count; end Setup; while not B.Completed loop delay Period; if B.Cross_Count = Cross_Count then B.Time_Out; end if; Cross_Count := B.Cross_Count; end loop; end Test_Node_Barrier_Monitor; ---------------------------------------------------------------------------- protected body Test_Node_Barrier is ----------------------------------------------------- function Permanently_Opened return Boolean is (case Permanent_Opening_Cause is when None => False, when Saturation | Overflow | Time_Out => True); ----------------------------------------------------- procedure Setup (Ch_I : not null Char_Name_Image_Func; T_T_C : not null Tag_To_Char_Func; C_T_C : not null Char_To_Tag_Func; V : not null Validate_Proc; Exp : not null Tag_Array_Access) is begin Char_Name_Image := Ch_I; Tag_To_Char := T_T_C; Char_To_Tag := C_T_C; Validate := V; Expected_Tag := Exp; Crossing_Count := Prot_Natural.Create (0); Permanent_Opening_Cause := None; Failed_Validation_Flag := False; end Setup; ----------------------------------------------------- function Cross_Condition (Char : ISO_646) return Boolean is use Prot_Natural; -- TODO: Write function Inc in Generic_Prot_Integer. <2019-06-13> Crossing_Count_Su : constant O_P_I_Type := Crossing_Count + Create (1); K : constant Positive := Val (Crossing_Count_Su); begin return Permanently_Opened or else Sat (Crossing_Count_Su) or else K > Expected_Tag'Length or else ( Tag_To_Char (Expected_Tag (K - 1 + Expected_Tag'First)) = Char ); end Cross_Condition; ----------------------------------------------------- entry Cross(for Char in ISO_646) (Event_Kind : Test_Event_Kind; Event_Data : Test_Event_Data) when Cross_Condition (Char) is use Prot_Natural; Entity_Name : constant String := "Apsepp_Test_Node_Barrier.Test_Node_Barrier.Cross"; C_D_T : constant Controlled_Debug_Tracer := Create_N (Entity_Name); Failed_Val : Boolean := False; function Msg_Pref return String is C_C_Str : String := Natural'Image (Val (Crossing_Count)); begin C_C_Str(1) := '#'; return "Crossing " & C_C_Str & Char_Name_Image (Char); end Msg_Pref; procedure Free is new Ada.Unchecked_Deallocation (Object => Exception_Occurrence, Name => Exception_Occurrence_Access); begin Inc (Crossing_Count); if not Permanently_Opened then if Sat (Crossing_Count) then Permanent_Opening_Cause := Saturation; -- Causes Permanently_Opened to be True from -- from now on. C_D_T.Trace ("Test node barrier saturated"); elsif Val (Crossing_Count) > Expected_Tag'Length then Permanent_Opening_Cause := Overflow; -- Ditto. Crossing_Count_On_Overflow := Val (Crossing_Count) - 1; C_D_T.Trace ("Test node barrier overflowed"); end if; end if; if not Permanently_Opened then declare Excep : Exception_Occurrence_Access := Event_Data.E; begin Validate (Val (Crossing_Count), Event_Kind, Event_Data, Char, Char_To_Tag, Msg_Pref); Free (Excep); -- Free the exception allocated by Save_Occurrence -- in the Report_ primitives of -- Test_Reporter_W_Barrier. exception when E : others => -- Probably -- Ada.Assertions.Assertion_Error. C_D_T.Trace (Msg_Pref & Exception_Message (E)); Failed_Validation_Flag := True; Failed_Val := True; end; end if; if not Failed_Val then C_D_T.Trace (Msg_Pref(Msg_Pref'First .. Msg_Pref'Last - 2) & (if Permanently_Opened then " (Permanently opened)" else "")); end if; end Cross; ----------------------------------------------------- procedure Time_Out is use Prot_Natural; Entity_Name : constant String := "Apsepp_Test_Node_Barrier.Test_Node_Barrier.Time_Out"; C_D_T : constant Controlled_Debug_Tracer := Create_N (Entity_Name); begin if not Permanently_Opened then Permanent_Opening_Cause := Time_Out; -- Causes Permanently_Opened to be True from now -- on. Crossing_Count_On_Time_Out := Val (Crossing_Count); C_D_T.Trace ("Test node barrier timed out"); end if; end Time_Out; ----------------------------------------------------- function Cross_Count return Natural is (Prot_Natural.Val (Crossing_Count)); ----------------------------------------------------- function Timed_Out return Boolean is (case Permanent_Opening_Cause is when Time_Out => True, when None | Saturation | Overflow => False); ----------------------------------------------------- function Cross_Count_On_Time_Out return Natural is (Crossing_Count_On_Time_Out); ----------------------------------------------------- function Saturated return Boolean is (case Permanent_Opening_Cause is when Saturation => True, when None | Time_Out | Overflow => False); ----------------------------------------------------- function Overflowed return Boolean is (case Permanent_Opening_Cause is when Overflow => True, when None | Time_Out | Saturation => False); ----------------------------------------------------- function Cross_Count_On_Overflow return Natural is (Crossing_Count_On_Overflow); ----------------------------------------------------- function Completed return Boolean is (Cross_Count = Expected_Tag'Length); ----------------------------------------------------- function Failed_Validation return Boolean is (Failed_Validation_Flag); ----------------------------------------------------- end Test_Node_Barrier; ---------------------------------------------------------------------------- not overriding procedure Setup (Obj : in out Test_Reporter_W_Barrier; B : not null Test_Node_Barrier_Access; Ch_I : not null Char_Name_Image_Func; T_T_C : not null Tag_To_Char_Func) is begin Obj.Barrier := B; Obj.Char_Name_Image := Ch_I; Obj.Tag_To_Char := T_T_C; end Setup; ----------------------------------------------------- not overriding function Arriv_To_Cross_Message (Obj : Test_Reporter_W_Barrier; Operation_Name : String; Node_Tag : Tag) return String is ("Apsepp_Test_Node_Barrier." & Operation_Name & Obj.Char_Name_Image (Obj.Tag_To_Char (Node_Tag)) & "Arriving to test node barrier"); ----------------------------------------------------- overriding procedure Report_Failed_Child_Test_Node_Access (Obj : in out Test_Reporter_W_Barrier; Node_Tag : Tag; Previous_Child_Tag : Tag; E : Exception_Occurrence) is Event_Kind : constant Test_Event_Kind := Failed_Child_Test_Node_Access; Proc_Name : constant String := Test_Reporter_Proc_Name (Event_Kind); begin Obj.C_D_T.Trace (Test_Reporter_W_Barrier'Class (Obj).Arriv_To_Cross_Message (Proc_Name, Node_Tag)); Obj.Barrier.Cross (Obj.Tag_To_Char (Node_Tag)) (Event_Kind, (E => Save_Occurrence (E), Previous_Child_Tag => Previous_Child_Tag, others => <>)); end Report_Failed_Child_Test_Node_Access; ----------------------------------------------------- overriding procedure Report_Unexpected_Node_Cond_Check_Error (Obj : in out Test_Reporter_W_Barrier; Node_Tag : Tag; E : Exception_Occurrence) is Event_Kind : constant Test_Event_Kind := Unexpected_Node_Cond_Check_Error; Proc_Name : constant String := Test_Reporter_Proc_Name (Event_Kind); begin Obj.C_D_T.Trace (Test_Reporter_W_Barrier'Class (Obj).Arriv_To_Cross_Message (Proc_Name, Node_Tag)); Obj.Barrier.Cross (Obj.Tag_To_Char (Node_Tag)) (Event_Kind, (E => Save_Occurrence (E), others => <>)); end Report_Unexpected_Node_Cond_Check_Error; ----------------------------------------------------- overriding procedure Report_Unexpected_Node_Run_Error (Obj : in out Test_Reporter_W_Barrier; Node_Tag : Tag; E : Exception_Occurrence) is Event_Kind : constant Test_Event_Kind := Unexpected_Node_Run_Error; Proc_Name : constant String := Test_Reporter_Proc_Name (Event_Kind); begin Obj.C_D_T.Trace (Test_Reporter_W_Barrier'Class (Obj).Arriv_To_Cross_Message (Proc_Name, Node_Tag)); Obj.Barrier.Cross (Obj.Tag_To_Char (Node_Tag)) (Event_Kind, (E => Save_Occurrence (E), others => <>)); end Report_Unexpected_Node_Run_Error; ----------------------------------------------------- overriding procedure Report_Node_Cond_Check_Start (Obj : in out Test_Reporter_W_Barrier; Node_Tag : Tag) is Event_Kind : constant Test_Event_Kind := Node_Cond_Check_Start; Proc_Name : constant String := Test_Reporter_Proc_Name (Event_Kind); begin Obj.C_D_T.Trace (Test_Reporter_W_Barrier'Class (Obj).Arriv_To_Cross_Message (Proc_Name, Node_Tag)); Obj.Barrier.Cross (Obj.Tag_To_Char (Node_Tag)) (Event_Kind, (others => <>)); end Report_Node_Cond_Check_Start; ----------------------------------------------------- overriding procedure Report_Passed_Node_Cond_Check (Obj : in out Test_Reporter_W_Barrier; Node_Tag : Tag) is Event_Kind : constant Test_Event_Kind := Passed_Node_Cond_Check; Proc_Name : constant String := Test_Reporter_Proc_Name (Event_Kind); begin Obj.C_D_T.Trace (Test_Reporter_W_Barrier'Class (Obj).Arriv_To_Cross_Message (Proc_Name, Node_Tag)); Obj.Barrier.Cross (Obj.Tag_To_Char (Node_Tag)) (Event_Kind, (others => <>)); end Report_Passed_Node_Cond_Check; ----------------------------------------------------- overriding procedure Report_Failed_Node_Cond_Check (Obj : in out Test_Reporter_W_Barrier; Node_Tag : Tag) is Event_Kind : constant Test_Event_Kind := Failed_Node_Cond_Check; Proc_Name : constant String := Test_Reporter_Proc_Name (Event_Kind); begin Obj.C_D_T.Trace (Test_Reporter_W_Barrier'Class (Obj).Arriv_To_Cross_Message (Proc_Name, Node_Tag)); Obj.Barrier.Cross (Obj.Tag_To_Char (Node_Tag)) (Event_Kind, (others => <>)); end Report_Failed_Node_Cond_Check; ----------------------------------------------------- overriding procedure Report_Passed_Node_Cond_Assert (Obj : in out Test_Reporter_W_Barrier; Node_Tag : Tag) is Event_Kind : constant Test_Event_Kind := Passed_Node_Cond_Assert; Proc_Name : constant String := Test_Reporter_Proc_Name (Event_Kind); begin Obj.C_D_T.Trace (Test_Reporter_W_Barrier'Class (Obj).Arriv_To_Cross_Message (Proc_Name, Node_Tag)); Obj.Barrier.Cross (Obj.Tag_To_Char (Node_Tag)) (Event_Kind, (others => <>)); end Report_Passed_Node_Cond_Assert; ----------------------------------------------------- overriding procedure Report_Failed_Node_Cond_Assert (Obj : in out Test_Reporter_W_Barrier; Node_Tag : Tag) is Event_Kind : constant Test_Event_Kind := Failed_Node_Cond_Assert; Proc_Name : constant String := Test_Reporter_Proc_Name (Event_Kind); begin Obj.C_D_T.Trace (Test_Reporter_W_Barrier'Class (Obj).Arriv_To_Cross_Message (Proc_Name, Node_Tag)); Obj.Barrier.Cross (Obj.Tag_To_Char (Node_Tag)) (Event_Kind, (others => <>)); end Report_Failed_Node_Cond_Assert; ----------------------------------------------------- overriding procedure Report_Node_Run_Start (Obj : in out Test_Reporter_W_Barrier; Node_Tag : Tag) is Event_Kind : constant Test_Event_Kind := Node_Run_Start; Proc_Name : constant String := Test_Reporter_Proc_Name (Event_Kind); begin Obj.C_D_T.Trace (Test_Reporter_W_Barrier'Class (Obj).Arriv_To_Cross_Message (Proc_Name, Node_Tag)); Obj.Barrier.Cross (Obj.Tag_To_Char (Node_Tag)) (Event_Kind, (others => <>)); end Report_Node_Run_Start; ----------------------------------------------------- overriding procedure Report_Test_Routine_Start (Obj : in out Test_Reporter_W_Barrier; Node_Tag : Tag; K : Test_Node_Class.Test_Routine_Count) is Event_Kind : constant Test_Event_Kind := Test_Routine_Start; Proc_Name : constant String := Test_Reporter_Proc_Name (Event_Kind); begin Obj.C_D_T.Trace (Test_Reporter_W_Barrier'Class (Obj).Arriv_To_Cross_Message (Proc_Name, Node_Tag)); Obj.Barrier.Cross (Obj.Tag_To_Char (Node_Tag)) (Event_Kind, (R_Index => K, others => <>)); end Report_Test_Routine_Start; ----------------------------------------------------- overriding procedure Report_Test_Routines_Cancellation (Obj : in out Test_Reporter_W_Barrier; Node_Tag : Tag; First_K, Last_K : Test_Node_Class.Test_Routine_Count) is Event_Kind : constant Test_Event_Kind := Test_Routines_Cancellation; Proc_Name : constant String := Test_Reporter_Proc_Name (Event_Kind); pragma Unreferenced (First_K); begin Obj.C_D_T.Trace (Test_Reporter_W_Barrier'Class (Obj).Arriv_To_Cross_Message (Proc_Name, Node_Tag)); Obj.Barrier.Cross (Obj.Tag_To_Char (Node_Tag)) (Event_Kind, (R_Index => Last_K, others => <>)); end Report_Test_Routines_Cancellation; ----------------------------------------------------- overriding procedure Report_Failed_Test_Routine_Access (Obj : in out Test_Reporter_W_Barrier; Node_Tag : Tag; K : Test_Node_Class.Test_Routine_Count; E : Exception_Occurrence) is Event_Kind : constant Test_Event_Kind := Failed_Test_Routine_Access; Proc_Name : constant String := Test_Reporter_Proc_Name (Event_Kind); begin Obj.C_D_T.Trace (Test_Reporter_W_Barrier'Class (Obj).Arriv_To_Cross_Message (Proc_Name, Node_Tag)); Obj.Barrier.Cross (Obj.Tag_To_Char (Node_Tag)) (Event_Kind, (E => Save_Occurrence (E), R_Index => K, others => <>)); end Report_Failed_Test_Routine_Access; ----------------------------------------------------- overriding procedure Report_Failed_Test_Routine_Setup (Obj : in out Test_Reporter_W_Barrier; Node_Tag : Tag; K : Test_Node_Class.Test_Routine_Count; E : Exception_Occurrence) is Event_Kind : constant Test_Event_Kind := Failed_Test_Routine_Setup; Proc_Name : constant String := Test_Reporter_Proc_Name (Event_Kind); begin Obj.C_D_T.Trace (Test_Reporter_W_Barrier'Class (Obj).Arriv_To_Cross_Message (Proc_Name, Node_Tag)); Obj.Barrier.Cross (Obj.Tag_To_Char (Node_Tag)) (Event_Kind, (E => Save_Occurrence (E), R_Index => K, others => <>)); end Report_Failed_Test_Routine_Setup; ----------------------------------------------------- overriding procedure Report_Passed_Test_Assert (Obj : in out Test_Reporter_W_Barrier; Node_Tag : Tag; K : Test_Node_Class.Test_Routine_Count; Assert_Num_Avail : Boolean; Assert_Num : Test_Node_Class.Test_Assert_Count) is Event_Kind : constant Test_Event_Kind := Passed_Test_Assert; Proc_Name : constant String := Test_Reporter_Proc_Name (Event_Kind); begin Obj.C_D_T.Trace (Test_Reporter_W_Barrier'Class (Obj).Arriv_To_Cross_Message (Proc_Name, Node_Tag)); Obj.Barrier.Cross (Obj.Tag_To_Char (Node_Tag)) (Event_Kind, (if Assert_Num_Avail then (R_Index => K, Assert_Num => Assert_Num, others => <>) else (R_Index => K, others => <>))); end Report_Passed_Test_Assert; ----------------------------------------------------- overriding procedure Report_Failed_Test_Assert (Obj : in out Test_Reporter_W_Barrier; Node_Tag : Tag; K : Test_Node_Class.Test_Routine_Count; Assert_Num_Avail : Boolean; Assert_Num : Test_Node_Class.Test_Assert_Count; E : Exception_Occurrence) is Event_Kind : constant Test_Event_Kind := Failed_Test_Assert; Proc_Name : constant String := Test_Reporter_Proc_Name (Event_Kind); begin Obj.C_D_T.Trace (Test_Reporter_W_Barrier'Class (Obj).Arriv_To_Cross_Message (Proc_Name, Node_Tag)); Obj.Barrier.Cross (Obj.Tag_To_Char (Node_Tag)) (Event_Kind, (if Assert_Num_Avail then (E => Save_Occurrence (E), R_Index => K, Assert_Num => Assert_Num, others => <>) else (E => Save_Occurrence (E), R_Index => K, others => <>))); end Report_Failed_Test_Assert; ----------------------------------------------------- overriding procedure Report_Unexpected_Routine_Exception (Obj : in out Test_Reporter_W_Barrier; Node_Tag : Tag; K : Test_Node_Class.Test_Routine_Count; E : Exception_Occurrence) is Event_Kind : constant Test_Event_Kind := Unexpected_Routine_Exception; Proc_Name : constant String := Test_Reporter_Proc_Name (Event_Kind); begin Obj.C_D_T.Trace (Test_Reporter_W_Barrier'Class (Obj).Arriv_To_Cross_Message (Proc_Name, Node_Tag)); Obj.Barrier.Cross (Obj.Tag_To_Char (Node_Tag)) (Event_Kind, (E => Save_Occurrence (E), R_Index => K, others => <>)); end Report_Unexpected_Routine_Exception; ----------------------------------------------------- overriding procedure Report_Passed_Test_Routine (Obj : in out Test_Reporter_W_Barrier; Node_Tag : Tag; K : Test_Node_Class.Test_Routine_Count) is Event_Kind : constant Test_Event_Kind := Passed_Test_Routine; Proc_Name : constant String := Test_Reporter_Proc_Name (Event_Kind); begin Obj.C_D_T.Trace (Test_Reporter_W_Barrier'Class (Obj).Arriv_To_Cross_Message (Proc_Name, Node_Tag)); Obj.Barrier.Cross (Obj.Tag_To_Char (Node_Tag)) (Event_Kind, (R_Index => K, others => <>)); end Report_Passed_Test_Routine; ----------------------------------------------------- overriding procedure Report_Failed_Test_Routine (Obj : in out Test_Reporter_W_Barrier; Node_Tag : Tag; K : Test_Node_Class.Test_Routine_Count) is Event_Kind : constant Test_Event_Kind := Failed_Test_Routine; Proc_Name : constant String := Test_Reporter_Proc_Name (Event_Kind); begin Obj.C_D_T.Trace (Test_Reporter_W_Barrier'Class (Obj).Arriv_To_Cross_Message (Proc_Name, Node_Tag)); Obj.Barrier.Cross (Obj.Tag_To_Char (Node_Tag)) (Event_Kind, (R_Index => K, others => <>)); end Report_Failed_Test_Routine; ----------------------------------------------------- overriding procedure Report_Passed_Node_Run (Obj : in out Test_Reporter_W_Barrier; Node_Tag : Tag) is Event_Kind : constant Test_Event_Kind := Passed_Node_Run; Proc_Name : constant String := Test_Reporter_Proc_Name (Event_Kind); begin Obj.C_D_T.Trace (Test_Reporter_W_Barrier'Class (Obj).Arriv_To_Cross_Message (Proc_Name, Node_Tag)); Obj.Barrier.Cross (Obj.Tag_To_Char (Node_Tag)) (Event_Kind, (others => <>)); end Report_Passed_Node_Run; ----------------------------------------------------- overriding procedure Report_Failed_Node_Run (Obj : in out Test_Reporter_W_Barrier; Node_Tag : Tag) is Event_Kind : constant Test_Event_Kind := Failed_Node_Run; Proc_Name : constant String := Test_Reporter_Proc_Name (Event_Kind); begin Obj.C_D_T.Trace (Test_Reporter_W_Barrier'Class (Obj).Arriv_To_Cross_Message (Proc_Name, Node_Tag)); Obj.Barrier.Cross (Obj.Tag_To_Char (Node_Tag)) (Event_Kind, (others => <>)); end Report_Failed_Node_Run; ---------------------------------------------------------------------------- end Apsepp_Test_Node_Barrier;
awa/src/awa-events-dispatchers-tasks.ads
Letractively/ada-awa
0
17330
----------------------------------------------------------------------- -- awa-events-dispatchers-tasks -- AWA Event Dispatchers -- Copyright (C) 2012 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with Ada.Strings.Unbounded; with Util.Concurrent.Fifos; with AWA.Events.Queues; with AWA.Events.Services; package AWA.Events.Dispatchers.Tasks is type Task_Dispatcher is limited new Dispatcher with private; type Task_Dispatcher_Access is access all Task_Dispatcher; -- Start the dispatcher. procedure Start (Manager : in out Task_Dispatcher); -- Stop the dispatcher. procedure Stop (Manager : in out Task_Dispatcher); -- Add the queue to the dispatcher. procedure Add_Queue (Manager : in out Task_Dispatcher; Queue : in AWA.Events.Queues.Queue_Ref; Added : out Boolean); overriding procedure Finalize (Object : in out Task_Dispatcher) renames Stop; function Create_Dispatcher (Service : in AWA.Events.Services.Event_Manager_Access; Match : in String; Count : in Positive; Priority : in Positive) return Dispatcher_Access; private package Queue_Of_Queue is new Util.Concurrent.Fifos (Element_Type => AWA.Events.Queues.Queue_Ref, Default_Size => 10, Clear_On_Dequeue => True); task type Consumer is entry Start (D : in Task_Dispatcher_Access); entry Stop; end Consumer; type Consumer_Array is array (Positive range <>) of Consumer; type Consumer_Array_Access is access Consumer_Array; type Task_Dispatcher is limited new Dispatcher with record Workers : Consumer_Array_Access; Queues : Queue_Of_Queue.Fifo; Task_Count : Positive; Match : Ada.Strings.Unbounded.Unbounded_String; Priority : Positive; end record; end AWA.Events.Dispatchers.Tasks;
programs/oeis/153/A153081.asm
neoneye/loda
22
91318
<reponame>neoneye/loda ; A153081: Nonnegative numbers n such that 2n + 13 is prime. ; 0,2,3,5,8,9,12,14,15,17,20,23,24,27,29,30,33,35,38,42,44,45,47,48,50,57,59,62,63,68,69,72,75,77,80,83,84,89,90,92,93,99,105,107,108,110,113,114,119,122,125,128,129,132,134,135,140,147,149,150,152,159,162,167,168,170,173,177,180,183,185,188,192,194,198,203,204,209,210,213,215,218,222,224,225,227,233,237,239,243,245,248,254,255,264,267,272,275,278,279 add $0,4 seq $0,98090 ; Numbers k such that 2k-3 is prime. sub $0,8
test/Succeed/Issue473-1606.agda
redfish64/autonomic-agda
0
16953
-- Andreas, 2015-07-07 continuation of issue 665 -- Jesper, 2015-12-18 some of these don't work anymore with the new unifier, -- but a few others that weren't accepted are now. {-# OPTIONS --show-implicit #-} -- {-# OPTIONS -v tc.with.strip:10 #-} -- {-# OPTIONS -v tc.with.strip:60 -v tc.lhs:20 -v tc.lhs.unify:20 #-} postulate C : Set anything : C record I : Set where constructor c field {f} : C data Wrap : (i : I) → Set where wrap : ∀ {i} → Wrap i -- Test 0: first argument not given test0 : ∀ {j} → Wrap j → C test0 wrap with anything test0 wrap | z = z test0a : ∀ {j} → Wrap j → C test0a (wrap {c {x}}) with anything test0a wrap | z = z test0b : ∀ {j} → Wrap j → C test0b (wrap {c {_}}) with anything test0b wrap | z = z test0c : ∀ {j} → Wrap j → C test0c (wrap {c}) with anything test0c wrap | z = z test0d : ∀ {j} → Wrap j → C test0d (wrap {c {._}}) with anything test0d wrap | z = z test0e : ∀ {j} → Wrap j → C test0e (wrap .{c}) with anything test0e wrap | z = z test0f : ∀ {j} → Wrap j → C test0f (wrap .{c {_}}) with anything test0f wrap | z = z --test00 : ∀ {j} → Wrap j → C --test00 wrap with anything --test00 {.c} wrap | z = z test00a : ∀ {j} → Wrap j → C test00a (wrap {c {x}}) with anything test00a {.c} wrap | z = z --test00b : ∀ {j} → Wrap j → C --test00b (wrap {c {_}}) with anything --test00b {.c} wrap | z = z --test00c : ∀ {j} → Wrap j → C --test00c (wrap {c}) with anything --test00c {.c} wrap | z = z --test00d : ∀ {j} → Wrap j → C --test00d (wrap {c {._}}) with anything --test00d {.c} wrap | z = z --test00e : ∀ {j} → Wrap j → C --test00e (wrap .{c}) with anything --test00e {.c} wrap | z = z --test00f : ∀ {j} → Wrap j → C --test00f (wrap .{c {_}}) with anything --test00f {.c} wrap | z = z --test000 : ∀ {j} → Wrap j → C --test000 wrap with anything --test000 .{c {_}} wrap | z = z test000a : ∀ {j} → Wrap j → C test000a (wrap {c {x}}) with anything test000a .{c {_}} wrap | z = z --test000b : ∀ {j} → Wrap j → C --test000b (wrap {c {_}}) with anything --test000b .{c {_}} wrap | z = z --test000c : ∀ {j} → Wrap j → C --test000c (wrap {c}) with anything --test000c .{c {_}} wrap | z = z --test000d : ∀ {j} → Wrap j → C --test000d (wrap {c {._}}) with anything --test000d .{c {_}} wrap | z = z --test000e : ∀ {j} → Wrap j → C --test000e (wrap .{c}) with anything --test000e .{c {_}} wrap | z = z --test000f : ∀ {j} → Wrap j → C --test000f (wrap .{c {_}}) with anything --test000f .{c {_}} wrap | z = z -- Test 1: first argument is dot pattern test1a : ∀ {j} → Wrap j → C test1a .{c} (wrap {c {x}}) with anything test1a .{c} wrap | z = z test1b : ∀ {j} → Wrap j → C test1b .{c} (wrap {c {_}}) with anything test1b .{c} wrap | z = z test1c : ∀ {j} → Wrap j → C test1c .{c} (wrap {c}) with anything test1c .{c} wrap | z = z test11a : ∀ {j} → Wrap j → C test11a .{c} (wrap {c {x}}) with anything test11a wrap | z = z test11b : ∀ {j} → Wrap j → C test11b .{c} (wrap {c {_}}) with anything test11b wrap | z = z test11c : ∀ {j} → Wrap j → C test11c .{c} (wrap {c}) with anything test11c wrap | z = z test111a : ∀ {j} → Wrap j → C test111a (wrap {c {x}}) with anything test111a .{c} wrap | z = z --test111b : ∀ {j} → Wrap j → C --test111b (wrap {c {_}}) with anything --test111b .{c} wrap | z = z --test111c : ∀ {j} → Wrap j → C --test111c (wrap {c}) with anything --test111c .{c} wrap | z = z -- Test 2: First argument is record pattern test2a : ∀ {j} → Wrap j → C test2a {c} wrap with anything test2a {c} wrap | z = z test2b : ∀ {j} → Wrap j → C test2b {c} wrap with anything test2b wrap | z = z test2c : ∀ {j} → Wrap j → C test2c {c} (wrap {c}) with anything test2c {c} wrap | z = z test2d : ∀ {j} → Wrap j → C test2d {c} (wrap {c}) with anything test2d wrap | z = z test2e : ∀ {j} → Wrap j → C test2e {c} (wrap {c {._}}) with anything test2e {c} wrap | z = z test2f : ∀ {j} → Wrap j → C test2f {c} (wrap {c {._}}) with anything test2f wrap | z = z test2g : ∀ {j} → Wrap j → C test2g {c} (wrap {c {x}}) with anything test2g {c} wrap | z = z test2h : ∀ {j} → Wrap j → C test2h {c} (wrap {c {x}}) with anything test2h wrap | z = z test2i : ∀ {j} → Wrap j → C test2i {c} (wrap {c {_}}) with anything test2i {c} wrap | z = z test2j : ∀ {j} → Wrap j → C test2j {c} (wrap {c {_}}) with anything test2j wrap | z = z -- Test 3: First argument is record of dot pattern, second is record pattern -- The commented-out ones fail due to issue 1608 -- test3a : ∀ {j} → Wrap j → C -- test3a {c {._}} wrap with anything -- test3a {c {._}} wrap | z = z test3b : ∀ {j} → Wrap j → C test3b {c {._}} wrap with anything test3b wrap | z = z -- test3c : ∀ {j} → Wrap j → C -- test3c {c {._}} (wrap {c}) with anything -- test3c {c {._}} wrap | z = z test3d : ∀ {j} → Wrap j → C test3d {c {._}} (wrap {c}) with anything test3d wrap | z = z -- test3e : ∀ {j} → Wrap j → C -- test3e {c {._}} (wrap {c {._}}) with anything -- test3e {c {._}} wrap | z = z -- test3f : ∀ {j} → Wrap j → C -- test3f {c {._}} (wrap {c {._}}) with anything -- test3f wrap | z = z test3g : ∀ {j} → Wrap j → C test3g {c {._}} (wrap {c {x}}) with anything test3g {c {._}} wrap | z = z test3h : ∀ {j} → Wrap j → C test3h {c {._}} (wrap {c {x}}) with anything test3h wrap | z = z -- test3i : ∀ {j} → Wrap j → C -- test3i {c {._}} (wrap {c {_}}) with anything -- test3i {c {._}} wrap | z = z test3j : ∀ {j} → Wrap j → C test3j {c {._}} (wrap {c {_}}) with anything test3j wrap | z = z
cards/bn4/ModCards/134-D019 Buster Attack15 (0A).asm
RockmanEXEZone/MMBN-Mod-Card-Kit
10
94699
<filename>cards/bn4/ModCards/134-D019 Buster Attack15 (0A).asm .include "defaults_mod.asm" table_file_jp equ "exe4-utf8.tbl" table_file_en equ "bn4-utf8.tbl" game_code_len equ 3 game_code equ 0x4234574A // B4WJ game_code_2 equ 0x42345745 // B4WE game_code_3 equ 0x42345750 // B4WP card_type equ 1 card_id equ 49 card_no equ "049" card_sub equ "Mod Card 049" card_sub_x equ 64 card_desc_len equ 3 card_desc_1 equ "Address 0A" card_desc_2 equ "Buster Attack15" card_desc_3 equ "Buggy" card_name_jp_full equ "バスター攻撃力15" card_name_jp_game equ "バスター攻撃力15" card_name_en_full equ "Buster Attack15" card_name_en_game equ "Buster Attack15" card_address equ "0A" card_address_id equ 0 card_bug equ 1 card_wrote_en equ "Buster Attack15" card_wrote_jp equ "バスター攻撃力15"
pru0_mcp3208_rpmsg/gen/pru0_mcp3208_rpmsg.asm
christianprado911/pru-mcp3208-6ch
0
15710
<reponame>christianprado911/pru-mcp3208-6ch ;****************************************************************************** ;* PRU C/C++ Codegen Unix v2.3.3 * ;* Date/Time created: Wed Aug 12 00:15:04 2020 * ;****************************************************************************** .compiler_opts --abi=eabi --endian=little --hll_source=on --object_format=elf --silicon_version=3 --symdebug:dwarf --symdebug:dwarf_version=3 $C$DW$CU .dwtag DW_TAG_compile_unit .dwattr $C$DW$CU, DW_AT_name("pru0_mcp3208_rpmsg.c") .dwattr $C$DW$CU, DW_AT_producer("TI PRU C/C++ Codegen Unix v2.3.3 Copyright (c) 2012-2018 Texas Instruments Incorporated") .dwattr $C$DW$CU, DW_AT_TI_version(0x01) .dwattr $C$DW$CU, DW_AT_comp_dir("/home/debian/pru-mcp3208-6ch/pru0_mcp3208_rpmsg") .global __PRU_CREG_PRU_CFG .global __PRU_CREG_PRU_INTC .weak ||CT_CFG|| ||CT_CFG||: .usect ".creg.PRU_CFG.noload.near",68,1 $C$DW$1 .dwtag DW_TAG_variable .dwattr $C$DW$1, DW_AT_name("CT_CFG") .dwattr $C$DW$1, DW_AT_TI_symbol_name("CT_CFG") .dwattr $C$DW$1, DW_AT_location[DW_OP_addr ||CT_CFG||] .dwattr $C$DW$1, DW_AT_type(*$C$DW$T$295) .dwattr $C$DW$1, DW_AT_external .dwattr $C$DW$1, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$1, DW_AT_decl_line(0xf2) .dwattr $C$DW$1, DW_AT_decl_column(0x17) .weak ||CT_INTC|| ||CT_INTC||: .usect ".creg.PRU_INTC.noload.far",5380,1 $C$DW$2 .dwtag DW_TAG_variable .dwattr $C$DW$2, DW_AT_name("CT_INTC") .dwattr $C$DW$2, DW_AT_TI_symbol_name("CT_INTC") .dwattr $C$DW$2, DW_AT_location[DW_OP_addr ||CT_INTC||] .dwattr $C$DW$2, DW_AT_type(*$C$DW$T$300) .dwattr $C$DW$2, DW_AT_external .dwattr $C$DW$2, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$2, DW_AT_decl_line(0x389) .dwattr $C$DW$2, DW_AT_decl_column(0x18) .global ||pru_intc_map|| .sect ".data:pru_intc_map", RW .align 1 .elfsym ||pru_intc_map||,SYM_SIZE(4) ||pru_intc_map||: .bits 0x10,8 ; pru_intc_map[0].evt @ 0 .bits 0x2,8 ; pru_intc_map[0].ch @ 8 .bits 0x11,8 ; pru_intc_map[1].evt @ 16 .bits 0,8 ; pru_intc_map[1].ch @ 24 $C$DW$3 .dwtag DW_TAG_variable .dwattr $C$DW$3, DW_AT_name("pru_intc_map") .dwattr $C$DW$3, DW_AT_TI_symbol_name("pru_intc_map") .dwattr $C$DW$3, DW_AT_location[DW_OP_addr ||pru_intc_map||] .dwattr $C$DW$3, DW_AT_type(*$C$DW$T$345) .dwattr $C$DW$3, DW_AT_external .dwattr $C$DW$3, DW_AT_decl_file("resource_table_0.h") .dwattr $C$DW$3, DW_AT_decl_line(0x3c) .dwattr $C$DW$3, DW_AT_decl_column(0x0f) .global ||resourceTable|| .sect ".resource_table:retain", RW .retain .align 1 .elfsym ||resourceTable||,SYM_SIZE(124) ||resourceTable||: .bits 0x1,32 ; resourceTable.base.ver @ 0 .bits 0x2,32 ; resourceTable.base.num @ 32 .bits 0,32 ; resourceTable.base.reserved[0] @ 64 .bits 0,32 ; resourceTable.base.reserved[1] @ 96 .bits 0x18,32 ; resourceTable.offset[0] @ 128 .bits 0x5c,32 ; resourceTable.offset[1] @ 160 .bits 0x3,32 ; resourceTable.rpmsg_vdev.type @ 192 .bits 0x7,32 ; resourceTable.rpmsg_vdev.id @ 224 .bits 0,32 ; resourceTable.rpmsg_vdev.notifyid @ 256 .bits 0x1,32 ; resourceTable.rpmsg_vdev.dfeatures @ 288 .bits 0,32 ; resourceTable.rpmsg_vdev.gfeatures @ 320 .bits 0,32 ; resourceTable.rpmsg_vdev.config_len @ 352 .bits 0,8 ; resourceTable.rpmsg_vdev.status @ 384 .bits 0x2,8 ; resourceTable.rpmsg_vdev.num_of_vrings @ 392 .bits 0,8 ; resourceTable.rpmsg_vdev.reserved[0] @ 400 .bits 0,8 ; resourceTable.rpmsg_vdev.reserved[1] @ 408 .bits 0xffffffff,32 ; resourceTable.rpmsg_vring0.da @ 416 .bits 0x10,32 ; resourceTable.rpmsg_vring0.align @ 448 .bits 0x10,32 ; resourceTable.rpmsg_vring0.num @ 480 .bits 0,32 ; resourceTable.rpmsg_vring0.notifyid @ 512 .bits 0,32 ; resourceTable.rpmsg_vring0.reserved @ 544 .bits 0xffffffff,32 ; resourceTable.rpmsg_vring1.da @ 576 .bits 0x10,32 ; resourceTable.rpmsg_vring1.align @ 608 .bits 0x10,32 ; resourceTable.rpmsg_vring1.num @ 640 .bits 0,32 ; resourceTable.rpmsg_vring1.notifyid @ 672 .bits 0,32 ; resourceTable.rpmsg_vring1.reserved @ 704 .bits 0x5,32 ; resourceTable.pru_ints.type @ 736 .bits 0x1,32 ; resourceTable.pru_ints.u.sub_type @ 768 .bits 0x14,32 ; resourceTable.pru_ints.rsc_size @ 800 .bits 0,16 ; resourceTable.pru_ints.rsc.pru_ints.reserved @ 832 .bits 0,8 ; resourceTable.pru_ints.rsc.pru_ints.channel_host[0] @ 848 .bits 0xff,8 ; resourceTable.pru_ints.rsc.pru_ints.channel_host[1] @ 856 .bits 0x2,8 ; resourceTable.pru_ints.rsc.pru_ints.channel_host[2] @ 864 .bits 0xff,8 ; resourceTable.pru_ints.rsc.pru_ints.channel_host[3] @ 872 .bits 0xff,8 ; resourceTable.pru_ints.rsc.pru_ints.channel_host[4] @ 880 .bits 0xff,8 ; resourceTable.pru_ints.rsc.pru_ints.channel_host[5] @ 888 .bits 0xff,8 ; resourceTable.pru_ints.rsc.pru_ints.channel_host[6] @ 896 .bits 0xff,8 ; resourceTable.pru_ints.rsc.pru_ints.channel_host[7] @ 904 .bits 0xff,8 ; resourceTable.pru_ints.rsc.pru_ints.channel_host[8] @ 912 .bits 0xff,8 ; resourceTable.pru_ints.rsc.pru_ints.channel_host[9] @ 920 .bits 0x2,32 ; resourceTable.pru_ints.rsc.pru_ints.num_evts @ 928 .bits ||pru_intc_map||,32 ; resourceTable.pru_ints.rsc.pru_ints.event_channel @ 960 $C$DW$4 .dwtag DW_TAG_variable .dwattr $C$DW$4, DW_AT_name("resourceTable") .dwattr $C$DW$4, DW_AT_TI_symbol_name("resourceTable") .dwattr $C$DW$4, DW_AT_location[DW_OP_addr ||resourceTable||] .dwattr $C$DW$4, DW_AT_type(*$C$DW$T$277) .dwattr $C$DW$4, DW_AT_external .dwattr $C$DW$4, DW_AT_decl_file("resource_table_0.h") .dwattr $C$DW$4, DW_AT_decl_line(0x50) .dwattr $C$DW$4, DW_AT_decl_column(0x1a) .sect ".rodata" .align 1 .elfsym ||buffer_index||,SYM_SIZE(4) ||buffer_index||: .bits 0x10000,32 ; buffer_index @ 0 $C$DW$5 .dwtag DW_TAG_variable .dwattr $C$DW$5, DW_AT_name("buffer_index") .dwattr $C$DW$5, DW_AT_TI_symbol_name("buffer_index") .dwattr $C$DW$5, DW_AT_type(*$C$DW$T$321) .dwattr $C$DW$5, DW_AT_location[DW_OP_addr ||buffer_index||] .dwattr $C$DW$5, DW_AT_decl_file("../pru_common/shared_buffer.h") .dwattr $C$DW$5, DW_AT_decl_line(0x13) .dwattr $C$DW$5, DW_AT_decl_column(0x1a) .sect ".rodata" .align 1 .elfsym ||buffer||,SYM_SIZE(4) ||buffer||: .bits 0x10001,32 ; buffer @ 0 $C$DW$6 .dwtag DW_TAG_variable .dwattr $C$DW$6, DW_AT_name("buffer") .dwattr $C$DW$6, DW_AT_TI_symbol_name("buffer") .dwattr $C$DW$6, DW_AT_type(*$C$DW$T$307) .dwattr $C$DW$6, DW_AT_location[DW_OP_addr ||buffer||] .dwattr $C$DW$6, DW_AT_decl_file("../pru_common/shared_buffer.h") .dwattr $C$DW$6, DW_AT_decl_line(0x14) .dwattr $C$DW$6, DW_AT_decl_column(0x19) .global ||queue|| .common ||queue||,1952,1 $C$DW$7 .dwtag DW_TAG_variable .dwattr $C$DW$7, DW_AT_name("queue") .dwattr $C$DW$7, DW_AT_TI_symbol_name("queue") .dwattr $C$DW$7, DW_AT_location[DW_OP_addr ||queue||] .dwattr $C$DW$7, DW_AT_type(*$C$DW$T$308) .dwattr $C$DW$7, DW_AT_external .dwattr $C$DW$7, DW_AT_decl_file("pru0_mcp3208_rpmsg.c") .dwattr $C$DW$7, DW_AT_decl_line(0x2f) .dwattr $C$DW$7, DW_AT_decl_column(0x08) .global ||queue_head|| .common ||queue_head||,1,1 $C$DW$8 .dwtag DW_TAG_variable .dwattr $C$DW$8, DW_AT_name("queue_head") .dwattr $C$DW$8, DW_AT_TI_symbol_name("queue_head") .dwattr $C$DW$8, DW_AT_location[DW_OP_addr ||queue_head||] .dwattr $C$DW$8, DW_AT_type(*$C$DW$T$266) .dwattr $C$DW$8, DW_AT_external .dwattr $C$DW$8, DW_AT_decl_file("pru0_mcp3208_rpmsg.c") .dwattr $C$DW$8, DW_AT_decl_line(0x30) .dwattr $C$DW$8, DW_AT_decl_column(0x09) .global ||queue_size|| .common ||queue_size||,1,1 $C$DW$9 .dwtag DW_TAG_variable .dwattr $C$DW$9, DW_AT_name("queue_size") .dwattr $C$DW$9, DW_AT_TI_symbol_name("queue_size") .dwattr $C$DW$9, DW_AT_location[DW_OP_addr ||queue_size||] .dwattr $C$DW$9, DW_AT_type(*$C$DW$T$266) .dwattr $C$DW$9, DW_AT_external .dwattr $C$DW$9, DW_AT_decl_file("pru0_mcp3208_rpmsg.c") .dwattr $C$DW$9, DW_AT_decl_line(0x31) .dwattr $C$DW$9, DW_AT_decl_column(0x09) .global ||in_payload|| .common ||in_payload||,496,1 $C$DW$10 .dwtag DW_TAG_variable .dwattr $C$DW$10, DW_AT_name("in_payload") .dwattr $C$DW$10, DW_AT_TI_symbol_name("in_payload") .dwattr $C$DW$10, DW_AT_location[DW_OP_addr ||in_payload||] .dwattr $C$DW$10, DW_AT_type(*$C$DW$T$318) .dwattr $C$DW$10, DW_AT_external .dwattr $C$DW$10, DW_AT_decl_file("pru0_mcp3208_rpmsg.c") .dwattr $C$DW$10, DW_AT_decl_line(0x34) .dwattr $C$DW$10, DW_AT_decl_column(0x09) $C$DW$11 .dwtag DW_TAG_subprogram .dwattr $C$DW$11, DW_AT_name("pru_rpmsg_init") .dwattr $C$DW$11, DW_AT_TI_symbol_name("pru_rpmsg_init") .dwattr $C$DW$11, DW_AT_type(*$C$DW$T$337) .dwattr $C$DW$11, DW_AT_declaration .dwattr $C$DW$11, DW_AT_external .dwattr $C$DW$11, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_rpmsg.h") .dwattr $C$DW$11, DW_AT_decl_line(0x90) .dwattr $C$DW$11, DW_AT_decl_column(0x09) $C$DW$12 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$12, DW_AT_type(*$C$DW$T$322) $C$DW$13 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$13, DW_AT_type(*$C$DW$T$323) $C$DW$14 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$14, DW_AT_type(*$C$DW$T$323) $C$DW$15 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$15, DW_AT_type(*$C$DW$T$32) $C$DW$16 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$16, DW_AT_type(*$C$DW$T$32) .dwendtag $C$DW$11 $C$DW$17 .dwtag DW_TAG_subprogram .dwattr $C$DW$17, DW_AT_name("pru_rpmsg_channel") .dwattr $C$DW$17, DW_AT_TI_symbol_name("pru_rpmsg_channel") .dwattr $C$DW$17, DW_AT_type(*$C$DW$T$337) .dwattr $C$DW$17, DW_AT_declaration .dwattr $C$DW$17, DW_AT_external .dwattr $C$DW$17, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_rpmsg.h") .dwattr $C$DW$17, DW_AT_decl_line(0x108) .dwattr $C$DW$17, DW_AT_decl_column(0x09) $C$DW$18 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$18, DW_AT_type(*$C$DW$T$326) $C$DW$19 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$19, DW_AT_type(*$C$DW$T$322) $C$DW$20 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$20, DW_AT_type(*$C$DW$T$328) $C$DW$21 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$21, DW_AT_type(*$C$DW$T$328) $C$DW$22 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$22, DW_AT_type(*$C$DW$T$329) .dwendtag $C$DW$17 $C$DW$23 .dwtag DW_TAG_subprogram .dwattr $C$DW$23, DW_AT_name("pru_rpmsg_receive") .dwattr $C$DW$23, DW_AT_TI_symbol_name("pru_rpmsg_receive") .dwattr $C$DW$23, DW_AT_type(*$C$DW$T$337) .dwattr $C$DW$23, DW_AT_declaration .dwattr $C$DW$23, DW_AT_external .dwattr $C$DW$23, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_rpmsg.h") .dwattr $C$DW$23, DW_AT_decl_line(0xb6) .dwattr $C$DW$23, DW_AT_decl_column(0x09) $C$DW$24 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$24, DW_AT_type(*$C$DW$T$322) $C$DW$25 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$25, DW_AT_type(*$C$DW$T$332) $C$DW$26 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$26, DW_AT_type(*$C$DW$T$332) $C$DW$27 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$27, DW_AT_type(*$C$DW$T$3) $C$DW$28 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$28, DW_AT_type(*$C$DW$T$332) .dwendtag $C$DW$23 $C$DW$29 .dwtag DW_TAG_subprogram .dwattr $C$DW$29, DW_AT_name("pru_rpmsg_send") .dwattr $C$DW$29, DW_AT_TI_symbol_name("pru_rpmsg_send") .dwattr $C$DW$29, DW_AT_type(*$C$DW$T$337) .dwattr $C$DW$29, DW_AT_declaration .dwattr $C$DW$29, DW_AT_external .dwattr $C$DW$29, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_rpmsg.h") .dwattr $C$DW$29, DW_AT_decl_line(0xdc) .dwattr $C$DW$29, DW_AT_decl_column(0x09) $C$DW$30 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$30, DW_AT_type(*$C$DW$T$322) $C$DW$31 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$31, DW_AT_type(*$C$DW$T$32) $C$DW$32 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$32, DW_AT_type(*$C$DW$T$32) $C$DW$33 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$33, DW_AT_type(*$C$DW$T$3) $C$DW$34 .dwtag DW_TAG_formal_parameter .dwattr $C$DW$34, DW_AT_type(*$C$DW$T$107) .dwendtag $C$DW$29 ; /usr/share/ti/cgt-pru/bin/optpru /tmp/TI1DqSWvGdt /tmp/TI1Dqg5RMfM ; /usr/share/ti/cgt-pru/bin/acpiapru -@/tmp/TI1DqopKdap .sect ".text:main" .clink .global ||main|| $C$DW$35 .dwtag DW_TAG_subprogram .dwattr $C$DW$35, DW_AT_name("main") .dwattr $C$DW$35, DW_AT_low_pc(||main||) .dwattr $C$DW$35, DW_AT_high_pc(0x00) .dwattr $C$DW$35, DW_AT_TI_symbol_name("main") .dwattr $C$DW$35, DW_AT_external .dwattr $C$DW$35, DW_AT_TI_begin_file("pru0_mcp3208_rpmsg.c") .dwattr $C$DW$35, DW_AT_TI_begin_line(0x36) .dwattr $C$DW$35, DW_AT_TI_begin_column(0x06) .dwattr $C$DW$35, DW_AT_decl_file("pru0_mcp3208_rpmsg.c") .dwattr $C$DW$35, DW_AT_decl_line(0x36) .dwattr $C$DW$35, DW_AT_decl_column(0x06) .dwattr $C$DW$35, DW_AT_TI_max_frame_size(0x5d) .dwpsn file "pru0_mcp3208_rpmsg.c",line 54,column 17,is_stmt,address ||main||,isa 0 .dwfde $C$DW$CIE, ||main|| ;---------------------------------------------------------------------- ; 54 | void main(void) { ; 55 | struct pru_rpmsg_transport transport; ; 56 | uint16_t src, dst, len; ; 57 | volatile uint8_t *status; ;---------------------------------------------------------------------- ;*************************************************************** ;* FNAME: main FR SIZE: 93 * ;* * ;* FUNCTION ENVIRONMENT * ;* * ;* FUNCTION PROPERTIES * ;* 66 Auto, 27 SOE * ;*************************************************************** ||main||: ;* --------------------------------------------------------------------------* $C$DW$36 .dwtag DW_TAG_variable .dwattr $C$DW$36, DW_AT_name("transport") .dwattr $C$DW$36, DW_AT_TI_symbol_name("transport") .dwattr $C$DW$36, DW_AT_type(*$C$DW$T$278) .dwattr $C$DW$36, DW_AT_location[DW_OP_breg8 0] $C$DW$37 .dwtag DW_TAG_variable .dwattr $C$DW$37, DW_AT_name("src") .dwattr $C$DW$37, DW_AT_TI_symbol_name("src") .dwattr $C$DW$37, DW_AT_type(*$C$DW$T$107) .dwattr $C$DW$37, DW_AT_location[DW_OP_breg8 60] $C$DW$38 .dwtag DW_TAG_variable .dwattr $C$DW$38, DW_AT_name("dst") .dwattr $C$DW$38, DW_AT_TI_symbol_name("dst") .dwattr $C$DW$38, DW_AT_type(*$C$DW$T$107) .dwattr $C$DW$38, DW_AT_location[DW_OP_breg8 62] $C$DW$39 .dwtag DW_TAG_variable .dwattr $C$DW$39, DW_AT_name("len") .dwattr $C$DW$39, DW_AT_TI_symbol_name("len") .dwattr $C$DW$39, DW_AT_type(*$C$DW$T$107) .dwattr $C$DW$39, DW_AT_location[DW_OP_breg8 64] ;* r0_0 assigned to $O$C3 $C$DW$40 .dwtag DW_TAG_variable .dwattr $C$DW$40, DW_AT_name("$O$C3") .dwattr $C$DW$40, DW_AT_TI_symbol_name("$O$C3") .dwattr $C$DW$40, DW_AT_type(*$C$DW$T$344) .dwattr $C$DW$40, DW_AT_location[DW_OP_reg0] ;* r6_0 assigned to $O$C4 $C$DW$41 .dwtag DW_TAG_variable .dwattr $C$DW$41, DW_AT_name("$O$C4") .dwattr $C$DW$41, DW_AT_TI_symbol_name("$O$C4") .dwattr $C$DW$41, DW_AT_type(*$C$DW$T$6) .dwattr $C$DW$41, DW_AT_location[DW_OP_reg24] ;* r4_0 assigned to $O$C5 $C$DW$42 .dwtag DW_TAG_variable .dwattr $C$DW$42, DW_AT_name("$O$C5") .dwattr $C$DW$42, DW_AT_TI_symbol_name("$O$C5") .dwattr $C$DW$42, DW_AT_type(*$C$DW$T$317) .dwattr $C$DW$42, DW_AT_location[DW_OP_reg16] ;* r0_0 assigned to $O$C6 $C$DW$43 .dwtag DW_TAG_variable .dwattr $C$DW$43, DW_AT_name("$O$C6") .dwattr $C$DW$43, DW_AT_TI_symbol_name("$O$C6") .dwattr $C$DW$43, DW_AT_type(*$C$DW$T$344) .dwattr $C$DW$43, DW_AT_location[DW_OP_reg0] ;* r14_0 assigned to $O$T7 $C$DW$44 .dwtag DW_TAG_variable .dwattr $C$DW$44, DW_AT_name("$O$T7") .dwattr $C$DW$44, DW_AT_TI_symbol_name("$O$T7") .dwattr $C$DW$44, DW_AT_type(*$C$DW$T$3) .dwattr $C$DW$44, DW_AT_location[DW_OP_regx 0x38] ;* r0_0 assigned to $O$K12 $C$DW$45 .dwtag DW_TAG_variable .dwattr $C$DW$45, DW_AT_name("$O$K12") .dwattr $C$DW$45, DW_AT_TI_symbol_name("$O$K12") .dwattr $C$DW$45, DW_AT_type(*$C$DW$T$317) .dwattr $C$DW$45, DW_AT_location[DW_OP_reg0] ;* r10_0 assigned to $O$K37 $C$DW$46 .dwtag DW_TAG_variable .dwattr $C$DW$46, DW_AT_name("$O$K37") .dwattr $C$DW$46, DW_AT_TI_symbol_name("$O$K37") .dwattr $C$DW$46, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$46, DW_AT_location[DW_OP_regx 0x28] ;* r9_0 assigned to $O$K4 $C$DW$47 .dwtag DW_TAG_variable .dwattr $C$DW$47, DW_AT_name("$O$K4") .dwattr $C$DW$47, DW_AT_TI_symbol_name("$O$K4") .dwattr $C$DW$47, DW_AT_type(*$C$DW$T$298) .dwattr $C$DW$47, DW_AT_location[DW_OP_regx 0x24] ;* r8_0 assigned to $O$K58 $C$DW$48 .dwtag DW_TAG_variable .dwattr $C$DW$48, DW_AT_name("$O$K58") .dwattr $C$DW$48, DW_AT_TI_symbol_name("$O$K58") .dwattr $C$DW$48, DW_AT_type(*$C$DW$T$310) .dwattr $C$DW$48, DW_AT_location[DW_OP_regx 0x20] ;* r7_0 assigned to $O$K50 $C$DW$49 .dwtag DW_TAG_variable .dwattr $C$DW$49, DW_AT_name("$O$K50") .dwattr $C$DW$49, DW_AT_TI_symbol_name("$O$K50") .dwattr $C$DW$49, DW_AT_type(*$C$DW$T$317) .dwattr $C$DW$49, DW_AT_location[DW_OP_reg28] ;* r4_0 assigned to $O$K31 $C$DW$50 .dwtag DW_TAG_variable .dwattr $C$DW$50, DW_AT_name("$O$K31") .dwattr $C$DW$50, DW_AT_TI_symbol_name("$O$K31") .dwattr $C$DW$50, DW_AT_type(*$C$DW$T$317) .dwattr $C$DW$50, DW_AT_location[DW_OP_reg16] ;* r6_0 assigned to $O$U51 $C$DW$51 .dwtag DW_TAG_variable .dwattr $C$DW$51, DW_AT_name("$O$U51") .dwattr $C$DW$51, DW_AT_TI_symbol_name("$O$U51") .dwattr $C$DW$51, DW_AT_type(*$C$DW$T$6) .dwattr $C$DW$51, DW_AT_location[DW_OP_reg24] ;* r0_0 assigned to $O$T1 $C$DW$52 .dwtag DW_TAG_variable .dwattr $C$DW$52, DW_AT_name("$O$T1") .dwattr $C$DW$52, DW_AT_TI_symbol_name("$O$T1") .dwattr $C$DW$52, DW_AT_type(*$C$DW$T$10) .dwattr $C$DW$52, DW_AT_location[DW_OP_reg0] ;* r1_0 assigned to $O$v2 $C$DW$53 .dwtag DW_TAG_variable .dwattr $C$DW$53, DW_AT_name("$O$v2") .dwattr $C$DW$53, DW_AT_TI_symbol_name("$O$v2") .dwattr $C$DW$53, DW_AT_type(*$C$DW$T$10) .dwattr $C$DW$53, DW_AT_location[DW_OP_reg4] ;* r1_0 assigned to $O$v1 $C$DW$54 .dwtag DW_TAG_variable .dwattr $C$DW$54, DW_AT_name("$O$v1") .dwattr $C$DW$54, DW_AT_TI_symbol_name("$O$v1") .dwattr $C$DW$54, DW_AT_type(*$C$DW$T$10) .dwattr $C$DW$54, DW_AT_location[DW_OP_reg4] ;* r0_0 assigned to completed_buffer_index $C$DW$55 .dwtag DW_TAG_variable .dwattr $C$DW$55, DW_AT_name("completed_buffer_index") .dwattr $C$DW$55, DW_AT_TI_symbol_name("completed_buffer_index") .dwattr $C$DW$55, DW_AT_type(*$C$DW$T$266) .dwattr $C$DW$55, DW_AT_location[DW_OP_reg0] ;* r14_0 assigned to status $C$DW$56 .dwtag DW_TAG_variable .dwattr $C$DW$56, DW_AT_name("status") .dwattr $C$DW$56, DW_AT_TI_symbol_name("status") .dwattr $C$DW$56, DW_AT_type(*$C$DW$T$337) .dwattr $C$DW$56, DW_AT_location[DW_OP_regx 0x38] .dwcfi cfa_offset, 0 ;*** 63 ----------------------- *(&CT_CFG+4) &= 0xffffffefu; ;*** 66 ----------------------- C$6 = &CT_INTC+36; ;*** 66 ----------------------- *C$6 = *C$6&0xfffffc00u|0x11u; ;*** ----------------------- #pragma LOOP_FLAGS(4096u) ;*** ----------------------- K$12 = &resourceTable; SUB r2, r2, 0x5d ; [ALU_PRU] .dwcfi cfa_offset, 93 .dwpsn file "pru0_mcp3208_rpmsg.c",line 63,column 3,is_stmt,isa 0 ;---------------------------------------------------------------------- ; 63 | CT_CFG.SYSCFG_bit.STANDBY_INIT = 0; ;---------------------------------------------------------------------- LBCO &r0, __PRU_CREG_PRU_CFG, $CSBREL(||CT_CFG||+4), 4 ; [ALU_PRU] |63| CT_CFG SBBO &r3.b2, r2, 66, 11 ; [ALU_PRU] .dwcfi save_reg_to_mem, 14, -27 .dwcfi save_reg_to_mem, 15, -26 .dwcfi save_reg_to_mem, 16, -25 .dwcfi save_reg_to_mem, 17, -24 .dwcfi save_reg_to_mem, 18, -23 .dwcfi save_reg_to_mem, 19, -22 .dwcfi save_reg_to_mem, 20, -21 .dwcfi save_reg_to_mem, 21, -20 .dwcfi save_reg_to_mem, 22, -19 .dwcfi save_reg_to_mem, 23, -18 .dwcfi save_reg_to_mem, 24, -17 .dwpsn file "pru0_mcp3208_rpmsg.c",line 66,column 3,is_stmt,isa 0 ;---------------------------------------------------------------------- ; 66 | CT_INTC.SICR_bit.STS_CLR_IDX = FROM_ARM_HOST; ;---------------------------------------------------------------------- LDI32 r5, 0xfffffc00 ; [ALU_PRU] |66| .dwpsn file "pru0_mcp3208_rpmsg.c",line 63,column 3,is_stmt,isa 0 CLR r0, r0, 0x00000004 ; [ALU_PRU] |63| SBBO &r7.b0, r2, 77, 16 ; [ALU_PRU] .dwcfi save_reg_to_mem, 28, -16 .dwcfi save_reg_to_mem, 29, -15 .dwcfi save_reg_to_mem, 30, -14 .dwcfi save_reg_to_mem, 31, -13 .dwcfi save_reg_to_mem, 32, -12 .dwcfi save_reg_to_mem, 33, -11 .dwcfi save_reg_to_mem, 34, -10 .dwcfi save_reg_to_mem, 35, -9 .dwcfi save_reg_to_mem, 36, -8 .dwcfi save_reg_to_mem, 37, -7 .dwcfi save_reg_to_mem, 38, -6 .dwcfi save_reg_to_mem, 39, -5 .dwcfi save_reg_to_mem, 40, -4 .dwcfi save_reg_to_mem, 41, -3 .dwcfi save_reg_to_mem, 42, -2 .dwcfi save_reg_to_mem, 43, -1 SBCO &r0, __PRU_CREG_PRU_CFG, $CSBREL(||CT_CFG||+4), 4 ; [ALU_PRU] |63| CT_CFG .dwpsn file "pru0_mcp3208_rpmsg.c",line 66,column 3,is_stmt,isa 0 ;---------------------------------------------------------------------- ; 69 | status = &resourceTable.rpmsg_vdev.status; ;---------------------------------------------------------------------- LDI32 r0, ||CT_INTC||+36 ; [ALU_PRU] |66| $O$C6,CT_INTC LBBO &r1, r0, 0, 4 ; [ALU_PRU] |66| $O$C6 AND r1, r1, r5 ; [ALU_PRU] |66| OR r1, r1, 0x11 ; [ALU_PRU] |66| SBBO &r1, r0, 0, 4 ; [ALU_PRU] |66| $O$C6 LDI r0, ||resourceTable|| ; [ALU_PRU] $O$K12,resourceTable ;* --------------------------------------------------------------------------* ;* BEGIN LOOP ||$C$L1|| ;* ;* Loop source line : 70 ;* Loop closing brace source line : 70 ;* Known Minimum Trip Count : 1 ;* Known Maximum Trip Count : 4294967295 ;* Known Max Trip Count Factor : 1 ;* --------------------------------------------------------------------------* ||$C$L1||: ;*** -----------------------g2: ;*** 70 ----------------------- if ( !(K$12[48]&4) ) goto g2; .dwpsn file "pru0_mcp3208_rpmsg.c",line 70,column 10,is_stmt,isa 0 ;---------------------------------------------------------------------- ; 70 | while (!(*status & VIRTIO_CONFIG_S_DRIVER_OK)); ;---------------------------------------------------------------------- LBBO &r1.b0, r0, 48, 1 ; [ALU_PRU] |70| $O$K12 QBBC ||$C$L1||, r1.b0, 0x02 ; [ALU_PRU] |70| ;* --------------------------------------------------------------------------* ;*** 73 ----------------------- pru_rpmsg_init(&transport, (struct fw_rsc_vdev_vring *)K$12+52, (struct fw_rsc_vdev_vring *)K$12+72, 16u, 17u); ;*** ----------------------- #pragma LOOP_FLAGS(5120u) .dwpsn file "pru0_mcp3208_rpmsg.c",line 73,column 3,is_stmt,isa 0 ;---------------------------------------------------------------------- ; 73 | pru_rpmsg_init(&transport, &resourceTable.rpmsg_vring0, ; 74 | &resourceTable.rpmsg_vring1, TO_ARM_HOST, FROM_ARM_HOST) ; | ; ;---------------------------------------------------------------------- ADD r15, r0, 0x34 ; [ALU_PRU] |73| $O$K12 ADD r14, r2, 0 ; [ALU_PRU] |73| transport,transport LDI r17, 0x0010 ; [ALU_PRU] |73| LDI r18, 0x0011 ; [ALU_PRU] |73| ADD r16, r0, 0x48 ; [ALU_PRU] |73| $O$K12 $C$DW$57 .dwtag DW_TAG_TI_branch .dwattr $C$DW$57, DW_AT_low_pc(0x00) .dwattr $C$DW$57, DW_AT_name("pru_rpmsg_init") .dwattr $C$DW$57, DW_AT_TI_call JAL r3.w2, ||pru_rpmsg_init|| ; [ALU_PRU] |73| pru_rpmsg_init ;* --------------------------------------------------------------------------* ;* BEGIN LOOP ||$C$L2|| ;* ;* Loop source line : 78 ;* Loop closing brace source line : 79 ;* Known Minimum Trip Count : 1 ;* Known Maximum Trip Count : 4294967295 ;* Known Max Trip Count Factor : 1 ;* --------------------------------------------------------------------------* ||$C$L2||: ;*** -----------------------g4: ;*** 78 ----------------------- if ( pru_rpmsg_channel(0u, &transport, "rpmsg-pru", "Channel 1", 1) ) goto g4; .dwpsn file "pru0_mcp3208_rpmsg.c",line 78,column 10,is_stmt,isa 0 ;---------------------------------------------------------------------- ; 78 | while (pru_rpmsg_channel(RPMSG_NS_CREATE, &transport, CHAN_NAME, ; 79 | CHAN_DESC, CHAN_PORT) != PRU_RPMSG_SUCCESS); ; 81 | for (;;) { ; 82 | // Check for new data from PRU1 ; 83 | if (__R31 & HOST1_INT) { ; 84 | // Clear the event status ; 85 | CT_INTC.SICR = PRU0_PRU1_EVT; ; 87 | uint8_t completed_buffer_index = *buffer_index ? 0 : 1; ; 88 | void *completed_buffer = buffer + completed_buffer_index; ; 90 | uint8_t queue_tail = (queue_head + queue_size) % MAX_QUEUE_SIZE; ; 91 | memcpy(queue + queue_tail, completed_buffer, sizeof(Buffer)); ; 92 | if (queue_size < MAX_QUEUE_SIZE) ; 93 | queue_size++; ; 94 | else ; 95 | queue_head = (queue_head + 1) % MAX_QUEUE_SIZE; ; 98 | // Check for a data request from the ARM host, and if it can be fulfi ; | lled ; 99 | if (__R31 & HOST0_INT && queue_size) { ; 100 | // Get the message ; 101 | int16_t status; ; 102 | status = pru_rpmsg_receive(&transport, &src, &dst, in_payload, &len ; | ); ; 104 | // If there are no more messages, then clear the interrupt event st ; | atus ; 105 | if (status == PRU_RPMSG_NO_BUF_AVAILABLE) ; 106 | CT_INTC.SICR_bit.STS_CLR_IDX = FROM_ARM_HOST; ; 108 | // If a message was received, then send the data from the queue ; 109 | if (status == PRU_RPMSG_SUCCESS) { ; 110 | // Send the data back ; 111 | void *out_buffer = queue + queue_head; ;---------------------------------------------------------------------- LDI r14.b0, 0x00 ; [ALU_PRU] |78| ADD r15, r2, 0 ; [ALU_PRU] |78| transport,transport LDI32 r16, $C$SL1 ; [ALU_PRU] |78| LDI32 r17, $C$SL2 ; [ALU_PRU] |78| LDI r18, 0x0001 ; [ALU_PRU] |78| $C$DW$58 .dwtag DW_TAG_TI_branch .dwattr $C$DW$58, DW_AT_low_pc(0x00) .dwattr $C$DW$58, DW_AT_name("pru_rpmsg_channel") .dwattr $C$DW$58, DW_AT_TI_call JAL r3.w2, ||pru_rpmsg_channel|| ; [ALU_PRU] |78| pru_rpmsg_channel QBNE ||$C$L2||, r14.w0, 0x00 ; [ALU_PRU] |78| ;* --------------------------------------------------------------------------* ;*** ----------------------- v$2 = (int)*(C$5 = &queue_size); ;*** ----------------------- #pragma LOOP_FLAGS(5120u) ;*** ----------------------- K$37 = 20u; ;*** ----------------------- K$58 = &queue[0]; ;*** ----------------------- K$50 = &queue_head; ;*** ----------------------- K$31 = C$5; ;*** 66 ----------------------- K$4 = &CT_INTC; ;*** ----------------------- goto g7; LDI r4, ||queue_size|| ; [ALU_PRU] $O$C5,queue_size LDI r10, 0x0014 ; [ALU_PRU] $O$K37 LDI r8, ||queue|| ; [ALU_PRU] $O$K58,queue LDI r7, ||queue_head|| ; [ALU_PRU] $O$K50,queue_head .dwpsn file "pru0_mcp3208_rpmsg.c",line 66,column 3,is_stmt,isa 0 LDI32 r9, ||CT_INTC|| ; [ALU_PRU] |66| $O$K4,CT_INTC LBBO &r0.b0, r4, 0, 1 ; [ALU_PRU] $O$C5 MOV r1, r0.b0 ; [ALU_PRU] $O$v2 JMP ||$C$L5|| ; [ALU_PRU] ;* --------------------------------------------------------------------------* ||$C$L3||: ;*** -----------------------g6: ;*** 112 ----------------------- pru_rpmsg_send(&transport, (unsigned)dst, (unsigned)src, *K$50*488+K$58, 488u); ;*** 115 ----------------------- T$1 = *K$31-1; ;*** 115 ----------------------- *K$31 = T$1; ;*** 115 ----------------------- v$2 = (unsigned char)T$1; ;*** 116 ----------------------- *K$50 = *K$50+1&3; .dwpsn file "pru0_mcp3208_rpmsg.c",line 112,column 9,is_stmt,isa 0 ;---------------------------------------------------------------------- ; 112 | pru_rpmsg_send(&transport, dst, src, out_buffer, sizeof(Buffer)); ; 114 | // Update the queue ;---------------------------------------------------------------------- LBBO &r0.w0, r2, 62, 2 ; [ALU_PRU] |112| dst MOV r15, r0.w0 ; [ALU_PRU] |112| LDI r28, 0x01e8 ; [ALU_PRU] |112| ADD r14, r2, 0 ; [ALU_PRU] |112| transport,transport LBBO &r0.w0, r2, 60, 2 ; [ALU_PRU] |112| src MOV r16, r0.w0 ; [ALU_PRU] |112| LBBO &r0.b0, r7, 0, 1 ; [ALU_PRU] |112| $O$K50 MOV r29, r0.b0 ; [ALU_PRU] |112| LDI r18.w0, 0x01e8 ; [ALU_PRU] |112| XIN 0, &r26, 4 ; [ALU_PRU] |112| ADD r17, r26, r8 ; [ALU_PRU] |112| $O$K58 $C$DW$59 .dwtag DW_TAG_TI_branch .dwattr $C$DW$59, DW_AT_low_pc(0x00) .dwattr $C$DW$59, DW_AT_name("pru_rpmsg_send") .dwattr $C$DW$59, DW_AT_TI_call JAL r3.w2, ||pru_rpmsg_send|| ; [ALU_PRU] |112| pru_rpmsg_send .dwpsn file "pru0_mcp3208_rpmsg.c",line 115,column 9,is_stmt,isa 0 ;---------------------------------------------------------------------- ; 115 | queue_size--; ;---------------------------------------------------------------------- LBBO &r0.b0, r4, 0, 1 ; [ALU_PRU] |115| $O$K31 SUB r0, r0.b0, 0x01 ; [ALU_PRU] |115| $O$T1 SBBO &r0.b0, r4, 0, 1 ; [ALU_PRU] |115| $O$K31,$O$T1 .dwpsn file "pru0_mcp3208_rpmsg.c",line 116,column 9,is_stmt,isa 0 ;---------------------------------------------------------------------- ; 116 | queue_head = (queue_head + 1) % MAX_QUEUE_SIZE; ;---------------------------------------------------------------------- LBBO &r0.b1, r7, 0, 1 ; [ALU_PRU] |116| $O$K50 ADD r0.b1, r0.b1, 0x01 ; [ALU_PRU] |116| AND r0.b1, r0.b1, 0x03 ; [ALU_PRU] |116| SBBO &r0.b1, r7, 0, 1 ; [ALU_PRU] |116| $O$K50 ;* --------------------------------------------------------------------------* ||$C$L4||: .dwpsn file "pru0_mcp3208_rpmsg.c",line 115,column 9,is_stmt,isa 0 MOV r1, r0.b0 ; [ALU_PRU] |115| $O$v2,$O$T1 ;* --------------------------------------------------------------------------* ;* BEGIN LOOP ||$C$L5|| ;* --------------------------------------------------------------------------* ||$C$L5||: ;*** -----------------------g7: ;*** -----------------------g7: ;*** 83 ----------------------- if ( !(__R31&0x80000000u) ) goto g11; .dwpsn file "pru0_mcp3208_rpmsg.c",line 83,column 5,is_stmt,isa 0 QBBC ||$C$L8||, r31, 0x1f ; [ALU_PRU] |83| ;* --------------------------------------------------------------------------* ;*** 85 ----------------------- (*K$4).$P$T18.SICR = K$37; ;*** 87 ----------------------- completed_buffer_index = *(volatile unsigned char * const)0x10000u == 0; .dwpsn file "pru0_mcp3208_rpmsg.c",line 85,column 7,is_stmt,isa 0 SBBO &r10, r9, 36, 4 ; [ALU_PRU] |85| $O$K4,$O$K37 .dwpsn file "pru0_mcp3208_rpmsg.c",line 87,column 38,is_stmt,isa 0 LDI32 r14, 0x00010000 ; [ALU_PRU] |87| LDI r0.b0, 0x00 ; [ALU_PRU] |87| LBBO &r0.b1, r14, 0, 1 ; [ALU_PRU] |87| QBNE ||$C$L6||, r0.b1, 0x00 ; [ALU_PRU] |87| ;* --------------------------------------------------------------------------* LDI r0.b0, 0x01 ; [ALU_PRU] |87| ;* --------------------------------------------------------------------------* ||$C$L6||: ;*** 91 ----------------------- U$51 = C$4 = *K$50; ;*** 91 ----------------------- T$7 = (C$4+v$2&3)*488+K$58; ;*** 91 ----------------------- *T$7 = *(completed_buffer_index*488+(volatile struct $$fake79 * const)0x10001u); ;*** 92 ----------------------- v$2 = (int)*K$31; ;*** 92 ----------------------- if ( (v$1 = v$2) < 4 ) goto g10; .dwpsn file "pru0_mcp3208_rpmsg.c",line 91,column 7,is_stmt,isa 0 LBBO &r6.b0, r7, 0, 1 ; [ALU_PRU] |91| $O$C4,$O$K50 LDI r28, 0x01e8 ; [ALU_PRU] |91| ADD r1, r6.b0, r1 ; [ALU_PRU] |91| $O$C4,$O$v2 LDI32 r15, 0x00010001 ; [ALU_PRU] |91| AND r29, r1, 0x03 ; [ALU_PRU] |91| MOV r16, r28 ; [ALU_PRU] |91| XIN 0, &r26, 4 ; [ALU_PRU] |91| MOV r29, r0.b0 ; [ALU_PRU] |91| completed_buffer_index ADD r14, r26, r8 ; [ALU_PRU] |91| $O$T7,$O$K58 XIN 0, &r26, 4 ; [ALU_PRU] |91| ADD r15, r15, r26 ; [ALU_PRU] |91| $C$DW$60 .dwtag DW_TAG_TI_branch .dwattr $C$DW$60, DW_AT_low_pc(0x00) .dwattr $C$DW$60, DW_AT_name("memcpy") .dwattr $C$DW$60, DW_AT_TI_call JAL r3.w2, ||memcpy|| ; [ALU_PRU] |91| memcpy .dwpsn file "pru0_mcp3208_rpmsg.c",line 92,column 7,is_stmt,isa 0 LBBO &r0.b0, r4, 0, 1 ; [ALU_PRU] |92| $O$K31 LDI32 r14, 0x80000004 ; [ALU_PRU] |92| MOV r1, r0.b0 ; [ALU_PRU] |92| $O$v2 MOV r0, r1 ; [ALU_PRU] |92| $O$v1 XOR r0.b3, r0.b3, 0x80 ; [ALU_PRU] |92| QBLT ||$C$L7||, r14, r0 ; [ALU_PRU] |92| ;* --------------------------------------------------------------------------* ;*** 95 ----------------------- *K$50 = U$51+1&3; ;*** 95 ----------------------- goto g11; .dwpsn file "pru0_mcp3208_rpmsg.c",line 95,column 9,is_stmt,isa 0 ADD r0.b0, r6.b0, 0x01 ; [ALU_PRU] |95| $O$U51 AND r0.b0, r0.b0, 0x03 ; [ALU_PRU] |95| SBBO &r0.b0, r7, 0, 1 ; [ALU_PRU] |95| $O$K50 JMP ||$C$L8|| ; [ALU_PRU] |95| ;* --------------------------------------------------------------------------* ||$C$L7||: ;*** -----------------------g10: ;*** 93 ----------------------- v$1 = (unsigned char)(v$1+1); ;*** 93 ----------------------- v$2 = v$1; ;*** 93 ----------------------- *K$31 = v$2; .dwpsn file "pru0_mcp3208_rpmsg.c",line 93,column 9,is_stmt,isa 0 ADD r0.b0, r1.b0, 0x01 ; [ALU_PRU] |93| $O$v1 MOV r1, r0.b0 ; [ALU_PRU] |93| $O$v1 SBBO &r1.b0, r4, 0, 1 ; [ALU_PRU] |93| $O$K31,$O$v2 ;* --------------------------------------------------------------------------* ||$C$L8||: ;*** -----------------------g11: ;*** 99 ----------------------- if ( !(__R31&0x40000000 && v$2) ) goto g7; .dwpsn file "pru0_mcp3208_rpmsg.c",line 99,column 5,is_stmt,isa 0 QBBC ||$C$L5||, r31, 0x1e ; [ALU_PRU] |99| ;* --------------------------------------------------------------------------* QBEQ ||$C$L5||, r1, 0x00 ; [ALU_PRU] |99| $O$v2 ;* --------------------------------------------------------------------------* ;*** 102 ----------------------- if ( (status = pru_rpmsg_receive(&transport, &src, &dst, &in_payload, &len)) != (-1) ) goto g14; .dwpsn file "pru0_mcp3208_rpmsg.c",line 102,column 7,is_stmt,isa 0 ADD r14, r2, 0 ; [ALU_PRU] |102| transport,transport ADD r15, r2, 60 ; [ALU_PRU] |102| src,src ADD r16, r2, 62 ; [ALU_PRU] |102| dst,dst LDI r17, ||in_payload|| ; [ALU_PRU] |102| in_payload ADD r18, r2, 64 ; [ALU_PRU] |102| len,len $C$DW$61 .dwtag DW_TAG_TI_branch .dwattr $C$DW$61, DW_AT_low_pc(0x00) .dwattr $C$DW$61, DW_AT_name("pru_rpmsg_receive") .dwattr $C$DW$61, DW_AT_TI_call JAL r3.w2, ||pru_rpmsg_receive|| ; [ALU_PRU] |102| pru_rpmsg_receive LDI r0.w0, 0xffff ; [ALU_PRU] |102| QBNE ||$C$L9||, r0.w0, r14.w0 ; [ALU_PRU] |102| status ;* --------------------------------------------------------------------------* ;*** 106 ----------------------- C$3 = (volatile struct $$fake19 *)K$4+36; ;*** 106 ----------------------- *C$3 = *C$3&0xfffffc00u|0x11u; .dwpsn file "pru0_mcp3208_rpmsg.c",line 106,column 9,is_stmt,isa 0 ADD r0, r9, 0x24 ; [ALU_PRU] |106| $O$C3,$O$K4 LBBO &r1, r0, 0, 4 ; [ALU_PRU] |106| $O$C3 AND r1, r1, r5 ; [ALU_PRU] |106| OR r1, r1, 0x11 ; [ALU_PRU] |106| SBBO &r1, r0, 0, 4 ; [ALU_PRU] |106| $O$C3 ;* --------------------------------------------------------------------------* ||$C$L9||: ;*** -----------------------g14: ;*** 109 ----------------------- if ( !status ) goto g6; .dwpsn file "pru0_mcp3208_rpmsg.c",line 109,column 7,is_stmt,isa 0 QBEQ ||$C$L3||, r14.w0, 0x00 ; [ALU_PRU] |109| status ;* --------------------------------------------------------------------------* ;*** ----------------------- v$2 = (int)*K$31; LBBO &r0.b0, r4, 0, 1 ; [ALU_PRU] $O$K31 JMP ||$C$L4|| ; [ALU_PRU] ;* --------------------------------------------------------------------------* .dwattr $C$DW$35, DW_AT_TI_end_file("pru0_mcp3208_rpmsg.c") .dwattr $C$DW$35, DW_AT_TI_end_line(0x78) .dwattr $C$DW$35, DW_AT_TI_end_column(0x01) .dwendentry .dwendtag $C$DW$35 ;****************************************************************************** ;* STRINGS * ;****************************************************************************** .sect ".rodata:.string" ||$C$SL1||: .string "rpmsg-pru",0 ||$C$SL2||: .string "Channel 1",0 ;***************************************************************************** ;* UNDEFINED EXTERNAL REFERENCES * ;***************************************************************************** .global ||pru_rpmsg_init|| .global ||pru_rpmsg_channel|| .global ||pru_rpmsg_receive|| .global ||pru_rpmsg_send|| .global ||memcpy|| ;****************************************************************************** ;* TYPE INFORMATION * ;****************************************************************************** $C$DW$T$19 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$19, DW_AT_byte_size(0x04) $C$DW$62 .dwtag DW_TAG_member .dwattr $C$DW$62, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$62, DW_AT_name("REVID") .dwattr $C$DW$62, DW_AT_TI_symbol_name("REVID") .dwattr $C$DW$62, DW_AT_bit_offset(0x00) .dwattr $C$DW$62, DW_AT_bit_size(0x20) .dwattr $C$DW$62, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$62, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$62, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$62, DW_AT_decl_line(0x2d) .dwattr $C$DW$62, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$19, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$T$19, DW_AT_decl_line(0x2c) .dwattr $C$DW$T$19, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$19 $C$DW$T$113 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$113, DW_AT_type(*$C$DW$T$19) $C$DW$T$20 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$20, DW_AT_byte_size(0x04) $C$DW$63 .dwtag DW_TAG_member .dwattr $C$DW$63, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$63, DW_AT_name("IDLE_MODE") .dwattr $C$DW$63, DW_AT_TI_symbol_name("IDLE_MODE") .dwattr $C$DW$63, DW_AT_bit_offset(0x1e) .dwattr $C$DW$63, DW_AT_bit_size(0x02) .dwattr $C$DW$63, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$63, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$63, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$63, DW_AT_decl_line(0x37) .dwattr $C$DW$63, DW_AT_decl_column(0x0d) $C$DW$64 .dwtag DW_TAG_member .dwattr $C$DW$64, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$64, DW_AT_name("STANDBY_MODE") .dwattr $C$DW$64, DW_AT_TI_symbol_name("STANDBY_MODE") .dwattr $C$DW$64, DW_AT_bit_offset(0x1c) .dwattr $C$DW$64, DW_AT_bit_size(0x02) .dwattr $C$DW$64, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$64, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$64, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$64, DW_AT_decl_line(0x38) .dwattr $C$DW$64, DW_AT_decl_column(0x0d) $C$DW$65 .dwtag DW_TAG_member .dwattr $C$DW$65, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$65, DW_AT_name("STANDBY_INIT") .dwattr $C$DW$65, DW_AT_TI_symbol_name("STANDBY_INIT") .dwattr $C$DW$65, DW_AT_bit_offset(0x1b) .dwattr $C$DW$65, DW_AT_bit_size(0x01) .dwattr $C$DW$65, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$65, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$65, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$65, DW_AT_decl_line(0x39) .dwattr $C$DW$65, DW_AT_decl_column(0x0d) $C$DW$66 .dwtag DW_TAG_member .dwattr $C$DW$66, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$66, DW_AT_name("SUB_MWAIT") .dwattr $C$DW$66, DW_AT_TI_symbol_name("SUB_MWAIT") .dwattr $C$DW$66, DW_AT_bit_offset(0x1a) .dwattr $C$DW$66, DW_AT_bit_size(0x01) .dwattr $C$DW$66, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$66, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$66, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$66, DW_AT_decl_line(0x3a) .dwattr $C$DW$66, DW_AT_decl_column(0x0d) $C$DW$67 .dwtag DW_TAG_member .dwattr $C$DW$67, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$67, DW_AT_name("rsvd6") .dwattr $C$DW$67, DW_AT_TI_symbol_name("rsvd6") .dwattr $C$DW$67, DW_AT_bit_offset(0x00) .dwattr $C$DW$67, DW_AT_bit_size(0x1a) .dwattr $C$DW$67, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$67, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$67, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$67, DW_AT_decl_line(0x3b) .dwattr $C$DW$67, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$20, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$T$20, DW_AT_decl_line(0x36) .dwattr $C$DW$T$20, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$20 $C$DW$T$115 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$115, DW_AT_type(*$C$DW$T$20) $C$DW$T$21 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$21, DW_AT_byte_size(0x04) $C$DW$68 .dwtag DW_TAG_member .dwattr $C$DW$68, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$68, DW_AT_name("PRU0_GPI_MODE") .dwattr $C$DW$68, DW_AT_TI_symbol_name("PRU0_GPI_MODE") .dwattr $C$DW$68, DW_AT_bit_offset(0x1e) .dwattr $C$DW$68, DW_AT_bit_size(0x02) .dwattr $C$DW$68, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$68, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$68, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$68, DW_AT_decl_line(0x45) .dwattr $C$DW$68, DW_AT_decl_column(0x0d) $C$DW$69 .dwtag DW_TAG_member .dwattr $C$DW$69, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$69, DW_AT_name("PRU0_GPI_CLK_MODE") .dwattr $C$DW$69, DW_AT_TI_symbol_name("PRU0_GPI_CLK_MODE") .dwattr $C$DW$69, DW_AT_bit_offset(0x1d) .dwattr $C$DW$69, DW_AT_bit_size(0x01) .dwattr $C$DW$69, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$69, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$69, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$69, DW_AT_decl_line(0x46) .dwattr $C$DW$69, DW_AT_decl_column(0x0d) $C$DW$70 .dwtag DW_TAG_member .dwattr $C$DW$70, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$70, DW_AT_name("PRU0_GPI_DIV0") .dwattr $C$DW$70, DW_AT_TI_symbol_name("PRU0_GPI_DIV0") .dwattr $C$DW$70, DW_AT_bit_offset(0x18) .dwattr $C$DW$70, DW_AT_bit_size(0x05) .dwattr $C$DW$70, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$70, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$70, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$70, DW_AT_decl_line(0x47) .dwattr $C$DW$70, DW_AT_decl_column(0x0d) $C$DW$71 .dwtag DW_TAG_member .dwattr $C$DW$71, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$71, DW_AT_name("PRU0_GPI_DIV1") .dwattr $C$DW$71, DW_AT_TI_symbol_name("PRU0_GPI_DIV1") .dwattr $C$DW$71, DW_AT_bit_offset(0x13) .dwattr $C$DW$71, DW_AT_bit_size(0x05) .dwattr $C$DW$71, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$71, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$71, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$71, DW_AT_decl_line(0x48) .dwattr $C$DW$71, DW_AT_decl_column(0x0d) $C$DW$72 .dwtag DW_TAG_member .dwattr $C$DW$72, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$72, DW_AT_name("PRU0_GPI_SB") .dwattr $C$DW$72, DW_AT_TI_symbol_name("PRU0_GPI_SB") .dwattr $C$DW$72, DW_AT_bit_offset(0x12) .dwattr $C$DW$72, DW_AT_bit_size(0x01) .dwattr $C$DW$72, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$72, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$72, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$72, DW_AT_decl_line(0x49) .dwattr $C$DW$72, DW_AT_decl_column(0x0d) $C$DW$73 .dwtag DW_TAG_member .dwattr $C$DW$73, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$73, DW_AT_name("PRU0_GPO_MODE") .dwattr $C$DW$73, DW_AT_TI_symbol_name("PRU0_GPO_MODE") .dwattr $C$DW$73, DW_AT_bit_offset(0x11) .dwattr $C$DW$73, DW_AT_bit_size(0x01) .dwattr $C$DW$73, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$73, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$73, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$73, DW_AT_decl_line(0x4a) .dwattr $C$DW$73, DW_AT_decl_column(0x0d) $C$DW$74 .dwtag DW_TAG_member .dwattr $C$DW$74, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$74, DW_AT_name("PRU0_GPO_DIV0") .dwattr $C$DW$74, DW_AT_TI_symbol_name("PRU0_GPO_DIV0") .dwattr $C$DW$74, DW_AT_bit_offset(0x0c) .dwattr $C$DW$74, DW_AT_bit_size(0x05) .dwattr $C$DW$74, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$74, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$74, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$74, DW_AT_decl_line(0x4b) .dwattr $C$DW$74, DW_AT_decl_column(0x0d) $C$DW$75 .dwtag DW_TAG_member .dwattr $C$DW$75, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$75, DW_AT_name("PRU0_GPO_DIV1") .dwattr $C$DW$75, DW_AT_TI_symbol_name("PRU0_GPO_DIV1") .dwattr $C$DW$75, DW_AT_bit_offset(0x07) .dwattr $C$DW$75, DW_AT_bit_size(0x05) .dwattr $C$DW$75, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$75, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$75, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$75, DW_AT_decl_line(0x4c) .dwattr $C$DW$75, DW_AT_decl_column(0x0d) $C$DW$76 .dwtag DW_TAG_member .dwattr $C$DW$76, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$76, DW_AT_name("PRU0_GPO_SH_SEL") .dwattr $C$DW$76, DW_AT_TI_symbol_name("PRU0_GPO_SH_SEL") .dwattr $C$DW$76, DW_AT_bit_offset(0x06) .dwattr $C$DW$76, DW_AT_bit_size(0x01) .dwattr $C$DW$76, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$76, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$76, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$76, DW_AT_decl_line(0x4d) .dwattr $C$DW$76, DW_AT_decl_column(0x0d) $C$DW$77 .dwtag DW_TAG_member .dwattr $C$DW$77, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$77, DW_AT_name("rsvd26") .dwattr $C$DW$77, DW_AT_TI_symbol_name("rsvd26") .dwattr $C$DW$77, DW_AT_bit_offset(0x00) .dwattr $C$DW$77, DW_AT_bit_size(0x06) .dwattr $C$DW$77, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$77, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$77, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$77, DW_AT_decl_line(0x4e) .dwattr $C$DW$77, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$21, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$T$21, DW_AT_decl_line(0x44) .dwattr $C$DW$T$21, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$21 $C$DW$T$117 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$117, DW_AT_type(*$C$DW$T$21) $C$DW$T$22 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$22, DW_AT_byte_size(0x04) $C$DW$78 .dwtag DW_TAG_member .dwattr $C$DW$78, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$78, DW_AT_name("PRU1_GPI_MODE") .dwattr $C$DW$78, DW_AT_TI_symbol_name("PRU1_GPI_MODE") .dwattr $C$DW$78, DW_AT_bit_offset(0x1e) .dwattr $C$DW$78, DW_AT_bit_size(0x02) .dwattr $C$DW$78, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$78, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$78, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$78, DW_AT_decl_line(0x58) .dwattr $C$DW$78, DW_AT_decl_column(0x0d) $C$DW$79 .dwtag DW_TAG_member .dwattr $C$DW$79, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$79, DW_AT_name("PRU1_GPI_CLK_MODE") .dwattr $C$DW$79, DW_AT_TI_symbol_name("PRU1_GPI_CLK_MODE") .dwattr $C$DW$79, DW_AT_bit_offset(0x1d) .dwattr $C$DW$79, DW_AT_bit_size(0x01) .dwattr $C$DW$79, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$79, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$79, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$79, DW_AT_decl_line(0x59) .dwattr $C$DW$79, DW_AT_decl_column(0x0d) $C$DW$80 .dwtag DW_TAG_member .dwattr $C$DW$80, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$80, DW_AT_name("PRU1_GPI_DIV0") .dwattr $C$DW$80, DW_AT_TI_symbol_name("PRU1_GPI_DIV0") .dwattr $C$DW$80, DW_AT_bit_offset(0x18) .dwattr $C$DW$80, DW_AT_bit_size(0x05) .dwattr $C$DW$80, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$80, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$80, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$80, DW_AT_decl_line(0x5a) .dwattr $C$DW$80, DW_AT_decl_column(0x0d) $C$DW$81 .dwtag DW_TAG_member .dwattr $C$DW$81, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$81, DW_AT_name("PRU1_GPI_DIV1") .dwattr $C$DW$81, DW_AT_TI_symbol_name("PRU1_GPI_DIV1") .dwattr $C$DW$81, DW_AT_bit_offset(0x13) .dwattr $C$DW$81, DW_AT_bit_size(0x05) .dwattr $C$DW$81, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$81, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$81, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$81, DW_AT_decl_line(0x5b) .dwattr $C$DW$81, DW_AT_decl_column(0x0d) $C$DW$82 .dwtag DW_TAG_member .dwattr $C$DW$82, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$82, DW_AT_name("PRU1_GPI_SB") .dwattr $C$DW$82, DW_AT_TI_symbol_name("PRU1_GPI_SB") .dwattr $C$DW$82, DW_AT_bit_offset(0x12) .dwattr $C$DW$82, DW_AT_bit_size(0x01) .dwattr $C$DW$82, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$82, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$82, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$82, DW_AT_decl_line(0x5c) .dwattr $C$DW$82, DW_AT_decl_column(0x0d) $C$DW$83 .dwtag DW_TAG_member .dwattr $C$DW$83, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$83, DW_AT_name("PRU1_GPO_MODE") .dwattr $C$DW$83, DW_AT_TI_symbol_name("PRU1_GPO_MODE") .dwattr $C$DW$83, DW_AT_bit_offset(0x11) .dwattr $C$DW$83, DW_AT_bit_size(0x01) .dwattr $C$DW$83, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$83, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$83, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$83, DW_AT_decl_line(0x5d) .dwattr $C$DW$83, DW_AT_decl_column(0x0d) $C$DW$84 .dwtag DW_TAG_member .dwattr $C$DW$84, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$84, DW_AT_name("PRU1_GPO_DIV0") .dwattr $C$DW$84, DW_AT_TI_symbol_name("PRU1_GPO_DIV0") .dwattr $C$DW$84, DW_AT_bit_offset(0x0c) .dwattr $C$DW$84, DW_AT_bit_size(0x05) .dwattr $C$DW$84, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$84, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$84, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$84, DW_AT_decl_line(0x5e) .dwattr $C$DW$84, DW_AT_decl_column(0x0d) $C$DW$85 .dwtag DW_TAG_member .dwattr $C$DW$85, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$85, DW_AT_name("PRU1_GPO_DIV1") .dwattr $C$DW$85, DW_AT_TI_symbol_name("PRU1_GPO_DIV1") .dwattr $C$DW$85, DW_AT_bit_offset(0x07) .dwattr $C$DW$85, DW_AT_bit_size(0x05) .dwattr $C$DW$85, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$85, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$85, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$85, DW_AT_decl_line(0x5f) .dwattr $C$DW$85, DW_AT_decl_column(0x0d) $C$DW$86 .dwtag DW_TAG_member .dwattr $C$DW$86, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$86, DW_AT_name("PRU1_GPO_SH_SEL") .dwattr $C$DW$86, DW_AT_TI_symbol_name("PRU1_GPO_SH_SEL") .dwattr $C$DW$86, DW_AT_bit_offset(0x06) .dwattr $C$DW$86, DW_AT_bit_size(0x01) .dwattr $C$DW$86, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$86, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$86, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$86, DW_AT_decl_line(0x60) .dwattr $C$DW$86, DW_AT_decl_column(0x0d) $C$DW$87 .dwtag DW_TAG_member .dwattr $C$DW$87, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$87, DW_AT_name("rsvd26") .dwattr $C$DW$87, DW_AT_TI_symbol_name("rsvd26") .dwattr $C$DW$87, DW_AT_bit_offset(0x00) .dwattr $C$DW$87, DW_AT_bit_size(0x06) .dwattr $C$DW$87, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$87, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$87, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$87, DW_AT_decl_line(0x61) .dwattr $C$DW$87, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$22, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$T$22, DW_AT_decl_line(0x57) .dwattr $C$DW$T$22, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$22 $C$DW$T$119 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$119, DW_AT_type(*$C$DW$T$22) $C$DW$T$23 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$23, DW_AT_byte_size(0x04) $C$DW$88 .dwtag DW_TAG_member .dwattr $C$DW$88, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$88, DW_AT_name("PRU0_CLK_STOP_REQ") .dwattr $C$DW$88, DW_AT_TI_symbol_name("PRU0_CLK_STOP_REQ") .dwattr $C$DW$88, DW_AT_bit_offset(0x1f) .dwattr $C$DW$88, DW_AT_bit_size(0x01) .dwattr $C$DW$88, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$88, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$88, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$88, DW_AT_decl_line(0x6b) .dwattr $C$DW$88, DW_AT_decl_column(0x0d) $C$DW$89 .dwtag DW_TAG_member .dwattr $C$DW$89, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$89, DW_AT_name("PRU0_CLK_STOP_ACK") .dwattr $C$DW$89, DW_AT_TI_symbol_name("PRU0_CLK_STOP_ACK") .dwattr $C$DW$89, DW_AT_bit_offset(0x1e) .dwattr $C$DW$89, DW_AT_bit_size(0x01) .dwattr $C$DW$89, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$89, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$89, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$89, DW_AT_decl_line(0x6c) .dwattr $C$DW$89, DW_AT_decl_column(0x0d) $C$DW$90 .dwtag DW_TAG_member .dwattr $C$DW$90, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$90, DW_AT_name("PRU0_CLK_EN") .dwattr $C$DW$90, DW_AT_TI_symbol_name("PRU0_CLK_EN") .dwattr $C$DW$90, DW_AT_bit_offset(0x1d) .dwattr $C$DW$90, DW_AT_bit_size(0x01) .dwattr $C$DW$90, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$90, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$90, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$90, DW_AT_decl_line(0x6d) .dwattr $C$DW$90, DW_AT_decl_column(0x0d) $C$DW$91 .dwtag DW_TAG_member .dwattr $C$DW$91, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$91, DW_AT_name("PRU1_CLK_STOP_REQ") .dwattr $C$DW$91, DW_AT_TI_symbol_name("PRU1_CLK_STOP_REQ") .dwattr $C$DW$91, DW_AT_bit_offset(0x1c) .dwattr $C$DW$91, DW_AT_bit_size(0x01) .dwattr $C$DW$91, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$91, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$91, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$91, DW_AT_decl_line(0x6e) .dwattr $C$DW$91, DW_AT_decl_column(0x0d) $C$DW$92 .dwtag DW_TAG_member .dwattr $C$DW$92, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$92, DW_AT_name("PRU1_CLK_STOP_ACK") .dwattr $C$DW$92, DW_AT_TI_symbol_name("PRU1_CLK_STOP_ACK") .dwattr $C$DW$92, DW_AT_bit_offset(0x1b) .dwattr $C$DW$92, DW_AT_bit_size(0x01) .dwattr $C$DW$92, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$92, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$92, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$92, DW_AT_decl_line(0x6f) .dwattr $C$DW$92, DW_AT_decl_column(0x0d) $C$DW$93 .dwtag DW_TAG_member .dwattr $C$DW$93, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$93, DW_AT_name("PRU1_CLK_EN") .dwattr $C$DW$93, DW_AT_TI_symbol_name("PRU1_CLK_EN") .dwattr $C$DW$93, DW_AT_bit_offset(0x1a) .dwattr $C$DW$93, DW_AT_bit_size(0x01) .dwattr $C$DW$93, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$93, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$93, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$93, DW_AT_decl_line(0x70) .dwattr $C$DW$93, DW_AT_decl_column(0x0d) $C$DW$94 .dwtag DW_TAG_member .dwattr $C$DW$94, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$94, DW_AT_name("INTC_CLK_STOP_REQ") .dwattr $C$DW$94, DW_AT_TI_symbol_name("INTC_CLK_STOP_REQ") .dwattr $C$DW$94, DW_AT_bit_offset(0x19) .dwattr $C$DW$94, DW_AT_bit_size(0x01) .dwattr $C$DW$94, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$94, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$94, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$94, DW_AT_decl_line(0x71) .dwattr $C$DW$94, DW_AT_decl_column(0x0d) $C$DW$95 .dwtag DW_TAG_member .dwattr $C$DW$95, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$95, DW_AT_name("INTC_CLK_STOP_ACK") .dwattr $C$DW$95, DW_AT_TI_symbol_name("INTC_CLK_STOP_ACK") .dwattr $C$DW$95, DW_AT_bit_offset(0x18) .dwattr $C$DW$95, DW_AT_bit_size(0x01) .dwattr $C$DW$95, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$95, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$95, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$95, DW_AT_decl_line(0x72) .dwattr $C$DW$95, DW_AT_decl_column(0x0d) $C$DW$96 .dwtag DW_TAG_member .dwattr $C$DW$96, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$96, DW_AT_name("INTC_CLK_EN") .dwattr $C$DW$96, DW_AT_TI_symbol_name("INTC_CLK_EN") .dwattr $C$DW$96, DW_AT_bit_offset(0x17) .dwattr $C$DW$96, DW_AT_bit_size(0x01) .dwattr $C$DW$96, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$96, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$96, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$96, DW_AT_decl_line(0x73) .dwattr $C$DW$96, DW_AT_decl_column(0x0d) $C$DW$97 .dwtag DW_TAG_member .dwattr $C$DW$97, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$97, DW_AT_name("UART_CLK_STOP_REQ") .dwattr $C$DW$97, DW_AT_TI_symbol_name("UART_CLK_STOP_REQ") .dwattr $C$DW$97, DW_AT_bit_offset(0x16) .dwattr $C$DW$97, DW_AT_bit_size(0x01) .dwattr $C$DW$97, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$97, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$97, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$97, DW_AT_decl_line(0x74) .dwattr $C$DW$97, DW_AT_decl_column(0x0d) $C$DW$98 .dwtag DW_TAG_member .dwattr $C$DW$98, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$98, DW_AT_name("UART_CLK_STOP_ACK") .dwattr $C$DW$98, DW_AT_TI_symbol_name("UART_CLK_STOP_ACK") .dwattr $C$DW$98, DW_AT_bit_offset(0x15) .dwattr $C$DW$98, DW_AT_bit_size(0x01) .dwattr $C$DW$98, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$98, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$98, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$98, DW_AT_decl_line(0x75) .dwattr $C$DW$98, DW_AT_decl_column(0x0d) $C$DW$99 .dwtag DW_TAG_member .dwattr $C$DW$99, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$99, DW_AT_name("UART_CLK_EN") .dwattr $C$DW$99, DW_AT_TI_symbol_name("UART_CLK_EN") .dwattr $C$DW$99, DW_AT_bit_offset(0x14) .dwattr $C$DW$99, DW_AT_bit_size(0x01) .dwattr $C$DW$99, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$99, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$99, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$99, DW_AT_decl_line(0x76) .dwattr $C$DW$99, DW_AT_decl_column(0x0d) $C$DW$100 .dwtag DW_TAG_member .dwattr $C$DW$100, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$100, DW_AT_name("ECAP_CLK_STOP_REQ") .dwattr $C$DW$100, DW_AT_TI_symbol_name("ECAP_CLK_STOP_REQ") .dwattr $C$DW$100, DW_AT_bit_offset(0x13) .dwattr $C$DW$100, DW_AT_bit_size(0x01) .dwattr $C$DW$100, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$100, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$100, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$100, DW_AT_decl_line(0x77) .dwattr $C$DW$100, DW_AT_decl_column(0x0d) $C$DW$101 .dwtag DW_TAG_member .dwattr $C$DW$101, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$101, DW_AT_name("ECAP_CLK_STOP_ACK") .dwattr $C$DW$101, DW_AT_TI_symbol_name("ECAP_CLK_STOP_ACK") .dwattr $C$DW$101, DW_AT_bit_offset(0x12) .dwattr $C$DW$101, DW_AT_bit_size(0x01) .dwattr $C$DW$101, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$101, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$101, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$101, DW_AT_decl_line(0x78) .dwattr $C$DW$101, DW_AT_decl_column(0x0d) $C$DW$102 .dwtag DW_TAG_member .dwattr $C$DW$102, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$102, DW_AT_name("ECAP_CLK_EN") .dwattr $C$DW$102, DW_AT_TI_symbol_name("ECAP_CLK_EN") .dwattr $C$DW$102, DW_AT_bit_offset(0x11) .dwattr $C$DW$102, DW_AT_bit_size(0x01) .dwattr $C$DW$102, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$102, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$102, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$102, DW_AT_decl_line(0x79) .dwattr $C$DW$102, DW_AT_decl_column(0x0d) $C$DW$103 .dwtag DW_TAG_member .dwattr $C$DW$103, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$103, DW_AT_name("IEP_CLK_STOP_REQ") .dwattr $C$DW$103, DW_AT_TI_symbol_name("IEP_CLK_STOP_REQ") .dwattr $C$DW$103, DW_AT_bit_offset(0x10) .dwattr $C$DW$103, DW_AT_bit_size(0x01) .dwattr $C$DW$103, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$103, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$103, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$103, DW_AT_decl_line(0x7a) .dwattr $C$DW$103, DW_AT_decl_column(0x0d) $C$DW$104 .dwtag DW_TAG_member .dwattr $C$DW$104, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$104, DW_AT_name("IEP_CLK_STOP_ACK") .dwattr $C$DW$104, DW_AT_TI_symbol_name("IEP_CLK_STOP_ACK") .dwattr $C$DW$104, DW_AT_bit_offset(0x0f) .dwattr $C$DW$104, DW_AT_bit_size(0x01) .dwattr $C$DW$104, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$104, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$104, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$104, DW_AT_decl_line(0x7b) .dwattr $C$DW$104, DW_AT_decl_column(0x0d) $C$DW$105 .dwtag DW_TAG_member .dwattr $C$DW$105, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$105, DW_AT_name("IEP_CLK_EN") .dwattr $C$DW$105, DW_AT_TI_symbol_name("IEP_CLK_EN") .dwattr $C$DW$105, DW_AT_bit_offset(0x0e) .dwattr $C$DW$105, DW_AT_bit_size(0x01) .dwattr $C$DW$105, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$105, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$105, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$105, DW_AT_decl_line(0x7c) .dwattr $C$DW$105, DW_AT_decl_column(0x0d) $C$DW$106 .dwtag DW_TAG_member .dwattr $C$DW$106, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$106, DW_AT_name("rsvd18") .dwattr $C$DW$106, DW_AT_TI_symbol_name("rsvd18") .dwattr $C$DW$106, DW_AT_bit_offset(0x00) .dwattr $C$DW$106, DW_AT_bit_size(0x0e) .dwattr $C$DW$106, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$106, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$106, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$106, DW_AT_decl_line(0x7d) .dwattr $C$DW$106, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$23, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$T$23, DW_AT_decl_line(0x6a) .dwattr $C$DW$T$23, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$23 $C$DW$T$121 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$121, DW_AT_type(*$C$DW$T$23) $C$DW$T$24 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$24, DW_AT_byte_size(0x04) $C$DW$107 .dwtag DW_TAG_member .dwattr $C$DW$107, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$107, DW_AT_name("PRU0_IMEM_PE_RAW") .dwattr $C$DW$107, DW_AT_TI_symbol_name("PRU0_IMEM_PE_RAW") .dwattr $C$DW$107, DW_AT_bit_offset(0x1c) .dwattr $C$DW$107, DW_AT_bit_size(0x04) .dwattr $C$DW$107, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$107, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$107, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$107, DW_AT_decl_line(0x87) .dwattr $C$DW$107, DW_AT_decl_column(0x0d) $C$DW$108 .dwtag DW_TAG_member .dwattr $C$DW$108, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$108, DW_AT_name("PRU0_DMEM_PE_RAW") .dwattr $C$DW$108, DW_AT_TI_symbol_name("PRU0_DMEM_PE_RAW") .dwattr $C$DW$108, DW_AT_bit_offset(0x18) .dwattr $C$DW$108, DW_AT_bit_size(0x04) .dwattr $C$DW$108, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$108, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$108, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$108, DW_AT_decl_line(0x88) .dwattr $C$DW$108, DW_AT_decl_column(0x0d) $C$DW$109 .dwtag DW_TAG_member .dwattr $C$DW$109, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$109, DW_AT_name("PRU1_IMEM_PE_RAW") .dwattr $C$DW$109, DW_AT_TI_symbol_name("PRU1_IMEM_PE_RAW") .dwattr $C$DW$109, DW_AT_bit_offset(0x14) .dwattr $C$DW$109, DW_AT_bit_size(0x04) .dwattr $C$DW$109, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$109, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$109, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$109, DW_AT_decl_line(0x89) .dwattr $C$DW$109, DW_AT_decl_column(0x0d) $C$DW$110 .dwtag DW_TAG_member .dwattr $C$DW$110, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$110, DW_AT_name("PRU1_DMEM_PE_RAW") .dwattr $C$DW$110, DW_AT_TI_symbol_name("PRU1_DMEM_PE_RAW") .dwattr $C$DW$110, DW_AT_bit_offset(0x10) .dwattr $C$DW$110, DW_AT_bit_size(0x04) .dwattr $C$DW$110, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$110, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$110, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$110, DW_AT_decl_line(0x8a) .dwattr $C$DW$110, DW_AT_decl_column(0x0d) $C$DW$111 .dwtag DW_TAG_member .dwattr $C$DW$111, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$111, DW_AT_name("RAM_PE_RAW") .dwattr $C$DW$111, DW_AT_TI_symbol_name("RAM_PE_RAW") .dwattr $C$DW$111, DW_AT_bit_offset(0x0c) .dwattr $C$DW$111, DW_AT_bit_size(0x04) .dwattr $C$DW$111, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$111, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$111, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$111, DW_AT_decl_line(0x8b) .dwattr $C$DW$111, DW_AT_decl_column(0x0d) $C$DW$112 .dwtag DW_TAG_member .dwattr $C$DW$112, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$112, DW_AT_name("rsvd20") .dwattr $C$DW$112, DW_AT_TI_symbol_name("rsvd20") .dwattr $C$DW$112, DW_AT_bit_offset(0x00) .dwattr $C$DW$112, DW_AT_bit_size(0x0c) .dwattr $C$DW$112, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$112, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$112, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$112, DW_AT_decl_line(0x8c) .dwattr $C$DW$112, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$24, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$T$24, DW_AT_decl_line(0x86) .dwattr $C$DW$T$24, DW_AT_decl_column(0x14) .dwendtag $C$DW$T$24 $C$DW$T$123 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$123, DW_AT_type(*$C$DW$T$24) $C$DW$T$25 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$25, DW_AT_byte_size(0x04) $C$DW$113 .dwtag DW_TAG_member .dwattr $C$DW$113, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$113, DW_AT_name("PRU0_IMEM_PE") .dwattr $C$DW$113, DW_AT_TI_symbol_name("PRU0_IMEM_PE") .dwattr $C$DW$113, DW_AT_bit_offset(0x1c) .dwattr $C$DW$113, DW_AT_bit_size(0x04) .dwattr $C$DW$113, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$113, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$113, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$113, DW_AT_decl_line(0x96) .dwattr $C$DW$113, DW_AT_decl_column(0x0d) $C$DW$114 .dwtag DW_TAG_member .dwattr $C$DW$114, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$114, DW_AT_name("PRU0_DMEM_PE") .dwattr $C$DW$114, DW_AT_TI_symbol_name("PRU0_DMEM_PE") .dwattr $C$DW$114, DW_AT_bit_offset(0x18) .dwattr $C$DW$114, DW_AT_bit_size(0x04) .dwattr $C$DW$114, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$114, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$114, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$114, DW_AT_decl_line(0x97) .dwattr $C$DW$114, DW_AT_decl_column(0x0d) $C$DW$115 .dwtag DW_TAG_member .dwattr $C$DW$115, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$115, DW_AT_name("PRU1_IMEM_PE") .dwattr $C$DW$115, DW_AT_TI_symbol_name("PRU1_IMEM_PE") .dwattr $C$DW$115, DW_AT_bit_offset(0x14) .dwattr $C$DW$115, DW_AT_bit_size(0x04) .dwattr $C$DW$115, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$115, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$115, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$115, DW_AT_decl_line(0x98) .dwattr $C$DW$115, DW_AT_decl_column(0x0d) $C$DW$116 .dwtag DW_TAG_member .dwattr $C$DW$116, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$116, DW_AT_name("PRU1_DMEM_PE") .dwattr $C$DW$116, DW_AT_TI_symbol_name("PRU1_DMEM_PE") .dwattr $C$DW$116, DW_AT_bit_offset(0x10) .dwattr $C$DW$116, DW_AT_bit_size(0x04) .dwattr $C$DW$116, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$116, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$116, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$116, DW_AT_decl_line(0x99) .dwattr $C$DW$116, DW_AT_decl_column(0x0d) $C$DW$117 .dwtag DW_TAG_member .dwattr $C$DW$117, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$117, DW_AT_name("RAM_PE") .dwattr $C$DW$117, DW_AT_TI_symbol_name("RAM_PE") .dwattr $C$DW$117, DW_AT_bit_offset(0x0c) .dwattr $C$DW$117, DW_AT_bit_size(0x04) .dwattr $C$DW$117, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$117, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$117, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$117, DW_AT_decl_line(0x9a) .dwattr $C$DW$117, DW_AT_decl_column(0x0d) $C$DW$118 .dwtag DW_TAG_member .dwattr $C$DW$118, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$118, DW_AT_name("rsvd20") .dwattr $C$DW$118, DW_AT_TI_symbol_name("rsvd20") .dwattr $C$DW$118, DW_AT_bit_offset(0x00) .dwattr $C$DW$118, DW_AT_bit_size(0x0c) .dwattr $C$DW$118, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$118, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$118, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$118, DW_AT_decl_line(0x9b) .dwattr $C$DW$118, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$25, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$T$25, DW_AT_decl_line(0x95) .dwattr $C$DW$T$25, DW_AT_decl_column(0x14) .dwendtag $C$DW$T$25 $C$DW$T$125 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$125, DW_AT_type(*$C$DW$T$25) $C$DW$T$26 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$26, DW_AT_byte_size(0x04) $C$DW$119 .dwtag DW_TAG_member .dwattr $C$DW$119, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$119, DW_AT_name("PRU0_IMEM_PE_SET") .dwattr $C$DW$119, DW_AT_TI_symbol_name("PRU0_IMEM_PE_SET") .dwattr $C$DW$119, DW_AT_bit_offset(0x1c) .dwattr $C$DW$119, DW_AT_bit_size(0x04) .dwattr $C$DW$119, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$119, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$119, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$119, DW_AT_decl_line(0xa4) .dwattr $C$DW$119, DW_AT_decl_column(0x0d) $C$DW$120 .dwtag DW_TAG_member .dwattr $C$DW$120, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$120, DW_AT_name("PRU0_DMEM_PE_SET") .dwattr $C$DW$120, DW_AT_TI_symbol_name("PRU0_DMEM_PE_SET") .dwattr $C$DW$120, DW_AT_bit_offset(0x18) .dwattr $C$DW$120, DW_AT_bit_size(0x04) .dwattr $C$DW$120, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$120, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$120, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$120, DW_AT_decl_line(0xa5) .dwattr $C$DW$120, DW_AT_decl_column(0x0d) $C$DW$121 .dwtag DW_TAG_member .dwattr $C$DW$121, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$121, DW_AT_name("PRU1_IMEM_PE_SET") .dwattr $C$DW$121, DW_AT_TI_symbol_name("PRU1_IMEM_PE_SET") .dwattr $C$DW$121, DW_AT_bit_offset(0x14) .dwattr $C$DW$121, DW_AT_bit_size(0x04) .dwattr $C$DW$121, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$121, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$121, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$121, DW_AT_decl_line(0xa6) .dwattr $C$DW$121, DW_AT_decl_column(0x0d) $C$DW$122 .dwtag DW_TAG_member .dwattr $C$DW$122, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$122, DW_AT_name("PRU1_DMEM_PE_SET") .dwattr $C$DW$122, DW_AT_TI_symbol_name("PRU1_DMEM_PE_SET") .dwattr $C$DW$122, DW_AT_bit_offset(0x10) .dwattr $C$DW$122, DW_AT_bit_size(0x04) .dwattr $C$DW$122, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$122, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$122, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$122, DW_AT_decl_line(0xa7) .dwattr $C$DW$122, DW_AT_decl_column(0x0d) $C$DW$123 .dwtag DW_TAG_member .dwattr $C$DW$123, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$123, DW_AT_name("RAM_PE_SET") .dwattr $C$DW$123, DW_AT_TI_symbol_name("RAM_PE_SET") .dwattr $C$DW$123, DW_AT_bit_offset(0x0c) .dwattr $C$DW$123, DW_AT_bit_size(0x04) .dwattr $C$DW$123, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$123, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$123, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$123, DW_AT_decl_line(0xa8) .dwattr $C$DW$123, DW_AT_decl_column(0x0d) $C$DW$124 .dwtag DW_TAG_member .dwattr $C$DW$124, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$124, DW_AT_name("rsvd20") .dwattr $C$DW$124, DW_AT_TI_symbol_name("rsvd20") .dwattr $C$DW$124, DW_AT_bit_offset(0x00) .dwattr $C$DW$124, DW_AT_bit_size(0x0c) .dwattr $C$DW$124, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$124, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$124, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$124, DW_AT_decl_line(0xa9) .dwattr $C$DW$124, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$26, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$T$26, DW_AT_decl_line(0xa3) .dwattr $C$DW$T$26, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$26 $C$DW$T$127 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$127, DW_AT_type(*$C$DW$T$26) $C$DW$T$27 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$27, DW_AT_byte_size(0x04) $C$DW$125 .dwtag DW_TAG_member .dwattr $C$DW$125, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$125, DW_AT_name("PRU0_IMEM_PE_CLR") .dwattr $C$DW$125, DW_AT_TI_symbol_name("PRU0_IMEM_PE_CLR") .dwattr $C$DW$125, DW_AT_bit_offset(0x1c) .dwattr $C$DW$125, DW_AT_bit_size(0x04) .dwattr $C$DW$125, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$125, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$125, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$125, DW_AT_decl_line(0xb3) .dwattr $C$DW$125, DW_AT_decl_column(0x0d) $C$DW$126 .dwtag DW_TAG_member .dwattr $C$DW$126, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$126, DW_AT_name("PRU0_DMEM_PE_CLR") .dwattr $C$DW$126, DW_AT_TI_symbol_name("PRU0_DMEM_PE_CLR") .dwattr $C$DW$126, DW_AT_bit_offset(0x18) .dwattr $C$DW$126, DW_AT_bit_size(0x04) .dwattr $C$DW$126, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$126, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$126, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$126, DW_AT_decl_line(0xb4) .dwattr $C$DW$126, DW_AT_decl_column(0x0d) $C$DW$127 .dwtag DW_TAG_member .dwattr $C$DW$127, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$127, DW_AT_name("PRU1_IMEM_PE_CLR") .dwattr $C$DW$127, DW_AT_TI_symbol_name("PRU1_IMEM_PE_CLR") .dwattr $C$DW$127, DW_AT_bit_offset(0x14) .dwattr $C$DW$127, DW_AT_bit_size(0x04) .dwattr $C$DW$127, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$127, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$127, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$127, DW_AT_decl_line(0xb5) .dwattr $C$DW$127, DW_AT_decl_column(0x0d) $C$DW$128 .dwtag DW_TAG_member .dwattr $C$DW$128, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$128, DW_AT_name("PRU1_DMEM_PE_CLR") .dwattr $C$DW$128, DW_AT_TI_symbol_name("PRU1_DMEM_PE_CLR") .dwattr $C$DW$128, DW_AT_bit_offset(0x10) .dwattr $C$DW$128, DW_AT_bit_size(0x04) .dwattr $C$DW$128, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$128, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$128, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$128, DW_AT_decl_line(0xb6) .dwattr $C$DW$128, DW_AT_decl_column(0x0d) $C$DW$129 .dwtag DW_TAG_member .dwattr $C$DW$129, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$129, DW_AT_name("rsvd16") .dwattr $C$DW$129, DW_AT_TI_symbol_name("rsvd16") .dwattr $C$DW$129, DW_AT_bit_offset(0x00) .dwattr $C$DW$129, DW_AT_bit_size(0x10) .dwattr $C$DW$129, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$129, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$129, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$129, DW_AT_decl_line(0xb7) .dwattr $C$DW$129, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$27, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$T$27, DW_AT_decl_line(0xb2) .dwattr $C$DW$T$27, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$27 $C$DW$T$129 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$129, DW_AT_type(*$C$DW$T$27) $C$DW$T$28 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$28, DW_AT_byte_size(0x04) $C$DW$130 .dwtag DW_TAG_member .dwattr $C$DW$130, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$130, DW_AT_name("PMAO_PRU0") .dwattr $C$DW$130, DW_AT_TI_symbol_name("PMAO_PRU0") .dwattr $C$DW$130, DW_AT_bit_offset(0x1f) .dwattr $C$DW$130, DW_AT_bit_size(0x01) .dwattr $C$DW$130, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$130, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$130, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$130, DW_AT_decl_line(0xc4) .dwattr $C$DW$130, DW_AT_decl_column(0x0d) $C$DW$131 .dwtag DW_TAG_member .dwattr $C$DW$131, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$131, DW_AT_name("PMAO_PRU1") .dwattr $C$DW$131, DW_AT_TI_symbol_name("PMAO_PRU1") .dwattr $C$DW$131, DW_AT_bit_offset(0x1e) .dwattr $C$DW$131, DW_AT_bit_size(0x01) .dwattr $C$DW$131, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$131, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$131, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$131, DW_AT_decl_line(0xc5) .dwattr $C$DW$131, DW_AT_decl_column(0x0d) $C$DW$132 .dwtag DW_TAG_member .dwattr $C$DW$132, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$132, DW_AT_name("rsvd2") .dwattr $C$DW$132, DW_AT_TI_symbol_name("rsvd2") .dwattr $C$DW$132, DW_AT_bit_offset(0x00) .dwattr $C$DW$132, DW_AT_bit_size(0x1e) .dwattr $C$DW$132, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$132, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$132, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$132, DW_AT_decl_line(0xc6) .dwattr $C$DW$132, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$28, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$T$28, DW_AT_decl_line(0xc3) .dwattr $C$DW$T$28, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$28 $C$DW$T$131 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$131, DW_AT_type(*$C$DW$T$28) $C$DW$T$29 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$29, DW_AT_byte_size(0x04) $C$DW$133 .dwtag DW_TAG_member .dwattr $C$DW$133, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$133, DW_AT_name("OCP_EN") .dwattr $C$DW$133, DW_AT_TI_symbol_name("OCP_EN") .dwattr $C$DW$133, DW_AT_bit_offset(0x1f) .dwattr $C$DW$133, DW_AT_bit_size(0x01) .dwattr $C$DW$133, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$133, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$133, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$133, DW_AT_decl_line(0xd3) .dwattr $C$DW$133, DW_AT_decl_column(0x0d) $C$DW$134 .dwtag DW_TAG_member .dwattr $C$DW$134, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$134, DW_AT_name("rsvd1") .dwattr $C$DW$134, DW_AT_TI_symbol_name("rsvd1") .dwattr $C$DW$134, DW_AT_bit_offset(0x00) .dwattr $C$DW$134, DW_AT_bit_size(0x1f) .dwattr $C$DW$134, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$134, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$134, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$134, DW_AT_decl_line(0xd4) .dwattr $C$DW$134, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$29, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$T$29, DW_AT_decl_line(0xd2) .dwattr $C$DW$T$29, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$29 $C$DW$T$133 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$133, DW_AT_type(*$C$DW$T$29) $C$DW$T$30 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$30, DW_AT_byte_size(0x04) $C$DW$135 .dwtag DW_TAG_member .dwattr $C$DW$135, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$135, DW_AT_name("PRU1_PAD_HP_EN") .dwattr $C$DW$135, DW_AT_TI_symbol_name("PRU1_PAD_HP_EN") .dwattr $C$DW$135, DW_AT_bit_offset(0x1f) .dwattr $C$DW$135, DW_AT_bit_size(0x01) .dwattr $C$DW$135, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$135, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$135, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$135, DW_AT_decl_line(0xde) .dwattr $C$DW$135, DW_AT_decl_column(0x0d) $C$DW$136 .dwtag DW_TAG_member .dwattr $C$DW$136, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$136, DW_AT_name("XFR_SHIFT_EN") .dwattr $C$DW$136, DW_AT_TI_symbol_name("XFR_SHIFT_EN") .dwattr $C$DW$136, DW_AT_bit_offset(0x1e) .dwattr $C$DW$136, DW_AT_bit_size(0x01) .dwattr $C$DW$136, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$136, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$136, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$136, DW_AT_decl_line(0xdf) .dwattr $C$DW$136, DW_AT_decl_column(0x0d) $C$DW$137 .dwtag DW_TAG_member .dwattr $C$DW$137, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$137, DW_AT_name("rsvd2") .dwattr $C$DW$137, DW_AT_TI_symbol_name("rsvd2") .dwattr $C$DW$137, DW_AT_bit_offset(0x00) .dwattr $C$DW$137, DW_AT_bit_size(0x1e) .dwattr $C$DW$137, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$137, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$137, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$137, DW_AT_decl_line(0xe0) .dwattr $C$DW$137, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$30, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$T$30, DW_AT_decl_line(0xdd) .dwattr $C$DW$T$30, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$30 $C$DW$T$135 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$135, DW_AT_type(*$C$DW$T$30) $C$DW$T$31 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$31, DW_AT_byte_size(0x04) $C$DW$138 .dwtag DW_TAG_member .dwattr $C$DW$138, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$138, DW_AT_name("PIN_MUX_SEL") .dwattr $C$DW$138, DW_AT_TI_symbol_name("PIN_MUX_SEL") .dwattr $C$DW$138, DW_AT_bit_offset(0x18) .dwattr $C$DW$138, DW_AT_bit_size(0x08) .dwattr $C$DW$138, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$138, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$138, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$138, DW_AT_decl_line(0xec) .dwattr $C$DW$138, DW_AT_decl_column(0x0d) $C$DW$139 .dwtag DW_TAG_member .dwattr $C$DW$139, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$139, DW_AT_name("rsvd2") .dwattr $C$DW$139, DW_AT_TI_symbol_name("rsvd2") .dwattr $C$DW$139, DW_AT_bit_offset(0x00) .dwattr $C$DW$139, DW_AT_bit_size(0x18) .dwattr $C$DW$139, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$139, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$139, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$139, DW_AT_decl_line(0xed) .dwattr $C$DW$139, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$31, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$T$31, DW_AT_decl_line(0xeb) .dwattr $C$DW$T$31, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$31 $C$DW$T$137 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$137, DW_AT_type(*$C$DW$T$31) $C$DW$T$35 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$35, DW_AT_byte_size(0x44) $C$DW$140 .dwtag DW_TAG_member .dwattr $C$DW$140, DW_AT_type(*$C$DW$T$114) .dwattr $C$DW$140, DW_AT_name("$P$T0") .dwattr $C$DW$140, DW_AT_TI_symbol_name("$P$T0") .dwattr $C$DW$140, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$140, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$140, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$140, DW_AT_decl_line(0x29) .dwattr $C$DW$140, DW_AT_decl_column(0x02) $C$DW$141 .dwtag DW_TAG_member .dwattr $C$DW$141, DW_AT_type(*$C$DW$T$116) .dwattr $C$DW$141, DW_AT_name("$P$T1") .dwattr $C$DW$141, DW_AT_TI_symbol_name("$P$T1") .dwattr $C$DW$141, DW_AT_data_member_location[DW_OP_plus_uconst 0x4] .dwattr $C$DW$141, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$141, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$141, DW_AT_decl_line(0x33) .dwattr $C$DW$141, DW_AT_decl_column(0x02) $C$DW$142 .dwtag DW_TAG_member .dwattr $C$DW$142, DW_AT_type(*$C$DW$T$118) .dwattr $C$DW$142, DW_AT_name("$P$T2") .dwattr $C$DW$142, DW_AT_TI_symbol_name("$P$T2") .dwattr $C$DW$142, DW_AT_data_member_location[DW_OP_plus_uconst 0x8] .dwattr $C$DW$142, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$142, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$142, DW_AT_decl_line(0x41) .dwattr $C$DW$142, DW_AT_decl_column(0x02) $C$DW$143 .dwtag DW_TAG_member .dwattr $C$DW$143, DW_AT_type(*$C$DW$T$120) .dwattr $C$DW$143, DW_AT_name("$P$T3") .dwattr $C$DW$143, DW_AT_TI_symbol_name("$P$T3") .dwattr $C$DW$143, DW_AT_data_member_location[DW_OP_plus_uconst 0xc] .dwattr $C$DW$143, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$143, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$143, DW_AT_decl_line(0x54) .dwattr $C$DW$143, DW_AT_decl_column(0x02) $C$DW$144 .dwtag DW_TAG_member .dwattr $C$DW$144, DW_AT_type(*$C$DW$T$122) .dwattr $C$DW$144, DW_AT_name("$P$T4") .dwattr $C$DW$144, DW_AT_TI_symbol_name("$P$T4") .dwattr $C$DW$144, DW_AT_data_member_location[DW_OP_plus_uconst 0x10] .dwattr $C$DW$144, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$144, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$144, DW_AT_decl_line(0x67) .dwattr $C$DW$144, DW_AT_decl_column(0x02) $C$DW$145 .dwtag DW_TAG_member .dwattr $C$DW$145, DW_AT_type(*$C$DW$T$124) .dwattr $C$DW$145, DW_AT_name("$P$T5") .dwattr $C$DW$145, DW_AT_TI_symbol_name("$P$T5") .dwattr $C$DW$145, DW_AT_data_member_location[DW_OP_plus_uconst 0x14] .dwattr $C$DW$145, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$145, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$145, DW_AT_decl_line(0x83) .dwattr $C$DW$145, DW_AT_decl_column(0x02) $C$DW$146 .dwtag DW_TAG_member .dwattr $C$DW$146, DW_AT_type(*$C$DW$T$126) .dwattr $C$DW$146, DW_AT_name("$P$T6") .dwattr $C$DW$146, DW_AT_TI_symbol_name("$P$T6") .dwattr $C$DW$146, DW_AT_data_member_location[DW_OP_plus_uconst 0x18] .dwattr $C$DW$146, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$146, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$146, DW_AT_decl_line(0x92) .dwattr $C$DW$146, DW_AT_decl_column(0x02) $C$DW$147 .dwtag DW_TAG_member .dwattr $C$DW$147, DW_AT_type(*$C$DW$T$128) .dwattr $C$DW$147, DW_AT_name("$P$T7") .dwattr $C$DW$147, DW_AT_TI_symbol_name("$P$T7") .dwattr $C$DW$147, DW_AT_data_member_location[DW_OP_plus_uconst 0x1c] .dwattr $C$DW$147, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$147, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$147, DW_AT_decl_line(0xa0) .dwattr $C$DW$147, DW_AT_decl_column(0x02) $C$DW$148 .dwtag DW_TAG_member .dwattr $C$DW$148, DW_AT_type(*$C$DW$T$130) .dwattr $C$DW$148, DW_AT_name("$P$T8") .dwattr $C$DW$148, DW_AT_TI_symbol_name("$P$T8") .dwattr $C$DW$148, DW_AT_data_member_location[DW_OP_plus_uconst 0x20] .dwattr $C$DW$148, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$148, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$148, DW_AT_decl_line(0xaf) .dwattr $C$DW$148, DW_AT_decl_column(0x02) $C$DW$149 .dwtag DW_TAG_member .dwattr $C$DW$149, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$149, DW_AT_name("rsvd24") .dwattr $C$DW$149, DW_AT_TI_symbol_name("rsvd24") .dwattr $C$DW$149, DW_AT_data_member_location[DW_OP_plus_uconst 0x24] .dwattr $C$DW$149, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$149, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$149, DW_AT_decl_line(0xbc) .dwattr $C$DW$149, DW_AT_decl_column(0x0b) $C$DW$150 .dwtag DW_TAG_member .dwattr $C$DW$150, DW_AT_type(*$C$DW$T$132) .dwattr $C$DW$150, DW_AT_name("$P$T9") .dwattr $C$DW$150, DW_AT_TI_symbol_name("$P$T9") .dwattr $C$DW$150, DW_AT_data_member_location[DW_OP_plus_uconst 0x28] .dwattr $C$DW$150, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$150, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$150, DW_AT_decl_line(0xc0) .dwattr $C$DW$150, DW_AT_decl_column(0x02) $C$DW$151 .dwtag DW_TAG_member .dwattr $C$DW$151, DW_AT_type(*$C$DW$T$33) .dwattr $C$DW$151, DW_AT_name("rsvd2c") .dwattr $C$DW$151, DW_AT_TI_symbol_name("rsvd2c") .dwattr $C$DW$151, DW_AT_data_member_location[DW_OP_plus_uconst 0x2c] .dwattr $C$DW$151, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$151, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$151, DW_AT_decl_line(0xcb) .dwattr $C$DW$151, DW_AT_decl_column(0x0b) $C$DW$152 .dwtag DW_TAG_member .dwattr $C$DW$152, DW_AT_type(*$C$DW$T$134) .dwattr $C$DW$152, DW_AT_name("$P$T10") .dwattr $C$DW$152, DW_AT_TI_symbol_name("$P$T10") .dwattr $C$DW$152, DW_AT_data_member_location[DW_OP_plus_uconst 0x30] .dwattr $C$DW$152, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$152, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$152, DW_AT_decl_line(0xcf) .dwattr $C$DW$152, DW_AT_decl_column(0x02) $C$DW$153 .dwtag DW_TAG_member .dwattr $C$DW$153, DW_AT_type(*$C$DW$T$136) .dwattr $C$DW$153, DW_AT_name("$P$T11") .dwattr $C$DW$153, DW_AT_TI_symbol_name("$P$T11") .dwattr $C$DW$153, DW_AT_data_member_location[DW_OP_plus_uconst 0x34] .dwattr $C$DW$153, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$153, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$153, DW_AT_decl_line(0xda) .dwattr $C$DW$153, DW_AT_decl_column(0x02) $C$DW$154 .dwtag DW_TAG_member .dwattr $C$DW$154, DW_AT_type(*$C$DW$T$34) .dwattr $C$DW$154, DW_AT_name("rsvd38") .dwattr $C$DW$154, DW_AT_TI_symbol_name("rsvd38") .dwattr $C$DW$154, DW_AT_data_member_location[DW_OP_plus_uconst 0x38] .dwattr $C$DW$154, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$154, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$154, DW_AT_decl_line(0xe5) .dwattr $C$DW$154, DW_AT_decl_column(0x0b) $C$DW$155 .dwtag DW_TAG_member .dwattr $C$DW$155, DW_AT_type(*$C$DW$T$138) .dwattr $C$DW$155, DW_AT_name("$P$T12") .dwattr $C$DW$155, DW_AT_TI_symbol_name("$P$T12") .dwattr $C$DW$155, DW_AT_data_member_location[DW_OP_plus_uconst 0x40] .dwattr $C$DW$155, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$155, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$155, DW_AT_decl_line(0xe8) .dwattr $C$DW$155, DW_AT_decl_column(0x02) .dwattr $C$DW$T$35, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$T$35, DW_AT_decl_line(0x26) .dwattr $C$DW$T$35, DW_AT_decl_column(0x10) .dwendtag $C$DW$T$35 $C$DW$T$294 .dwtag DW_TAG_typedef .dwattr $C$DW$T$294, DW_AT_name("pruCfg") .dwattr $C$DW$T$294, DW_AT_type(*$C$DW$T$35) .dwattr $C$DW$T$294, DW_AT_language(DW_LANG_C) .dwattr $C$DW$T$294, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$T$294, DW_AT_decl_line(0xf0) .dwattr $C$DW$T$294, DW_AT_decl_column(0x03) $C$DW$T$295 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$295, DW_AT_type(*$C$DW$T$294) $C$DW$T$36 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$36, DW_AT_byte_size(0x04) $C$DW$156 .dwtag DW_TAG_member .dwattr $C$DW$156, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$156, DW_AT_name("REV_MINOR") .dwattr $C$DW$156, DW_AT_TI_symbol_name("REV_MINOR") .dwattr $C$DW$156, DW_AT_bit_offset(0x1a) .dwattr $C$DW$156, DW_AT_bit_size(0x06) .dwattr $C$DW$156, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$156, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$156, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$156, DW_AT_decl_line(0x2d) .dwattr $C$DW$156, DW_AT_decl_column(0x0d) $C$DW$157 .dwtag DW_TAG_member .dwattr $C$DW$157, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$157, DW_AT_name("REV_CUSTOM") .dwattr $C$DW$157, DW_AT_TI_symbol_name("REV_CUSTOM") .dwattr $C$DW$157, DW_AT_bit_offset(0x18) .dwattr $C$DW$157, DW_AT_bit_size(0x02) .dwattr $C$DW$157, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$157, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$157, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$157, DW_AT_decl_line(0x2e) .dwattr $C$DW$157, DW_AT_decl_column(0x0d) $C$DW$158 .dwtag DW_TAG_member .dwattr $C$DW$158, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$158, DW_AT_name("REV_MAJOR") .dwattr $C$DW$158, DW_AT_TI_symbol_name("REV_MAJOR") .dwattr $C$DW$158, DW_AT_bit_offset(0x15) .dwattr $C$DW$158, DW_AT_bit_size(0x03) .dwattr $C$DW$158, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$158, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$158, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$158, DW_AT_decl_line(0x2f) .dwattr $C$DW$158, DW_AT_decl_column(0x0d) $C$DW$159 .dwtag DW_TAG_member .dwattr $C$DW$159, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$159, DW_AT_name("REV_RTL") .dwattr $C$DW$159, DW_AT_TI_symbol_name("REV_RTL") .dwattr $C$DW$159, DW_AT_bit_offset(0x10) .dwattr $C$DW$159, DW_AT_bit_size(0x05) .dwattr $C$DW$159, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$159, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$159, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$159, DW_AT_decl_line(0x30) .dwattr $C$DW$159, DW_AT_decl_column(0x0d) $C$DW$160 .dwtag DW_TAG_member .dwattr $C$DW$160, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$160, DW_AT_name("REV_MODULE") .dwattr $C$DW$160, DW_AT_TI_symbol_name("REV_MODULE") .dwattr $C$DW$160, DW_AT_bit_offset(0x04) .dwattr $C$DW$160, DW_AT_bit_size(0x0c) .dwattr $C$DW$160, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$160, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$160, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$160, DW_AT_decl_line(0x31) .dwattr $C$DW$160, DW_AT_decl_column(0x0d) $C$DW$161 .dwtag DW_TAG_member .dwattr $C$DW$161, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$161, DW_AT_name("rsvd28") .dwattr $C$DW$161, DW_AT_TI_symbol_name("rsvd28") .dwattr $C$DW$161, DW_AT_bit_offset(0x02) .dwattr $C$DW$161, DW_AT_bit_size(0x02) .dwattr $C$DW$161, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$161, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$161, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$161, DW_AT_decl_line(0x32) .dwattr $C$DW$161, DW_AT_decl_column(0x0d) $C$DW$162 .dwtag DW_TAG_member .dwattr $C$DW$162, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$162, DW_AT_name("REV_SCHEME") .dwattr $C$DW$162, DW_AT_TI_symbol_name("REV_SCHEME") .dwattr $C$DW$162, DW_AT_bit_offset(0x00) .dwattr $C$DW$162, DW_AT_bit_size(0x02) .dwattr $C$DW$162, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$162, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$162, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$162, DW_AT_decl_line(0x33) .dwattr $C$DW$162, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$36, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$36, DW_AT_decl_line(0x2c) .dwattr $C$DW$T$36, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$36 $C$DW$T$139 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$139, DW_AT_type(*$C$DW$T$36) $C$DW$T$37 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$37, DW_AT_byte_size(0x04) $C$DW$163 .dwtag DW_TAG_member .dwattr $C$DW$163, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$163, DW_AT_name("rsvd0") .dwattr $C$DW$163, DW_AT_TI_symbol_name("rsvd0") .dwattr $C$DW$163, DW_AT_bit_offset(0x1e) .dwattr $C$DW$163, DW_AT_bit_size(0x02) .dwattr $C$DW$163, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$163, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$163, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$163, DW_AT_decl_line(0x3d) .dwattr $C$DW$163, DW_AT_decl_column(0x0d) $C$DW$164 .dwtag DW_TAG_member .dwattr $C$DW$164, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$164, DW_AT_name("NEST_MODE") .dwattr $C$DW$164, DW_AT_TI_symbol_name("NEST_MODE") .dwattr $C$DW$164, DW_AT_bit_offset(0x1c) .dwattr $C$DW$164, DW_AT_bit_size(0x02) .dwattr $C$DW$164, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$164, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$164, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$164, DW_AT_decl_line(0x3e) .dwattr $C$DW$164, DW_AT_decl_column(0x0d) $C$DW$165 .dwtag DW_TAG_member .dwattr $C$DW$165, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$165, DW_AT_name("rsvd4") .dwattr $C$DW$165, DW_AT_TI_symbol_name("rsvd4") .dwattr $C$DW$165, DW_AT_bit_offset(0x00) .dwattr $C$DW$165, DW_AT_bit_size(0x1c) .dwattr $C$DW$165, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$165, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$165, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$165, DW_AT_decl_line(0x3f) .dwattr $C$DW$165, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$37, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$37, DW_AT_decl_line(0x3c) .dwattr $C$DW$T$37, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$37 $C$DW$T$141 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$141, DW_AT_type(*$C$DW$T$37) $C$DW$T$38 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$38, DW_AT_byte_size(0x04) $C$DW$166 .dwtag DW_TAG_member .dwattr $C$DW$166, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$166, DW_AT_name("EN_HINT_ANY") .dwattr $C$DW$166, DW_AT_TI_symbol_name("EN_HINT_ANY") .dwattr $C$DW$166, DW_AT_bit_offset(0x1f) .dwattr $C$DW$166, DW_AT_bit_size(0x01) .dwattr $C$DW$166, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$166, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$166, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$166, DW_AT_decl_line(0x4c) .dwattr $C$DW$166, DW_AT_decl_column(0x0d) $C$DW$167 .dwtag DW_TAG_member .dwattr $C$DW$167, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$167, DW_AT_name("rsvd1") .dwattr $C$DW$167, DW_AT_TI_symbol_name("rsvd1") .dwattr $C$DW$167, DW_AT_bit_offset(0x00) .dwattr $C$DW$167, DW_AT_bit_size(0x1f) .dwattr $C$DW$167, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$167, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$167, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$167, DW_AT_decl_line(0x4d) .dwattr $C$DW$167, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$38, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$38, DW_AT_decl_line(0x4b) .dwattr $C$DW$T$38, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$38 $C$DW$T$143 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$143, DW_AT_type(*$C$DW$T$38) $C$DW$T$39 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$39, DW_AT_byte_size(0x04) $C$DW$168 .dwtag DW_TAG_member .dwattr $C$DW$168, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$168, DW_AT_name("GLB_NEST_LEVEL") .dwattr $C$DW$168, DW_AT_TI_symbol_name("GLB_NEST_LEVEL") .dwattr $C$DW$168, DW_AT_bit_offset(0x17) .dwattr $C$DW$168, DW_AT_bit_size(0x09) .dwattr $C$DW$168, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$168, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$168, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$168, DW_AT_decl_line(0x5a) .dwattr $C$DW$168, DW_AT_decl_column(0x0d) $C$DW$169 .dwtag DW_TAG_member .dwattr $C$DW$169, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$169, DW_AT_name("rsvd9") .dwattr $C$DW$169, DW_AT_TI_symbol_name("rsvd9") .dwattr $C$DW$169, DW_AT_bit_offset(0x01) .dwattr $C$DW$169, DW_AT_bit_size(0x16) .dwattr $C$DW$169, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$169, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$169, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$169, DW_AT_decl_line(0x5b) .dwattr $C$DW$169, DW_AT_decl_column(0x0d) $C$DW$170 .dwtag DW_TAG_member .dwattr $C$DW$170, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$170, DW_AT_name("AUTO_OVERRIDE") .dwattr $C$DW$170, DW_AT_TI_symbol_name("AUTO_OVERRIDE") .dwattr $C$DW$170, DW_AT_bit_offset(0x00) .dwattr $C$DW$170, DW_AT_bit_size(0x01) .dwattr $C$DW$170, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$170, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$170, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$170, DW_AT_decl_line(0x5c) .dwattr $C$DW$170, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$39, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$39, DW_AT_decl_line(0x59) .dwattr $C$DW$T$39, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$39 $C$DW$T$145 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$145, DW_AT_type(*$C$DW$T$39) $C$DW$T$40 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$40, DW_AT_byte_size(0x04) $C$DW$171 .dwtag DW_TAG_member .dwattr $C$DW$171, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$171, DW_AT_name("STS_SET_IDX") .dwattr $C$DW$171, DW_AT_TI_symbol_name("STS_SET_IDX") .dwattr $C$DW$171, DW_AT_bit_offset(0x16) .dwattr $C$DW$171, DW_AT_bit_size(0x0a) .dwattr $C$DW$171, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$171, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$171, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$171, DW_AT_decl_line(0x66) .dwattr $C$DW$171, DW_AT_decl_column(0x0d) $C$DW$172 .dwtag DW_TAG_member .dwattr $C$DW$172, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$172, DW_AT_name("rsvd10") .dwattr $C$DW$172, DW_AT_TI_symbol_name("rsvd10") .dwattr $C$DW$172, DW_AT_bit_offset(0x00) .dwattr $C$DW$172, DW_AT_bit_size(0x16) .dwattr $C$DW$172, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$172, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$172, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$172, DW_AT_decl_line(0x67) .dwattr $C$DW$172, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$40, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$40, DW_AT_decl_line(0x65) .dwattr $C$DW$T$40, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$40 $C$DW$T$147 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$147, DW_AT_type(*$C$DW$T$40) $C$DW$T$41 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$41, DW_AT_byte_size(0x04) $C$DW$173 .dwtag DW_TAG_member .dwattr $C$DW$173, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$173, DW_AT_name("STS_CLR_IDX") .dwattr $C$DW$173, DW_AT_TI_symbol_name("STS_CLR_IDX") .dwattr $C$DW$173, DW_AT_bit_offset(0x16) .dwattr $C$DW$173, DW_AT_bit_size(0x0a) .dwattr $C$DW$173, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$173, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$173, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$173, DW_AT_decl_line(0x71) .dwattr $C$DW$173, DW_AT_decl_column(0x0d) $C$DW$174 .dwtag DW_TAG_member .dwattr $C$DW$174, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$174, DW_AT_name("rsvd10") .dwattr $C$DW$174, DW_AT_TI_symbol_name("rsvd10") .dwattr $C$DW$174, DW_AT_bit_offset(0x00) .dwattr $C$DW$174, DW_AT_bit_size(0x16) .dwattr $C$DW$174, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$174, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$174, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$174, DW_AT_decl_line(0x72) .dwattr $C$DW$174, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$41, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$41, DW_AT_decl_line(0x70) .dwattr $C$DW$T$41, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$41 $C$DW$T$149 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$149, DW_AT_type(*$C$DW$T$41) $C$DW$T$42 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$42, DW_AT_byte_size(0x04) $C$DW$175 .dwtag DW_TAG_member .dwattr $C$DW$175, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$175, DW_AT_name("EN_SET_IDX") .dwattr $C$DW$175, DW_AT_TI_symbol_name("EN_SET_IDX") .dwattr $C$DW$175, DW_AT_bit_offset(0x16) .dwattr $C$DW$175, DW_AT_bit_size(0x0a) .dwattr $C$DW$175, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$175, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$175, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$175, DW_AT_decl_line(0x7c) .dwattr $C$DW$175, DW_AT_decl_column(0x0d) $C$DW$176 .dwtag DW_TAG_member .dwattr $C$DW$176, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$176, DW_AT_name("rsvd10") .dwattr $C$DW$176, DW_AT_TI_symbol_name("rsvd10") .dwattr $C$DW$176, DW_AT_bit_offset(0x00) .dwattr $C$DW$176, DW_AT_bit_size(0x16) .dwattr $C$DW$176, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$176, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$176, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$176, DW_AT_decl_line(0x7d) .dwattr $C$DW$176, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$42, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$42, DW_AT_decl_line(0x7b) .dwattr $C$DW$T$42, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$42 $C$DW$T$151 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$151, DW_AT_type(*$C$DW$T$42) $C$DW$T$43 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$43, DW_AT_byte_size(0x04) $C$DW$177 .dwtag DW_TAG_member .dwattr $C$DW$177, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$177, DW_AT_name("EN_CLR_IDX") .dwattr $C$DW$177, DW_AT_TI_symbol_name("EN_CLR_IDX") .dwattr $C$DW$177, DW_AT_bit_offset(0x16) .dwattr $C$DW$177, DW_AT_bit_size(0x0a) .dwattr $C$DW$177, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$177, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$177, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$177, DW_AT_decl_line(0x87) .dwattr $C$DW$177, DW_AT_decl_column(0x0d) $C$DW$178 .dwtag DW_TAG_member .dwattr $C$DW$178, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$178, DW_AT_name("rsvd10") .dwattr $C$DW$178, DW_AT_TI_symbol_name("rsvd10") .dwattr $C$DW$178, DW_AT_bit_offset(0x00) .dwattr $C$DW$178, DW_AT_bit_size(0x16) .dwattr $C$DW$178, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$178, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$178, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$178, DW_AT_decl_line(0x88) .dwattr $C$DW$178, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$43, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$43, DW_AT_decl_line(0x86) .dwattr $C$DW$T$43, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$43 $C$DW$T$153 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$153, DW_AT_type(*$C$DW$T$43) $C$DW$T$44 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$44, DW_AT_byte_size(0x04) $C$DW$179 .dwtag DW_TAG_member .dwattr $C$DW$179, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$179, DW_AT_name("HINT_EN_SET_IDX") .dwattr $C$DW$179, DW_AT_TI_symbol_name("HINT_EN_SET_IDX") .dwattr $C$DW$179, DW_AT_bit_offset(0x1c) .dwattr $C$DW$179, DW_AT_bit_size(0x04) .dwattr $C$DW$179, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$179, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$179, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$179, DW_AT_decl_line(0x95) .dwattr $C$DW$179, DW_AT_decl_column(0x0d) $C$DW$180 .dwtag DW_TAG_member .dwattr $C$DW$180, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$180, DW_AT_name("rsvd4") .dwattr $C$DW$180, DW_AT_TI_symbol_name("rsvd4") .dwattr $C$DW$180, DW_AT_bit_offset(0x00) .dwattr $C$DW$180, DW_AT_bit_size(0x1c) .dwattr $C$DW$180, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$180, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$180, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$180, DW_AT_decl_line(0x96) .dwattr $C$DW$180, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$44, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$44, DW_AT_decl_line(0x94) .dwattr $C$DW$T$44, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$44 $C$DW$T$155 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$155, DW_AT_type(*$C$DW$T$44) $C$DW$T$45 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$45, DW_AT_byte_size(0x04) $C$DW$181 .dwtag DW_TAG_member .dwattr $C$DW$181, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$181, DW_AT_name("HINT_EN_CLR_IDX") .dwattr $C$DW$181, DW_AT_TI_symbol_name("HINT_EN_CLR_IDX") .dwattr $C$DW$181, DW_AT_bit_offset(0x1c) .dwattr $C$DW$181, DW_AT_bit_size(0x04) .dwattr $C$DW$181, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$181, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$181, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$181, DW_AT_decl_line(0xa0) .dwattr $C$DW$181, DW_AT_decl_column(0x0d) $C$DW$182 .dwtag DW_TAG_member .dwattr $C$DW$182, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$182, DW_AT_name("rsvd4") .dwattr $C$DW$182, DW_AT_TI_symbol_name("rsvd4") .dwattr $C$DW$182, DW_AT_bit_offset(0x00) .dwattr $C$DW$182, DW_AT_bit_size(0x1c) .dwattr $C$DW$182, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$182, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$182, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$182, DW_AT_decl_line(0xa1) .dwattr $C$DW$182, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$45, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$45, DW_AT_decl_line(0x9f) .dwattr $C$DW$T$45, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$45 $C$DW$T$157 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$157, DW_AT_type(*$C$DW$T$45) $C$DW$T$46 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$46, DW_AT_byte_size(0x04) $C$DW$183 .dwtag DW_TAG_member .dwattr $C$DW$183, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$183, DW_AT_name("GLB_PRI_INTR") .dwattr $C$DW$183, DW_AT_TI_symbol_name("GLB_PRI_INTR") .dwattr $C$DW$183, DW_AT_bit_offset(0x16) .dwattr $C$DW$183, DW_AT_bit_size(0x0a) .dwattr $C$DW$183, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$183, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$183, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$183, DW_AT_decl_line(0xae) .dwattr $C$DW$183, DW_AT_decl_column(0x0d) $C$DW$184 .dwtag DW_TAG_member .dwattr $C$DW$184, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$184, DW_AT_name("rsvd10") .dwattr $C$DW$184, DW_AT_TI_symbol_name("rsvd10") .dwattr $C$DW$184, DW_AT_bit_offset(0x01) .dwattr $C$DW$184, DW_AT_bit_size(0x15) .dwattr $C$DW$184, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$184, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$184, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$184, DW_AT_decl_line(0xaf) .dwattr $C$DW$184, DW_AT_decl_column(0x0d) $C$DW$185 .dwtag DW_TAG_member .dwattr $C$DW$185, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$185, DW_AT_name("GLB_NONE") .dwattr $C$DW$185, DW_AT_TI_symbol_name("GLB_NONE") .dwattr $C$DW$185, DW_AT_bit_offset(0x00) .dwattr $C$DW$185, DW_AT_bit_size(0x01) .dwattr $C$DW$185, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$185, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$185, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$185, DW_AT_decl_line(0xb0) .dwattr $C$DW$185, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$46, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$46, DW_AT_decl_line(0xad) .dwattr $C$DW$T$46, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$46 $C$DW$T$159 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$159, DW_AT_type(*$C$DW$T$46) $C$DW$T$47 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$47, DW_AT_byte_size(0x04) $C$DW$186 .dwtag DW_TAG_member .dwattr $C$DW$186, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$186, DW_AT_name("RAW_STS_31_0") .dwattr $C$DW$186, DW_AT_TI_symbol_name("RAW_STS_31_0") .dwattr $C$DW$186, DW_AT_bit_offset(0x00) .dwattr $C$DW$186, DW_AT_bit_size(0x20) .dwattr $C$DW$186, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$186, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$186, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$186, DW_AT_decl_line(0xbd) .dwattr $C$DW$186, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$47, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$47, DW_AT_decl_line(0xbc) .dwattr $C$DW$T$47, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$47 $C$DW$T$161 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$161, DW_AT_type(*$C$DW$T$47) $C$DW$T$48 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$48, DW_AT_byte_size(0x04) $C$DW$187 .dwtag DW_TAG_member .dwattr $C$DW$187, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$187, DW_AT_name("RAW_STS_63_32") .dwattr $C$DW$187, DW_AT_TI_symbol_name("RAW_STS_63_32") .dwattr $C$DW$187, DW_AT_bit_offset(0x00) .dwattr $C$DW$187, DW_AT_bit_size(0x20) .dwattr $C$DW$187, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$187, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$187, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$187, DW_AT_decl_line(0xc7) .dwattr $C$DW$187, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$48, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$48, DW_AT_decl_line(0xc6) .dwattr $C$DW$T$48, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$48 $C$DW$T$163 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$163, DW_AT_type(*$C$DW$T$48) $C$DW$T$49 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$49, DW_AT_byte_size(0x04) $C$DW$188 .dwtag DW_TAG_member .dwattr $C$DW$188, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$188, DW_AT_name("ENA_STS_31_0") .dwattr $C$DW$188, DW_AT_TI_symbol_name("ENA_STS_31_0") .dwattr $C$DW$188, DW_AT_bit_offset(0x00) .dwattr $C$DW$188, DW_AT_bit_size(0x20) .dwattr $C$DW$188, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$188, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$188, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$188, DW_AT_decl_line(0xd4) .dwattr $C$DW$188, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$49, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$49, DW_AT_decl_line(0xd3) .dwattr $C$DW$T$49, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$49 $C$DW$T$165 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$165, DW_AT_type(*$C$DW$T$49) $C$DW$T$50 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$50, DW_AT_byte_size(0x04) $C$DW$189 .dwtag DW_TAG_member .dwattr $C$DW$189, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$189, DW_AT_name("ENA_STS_63_32") .dwattr $C$DW$189, DW_AT_TI_symbol_name("ENA_STS_63_32") .dwattr $C$DW$189, DW_AT_bit_offset(0x00) .dwattr $C$DW$189, DW_AT_bit_size(0x20) .dwattr $C$DW$189, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$189, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$189, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$189, DW_AT_decl_line(0xde) .dwattr $C$DW$189, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$50, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$50, DW_AT_decl_line(0xdd) .dwattr $C$DW$T$50, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$50 $C$DW$T$167 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$167, DW_AT_type(*$C$DW$T$50) $C$DW$T$51 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$51, DW_AT_byte_size(0x04) $C$DW$190 .dwtag DW_TAG_member .dwattr $C$DW$190, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$190, DW_AT_name("EN_SET_31_0") .dwattr $C$DW$190, DW_AT_TI_symbol_name("EN_SET_31_0") .dwattr $C$DW$190, DW_AT_bit_offset(0x00) .dwattr $C$DW$190, DW_AT_bit_size(0x20) .dwattr $C$DW$190, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$190, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$190, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$190, DW_AT_decl_line(0xeb) .dwattr $C$DW$190, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$51, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$51, DW_AT_decl_line(0xea) .dwattr $C$DW$T$51, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$51 $C$DW$T$169 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$169, DW_AT_type(*$C$DW$T$51) $C$DW$T$52 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$52, DW_AT_byte_size(0x04) $C$DW$191 .dwtag DW_TAG_member .dwattr $C$DW$191, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$191, DW_AT_name("EN_SET_63_32") .dwattr $C$DW$191, DW_AT_TI_symbol_name("EN_SET_63_32") .dwattr $C$DW$191, DW_AT_bit_offset(0x00) .dwattr $C$DW$191, DW_AT_bit_size(0x20) .dwattr $C$DW$191, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$191, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$191, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$191, DW_AT_decl_line(0xf5) .dwattr $C$DW$191, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$52, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$52, DW_AT_decl_line(0xf4) .dwattr $C$DW$T$52, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$52 $C$DW$T$171 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$171, DW_AT_type(*$C$DW$T$52) $C$DW$T$53 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$53, DW_AT_byte_size(0x04) $C$DW$192 .dwtag DW_TAG_member .dwattr $C$DW$192, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$192, DW_AT_name("EN_CLR_31_0") .dwattr $C$DW$192, DW_AT_TI_symbol_name("EN_CLR_31_0") .dwattr $C$DW$192, DW_AT_bit_offset(0x00) .dwattr $C$DW$192, DW_AT_bit_size(0x20) .dwattr $C$DW$192, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$192, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$192, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$192, DW_AT_decl_line(0x102) .dwattr $C$DW$192, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$53, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$53, DW_AT_decl_line(0x101) .dwattr $C$DW$T$53, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$53 $C$DW$T$173 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$173, DW_AT_type(*$C$DW$T$53) $C$DW$T$54 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$54, DW_AT_byte_size(0x04) $C$DW$193 .dwtag DW_TAG_member .dwattr $C$DW$193, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$193, DW_AT_name("EN_CLR_63_32") .dwattr $C$DW$193, DW_AT_TI_symbol_name("EN_CLR_63_32") .dwattr $C$DW$193, DW_AT_bit_offset(0x00) .dwattr $C$DW$193, DW_AT_bit_size(0x20) .dwattr $C$DW$193, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$193, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$193, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$193, DW_AT_decl_line(0x10c) .dwattr $C$DW$193, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$54, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$54, DW_AT_decl_line(0x10b) .dwattr $C$DW$T$54, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$54 $C$DW$T$175 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$175, DW_AT_type(*$C$DW$T$54) $C$DW$T$55 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$55, DW_AT_byte_size(0x04) $C$DW$194 .dwtag DW_TAG_member .dwattr $C$DW$194, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$194, DW_AT_name("CH_MAP_0") .dwattr $C$DW$194, DW_AT_TI_symbol_name("CH_MAP_0") .dwattr $C$DW$194, DW_AT_bit_offset(0x1c) .dwattr $C$DW$194, DW_AT_bit_size(0x04) .dwattr $C$DW$194, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$194, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$194, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$194, DW_AT_decl_line(0x119) .dwattr $C$DW$194, DW_AT_decl_column(0x0d) $C$DW$195 .dwtag DW_TAG_member .dwattr $C$DW$195, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$195, DW_AT_name("rsvd4") .dwattr $C$DW$195, DW_AT_TI_symbol_name("rsvd4") .dwattr $C$DW$195, DW_AT_bit_offset(0x18) .dwattr $C$DW$195, DW_AT_bit_size(0x04) .dwattr $C$DW$195, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$195, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$195, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$195, DW_AT_decl_line(0x11a) .dwattr $C$DW$195, DW_AT_decl_column(0x0d) $C$DW$196 .dwtag DW_TAG_member .dwattr $C$DW$196, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$196, DW_AT_name("CH_MAP_1") .dwattr $C$DW$196, DW_AT_TI_symbol_name("CH_MAP_1") .dwattr $C$DW$196, DW_AT_bit_offset(0x14) .dwattr $C$DW$196, DW_AT_bit_size(0x04) .dwattr $C$DW$196, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$196, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$196, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$196, DW_AT_decl_line(0x11b) .dwattr $C$DW$196, DW_AT_decl_column(0x0d) $C$DW$197 .dwtag DW_TAG_member .dwattr $C$DW$197, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$197, DW_AT_name("rsvd12") .dwattr $C$DW$197, DW_AT_TI_symbol_name("rsvd12") .dwattr $C$DW$197, DW_AT_bit_offset(0x10) .dwattr $C$DW$197, DW_AT_bit_size(0x04) .dwattr $C$DW$197, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$197, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$197, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$197, DW_AT_decl_line(0x11c) .dwattr $C$DW$197, DW_AT_decl_column(0x0d) $C$DW$198 .dwtag DW_TAG_member .dwattr $C$DW$198, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$198, DW_AT_name("CH_MAP_2") .dwattr $C$DW$198, DW_AT_TI_symbol_name("CH_MAP_2") .dwattr $C$DW$198, DW_AT_bit_offset(0x0c) .dwattr $C$DW$198, DW_AT_bit_size(0x04) .dwattr $C$DW$198, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$198, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$198, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$198, DW_AT_decl_line(0x11d) .dwattr $C$DW$198, DW_AT_decl_column(0x0d) $C$DW$199 .dwtag DW_TAG_member .dwattr $C$DW$199, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$199, DW_AT_name("rsvd20") .dwattr $C$DW$199, DW_AT_TI_symbol_name("rsvd20") .dwattr $C$DW$199, DW_AT_bit_offset(0x08) .dwattr $C$DW$199, DW_AT_bit_size(0x04) .dwattr $C$DW$199, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$199, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$199, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$199, DW_AT_decl_line(0x11e) .dwattr $C$DW$199, DW_AT_decl_column(0x0d) $C$DW$200 .dwtag DW_TAG_member .dwattr $C$DW$200, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$200, DW_AT_name("CH_MAP_3") .dwattr $C$DW$200, DW_AT_TI_symbol_name("CH_MAP_3") .dwattr $C$DW$200, DW_AT_bit_offset(0x04) .dwattr $C$DW$200, DW_AT_bit_size(0x04) .dwattr $C$DW$200, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$200, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$200, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$200, DW_AT_decl_line(0x11f) .dwattr $C$DW$200, DW_AT_decl_column(0x0d) $C$DW$201 .dwtag DW_TAG_member .dwattr $C$DW$201, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$201, DW_AT_name("rsvd28") .dwattr $C$DW$201, DW_AT_TI_symbol_name("rsvd28") .dwattr $C$DW$201, DW_AT_bit_offset(0x00) .dwattr $C$DW$201, DW_AT_bit_size(0x04) .dwattr $C$DW$201, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$201, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$201, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$201, DW_AT_decl_line(0x120) .dwattr $C$DW$201, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$55, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$55, DW_AT_decl_line(0x118) .dwattr $C$DW$T$55, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$55 $C$DW$T$177 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$177, DW_AT_type(*$C$DW$T$55) $C$DW$T$56 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$56, DW_AT_byte_size(0x04) $C$DW$202 .dwtag DW_TAG_member .dwattr $C$DW$202, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$202, DW_AT_name("CH_MAP_4") .dwattr $C$DW$202, DW_AT_TI_symbol_name("CH_MAP_4") .dwattr $C$DW$202, DW_AT_bit_offset(0x1c) .dwattr $C$DW$202, DW_AT_bit_size(0x04) .dwattr $C$DW$202, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$202, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$202, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$202, DW_AT_decl_line(0x12a) .dwattr $C$DW$202, DW_AT_decl_column(0x0d) $C$DW$203 .dwtag DW_TAG_member .dwattr $C$DW$203, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$203, DW_AT_name("rsvd4") .dwattr $C$DW$203, DW_AT_TI_symbol_name("rsvd4") .dwattr $C$DW$203, DW_AT_bit_offset(0x18) .dwattr $C$DW$203, DW_AT_bit_size(0x04) .dwattr $C$DW$203, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$203, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$203, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$203, DW_AT_decl_line(0x12b) .dwattr $C$DW$203, DW_AT_decl_column(0x0d) $C$DW$204 .dwtag DW_TAG_member .dwattr $C$DW$204, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$204, DW_AT_name("CH_MAP_5") .dwattr $C$DW$204, DW_AT_TI_symbol_name("CH_MAP_5") .dwattr $C$DW$204, DW_AT_bit_offset(0x14) .dwattr $C$DW$204, DW_AT_bit_size(0x04) .dwattr $C$DW$204, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$204, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$204, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$204, DW_AT_decl_line(0x12c) .dwattr $C$DW$204, DW_AT_decl_column(0x0d) $C$DW$205 .dwtag DW_TAG_member .dwattr $C$DW$205, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$205, DW_AT_name("rsvd12") .dwattr $C$DW$205, DW_AT_TI_symbol_name("rsvd12") .dwattr $C$DW$205, DW_AT_bit_offset(0x10) .dwattr $C$DW$205, DW_AT_bit_size(0x04) .dwattr $C$DW$205, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$205, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$205, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$205, DW_AT_decl_line(0x12d) .dwattr $C$DW$205, DW_AT_decl_column(0x0d) $C$DW$206 .dwtag DW_TAG_member .dwattr $C$DW$206, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$206, DW_AT_name("CH_MAP_6") .dwattr $C$DW$206, DW_AT_TI_symbol_name("CH_MAP_6") .dwattr $C$DW$206, DW_AT_bit_offset(0x0c) .dwattr $C$DW$206, DW_AT_bit_size(0x04) .dwattr $C$DW$206, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$206, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$206, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$206, DW_AT_decl_line(0x12e) .dwattr $C$DW$206, DW_AT_decl_column(0x0d) $C$DW$207 .dwtag DW_TAG_member .dwattr $C$DW$207, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$207, DW_AT_name("rsvd20") .dwattr $C$DW$207, DW_AT_TI_symbol_name("rsvd20") .dwattr $C$DW$207, DW_AT_bit_offset(0x08) .dwattr $C$DW$207, DW_AT_bit_size(0x04) .dwattr $C$DW$207, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$207, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$207, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$207, DW_AT_decl_line(0x12f) .dwattr $C$DW$207, DW_AT_decl_column(0x0d) $C$DW$208 .dwtag DW_TAG_member .dwattr $C$DW$208, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$208, DW_AT_name("CH_MAP_7") .dwattr $C$DW$208, DW_AT_TI_symbol_name("CH_MAP_7") .dwattr $C$DW$208, DW_AT_bit_offset(0x04) .dwattr $C$DW$208, DW_AT_bit_size(0x04) .dwattr $C$DW$208, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$208, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$208, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$208, DW_AT_decl_line(0x130) .dwattr $C$DW$208, DW_AT_decl_column(0x0d) $C$DW$209 .dwtag DW_TAG_member .dwattr $C$DW$209, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$209, DW_AT_name("rsvd28") .dwattr $C$DW$209, DW_AT_TI_symbol_name("rsvd28") .dwattr $C$DW$209, DW_AT_bit_offset(0x00) .dwattr $C$DW$209, DW_AT_bit_size(0x04) .dwattr $C$DW$209, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$209, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$209, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$209, DW_AT_decl_line(0x131) .dwattr $C$DW$209, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$56, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$56, DW_AT_decl_line(0x129) .dwattr $C$DW$T$56, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$56 $C$DW$T$179 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$179, DW_AT_type(*$C$DW$T$56) $C$DW$T$57 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$57, DW_AT_byte_size(0x04) $C$DW$210 .dwtag DW_TAG_member .dwattr $C$DW$210, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$210, DW_AT_name("CH_MAP_8") .dwattr $C$DW$210, DW_AT_TI_symbol_name("CH_MAP_8") .dwattr $C$DW$210, DW_AT_bit_offset(0x1c) .dwattr $C$DW$210, DW_AT_bit_size(0x04) .dwattr $C$DW$210, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$210, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$210, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$210, DW_AT_decl_line(0x13b) .dwattr $C$DW$210, DW_AT_decl_column(0x0d) $C$DW$211 .dwtag DW_TAG_member .dwattr $C$DW$211, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$211, DW_AT_name("rsvd4") .dwattr $C$DW$211, DW_AT_TI_symbol_name("rsvd4") .dwattr $C$DW$211, DW_AT_bit_offset(0x18) .dwattr $C$DW$211, DW_AT_bit_size(0x04) .dwattr $C$DW$211, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$211, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$211, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$211, DW_AT_decl_line(0x13c) .dwattr $C$DW$211, DW_AT_decl_column(0x0d) $C$DW$212 .dwtag DW_TAG_member .dwattr $C$DW$212, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$212, DW_AT_name("CH_MAP_9") .dwattr $C$DW$212, DW_AT_TI_symbol_name("CH_MAP_9") .dwattr $C$DW$212, DW_AT_bit_offset(0x14) .dwattr $C$DW$212, DW_AT_bit_size(0x04) .dwattr $C$DW$212, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$212, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$212, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$212, DW_AT_decl_line(0x13d) .dwattr $C$DW$212, DW_AT_decl_column(0x0d) $C$DW$213 .dwtag DW_TAG_member .dwattr $C$DW$213, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$213, DW_AT_name("rsvd12") .dwattr $C$DW$213, DW_AT_TI_symbol_name("rsvd12") .dwattr $C$DW$213, DW_AT_bit_offset(0x10) .dwattr $C$DW$213, DW_AT_bit_size(0x04) .dwattr $C$DW$213, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$213, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$213, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$213, DW_AT_decl_line(0x13e) .dwattr $C$DW$213, DW_AT_decl_column(0x0d) $C$DW$214 .dwtag DW_TAG_member .dwattr $C$DW$214, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$214, DW_AT_name("CH_MAP_10") .dwattr $C$DW$214, DW_AT_TI_symbol_name("CH_MAP_10") .dwattr $C$DW$214, DW_AT_bit_offset(0x0c) .dwattr $C$DW$214, DW_AT_bit_size(0x04) .dwattr $C$DW$214, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$214, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$214, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$214, DW_AT_decl_line(0x13f) .dwattr $C$DW$214, DW_AT_decl_column(0x0d) $C$DW$215 .dwtag DW_TAG_member .dwattr $C$DW$215, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$215, DW_AT_name("rsvd20") .dwattr $C$DW$215, DW_AT_TI_symbol_name("rsvd20") .dwattr $C$DW$215, DW_AT_bit_offset(0x08) .dwattr $C$DW$215, DW_AT_bit_size(0x04) .dwattr $C$DW$215, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$215, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$215, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$215, DW_AT_decl_line(0x140) .dwattr $C$DW$215, DW_AT_decl_column(0x0d) $C$DW$216 .dwtag DW_TAG_member .dwattr $C$DW$216, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$216, DW_AT_name("CH_MAP_11") .dwattr $C$DW$216, DW_AT_TI_symbol_name("CH_MAP_11") .dwattr $C$DW$216, DW_AT_bit_offset(0x04) .dwattr $C$DW$216, DW_AT_bit_size(0x04) .dwattr $C$DW$216, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$216, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$216, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$216, DW_AT_decl_line(0x141) .dwattr $C$DW$216, DW_AT_decl_column(0x0d) $C$DW$217 .dwtag DW_TAG_member .dwattr $C$DW$217, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$217, DW_AT_name("rsvd28") .dwattr $C$DW$217, DW_AT_TI_symbol_name("rsvd28") .dwattr $C$DW$217, DW_AT_bit_offset(0x00) .dwattr $C$DW$217, DW_AT_bit_size(0x04) .dwattr $C$DW$217, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$217, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$217, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$217, DW_AT_decl_line(0x142) .dwattr $C$DW$217, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$57, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$57, DW_AT_decl_line(0x13a) .dwattr $C$DW$T$57, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$57 $C$DW$T$181 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$181, DW_AT_type(*$C$DW$T$57) $C$DW$T$58 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$58, DW_AT_byte_size(0x04) $C$DW$218 .dwtag DW_TAG_member .dwattr $C$DW$218, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$218, DW_AT_name("CH_MAP_12") .dwattr $C$DW$218, DW_AT_TI_symbol_name("CH_MAP_12") .dwattr $C$DW$218, DW_AT_bit_offset(0x1c) .dwattr $C$DW$218, DW_AT_bit_size(0x04) .dwattr $C$DW$218, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$218, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$218, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$218, DW_AT_decl_line(0x14c) .dwattr $C$DW$218, DW_AT_decl_column(0x0d) $C$DW$219 .dwtag DW_TAG_member .dwattr $C$DW$219, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$219, DW_AT_name("rsvd4") .dwattr $C$DW$219, DW_AT_TI_symbol_name("rsvd4") .dwattr $C$DW$219, DW_AT_bit_offset(0x18) .dwattr $C$DW$219, DW_AT_bit_size(0x04) .dwattr $C$DW$219, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$219, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$219, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$219, DW_AT_decl_line(0x14d) .dwattr $C$DW$219, DW_AT_decl_column(0x0d) $C$DW$220 .dwtag DW_TAG_member .dwattr $C$DW$220, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$220, DW_AT_name("CH_MAP_13") .dwattr $C$DW$220, DW_AT_TI_symbol_name("CH_MAP_13") .dwattr $C$DW$220, DW_AT_bit_offset(0x14) .dwattr $C$DW$220, DW_AT_bit_size(0x04) .dwattr $C$DW$220, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$220, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$220, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$220, DW_AT_decl_line(0x14e) .dwattr $C$DW$220, DW_AT_decl_column(0x0d) $C$DW$221 .dwtag DW_TAG_member .dwattr $C$DW$221, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$221, DW_AT_name("rsvd12") .dwattr $C$DW$221, DW_AT_TI_symbol_name("rsvd12") .dwattr $C$DW$221, DW_AT_bit_offset(0x10) .dwattr $C$DW$221, DW_AT_bit_size(0x04) .dwattr $C$DW$221, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$221, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$221, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$221, DW_AT_decl_line(0x14f) .dwattr $C$DW$221, DW_AT_decl_column(0x0d) $C$DW$222 .dwtag DW_TAG_member .dwattr $C$DW$222, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$222, DW_AT_name("CH_MAP_14") .dwattr $C$DW$222, DW_AT_TI_symbol_name("CH_MAP_14") .dwattr $C$DW$222, DW_AT_bit_offset(0x0c) .dwattr $C$DW$222, DW_AT_bit_size(0x04) .dwattr $C$DW$222, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$222, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$222, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$222, DW_AT_decl_line(0x150) .dwattr $C$DW$222, DW_AT_decl_column(0x0d) $C$DW$223 .dwtag DW_TAG_member .dwattr $C$DW$223, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$223, DW_AT_name("rsvd20") .dwattr $C$DW$223, DW_AT_TI_symbol_name("rsvd20") .dwattr $C$DW$223, DW_AT_bit_offset(0x08) .dwattr $C$DW$223, DW_AT_bit_size(0x04) .dwattr $C$DW$223, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$223, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$223, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$223, DW_AT_decl_line(0x151) .dwattr $C$DW$223, DW_AT_decl_column(0x0d) $C$DW$224 .dwtag DW_TAG_member .dwattr $C$DW$224, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$224, DW_AT_name("CH_MAP_15") .dwattr $C$DW$224, DW_AT_TI_symbol_name("CH_MAP_15") .dwattr $C$DW$224, DW_AT_bit_offset(0x04) .dwattr $C$DW$224, DW_AT_bit_size(0x04) .dwattr $C$DW$224, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$224, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$224, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$224, DW_AT_decl_line(0x152) .dwattr $C$DW$224, DW_AT_decl_column(0x0d) $C$DW$225 .dwtag DW_TAG_member .dwattr $C$DW$225, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$225, DW_AT_name("rsvd28") .dwattr $C$DW$225, DW_AT_TI_symbol_name("rsvd28") .dwattr $C$DW$225, DW_AT_bit_offset(0x00) .dwattr $C$DW$225, DW_AT_bit_size(0x04) .dwattr $C$DW$225, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$225, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$225, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$225, DW_AT_decl_line(0x153) .dwattr $C$DW$225, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$58, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$58, DW_AT_decl_line(0x14b) .dwattr $C$DW$T$58, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$58 $C$DW$T$183 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$183, DW_AT_type(*$C$DW$T$58) $C$DW$T$59 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$59, DW_AT_byte_size(0x04) $C$DW$226 .dwtag DW_TAG_member .dwattr $C$DW$226, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$226, DW_AT_name("CH_MAP_16") .dwattr $C$DW$226, DW_AT_TI_symbol_name("CH_MAP_16") .dwattr $C$DW$226, DW_AT_bit_offset(0x1c) .dwattr $C$DW$226, DW_AT_bit_size(0x04) .dwattr $C$DW$226, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$226, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$226, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$226, DW_AT_decl_line(0x15d) .dwattr $C$DW$226, DW_AT_decl_column(0x0d) $C$DW$227 .dwtag DW_TAG_member .dwattr $C$DW$227, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$227, DW_AT_name("rsvd4") .dwattr $C$DW$227, DW_AT_TI_symbol_name("rsvd4") .dwattr $C$DW$227, DW_AT_bit_offset(0x18) .dwattr $C$DW$227, DW_AT_bit_size(0x04) .dwattr $C$DW$227, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$227, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$227, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$227, DW_AT_decl_line(0x15e) .dwattr $C$DW$227, DW_AT_decl_column(0x0d) $C$DW$228 .dwtag DW_TAG_member .dwattr $C$DW$228, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$228, DW_AT_name("CH_MAP_17") .dwattr $C$DW$228, DW_AT_TI_symbol_name("CH_MAP_17") .dwattr $C$DW$228, DW_AT_bit_offset(0x14) .dwattr $C$DW$228, DW_AT_bit_size(0x04) .dwattr $C$DW$228, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$228, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$228, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$228, DW_AT_decl_line(0x15f) .dwattr $C$DW$228, DW_AT_decl_column(0x0d) $C$DW$229 .dwtag DW_TAG_member .dwattr $C$DW$229, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$229, DW_AT_name("rsvd12") .dwattr $C$DW$229, DW_AT_TI_symbol_name("rsvd12") .dwattr $C$DW$229, DW_AT_bit_offset(0x10) .dwattr $C$DW$229, DW_AT_bit_size(0x04) .dwattr $C$DW$229, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$229, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$229, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$229, DW_AT_decl_line(0x160) .dwattr $C$DW$229, DW_AT_decl_column(0x0d) $C$DW$230 .dwtag DW_TAG_member .dwattr $C$DW$230, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$230, DW_AT_name("CH_MAP_18") .dwattr $C$DW$230, DW_AT_TI_symbol_name("CH_MAP_18") .dwattr $C$DW$230, DW_AT_bit_offset(0x0c) .dwattr $C$DW$230, DW_AT_bit_size(0x04) .dwattr $C$DW$230, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$230, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$230, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$230, DW_AT_decl_line(0x161) .dwattr $C$DW$230, DW_AT_decl_column(0x0d) $C$DW$231 .dwtag DW_TAG_member .dwattr $C$DW$231, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$231, DW_AT_name("rsvd20") .dwattr $C$DW$231, DW_AT_TI_symbol_name("rsvd20") .dwattr $C$DW$231, DW_AT_bit_offset(0x08) .dwattr $C$DW$231, DW_AT_bit_size(0x04) .dwattr $C$DW$231, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$231, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$231, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$231, DW_AT_decl_line(0x162) .dwattr $C$DW$231, DW_AT_decl_column(0x0d) $C$DW$232 .dwtag DW_TAG_member .dwattr $C$DW$232, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$232, DW_AT_name("CH_MAP_19") .dwattr $C$DW$232, DW_AT_TI_symbol_name("CH_MAP_19") .dwattr $C$DW$232, DW_AT_bit_offset(0x04) .dwattr $C$DW$232, DW_AT_bit_size(0x04) .dwattr $C$DW$232, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$232, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$232, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$232, DW_AT_decl_line(0x163) .dwattr $C$DW$232, DW_AT_decl_column(0x0d) $C$DW$233 .dwtag DW_TAG_member .dwattr $C$DW$233, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$233, DW_AT_name("rsvd28") .dwattr $C$DW$233, DW_AT_TI_symbol_name("rsvd28") .dwattr $C$DW$233, DW_AT_bit_offset(0x00) .dwattr $C$DW$233, DW_AT_bit_size(0x04) .dwattr $C$DW$233, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$233, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$233, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$233, DW_AT_decl_line(0x164) .dwattr $C$DW$233, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$59, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$59, DW_AT_decl_line(0x15c) .dwattr $C$DW$T$59, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$59 $C$DW$T$185 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$185, DW_AT_type(*$C$DW$T$59) $C$DW$T$60 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$60, DW_AT_byte_size(0x04) $C$DW$234 .dwtag DW_TAG_member .dwattr $C$DW$234, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$234, DW_AT_name("CH_MAP_20") .dwattr $C$DW$234, DW_AT_TI_symbol_name("CH_MAP_20") .dwattr $C$DW$234, DW_AT_bit_offset(0x1c) .dwattr $C$DW$234, DW_AT_bit_size(0x04) .dwattr $C$DW$234, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$234, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$234, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$234, DW_AT_decl_line(0x16e) .dwattr $C$DW$234, DW_AT_decl_column(0x0d) $C$DW$235 .dwtag DW_TAG_member .dwattr $C$DW$235, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$235, DW_AT_name("rsvd4") .dwattr $C$DW$235, DW_AT_TI_symbol_name("rsvd4") .dwattr $C$DW$235, DW_AT_bit_offset(0x18) .dwattr $C$DW$235, DW_AT_bit_size(0x04) .dwattr $C$DW$235, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$235, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$235, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$235, DW_AT_decl_line(0x16f) .dwattr $C$DW$235, DW_AT_decl_column(0x0d) $C$DW$236 .dwtag DW_TAG_member .dwattr $C$DW$236, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$236, DW_AT_name("CH_MAP_21") .dwattr $C$DW$236, DW_AT_TI_symbol_name("CH_MAP_21") .dwattr $C$DW$236, DW_AT_bit_offset(0x14) .dwattr $C$DW$236, DW_AT_bit_size(0x04) .dwattr $C$DW$236, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$236, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$236, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$236, DW_AT_decl_line(0x170) .dwattr $C$DW$236, DW_AT_decl_column(0x0d) $C$DW$237 .dwtag DW_TAG_member .dwattr $C$DW$237, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$237, DW_AT_name("rsvd12") .dwattr $C$DW$237, DW_AT_TI_symbol_name("rsvd12") .dwattr $C$DW$237, DW_AT_bit_offset(0x10) .dwattr $C$DW$237, DW_AT_bit_size(0x04) .dwattr $C$DW$237, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$237, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$237, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$237, DW_AT_decl_line(0x171) .dwattr $C$DW$237, DW_AT_decl_column(0x0d) $C$DW$238 .dwtag DW_TAG_member .dwattr $C$DW$238, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$238, DW_AT_name("CH_MAP_22") .dwattr $C$DW$238, DW_AT_TI_symbol_name("CH_MAP_22") .dwattr $C$DW$238, DW_AT_bit_offset(0x0c) .dwattr $C$DW$238, DW_AT_bit_size(0x04) .dwattr $C$DW$238, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$238, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$238, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$238, DW_AT_decl_line(0x172) .dwattr $C$DW$238, DW_AT_decl_column(0x0d) $C$DW$239 .dwtag DW_TAG_member .dwattr $C$DW$239, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$239, DW_AT_name("rsvd20") .dwattr $C$DW$239, DW_AT_TI_symbol_name("rsvd20") .dwattr $C$DW$239, DW_AT_bit_offset(0x08) .dwattr $C$DW$239, DW_AT_bit_size(0x04) .dwattr $C$DW$239, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$239, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$239, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$239, DW_AT_decl_line(0x173) .dwattr $C$DW$239, DW_AT_decl_column(0x0d) $C$DW$240 .dwtag DW_TAG_member .dwattr $C$DW$240, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$240, DW_AT_name("CH_MAP_23") .dwattr $C$DW$240, DW_AT_TI_symbol_name("CH_MAP_23") .dwattr $C$DW$240, DW_AT_bit_offset(0x04) .dwattr $C$DW$240, DW_AT_bit_size(0x04) .dwattr $C$DW$240, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$240, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$240, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$240, DW_AT_decl_line(0x174) .dwattr $C$DW$240, DW_AT_decl_column(0x0d) $C$DW$241 .dwtag DW_TAG_member .dwattr $C$DW$241, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$241, DW_AT_name("rsvd28") .dwattr $C$DW$241, DW_AT_TI_symbol_name("rsvd28") .dwattr $C$DW$241, DW_AT_bit_offset(0x00) .dwattr $C$DW$241, DW_AT_bit_size(0x04) .dwattr $C$DW$241, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$241, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$241, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$241, DW_AT_decl_line(0x175) .dwattr $C$DW$241, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$60, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$60, DW_AT_decl_line(0x16d) .dwattr $C$DW$T$60, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$60 $C$DW$T$187 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$187, DW_AT_type(*$C$DW$T$60) $C$DW$T$61 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$61, DW_AT_byte_size(0x04) $C$DW$242 .dwtag DW_TAG_member .dwattr $C$DW$242, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$242, DW_AT_name("CH_MAP_24") .dwattr $C$DW$242, DW_AT_TI_symbol_name("CH_MAP_24") .dwattr $C$DW$242, DW_AT_bit_offset(0x1c) .dwattr $C$DW$242, DW_AT_bit_size(0x04) .dwattr $C$DW$242, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$242, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$242, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$242, DW_AT_decl_line(0x17f) .dwattr $C$DW$242, DW_AT_decl_column(0x0d) $C$DW$243 .dwtag DW_TAG_member .dwattr $C$DW$243, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$243, DW_AT_name("rsvd4") .dwattr $C$DW$243, DW_AT_TI_symbol_name("rsvd4") .dwattr $C$DW$243, DW_AT_bit_offset(0x18) .dwattr $C$DW$243, DW_AT_bit_size(0x04) .dwattr $C$DW$243, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$243, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$243, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$243, DW_AT_decl_line(0x180) .dwattr $C$DW$243, DW_AT_decl_column(0x0d) $C$DW$244 .dwtag DW_TAG_member .dwattr $C$DW$244, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$244, DW_AT_name("CH_MAP_25") .dwattr $C$DW$244, DW_AT_TI_symbol_name("CH_MAP_25") .dwattr $C$DW$244, DW_AT_bit_offset(0x14) .dwattr $C$DW$244, DW_AT_bit_size(0x04) .dwattr $C$DW$244, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$244, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$244, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$244, DW_AT_decl_line(0x181) .dwattr $C$DW$244, DW_AT_decl_column(0x0d) $C$DW$245 .dwtag DW_TAG_member .dwattr $C$DW$245, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$245, DW_AT_name("rsvd12") .dwattr $C$DW$245, DW_AT_TI_symbol_name("rsvd12") .dwattr $C$DW$245, DW_AT_bit_offset(0x10) .dwattr $C$DW$245, DW_AT_bit_size(0x04) .dwattr $C$DW$245, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$245, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$245, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$245, DW_AT_decl_line(0x182) .dwattr $C$DW$245, DW_AT_decl_column(0x0d) $C$DW$246 .dwtag DW_TAG_member .dwattr $C$DW$246, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$246, DW_AT_name("CH_MAP_26") .dwattr $C$DW$246, DW_AT_TI_symbol_name("CH_MAP_26") .dwattr $C$DW$246, DW_AT_bit_offset(0x0c) .dwattr $C$DW$246, DW_AT_bit_size(0x04) .dwattr $C$DW$246, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$246, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$246, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$246, DW_AT_decl_line(0x183) .dwattr $C$DW$246, DW_AT_decl_column(0x0d) $C$DW$247 .dwtag DW_TAG_member .dwattr $C$DW$247, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$247, DW_AT_name("rsvd20") .dwattr $C$DW$247, DW_AT_TI_symbol_name("rsvd20") .dwattr $C$DW$247, DW_AT_bit_offset(0x08) .dwattr $C$DW$247, DW_AT_bit_size(0x04) .dwattr $C$DW$247, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$247, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$247, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$247, DW_AT_decl_line(0x184) .dwattr $C$DW$247, DW_AT_decl_column(0x0d) $C$DW$248 .dwtag DW_TAG_member .dwattr $C$DW$248, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$248, DW_AT_name("CH_MAP_27") .dwattr $C$DW$248, DW_AT_TI_symbol_name("CH_MAP_27") .dwattr $C$DW$248, DW_AT_bit_offset(0x04) .dwattr $C$DW$248, DW_AT_bit_size(0x04) .dwattr $C$DW$248, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$248, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$248, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$248, DW_AT_decl_line(0x185) .dwattr $C$DW$248, DW_AT_decl_column(0x0d) $C$DW$249 .dwtag DW_TAG_member .dwattr $C$DW$249, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$249, DW_AT_name("rsvd28") .dwattr $C$DW$249, DW_AT_TI_symbol_name("rsvd28") .dwattr $C$DW$249, DW_AT_bit_offset(0x00) .dwattr $C$DW$249, DW_AT_bit_size(0x04) .dwattr $C$DW$249, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$249, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$249, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$249, DW_AT_decl_line(0x186) .dwattr $C$DW$249, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$61, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$61, DW_AT_decl_line(0x17e) .dwattr $C$DW$T$61, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$61 $C$DW$T$189 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$189, DW_AT_type(*$C$DW$T$61) $C$DW$T$62 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$62, DW_AT_byte_size(0x04) $C$DW$250 .dwtag DW_TAG_member .dwattr $C$DW$250, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$250, DW_AT_name("CH_MAP_28") .dwattr $C$DW$250, DW_AT_TI_symbol_name("CH_MAP_28") .dwattr $C$DW$250, DW_AT_bit_offset(0x1c) .dwattr $C$DW$250, DW_AT_bit_size(0x04) .dwattr $C$DW$250, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$250, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$250, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$250, DW_AT_decl_line(0x190) .dwattr $C$DW$250, DW_AT_decl_column(0x0d) $C$DW$251 .dwtag DW_TAG_member .dwattr $C$DW$251, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$251, DW_AT_name("rsvd4") .dwattr $C$DW$251, DW_AT_TI_symbol_name("rsvd4") .dwattr $C$DW$251, DW_AT_bit_offset(0x18) .dwattr $C$DW$251, DW_AT_bit_size(0x04) .dwattr $C$DW$251, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$251, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$251, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$251, DW_AT_decl_line(0x191) .dwattr $C$DW$251, DW_AT_decl_column(0x0d) $C$DW$252 .dwtag DW_TAG_member .dwattr $C$DW$252, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$252, DW_AT_name("CH_MAP_29") .dwattr $C$DW$252, DW_AT_TI_symbol_name("CH_MAP_29") .dwattr $C$DW$252, DW_AT_bit_offset(0x14) .dwattr $C$DW$252, DW_AT_bit_size(0x04) .dwattr $C$DW$252, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$252, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$252, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$252, DW_AT_decl_line(0x192) .dwattr $C$DW$252, DW_AT_decl_column(0x0d) $C$DW$253 .dwtag DW_TAG_member .dwattr $C$DW$253, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$253, DW_AT_name("rsvd12") .dwattr $C$DW$253, DW_AT_TI_symbol_name("rsvd12") .dwattr $C$DW$253, DW_AT_bit_offset(0x10) .dwattr $C$DW$253, DW_AT_bit_size(0x04) .dwattr $C$DW$253, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$253, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$253, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$253, DW_AT_decl_line(0x193) .dwattr $C$DW$253, DW_AT_decl_column(0x0d) $C$DW$254 .dwtag DW_TAG_member .dwattr $C$DW$254, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$254, DW_AT_name("CH_MAP_30") .dwattr $C$DW$254, DW_AT_TI_symbol_name("CH_MAP_30") .dwattr $C$DW$254, DW_AT_bit_offset(0x0c) .dwattr $C$DW$254, DW_AT_bit_size(0x04) .dwattr $C$DW$254, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$254, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$254, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$254, DW_AT_decl_line(0x194) .dwattr $C$DW$254, DW_AT_decl_column(0x0d) $C$DW$255 .dwtag DW_TAG_member .dwattr $C$DW$255, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$255, DW_AT_name("rsvd20") .dwattr $C$DW$255, DW_AT_TI_symbol_name("rsvd20") .dwattr $C$DW$255, DW_AT_bit_offset(0x08) .dwattr $C$DW$255, DW_AT_bit_size(0x04) .dwattr $C$DW$255, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$255, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$255, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$255, DW_AT_decl_line(0x195) .dwattr $C$DW$255, DW_AT_decl_column(0x0d) $C$DW$256 .dwtag DW_TAG_member .dwattr $C$DW$256, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$256, DW_AT_name("CH_MAP_31") .dwattr $C$DW$256, DW_AT_TI_symbol_name("CH_MAP_31") .dwattr $C$DW$256, DW_AT_bit_offset(0x04) .dwattr $C$DW$256, DW_AT_bit_size(0x04) .dwattr $C$DW$256, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$256, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$256, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$256, DW_AT_decl_line(0x196) .dwattr $C$DW$256, DW_AT_decl_column(0x0d) $C$DW$257 .dwtag DW_TAG_member .dwattr $C$DW$257, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$257, DW_AT_name("rsvd28") .dwattr $C$DW$257, DW_AT_TI_symbol_name("rsvd28") .dwattr $C$DW$257, DW_AT_bit_offset(0x00) .dwattr $C$DW$257, DW_AT_bit_size(0x04) .dwattr $C$DW$257, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$257, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$257, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$257, DW_AT_decl_line(0x197) .dwattr $C$DW$257, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$62, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$62, DW_AT_decl_line(0x18f) .dwattr $C$DW$T$62, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$62 $C$DW$T$191 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$191, DW_AT_type(*$C$DW$T$62) $C$DW$T$63 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$63, DW_AT_byte_size(0x04) $C$DW$258 .dwtag DW_TAG_member .dwattr $C$DW$258, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$258, DW_AT_name("CH_MAP_32") .dwattr $C$DW$258, DW_AT_TI_symbol_name("CH_MAP_32") .dwattr $C$DW$258, DW_AT_bit_offset(0x1c) .dwattr $C$DW$258, DW_AT_bit_size(0x04) .dwattr $C$DW$258, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$258, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$258, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$258, DW_AT_decl_line(0x1a1) .dwattr $C$DW$258, DW_AT_decl_column(0x0d) $C$DW$259 .dwtag DW_TAG_member .dwattr $C$DW$259, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$259, DW_AT_name("rsvd4") .dwattr $C$DW$259, DW_AT_TI_symbol_name("rsvd4") .dwattr $C$DW$259, DW_AT_bit_offset(0x18) .dwattr $C$DW$259, DW_AT_bit_size(0x04) .dwattr $C$DW$259, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$259, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$259, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$259, DW_AT_decl_line(0x1a2) .dwattr $C$DW$259, DW_AT_decl_column(0x0d) $C$DW$260 .dwtag DW_TAG_member .dwattr $C$DW$260, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$260, DW_AT_name("CH_MAP_33") .dwattr $C$DW$260, DW_AT_TI_symbol_name("CH_MAP_33") .dwattr $C$DW$260, DW_AT_bit_offset(0x14) .dwattr $C$DW$260, DW_AT_bit_size(0x04) .dwattr $C$DW$260, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$260, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$260, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$260, DW_AT_decl_line(0x1a3) .dwattr $C$DW$260, DW_AT_decl_column(0x0d) $C$DW$261 .dwtag DW_TAG_member .dwattr $C$DW$261, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$261, DW_AT_name("rsvd12") .dwattr $C$DW$261, DW_AT_TI_symbol_name("rsvd12") .dwattr $C$DW$261, DW_AT_bit_offset(0x10) .dwattr $C$DW$261, DW_AT_bit_size(0x04) .dwattr $C$DW$261, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$261, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$261, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$261, DW_AT_decl_line(0x1a4) .dwattr $C$DW$261, DW_AT_decl_column(0x0d) $C$DW$262 .dwtag DW_TAG_member .dwattr $C$DW$262, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$262, DW_AT_name("CH_MAP_34") .dwattr $C$DW$262, DW_AT_TI_symbol_name("CH_MAP_34") .dwattr $C$DW$262, DW_AT_bit_offset(0x0c) .dwattr $C$DW$262, DW_AT_bit_size(0x04) .dwattr $C$DW$262, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$262, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$262, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$262, DW_AT_decl_line(0x1a5) .dwattr $C$DW$262, DW_AT_decl_column(0x0d) $C$DW$263 .dwtag DW_TAG_member .dwattr $C$DW$263, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$263, DW_AT_name("rsvd20") .dwattr $C$DW$263, DW_AT_TI_symbol_name("rsvd20") .dwattr $C$DW$263, DW_AT_bit_offset(0x08) .dwattr $C$DW$263, DW_AT_bit_size(0x04) .dwattr $C$DW$263, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$263, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$263, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$263, DW_AT_decl_line(0x1a6) .dwattr $C$DW$263, DW_AT_decl_column(0x0d) $C$DW$264 .dwtag DW_TAG_member .dwattr $C$DW$264, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$264, DW_AT_name("CH_MAP_35") .dwattr $C$DW$264, DW_AT_TI_symbol_name("CH_MAP_35") .dwattr $C$DW$264, DW_AT_bit_offset(0x04) .dwattr $C$DW$264, DW_AT_bit_size(0x04) .dwattr $C$DW$264, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$264, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$264, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$264, DW_AT_decl_line(0x1a7) .dwattr $C$DW$264, DW_AT_decl_column(0x0d) $C$DW$265 .dwtag DW_TAG_member .dwattr $C$DW$265, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$265, DW_AT_name("rsvd28") .dwattr $C$DW$265, DW_AT_TI_symbol_name("rsvd28") .dwattr $C$DW$265, DW_AT_bit_offset(0x00) .dwattr $C$DW$265, DW_AT_bit_size(0x04) .dwattr $C$DW$265, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$265, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$265, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$265, DW_AT_decl_line(0x1a8) .dwattr $C$DW$265, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$63, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$63, DW_AT_decl_line(0x1a0) .dwattr $C$DW$T$63, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$63 $C$DW$T$193 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$193, DW_AT_type(*$C$DW$T$63) $C$DW$T$64 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$64, DW_AT_byte_size(0x04) $C$DW$266 .dwtag DW_TAG_member .dwattr $C$DW$266, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$266, DW_AT_name("CH_MAP_36") .dwattr $C$DW$266, DW_AT_TI_symbol_name("CH_MAP_36") .dwattr $C$DW$266, DW_AT_bit_offset(0x1c) .dwattr $C$DW$266, DW_AT_bit_size(0x04) .dwattr $C$DW$266, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$266, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$266, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$266, DW_AT_decl_line(0x1b2) .dwattr $C$DW$266, DW_AT_decl_column(0x0d) $C$DW$267 .dwtag DW_TAG_member .dwattr $C$DW$267, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$267, DW_AT_name("rsvd4") .dwattr $C$DW$267, DW_AT_TI_symbol_name("rsvd4") .dwattr $C$DW$267, DW_AT_bit_offset(0x18) .dwattr $C$DW$267, DW_AT_bit_size(0x04) .dwattr $C$DW$267, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$267, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$267, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$267, DW_AT_decl_line(0x1b3) .dwattr $C$DW$267, DW_AT_decl_column(0x0d) $C$DW$268 .dwtag DW_TAG_member .dwattr $C$DW$268, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$268, DW_AT_name("CH_MAP_37") .dwattr $C$DW$268, DW_AT_TI_symbol_name("CH_MAP_37") .dwattr $C$DW$268, DW_AT_bit_offset(0x14) .dwattr $C$DW$268, DW_AT_bit_size(0x04) .dwattr $C$DW$268, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$268, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$268, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$268, DW_AT_decl_line(0x1b4) .dwattr $C$DW$268, DW_AT_decl_column(0x0d) $C$DW$269 .dwtag DW_TAG_member .dwattr $C$DW$269, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$269, DW_AT_name("rsvd12") .dwattr $C$DW$269, DW_AT_TI_symbol_name("rsvd12") .dwattr $C$DW$269, DW_AT_bit_offset(0x10) .dwattr $C$DW$269, DW_AT_bit_size(0x04) .dwattr $C$DW$269, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$269, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$269, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$269, DW_AT_decl_line(0x1b5) .dwattr $C$DW$269, DW_AT_decl_column(0x0d) $C$DW$270 .dwtag DW_TAG_member .dwattr $C$DW$270, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$270, DW_AT_name("CH_MAP_38") .dwattr $C$DW$270, DW_AT_TI_symbol_name("CH_MAP_38") .dwattr $C$DW$270, DW_AT_bit_offset(0x0c) .dwattr $C$DW$270, DW_AT_bit_size(0x04) .dwattr $C$DW$270, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$270, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$270, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$270, DW_AT_decl_line(0x1b6) .dwattr $C$DW$270, DW_AT_decl_column(0x0d) $C$DW$271 .dwtag DW_TAG_member .dwattr $C$DW$271, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$271, DW_AT_name("rsvd20") .dwattr $C$DW$271, DW_AT_TI_symbol_name("rsvd20") .dwattr $C$DW$271, DW_AT_bit_offset(0x08) .dwattr $C$DW$271, DW_AT_bit_size(0x04) .dwattr $C$DW$271, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$271, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$271, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$271, DW_AT_decl_line(0x1b7) .dwattr $C$DW$271, DW_AT_decl_column(0x0d) $C$DW$272 .dwtag DW_TAG_member .dwattr $C$DW$272, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$272, DW_AT_name("CH_MAP_39") .dwattr $C$DW$272, DW_AT_TI_symbol_name("CH_MAP_39") .dwattr $C$DW$272, DW_AT_bit_offset(0x04) .dwattr $C$DW$272, DW_AT_bit_size(0x04) .dwattr $C$DW$272, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$272, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$272, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$272, DW_AT_decl_line(0x1b8) .dwattr $C$DW$272, DW_AT_decl_column(0x0d) $C$DW$273 .dwtag DW_TAG_member .dwattr $C$DW$273, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$273, DW_AT_name("rsvd28") .dwattr $C$DW$273, DW_AT_TI_symbol_name("rsvd28") .dwattr $C$DW$273, DW_AT_bit_offset(0x00) .dwattr $C$DW$273, DW_AT_bit_size(0x04) .dwattr $C$DW$273, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$273, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$273, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$273, DW_AT_decl_line(0x1b9) .dwattr $C$DW$273, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$64, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$64, DW_AT_decl_line(0x1b1) .dwattr $C$DW$T$64, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$64 $C$DW$T$195 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$195, DW_AT_type(*$C$DW$T$64) $C$DW$T$65 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$65, DW_AT_byte_size(0x04) $C$DW$274 .dwtag DW_TAG_member .dwattr $C$DW$274, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$274, DW_AT_name("CH_MAP_40") .dwattr $C$DW$274, DW_AT_TI_symbol_name("CH_MAP_40") .dwattr $C$DW$274, DW_AT_bit_offset(0x1c) .dwattr $C$DW$274, DW_AT_bit_size(0x04) .dwattr $C$DW$274, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$274, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$274, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$274, DW_AT_decl_line(0x1c3) .dwattr $C$DW$274, DW_AT_decl_column(0x0d) $C$DW$275 .dwtag DW_TAG_member .dwattr $C$DW$275, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$275, DW_AT_name("rsvd4") .dwattr $C$DW$275, DW_AT_TI_symbol_name("rsvd4") .dwattr $C$DW$275, DW_AT_bit_offset(0x18) .dwattr $C$DW$275, DW_AT_bit_size(0x04) .dwattr $C$DW$275, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$275, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$275, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$275, DW_AT_decl_line(0x1c4) .dwattr $C$DW$275, DW_AT_decl_column(0x0d) $C$DW$276 .dwtag DW_TAG_member .dwattr $C$DW$276, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$276, DW_AT_name("CH_MAP_41") .dwattr $C$DW$276, DW_AT_TI_symbol_name("CH_MAP_41") .dwattr $C$DW$276, DW_AT_bit_offset(0x14) .dwattr $C$DW$276, DW_AT_bit_size(0x04) .dwattr $C$DW$276, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$276, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$276, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$276, DW_AT_decl_line(0x1c5) .dwattr $C$DW$276, DW_AT_decl_column(0x0d) $C$DW$277 .dwtag DW_TAG_member .dwattr $C$DW$277, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$277, DW_AT_name("rsvd12") .dwattr $C$DW$277, DW_AT_TI_symbol_name("rsvd12") .dwattr $C$DW$277, DW_AT_bit_offset(0x10) .dwattr $C$DW$277, DW_AT_bit_size(0x04) .dwattr $C$DW$277, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$277, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$277, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$277, DW_AT_decl_line(0x1c6) .dwattr $C$DW$277, DW_AT_decl_column(0x0d) $C$DW$278 .dwtag DW_TAG_member .dwattr $C$DW$278, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$278, DW_AT_name("CH_MAP_42") .dwattr $C$DW$278, DW_AT_TI_symbol_name("CH_MAP_42") .dwattr $C$DW$278, DW_AT_bit_offset(0x0c) .dwattr $C$DW$278, DW_AT_bit_size(0x04) .dwattr $C$DW$278, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$278, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$278, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$278, DW_AT_decl_line(0x1c7) .dwattr $C$DW$278, DW_AT_decl_column(0x0d) $C$DW$279 .dwtag DW_TAG_member .dwattr $C$DW$279, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$279, DW_AT_name("rsvd20") .dwattr $C$DW$279, DW_AT_TI_symbol_name("rsvd20") .dwattr $C$DW$279, DW_AT_bit_offset(0x08) .dwattr $C$DW$279, DW_AT_bit_size(0x04) .dwattr $C$DW$279, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$279, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$279, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$279, DW_AT_decl_line(0x1c8) .dwattr $C$DW$279, DW_AT_decl_column(0x0d) $C$DW$280 .dwtag DW_TAG_member .dwattr $C$DW$280, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$280, DW_AT_name("CH_MAP_43") .dwattr $C$DW$280, DW_AT_TI_symbol_name("CH_MAP_43") .dwattr $C$DW$280, DW_AT_bit_offset(0x04) .dwattr $C$DW$280, DW_AT_bit_size(0x04) .dwattr $C$DW$280, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$280, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$280, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$280, DW_AT_decl_line(0x1c9) .dwattr $C$DW$280, DW_AT_decl_column(0x0d) $C$DW$281 .dwtag DW_TAG_member .dwattr $C$DW$281, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$281, DW_AT_name("rsvd28") .dwattr $C$DW$281, DW_AT_TI_symbol_name("rsvd28") .dwattr $C$DW$281, DW_AT_bit_offset(0x00) .dwattr $C$DW$281, DW_AT_bit_size(0x04) .dwattr $C$DW$281, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$281, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$281, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$281, DW_AT_decl_line(0x1ca) .dwattr $C$DW$281, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$65, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$65, DW_AT_decl_line(0x1c2) .dwattr $C$DW$T$65, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$65 $C$DW$T$197 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$197, DW_AT_type(*$C$DW$T$65) $C$DW$T$66 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$66, DW_AT_byte_size(0x04) $C$DW$282 .dwtag DW_TAG_member .dwattr $C$DW$282, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$282, DW_AT_name("CH_MAP_44") .dwattr $C$DW$282, DW_AT_TI_symbol_name("CH_MAP_44") .dwattr $C$DW$282, DW_AT_bit_offset(0x1c) .dwattr $C$DW$282, DW_AT_bit_size(0x04) .dwattr $C$DW$282, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$282, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$282, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$282, DW_AT_decl_line(0x1d4) .dwattr $C$DW$282, DW_AT_decl_column(0x0d) $C$DW$283 .dwtag DW_TAG_member .dwattr $C$DW$283, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$283, DW_AT_name("rsvd4") .dwattr $C$DW$283, DW_AT_TI_symbol_name("rsvd4") .dwattr $C$DW$283, DW_AT_bit_offset(0x18) .dwattr $C$DW$283, DW_AT_bit_size(0x04) .dwattr $C$DW$283, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$283, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$283, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$283, DW_AT_decl_line(0x1d5) .dwattr $C$DW$283, DW_AT_decl_column(0x0d) $C$DW$284 .dwtag DW_TAG_member .dwattr $C$DW$284, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$284, DW_AT_name("CH_MAP_45") .dwattr $C$DW$284, DW_AT_TI_symbol_name("CH_MAP_45") .dwattr $C$DW$284, DW_AT_bit_offset(0x14) .dwattr $C$DW$284, DW_AT_bit_size(0x04) .dwattr $C$DW$284, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$284, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$284, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$284, DW_AT_decl_line(0x1d6) .dwattr $C$DW$284, DW_AT_decl_column(0x0d) $C$DW$285 .dwtag DW_TAG_member .dwattr $C$DW$285, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$285, DW_AT_name("rsvd12") .dwattr $C$DW$285, DW_AT_TI_symbol_name("rsvd12") .dwattr $C$DW$285, DW_AT_bit_offset(0x10) .dwattr $C$DW$285, DW_AT_bit_size(0x04) .dwattr $C$DW$285, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$285, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$285, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$285, DW_AT_decl_line(0x1d7) .dwattr $C$DW$285, DW_AT_decl_column(0x0d) $C$DW$286 .dwtag DW_TAG_member .dwattr $C$DW$286, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$286, DW_AT_name("CH_MAP_46") .dwattr $C$DW$286, DW_AT_TI_symbol_name("CH_MAP_46") .dwattr $C$DW$286, DW_AT_bit_offset(0x0c) .dwattr $C$DW$286, DW_AT_bit_size(0x04) .dwattr $C$DW$286, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$286, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$286, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$286, DW_AT_decl_line(0x1d8) .dwattr $C$DW$286, DW_AT_decl_column(0x0d) $C$DW$287 .dwtag DW_TAG_member .dwattr $C$DW$287, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$287, DW_AT_name("rsvd20") .dwattr $C$DW$287, DW_AT_TI_symbol_name("rsvd20") .dwattr $C$DW$287, DW_AT_bit_offset(0x08) .dwattr $C$DW$287, DW_AT_bit_size(0x04) .dwattr $C$DW$287, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$287, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$287, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$287, DW_AT_decl_line(0x1d9) .dwattr $C$DW$287, DW_AT_decl_column(0x0d) $C$DW$288 .dwtag DW_TAG_member .dwattr $C$DW$288, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$288, DW_AT_name("CH_MAP_47") .dwattr $C$DW$288, DW_AT_TI_symbol_name("CH_MAP_47") .dwattr $C$DW$288, DW_AT_bit_offset(0x04) .dwattr $C$DW$288, DW_AT_bit_size(0x04) .dwattr $C$DW$288, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$288, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$288, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$288, DW_AT_decl_line(0x1da) .dwattr $C$DW$288, DW_AT_decl_column(0x0d) $C$DW$289 .dwtag DW_TAG_member .dwattr $C$DW$289, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$289, DW_AT_name("rsvd28") .dwattr $C$DW$289, DW_AT_TI_symbol_name("rsvd28") .dwattr $C$DW$289, DW_AT_bit_offset(0x00) .dwattr $C$DW$289, DW_AT_bit_size(0x04) .dwattr $C$DW$289, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$289, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$289, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$289, DW_AT_decl_line(0x1db) .dwattr $C$DW$289, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$66, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$66, DW_AT_decl_line(0x1d3) .dwattr $C$DW$T$66, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$66 $C$DW$T$199 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$199, DW_AT_type(*$C$DW$T$66) $C$DW$T$67 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$67, DW_AT_byte_size(0x04) $C$DW$290 .dwtag DW_TAG_member .dwattr $C$DW$290, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$290, DW_AT_name("CH_MAP_48") .dwattr $C$DW$290, DW_AT_TI_symbol_name("CH_MAP_48") .dwattr $C$DW$290, DW_AT_bit_offset(0x1c) .dwattr $C$DW$290, DW_AT_bit_size(0x04) .dwattr $C$DW$290, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$290, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$290, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$290, DW_AT_decl_line(0x1e5) .dwattr $C$DW$290, DW_AT_decl_column(0x0d) $C$DW$291 .dwtag DW_TAG_member .dwattr $C$DW$291, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$291, DW_AT_name("rsvd4") .dwattr $C$DW$291, DW_AT_TI_symbol_name("rsvd4") .dwattr $C$DW$291, DW_AT_bit_offset(0x18) .dwattr $C$DW$291, DW_AT_bit_size(0x04) .dwattr $C$DW$291, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$291, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$291, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$291, DW_AT_decl_line(0x1e6) .dwattr $C$DW$291, DW_AT_decl_column(0x0d) $C$DW$292 .dwtag DW_TAG_member .dwattr $C$DW$292, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$292, DW_AT_name("CH_MAP_49") .dwattr $C$DW$292, DW_AT_TI_symbol_name("CH_MAP_49") .dwattr $C$DW$292, DW_AT_bit_offset(0x14) .dwattr $C$DW$292, DW_AT_bit_size(0x04) .dwattr $C$DW$292, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$292, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$292, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$292, DW_AT_decl_line(0x1e7) .dwattr $C$DW$292, DW_AT_decl_column(0x0d) $C$DW$293 .dwtag DW_TAG_member .dwattr $C$DW$293, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$293, DW_AT_name("rsvd12") .dwattr $C$DW$293, DW_AT_TI_symbol_name("rsvd12") .dwattr $C$DW$293, DW_AT_bit_offset(0x10) .dwattr $C$DW$293, DW_AT_bit_size(0x04) .dwattr $C$DW$293, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$293, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$293, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$293, DW_AT_decl_line(0x1e8) .dwattr $C$DW$293, DW_AT_decl_column(0x0d) $C$DW$294 .dwtag DW_TAG_member .dwattr $C$DW$294, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$294, DW_AT_name("CH_MAP_50") .dwattr $C$DW$294, DW_AT_TI_symbol_name("CH_MAP_50") .dwattr $C$DW$294, DW_AT_bit_offset(0x0c) .dwattr $C$DW$294, DW_AT_bit_size(0x04) .dwattr $C$DW$294, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$294, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$294, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$294, DW_AT_decl_line(0x1e9) .dwattr $C$DW$294, DW_AT_decl_column(0x0d) $C$DW$295 .dwtag DW_TAG_member .dwattr $C$DW$295, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$295, DW_AT_name("rsvd20") .dwattr $C$DW$295, DW_AT_TI_symbol_name("rsvd20") .dwattr $C$DW$295, DW_AT_bit_offset(0x08) .dwattr $C$DW$295, DW_AT_bit_size(0x04) .dwattr $C$DW$295, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$295, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$295, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$295, DW_AT_decl_line(0x1ea) .dwattr $C$DW$295, DW_AT_decl_column(0x0d) $C$DW$296 .dwtag DW_TAG_member .dwattr $C$DW$296, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$296, DW_AT_name("CH_MAP_51") .dwattr $C$DW$296, DW_AT_TI_symbol_name("CH_MAP_51") .dwattr $C$DW$296, DW_AT_bit_offset(0x04) .dwattr $C$DW$296, DW_AT_bit_size(0x04) .dwattr $C$DW$296, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$296, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$296, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$296, DW_AT_decl_line(0x1eb) .dwattr $C$DW$296, DW_AT_decl_column(0x0d) $C$DW$297 .dwtag DW_TAG_member .dwattr $C$DW$297, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$297, DW_AT_name("rsvd28") .dwattr $C$DW$297, DW_AT_TI_symbol_name("rsvd28") .dwattr $C$DW$297, DW_AT_bit_offset(0x00) .dwattr $C$DW$297, DW_AT_bit_size(0x04) .dwattr $C$DW$297, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$297, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$297, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$297, DW_AT_decl_line(0x1ec) .dwattr $C$DW$297, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$67, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$67, DW_AT_decl_line(0x1e4) .dwattr $C$DW$T$67, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$67 $C$DW$T$201 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$201, DW_AT_type(*$C$DW$T$67) $C$DW$T$68 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$68, DW_AT_byte_size(0x04) $C$DW$298 .dwtag DW_TAG_member .dwattr $C$DW$298, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$298, DW_AT_name("CH_MAP_52") .dwattr $C$DW$298, DW_AT_TI_symbol_name("CH_MAP_52") .dwattr $C$DW$298, DW_AT_bit_offset(0x1c) .dwattr $C$DW$298, DW_AT_bit_size(0x04) .dwattr $C$DW$298, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$298, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$298, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$298, DW_AT_decl_line(0x1f6) .dwattr $C$DW$298, DW_AT_decl_column(0x0d) $C$DW$299 .dwtag DW_TAG_member .dwattr $C$DW$299, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$299, DW_AT_name("rsvd4") .dwattr $C$DW$299, DW_AT_TI_symbol_name("rsvd4") .dwattr $C$DW$299, DW_AT_bit_offset(0x18) .dwattr $C$DW$299, DW_AT_bit_size(0x04) .dwattr $C$DW$299, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$299, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$299, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$299, DW_AT_decl_line(0x1f7) .dwattr $C$DW$299, DW_AT_decl_column(0x0d) $C$DW$300 .dwtag DW_TAG_member .dwattr $C$DW$300, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$300, DW_AT_name("CH_MAP_53") .dwattr $C$DW$300, DW_AT_TI_symbol_name("CH_MAP_53") .dwattr $C$DW$300, DW_AT_bit_offset(0x14) .dwattr $C$DW$300, DW_AT_bit_size(0x04) .dwattr $C$DW$300, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$300, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$300, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$300, DW_AT_decl_line(0x1f8) .dwattr $C$DW$300, DW_AT_decl_column(0x0d) $C$DW$301 .dwtag DW_TAG_member .dwattr $C$DW$301, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$301, DW_AT_name("rsvd12") .dwattr $C$DW$301, DW_AT_TI_symbol_name("rsvd12") .dwattr $C$DW$301, DW_AT_bit_offset(0x10) .dwattr $C$DW$301, DW_AT_bit_size(0x04) .dwattr $C$DW$301, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$301, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$301, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$301, DW_AT_decl_line(0x1f9) .dwattr $C$DW$301, DW_AT_decl_column(0x0d) $C$DW$302 .dwtag DW_TAG_member .dwattr $C$DW$302, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$302, DW_AT_name("CH_MAP_54") .dwattr $C$DW$302, DW_AT_TI_symbol_name("CH_MAP_54") .dwattr $C$DW$302, DW_AT_bit_offset(0x0c) .dwattr $C$DW$302, DW_AT_bit_size(0x04) .dwattr $C$DW$302, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$302, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$302, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$302, DW_AT_decl_line(0x1fa) .dwattr $C$DW$302, DW_AT_decl_column(0x0d) $C$DW$303 .dwtag DW_TAG_member .dwattr $C$DW$303, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$303, DW_AT_name("rsvd20") .dwattr $C$DW$303, DW_AT_TI_symbol_name("rsvd20") .dwattr $C$DW$303, DW_AT_bit_offset(0x08) .dwattr $C$DW$303, DW_AT_bit_size(0x04) .dwattr $C$DW$303, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$303, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$303, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$303, DW_AT_decl_line(0x1fb) .dwattr $C$DW$303, DW_AT_decl_column(0x0d) $C$DW$304 .dwtag DW_TAG_member .dwattr $C$DW$304, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$304, DW_AT_name("CH_MAP_55") .dwattr $C$DW$304, DW_AT_TI_symbol_name("CH_MAP_55") .dwattr $C$DW$304, DW_AT_bit_offset(0x04) .dwattr $C$DW$304, DW_AT_bit_size(0x04) .dwattr $C$DW$304, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$304, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$304, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$304, DW_AT_decl_line(0x1fc) .dwattr $C$DW$304, DW_AT_decl_column(0x0d) $C$DW$305 .dwtag DW_TAG_member .dwattr $C$DW$305, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$305, DW_AT_name("rsvd28") .dwattr $C$DW$305, DW_AT_TI_symbol_name("rsvd28") .dwattr $C$DW$305, DW_AT_bit_offset(0x00) .dwattr $C$DW$305, DW_AT_bit_size(0x04) .dwattr $C$DW$305, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$305, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$305, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$305, DW_AT_decl_line(0x1fd) .dwattr $C$DW$305, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$68, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$68, DW_AT_decl_line(0x1f5) .dwattr $C$DW$T$68, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$68 $C$DW$T$203 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$203, DW_AT_type(*$C$DW$T$68) $C$DW$T$69 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$69, DW_AT_byte_size(0x04) $C$DW$306 .dwtag DW_TAG_member .dwattr $C$DW$306, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$306, DW_AT_name("CH_MAP_56") .dwattr $C$DW$306, DW_AT_TI_symbol_name("CH_MAP_56") .dwattr $C$DW$306, DW_AT_bit_offset(0x1c) .dwattr $C$DW$306, DW_AT_bit_size(0x04) .dwattr $C$DW$306, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$306, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$306, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$306, DW_AT_decl_line(0x207) .dwattr $C$DW$306, DW_AT_decl_column(0x0d) $C$DW$307 .dwtag DW_TAG_member .dwattr $C$DW$307, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$307, DW_AT_name("rsvd4") .dwattr $C$DW$307, DW_AT_TI_symbol_name("rsvd4") .dwattr $C$DW$307, DW_AT_bit_offset(0x18) .dwattr $C$DW$307, DW_AT_bit_size(0x04) .dwattr $C$DW$307, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$307, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$307, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$307, DW_AT_decl_line(0x208) .dwattr $C$DW$307, DW_AT_decl_column(0x0d) $C$DW$308 .dwtag DW_TAG_member .dwattr $C$DW$308, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$308, DW_AT_name("CH_MAP_57") .dwattr $C$DW$308, DW_AT_TI_symbol_name("CH_MAP_57") .dwattr $C$DW$308, DW_AT_bit_offset(0x14) .dwattr $C$DW$308, DW_AT_bit_size(0x04) .dwattr $C$DW$308, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$308, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$308, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$308, DW_AT_decl_line(0x209) .dwattr $C$DW$308, DW_AT_decl_column(0x0d) $C$DW$309 .dwtag DW_TAG_member .dwattr $C$DW$309, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$309, DW_AT_name("rsvd12") .dwattr $C$DW$309, DW_AT_TI_symbol_name("rsvd12") .dwattr $C$DW$309, DW_AT_bit_offset(0x10) .dwattr $C$DW$309, DW_AT_bit_size(0x04) .dwattr $C$DW$309, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$309, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$309, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$309, DW_AT_decl_line(0x20a) .dwattr $C$DW$309, DW_AT_decl_column(0x0d) $C$DW$310 .dwtag DW_TAG_member .dwattr $C$DW$310, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$310, DW_AT_name("CH_MAP_58") .dwattr $C$DW$310, DW_AT_TI_symbol_name("CH_MAP_58") .dwattr $C$DW$310, DW_AT_bit_offset(0x0c) .dwattr $C$DW$310, DW_AT_bit_size(0x04) .dwattr $C$DW$310, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$310, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$310, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$310, DW_AT_decl_line(0x20b) .dwattr $C$DW$310, DW_AT_decl_column(0x0d) $C$DW$311 .dwtag DW_TAG_member .dwattr $C$DW$311, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$311, DW_AT_name("rsvd20") .dwattr $C$DW$311, DW_AT_TI_symbol_name("rsvd20") .dwattr $C$DW$311, DW_AT_bit_offset(0x08) .dwattr $C$DW$311, DW_AT_bit_size(0x04) .dwattr $C$DW$311, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$311, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$311, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$311, DW_AT_decl_line(0x20c) .dwattr $C$DW$311, DW_AT_decl_column(0x0d) $C$DW$312 .dwtag DW_TAG_member .dwattr $C$DW$312, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$312, DW_AT_name("CH_MAP_59") .dwattr $C$DW$312, DW_AT_TI_symbol_name("CH_MAP_59") .dwattr $C$DW$312, DW_AT_bit_offset(0x04) .dwattr $C$DW$312, DW_AT_bit_size(0x04) .dwattr $C$DW$312, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$312, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$312, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$312, DW_AT_decl_line(0x20d) .dwattr $C$DW$312, DW_AT_decl_column(0x0d) $C$DW$313 .dwtag DW_TAG_member .dwattr $C$DW$313, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$313, DW_AT_name("rsvd28") .dwattr $C$DW$313, DW_AT_TI_symbol_name("rsvd28") .dwattr $C$DW$313, DW_AT_bit_offset(0x00) .dwattr $C$DW$313, DW_AT_bit_size(0x04) .dwattr $C$DW$313, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$313, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$313, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$313, DW_AT_decl_line(0x20e) .dwattr $C$DW$313, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$69, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$69, DW_AT_decl_line(0x206) .dwattr $C$DW$T$69, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$69 $C$DW$T$205 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$205, DW_AT_type(*$C$DW$T$69) $C$DW$T$70 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$70, DW_AT_byte_size(0x04) $C$DW$314 .dwtag DW_TAG_member .dwattr $C$DW$314, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$314, DW_AT_name("CH_MAP_60") .dwattr $C$DW$314, DW_AT_TI_symbol_name("CH_MAP_60") .dwattr $C$DW$314, DW_AT_bit_offset(0x1c) .dwattr $C$DW$314, DW_AT_bit_size(0x04) .dwattr $C$DW$314, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$314, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$314, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$314, DW_AT_decl_line(0x218) .dwattr $C$DW$314, DW_AT_decl_column(0x0d) $C$DW$315 .dwtag DW_TAG_member .dwattr $C$DW$315, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$315, DW_AT_name("rsvd4") .dwattr $C$DW$315, DW_AT_TI_symbol_name("rsvd4") .dwattr $C$DW$315, DW_AT_bit_offset(0x18) .dwattr $C$DW$315, DW_AT_bit_size(0x04) .dwattr $C$DW$315, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$315, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$315, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$315, DW_AT_decl_line(0x219) .dwattr $C$DW$315, DW_AT_decl_column(0x0d) $C$DW$316 .dwtag DW_TAG_member .dwattr $C$DW$316, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$316, DW_AT_name("CH_MAP_61") .dwattr $C$DW$316, DW_AT_TI_symbol_name("CH_MAP_61") .dwattr $C$DW$316, DW_AT_bit_offset(0x14) .dwattr $C$DW$316, DW_AT_bit_size(0x04) .dwattr $C$DW$316, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$316, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$316, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$316, DW_AT_decl_line(0x21a) .dwattr $C$DW$316, DW_AT_decl_column(0x0d) $C$DW$317 .dwtag DW_TAG_member .dwattr $C$DW$317, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$317, DW_AT_name("rsvd12") .dwattr $C$DW$317, DW_AT_TI_symbol_name("rsvd12") .dwattr $C$DW$317, DW_AT_bit_offset(0x10) .dwattr $C$DW$317, DW_AT_bit_size(0x04) .dwattr $C$DW$317, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$317, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$317, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$317, DW_AT_decl_line(0x21b) .dwattr $C$DW$317, DW_AT_decl_column(0x0d) $C$DW$318 .dwtag DW_TAG_member .dwattr $C$DW$318, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$318, DW_AT_name("CH_MAP_62") .dwattr $C$DW$318, DW_AT_TI_symbol_name("CH_MAP_62") .dwattr $C$DW$318, DW_AT_bit_offset(0x0c) .dwattr $C$DW$318, DW_AT_bit_size(0x04) .dwattr $C$DW$318, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$318, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$318, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$318, DW_AT_decl_line(0x21c) .dwattr $C$DW$318, DW_AT_decl_column(0x0d) $C$DW$319 .dwtag DW_TAG_member .dwattr $C$DW$319, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$319, DW_AT_name("rsvd20") .dwattr $C$DW$319, DW_AT_TI_symbol_name("rsvd20") .dwattr $C$DW$319, DW_AT_bit_offset(0x08) .dwattr $C$DW$319, DW_AT_bit_size(0x04) .dwattr $C$DW$319, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$319, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$319, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$319, DW_AT_decl_line(0x21d) .dwattr $C$DW$319, DW_AT_decl_column(0x0d) $C$DW$320 .dwtag DW_TAG_member .dwattr $C$DW$320, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$320, DW_AT_name("CH_MAP_63") .dwattr $C$DW$320, DW_AT_TI_symbol_name("CH_MAP_63") .dwattr $C$DW$320, DW_AT_bit_offset(0x04) .dwattr $C$DW$320, DW_AT_bit_size(0x04) .dwattr $C$DW$320, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$320, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$320, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$320, DW_AT_decl_line(0x21e) .dwattr $C$DW$320, DW_AT_decl_column(0x0d) $C$DW$321 .dwtag DW_TAG_member .dwattr $C$DW$321, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$321, DW_AT_name("rsvd28") .dwattr $C$DW$321, DW_AT_TI_symbol_name("rsvd28") .dwattr $C$DW$321, DW_AT_bit_offset(0x00) .dwattr $C$DW$321, DW_AT_bit_size(0x04) .dwattr $C$DW$321, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$321, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$321, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$321, DW_AT_decl_line(0x21f) .dwattr $C$DW$321, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$70, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$70, DW_AT_decl_line(0x217) .dwattr $C$DW$T$70, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$70 $C$DW$T$207 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$207, DW_AT_type(*$C$DW$T$70) $C$DW$T$71 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$71, DW_AT_byte_size(0x04) $C$DW$322 .dwtag DW_TAG_member .dwattr $C$DW$322, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$322, DW_AT_name("HINT_MAP_0") .dwattr $C$DW$322, DW_AT_TI_symbol_name("HINT_MAP_0") .dwattr $C$DW$322, DW_AT_bit_offset(0x1c) .dwattr $C$DW$322, DW_AT_bit_size(0x04) .dwattr $C$DW$322, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$322, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$322, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$322, DW_AT_decl_line(0x22c) .dwattr $C$DW$322, DW_AT_decl_column(0x0d) $C$DW$323 .dwtag DW_TAG_member .dwattr $C$DW$323, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$323, DW_AT_name("rsvd4") .dwattr $C$DW$323, DW_AT_TI_symbol_name("rsvd4") .dwattr $C$DW$323, DW_AT_bit_offset(0x18) .dwattr $C$DW$323, DW_AT_bit_size(0x04) .dwattr $C$DW$323, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$323, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$323, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$323, DW_AT_decl_line(0x22d) .dwattr $C$DW$323, DW_AT_decl_column(0x0d) $C$DW$324 .dwtag DW_TAG_member .dwattr $C$DW$324, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$324, DW_AT_name("HINT_MAP_1") .dwattr $C$DW$324, DW_AT_TI_symbol_name("HINT_MAP_1") .dwattr $C$DW$324, DW_AT_bit_offset(0x14) .dwattr $C$DW$324, DW_AT_bit_size(0x04) .dwattr $C$DW$324, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$324, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$324, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$324, DW_AT_decl_line(0x22e) .dwattr $C$DW$324, DW_AT_decl_column(0x0d) $C$DW$325 .dwtag DW_TAG_member .dwattr $C$DW$325, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$325, DW_AT_name("rsvd12") .dwattr $C$DW$325, DW_AT_TI_symbol_name("rsvd12") .dwattr $C$DW$325, DW_AT_bit_offset(0x10) .dwattr $C$DW$325, DW_AT_bit_size(0x04) .dwattr $C$DW$325, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$325, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$325, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$325, DW_AT_decl_line(0x22f) .dwattr $C$DW$325, DW_AT_decl_column(0x0d) $C$DW$326 .dwtag DW_TAG_member .dwattr $C$DW$326, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$326, DW_AT_name("HINT_MAP_2") .dwattr $C$DW$326, DW_AT_TI_symbol_name("HINT_MAP_2") .dwattr $C$DW$326, DW_AT_bit_offset(0x0c) .dwattr $C$DW$326, DW_AT_bit_size(0x04) .dwattr $C$DW$326, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$326, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$326, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$326, DW_AT_decl_line(0x230) .dwattr $C$DW$326, DW_AT_decl_column(0x0d) $C$DW$327 .dwtag DW_TAG_member .dwattr $C$DW$327, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$327, DW_AT_name("rsvd20") .dwattr $C$DW$327, DW_AT_TI_symbol_name("rsvd20") .dwattr $C$DW$327, DW_AT_bit_offset(0x08) .dwattr $C$DW$327, DW_AT_bit_size(0x04) .dwattr $C$DW$327, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$327, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$327, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$327, DW_AT_decl_line(0x231) .dwattr $C$DW$327, DW_AT_decl_column(0x0d) $C$DW$328 .dwtag DW_TAG_member .dwattr $C$DW$328, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$328, DW_AT_name("HINT_MAP_3") .dwattr $C$DW$328, DW_AT_TI_symbol_name("HINT_MAP_3") .dwattr $C$DW$328, DW_AT_bit_offset(0x04) .dwattr $C$DW$328, DW_AT_bit_size(0x04) .dwattr $C$DW$328, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$328, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$328, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$328, DW_AT_decl_line(0x232) .dwattr $C$DW$328, DW_AT_decl_column(0x0d) $C$DW$329 .dwtag DW_TAG_member .dwattr $C$DW$329, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$329, DW_AT_name("rsvd28") .dwattr $C$DW$329, DW_AT_TI_symbol_name("rsvd28") .dwattr $C$DW$329, DW_AT_bit_offset(0x00) .dwattr $C$DW$329, DW_AT_bit_size(0x04) .dwattr $C$DW$329, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$329, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$329, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$329, DW_AT_decl_line(0x233) .dwattr $C$DW$329, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$71, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$71, DW_AT_decl_line(0x22b) .dwattr $C$DW$T$71, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$71 $C$DW$T$209 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$209, DW_AT_type(*$C$DW$T$71) $C$DW$T$72 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$72, DW_AT_byte_size(0x04) $C$DW$330 .dwtag DW_TAG_member .dwattr $C$DW$330, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$330, DW_AT_name("HINT_MAP_4") .dwattr $C$DW$330, DW_AT_TI_symbol_name("HINT_MAP_4") .dwattr $C$DW$330, DW_AT_bit_offset(0x1c) .dwattr $C$DW$330, DW_AT_bit_size(0x04) .dwattr $C$DW$330, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$330, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$330, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$330, DW_AT_decl_line(0x23d) .dwattr $C$DW$330, DW_AT_decl_column(0x0d) $C$DW$331 .dwtag DW_TAG_member .dwattr $C$DW$331, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$331, DW_AT_name("rsvd4") .dwattr $C$DW$331, DW_AT_TI_symbol_name("rsvd4") .dwattr $C$DW$331, DW_AT_bit_offset(0x18) .dwattr $C$DW$331, DW_AT_bit_size(0x04) .dwattr $C$DW$331, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$331, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$331, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$331, DW_AT_decl_line(0x23e) .dwattr $C$DW$331, DW_AT_decl_column(0x0d) $C$DW$332 .dwtag DW_TAG_member .dwattr $C$DW$332, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$332, DW_AT_name("HINT_MAP_5") .dwattr $C$DW$332, DW_AT_TI_symbol_name("HINT_MAP_5") .dwattr $C$DW$332, DW_AT_bit_offset(0x14) .dwattr $C$DW$332, DW_AT_bit_size(0x04) .dwattr $C$DW$332, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$332, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$332, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$332, DW_AT_decl_line(0x23f) .dwattr $C$DW$332, DW_AT_decl_column(0x0d) $C$DW$333 .dwtag DW_TAG_member .dwattr $C$DW$333, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$333, DW_AT_name("rsvd12") .dwattr $C$DW$333, DW_AT_TI_symbol_name("rsvd12") .dwattr $C$DW$333, DW_AT_bit_offset(0x10) .dwattr $C$DW$333, DW_AT_bit_size(0x04) .dwattr $C$DW$333, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$333, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$333, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$333, DW_AT_decl_line(0x240) .dwattr $C$DW$333, DW_AT_decl_column(0x0d) $C$DW$334 .dwtag DW_TAG_member .dwattr $C$DW$334, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$334, DW_AT_name("HINT_MAP_6") .dwattr $C$DW$334, DW_AT_TI_symbol_name("HINT_MAP_6") .dwattr $C$DW$334, DW_AT_bit_offset(0x0c) .dwattr $C$DW$334, DW_AT_bit_size(0x04) .dwattr $C$DW$334, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$334, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$334, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$334, DW_AT_decl_line(0x241) .dwattr $C$DW$334, DW_AT_decl_column(0x0d) $C$DW$335 .dwtag DW_TAG_member .dwattr $C$DW$335, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$335, DW_AT_name("rsvd20") .dwattr $C$DW$335, DW_AT_TI_symbol_name("rsvd20") .dwattr $C$DW$335, DW_AT_bit_offset(0x08) .dwattr $C$DW$335, DW_AT_bit_size(0x04) .dwattr $C$DW$335, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$335, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$335, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$335, DW_AT_decl_line(0x242) .dwattr $C$DW$335, DW_AT_decl_column(0x0d) $C$DW$336 .dwtag DW_TAG_member .dwattr $C$DW$336, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$336, DW_AT_name("HINT_MAP_7") .dwattr $C$DW$336, DW_AT_TI_symbol_name("HINT_MAP_7") .dwattr $C$DW$336, DW_AT_bit_offset(0x04) .dwattr $C$DW$336, DW_AT_bit_size(0x04) .dwattr $C$DW$336, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$336, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$336, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$336, DW_AT_decl_line(0x243) .dwattr $C$DW$336, DW_AT_decl_column(0x0d) $C$DW$337 .dwtag DW_TAG_member .dwattr $C$DW$337, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$337, DW_AT_name("rsvd28") .dwattr $C$DW$337, DW_AT_TI_symbol_name("rsvd28") .dwattr $C$DW$337, DW_AT_bit_offset(0x00) .dwattr $C$DW$337, DW_AT_bit_size(0x04) .dwattr $C$DW$337, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$337, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$337, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$337, DW_AT_decl_line(0x244) .dwattr $C$DW$337, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$72, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$72, DW_AT_decl_line(0x23c) .dwattr $C$DW$T$72, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$72 $C$DW$T$211 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$211, DW_AT_type(*$C$DW$T$72) $C$DW$T$73 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$73, DW_AT_byte_size(0x04) $C$DW$338 .dwtag DW_TAG_member .dwattr $C$DW$338, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$338, DW_AT_name("HINT_MAP_8") .dwattr $C$DW$338, DW_AT_TI_symbol_name("HINT_MAP_8") .dwattr $C$DW$338, DW_AT_bit_offset(0x1c) .dwattr $C$DW$338, DW_AT_bit_size(0x04) .dwattr $C$DW$338, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$338, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$338, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$338, DW_AT_decl_line(0x24e) .dwattr $C$DW$338, DW_AT_decl_column(0x0d) $C$DW$339 .dwtag DW_TAG_member .dwattr $C$DW$339, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$339, DW_AT_name("rsvd4") .dwattr $C$DW$339, DW_AT_TI_symbol_name("rsvd4") .dwattr $C$DW$339, DW_AT_bit_offset(0x18) .dwattr $C$DW$339, DW_AT_bit_size(0x04) .dwattr $C$DW$339, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$339, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$339, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$339, DW_AT_decl_line(0x24f) .dwattr $C$DW$339, DW_AT_decl_column(0x0d) $C$DW$340 .dwtag DW_TAG_member .dwattr $C$DW$340, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$340, DW_AT_name("HINT_MAP_9") .dwattr $C$DW$340, DW_AT_TI_symbol_name("HINT_MAP_9") .dwattr $C$DW$340, DW_AT_bit_offset(0x14) .dwattr $C$DW$340, DW_AT_bit_size(0x04) .dwattr $C$DW$340, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$340, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$340, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$340, DW_AT_decl_line(0x250) .dwattr $C$DW$340, DW_AT_decl_column(0x0d) $C$DW$341 .dwtag DW_TAG_member .dwattr $C$DW$341, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$341, DW_AT_name("rsvd12") .dwattr $C$DW$341, DW_AT_TI_symbol_name("rsvd12") .dwattr $C$DW$341, DW_AT_bit_offset(0x00) .dwattr $C$DW$341, DW_AT_bit_size(0x14) .dwattr $C$DW$341, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$341, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$341, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$341, DW_AT_decl_line(0x251) .dwattr $C$DW$341, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$73, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$73, DW_AT_decl_line(0x24d) .dwattr $C$DW$T$73, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$73 $C$DW$T$213 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$213, DW_AT_type(*$C$DW$T$73) $C$DW$T$74 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$74, DW_AT_byte_size(0x04) $C$DW$342 .dwtag DW_TAG_member .dwattr $C$DW$342, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$342, DW_AT_name("PRI_HINT_0") .dwattr $C$DW$342, DW_AT_TI_symbol_name("PRI_HINT_0") .dwattr $C$DW$342, DW_AT_bit_offset(0x16) .dwattr $C$DW$342, DW_AT_bit_size(0x0a) .dwattr $C$DW$342, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$342, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$342, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$342, DW_AT_decl_line(0x25e) .dwattr $C$DW$342, DW_AT_decl_column(0x0d) $C$DW$343 .dwtag DW_TAG_member .dwattr $C$DW$343, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$343, DW_AT_name("rsvd10") .dwattr $C$DW$343, DW_AT_TI_symbol_name("rsvd10") .dwattr $C$DW$343, DW_AT_bit_offset(0x01) .dwattr $C$DW$343, DW_AT_bit_size(0x15) .dwattr $C$DW$343, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$343, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$343, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$343, DW_AT_decl_line(0x25f) .dwattr $C$DW$343, DW_AT_decl_column(0x0d) $C$DW$344 .dwtag DW_TAG_member .dwattr $C$DW$344, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$344, DW_AT_name("NONE_HINT_0") .dwattr $C$DW$344, DW_AT_TI_symbol_name("NONE_HINT_0") .dwattr $C$DW$344, DW_AT_bit_offset(0x00) .dwattr $C$DW$344, DW_AT_bit_size(0x01) .dwattr $C$DW$344, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$344, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$344, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$344, DW_AT_decl_line(0x260) .dwattr $C$DW$344, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$74, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$74, DW_AT_decl_line(0x25d) .dwattr $C$DW$T$74, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$74 $C$DW$T$215 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$215, DW_AT_type(*$C$DW$T$74) $C$DW$T$75 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$75, DW_AT_byte_size(0x04) $C$DW$345 .dwtag DW_TAG_member .dwattr $C$DW$345, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$345, DW_AT_name("PRI_HINT_1") .dwattr $C$DW$345, DW_AT_TI_symbol_name("PRI_HINT_1") .dwattr $C$DW$345, DW_AT_bit_offset(0x16) .dwattr $C$DW$345, DW_AT_bit_size(0x0a) .dwattr $C$DW$345, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$345, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$345, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$345, DW_AT_decl_line(0x26a) .dwattr $C$DW$345, DW_AT_decl_column(0x0d) $C$DW$346 .dwtag DW_TAG_member .dwattr $C$DW$346, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$346, DW_AT_name("rsvd10") .dwattr $C$DW$346, DW_AT_TI_symbol_name("rsvd10") .dwattr $C$DW$346, DW_AT_bit_offset(0x01) .dwattr $C$DW$346, DW_AT_bit_size(0x15) .dwattr $C$DW$346, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$346, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$346, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$346, DW_AT_decl_line(0x26b) .dwattr $C$DW$346, DW_AT_decl_column(0x0d) $C$DW$347 .dwtag DW_TAG_member .dwattr $C$DW$347, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$347, DW_AT_name("NONE_HINT_1") .dwattr $C$DW$347, DW_AT_TI_symbol_name("NONE_HINT_1") .dwattr $C$DW$347, DW_AT_bit_offset(0x00) .dwattr $C$DW$347, DW_AT_bit_size(0x01) .dwattr $C$DW$347, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$347, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$347, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$347, DW_AT_decl_line(0x26c) .dwattr $C$DW$347, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$75, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$75, DW_AT_decl_line(0x269) .dwattr $C$DW$T$75, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$75 $C$DW$T$217 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$217, DW_AT_type(*$C$DW$T$75) $C$DW$T$76 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$76, DW_AT_byte_size(0x04) $C$DW$348 .dwtag DW_TAG_member .dwattr $C$DW$348, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$348, DW_AT_name("PRI_HINT_2") .dwattr $C$DW$348, DW_AT_TI_symbol_name("PRI_HINT_2") .dwattr $C$DW$348, DW_AT_bit_offset(0x16) .dwattr $C$DW$348, DW_AT_bit_size(0x0a) .dwattr $C$DW$348, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$348, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$348, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$348, DW_AT_decl_line(0x276) .dwattr $C$DW$348, DW_AT_decl_column(0x0d) $C$DW$349 .dwtag DW_TAG_member .dwattr $C$DW$349, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$349, DW_AT_name("rsvd10") .dwattr $C$DW$349, DW_AT_TI_symbol_name("rsvd10") .dwattr $C$DW$349, DW_AT_bit_offset(0x01) .dwattr $C$DW$349, DW_AT_bit_size(0x15) .dwattr $C$DW$349, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$349, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$349, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$349, DW_AT_decl_line(0x277) .dwattr $C$DW$349, DW_AT_decl_column(0x0d) $C$DW$350 .dwtag DW_TAG_member .dwattr $C$DW$350, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$350, DW_AT_name("NONE_HINT_2") .dwattr $C$DW$350, DW_AT_TI_symbol_name("NONE_HINT_2") .dwattr $C$DW$350, DW_AT_bit_offset(0x00) .dwattr $C$DW$350, DW_AT_bit_size(0x01) .dwattr $C$DW$350, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$350, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$350, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$350, DW_AT_decl_line(0x278) .dwattr $C$DW$350, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$76, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$76, DW_AT_decl_line(0x275) .dwattr $C$DW$T$76, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$76 $C$DW$T$219 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$219, DW_AT_type(*$C$DW$T$76) $C$DW$T$77 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$77, DW_AT_byte_size(0x04) $C$DW$351 .dwtag DW_TAG_member .dwattr $C$DW$351, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$351, DW_AT_name("PRI_HINT_3") .dwattr $C$DW$351, DW_AT_TI_symbol_name("PRI_HINT_3") .dwattr $C$DW$351, DW_AT_bit_offset(0x16) .dwattr $C$DW$351, DW_AT_bit_size(0x0a) .dwattr $C$DW$351, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$351, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$351, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$351, DW_AT_decl_line(0x282) .dwattr $C$DW$351, DW_AT_decl_column(0x0d) $C$DW$352 .dwtag DW_TAG_member .dwattr $C$DW$352, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$352, DW_AT_name("rsvd10") .dwattr $C$DW$352, DW_AT_TI_symbol_name("rsvd10") .dwattr $C$DW$352, DW_AT_bit_offset(0x01) .dwattr $C$DW$352, DW_AT_bit_size(0x15) .dwattr $C$DW$352, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$352, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$352, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$352, DW_AT_decl_line(0x283) .dwattr $C$DW$352, DW_AT_decl_column(0x0d) $C$DW$353 .dwtag DW_TAG_member .dwattr $C$DW$353, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$353, DW_AT_name("NONE_HINT_3") .dwattr $C$DW$353, DW_AT_TI_symbol_name("NONE_HINT_3") .dwattr $C$DW$353, DW_AT_bit_offset(0x00) .dwattr $C$DW$353, DW_AT_bit_size(0x01) .dwattr $C$DW$353, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$353, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$353, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$353, DW_AT_decl_line(0x284) .dwattr $C$DW$353, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$77, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$77, DW_AT_decl_line(0x281) .dwattr $C$DW$T$77, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$77 $C$DW$T$221 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$221, DW_AT_type(*$C$DW$T$77) $C$DW$T$78 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$78, DW_AT_byte_size(0x04) $C$DW$354 .dwtag DW_TAG_member .dwattr $C$DW$354, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$354, DW_AT_name("PRI_HINT_4") .dwattr $C$DW$354, DW_AT_TI_symbol_name("PRI_HINT_4") .dwattr $C$DW$354, DW_AT_bit_offset(0x16) .dwattr $C$DW$354, DW_AT_bit_size(0x0a) .dwattr $C$DW$354, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$354, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$354, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$354, DW_AT_decl_line(0x28e) .dwattr $C$DW$354, DW_AT_decl_column(0x0d) $C$DW$355 .dwtag DW_TAG_member .dwattr $C$DW$355, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$355, DW_AT_name("rsvd10") .dwattr $C$DW$355, DW_AT_TI_symbol_name("rsvd10") .dwattr $C$DW$355, DW_AT_bit_offset(0x01) .dwattr $C$DW$355, DW_AT_bit_size(0x15) .dwattr $C$DW$355, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$355, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$355, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$355, DW_AT_decl_line(0x28f) .dwattr $C$DW$355, DW_AT_decl_column(0x0d) $C$DW$356 .dwtag DW_TAG_member .dwattr $C$DW$356, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$356, DW_AT_name("NONE_HINT_4") .dwattr $C$DW$356, DW_AT_TI_symbol_name("NONE_HINT_4") .dwattr $C$DW$356, DW_AT_bit_offset(0x00) .dwattr $C$DW$356, DW_AT_bit_size(0x01) .dwattr $C$DW$356, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$356, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$356, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$356, DW_AT_decl_line(0x290) .dwattr $C$DW$356, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$78, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$78, DW_AT_decl_line(0x28d) .dwattr $C$DW$T$78, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$78 $C$DW$T$223 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$223, DW_AT_type(*$C$DW$T$78) $C$DW$T$79 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$79, DW_AT_byte_size(0x04) $C$DW$357 .dwtag DW_TAG_member .dwattr $C$DW$357, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$357, DW_AT_name("PRI_HINT_5") .dwattr $C$DW$357, DW_AT_TI_symbol_name("PRI_HINT_5") .dwattr $C$DW$357, DW_AT_bit_offset(0x16) .dwattr $C$DW$357, DW_AT_bit_size(0x0a) .dwattr $C$DW$357, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$357, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$357, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$357, DW_AT_decl_line(0x29a) .dwattr $C$DW$357, DW_AT_decl_column(0x0d) $C$DW$358 .dwtag DW_TAG_member .dwattr $C$DW$358, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$358, DW_AT_name("rsvd10") .dwattr $C$DW$358, DW_AT_TI_symbol_name("rsvd10") .dwattr $C$DW$358, DW_AT_bit_offset(0x01) .dwattr $C$DW$358, DW_AT_bit_size(0x15) .dwattr $C$DW$358, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$358, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$358, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$358, DW_AT_decl_line(0x29b) .dwattr $C$DW$358, DW_AT_decl_column(0x0d) $C$DW$359 .dwtag DW_TAG_member .dwattr $C$DW$359, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$359, DW_AT_name("NONE_HINT_5") .dwattr $C$DW$359, DW_AT_TI_symbol_name("NONE_HINT_5") .dwattr $C$DW$359, DW_AT_bit_offset(0x00) .dwattr $C$DW$359, DW_AT_bit_size(0x01) .dwattr $C$DW$359, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$359, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$359, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$359, DW_AT_decl_line(0x29c) .dwattr $C$DW$359, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$79, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$79, DW_AT_decl_line(0x299) .dwattr $C$DW$T$79, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$79 $C$DW$T$225 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$225, DW_AT_type(*$C$DW$T$79) $C$DW$T$80 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$80, DW_AT_byte_size(0x04) $C$DW$360 .dwtag DW_TAG_member .dwattr $C$DW$360, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$360, DW_AT_name("PRI_HINT_6") .dwattr $C$DW$360, DW_AT_TI_symbol_name("PRI_HINT_6") .dwattr $C$DW$360, DW_AT_bit_offset(0x16) .dwattr $C$DW$360, DW_AT_bit_size(0x0a) .dwattr $C$DW$360, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$360, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$360, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$360, DW_AT_decl_line(0x2a6) .dwattr $C$DW$360, DW_AT_decl_column(0x0d) $C$DW$361 .dwtag DW_TAG_member .dwattr $C$DW$361, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$361, DW_AT_name("rsvd10") .dwattr $C$DW$361, DW_AT_TI_symbol_name("rsvd10") .dwattr $C$DW$361, DW_AT_bit_offset(0x01) .dwattr $C$DW$361, DW_AT_bit_size(0x15) .dwattr $C$DW$361, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$361, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$361, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$361, DW_AT_decl_line(0x2a7) .dwattr $C$DW$361, DW_AT_decl_column(0x0d) $C$DW$362 .dwtag DW_TAG_member .dwattr $C$DW$362, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$362, DW_AT_name("NONE_HINT_6") .dwattr $C$DW$362, DW_AT_TI_symbol_name("NONE_HINT_6") .dwattr $C$DW$362, DW_AT_bit_offset(0x00) .dwattr $C$DW$362, DW_AT_bit_size(0x01) .dwattr $C$DW$362, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$362, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$362, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$362, DW_AT_decl_line(0x2a8) .dwattr $C$DW$362, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$80, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$80, DW_AT_decl_line(0x2a5) .dwattr $C$DW$T$80, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$80 $C$DW$T$227 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$227, DW_AT_type(*$C$DW$T$80) $C$DW$T$81 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$81, DW_AT_byte_size(0x04) $C$DW$363 .dwtag DW_TAG_member .dwattr $C$DW$363, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$363, DW_AT_name("PRI_HINT_7") .dwattr $C$DW$363, DW_AT_TI_symbol_name("PRI_HINT_7") .dwattr $C$DW$363, DW_AT_bit_offset(0x16) .dwattr $C$DW$363, DW_AT_bit_size(0x0a) .dwattr $C$DW$363, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$363, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$363, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$363, DW_AT_decl_line(0x2b2) .dwattr $C$DW$363, DW_AT_decl_column(0x0d) $C$DW$364 .dwtag DW_TAG_member .dwattr $C$DW$364, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$364, DW_AT_name("rsvd10") .dwattr $C$DW$364, DW_AT_TI_symbol_name("rsvd10") .dwattr $C$DW$364, DW_AT_bit_offset(0x01) .dwattr $C$DW$364, DW_AT_bit_size(0x15) .dwattr $C$DW$364, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$364, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$364, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$364, DW_AT_decl_line(0x2b3) .dwattr $C$DW$364, DW_AT_decl_column(0x0d) $C$DW$365 .dwtag DW_TAG_member .dwattr $C$DW$365, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$365, DW_AT_name("NONE_HINT_7") .dwattr $C$DW$365, DW_AT_TI_symbol_name("NONE_HINT_7") .dwattr $C$DW$365, DW_AT_bit_offset(0x00) .dwattr $C$DW$365, DW_AT_bit_size(0x01) .dwattr $C$DW$365, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$365, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$365, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$365, DW_AT_decl_line(0x2b4) .dwattr $C$DW$365, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$81, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$81, DW_AT_decl_line(0x2b1) .dwattr $C$DW$T$81, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$81 $C$DW$T$229 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$229, DW_AT_type(*$C$DW$T$81) $C$DW$T$82 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$82, DW_AT_byte_size(0x04) $C$DW$366 .dwtag DW_TAG_member .dwattr $C$DW$366, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$366, DW_AT_name("PRI_HINT_8") .dwattr $C$DW$366, DW_AT_TI_symbol_name("PRI_HINT_8") .dwattr $C$DW$366, DW_AT_bit_offset(0x16) .dwattr $C$DW$366, DW_AT_bit_size(0x0a) .dwattr $C$DW$366, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$366, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$366, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$366, DW_AT_decl_line(0x2be) .dwattr $C$DW$366, DW_AT_decl_column(0x0d) $C$DW$367 .dwtag DW_TAG_member .dwattr $C$DW$367, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$367, DW_AT_name("rsvd10") .dwattr $C$DW$367, DW_AT_TI_symbol_name("rsvd10") .dwattr $C$DW$367, DW_AT_bit_offset(0x01) .dwattr $C$DW$367, DW_AT_bit_size(0x15) .dwattr $C$DW$367, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$367, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$367, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$367, DW_AT_decl_line(0x2bf) .dwattr $C$DW$367, DW_AT_decl_column(0x0d) $C$DW$368 .dwtag DW_TAG_member .dwattr $C$DW$368, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$368, DW_AT_name("NONE_HINT_8") .dwattr $C$DW$368, DW_AT_TI_symbol_name("NONE_HINT_8") .dwattr $C$DW$368, DW_AT_bit_offset(0x00) .dwattr $C$DW$368, DW_AT_bit_size(0x01) .dwattr $C$DW$368, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$368, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$368, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$368, DW_AT_decl_line(0x2c0) .dwattr $C$DW$368, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$82, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$82, DW_AT_decl_line(0x2bd) .dwattr $C$DW$T$82, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$82 $C$DW$T$231 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$231, DW_AT_type(*$C$DW$T$82) $C$DW$T$83 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$83, DW_AT_byte_size(0x04) $C$DW$369 .dwtag DW_TAG_member .dwattr $C$DW$369, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$369, DW_AT_name("PRI_HINT_9") .dwattr $C$DW$369, DW_AT_TI_symbol_name("PRI_HINT_9") .dwattr $C$DW$369, DW_AT_bit_offset(0x16) .dwattr $C$DW$369, DW_AT_bit_size(0x0a) .dwattr $C$DW$369, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$369, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$369, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$369, DW_AT_decl_line(0x2ca) .dwattr $C$DW$369, DW_AT_decl_column(0x0d) $C$DW$370 .dwtag DW_TAG_member .dwattr $C$DW$370, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$370, DW_AT_name("rsvd10") .dwattr $C$DW$370, DW_AT_TI_symbol_name("rsvd10") .dwattr $C$DW$370, DW_AT_bit_offset(0x01) .dwattr $C$DW$370, DW_AT_bit_size(0x15) .dwattr $C$DW$370, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$370, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$370, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$370, DW_AT_decl_line(0x2cb) .dwattr $C$DW$370, DW_AT_decl_column(0x0d) $C$DW$371 .dwtag DW_TAG_member .dwattr $C$DW$371, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$371, DW_AT_name("NONE_HINT_9") .dwattr $C$DW$371, DW_AT_TI_symbol_name("NONE_HINT_9") .dwattr $C$DW$371, DW_AT_bit_offset(0x00) .dwattr $C$DW$371, DW_AT_bit_size(0x01) .dwattr $C$DW$371, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$371, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$371, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$371, DW_AT_decl_line(0x2cc) .dwattr $C$DW$371, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$83, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$83, DW_AT_decl_line(0x2c9) .dwattr $C$DW$T$83, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$83 $C$DW$T$233 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$233, DW_AT_type(*$C$DW$T$83) $C$DW$T$84 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$84, DW_AT_byte_size(0x04) $C$DW$372 .dwtag DW_TAG_member .dwattr $C$DW$372, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$372, DW_AT_name("POLARITY_31_0") .dwattr $C$DW$372, DW_AT_TI_symbol_name("POLARITY_31_0") .dwattr $C$DW$372, DW_AT_bit_offset(0x00) .dwattr $C$DW$372, DW_AT_bit_size(0x20) .dwattr $C$DW$372, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$372, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$372, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$372, DW_AT_decl_line(0x2d9) .dwattr $C$DW$372, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$84, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$84, DW_AT_decl_line(0x2d8) .dwattr $C$DW$T$84, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$84 $C$DW$T$235 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$235, DW_AT_type(*$C$DW$T$84) $C$DW$T$85 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$85, DW_AT_byte_size(0x04) $C$DW$373 .dwtag DW_TAG_member .dwattr $C$DW$373, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$373, DW_AT_name("POLARITY_63_32") .dwattr $C$DW$373, DW_AT_TI_symbol_name("POLARITY_63_32") .dwattr $C$DW$373, DW_AT_bit_offset(0x00) .dwattr $C$DW$373, DW_AT_bit_size(0x20) .dwattr $C$DW$373, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$373, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$373, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$373, DW_AT_decl_line(0x2e3) .dwattr $C$DW$373, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$85, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$85, DW_AT_decl_line(0x2e2) .dwattr $C$DW$T$85, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$85 $C$DW$T$237 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$237, DW_AT_type(*$C$DW$T$85) $C$DW$T$86 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$86, DW_AT_byte_size(0x04) $C$DW$374 .dwtag DW_TAG_member .dwattr $C$DW$374, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$374, DW_AT_name("TYPE_31_0") .dwattr $C$DW$374, DW_AT_TI_symbol_name("TYPE_31_0") .dwattr $C$DW$374, DW_AT_bit_offset(0x00) .dwattr $C$DW$374, DW_AT_bit_size(0x20) .dwattr $C$DW$374, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$374, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$374, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$374, DW_AT_decl_line(0x2f0) .dwattr $C$DW$374, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$86, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$86, DW_AT_decl_line(0x2ef) .dwattr $C$DW$T$86, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$86 $C$DW$T$239 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$239, DW_AT_type(*$C$DW$T$86) $C$DW$T$87 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$87, DW_AT_byte_size(0x04) $C$DW$375 .dwtag DW_TAG_member .dwattr $C$DW$375, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$375, DW_AT_name("TYPE_63_32") .dwattr $C$DW$375, DW_AT_TI_symbol_name("TYPE_63_32") .dwattr $C$DW$375, DW_AT_bit_offset(0x00) .dwattr $C$DW$375, DW_AT_bit_size(0x20) .dwattr $C$DW$375, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$375, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$375, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$375, DW_AT_decl_line(0x2fa) .dwattr $C$DW$375, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$87, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$87, DW_AT_decl_line(0x2f9) .dwattr $C$DW$T$87, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$87 $C$DW$T$241 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$241, DW_AT_type(*$C$DW$T$87) $C$DW$T$88 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$88, DW_AT_byte_size(0x04) $C$DW$376 .dwtag DW_TAG_member .dwattr $C$DW$376, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$376, DW_AT_name("NEST_HINT_0") .dwattr $C$DW$376, DW_AT_TI_symbol_name("NEST_HINT_0") .dwattr $C$DW$376, DW_AT_bit_offset(0x17) .dwattr $C$DW$376, DW_AT_bit_size(0x09) .dwattr $C$DW$376, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$376, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$376, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$376, DW_AT_decl_line(0x307) .dwattr $C$DW$376, DW_AT_decl_column(0x0d) $C$DW$377 .dwtag DW_TAG_member .dwattr $C$DW$377, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$377, DW_AT_name("rsvd9") .dwattr $C$DW$377, DW_AT_TI_symbol_name("rsvd9") .dwattr $C$DW$377, DW_AT_bit_offset(0x01) .dwattr $C$DW$377, DW_AT_bit_size(0x16) .dwattr $C$DW$377, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$377, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$377, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$377, DW_AT_decl_line(0x308) .dwattr $C$DW$377, DW_AT_decl_column(0x0d) $C$DW$378 .dwtag DW_TAG_member .dwattr $C$DW$378, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$378, DW_AT_name("AUTO_OVERRIDE") .dwattr $C$DW$378, DW_AT_TI_symbol_name("AUTO_OVERRIDE") .dwattr $C$DW$378, DW_AT_bit_offset(0x00) .dwattr $C$DW$378, DW_AT_bit_size(0x01) .dwattr $C$DW$378, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$378, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$378, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$378, DW_AT_decl_line(0x309) .dwattr $C$DW$378, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$88, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$88, DW_AT_decl_line(0x306) .dwattr $C$DW$T$88, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$88 $C$DW$T$243 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$243, DW_AT_type(*$C$DW$T$88) $C$DW$T$89 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$89, DW_AT_byte_size(0x04) $C$DW$379 .dwtag DW_TAG_member .dwattr $C$DW$379, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$379, DW_AT_name("NEST_HINT_1") .dwattr $C$DW$379, DW_AT_TI_symbol_name("NEST_HINT_1") .dwattr $C$DW$379, DW_AT_bit_offset(0x17) .dwattr $C$DW$379, DW_AT_bit_size(0x09) .dwattr $C$DW$379, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$379, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$379, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$379, DW_AT_decl_line(0x313) .dwattr $C$DW$379, DW_AT_decl_column(0x0d) $C$DW$380 .dwtag DW_TAG_member .dwattr $C$DW$380, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$380, DW_AT_name("rsvd9") .dwattr $C$DW$380, DW_AT_TI_symbol_name("rsvd9") .dwattr $C$DW$380, DW_AT_bit_offset(0x01) .dwattr $C$DW$380, DW_AT_bit_size(0x16) .dwattr $C$DW$380, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$380, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$380, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$380, DW_AT_decl_line(0x314) .dwattr $C$DW$380, DW_AT_decl_column(0x0d) $C$DW$381 .dwtag DW_TAG_member .dwattr $C$DW$381, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$381, DW_AT_name("AUTO_OVERRIDE") .dwattr $C$DW$381, DW_AT_TI_symbol_name("AUTO_OVERRIDE") .dwattr $C$DW$381, DW_AT_bit_offset(0x00) .dwattr $C$DW$381, DW_AT_bit_size(0x01) .dwattr $C$DW$381, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$381, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$381, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$381, DW_AT_decl_line(0x315) .dwattr $C$DW$381, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$89, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$89, DW_AT_decl_line(0x312) .dwattr $C$DW$T$89, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$89 $C$DW$T$245 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$245, DW_AT_type(*$C$DW$T$89) $C$DW$T$90 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$90, DW_AT_byte_size(0x04) $C$DW$382 .dwtag DW_TAG_member .dwattr $C$DW$382, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$382, DW_AT_name("NEST_HINT_2") .dwattr $C$DW$382, DW_AT_TI_symbol_name("NEST_HINT_2") .dwattr $C$DW$382, DW_AT_bit_offset(0x17) .dwattr $C$DW$382, DW_AT_bit_size(0x09) .dwattr $C$DW$382, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$382, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$382, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$382, DW_AT_decl_line(0x31f) .dwattr $C$DW$382, DW_AT_decl_column(0x0d) $C$DW$383 .dwtag DW_TAG_member .dwattr $C$DW$383, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$383, DW_AT_name("rsvd9") .dwattr $C$DW$383, DW_AT_TI_symbol_name("rsvd9") .dwattr $C$DW$383, DW_AT_bit_offset(0x01) .dwattr $C$DW$383, DW_AT_bit_size(0x16) .dwattr $C$DW$383, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$383, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$383, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$383, DW_AT_decl_line(0x320) .dwattr $C$DW$383, DW_AT_decl_column(0x0d) $C$DW$384 .dwtag DW_TAG_member .dwattr $C$DW$384, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$384, DW_AT_name("AUTO_OVERRIDE") .dwattr $C$DW$384, DW_AT_TI_symbol_name("AUTO_OVERRIDE") .dwattr $C$DW$384, DW_AT_bit_offset(0x00) .dwattr $C$DW$384, DW_AT_bit_size(0x01) .dwattr $C$DW$384, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$384, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$384, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$384, DW_AT_decl_line(0x321) .dwattr $C$DW$384, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$90, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$90, DW_AT_decl_line(0x31e) .dwattr $C$DW$T$90, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$90 $C$DW$T$247 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$247, DW_AT_type(*$C$DW$T$90) $C$DW$T$91 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$91, DW_AT_byte_size(0x04) $C$DW$385 .dwtag DW_TAG_member .dwattr $C$DW$385, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$385, DW_AT_name("NEST_HINT_3") .dwattr $C$DW$385, DW_AT_TI_symbol_name("NEST_HINT_3") .dwattr $C$DW$385, DW_AT_bit_offset(0x17) .dwattr $C$DW$385, DW_AT_bit_size(0x09) .dwattr $C$DW$385, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$385, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$385, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$385, DW_AT_decl_line(0x32b) .dwattr $C$DW$385, DW_AT_decl_column(0x0d) $C$DW$386 .dwtag DW_TAG_member .dwattr $C$DW$386, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$386, DW_AT_name("rsvd9") .dwattr $C$DW$386, DW_AT_TI_symbol_name("rsvd9") .dwattr $C$DW$386, DW_AT_bit_offset(0x01) .dwattr $C$DW$386, DW_AT_bit_size(0x16) .dwattr $C$DW$386, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$386, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$386, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$386, DW_AT_decl_line(0x32c) .dwattr $C$DW$386, DW_AT_decl_column(0x0d) $C$DW$387 .dwtag DW_TAG_member .dwattr $C$DW$387, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$387, DW_AT_name("AUTO_OVERRIDE") .dwattr $C$DW$387, DW_AT_TI_symbol_name("AUTO_OVERRIDE") .dwattr $C$DW$387, DW_AT_bit_offset(0x00) .dwattr $C$DW$387, DW_AT_bit_size(0x01) .dwattr $C$DW$387, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$387, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$387, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$387, DW_AT_decl_line(0x32d) .dwattr $C$DW$387, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$91, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$91, DW_AT_decl_line(0x32a) .dwattr $C$DW$T$91, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$91 $C$DW$T$249 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$249, DW_AT_type(*$C$DW$T$91) $C$DW$T$92 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$92, DW_AT_byte_size(0x04) $C$DW$388 .dwtag DW_TAG_member .dwattr $C$DW$388, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$388, DW_AT_name("NEST_HINT_4") .dwattr $C$DW$388, DW_AT_TI_symbol_name("NEST_HINT_4") .dwattr $C$DW$388, DW_AT_bit_offset(0x17) .dwattr $C$DW$388, DW_AT_bit_size(0x09) .dwattr $C$DW$388, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$388, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$388, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$388, DW_AT_decl_line(0x337) .dwattr $C$DW$388, DW_AT_decl_column(0x0d) $C$DW$389 .dwtag DW_TAG_member .dwattr $C$DW$389, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$389, DW_AT_name("rsvd9") .dwattr $C$DW$389, DW_AT_TI_symbol_name("rsvd9") .dwattr $C$DW$389, DW_AT_bit_offset(0x01) .dwattr $C$DW$389, DW_AT_bit_size(0x16) .dwattr $C$DW$389, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$389, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$389, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$389, DW_AT_decl_line(0x338) .dwattr $C$DW$389, DW_AT_decl_column(0x0d) $C$DW$390 .dwtag DW_TAG_member .dwattr $C$DW$390, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$390, DW_AT_name("AUTO_OVERRIDE") .dwattr $C$DW$390, DW_AT_TI_symbol_name("AUTO_OVERRIDE") .dwattr $C$DW$390, DW_AT_bit_offset(0x00) .dwattr $C$DW$390, DW_AT_bit_size(0x01) .dwattr $C$DW$390, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$390, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$390, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$390, DW_AT_decl_line(0x339) .dwattr $C$DW$390, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$92, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$92, DW_AT_decl_line(0x336) .dwattr $C$DW$T$92, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$92 $C$DW$T$251 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$251, DW_AT_type(*$C$DW$T$92) $C$DW$T$93 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$93, DW_AT_byte_size(0x04) $C$DW$391 .dwtag DW_TAG_member .dwattr $C$DW$391, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$391, DW_AT_name("NEST_HINT_5") .dwattr $C$DW$391, DW_AT_TI_symbol_name("NEST_HINT_5") .dwattr $C$DW$391, DW_AT_bit_offset(0x17) .dwattr $C$DW$391, DW_AT_bit_size(0x09) .dwattr $C$DW$391, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$391, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$391, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$391, DW_AT_decl_line(0x343) .dwattr $C$DW$391, DW_AT_decl_column(0x0d) $C$DW$392 .dwtag DW_TAG_member .dwattr $C$DW$392, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$392, DW_AT_name("rsvd9") .dwattr $C$DW$392, DW_AT_TI_symbol_name("rsvd9") .dwattr $C$DW$392, DW_AT_bit_offset(0x01) .dwattr $C$DW$392, DW_AT_bit_size(0x16) .dwattr $C$DW$392, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$392, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$392, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$392, DW_AT_decl_line(0x344) .dwattr $C$DW$392, DW_AT_decl_column(0x0d) $C$DW$393 .dwtag DW_TAG_member .dwattr $C$DW$393, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$393, DW_AT_name("AUTO_OVERRIDE") .dwattr $C$DW$393, DW_AT_TI_symbol_name("AUTO_OVERRIDE") .dwattr $C$DW$393, DW_AT_bit_offset(0x00) .dwattr $C$DW$393, DW_AT_bit_size(0x01) .dwattr $C$DW$393, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$393, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$393, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$393, DW_AT_decl_line(0x345) .dwattr $C$DW$393, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$93, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$93, DW_AT_decl_line(0x342) .dwattr $C$DW$T$93, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$93 $C$DW$T$253 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$253, DW_AT_type(*$C$DW$T$93) $C$DW$T$94 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$94, DW_AT_byte_size(0x04) $C$DW$394 .dwtag DW_TAG_member .dwattr $C$DW$394, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$394, DW_AT_name("NEST_HINT_6") .dwattr $C$DW$394, DW_AT_TI_symbol_name("NEST_HINT_6") .dwattr $C$DW$394, DW_AT_bit_offset(0x17) .dwattr $C$DW$394, DW_AT_bit_size(0x09) .dwattr $C$DW$394, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$394, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$394, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$394, DW_AT_decl_line(0x34f) .dwattr $C$DW$394, DW_AT_decl_column(0x0d) $C$DW$395 .dwtag DW_TAG_member .dwattr $C$DW$395, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$395, DW_AT_name("rsvd9") .dwattr $C$DW$395, DW_AT_TI_symbol_name("rsvd9") .dwattr $C$DW$395, DW_AT_bit_offset(0x01) .dwattr $C$DW$395, DW_AT_bit_size(0x16) .dwattr $C$DW$395, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$395, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$395, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$395, DW_AT_decl_line(0x350) .dwattr $C$DW$395, DW_AT_decl_column(0x0d) $C$DW$396 .dwtag DW_TAG_member .dwattr $C$DW$396, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$396, DW_AT_name("AUTO_OVERRIDE") .dwattr $C$DW$396, DW_AT_TI_symbol_name("AUTO_OVERRIDE") .dwattr $C$DW$396, DW_AT_bit_offset(0x00) .dwattr $C$DW$396, DW_AT_bit_size(0x01) .dwattr $C$DW$396, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$396, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$396, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$396, DW_AT_decl_line(0x351) .dwattr $C$DW$396, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$94, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$94, DW_AT_decl_line(0x34e) .dwattr $C$DW$T$94, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$94 $C$DW$T$255 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$255, DW_AT_type(*$C$DW$T$94) $C$DW$T$95 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$95, DW_AT_byte_size(0x04) $C$DW$397 .dwtag DW_TAG_member .dwattr $C$DW$397, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$397, DW_AT_name("NEST_HINT_7") .dwattr $C$DW$397, DW_AT_TI_symbol_name("NEST_HINT_7") .dwattr $C$DW$397, DW_AT_bit_offset(0x17) .dwattr $C$DW$397, DW_AT_bit_size(0x09) .dwattr $C$DW$397, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$397, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$397, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$397, DW_AT_decl_line(0x35b) .dwattr $C$DW$397, DW_AT_decl_column(0x0d) $C$DW$398 .dwtag DW_TAG_member .dwattr $C$DW$398, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$398, DW_AT_name("rsvd9") .dwattr $C$DW$398, DW_AT_TI_symbol_name("rsvd9") .dwattr $C$DW$398, DW_AT_bit_offset(0x01) .dwattr $C$DW$398, DW_AT_bit_size(0x16) .dwattr $C$DW$398, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$398, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$398, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$398, DW_AT_decl_line(0x35c) .dwattr $C$DW$398, DW_AT_decl_column(0x0d) $C$DW$399 .dwtag DW_TAG_member .dwattr $C$DW$399, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$399, DW_AT_name("AUTO_OVERRIDE") .dwattr $C$DW$399, DW_AT_TI_symbol_name("AUTO_OVERRIDE") .dwattr $C$DW$399, DW_AT_bit_offset(0x00) .dwattr $C$DW$399, DW_AT_bit_size(0x01) .dwattr $C$DW$399, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$399, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$399, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$399, DW_AT_decl_line(0x35d) .dwattr $C$DW$399, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$95, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$95, DW_AT_decl_line(0x35a) .dwattr $C$DW$T$95, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$95 $C$DW$T$257 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$257, DW_AT_type(*$C$DW$T$95) $C$DW$T$96 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$96, DW_AT_byte_size(0x04) $C$DW$400 .dwtag DW_TAG_member .dwattr $C$DW$400, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$400, DW_AT_name("NEST_HINT_8") .dwattr $C$DW$400, DW_AT_TI_symbol_name("NEST_HINT_8") .dwattr $C$DW$400, DW_AT_bit_offset(0x17) .dwattr $C$DW$400, DW_AT_bit_size(0x09) .dwattr $C$DW$400, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$400, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$400, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$400, DW_AT_decl_line(0x367) .dwattr $C$DW$400, DW_AT_decl_column(0x0d) $C$DW$401 .dwtag DW_TAG_member .dwattr $C$DW$401, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$401, DW_AT_name("rsvd9") .dwattr $C$DW$401, DW_AT_TI_symbol_name("rsvd9") .dwattr $C$DW$401, DW_AT_bit_offset(0x01) .dwattr $C$DW$401, DW_AT_bit_size(0x16) .dwattr $C$DW$401, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$401, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$401, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$401, DW_AT_decl_line(0x368) .dwattr $C$DW$401, DW_AT_decl_column(0x0d) $C$DW$402 .dwtag DW_TAG_member .dwattr $C$DW$402, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$402, DW_AT_name("AUTO_OVERRIDE") .dwattr $C$DW$402, DW_AT_TI_symbol_name("AUTO_OVERRIDE") .dwattr $C$DW$402, DW_AT_bit_offset(0x00) .dwattr $C$DW$402, DW_AT_bit_size(0x01) .dwattr $C$DW$402, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$402, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$402, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$402, DW_AT_decl_line(0x369) .dwattr $C$DW$402, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$96, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$96, DW_AT_decl_line(0x366) .dwattr $C$DW$T$96, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$96 $C$DW$T$259 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$259, DW_AT_type(*$C$DW$T$96) $C$DW$T$97 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$97, DW_AT_byte_size(0x04) $C$DW$403 .dwtag DW_TAG_member .dwattr $C$DW$403, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$403, DW_AT_name("NEST_HINT_9") .dwattr $C$DW$403, DW_AT_TI_symbol_name("NEST_HINT_9") .dwattr $C$DW$403, DW_AT_bit_offset(0x17) .dwattr $C$DW$403, DW_AT_bit_size(0x09) .dwattr $C$DW$403, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$403, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$403, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$403, DW_AT_decl_line(0x373) .dwattr $C$DW$403, DW_AT_decl_column(0x0d) $C$DW$404 .dwtag DW_TAG_member .dwattr $C$DW$404, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$404, DW_AT_name("rsvd9") .dwattr $C$DW$404, DW_AT_TI_symbol_name("rsvd9") .dwattr $C$DW$404, DW_AT_bit_offset(0x01) .dwattr $C$DW$404, DW_AT_bit_size(0x16) .dwattr $C$DW$404, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$404, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$404, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$404, DW_AT_decl_line(0x374) .dwattr $C$DW$404, DW_AT_decl_column(0x0d) $C$DW$405 .dwtag DW_TAG_member .dwattr $C$DW$405, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$405, DW_AT_name("AUTO_OVERRIDE") .dwattr $C$DW$405, DW_AT_TI_symbol_name("AUTO_OVERRIDE") .dwattr $C$DW$405, DW_AT_bit_offset(0x00) .dwattr $C$DW$405, DW_AT_bit_size(0x01) .dwattr $C$DW$405, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$405, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$405, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$405, DW_AT_decl_line(0x375) .dwattr $C$DW$405, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$97, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$97, DW_AT_decl_line(0x372) .dwattr $C$DW$T$97, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$97 $C$DW$T$261 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$261, DW_AT_type(*$C$DW$T$97) $C$DW$T$98 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$98, DW_AT_byte_size(0x04) $C$DW$406 .dwtag DW_TAG_member .dwattr $C$DW$406, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$406, DW_AT_name("EN_HINT") .dwattr $C$DW$406, DW_AT_TI_symbol_name("EN_HINT") .dwattr $C$DW$406, DW_AT_bit_offset(0x16) .dwattr $C$DW$406, DW_AT_bit_size(0x0a) .dwattr $C$DW$406, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$406, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$406, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$406, DW_AT_decl_line(0x382) .dwattr $C$DW$406, DW_AT_decl_column(0x0d) $C$DW$407 .dwtag DW_TAG_member .dwattr $C$DW$407, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$407, DW_AT_name("rsvd9") .dwattr $C$DW$407, DW_AT_TI_symbol_name("rsvd9") .dwattr $C$DW$407, DW_AT_bit_offset(0x00) .dwattr $C$DW$407, DW_AT_bit_size(0x16) .dwattr $C$DW$407, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$407, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$407, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$407, DW_AT_decl_line(0x383) .dwattr $C$DW$407, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$98, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$98, DW_AT_decl_line(0x381) .dwattr $C$DW$T$98, DW_AT_decl_column(0x13) .dwendtag $C$DW$T$98 $C$DW$T$263 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$263, DW_AT_type(*$C$DW$T$98) $C$DW$T$106 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$106, DW_AT_byte_size(0x1504) $C$DW$408 .dwtag DW_TAG_member .dwattr $C$DW$408, DW_AT_type(*$C$DW$T$140) .dwattr $C$DW$408, DW_AT_name("$P$T13") .dwattr $C$DW$408, DW_AT_TI_symbol_name("$P$T13") .dwattr $C$DW$408, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$408, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$408, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$408, DW_AT_decl_line(0x29) .dwattr $C$DW$408, DW_AT_decl_column(0x02) $C$DW$409 .dwtag DW_TAG_member .dwattr $C$DW$409, DW_AT_type(*$C$DW$T$142) .dwattr $C$DW$409, DW_AT_name("$P$T14") .dwattr $C$DW$409, DW_AT_TI_symbol_name("$P$T14") .dwattr $C$DW$409, DW_AT_data_member_location[DW_OP_plus_uconst 0x4] .dwattr $C$DW$409, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$409, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$409, DW_AT_decl_line(0x39) .dwattr $C$DW$409, DW_AT_decl_column(0x02) $C$DW$410 .dwtag DW_TAG_member .dwattr $C$DW$410, DW_AT_type(*$C$DW$T$34) .dwattr $C$DW$410, DW_AT_name("rsvd8") .dwattr $C$DW$410, DW_AT_TI_symbol_name("rsvd8") .dwattr $C$DW$410, DW_AT_data_member_location[DW_OP_plus_uconst 0x8] .dwattr $C$DW$410, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$410, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$410, DW_AT_decl_line(0x44) .dwattr $C$DW$410, DW_AT_decl_column(0x0b) $C$DW$411 .dwtag DW_TAG_member .dwattr $C$DW$411, DW_AT_type(*$C$DW$T$144) .dwattr $C$DW$411, DW_AT_name("$P$T15") .dwattr $C$DW$411, DW_AT_TI_symbol_name("$P$T15") .dwattr $C$DW$411, DW_AT_data_member_location[DW_OP_plus_uconst 0x10] .dwattr $C$DW$411, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$411, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$411, DW_AT_decl_line(0x48) .dwattr $C$DW$411, DW_AT_decl_column(0x02) $C$DW$412 .dwtag DW_TAG_member .dwattr $C$DW$412, DW_AT_type(*$C$DW$T$34) .dwattr $C$DW$412, DW_AT_name("rsvd14") .dwattr $C$DW$412, DW_AT_TI_symbol_name("rsvd14") .dwattr $C$DW$412, DW_AT_data_member_location[DW_OP_plus_uconst 0x14] .dwattr $C$DW$412, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$412, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$412, DW_AT_decl_line(0x52) .dwattr $C$DW$412, DW_AT_decl_column(0x0b) $C$DW$413 .dwtag DW_TAG_member .dwattr $C$DW$413, DW_AT_type(*$C$DW$T$146) .dwattr $C$DW$413, DW_AT_name("$P$T16") .dwattr $C$DW$413, DW_AT_TI_symbol_name("$P$T16") .dwattr $C$DW$413, DW_AT_data_member_location[DW_OP_plus_uconst 0x1c] .dwattr $C$DW$413, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$413, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$413, DW_AT_decl_line(0x56) .dwattr $C$DW$413, DW_AT_decl_column(0x02) $C$DW$414 .dwtag DW_TAG_member .dwattr $C$DW$414, DW_AT_type(*$C$DW$T$148) .dwattr $C$DW$414, DW_AT_name("$P$T17") .dwattr $C$DW$414, DW_AT_TI_symbol_name("$P$T17") .dwattr $C$DW$414, DW_AT_data_member_location[DW_OP_plus_uconst 0x20] .dwattr $C$DW$414, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$414, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$414, DW_AT_decl_line(0x62) .dwattr $C$DW$414, DW_AT_decl_column(0x02) $C$DW$415 .dwtag DW_TAG_member .dwattr $C$DW$415, DW_AT_type(*$C$DW$T$150) .dwattr $C$DW$415, DW_AT_name("$P$T18") .dwattr $C$DW$415, DW_AT_TI_symbol_name("$P$T18") .dwattr $C$DW$415, DW_AT_data_member_location[DW_OP_plus_uconst 0x24] .dwattr $C$DW$415, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$415, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$415, DW_AT_decl_line(0x6d) .dwattr $C$DW$415, DW_AT_decl_column(0x02) $C$DW$416 .dwtag DW_TAG_member .dwattr $C$DW$416, DW_AT_type(*$C$DW$T$152) .dwattr $C$DW$416, DW_AT_name("$P$T19") .dwattr $C$DW$416, DW_AT_TI_symbol_name("$P$T19") .dwattr $C$DW$416, DW_AT_data_member_location[DW_OP_plus_uconst 0x28] .dwattr $C$DW$416, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$416, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$416, DW_AT_decl_line(0x78) .dwattr $C$DW$416, DW_AT_decl_column(0x02) $C$DW$417 .dwtag DW_TAG_member .dwattr $C$DW$417, DW_AT_type(*$C$DW$T$154) .dwattr $C$DW$417, DW_AT_name("$P$T20") .dwattr $C$DW$417, DW_AT_TI_symbol_name("$P$T20") .dwattr $C$DW$417, DW_AT_data_member_location[DW_OP_plus_uconst 0x2c] .dwattr $C$DW$417, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$417, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$417, DW_AT_decl_line(0x83) .dwattr $C$DW$417, DW_AT_decl_column(0x02) $C$DW$418 .dwtag DW_TAG_member .dwattr $C$DW$418, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$418, DW_AT_name("rsvd30") .dwattr $C$DW$418, DW_AT_TI_symbol_name("rsvd30") .dwattr $C$DW$418, DW_AT_data_member_location[DW_OP_plus_uconst 0x30] .dwattr $C$DW$418, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$418, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$418, DW_AT_decl_line(0x8d) .dwattr $C$DW$418, DW_AT_decl_column(0x0b) $C$DW$419 .dwtag DW_TAG_member .dwattr $C$DW$419, DW_AT_type(*$C$DW$T$156) .dwattr $C$DW$419, DW_AT_name("$P$T21") .dwattr $C$DW$419, DW_AT_TI_symbol_name("$P$T21") .dwattr $C$DW$419, DW_AT_data_member_location[DW_OP_plus_uconst 0x34] .dwattr $C$DW$419, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$419, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$419, DW_AT_decl_line(0x91) .dwattr $C$DW$419, DW_AT_decl_column(0x02) $C$DW$420 .dwtag DW_TAG_member .dwattr $C$DW$420, DW_AT_type(*$C$DW$T$158) .dwattr $C$DW$420, DW_AT_name("$P$T22") .dwattr $C$DW$420, DW_AT_TI_symbol_name("$P$T22") .dwattr $C$DW$420, DW_AT_data_member_location[DW_OP_plus_uconst 0x38] .dwattr $C$DW$420, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$420, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$420, DW_AT_decl_line(0x9c) .dwattr $C$DW$420, DW_AT_decl_column(0x02) $C$DW$421 .dwtag DW_TAG_member .dwattr $C$DW$421, DW_AT_type(*$C$DW$T$99) .dwattr $C$DW$421, DW_AT_name("rsvd3C") .dwattr $C$DW$421, DW_AT_TI_symbol_name("rsvd3C") .dwattr $C$DW$421, DW_AT_data_member_location[DW_OP_plus_uconst 0x3c] .dwattr $C$DW$421, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$421, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$421, DW_AT_decl_line(0xa6) .dwattr $C$DW$421, DW_AT_decl_column(0x0b) $C$DW$422 .dwtag DW_TAG_member .dwattr $C$DW$422, DW_AT_type(*$C$DW$T$160) .dwattr $C$DW$422, DW_AT_name("$P$T23") .dwattr $C$DW$422, DW_AT_TI_symbol_name("$P$T23") .dwattr $C$DW$422, DW_AT_data_member_location[DW_OP_plus_uconst 0x80] .dwattr $C$DW$422, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$422, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$422, DW_AT_decl_line(0xaa) .dwattr $C$DW$422, DW_AT_decl_column(0x02) $C$DW$423 .dwtag DW_TAG_member .dwattr $C$DW$423, DW_AT_type(*$C$DW$T$100) .dwattr $C$DW$423, DW_AT_name("rsvd84") .dwattr $C$DW$423, DW_AT_TI_symbol_name("rsvd84") .dwattr $C$DW$423, DW_AT_data_member_location[DW_OP_plus_uconst 0x84] .dwattr $C$DW$423, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$423, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$423, DW_AT_decl_line(0xb5) .dwattr $C$DW$423, DW_AT_decl_column(0x0b) $C$DW$424 .dwtag DW_TAG_member .dwattr $C$DW$424, DW_AT_type(*$C$DW$T$162) .dwattr $C$DW$424, DW_AT_name("$P$T24") .dwattr $C$DW$424, DW_AT_TI_symbol_name("$P$T24") .dwattr $C$DW$424, DW_AT_data_member_location[DW_OP_plus_uconst 0x200] .dwattr $C$DW$424, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$424, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$424, DW_AT_decl_line(0xb9) .dwattr $C$DW$424, DW_AT_decl_column(0x02) $C$DW$425 .dwtag DW_TAG_member .dwattr $C$DW$425, DW_AT_type(*$C$DW$T$164) .dwattr $C$DW$425, DW_AT_name("$P$T25") .dwattr $C$DW$425, DW_AT_TI_symbol_name("$P$T25") .dwattr $C$DW$425, DW_AT_data_member_location[DW_OP_plus_uconst 0x204] .dwattr $C$DW$425, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$425, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$425, DW_AT_decl_line(0xc3) .dwattr $C$DW$425, DW_AT_decl_column(0x02) $C$DW$426 .dwtag DW_TAG_member .dwattr $C$DW$426, DW_AT_type(*$C$DW$T$101) .dwattr $C$DW$426, DW_AT_name("rsvd208") .dwattr $C$DW$426, DW_AT_TI_symbol_name("rsvd208") .dwattr $C$DW$426, DW_AT_data_member_location[DW_OP_plus_uconst 0x208] .dwattr $C$DW$426, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$426, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$426, DW_AT_decl_line(0xcc) .dwattr $C$DW$426, DW_AT_decl_column(0x0b) $C$DW$427 .dwtag DW_TAG_member .dwattr $C$DW$427, DW_AT_type(*$C$DW$T$166) .dwattr $C$DW$427, DW_AT_name("$P$T26") .dwattr $C$DW$427, DW_AT_TI_symbol_name("$P$T26") .dwattr $C$DW$427, DW_AT_data_member_location[DW_OP_plus_uconst 0x280] .dwattr $C$DW$427, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$427, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$427, DW_AT_decl_line(0xd0) .dwattr $C$DW$427, DW_AT_decl_column(0x02) $C$DW$428 .dwtag DW_TAG_member .dwattr $C$DW$428, DW_AT_type(*$C$DW$T$168) .dwattr $C$DW$428, DW_AT_name("$P$T27") .dwattr $C$DW$428, DW_AT_TI_symbol_name("$P$T27") .dwattr $C$DW$428, DW_AT_data_member_location[DW_OP_plus_uconst 0x284] .dwattr $C$DW$428, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$428, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$428, DW_AT_decl_line(0xda) .dwattr $C$DW$428, DW_AT_decl_column(0x02) $C$DW$429 .dwtag DW_TAG_member .dwattr $C$DW$429, DW_AT_type(*$C$DW$T$101) .dwattr $C$DW$429, DW_AT_name("rsvd288") .dwattr $C$DW$429, DW_AT_TI_symbol_name("rsvd288") .dwattr $C$DW$429, DW_AT_data_member_location[DW_OP_plus_uconst 0x288] .dwattr $C$DW$429, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$429, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$429, DW_AT_decl_line(0xe3) .dwattr $C$DW$429, DW_AT_decl_column(0x0b) $C$DW$430 .dwtag DW_TAG_member .dwattr $C$DW$430, DW_AT_type(*$C$DW$T$170) .dwattr $C$DW$430, DW_AT_name("$P$T28") .dwattr $C$DW$430, DW_AT_TI_symbol_name("$P$T28") .dwattr $C$DW$430, DW_AT_data_member_location[DW_OP_plus_uconst 0x300] .dwattr $C$DW$430, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$430, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$430, DW_AT_decl_line(0xe7) .dwattr $C$DW$430, DW_AT_decl_column(0x02) $C$DW$431 .dwtag DW_TAG_member .dwattr $C$DW$431, DW_AT_type(*$C$DW$T$172) .dwattr $C$DW$431, DW_AT_name("$P$T29") .dwattr $C$DW$431, DW_AT_TI_symbol_name("$P$T29") .dwattr $C$DW$431, DW_AT_data_member_location[DW_OP_plus_uconst 0x304] .dwattr $C$DW$431, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$431, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$431, DW_AT_decl_line(0xf1) .dwattr $C$DW$431, DW_AT_decl_column(0x02) $C$DW$432 .dwtag DW_TAG_member .dwattr $C$DW$432, DW_AT_type(*$C$DW$T$101) .dwattr $C$DW$432, DW_AT_name("rsvd308") .dwattr $C$DW$432, DW_AT_TI_symbol_name("rsvd308") .dwattr $C$DW$432, DW_AT_data_member_location[DW_OP_plus_uconst 0x308] .dwattr $C$DW$432, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$432, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$432, DW_AT_decl_line(0xfa) .dwattr $C$DW$432, DW_AT_decl_column(0x0b) $C$DW$433 .dwtag DW_TAG_member .dwattr $C$DW$433, DW_AT_type(*$C$DW$T$174) .dwattr $C$DW$433, DW_AT_name("$P$T30") .dwattr $C$DW$433, DW_AT_TI_symbol_name("$P$T30") .dwattr $C$DW$433, DW_AT_data_member_location[DW_OP_plus_uconst 0x380] .dwattr $C$DW$433, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$433, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$433, DW_AT_decl_line(0xfe) .dwattr $C$DW$433, DW_AT_decl_column(0x02) $C$DW$434 .dwtag DW_TAG_member .dwattr $C$DW$434, DW_AT_type(*$C$DW$T$176) .dwattr $C$DW$434, DW_AT_name("$P$T31") .dwattr $C$DW$434, DW_AT_TI_symbol_name("$P$T31") .dwattr $C$DW$434, DW_AT_data_member_location[DW_OP_plus_uconst 0x384] .dwattr $C$DW$434, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$434, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$434, DW_AT_decl_line(0x108) .dwattr $C$DW$434, DW_AT_decl_column(0x02) $C$DW$435 .dwtag DW_TAG_member .dwattr $C$DW$435, DW_AT_type(*$C$DW$T$101) .dwattr $C$DW$435, DW_AT_name("rsvd388") .dwattr $C$DW$435, DW_AT_TI_symbol_name("rsvd388") .dwattr $C$DW$435, DW_AT_data_member_location[DW_OP_plus_uconst 0x388] .dwattr $C$DW$435, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$435, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$435, DW_AT_decl_line(0x111) .dwattr $C$DW$435, DW_AT_decl_column(0x0b) $C$DW$436 .dwtag DW_TAG_member .dwattr $C$DW$436, DW_AT_type(*$C$DW$T$178) .dwattr $C$DW$436, DW_AT_name("$P$T32") .dwattr $C$DW$436, DW_AT_TI_symbol_name("$P$T32") .dwattr $C$DW$436, DW_AT_data_member_location[DW_OP_plus_uconst 0x400] .dwattr $C$DW$436, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$436, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$436, DW_AT_decl_line(0x115) .dwattr $C$DW$436, DW_AT_decl_column(0x02) $C$DW$437 .dwtag DW_TAG_member .dwattr $C$DW$437, DW_AT_type(*$C$DW$T$180) .dwattr $C$DW$437, DW_AT_name("$P$T33") .dwattr $C$DW$437, DW_AT_TI_symbol_name("$P$T33") .dwattr $C$DW$437, DW_AT_data_member_location[DW_OP_plus_uconst 0x404] .dwattr $C$DW$437, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$437, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$437, DW_AT_decl_line(0x126) .dwattr $C$DW$437, DW_AT_decl_column(0x02) $C$DW$438 .dwtag DW_TAG_member .dwattr $C$DW$438, DW_AT_type(*$C$DW$T$182) .dwattr $C$DW$438, DW_AT_name("$P$T34") .dwattr $C$DW$438, DW_AT_TI_symbol_name("$P$T34") .dwattr $C$DW$438, DW_AT_data_member_location[DW_OP_plus_uconst 0x408] .dwattr $C$DW$438, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$438, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$438, DW_AT_decl_line(0x137) .dwattr $C$DW$438, DW_AT_decl_column(0x02) $C$DW$439 .dwtag DW_TAG_member .dwattr $C$DW$439, DW_AT_type(*$C$DW$T$184) .dwattr $C$DW$439, DW_AT_name("$P$T35") .dwattr $C$DW$439, DW_AT_TI_symbol_name("$P$T35") .dwattr $C$DW$439, DW_AT_data_member_location[DW_OP_plus_uconst 0x40c] .dwattr $C$DW$439, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$439, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$439, DW_AT_decl_line(0x148) .dwattr $C$DW$439, DW_AT_decl_column(0x02) $C$DW$440 .dwtag DW_TAG_member .dwattr $C$DW$440, DW_AT_type(*$C$DW$T$186) .dwattr $C$DW$440, DW_AT_name("$P$T36") .dwattr $C$DW$440, DW_AT_TI_symbol_name("$P$T36") .dwattr $C$DW$440, DW_AT_data_member_location[DW_OP_plus_uconst 0x410] .dwattr $C$DW$440, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$440, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$440, DW_AT_decl_line(0x159) .dwattr $C$DW$440, DW_AT_decl_column(0x02) $C$DW$441 .dwtag DW_TAG_member .dwattr $C$DW$441, DW_AT_type(*$C$DW$T$188) .dwattr $C$DW$441, DW_AT_name("$P$T37") .dwattr $C$DW$441, DW_AT_TI_symbol_name("$P$T37") .dwattr $C$DW$441, DW_AT_data_member_location[DW_OP_plus_uconst 0x414] .dwattr $C$DW$441, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$441, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$441, DW_AT_decl_line(0x16a) .dwattr $C$DW$441, DW_AT_decl_column(0x02) $C$DW$442 .dwtag DW_TAG_member .dwattr $C$DW$442, DW_AT_type(*$C$DW$T$190) .dwattr $C$DW$442, DW_AT_name("$P$T38") .dwattr $C$DW$442, DW_AT_TI_symbol_name("$P$T38") .dwattr $C$DW$442, DW_AT_data_member_location[DW_OP_plus_uconst 0x418] .dwattr $C$DW$442, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$442, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$442, DW_AT_decl_line(0x17b) .dwattr $C$DW$442, DW_AT_decl_column(0x02) $C$DW$443 .dwtag DW_TAG_member .dwattr $C$DW$443, DW_AT_type(*$C$DW$T$192) .dwattr $C$DW$443, DW_AT_name("$P$T39") .dwattr $C$DW$443, DW_AT_TI_symbol_name("$P$T39") .dwattr $C$DW$443, DW_AT_data_member_location[DW_OP_plus_uconst 0x41c] .dwattr $C$DW$443, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$443, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$443, DW_AT_decl_line(0x18c) .dwattr $C$DW$443, DW_AT_decl_column(0x02) $C$DW$444 .dwtag DW_TAG_member .dwattr $C$DW$444, DW_AT_type(*$C$DW$T$194) .dwattr $C$DW$444, DW_AT_name("$P$T40") .dwattr $C$DW$444, DW_AT_TI_symbol_name("$P$T40") .dwattr $C$DW$444, DW_AT_data_member_location[DW_OP_plus_uconst 0x420] .dwattr $C$DW$444, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$444, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$444, DW_AT_decl_line(0x19d) .dwattr $C$DW$444, DW_AT_decl_column(0x02) $C$DW$445 .dwtag DW_TAG_member .dwattr $C$DW$445, DW_AT_type(*$C$DW$T$196) .dwattr $C$DW$445, DW_AT_name("$P$T41") .dwattr $C$DW$445, DW_AT_TI_symbol_name("$P$T41") .dwattr $C$DW$445, DW_AT_data_member_location[DW_OP_plus_uconst 0x424] .dwattr $C$DW$445, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$445, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$445, DW_AT_decl_line(0x1ae) .dwattr $C$DW$445, DW_AT_decl_column(0x02) $C$DW$446 .dwtag DW_TAG_member .dwattr $C$DW$446, DW_AT_type(*$C$DW$T$198) .dwattr $C$DW$446, DW_AT_name("$P$T42") .dwattr $C$DW$446, DW_AT_TI_symbol_name("$P$T42") .dwattr $C$DW$446, DW_AT_data_member_location[DW_OP_plus_uconst 0x428] .dwattr $C$DW$446, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$446, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$446, DW_AT_decl_line(0x1bf) .dwattr $C$DW$446, DW_AT_decl_column(0x02) $C$DW$447 .dwtag DW_TAG_member .dwattr $C$DW$447, DW_AT_type(*$C$DW$T$200) .dwattr $C$DW$447, DW_AT_name("$P$T43") .dwattr $C$DW$447, DW_AT_TI_symbol_name("$P$T43") .dwattr $C$DW$447, DW_AT_data_member_location[DW_OP_plus_uconst 0x42c] .dwattr $C$DW$447, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$447, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$447, DW_AT_decl_line(0x1d0) .dwattr $C$DW$447, DW_AT_decl_column(0x02) $C$DW$448 .dwtag DW_TAG_member .dwattr $C$DW$448, DW_AT_type(*$C$DW$T$202) .dwattr $C$DW$448, DW_AT_name("$P$T44") .dwattr $C$DW$448, DW_AT_TI_symbol_name("$P$T44") .dwattr $C$DW$448, DW_AT_data_member_location[DW_OP_plus_uconst 0x430] .dwattr $C$DW$448, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$448, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$448, DW_AT_decl_line(0x1e1) .dwattr $C$DW$448, DW_AT_decl_column(0x02) $C$DW$449 .dwtag DW_TAG_member .dwattr $C$DW$449, DW_AT_type(*$C$DW$T$204) .dwattr $C$DW$449, DW_AT_name("$P$T45") .dwattr $C$DW$449, DW_AT_TI_symbol_name("$P$T45") .dwattr $C$DW$449, DW_AT_data_member_location[DW_OP_plus_uconst 0x434] .dwattr $C$DW$449, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$449, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$449, DW_AT_decl_line(0x1f2) .dwattr $C$DW$449, DW_AT_decl_column(0x02) $C$DW$450 .dwtag DW_TAG_member .dwattr $C$DW$450, DW_AT_type(*$C$DW$T$206) .dwattr $C$DW$450, DW_AT_name("$P$T46") .dwattr $C$DW$450, DW_AT_TI_symbol_name("$P$T46") .dwattr $C$DW$450, DW_AT_data_member_location[DW_OP_plus_uconst 0x438] .dwattr $C$DW$450, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$450, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$450, DW_AT_decl_line(0x203) .dwattr $C$DW$450, DW_AT_decl_column(0x02) $C$DW$451 .dwtag DW_TAG_member .dwattr $C$DW$451, DW_AT_type(*$C$DW$T$208) .dwattr $C$DW$451, DW_AT_name("$P$T47") .dwattr $C$DW$451, DW_AT_TI_symbol_name("$P$T47") .dwattr $C$DW$451, DW_AT_data_member_location[DW_OP_plus_uconst 0x43c] .dwattr $C$DW$451, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$451, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$451, DW_AT_decl_line(0x214) .dwattr $C$DW$451, DW_AT_decl_column(0x02) $C$DW$452 .dwtag DW_TAG_member .dwattr $C$DW$452, DW_AT_type(*$C$DW$T$102) .dwattr $C$DW$452, DW_AT_name("rsvd440") .dwattr $C$DW$452, DW_AT_TI_symbol_name("rsvd440") .dwattr $C$DW$452, DW_AT_data_member_location[DW_OP_plus_uconst 0x440] .dwattr $C$DW$452, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$452, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$452, DW_AT_decl_line(0x224) .dwattr $C$DW$452, DW_AT_decl_column(0x0b) $C$DW$453 .dwtag DW_TAG_member .dwattr $C$DW$453, DW_AT_type(*$C$DW$T$210) .dwattr $C$DW$453, DW_AT_name("$P$T48") .dwattr $C$DW$453, DW_AT_TI_symbol_name("$P$T48") .dwattr $C$DW$453, DW_AT_data_member_location[DW_OP_plus_uconst 0x800] .dwattr $C$DW$453, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$453, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$453, DW_AT_decl_line(0x228) .dwattr $C$DW$453, DW_AT_decl_column(0x02) $C$DW$454 .dwtag DW_TAG_member .dwattr $C$DW$454, DW_AT_type(*$C$DW$T$212) .dwattr $C$DW$454, DW_AT_name("$P$T49") .dwattr $C$DW$454, DW_AT_TI_symbol_name("$P$T49") .dwattr $C$DW$454, DW_AT_data_member_location[DW_OP_plus_uconst 0x804] .dwattr $C$DW$454, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$454, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$454, DW_AT_decl_line(0x239) .dwattr $C$DW$454, DW_AT_decl_column(0x02) $C$DW$455 .dwtag DW_TAG_member .dwattr $C$DW$455, DW_AT_type(*$C$DW$T$214) .dwattr $C$DW$455, DW_AT_name("$P$T50") .dwattr $C$DW$455, DW_AT_TI_symbol_name("$P$T50") .dwattr $C$DW$455, DW_AT_data_member_location[DW_OP_plus_uconst 0x808] .dwattr $C$DW$455, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$455, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$455, DW_AT_decl_line(0x24a) .dwattr $C$DW$455, DW_AT_decl_column(0x02) $C$DW$456 .dwtag DW_TAG_member .dwattr $C$DW$456, DW_AT_type(*$C$DW$T$103) .dwattr $C$DW$456, DW_AT_name("rsvd80C") .dwattr $C$DW$456, DW_AT_TI_symbol_name("rsvd80C") .dwattr $C$DW$456, DW_AT_data_member_location[DW_OP_plus_uconst 0x80c] .dwattr $C$DW$456, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$456, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$456, DW_AT_decl_line(0x256) .dwattr $C$DW$456, DW_AT_decl_column(0x0b) $C$DW$457 .dwtag DW_TAG_member .dwattr $C$DW$457, DW_AT_type(*$C$DW$T$216) .dwattr $C$DW$457, DW_AT_name("$P$T51") .dwattr $C$DW$457, DW_AT_TI_symbol_name("$P$T51") .dwattr $C$DW$457, DW_AT_data_member_location[DW_OP_plus_uconst 0x900] .dwattr $C$DW$457, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$457, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$457, DW_AT_decl_line(0x25a) .dwattr $C$DW$457, DW_AT_decl_column(0x02) $C$DW$458 .dwtag DW_TAG_member .dwattr $C$DW$458, DW_AT_type(*$C$DW$T$218) .dwattr $C$DW$458, DW_AT_name("$P$T52") .dwattr $C$DW$458, DW_AT_TI_symbol_name("$P$T52") .dwattr $C$DW$458, DW_AT_data_member_location[DW_OP_plus_uconst 0x904] .dwattr $C$DW$458, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$458, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$458, DW_AT_decl_line(0x266) .dwattr $C$DW$458, DW_AT_decl_column(0x02) $C$DW$459 .dwtag DW_TAG_member .dwattr $C$DW$459, DW_AT_type(*$C$DW$T$220) .dwattr $C$DW$459, DW_AT_name("$P$T53") .dwattr $C$DW$459, DW_AT_TI_symbol_name("$P$T53") .dwattr $C$DW$459, DW_AT_data_member_location[DW_OP_plus_uconst 0x908] .dwattr $C$DW$459, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$459, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$459, DW_AT_decl_line(0x272) .dwattr $C$DW$459, DW_AT_decl_column(0x02) $C$DW$460 .dwtag DW_TAG_member .dwattr $C$DW$460, DW_AT_type(*$C$DW$T$222) .dwattr $C$DW$460, DW_AT_name("$P$T54") .dwattr $C$DW$460, DW_AT_TI_symbol_name("$P$T54") .dwattr $C$DW$460, DW_AT_data_member_location[DW_OP_plus_uconst 0x90c] .dwattr $C$DW$460, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$460, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$460, DW_AT_decl_line(0x27e) .dwattr $C$DW$460, DW_AT_decl_column(0x02) $C$DW$461 .dwtag DW_TAG_member .dwattr $C$DW$461, DW_AT_type(*$C$DW$T$224) .dwattr $C$DW$461, DW_AT_name("$P$T55") .dwattr $C$DW$461, DW_AT_TI_symbol_name("$P$T55") .dwattr $C$DW$461, DW_AT_data_member_location[DW_OP_plus_uconst 0x910] .dwattr $C$DW$461, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$461, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$461, DW_AT_decl_line(0x28a) .dwattr $C$DW$461, DW_AT_decl_column(0x02) $C$DW$462 .dwtag DW_TAG_member .dwattr $C$DW$462, DW_AT_type(*$C$DW$T$226) .dwattr $C$DW$462, DW_AT_name("$P$T56") .dwattr $C$DW$462, DW_AT_TI_symbol_name("$P$T56") .dwattr $C$DW$462, DW_AT_data_member_location[DW_OP_plus_uconst 0x914] .dwattr $C$DW$462, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$462, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$462, DW_AT_decl_line(0x296) .dwattr $C$DW$462, DW_AT_decl_column(0x02) $C$DW$463 .dwtag DW_TAG_member .dwattr $C$DW$463, DW_AT_type(*$C$DW$T$228) .dwattr $C$DW$463, DW_AT_name("$P$T57") .dwattr $C$DW$463, DW_AT_TI_symbol_name("$P$T57") .dwattr $C$DW$463, DW_AT_data_member_location[DW_OP_plus_uconst 0x918] .dwattr $C$DW$463, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$463, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$463, DW_AT_decl_line(0x2a2) .dwattr $C$DW$463, DW_AT_decl_column(0x02) $C$DW$464 .dwtag DW_TAG_member .dwattr $C$DW$464, DW_AT_type(*$C$DW$T$230) .dwattr $C$DW$464, DW_AT_name("$P$T58") .dwattr $C$DW$464, DW_AT_TI_symbol_name("$P$T58") .dwattr $C$DW$464, DW_AT_data_member_location[DW_OP_plus_uconst 0x91c] .dwattr $C$DW$464, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$464, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$464, DW_AT_decl_line(0x2ae) .dwattr $C$DW$464, DW_AT_decl_column(0x02) $C$DW$465 .dwtag DW_TAG_member .dwattr $C$DW$465, DW_AT_type(*$C$DW$T$232) .dwattr $C$DW$465, DW_AT_name("$P$T59") .dwattr $C$DW$465, DW_AT_TI_symbol_name("$P$T59") .dwattr $C$DW$465, DW_AT_data_member_location[DW_OP_plus_uconst 0x920] .dwattr $C$DW$465, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$465, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$465, DW_AT_decl_line(0x2ba) .dwattr $C$DW$465, DW_AT_decl_column(0x02) $C$DW$466 .dwtag DW_TAG_member .dwattr $C$DW$466, DW_AT_type(*$C$DW$T$234) .dwattr $C$DW$466, DW_AT_name("$P$T60") .dwattr $C$DW$466, DW_AT_TI_symbol_name("$P$T60") .dwattr $C$DW$466, DW_AT_data_member_location[DW_OP_plus_uconst 0x924] .dwattr $C$DW$466, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$466, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$466, DW_AT_decl_line(0x2c6) .dwattr $C$DW$466, DW_AT_decl_column(0x02) $C$DW$467 .dwtag DW_TAG_member .dwattr $C$DW$467, DW_AT_type(*$C$DW$T$104) .dwattr $C$DW$467, DW_AT_name("rsvd928") .dwattr $C$DW$467, DW_AT_TI_symbol_name("rsvd928") .dwattr $C$DW$467, DW_AT_data_member_location[DW_OP_plus_uconst 0x928] .dwattr $C$DW$467, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$467, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$467, DW_AT_decl_line(0x2d1) .dwattr $C$DW$467, DW_AT_decl_column(0x0b) $C$DW$468 .dwtag DW_TAG_member .dwattr $C$DW$468, DW_AT_type(*$C$DW$T$236) .dwattr $C$DW$468, DW_AT_name("$P$T61") .dwattr $C$DW$468, DW_AT_TI_symbol_name("$P$T61") .dwattr $C$DW$468, DW_AT_data_member_location[DW_OP_plus_uconst 0xd00] .dwattr $C$DW$468, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$468, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$468, DW_AT_decl_line(0x2d5) .dwattr $C$DW$468, DW_AT_decl_column(0x02) $C$DW$469 .dwtag DW_TAG_member .dwattr $C$DW$469, DW_AT_type(*$C$DW$T$238) .dwattr $C$DW$469, DW_AT_name("$P$T62") .dwattr $C$DW$469, DW_AT_TI_symbol_name("$P$T62") .dwattr $C$DW$469, DW_AT_data_member_location[DW_OP_plus_uconst 0xd04] .dwattr $C$DW$469, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$469, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$469, DW_AT_decl_line(0x2df) .dwattr $C$DW$469, DW_AT_decl_column(0x02) $C$DW$470 .dwtag DW_TAG_member .dwattr $C$DW$470, DW_AT_type(*$C$DW$T$101) .dwattr $C$DW$470, DW_AT_name("rsvdD08") .dwattr $C$DW$470, DW_AT_TI_symbol_name("rsvdD08") .dwattr $C$DW$470, DW_AT_data_member_location[DW_OP_plus_uconst 0xd08] .dwattr $C$DW$470, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$470, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$470, DW_AT_decl_line(0x2e8) .dwattr $C$DW$470, DW_AT_decl_column(0x0b) $C$DW$471 .dwtag DW_TAG_member .dwattr $C$DW$471, DW_AT_type(*$C$DW$T$240) .dwattr $C$DW$471, DW_AT_name("$P$T63") .dwattr $C$DW$471, DW_AT_TI_symbol_name("$P$T63") .dwattr $C$DW$471, DW_AT_data_member_location[DW_OP_plus_uconst 0xd80] .dwattr $C$DW$471, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$471, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$471, DW_AT_decl_line(0x2ec) .dwattr $C$DW$471, DW_AT_decl_column(0x02) $C$DW$472 .dwtag DW_TAG_member .dwattr $C$DW$472, DW_AT_type(*$C$DW$T$242) .dwattr $C$DW$472, DW_AT_name("$P$T64") .dwattr $C$DW$472, DW_AT_TI_symbol_name("$P$T64") .dwattr $C$DW$472, DW_AT_data_member_location[DW_OP_plus_uconst 0xd84] .dwattr $C$DW$472, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$472, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$472, DW_AT_decl_line(0x2f6) .dwattr $C$DW$472, DW_AT_decl_column(0x02) $C$DW$473 .dwtag DW_TAG_member .dwattr $C$DW$473, DW_AT_type(*$C$DW$T$105) .dwattr $C$DW$473, DW_AT_name("rsvdD84") .dwattr $C$DW$473, DW_AT_TI_symbol_name("rsvdD84") .dwattr $C$DW$473, DW_AT_data_member_location[DW_OP_plus_uconst 0xd88] .dwattr $C$DW$473, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$473, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$473, DW_AT_decl_line(0x2ff) .dwattr $C$DW$473, DW_AT_decl_column(0x0b) $C$DW$474 .dwtag DW_TAG_member .dwattr $C$DW$474, DW_AT_type(*$C$DW$T$244) .dwattr $C$DW$474, DW_AT_name("$P$T65") .dwattr $C$DW$474, DW_AT_TI_symbol_name("$P$T65") .dwattr $C$DW$474, DW_AT_data_member_location[DW_OP_plus_uconst 0x1100] .dwattr $C$DW$474, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$474, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$474, DW_AT_decl_line(0x303) .dwattr $C$DW$474, DW_AT_decl_column(0x02) $C$DW$475 .dwtag DW_TAG_member .dwattr $C$DW$475, DW_AT_type(*$C$DW$T$246) .dwattr $C$DW$475, DW_AT_name("$P$T66") .dwattr $C$DW$475, DW_AT_TI_symbol_name("$P$T66") .dwattr $C$DW$475, DW_AT_data_member_location[DW_OP_plus_uconst 0x1104] .dwattr $C$DW$475, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$475, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$475, DW_AT_decl_line(0x30f) .dwattr $C$DW$475, DW_AT_decl_column(0x02) $C$DW$476 .dwtag DW_TAG_member .dwattr $C$DW$476, DW_AT_type(*$C$DW$T$248) .dwattr $C$DW$476, DW_AT_name("$P$T67") .dwattr $C$DW$476, DW_AT_TI_symbol_name("$P$T67") .dwattr $C$DW$476, DW_AT_data_member_location[DW_OP_plus_uconst 0x1108] .dwattr $C$DW$476, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$476, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$476, DW_AT_decl_line(0x31b) .dwattr $C$DW$476, DW_AT_decl_column(0x02) $C$DW$477 .dwtag DW_TAG_member .dwattr $C$DW$477, DW_AT_type(*$C$DW$T$250) .dwattr $C$DW$477, DW_AT_name("$P$T68") .dwattr $C$DW$477, DW_AT_TI_symbol_name("$P$T68") .dwattr $C$DW$477, DW_AT_data_member_location[DW_OP_plus_uconst 0x110c] .dwattr $C$DW$477, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$477, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$477, DW_AT_decl_line(0x327) .dwattr $C$DW$477, DW_AT_decl_column(0x02) $C$DW$478 .dwtag DW_TAG_member .dwattr $C$DW$478, DW_AT_type(*$C$DW$T$252) .dwattr $C$DW$478, DW_AT_name("$P$T69") .dwattr $C$DW$478, DW_AT_TI_symbol_name("$P$T69") .dwattr $C$DW$478, DW_AT_data_member_location[DW_OP_plus_uconst 0x1110] .dwattr $C$DW$478, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$478, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$478, DW_AT_decl_line(0x333) .dwattr $C$DW$478, DW_AT_decl_column(0x02) $C$DW$479 .dwtag DW_TAG_member .dwattr $C$DW$479, DW_AT_type(*$C$DW$T$254) .dwattr $C$DW$479, DW_AT_name("$P$T70") .dwattr $C$DW$479, DW_AT_TI_symbol_name("$P$T70") .dwattr $C$DW$479, DW_AT_data_member_location[DW_OP_plus_uconst 0x1114] .dwattr $C$DW$479, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$479, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$479, DW_AT_decl_line(0x33f) .dwattr $C$DW$479, DW_AT_decl_column(0x02) $C$DW$480 .dwtag DW_TAG_member .dwattr $C$DW$480, DW_AT_type(*$C$DW$T$256) .dwattr $C$DW$480, DW_AT_name("$P$T71") .dwattr $C$DW$480, DW_AT_TI_symbol_name("$P$T71") .dwattr $C$DW$480, DW_AT_data_member_location[DW_OP_plus_uconst 0x1118] .dwattr $C$DW$480, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$480, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$480, DW_AT_decl_line(0x34b) .dwattr $C$DW$480, DW_AT_decl_column(0x02) $C$DW$481 .dwtag DW_TAG_member .dwattr $C$DW$481, DW_AT_type(*$C$DW$T$258) .dwattr $C$DW$481, DW_AT_name("$P$T72") .dwattr $C$DW$481, DW_AT_TI_symbol_name("$P$T72") .dwattr $C$DW$481, DW_AT_data_member_location[DW_OP_plus_uconst 0x111c] .dwattr $C$DW$481, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$481, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$481, DW_AT_decl_line(0x357) .dwattr $C$DW$481, DW_AT_decl_column(0x02) $C$DW$482 .dwtag DW_TAG_member .dwattr $C$DW$482, DW_AT_type(*$C$DW$T$260) .dwattr $C$DW$482, DW_AT_name("$P$T73") .dwattr $C$DW$482, DW_AT_TI_symbol_name("$P$T73") .dwattr $C$DW$482, DW_AT_data_member_location[DW_OP_plus_uconst 0x1120] .dwattr $C$DW$482, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$482, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$482, DW_AT_decl_line(0x363) .dwattr $C$DW$482, DW_AT_decl_column(0x02) $C$DW$483 .dwtag DW_TAG_member .dwattr $C$DW$483, DW_AT_type(*$C$DW$T$262) .dwattr $C$DW$483, DW_AT_name("$P$T74") .dwattr $C$DW$483, DW_AT_TI_symbol_name("$P$T74") .dwattr $C$DW$483, DW_AT_data_member_location[DW_OP_plus_uconst 0x1124] .dwattr $C$DW$483, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$483, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$483, DW_AT_decl_line(0x36f) .dwattr $C$DW$483, DW_AT_decl_column(0x02) $C$DW$484 .dwtag DW_TAG_member .dwattr $C$DW$484, DW_AT_type(*$C$DW$T$104) .dwattr $C$DW$484, DW_AT_name("rsvd1128") .dwattr $C$DW$484, DW_AT_TI_symbol_name("rsvd1128") .dwattr $C$DW$484, DW_AT_data_member_location[DW_OP_plus_uconst 0x1128] .dwattr $C$DW$484, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$484, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$484, DW_AT_decl_line(0x37a) .dwattr $C$DW$484, DW_AT_decl_column(0x0b) $C$DW$485 .dwtag DW_TAG_member .dwattr $C$DW$485, DW_AT_type(*$C$DW$T$264) .dwattr $C$DW$485, DW_AT_name("$P$T75") .dwattr $C$DW$485, DW_AT_TI_symbol_name("$P$T75") .dwattr $C$DW$485, DW_AT_data_member_location[DW_OP_plus_uconst 0x1500] .dwattr $C$DW$485, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$485, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$485, DW_AT_decl_line(0x37e) .dwattr $C$DW$485, DW_AT_decl_column(0x02) .dwattr $C$DW$T$106, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$106, DW_AT_decl_line(0x26) .dwattr $C$DW$T$106, DW_AT_decl_column(0x10) .dwendtag $C$DW$T$106 $C$DW$T$297 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$297, DW_AT_type(*$C$DW$T$106) $C$DW$T$298 .dwtag DW_TAG_pointer_type .dwattr $C$DW$T$298, DW_AT_type(*$C$DW$T$297) .dwattr $C$DW$T$298, DW_AT_address_class(0x20) $C$DW$T$299 .dwtag DW_TAG_typedef .dwattr $C$DW$T$299, DW_AT_name("pruIntc") .dwattr $C$DW$T$299, DW_AT_type(*$C$DW$T$106) .dwattr $C$DW$T$299, DW_AT_language(DW_LANG_C) .dwattr $C$DW$T$299, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$299, DW_AT_decl_line(0x387) .dwattr $C$DW$T$299, DW_AT_decl_column(0x03) $C$DW$T$300 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$300, DW_AT_type(*$C$DW$T$299) $C$DW$T$108 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$108, DW_AT_byte_size(0x04) $C$DW$486 .dwtag DW_TAG_member .dwattr $C$DW$486, DW_AT_type(*$C$DW$T$107) .dwattr $C$DW$486, DW_AT_name("type") .dwattr $C$DW$486, DW_AT_TI_symbol_name("type") .dwattr $C$DW$486, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$486, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$486, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$486, DW_AT_decl_line(0x17a) .dwattr $C$DW$486, DW_AT_decl_column(0x0d) $C$DW$487 .dwtag DW_TAG_member .dwattr $C$DW$487, DW_AT_type(*$C$DW$T$107) .dwattr $C$DW$487, DW_AT_name("ver") .dwattr $C$DW$487, DW_AT_TI_symbol_name("ver") .dwattr $C$DW$487, DW_AT_data_member_location[DW_OP_plus_uconst 0x2] .dwattr $C$DW$487, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$487, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$487, DW_AT_decl_line(0x17b) .dwattr $C$DW$487, DW_AT_decl_column(0x0d) .dwattr $C$DW$T$108, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$T$108, DW_AT_decl_line(0x179) .dwattr $C$DW$T$108, DW_AT_decl_column(0x0a) .dwendtag $C$DW$T$108 $C$DW$T$111 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$111, DW_AT_byte_size(0x1e8) $C$DW$488 .dwtag DW_TAG_member .dwattr $C$DW$488, DW_AT_type(*$C$DW$T$109) .dwattr $C$DW$488, DW_AT_name("timestamp_ns") .dwattr $C$DW$488, DW_AT_TI_symbol_name("timestamp_ns") .dwattr $C$DW$488, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$488, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$488, DW_AT_decl_file("../pru_common/shared_buffer.h") .dwattr $C$DW$488, DW_AT_decl_line(0x0e) .dwattr $C$DW$488, DW_AT_decl_column(0x0c) $C$DW$489 .dwtag DW_TAG_member .dwattr $C$DW$489, DW_AT_type(*$C$DW$T$110) .dwattr $C$DW$489, DW_AT_name("data") .dwattr $C$DW$489, DW_AT_TI_symbol_name("data") .dwattr $C$DW$489, DW_AT_data_member_location[DW_OP_plus_uconst 0x8] .dwattr $C$DW$489, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$489, DW_AT_decl_file("../pru_common/shared_buffer.h") .dwattr $C$DW$489, DW_AT_decl_line(0x0f) .dwattr $C$DW$489, DW_AT_decl_column(0x0c) .dwattr $C$DW$T$111, DW_AT_decl_file("../pru_common/shared_buffer.h") .dwattr $C$DW$T$111, DW_AT_decl_line(0x0d) .dwattr $C$DW$T$111, DW_AT_decl_column(0x2c) .dwendtag $C$DW$T$111 $C$DW$T$304 .dwtag DW_TAG_typedef .dwattr $C$DW$T$304, DW_AT_name("Buffer") .dwattr $C$DW$T$304, DW_AT_type(*$C$DW$T$111) .dwattr $C$DW$T$304, DW_AT_language(DW_LANG_C) .dwattr $C$DW$T$304, DW_AT_decl_file("../pru_common/shared_buffer.h") .dwattr $C$DW$T$304, DW_AT_decl_line(0x10) .dwattr $C$DW$T$304, DW_AT_decl_column(0x03) $C$DW$T$305 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$305, DW_AT_type(*$C$DW$T$304) $C$DW$T$306 .dwtag DW_TAG_pointer_type .dwattr $C$DW$T$306, DW_AT_type(*$C$DW$T$305) .dwattr $C$DW$T$306, DW_AT_address_class(0x20) $C$DW$T$307 .dwtag DW_TAG_const_type .dwattr $C$DW$T$307, DW_AT_type(*$C$DW$T$306) $C$DW$T$308 .dwtag DW_TAG_array_type .dwattr $C$DW$T$308, DW_AT_type(*$C$DW$T$304) .dwattr $C$DW$T$308, DW_AT_language(DW_LANG_C) .dwattr $C$DW$T$308, DW_AT_byte_size(0x7a0) $C$DW$490 .dwtag DW_TAG_subrange_type .dwattr $C$DW$490, DW_AT_upper_bound(0x03) .dwendtag $C$DW$T$308 $C$DW$T$310 .dwtag DW_TAG_pointer_type .dwattr $C$DW$T$310, DW_AT_type(*$C$DW$T$111) .dwattr $C$DW$T$310, DW_AT_address_class(0x20) $C$DW$T$114 .dwtag DW_TAG_union_type .dwattr $C$DW$T$114, DW_AT_byte_size(0x04) $C$DW$491 .dwtag DW_TAG_member .dwattr $C$DW$491, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$491, DW_AT_name("REVID") .dwattr $C$DW$491, DW_AT_TI_symbol_name("REVID") .dwattr $C$DW$491, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$491, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$491, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$491, DW_AT_decl_line(0x2a) .dwattr $C$DW$491, DW_AT_decl_column(0x15) $C$DW$492 .dwtag DW_TAG_member .dwattr $C$DW$492, DW_AT_type(*$C$DW$T$113) .dwattr $C$DW$492, DW_AT_name("REVID_bit") .dwattr $C$DW$492, DW_AT_TI_symbol_name("REVID_bit") .dwattr $C$DW$492, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$492, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$492, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$492, DW_AT_decl_line(0x2e) .dwattr $C$DW$492, DW_AT_decl_column(0x05) .dwattr $C$DW$T$114, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$T$114, DW_AT_decl_line(0x29) .dwattr $C$DW$T$114, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$114 $C$DW$T$116 .dwtag DW_TAG_union_type .dwattr $C$DW$T$116, DW_AT_byte_size(0x04) $C$DW$493 .dwtag DW_TAG_member .dwattr $C$DW$493, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$493, DW_AT_name("SYSCFG") .dwattr $C$DW$493, DW_AT_TI_symbol_name("SYSCFG") .dwattr $C$DW$493, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$493, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$493, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$493, DW_AT_decl_line(0x34) .dwattr $C$DW$493, DW_AT_decl_column(0x15) $C$DW$494 .dwtag DW_TAG_member .dwattr $C$DW$494, DW_AT_type(*$C$DW$T$115) .dwattr $C$DW$494, DW_AT_name("SYSCFG_bit") .dwattr $C$DW$494, DW_AT_TI_symbol_name("SYSCFG_bit") .dwattr $C$DW$494, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$494, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$494, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$494, DW_AT_decl_line(0x3c) .dwattr $C$DW$494, DW_AT_decl_column(0x05) .dwattr $C$DW$T$116, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$T$116, DW_AT_decl_line(0x33) .dwattr $C$DW$T$116, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$116 $C$DW$T$118 .dwtag DW_TAG_union_type .dwattr $C$DW$T$118, DW_AT_byte_size(0x04) $C$DW$495 .dwtag DW_TAG_member .dwattr $C$DW$495, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$495, DW_AT_name("GPCFG0") .dwattr $C$DW$495, DW_AT_TI_symbol_name("GPCFG0") .dwattr $C$DW$495, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$495, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$495, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$495, DW_AT_decl_line(0x42) .dwattr $C$DW$495, DW_AT_decl_column(0x15) $C$DW$496 .dwtag DW_TAG_member .dwattr $C$DW$496, DW_AT_type(*$C$DW$T$117) .dwattr $C$DW$496, DW_AT_name("GPCFG0_bit") .dwattr $C$DW$496, DW_AT_TI_symbol_name("GPCFG0_bit") .dwattr $C$DW$496, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$496, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$496, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$496, DW_AT_decl_line(0x4f) .dwattr $C$DW$496, DW_AT_decl_column(0x05) .dwattr $C$DW$T$118, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$T$118, DW_AT_decl_line(0x41) .dwattr $C$DW$T$118, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$118 $C$DW$T$120 .dwtag DW_TAG_union_type .dwattr $C$DW$T$120, DW_AT_byte_size(0x04) $C$DW$497 .dwtag DW_TAG_member .dwattr $C$DW$497, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$497, DW_AT_name("GPCFG1") .dwattr $C$DW$497, DW_AT_TI_symbol_name("GPCFG1") .dwattr $C$DW$497, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$497, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$497, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$497, DW_AT_decl_line(0x55) .dwattr $C$DW$497, DW_AT_decl_column(0x15) $C$DW$498 .dwtag DW_TAG_member .dwattr $C$DW$498, DW_AT_type(*$C$DW$T$119) .dwattr $C$DW$498, DW_AT_name("GPCFG1_bit") .dwattr $C$DW$498, DW_AT_TI_symbol_name("GPCFG1_bit") .dwattr $C$DW$498, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$498, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$498, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$498, DW_AT_decl_line(0x62) .dwattr $C$DW$498, DW_AT_decl_column(0x05) .dwattr $C$DW$T$120, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$T$120, DW_AT_decl_line(0x54) .dwattr $C$DW$T$120, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$120 $C$DW$T$122 .dwtag DW_TAG_union_type .dwattr $C$DW$T$122, DW_AT_byte_size(0x04) $C$DW$499 .dwtag DW_TAG_member .dwattr $C$DW$499, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$499, DW_AT_name("CGR") .dwattr $C$DW$499, DW_AT_TI_symbol_name("CGR") .dwattr $C$DW$499, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$499, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$499, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$499, DW_AT_decl_line(0x68) .dwattr $C$DW$499, DW_AT_decl_column(0x15) $C$DW$500 .dwtag DW_TAG_member .dwattr $C$DW$500, DW_AT_type(*$C$DW$T$121) .dwattr $C$DW$500, DW_AT_name("CGR_bit") .dwattr $C$DW$500, DW_AT_TI_symbol_name("CGR_bit") .dwattr $C$DW$500, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$500, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$500, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$500, DW_AT_decl_line(0x7e) .dwattr $C$DW$500, DW_AT_decl_column(0x05) .dwattr $C$DW$T$122, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$T$122, DW_AT_decl_line(0x67) .dwattr $C$DW$T$122, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$122 $C$DW$T$124 .dwtag DW_TAG_union_type .dwattr $C$DW$T$124, DW_AT_byte_size(0x04) $C$DW$501 .dwtag DW_TAG_member .dwattr $C$DW$501, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$501, DW_AT_name("ISRP") .dwattr $C$DW$501, DW_AT_TI_symbol_name("ISRP") .dwattr $C$DW$501, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$501, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$501, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$501, DW_AT_decl_line(0x84) .dwattr $C$DW$501, DW_AT_decl_column(0x15) $C$DW$502 .dwtag DW_TAG_member .dwattr $C$DW$502, DW_AT_type(*$C$DW$T$123) .dwattr $C$DW$502, DW_AT_name("ISRP_bit") .dwattr $C$DW$502, DW_AT_TI_symbol_name("ISRP_bit") .dwattr $C$DW$502, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$502, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$502, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$502, DW_AT_decl_line(0x8d) .dwattr $C$DW$502, DW_AT_decl_column(0x05) .dwattr $C$DW$T$124, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$T$124, DW_AT_decl_line(0x83) .dwattr $C$DW$T$124, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$124 $C$DW$T$126 .dwtag DW_TAG_union_type .dwattr $C$DW$T$126, DW_AT_byte_size(0x04) $C$DW$503 .dwtag DW_TAG_member .dwattr $C$DW$503, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$503, DW_AT_name("ISP") .dwattr $C$DW$503, DW_AT_TI_symbol_name("ISP") .dwattr $C$DW$503, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$503, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$503, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$503, DW_AT_decl_line(0x93) .dwattr $C$DW$503, DW_AT_decl_column(0x15) $C$DW$504 .dwtag DW_TAG_member .dwattr $C$DW$504, DW_AT_type(*$C$DW$T$125) .dwattr $C$DW$504, DW_AT_name("ISP_bit") .dwattr $C$DW$504, DW_AT_TI_symbol_name("ISP_bit") .dwattr $C$DW$504, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$504, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$504, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$504, DW_AT_decl_line(0x9c) .dwattr $C$DW$504, DW_AT_decl_column(0x05) .dwattr $C$DW$T$126, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$T$126, DW_AT_decl_line(0x92) .dwattr $C$DW$T$126, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$126 $C$DW$T$128 .dwtag DW_TAG_union_type .dwattr $C$DW$T$128, DW_AT_byte_size(0x04) $C$DW$505 .dwtag DW_TAG_member .dwattr $C$DW$505, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$505, DW_AT_name("IESP") .dwattr $C$DW$505, DW_AT_TI_symbol_name("IESP") .dwattr $C$DW$505, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$505, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$505, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$505, DW_AT_decl_line(0xa1) .dwattr $C$DW$505, DW_AT_decl_column(0x15) $C$DW$506 .dwtag DW_TAG_member .dwattr $C$DW$506, DW_AT_type(*$C$DW$T$127) .dwattr $C$DW$506, DW_AT_name("IESP_bit") .dwattr $C$DW$506, DW_AT_TI_symbol_name("IESP_bit") .dwattr $C$DW$506, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$506, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$506, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$506, DW_AT_decl_line(0xaa) .dwattr $C$DW$506, DW_AT_decl_column(0x05) .dwattr $C$DW$T$128, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$T$128, DW_AT_decl_line(0xa0) .dwattr $C$DW$T$128, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$128 $C$DW$T$130 .dwtag DW_TAG_union_type .dwattr $C$DW$T$130, DW_AT_byte_size(0x04) $C$DW$507 .dwtag DW_TAG_member .dwattr $C$DW$507, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$507, DW_AT_name("IECP") .dwattr $C$DW$507, DW_AT_TI_symbol_name("IECP") .dwattr $C$DW$507, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$507, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$507, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$507, DW_AT_decl_line(0xb0) .dwattr $C$DW$507, DW_AT_decl_column(0x15) $C$DW$508 .dwtag DW_TAG_member .dwattr $C$DW$508, DW_AT_type(*$C$DW$T$129) .dwattr $C$DW$508, DW_AT_name("IECP_bit") .dwattr $C$DW$508, DW_AT_TI_symbol_name("IECP_bit") .dwattr $C$DW$508, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$508, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$508, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$508, DW_AT_decl_line(0xb8) .dwattr $C$DW$508, DW_AT_decl_column(0x05) .dwattr $C$DW$T$130, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$T$130, DW_AT_decl_line(0xaf) .dwattr $C$DW$T$130, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$130 $C$DW$T$132 .dwtag DW_TAG_union_type .dwattr $C$DW$T$132, DW_AT_byte_size(0x04) $C$DW$509 .dwtag DW_TAG_member .dwattr $C$DW$509, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$509, DW_AT_name("PMAO") .dwattr $C$DW$509, DW_AT_TI_symbol_name("PMAO") .dwattr $C$DW$509, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$509, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$509, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$509, DW_AT_decl_line(0xc1) .dwattr $C$DW$509, DW_AT_decl_column(0x15) $C$DW$510 .dwtag DW_TAG_member .dwattr $C$DW$510, DW_AT_type(*$C$DW$T$131) .dwattr $C$DW$510, DW_AT_name("PMAO_bit") .dwattr $C$DW$510, DW_AT_TI_symbol_name("PMAO_bit") .dwattr $C$DW$510, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$510, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$510, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$510, DW_AT_decl_line(0xc7) .dwattr $C$DW$510, DW_AT_decl_column(0x05) .dwattr $C$DW$T$132, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$T$132, DW_AT_decl_line(0xc0) .dwattr $C$DW$T$132, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$132 $C$DW$T$134 .dwtag DW_TAG_union_type .dwattr $C$DW$T$134, DW_AT_byte_size(0x04) $C$DW$511 .dwtag DW_TAG_member .dwattr $C$DW$511, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$511, DW_AT_name("IEPCLK") .dwattr $C$DW$511, DW_AT_TI_symbol_name("IEPCLK") .dwattr $C$DW$511, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$511, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$511, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$511, DW_AT_decl_line(0xd0) .dwattr $C$DW$511, DW_AT_decl_column(0x15) $C$DW$512 .dwtag DW_TAG_member .dwattr $C$DW$512, DW_AT_type(*$C$DW$T$133) .dwattr $C$DW$512, DW_AT_name("IEPCLK_bit") .dwattr $C$DW$512, DW_AT_TI_symbol_name("IEPCLK_bit") .dwattr $C$DW$512, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$512, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$512, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$512, DW_AT_decl_line(0xd5) .dwattr $C$DW$512, DW_AT_decl_column(0x05) .dwattr $C$DW$T$134, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$T$134, DW_AT_decl_line(0xcf) .dwattr $C$DW$T$134, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$134 $C$DW$T$136 .dwtag DW_TAG_union_type .dwattr $C$DW$T$136, DW_AT_byte_size(0x04) $C$DW$513 .dwtag DW_TAG_member .dwattr $C$DW$513, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$513, DW_AT_name("SPP") .dwattr $C$DW$513, DW_AT_TI_symbol_name("SPP") .dwattr $C$DW$513, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$513, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$513, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$513, DW_AT_decl_line(0xdb) .dwattr $C$DW$513, DW_AT_decl_column(0x15) $C$DW$514 .dwtag DW_TAG_member .dwattr $C$DW$514, DW_AT_type(*$C$DW$T$135) .dwattr $C$DW$514, DW_AT_name("SPP_bit") .dwattr $C$DW$514, DW_AT_TI_symbol_name("SPP_bit") .dwattr $C$DW$514, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$514, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$514, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$514, DW_AT_decl_line(0xe1) .dwattr $C$DW$514, DW_AT_decl_column(0x05) .dwattr $C$DW$T$136, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$T$136, DW_AT_decl_line(0xda) .dwattr $C$DW$T$136, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$136 $C$DW$T$138 .dwtag DW_TAG_union_type .dwattr $C$DW$T$138, DW_AT_byte_size(0x04) $C$DW$515 .dwtag DW_TAG_member .dwattr $C$DW$515, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$515, DW_AT_name("PIN_MX") .dwattr $C$DW$515, DW_AT_TI_symbol_name("PIN_MX") .dwattr $C$DW$515, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$515, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$515, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$515, DW_AT_decl_line(0xe9) .dwattr $C$DW$515, DW_AT_decl_column(0x15) $C$DW$516 .dwtag DW_TAG_member .dwattr $C$DW$516, DW_AT_type(*$C$DW$T$137) .dwattr $C$DW$516, DW_AT_name("PIN_MX_bit") .dwattr $C$DW$516, DW_AT_TI_symbol_name("PIN_MX_bit") .dwattr $C$DW$516, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$516, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$516, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$516, DW_AT_decl_line(0xee) .dwattr $C$DW$516, DW_AT_decl_column(0x05) .dwattr $C$DW$T$138, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_cfg.h") .dwattr $C$DW$T$138, DW_AT_decl_line(0xe8) .dwattr $C$DW$T$138, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$138 $C$DW$T$140 .dwtag DW_TAG_union_type .dwattr $C$DW$T$140, DW_AT_byte_size(0x04) $C$DW$517 .dwtag DW_TAG_member .dwattr $C$DW$517, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$517, DW_AT_name("REVID") .dwattr $C$DW$517, DW_AT_TI_symbol_name("REVID") .dwattr $C$DW$517, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$517, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$517, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$517, DW_AT_decl_line(0x2a) .dwattr $C$DW$517, DW_AT_decl_column(0x15) $C$DW$518 .dwtag DW_TAG_member .dwattr $C$DW$518, DW_AT_type(*$C$DW$T$139) .dwattr $C$DW$518, DW_AT_name("REVID_bit") .dwattr $C$DW$518, DW_AT_TI_symbol_name("REVID_bit") .dwattr $C$DW$518, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$518, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$518, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$518, DW_AT_decl_line(0x34) .dwattr $C$DW$518, DW_AT_decl_column(0x05) .dwattr $C$DW$T$140, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$140, DW_AT_decl_line(0x29) .dwattr $C$DW$T$140, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$140 $C$DW$T$142 .dwtag DW_TAG_union_type .dwattr $C$DW$T$142, DW_AT_byte_size(0x04) $C$DW$519 .dwtag DW_TAG_member .dwattr $C$DW$519, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$519, DW_AT_name("CR") .dwattr $C$DW$519, DW_AT_TI_symbol_name("CR") .dwattr $C$DW$519, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$519, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$519, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$519, DW_AT_decl_line(0x3a) .dwattr $C$DW$519, DW_AT_decl_column(0x15) $C$DW$520 .dwtag DW_TAG_member .dwattr $C$DW$520, DW_AT_type(*$C$DW$T$141) .dwattr $C$DW$520, DW_AT_name("CR_bit") .dwattr $C$DW$520, DW_AT_TI_symbol_name("CR_bit") .dwattr $C$DW$520, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$520, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$520, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$520, DW_AT_decl_line(0x40) .dwattr $C$DW$520, DW_AT_decl_column(0x05) .dwattr $C$DW$T$142, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$142, DW_AT_decl_line(0x39) .dwattr $C$DW$T$142, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$142 $C$DW$T$144 .dwtag DW_TAG_union_type .dwattr $C$DW$T$144, DW_AT_byte_size(0x04) $C$DW$521 .dwtag DW_TAG_member .dwattr $C$DW$521, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$521, DW_AT_name("GER") .dwattr $C$DW$521, DW_AT_TI_symbol_name("GER") .dwattr $C$DW$521, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$521, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$521, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$521, DW_AT_decl_line(0x49) .dwattr $C$DW$521, DW_AT_decl_column(0x15) $C$DW$522 .dwtag DW_TAG_member .dwattr $C$DW$522, DW_AT_type(*$C$DW$T$143) .dwattr $C$DW$522, DW_AT_name("GER_bit") .dwattr $C$DW$522, DW_AT_TI_symbol_name("GER_bit") .dwattr $C$DW$522, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$522, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$522, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$522, DW_AT_decl_line(0x4e) .dwattr $C$DW$522, DW_AT_decl_column(0x05) .dwattr $C$DW$T$144, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$144, DW_AT_decl_line(0x48) .dwattr $C$DW$T$144, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$144 $C$DW$T$146 .dwtag DW_TAG_union_type .dwattr $C$DW$T$146, DW_AT_byte_size(0x04) $C$DW$523 .dwtag DW_TAG_member .dwattr $C$DW$523, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$523, DW_AT_name("GNLR") .dwattr $C$DW$523, DW_AT_TI_symbol_name("GNLR") .dwattr $C$DW$523, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$523, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$523, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$523, DW_AT_decl_line(0x57) .dwattr $C$DW$523, DW_AT_decl_column(0x15) $C$DW$524 .dwtag DW_TAG_member .dwattr $C$DW$524, DW_AT_type(*$C$DW$T$145) .dwattr $C$DW$524, DW_AT_name("GNLR_bit") .dwattr $C$DW$524, DW_AT_TI_symbol_name("GNLR_bit") .dwattr $C$DW$524, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$524, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$524, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$524, DW_AT_decl_line(0x5d) .dwattr $C$DW$524, DW_AT_decl_column(0x05) .dwattr $C$DW$T$146, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$146, DW_AT_decl_line(0x56) .dwattr $C$DW$T$146, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$146 $C$DW$T$148 .dwtag DW_TAG_union_type .dwattr $C$DW$T$148, DW_AT_byte_size(0x04) $C$DW$525 .dwtag DW_TAG_member .dwattr $C$DW$525, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$525, DW_AT_name("SISR") .dwattr $C$DW$525, DW_AT_TI_symbol_name("SISR") .dwattr $C$DW$525, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$525, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$525, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$525, DW_AT_decl_line(0x63) .dwattr $C$DW$525, DW_AT_decl_column(0x15) $C$DW$526 .dwtag DW_TAG_member .dwattr $C$DW$526, DW_AT_type(*$C$DW$T$147) .dwattr $C$DW$526, DW_AT_name("SISR_bit") .dwattr $C$DW$526, DW_AT_TI_symbol_name("SISR_bit") .dwattr $C$DW$526, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$526, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$526, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$526, DW_AT_decl_line(0x68) .dwattr $C$DW$526, DW_AT_decl_column(0x05) .dwattr $C$DW$T$148, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$148, DW_AT_decl_line(0x62) .dwattr $C$DW$T$148, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$148 $C$DW$T$150 .dwtag DW_TAG_union_type .dwattr $C$DW$T$150, DW_AT_byte_size(0x04) $C$DW$527 .dwtag DW_TAG_member .dwattr $C$DW$527, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$527, DW_AT_name("SICR") .dwattr $C$DW$527, DW_AT_TI_symbol_name("SICR") .dwattr $C$DW$527, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$527, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$527, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$527, DW_AT_decl_line(0x6e) .dwattr $C$DW$527, DW_AT_decl_column(0x15) $C$DW$528 .dwtag DW_TAG_member .dwattr $C$DW$528, DW_AT_type(*$C$DW$T$149) .dwattr $C$DW$528, DW_AT_name("SICR_bit") .dwattr $C$DW$528, DW_AT_TI_symbol_name("SICR_bit") .dwattr $C$DW$528, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$528, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$528, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$528, DW_AT_decl_line(0x73) .dwattr $C$DW$528, DW_AT_decl_column(0x05) .dwattr $C$DW$T$150, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$150, DW_AT_decl_line(0x6d) .dwattr $C$DW$T$150, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$150 $C$DW$T$152 .dwtag DW_TAG_union_type .dwattr $C$DW$T$152, DW_AT_byte_size(0x04) $C$DW$529 .dwtag DW_TAG_member .dwattr $C$DW$529, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$529, DW_AT_name("EISR") .dwattr $C$DW$529, DW_AT_TI_symbol_name("EISR") .dwattr $C$DW$529, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$529, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$529, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$529, DW_AT_decl_line(0x79) .dwattr $C$DW$529, DW_AT_decl_column(0x15) $C$DW$530 .dwtag DW_TAG_member .dwattr $C$DW$530, DW_AT_type(*$C$DW$T$151) .dwattr $C$DW$530, DW_AT_name("EISR_bit") .dwattr $C$DW$530, DW_AT_TI_symbol_name("EISR_bit") .dwattr $C$DW$530, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$530, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$530, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$530, DW_AT_decl_line(0x7e) .dwattr $C$DW$530, DW_AT_decl_column(0x05) .dwattr $C$DW$T$152, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$152, DW_AT_decl_line(0x78) .dwattr $C$DW$T$152, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$152 $C$DW$T$154 .dwtag DW_TAG_union_type .dwattr $C$DW$T$154, DW_AT_byte_size(0x04) $C$DW$531 .dwtag DW_TAG_member .dwattr $C$DW$531, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$531, DW_AT_name("EICR") .dwattr $C$DW$531, DW_AT_TI_symbol_name("EICR") .dwattr $C$DW$531, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$531, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$531, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$531, DW_AT_decl_line(0x84) .dwattr $C$DW$531, DW_AT_decl_column(0x15) $C$DW$532 .dwtag DW_TAG_member .dwattr $C$DW$532, DW_AT_type(*$C$DW$T$153) .dwattr $C$DW$532, DW_AT_name("EICR_bit") .dwattr $C$DW$532, DW_AT_TI_symbol_name("EICR_bit") .dwattr $C$DW$532, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$532, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$532, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$532, DW_AT_decl_line(0x89) .dwattr $C$DW$532, DW_AT_decl_column(0x05) .dwattr $C$DW$T$154, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$154, DW_AT_decl_line(0x83) .dwattr $C$DW$T$154, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$154 $C$DW$T$156 .dwtag DW_TAG_union_type .dwattr $C$DW$T$156, DW_AT_byte_size(0x04) $C$DW$533 .dwtag DW_TAG_member .dwattr $C$DW$533, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$533, DW_AT_name("HIEISR") .dwattr $C$DW$533, DW_AT_TI_symbol_name("HIEISR") .dwattr $C$DW$533, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$533, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$533, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$533, DW_AT_decl_line(0x92) .dwattr $C$DW$533, DW_AT_decl_column(0x15) $C$DW$534 .dwtag DW_TAG_member .dwattr $C$DW$534, DW_AT_type(*$C$DW$T$155) .dwattr $C$DW$534, DW_AT_name("HIEISR_bit") .dwattr $C$DW$534, DW_AT_TI_symbol_name("HIEISR_bit") .dwattr $C$DW$534, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$534, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$534, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$534, DW_AT_decl_line(0x97) .dwattr $C$DW$534, DW_AT_decl_column(0x05) .dwattr $C$DW$T$156, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$156, DW_AT_decl_line(0x91) .dwattr $C$DW$T$156, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$156 $C$DW$T$158 .dwtag DW_TAG_union_type .dwattr $C$DW$T$158, DW_AT_byte_size(0x04) $C$DW$535 .dwtag DW_TAG_member .dwattr $C$DW$535, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$535, DW_AT_name("HIDISR") .dwattr $C$DW$535, DW_AT_TI_symbol_name("HIDISR") .dwattr $C$DW$535, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$535, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$535, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$535, DW_AT_decl_line(0x9d) .dwattr $C$DW$535, DW_AT_decl_column(0x15) $C$DW$536 .dwtag DW_TAG_member .dwattr $C$DW$536, DW_AT_type(*$C$DW$T$157) .dwattr $C$DW$536, DW_AT_name("HIDISR_bit") .dwattr $C$DW$536, DW_AT_TI_symbol_name("HIDISR_bit") .dwattr $C$DW$536, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$536, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$536, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$536, DW_AT_decl_line(0xa2) .dwattr $C$DW$536, DW_AT_decl_column(0x05) .dwattr $C$DW$T$158, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$158, DW_AT_decl_line(0x9c) .dwattr $C$DW$T$158, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$158 $C$DW$T$160 .dwtag DW_TAG_union_type .dwattr $C$DW$T$160, DW_AT_byte_size(0x04) $C$DW$537 .dwtag DW_TAG_member .dwattr $C$DW$537, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$537, DW_AT_name("GPIR") .dwattr $C$DW$537, DW_AT_TI_symbol_name("GPIR") .dwattr $C$DW$537, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$537, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$537, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$537, DW_AT_decl_line(0xab) .dwattr $C$DW$537, DW_AT_decl_column(0x15) $C$DW$538 .dwtag DW_TAG_member .dwattr $C$DW$538, DW_AT_type(*$C$DW$T$159) .dwattr $C$DW$538, DW_AT_name("GPIR_bit") .dwattr $C$DW$538, DW_AT_TI_symbol_name("GPIR_bit") .dwattr $C$DW$538, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$538, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$538, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$538, DW_AT_decl_line(0xb1) .dwattr $C$DW$538, DW_AT_decl_column(0x05) .dwattr $C$DW$T$160, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$160, DW_AT_decl_line(0xaa) .dwattr $C$DW$T$160, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$160 $C$DW$T$162 .dwtag DW_TAG_union_type .dwattr $C$DW$T$162, DW_AT_byte_size(0x04) $C$DW$539 .dwtag DW_TAG_member .dwattr $C$DW$539, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$539, DW_AT_name("SRSR0") .dwattr $C$DW$539, DW_AT_TI_symbol_name("SRSR0") .dwattr $C$DW$539, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$539, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$539, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$539, DW_AT_decl_line(0xba) .dwattr $C$DW$539, DW_AT_decl_column(0x15) $C$DW$540 .dwtag DW_TAG_member .dwattr $C$DW$540, DW_AT_type(*$C$DW$T$161) .dwattr $C$DW$540, DW_AT_name("SRSR0_bit") .dwattr $C$DW$540, DW_AT_TI_symbol_name("SRSR0_bit") .dwattr $C$DW$540, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$540, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$540, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$540, DW_AT_decl_line(0xbe) .dwattr $C$DW$540, DW_AT_decl_column(0x05) .dwattr $C$DW$T$162, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$162, DW_AT_decl_line(0xb9) .dwattr $C$DW$T$162, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$162 $C$DW$T$164 .dwtag DW_TAG_union_type .dwattr $C$DW$T$164, DW_AT_byte_size(0x04) $C$DW$541 .dwtag DW_TAG_member .dwattr $C$DW$541, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$541, DW_AT_name("SRSR1") .dwattr $C$DW$541, DW_AT_TI_symbol_name("SRSR1") .dwattr $C$DW$541, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$541, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$541, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$541, DW_AT_decl_line(0xc4) .dwattr $C$DW$541, DW_AT_decl_column(0x15) $C$DW$542 .dwtag DW_TAG_member .dwattr $C$DW$542, DW_AT_type(*$C$DW$T$163) .dwattr $C$DW$542, DW_AT_name("SRSR1_bit") .dwattr $C$DW$542, DW_AT_TI_symbol_name("SRSR1_bit") .dwattr $C$DW$542, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$542, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$542, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$542, DW_AT_decl_line(0xc8) .dwattr $C$DW$542, DW_AT_decl_column(0x05) .dwattr $C$DW$T$164, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$164, DW_AT_decl_line(0xc3) .dwattr $C$DW$T$164, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$164 $C$DW$T$166 .dwtag DW_TAG_union_type .dwattr $C$DW$T$166, DW_AT_byte_size(0x04) $C$DW$543 .dwtag DW_TAG_member .dwattr $C$DW$543, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$543, DW_AT_name("SECR0") .dwattr $C$DW$543, DW_AT_TI_symbol_name("SECR0") .dwattr $C$DW$543, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$543, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$543, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$543, DW_AT_decl_line(0xd1) .dwattr $C$DW$543, DW_AT_decl_column(0x15) $C$DW$544 .dwtag DW_TAG_member .dwattr $C$DW$544, DW_AT_type(*$C$DW$T$165) .dwattr $C$DW$544, DW_AT_name("SECR0_bit") .dwattr $C$DW$544, DW_AT_TI_symbol_name("SECR0_bit") .dwattr $C$DW$544, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$544, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$544, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$544, DW_AT_decl_line(0xd5) .dwattr $C$DW$544, DW_AT_decl_column(0x05) .dwattr $C$DW$T$166, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$166, DW_AT_decl_line(0xd0) .dwattr $C$DW$T$166, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$166 $C$DW$T$168 .dwtag DW_TAG_union_type .dwattr $C$DW$T$168, DW_AT_byte_size(0x04) $C$DW$545 .dwtag DW_TAG_member .dwattr $C$DW$545, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$545, DW_AT_name("SECR1") .dwattr $C$DW$545, DW_AT_TI_symbol_name("SECR1") .dwattr $C$DW$545, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$545, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$545, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$545, DW_AT_decl_line(0xdb) .dwattr $C$DW$545, DW_AT_decl_column(0x15) $C$DW$546 .dwtag DW_TAG_member .dwattr $C$DW$546, DW_AT_type(*$C$DW$T$167) .dwattr $C$DW$546, DW_AT_name("SECR1_bit") .dwattr $C$DW$546, DW_AT_TI_symbol_name("SECR1_bit") .dwattr $C$DW$546, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$546, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$546, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$546, DW_AT_decl_line(0xdf) .dwattr $C$DW$546, DW_AT_decl_column(0x05) .dwattr $C$DW$T$168, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$168, DW_AT_decl_line(0xda) .dwattr $C$DW$T$168, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$168 $C$DW$T$170 .dwtag DW_TAG_union_type .dwattr $C$DW$T$170, DW_AT_byte_size(0x04) $C$DW$547 .dwtag DW_TAG_member .dwattr $C$DW$547, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$547, DW_AT_name("ESR0") .dwattr $C$DW$547, DW_AT_TI_symbol_name("ESR0") .dwattr $C$DW$547, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$547, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$547, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$547, DW_AT_decl_line(0xe8) .dwattr $C$DW$547, DW_AT_decl_column(0x15) $C$DW$548 .dwtag DW_TAG_member .dwattr $C$DW$548, DW_AT_type(*$C$DW$T$169) .dwattr $C$DW$548, DW_AT_name("ESR0_bit") .dwattr $C$DW$548, DW_AT_TI_symbol_name("ESR0_bit") .dwattr $C$DW$548, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$548, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$548, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$548, DW_AT_decl_line(0xec) .dwattr $C$DW$548, DW_AT_decl_column(0x05) .dwattr $C$DW$T$170, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$170, DW_AT_decl_line(0xe7) .dwattr $C$DW$T$170, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$170 $C$DW$T$172 .dwtag DW_TAG_union_type .dwattr $C$DW$T$172, DW_AT_byte_size(0x04) $C$DW$549 .dwtag DW_TAG_member .dwattr $C$DW$549, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$549, DW_AT_name("ESR1") .dwattr $C$DW$549, DW_AT_TI_symbol_name("ESR1") .dwattr $C$DW$549, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$549, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$549, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$549, DW_AT_decl_line(0xf2) .dwattr $C$DW$549, DW_AT_decl_column(0x15) $C$DW$550 .dwtag DW_TAG_member .dwattr $C$DW$550, DW_AT_type(*$C$DW$T$171) .dwattr $C$DW$550, DW_AT_name("ESR1_bit") .dwattr $C$DW$550, DW_AT_TI_symbol_name("ESR1_bit") .dwattr $C$DW$550, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$550, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$550, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$550, DW_AT_decl_line(0xf6) .dwattr $C$DW$550, DW_AT_decl_column(0x05) .dwattr $C$DW$T$172, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$172, DW_AT_decl_line(0xf1) .dwattr $C$DW$T$172, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$172 $C$DW$T$174 .dwtag DW_TAG_union_type .dwattr $C$DW$T$174, DW_AT_byte_size(0x04) $C$DW$551 .dwtag DW_TAG_member .dwattr $C$DW$551, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$551, DW_AT_name("ECR0") .dwattr $C$DW$551, DW_AT_TI_symbol_name("ECR0") .dwattr $C$DW$551, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$551, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$551, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$551, DW_AT_decl_line(0xff) .dwattr $C$DW$551, DW_AT_decl_column(0x15) $C$DW$552 .dwtag DW_TAG_member .dwattr $C$DW$552, DW_AT_type(*$C$DW$T$173) .dwattr $C$DW$552, DW_AT_name("ECR0_bit") .dwattr $C$DW$552, DW_AT_TI_symbol_name("ECR0_bit") .dwattr $C$DW$552, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$552, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$552, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$552, DW_AT_decl_line(0x103) .dwattr $C$DW$552, DW_AT_decl_column(0x05) .dwattr $C$DW$T$174, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$174, DW_AT_decl_line(0xfe) .dwattr $C$DW$T$174, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$174 $C$DW$T$176 .dwtag DW_TAG_union_type .dwattr $C$DW$T$176, DW_AT_byte_size(0x04) $C$DW$553 .dwtag DW_TAG_member .dwattr $C$DW$553, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$553, DW_AT_name("ECR1") .dwattr $C$DW$553, DW_AT_TI_symbol_name("ECR1") .dwattr $C$DW$553, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$553, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$553, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$553, DW_AT_decl_line(0x109) .dwattr $C$DW$553, DW_AT_decl_column(0x15) $C$DW$554 .dwtag DW_TAG_member .dwattr $C$DW$554, DW_AT_type(*$C$DW$T$175) .dwattr $C$DW$554, DW_AT_name("ECR1_bit") .dwattr $C$DW$554, DW_AT_TI_symbol_name("ECR1_bit") .dwattr $C$DW$554, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$554, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$554, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$554, DW_AT_decl_line(0x10d) .dwattr $C$DW$554, DW_AT_decl_column(0x05) .dwattr $C$DW$T$176, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$176, DW_AT_decl_line(0x108) .dwattr $C$DW$T$176, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$176 $C$DW$T$178 .dwtag DW_TAG_union_type .dwattr $C$DW$T$178, DW_AT_byte_size(0x04) $C$DW$555 .dwtag DW_TAG_member .dwattr $C$DW$555, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$555, DW_AT_name("CMR0") .dwattr $C$DW$555, DW_AT_TI_symbol_name("CMR0") .dwattr $C$DW$555, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$555, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$555, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$555, DW_AT_decl_line(0x116) .dwattr $C$DW$555, DW_AT_decl_column(0x15) $C$DW$556 .dwtag DW_TAG_member .dwattr $C$DW$556, DW_AT_type(*$C$DW$T$177) .dwattr $C$DW$556, DW_AT_name("CMR0_bit") .dwattr $C$DW$556, DW_AT_TI_symbol_name("CMR0_bit") .dwattr $C$DW$556, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$556, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$556, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$556, DW_AT_decl_line(0x121) .dwattr $C$DW$556, DW_AT_decl_column(0x05) .dwattr $C$DW$T$178, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$178, DW_AT_decl_line(0x115) .dwattr $C$DW$T$178, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$178 $C$DW$T$180 .dwtag DW_TAG_union_type .dwattr $C$DW$T$180, DW_AT_byte_size(0x04) $C$DW$557 .dwtag DW_TAG_member .dwattr $C$DW$557, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$557, DW_AT_name("CMR1") .dwattr $C$DW$557, DW_AT_TI_symbol_name("CMR1") .dwattr $C$DW$557, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$557, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$557, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$557, DW_AT_decl_line(0x127) .dwattr $C$DW$557, DW_AT_decl_column(0x15) $C$DW$558 .dwtag DW_TAG_member .dwattr $C$DW$558, DW_AT_type(*$C$DW$T$179) .dwattr $C$DW$558, DW_AT_name("CMR1_bit") .dwattr $C$DW$558, DW_AT_TI_symbol_name("CMR1_bit") .dwattr $C$DW$558, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$558, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$558, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$558, DW_AT_decl_line(0x132) .dwattr $C$DW$558, DW_AT_decl_column(0x05) .dwattr $C$DW$T$180, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$180, DW_AT_decl_line(0x126) .dwattr $C$DW$T$180, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$180 $C$DW$T$182 .dwtag DW_TAG_union_type .dwattr $C$DW$T$182, DW_AT_byte_size(0x04) $C$DW$559 .dwtag DW_TAG_member .dwattr $C$DW$559, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$559, DW_AT_name("CMR2") .dwattr $C$DW$559, DW_AT_TI_symbol_name("CMR2") .dwattr $C$DW$559, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$559, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$559, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$559, DW_AT_decl_line(0x138) .dwattr $C$DW$559, DW_AT_decl_column(0x15) $C$DW$560 .dwtag DW_TAG_member .dwattr $C$DW$560, DW_AT_type(*$C$DW$T$181) .dwattr $C$DW$560, DW_AT_name("CMR2_bit") .dwattr $C$DW$560, DW_AT_TI_symbol_name("CMR2_bit") .dwattr $C$DW$560, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$560, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$560, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$560, DW_AT_decl_line(0x143) .dwattr $C$DW$560, DW_AT_decl_column(0x05) .dwattr $C$DW$T$182, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$182, DW_AT_decl_line(0x137) .dwattr $C$DW$T$182, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$182 $C$DW$T$184 .dwtag DW_TAG_union_type .dwattr $C$DW$T$184, DW_AT_byte_size(0x04) $C$DW$561 .dwtag DW_TAG_member .dwattr $C$DW$561, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$561, DW_AT_name("CMR3") .dwattr $C$DW$561, DW_AT_TI_symbol_name("CMR3") .dwattr $C$DW$561, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$561, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$561, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$561, DW_AT_decl_line(0x149) .dwattr $C$DW$561, DW_AT_decl_column(0x15) $C$DW$562 .dwtag DW_TAG_member .dwattr $C$DW$562, DW_AT_type(*$C$DW$T$183) .dwattr $C$DW$562, DW_AT_name("CMR3_bit") .dwattr $C$DW$562, DW_AT_TI_symbol_name("CMR3_bit") .dwattr $C$DW$562, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$562, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$562, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$562, DW_AT_decl_line(0x154) .dwattr $C$DW$562, DW_AT_decl_column(0x05) .dwattr $C$DW$T$184, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$184, DW_AT_decl_line(0x148) .dwattr $C$DW$T$184, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$184 $C$DW$T$186 .dwtag DW_TAG_union_type .dwattr $C$DW$T$186, DW_AT_byte_size(0x04) $C$DW$563 .dwtag DW_TAG_member .dwattr $C$DW$563, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$563, DW_AT_name("CMR4") .dwattr $C$DW$563, DW_AT_TI_symbol_name("CMR4") .dwattr $C$DW$563, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$563, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$563, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$563, DW_AT_decl_line(0x15a) .dwattr $C$DW$563, DW_AT_decl_column(0x15) $C$DW$564 .dwtag DW_TAG_member .dwattr $C$DW$564, DW_AT_type(*$C$DW$T$185) .dwattr $C$DW$564, DW_AT_name("CMR4_bit") .dwattr $C$DW$564, DW_AT_TI_symbol_name("CMR4_bit") .dwattr $C$DW$564, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$564, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$564, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$564, DW_AT_decl_line(0x165) .dwattr $C$DW$564, DW_AT_decl_column(0x05) .dwattr $C$DW$T$186, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$186, DW_AT_decl_line(0x159) .dwattr $C$DW$T$186, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$186 $C$DW$T$188 .dwtag DW_TAG_union_type .dwattr $C$DW$T$188, DW_AT_byte_size(0x04) $C$DW$565 .dwtag DW_TAG_member .dwattr $C$DW$565, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$565, DW_AT_name("CMR5") .dwattr $C$DW$565, DW_AT_TI_symbol_name("CMR5") .dwattr $C$DW$565, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$565, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$565, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$565, DW_AT_decl_line(0x16b) .dwattr $C$DW$565, DW_AT_decl_column(0x15) $C$DW$566 .dwtag DW_TAG_member .dwattr $C$DW$566, DW_AT_type(*$C$DW$T$187) .dwattr $C$DW$566, DW_AT_name("CMR5_bit") .dwattr $C$DW$566, DW_AT_TI_symbol_name("CMR5_bit") .dwattr $C$DW$566, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$566, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$566, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$566, DW_AT_decl_line(0x176) .dwattr $C$DW$566, DW_AT_decl_column(0x05) .dwattr $C$DW$T$188, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$188, DW_AT_decl_line(0x16a) .dwattr $C$DW$T$188, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$188 $C$DW$T$190 .dwtag DW_TAG_union_type .dwattr $C$DW$T$190, DW_AT_byte_size(0x04) $C$DW$567 .dwtag DW_TAG_member .dwattr $C$DW$567, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$567, DW_AT_name("CMR6") .dwattr $C$DW$567, DW_AT_TI_symbol_name("CMR6") .dwattr $C$DW$567, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$567, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$567, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$567, DW_AT_decl_line(0x17c) .dwattr $C$DW$567, DW_AT_decl_column(0x15) $C$DW$568 .dwtag DW_TAG_member .dwattr $C$DW$568, DW_AT_type(*$C$DW$T$189) .dwattr $C$DW$568, DW_AT_name("CMR6_bit") .dwattr $C$DW$568, DW_AT_TI_symbol_name("CMR6_bit") .dwattr $C$DW$568, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$568, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$568, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$568, DW_AT_decl_line(0x187) .dwattr $C$DW$568, DW_AT_decl_column(0x05) .dwattr $C$DW$T$190, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$190, DW_AT_decl_line(0x17b) .dwattr $C$DW$T$190, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$190 $C$DW$T$192 .dwtag DW_TAG_union_type .dwattr $C$DW$T$192, DW_AT_byte_size(0x04) $C$DW$569 .dwtag DW_TAG_member .dwattr $C$DW$569, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$569, DW_AT_name("CMR7") .dwattr $C$DW$569, DW_AT_TI_symbol_name("CMR7") .dwattr $C$DW$569, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$569, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$569, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$569, DW_AT_decl_line(0x18d) .dwattr $C$DW$569, DW_AT_decl_column(0x15) $C$DW$570 .dwtag DW_TAG_member .dwattr $C$DW$570, DW_AT_type(*$C$DW$T$191) .dwattr $C$DW$570, DW_AT_name("CMR7_bit") .dwattr $C$DW$570, DW_AT_TI_symbol_name("CMR7_bit") .dwattr $C$DW$570, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$570, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$570, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$570, DW_AT_decl_line(0x198) .dwattr $C$DW$570, DW_AT_decl_column(0x05) .dwattr $C$DW$T$192, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$192, DW_AT_decl_line(0x18c) .dwattr $C$DW$T$192, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$192 $C$DW$T$194 .dwtag DW_TAG_union_type .dwattr $C$DW$T$194, DW_AT_byte_size(0x04) $C$DW$571 .dwtag DW_TAG_member .dwattr $C$DW$571, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$571, DW_AT_name("CMR8") .dwattr $C$DW$571, DW_AT_TI_symbol_name("CMR8") .dwattr $C$DW$571, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$571, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$571, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$571, DW_AT_decl_line(0x19e) .dwattr $C$DW$571, DW_AT_decl_column(0x15) $C$DW$572 .dwtag DW_TAG_member .dwattr $C$DW$572, DW_AT_type(*$C$DW$T$193) .dwattr $C$DW$572, DW_AT_name("CMR8_bit") .dwattr $C$DW$572, DW_AT_TI_symbol_name("CMR8_bit") .dwattr $C$DW$572, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$572, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$572, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$572, DW_AT_decl_line(0x1a9) .dwattr $C$DW$572, DW_AT_decl_column(0x05) .dwattr $C$DW$T$194, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$194, DW_AT_decl_line(0x19d) .dwattr $C$DW$T$194, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$194 $C$DW$T$196 .dwtag DW_TAG_union_type .dwattr $C$DW$T$196, DW_AT_byte_size(0x04) $C$DW$573 .dwtag DW_TAG_member .dwattr $C$DW$573, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$573, DW_AT_name("CMR9") .dwattr $C$DW$573, DW_AT_TI_symbol_name("CMR9") .dwattr $C$DW$573, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$573, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$573, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$573, DW_AT_decl_line(0x1af) .dwattr $C$DW$573, DW_AT_decl_column(0x15) $C$DW$574 .dwtag DW_TAG_member .dwattr $C$DW$574, DW_AT_type(*$C$DW$T$195) .dwattr $C$DW$574, DW_AT_name("CMR9_bit") .dwattr $C$DW$574, DW_AT_TI_symbol_name("CMR9_bit") .dwattr $C$DW$574, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$574, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$574, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$574, DW_AT_decl_line(0x1ba) .dwattr $C$DW$574, DW_AT_decl_column(0x05) .dwattr $C$DW$T$196, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$196, DW_AT_decl_line(0x1ae) .dwattr $C$DW$T$196, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$196 $C$DW$T$198 .dwtag DW_TAG_union_type .dwattr $C$DW$T$198, DW_AT_byte_size(0x04) $C$DW$575 .dwtag DW_TAG_member .dwattr $C$DW$575, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$575, DW_AT_name("CMR10") .dwattr $C$DW$575, DW_AT_TI_symbol_name("CMR10") .dwattr $C$DW$575, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$575, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$575, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$575, DW_AT_decl_line(0x1c0) .dwattr $C$DW$575, DW_AT_decl_column(0x15) $C$DW$576 .dwtag DW_TAG_member .dwattr $C$DW$576, DW_AT_type(*$C$DW$T$197) .dwattr $C$DW$576, DW_AT_name("CMR10_bit") .dwattr $C$DW$576, DW_AT_TI_symbol_name("CMR10_bit") .dwattr $C$DW$576, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$576, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$576, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$576, DW_AT_decl_line(0x1cb) .dwattr $C$DW$576, DW_AT_decl_column(0x05) .dwattr $C$DW$T$198, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$198, DW_AT_decl_line(0x1bf) .dwattr $C$DW$T$198, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$198 $C$DW$T$200 .dwtag DW_TAG_union_type .dwattr $C$DW$T$200, DW_AT_byte_size(0x04) $C$DW$577 .dwtag DW_TAG_member .dwattr $C$DW$577, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$577, DW_AT_name("CMR11") .dwattr $C$DW$577, DW_AT_TI_symbol_name("CMR11") .dwattr $C$DW$577, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$577, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$577, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$577, DW_AT_decl_line(0x1d1) .dwattr $C$DW$577, DW_AT_decl_column(0x15) $C$DW$578 .dwtag DW_TAG_member .dwattr $C$DW$578, DW_AT_type(*$C$DW$T$199) .dwattr $C$DW$578, DW_AT_name("CMR11_bit") .dwattr $C$DW$578, DW_AT_TI_symbol_name("CMR11_bit") .dwattr $C$DW$578, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$578, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$578, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$578, DW_AT_decl_line(0x1dc) .dwattr $C$DW$578, DW_AT_decl_column(0x05) .dwattr $C$DW$T$200, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$200, DW_AT_decl_line(0x1d0) .dwattr $C$DW$T$200, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$200 $C$DW$T$202 .dwtag DW_TAG_union_type .dwattr $C$DW$T$202, DW_AT_byte_size(0x04) $C$DW$579 .dwtag DW_TAG_member .dwattr $C$DW$579, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$579, DW_AT_name("CMR12") .dwattr $C$DW$579, DW_AT_TI_symbol_name("CMR12") .dwattr $C$DW$579, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$579, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$579, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$579, DW_AT_decl_line(0x1e2) .dwattr $C$DW$579, DW_AT_decl_column(0x15) $C$DW$580 .dwtag DW_TAG_member .dwattr $C$DW$580, DW_AT_type(*$C$DW$T$201) .dwattr $C$DW$580, DW_AT_name("CMR12_bit") .dwattr $C$DW$580, DW_AT_TI_symbol_name("CMR12_bit") .dwattr $C$DW$580, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$580, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$580, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$580, DW_AT_decl_line(0x1ed) .dwattr $C$DW$580, DW_AT_decl_column(0x05) .dwattr $C$DW$T$202, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$202, DW_AT_decl_line(0x1e1) .dwattr $C$DW$T$202, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$202 $C$DW$T$204 .dwtag DW_TAG_union_type .dwattr $C$DW$T$204, DW_AT_byte_size(0x04) $C$DW$581 .dwtag DW_TAG_member .dwattr $C$DW$581, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$581, DW_AT_name("CMR13") .dwattr $C$DW$581, DW_AT_TI_symbol_name("CMR13") .dwattr $C$DW$581, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$581, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$581, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$581, DW_AT_decl_line(0x1f3) .dwattr $C$DW$581, DW_AT_decl_column(0x15) $C$DW$582 .dwtag DW_TAG_member .dwattr $C$DW$582, DW_AT_type(*$C$DW$T$203) .dwattr $C$DW$582, DW_AT_name("CMR13_bit") .dwattr $C$DW$582, DW_AT_TI_symbol_name("CMR13_bit") .dwattr $C$DW$582, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$582, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$582, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$582, DW_AT_decl_line(0x1fe) .dwattr $C$DW$582, DW_AT_decl_column(0x05) .dwattr $C$DW$T$204, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$204, DW_AT_decl_line(0x1f2) .dwattr $C$DW$T$204, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$204 $C$DW$T$206 .dwtag DW_TAG_union_type .dwattr $C$DW$T$206, DW_AT_byte_size(0x04) $C$DW$583 .dwtag DW_TAG_member .dwattr $C$DW$583, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$583, DW_AT_name("CMR14") .dwattr $C$DW$583, DW_AT_TI_symbol_name("CMR14") .dwattr $C$DW$583, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$583, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$583, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$583, DW_AT_decl_line(0x204) .dwattr $C$DW$583, DW_AT_decl_column(0x15) $C$DW$584 .dwtag DW_TAG_member .dwattr $C$DW$584, DW_AT_type(*$C$DW$T$205) .dwattr $C$DW$584, DW_AT_name("CMR14_bit") .dwattr $C$DW$584, DW_AT_TI_symbol_name("CMR14_bit") .dwattr $C$DW$584, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$584, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$584, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$584, DW_AT_decl_line(0x20f) .dwattr $C$DW$584, DW_AT_decl_column(0x05) .dwattr $C$DW$T$206, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$206, DW_AT_decl_line(0x203) .dwattr $C$DW$T$206, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$206 $C$DW$T$208 .dwtag DW_TAG_union_type .dwattr $C$DW$T$208, DW_AT_byte_size(0x04) $C$DW$585 .dwtag DW_TAG_member .dwattr $C$DW$585, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$585, DW_AT_name("CMR15") .dwattr $C$DW$585, DW_AT_TI_symbol_name("CMR15") .dwattr $C$DW$585, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$585, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$585, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$585, DW_AT_decl_line(0x215) .dwattr $C$DW$585, DW_AT_decl_column(0x15) $C$DW$586 .dwtag DW_TAG_member .dwattr $C$DW$586, DW_AT_type(*$C$DW$T$207) .dwattr $C$DW$586, DW_AT_name("CMR15_bit") .dwattr $C$DW$586, DW_AT_TI_symbol_name("CMR15_bit") .dwattr $C$DW$586, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$586, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$586, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$586, DW_AT_decl_line(0x220) .dwattr $C$DW$586, DW_AT_decl_column(0x05) .dwattr $C$DW$T$208, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$208, DW_AT_decl_line(0x214) .dwattr $C$DW$T$208, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$208 $C$DW$T$210 .dwtag DW_TAG_union_type .dwattr $C$DW$T$210, DW_AT_byte_size(0x04) $C$DW$587 .dwtag DW_TAG_member .dwattr $C$DW$587, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$587, DW_AT_name("HMR0") .dwattr $C$DW$587, DW_AT_TI_symbol_name("HMR0") .dwattr $C$DW$587, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$587, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$587, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$587, DW_AT_decl_line(0x229) .dwattr $C$DW$587, DW_AT_decl_column(0x15) $C$DW$588 .dwtag DW_TAG_member .dwattr $C$DW$588, DW_AT_type(*$C$DW$T$209) .dwattr $C$DW$588, DW_AT_name("HMR0_bit") .dwattr $C$DW$588, DW_AT_TI_symbol_name("HMR0_bit") .dwattr $C$DW$588, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$588, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$588, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$588, DW_AT_decl_line(0x234) .dwattr $C$DW$588, DW_AT_decl_column(0x05) .dwattr $C$DW$T$210, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$210, DW_AT_decl_line(0x228) .dwattr $C$DW$T$210, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$210 $C$DW$T$212 .dwtag DW_TAG_union_type .dwattr $C$DW$T$212, DW_AT_byte_size(0x04) $C$DW$589 .dwtag DW_TAG_member .dwattr $C$DW$589, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$589, DW_AT_name("HMR1") .dwattr $C$DW$589, DW_AT_TI_symbol_name("HMR1") .dwattr $C$DW$589, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$589, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$589, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$589, DW_AT_decl_line(0x23a) .dwattr $C$DW$589, DW_AT_decl_column(0x15) $C$DW$590 .dwtag DW_TAG_member .dwattr $C$DW$590, DW_AT_type(*$C$DW$T$211) .dwattr $C$DW$590, DW_AT_name("HMR1_bit") .dwattr $C$DW$590, DW_AT_TI_symbol_name("HMR1_bit") .dwattr $C$DW$590, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$590, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$590, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$590, DW_AT_decl_line(0x245) .dwattr $C$DW$590, DW_AT_decl_column(0x05) .dwattr $C$DW$T$212, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$212, DW_AT_decl_line(0x239) .dwattr $C$DW$T$212, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$212 $C$DW$T$214 .dwtag DW_TAG_union_type .dwattr $C$DW$T$214, DW_AT_byte_size(0x04) $C$DW$591 .dwtag DW_TAG_member .dwattr $C$DW$591, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$591, DW_AT_name("HMR2") .dwattr $C$DW$591, DW_AT_TI_symbol_name("HMR2") .dwattr $C$DW$591, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$591, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$591, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$591, DW_AT_decl_line(0x24b) .dwattr $C$DW$591, DW_AT_decl_column(0x15) $C$DW$592 .dwtag DW_TAG_member .dwattr $C$DW$592, DW_AT_type(*$C$DW$T$213) .dwattr $C$DW$592, DW_AT_name("HMR2_bit") .dwattr $C$DW$592, DW_AT_TI_symbol_name("HMR2_bit") .dwattr $C$DW$592, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$592, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$592, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$592, DW_AT_decl_line(0x252) .dwattr $C$DW$592, DW_AT_decl_column(0x05) .dwattr $C$DW$T$214, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$214, DW_AT_decl_line(0x24a) .dwattr $C$DW$T$214, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$214 $C$DW$T$216 .dwtag DW_TAG_union_type .dwattr $C$DW$T$216, DW_AT_byte_size(0x04) $C$DW$593 .dwtag DW_TAG_member .dwattr $C$DW$593, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$593, DW_AT_name("HIPIR0") .dwattr $C$DW$593, DW_AT_TI_symbol_name("HIPIR0") .dwattr $C$DW$593, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$593, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$593, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$593, DW_AT_decl_line(0x25b) .dwattr $C$DW$593, DW_AT_decl_column(0x15) $C$DW$594 .dwtag DW_TAG_member .dwattr $C$DW$594, DW_AT_type(*$C$DW$T$215) .dwattr $C$DW$594, DW_AT_name("HIPIR0_bit") .dwattr $C$DW$594, DW_AT_TI_symbol_name("HIPIR0_bit") .dwattr $C$DW$594, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$594, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$594, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$594, DW_AT_decl_line(0x261) .dwattr $C$DW$594, DW_AT_decl_column(0x05) .dwattr $C$DW$T$216, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$216, DW_AT_decl_line(0x25a) .dwattr $C$DW$T$216, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$216 $C$DW$T$218 .dwtag DW_TAG_union_type .dwattr $C$DW$T$218, DW_AT_byte_size(0x04) $C$DW$595 .dwtag DW_TAG_member .dwattr $C$DW$595, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$595, DW_AT_name("HIPIR1") .dwattr $C$DW$595, DW_AT_TI_symbol_name("HIPIR1") .dwattr $C$DW$595, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$595, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$595, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$595, DW_AT_decl_line(0x267) .dwattr $C$DW$595, DW_AT_decl_column(0x15) $C$DW$596 .dwtag DW_TAG_member .dwattr $C$DW$596, DW_AT_type(*$C$DW$T$217) .dwattr $C$DW$596, DW_AT_name("HIPIR1_bit") .dwattr $C$DW$596, DW_AT_TI_symbol_name("HIPIR1_bit") .dwattr $C$DW$596, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$596, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$596, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$596, DW_AT_decl_line(0x26d) .dwattr $C$DW$596, DW_AT_decl_column(0x05) .dwattr $C$DW$T$218, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$218, DW_AT_decl_line(0x266) .dwattr $C$DW$T$218, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$218 $C$DW$T$220 .dwtag DW_TAG_union_type .dwattr $C$DW$T$220, DW_AT_byte_size(0x04) $C$DW$597 .dwtag DW_TAG_member .dwattr $C$DW$597, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$597, DW_AT_name("HIPIR2") .dwattr $C$DW$597, DW_AT_TI_symbol_name("HIPIR2") .dwattr $C$DW$597, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$597, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$597, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$597, DW_AT_decl_line(0x273) .dwattr $C$DW$597, DW_AT_decl_column(0x15) $C$DW$598 .dwtag DW_TAG_member .dwattr $C$DW$598, DW_AT_type(*$C$DW$T$219) .dwattr $C$DW$598, DW_AT_name("HIPIR2_bit") .dwattr $C$DW$598, DW_AT_TI_symbol_name("HIPIR2_bit") .dwattr $C$DW$598, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$598, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$598, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$598, DW_AT_decl_line(0x279) .dwattr $C$DW$598, DW_AT_decl_column(0x05) .dwattr $C$DW$T$220, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$220, DW_AT_decl_line(0x272) .dwattr $C$DW$T$220, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$220 $C$DW$T$222 .dwtag DW_TAG_union_type .dwattr $C$DW$T$222, DW_AT_byte_size(0x04) $C$DW$599 .dwtag DW_TAG_member .dwattr $C$DW$599, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$599, DW_AT_name("HIPIR3") .dwattr $C$DW$599, DW_AT_TI_symbol_name("HIPIR3") .dwattr $C$DW$599, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$599, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$599, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$599, DW_AT_decl_line(0x27f) .dwattr $C$DW$599, DW_AT_decl_column(0x15) $C$DW$600 .dwtag DW_TAG_member .dwattr $C$DW$600, DW_AT_type(*$C$DW$T$221) .dwattr $C$DW$600, DW_AT_name("HIPIR3_bit") .dwattr $C$DW$600, DW_AT_TI_symbol_name("HIPIR3_bit") .dwattr $C$DW$600, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$600, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$600, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$600, DW_AT_decl_line(0x285) .dwattr $C$DW$600, DW_AT_decl_column(0x05) .dwattr $C$DW$T$222, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$222, DW_AT_decl_line(0x27e) .dwattr $C$DW$T$222, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$222 $C$DW$T$224 .dwtag DW_TAG_union_type .dwattr $C$DW$T$224, DW_AT_byte_size(0x04) $C$DW$601 .dwtag DW_TAG_member .dwattr $C$DW$601, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$601, DW_AT_name("HIPIR4") .dwattr $C$DW$601, DW_AT_TI_symbol_name("HIPIR4") .dwattr $C$DW$601, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$601, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$601, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$601, DW_AT_decl_line(0x28b) .dwattr $C$DW$601, DW_AT_decl_column(0x15) $C$DW$602 .dwtag DW_TAG_member .dwattr $C$DW$602, DW_AT_type(*$C$DW$T$223) .dwattr $C$DW$602, DW_AT_name("HIPIR4_bit") .dwattr $C$DW$602, DW_AT_TI_symbol_name("HIPIR4_bit") .dwattr $C$DW$602, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$602, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$602, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$602, DW_AT_decl_line(0x291) .dwattr $C$DW$602, DW_AT_decl_column(0x05) .dwattr $C$DW$T$224, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$224, DW_AT_decl_line(0x28a) .dwattr $C$DW$T$224, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$224 $C$DW$T$226 .dwtag DW_TAG_union_type .dwattr $C$DW$T$226, DW_AT_byte_size(0x04) $C$DW$603 .dwtag DW_TAG_member .dwattr $C$DW$603, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$603, DW_AT_name("HIPIR5") .dwattr $C$DW$603, DW_AT_TI_symbol_name("HIPIR5") .dwattr $C$DW$603, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$603, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$603, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$603, DW_AT_decl_line(0x297) .dwattr $C$DW$603, DW_AT_decl_column(0x15) $C$DW$604 .dwtag DW_TAG_member .dwattr $C$DW$604, DW_AT_type(*$C$DW$T$225) .dwattr $C$DW$604, DW_AT_name("HIPIR5_bit") .dwattr $C$DW$604, DW_AT_TI_symbol_name("HIPIR5_bit") .dwattr $C$DW$604, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$604, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$604, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$604, DW_AT_decl_line(0x29d) .dwattr $C$DW$604, DW_AT_decl_column(0x05) .dwattr $C$DW$T$226, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$226, DW_AT_decl_line(0x296) .dwattr $C$DW$T$226, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$226 $C$DW$T$228 .dwtag DW_TAG_union_type .dwattr $C$DW$T$228, DW_AT_byte_size(0x04) $C$DW$605 .dwtag DW_TAG_member .dwattr $C$DW$605, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$605, DW_AT_name("HIPIR6") .dwattr $C$DW$605, DW_AT_TI_symbol_name("HIPIR6") .dwattr $C$DW$605, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$605, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$605, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$605, DW_AT_decl_line(0x2a3) .dwattr $C$DW$605, DW_AT_decl_column(0x15) $C$DW$606 .dwtag DW_TAG_member .dwattr $C$DW$606, DW_AT_type(*$C$DW$T$227) .dwattr $C$DW$606, DW_AT_name("HIPIR6_bit") .dwattr $C$DW$606, DW_AT_TI_symbol_name("HIPIR6_bit") .dwattr $C$DW$606, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$606, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$606, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$606, DW_AT_decl_line(0x2a9) .dwattr $C$DW$606, DW_AT_decl_column(0x05) .dwattr $C$DW$T$228, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$228, DW_AT_decl_line(0x2a2) .dwattr $C$DW$T$228, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$228 $C$DW$T$230 .dwtag DW_TAG_union_type .dwattr $C$DW$T$230, DW_AT_byte_size(0x04) $C$DW$607 .dwtag DW_TAG_member .dwattr $C$DW$607, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$607, DW_AT_name("HIPIR7") .dwattr $C$DW$607, DW_AT_TI_symbol_name("HIPIR7") .dwattr $C$DW$607, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$607, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$607, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$607, DW_AT_decl_line(0x2af) .dwattr $C$DW$607, DW_AT_decl_column(0x15) $C$DW$608 .dwtag DW_TAG_member .dwattr $C$DW$608, DW_AT_type(*$C$DW$T$229) .dwattr $C$DW$608, DW_AT_name("HIPIR7_bit") .dwattr $C$DW$608, DW_AT_TI_symbol_name("HIPIR7_bit") .dwattr $C$DW$608, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$608, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$608, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$608, DW_AT_decl_line(0x2b5) .dwattr $C$DW$608, DW_AT_decl_column(0x05) .dwattr $C$DW$T$230, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$230, DW_AT_decl_line(0x2ae) .dwattr $C$DW$T$230, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$230 $C$DW$T$232 .dwtag DW_TAG_union_type .dwattr $C$DW$T$232, DW_AT_byte_size(0x04) $C$DW$609 .dwtag DW_TAG_member .dwattr $C$DW$609, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$609, DW_AT_name("HIPIR8") .dwattr $C$DW$609, DW_AT_TI_symbol_name("HIPIR8") .dwattr $C$DW$609, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$609, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$609, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$609, DW_AT_decl_line(0x2bb) .dwattr $C$DW$609, DW_AT_decl_column(0x15) $C$DW$610 .dwtag DW_TAG_member .dwattr $C$DW$610, DW_AT_type(*$C$DW$T$231) .dwattr $C$DW$610, DW_AT_name("HIPIR8_bit") .dwattr $C$DW$610, DW_AT_TI_symbol_name("HIPIR8_bit") .dwattr $C$DW$610, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$610, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$610, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$610, DW_AT_decl_line(0x2c1) .dwattr $C$DW$610, DW_AT_decl_column(0x05) .dwattr $C$DW$T$232, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$232, DW_AT_decl_line(0x2ba) .dwattr $C$DW$T$232, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$232 $C$DW$T$234 .dwtag DW_TAG_union_type .dwattr $C$DW$T$234, DW_AT_byte_size(0x04) $C$DW$611 .dwtag DW_TAG_member .dwattr $C$DW$611, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$611, DW_AT_name("HIPIR9") .dwattr $C$DW$611, DW_AT_TI_symbol_name("HIPIR9") .dwattr $C$DW$611, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$611, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$611, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$611, DW_AT_decl_line(0x2c7) .dwattr $C$DW$611, DW_AT_decl_column(0x15) $C$DW$612 .dwtag DW_TAG_member .dwattr $C$DW$612, DW_AT_type(*$C$DW$T$233) .dwattr $C$DW$612, DW_AT_name("HIPIR9_bit") .dwattr $C$DW$612, DW_AT_TI_symbol_name("HIPIR9_bit") .dwattr $C$DW$612, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$612, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$612, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$612, DW_AT_decl_line(0x2cd) .dwattr $C$DW$612, DW_AT_decl_column(0x05) .dwattr $C$DW$T$234, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$234, DW_AT_decl_line(0x2c6) .dwattr $C$DW$T$234, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$234 $C$DW$T$236 .dwtag DW_TAG_union_type .dwattr $C$DW$T$236, DW_AT_byte_size(0x04) $C$DW$613 .dwtag DW_TAG_member .dwattr $C$DW$613, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$613, DW_AT_name("SIPR0") .dwattr $C$DW$613, DW_AT_TI_symbol_name("SIPR0") .dwattr $C$DW$613, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$613, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$613, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$613, DW_AT_decl_line(0x2d6) .dwattr $C$DW$613, DW_AT_decl_column(0x15) $C$DW$614 .dwtag DW_TAG_member .dwattr $C$DW$614, DW_AT_type(*$C$DW$T$235) .dwattr $C$DW$614, DW_AT_name("SIPR0_bit") .dwattr $C$DW$614, DW_AT_TI_symbol_name("SIPR0_bit") .dwattr $C$DW$614, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$614, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$614, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$614, DW_AT_decl_line(0x2da) .dwattr $C$DW$614, DW_AT_decl_column(0x05) .dwattr $C$DW$T$236, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$236, DW_AT_decl_line(0x2d5) .dwattr $C$DW$T$236, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$236 $C$DW$T$238 .dwtag DW_TAG_union_type .dwattr $C$DW$T$238, DW_AT_byte_size(0x04) $C$DW$615 .dwtag DW_TAG_member .dwattr $C$DW$615, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$615, DW_AT_name("SIPR1") .dwattr $C$DW$615, DW_AT_TI_symbol_name("SIPR1") .dwattr $C$DW$615, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$615, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$615, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$615, DW_AT_decl_line(0x2e0) .dwattr $C$DW$615, DW_AT_decl_column(0x15) $C$DW$616 .dwtag DW_TAG_member .dwattr $C$DW$616, DW_AT_type(*$C$DW$T$237) .dwattr $C$DW$616, DW_AT_name("SIPR1_bit") .dwattr $C$DW$616, DW_AT_TI_symbol_name("SIPR1_bit") .dwattr $C$DW$616, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$616, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$616, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$616, DW_AT_decl_line(0x2e4) .dwattr $C$DW$616, DW_AT_decl_column(0x05) .dwattr $C$DW$T$238, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$238, DW_AT_decl_line(0x2df) .dwattr $C$DW$T$238, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$238 $C$DW$T$240 .dwtag DW_TAG_union_type .dwattr $C$DW$T$240, DW_AT_byte_size(0x04) $C$DW$617 .dwtag DW_TAG_member .dwattr $C$DW$617, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$617, DW_AT_name("SITR0") .dwattr $C$DW$617, DW_AT_TI_symbol_name("SITR0") .dwattr $C$DW$617, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$617, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$617, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$617, DW_AT_decl_line(0x2ed) .dwattr $C$DW$617, DW_AT_decl_column(0x15) $C$DW$618 .dwtag DW_TAG_member .dwattr $C$DW$618, DW_AT_type(*$C$DW$T$239) .dwattr $C$DW$618, DW_AT_name("SITR0_bit") .dwattr $C$DW$618, DW_AT_TI_symbol_name("SITR0_bit") .dwattr $C$DW$618, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$618, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$618, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$618, DW_AT_decl_line(0x2f1) .dwattr $C$DW$618, DW_AT_decl_column(0x05) .dwattr $C$DW$T$240, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$240, DW_AT_decl_line(0x2ec) .dwattr $C$DW$T$240, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$240 $C$DW$T$242 .dwtag DW_TAG_union_type .dwattr $C$DW$T$242, DW_AT_byte_size(0x04) $C$DW$619 .dwtag DW_TAG_member .dwattr $C$DW$619, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$619, DW_AT_name("SITR1") .dwattr $C$DW$619, DW_AT_TI_symbol_name("SITR1") .dwattr $C$DW$619, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$619, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$619, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$619, DW_AT_decl_line(0x2f7) .dwattr $C$DW$619, DW_AT_decl_column(0x15) $C$DW$620 .dwtag DW_TAG_member .dwattr $C$DW$620, DW_AT_type(*$C$DW$T$241) .dwattr $C$DW$620, DW_AT_name("SITR1_bit") .dwattr $C$DW$620, DW_AT_TI_symbol_name("SITR1_bit") .dwattr $C$DW$620, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$620, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$620, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$620, DW_AT_decl_line(0x2fb) .dwattr $C$DW$620, DW_AT_decl_column(0x05) .dwattr $C$DW$T$242, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$242, DW_AT_decl_line(0x2f6) .dwattr $C$DW$T$242, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$242 $C$DW$T$244 .dwtag DW_TAG_union_type .dwattr $C$DW$T$244, DW_AT_byte_size(0x04) $C$DW$621 .dwtag DW_TAG_member .dwattr $C$DW$621, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$621, DW_AT_name("HINLR0") .dwattr $C$DW$621, DW_AT_TI_symbol_name("HINLR0") .dwattr $C$DW$621, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$621, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$621, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$621, DW_AT_decl_line(0x304) .dwattr $C$DW$621, DW_AT_decl_column(0x15) $C$DW$622 .dwtag DW_TAG_member .dwattr $C$DW$622, DW_AT_type(*$C$DW$T$243) .dwattr $C$DW$622, DW_AT_name("HINLR0_bit") .dwattr $C$DW$622, DW_AT_TI_symbol_name("HINLR0_bit") .dwattr $C$DW$622, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$622, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$622, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$622, DW_AT_decl_line(0x30a) .dwattr $C$DW$622, DW_AT_decl_column(0x05) .dwattr $C$DW$T$244, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$244, DW_AT_decl_line(0x303) .dwattr $C$DW$T$244, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$244 $C$DW$T$246 .dwtag DW_TAG_union_type .dwattr $C$DW$T$246, DW_AT_byte_size(0x04) $C$DW$623 .dwtag DW_TAG_member .dwattr $C$DW$623, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$623, DW_AT_name("HINLR1") .dwattr $C$DW$623, DW_AT_TI_symbol_name("HINLR1") .dwattr $C$DW$623, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$623, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$623, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$623, DW_AT_decl_line(0x310) .dwattr $C$DW$623, DW_AT_decl_column(0x15) $C$DW$624 .dwtag DW_TAG_member .dwattr $C$DW$624, DW_AT_type(*$C$DW$T$245) .dwattr $C$DW$624, DW_AT_name("HINLR1_bit") .dwattr $C$DW$624, DW_AT_TI_symbol_name("HINLR1_bit") .dwattr $C$DW$624, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$624, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$624, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$624, DW_AT_decl_line(0x316) .dwattr $C$DW$624, DW_AT_decl_column(0x05) .dwattr $C$DW$T$246, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$246, DW_AT_decl_line(0x30f) .dwattr $C$DW$T$246, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$246 $C$DW$T$248 .dwtag DW_TAG_union_type .dwattr $C$DW$T$248, DW_AT_byte_size(0x04) $C$DW$625 .dwtag DW_TAG_member .dwattr $C$DW$625, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$625, DW_AT_name("HINLR2") .dwattr $C$DW$625, DW_AT_TI_symbol_name("HINLR2") .dwattr $C$DW$625, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$625, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$625, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$625, DW_AT_decl_line(0x31c) .dwattr $C$DW$625, DW_AT_decl_column(0x15) $C$DW$626 .dwtag DW_TAG_member .dwattr $C$DW$626, DW_AT_type(*$C$DW$T$247) .dwattr $C$DW$626, DW_AT_name("HINLR2_bit") .dwattr $C$DW$626, DW_AT_TI_symbol_name("HINLR2_bit") .dwattr $C$DW$626, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$626, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$626, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$626, DW_AT_decl_line(0x322) .dwattr $C$DW$626, DW_AT_decl_column(0x05) .dwattr $C$DW$T$248, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$248, DW_AT_decl_line(0x31b) .dwattr $C$DW$T$248, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$248 $C$DW$T$250 .dwtag DW_TAG_union_type .dwattr $C$DW$T$250, DW_AT_byte_size(0x04) $C$DW$627 .dwtag DW_TAG_member .dwattr $C$DW$627, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$627, DW_AT_name("HINLR3") .dwattr $C$DW$627, DW_AT_TI_symbol_name("HINLR3") .dwattr $C$DW$627, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$627, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$627, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$627, DW_AT_decl_line(0x328) .dwattr $C$DW$627, DW_AT_decl_column(0x15) $C$DW$628 .dwtag DW_TAG_member .dwattr $C$DW$628, DW_AT_type(*$C$DW$T$249) .dwattr $C$DW$628, DW_AT_name("HINLR3_bit") .dwattr $C$DW$628, DW_AT_TI_symbol_name("HINLR3_bit") .dwattr $C$DW$628, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$628, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$628, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$628, DW_AT_decl_line(0x32e) .dwattr $C$DW$628, DW_AT_decl_column(0x05) .dwattr $C$DW$T$250, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$250, DW_AT_decl_line(0x327) .dwattr $C$DW$T$250, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$250 $C$DW$T$252 .dwtag DW_TAG_union_type .dwattr $C$DW$T$252, DW_AT_byte_size(0x04) $C$DW$629 .dwtag DW_TAG_member .dwattr $C$DW$629, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$629, DW_AT_name("HINLR4") .dwattr $C$DW$629, DW_AT_TI_symbol_name("HINLR4") .dwattr $C$DW$629, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$629, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$629, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$629, DW_AT_decl_line(0x334) .dwattr $C$DW$629, DW_AT_decl_column(0x15) $C$DW$630 .dwtag DW_TAG_member .dwattr $C$DW$630, DW_AT_type(*$C$DW$T$251) .dwattr $C$DW$630, DW_AT_name("HINLR4_bit") .dwattr $C$DW$630, DW_AT_TI_symbol_name("HINLR4_bit") .dwattr $C$DW$630, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$630, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$630, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$630, DW_AT_decl_line(0x33a) .dwattr $C$DW$630, DW_AT_decl_column(0x05) .dwattr $C$DW$T$252, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$252, DW_AT_decl_line(0x333) .dwattr $C$DW$T$252, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$252 $C$DW$T$254 .dwtag DW_TAG_union_type .dwattr $C$DW$T$254, DW_AT_byte_size(0x04) $C$DW$631 .dwtag DW_TAG_member .dwattr $C$DW$631, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$631, DW_AT_name("HINLR5") .dwattr $C$DW$631, DW_AT_TI_symbol_name("HINLR5") .dwattr $C$DW$631, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$631, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$631, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$631, DW_AT_decl_line(0x340) .dwattr $C$DW$631, DW_AT_decl_column(0x15) $C$DW$632 .dwtag DW_TAG_member .dwattr $C$DW$632, DW_AT_type(*$C$DW$T$253) .dwattr $C$DW$632, DW_AT_name("HINLR5_bit") .dwattr $C$DW$632, DW_AT_TI_symbol_name("HINLR5_bit") .dwattr $C$DW$632, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$632, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$632, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$632, DW_AT_decl_line(0x346) .dwattr $C$DW$632, DW_AT_decl_column(0x05) .dwattr $C$DW$T$254, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$254, DW_AT_decl_line(0x33f) .dwattr $C$DW$T$254, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$254 $C$DW$T$256 .dwtag DW_TAG_union_type .dwattr $C$DW$T$256, DW_AT_byte_size(0x04) $C$DW$633 .dwtag DW_TAG_member .dwattr $C$DW$633, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$633, DW_AT_name("HINLR6") .dwattr $C$DW$633, DW_AT_TI_symbol_name("HINLR6") .dwattr $C$DW$633, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$633, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$633, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$633, DW_AT_decl_line(0x34c) .dwattr $C$DW$633, DW_AT_decl_column(0x15) $C$DW$634 .dwtag DW_TAG_member .dwattr $C$DW$634, DW_AT_type(*$C$DW$T$255) .dwattr $C$DW$634, DW_AT_name("HINLR6_bit") .dwattr $C$DW$634, DW_AT_TI_symbol_name("HINLR6_bit") .dwattr $C$DW$634, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$634, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$634, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$634, DW_AT_decl_line(0x352) .dwattr $C$DW$634, DW_AT_decl_column(0x05) .dwattr $C$DW$T$256, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$256, DW_AT_decl_line(0x34b) .dwattr $C$DW$T$256, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$256 $C$DW$T$258 .dwtag DW_TAG_union_type .dwattr $C$DW$T$258, DW_AT_byte_size(0x04) $C$DW$635 .dwtag DW_TAG_member .dwattr $C$DW$635, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$635, DW_AT_name("HINLR7") .dwattr $C$DW$635, DW_AT_TI_symbol_name("HINLR7") .dwattr $C$DW$635, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$635, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$635, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$635, DW_AT_decl_line(0x358) .dwattr $C$DW$635, DW_AT_decl_column(0x15) $C$DW$636 .dwtag DW_TAG_member .dwattr $C$DW$636, DW_AT_type(*$C$DW$T$257) .dwattr $C$DW$636, DW_AT_name("HINLR7_bit") .dwattr $C$DW$636, DW_AT_TI_symbol_name("HINLR7_bit") .dwattr $C$DW$636, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$636, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$636, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$636, DW_AT_decl_line(0x35e) .dwattr $C$DW$636, DW_AT_decl_column(0x05) .dwattr $C$DW$T$258, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$258, DW_AT_decl_line(0x357) .dwattr $C$DW$T$258, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$258 $C$DW$T$260 .dwtag DW_TAG_union_type .dwattr $C$DW$T$260, DW_AT_byte_size(0x04) $C$DW$637 .dwtag DW_TAG_member .dwattr $C$DW$637, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$637, DW_AT_name("HINLR8") .dwattr $C$DW$637, DW_AT_TI_symbol_name("HINLR8") .dwattr $C$DW$637, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$637, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$637, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$637, DW_AT_decl_line(0x364) .dwattr $C$DW$637, DW_AT_decl_column(0x15) $C$DW$638 .dwtag DW_TAG_member .dwattr $C$DW$638, DW_AT_type(*$C$DW$T$259) .dwattr $C$DW$638, DW_AT_name("HINLR8_bit") .dwattr $C$DW$638, DW_AT_TI_symbol_name("HINLR8_bit") .dwattr $C$DW$638, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$638, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$638, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$638, DW_AT_decl_line(0x36a) .dwattr $C$DW$638, DW_AT_decl_column(0x05) .dwattr $C$DW$T$260, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$260, DW_AT_decl_line(0x363) .dwattr $C$DW$T$260, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$260 $C$DW$T$262 .dwtag DW_TAG_union_type .dwattr $C$DW$T$262, DW_AT_byte_size(0x04) $C$DW$639 .dwtag DW_TAG_member .dwattr $C$DW$639, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$639, DW_AT_name("HINLR9") .dwattr $C$DW$639, DW_AT_TI_symbol_name("HINLR9") .dwattr $C$DW$639, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$639, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$639, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$639, DW_AT_decl_line(0x370) .dwattr $C$DW$639, DW_AT_decl_column(0x15) $C$DW$640 .dwtag DW_TAG_member .dwattr $C$DW$640, DW_AT_type(*$C$DW$T$261) .dwattr $C$DW$640, DW_AT_name("HINLR9_bit") .dwattr $C$DW$640, DW_AT_TI_symbol_name("HINLR9_bit") .dwattr $C$DW$640, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$640, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$640, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$640, DW_AT_decl_line(0x376) .dwattr $C$DW$640, DW_AT_decl_column(0x05) .dwattr $C$DW$T$262, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$262, DW_AT_decl_line(0x36f) .dwattr $C$DW$T$262, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$262 $C$DW$T$264 .dwtag DW_TAG_union_type .dwattr $C$DW$T$264, DW_AT_byte_size(0x04) $C$DW$641 .dwtag DW_TAG_member .dwattr $C$DW$641, DW_AT_type(*$C$DW$T$112) .dwattr $C$DW$641, DW_AT_name("HIER") .dwattr $C$DW$641, DW_AT_TI_symbol_name("HIER") .dwattr $C$DW$641, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$641, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$641, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$641, DW_AT_decl_line(0x37f) .dwattr $C$DW$641, DW_AT_decl_column(0x15) $C$DW$642 .dwtag DW_TAG_member .dwattr $C$DW$642, DW_AT_type(*$C$DW$T$263) .dwattr $C$DW$642, DW_AT_name("HIER_bit") .dwattr $C$DW$642, DW_AT_TI_symbol_name("HIER_bit") .dwattr $C$DW$642, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$642, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$642, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$642, DW_AT_decl_line(0x384) .dwattr $C$DW$642, DW_AT_decl_column(0x05) .dwattr $C$DW$T$264, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/am335x/pru_intc.h") .dwattr $C$DW$T$264, DW_AT_decl_line(0x37e) .dwattr $C$DW$T$264, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$264 $C$DW$T$265 .dwtag DW_TAG_union_type .dwattr $C$DW$T$265, DW_AT_byte_size(0x04) $C$DW$643 .dwtag DW_TAG_member .dwattr $C$DW$643, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$643, DW_AT_name("sub_type") .dwattr $C$DW$643, DW_AT_TI_symbol_name("sub_type") .dwattr $C$DW$643, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$643, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$643, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$643, DW_AT_decl_line(0x178) .dwattr $C$DW$643, DW_AT_decl_column(0x0c) $C$DW$644 .dwtag DW_TAG_member .dwattr $C$DW$644, DW_AT_type(*$C$DW$T$108) .dwattr $C$DW$644, DW_AT_name("st") .dwattr $C$DW$644, DW_AT_TI_symbol_name("st") .dwattr $C$DW$644, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$644, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$644, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$644, DW_AT_decl_line(0x17c) .dwattr $C$DW$644, DW_AT_decl_column(0x05) .dwattr $C$DW$T$265, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$T$265, DW_AT_decl_line(0x177) .dwattr $C$DW$T$265, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$265 $C$DW$T$2 .dwtag DW_TAG_unspecified_type .dwattr $C$DW$T$2, DW_AT_name("void") $C$DW$T$3 .dwtag DW_TAG_pointer_type .dwattr $C$DW$T$3, DW_AT_type(*$C$DW$T$2) .dwattr $C$DW$T$3, DW_AT_address_class(0x20) $C$DW$T$4 .dwtag DW_TAG_base_type .dwattr $C$DW$T$4, DW_AT_encoding(DW_ATE_boolean) .dwattr $C$DW$T$4, DW_AT_name("bool") .dwattr $C$DW$T$4, DW_AT_byte_size(0x01) $C$DW$T$5 .dwtag DW_TAG_base_type .dwattr $C$DW$T$5, DW_AT_encoding(DW_ATE_signed_char) .dwattr $C$DW$T$5, DW_AT_name("signed char") .dwattr $C$DW$T$5, DW_AT_byte_size(0x01) $C$DW$T$6 .dwtag DW_TAG_base_type .dwattr $C$DW$T$6, DW_AT_encoding(DW_ATE_unsigned_char) .dwattr $C$DW$T$6, DW_AT_name("unsigned char") .dwattr $C$DW$T$6, DW_AT_byte_size(0x01) $C$DW$T$317 .dwtag DW_TAG_pointer_type .dwattr $C$DW$T$317, DW_AT_type(*$C$DW$T$6) .dwattr $C$DW$T$317, DW_AT_address_class(0x20) $C$DW$T$266 .dwtag DW_TAG_typedef .dwattr $C$DW$T$266, DW_AT_name("uint8_t") .dwattr $C$DW$T$266, DW_AT_type(*$C$DW$T$6) .dwattr $C$DW$T$266, DW_AT_language(DW_LANG_C) .dwattr $C$DW$T$266, DW_AT_decl_file("/usr/share/ti/cgt-pru/include/stdint.h") .dwattr $C$DW$T$266, DW_AT_decl_line(0x3d) .dwattr $C$DW$T$266, DW_AT_decl_column(0x1c) $C$DW$T$270 .dwtag DW_TAG_array_type .dwattr $C$DW$T$270, DW_AT_type(*$C$DW$T$266) .dwattr $C$DW$T$270, DW_AT_language(DW_LANG_C) .dwattr $C$DW$T$270, DW_AT_byte_size(0x0a) $C$DW$645 .dwtag DW_TAG_subrange_type .dwattr $C$DW$645, DW_AT_upper_bound(0x09) .dwendtag $C$DW$T$270 $C$DW$T$273 .dwtag DW_TAG_array_type .dwattr $C$DW$T$273, DW_AT_type(*$C$DW$T$266) .dwattr $C$DW$T$273, DW_AT_language(DW_LANG_C) .dwattr $C$DW$T$273, DW_AT_byte_size(0x02) $C$DW$646 .dwtag DW_TAG_subrange_type .dwattr $C$DW$646, DW_AT_upper_bound(0x01) .dwendtag $C$DW$T$273 $C$DW$T$318 .dwtag DW_TAG_array_type .dwattr $C$DW$T$318, DW_AT_type(*$C$DW$T$266) .dwattr $C$DW$T$318, DW_AT_language(DW_LANG_C) .dwattr $C$DW$T$318, DW_AT_byte_size(0x1f0) $C$DW$647 .dwtag DW_TAG_subrange_type .dwattr $C$DW$647, DW_AT_upper_bound(0x1ef) .dwendtag $C$DW$T$318 $C$DW$T$319 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$319, DW_AT_type(*$C$DW$T$266) $C$DW$T$320 .dwtag DW_TAG_pointer_type .dwattr $C$DW$T$320, DW_AT_type(*$C$DW$T$319) .dwattr $C$DW$T$320, DW_AT_address_class(0x20) $C$DW$T$321 .dwtag DW_TAG_const_type .dwattr $C$DW$T$321, DW_AT_type(*$C$DW$T$320) $C$DW$T$7 .dwtag DW_TAG_base_type .dwattr $C$DW$T$7, DW_AT_encoding(DW_ATE_signed_char) .dwattr $C$DW$T$7, DW_AT_name("wchar_t") .dwattr $C$DW$T$7, DW_AT_byte_size(0x04) $C$DW$T$8 .dwtag DW_TAG_base_type .dwattr $C$DW$T$8, DW_AT_encoding(DW_ATE_signed) .dwattr $C$DW$T$8, DW_AT_name("short") .dwattr $C$DW$T$8, DW_AT_byte_size(0x02) $C$DW$T$337 .dwtag DW_TAG_typedef .dwattr $C$DW$T$337, DW_AT_name("int16_t") .dwattr $C$DW$T$337, DW_AT_type(*$C$DW$T$8) .dwattr $C$DW$T$337, DW_AT_language(DW_LANG_C) .dwattr $C$DW$T$337, DW_AT_decl_file("/usr/share/ti/cgt-pru/include/stdint.h") .dwattr $C$DW$T$337, DW_AT_decl_line(0x3e) .dwattr $C$DW$T$337, DW_AT_decl_column(0x1d) $C$DW$T$9 .dwtag DW_TAG_base_type .dwattr $C$DW$T$9, DW_AT_encoding(DW_ATE_unsigned) .dwattr $C$DW$T$9, DW_AT_name("unsigned short") .dwattr $C$DW$T$9, DW_AT_byte_size(0x02) $C$DW$T$107 .dwtag DW_TAG_typedef .dwattr $C$DW$T$107, DW_AT_name("uint16_t") .dwattr $C$DW$T$107, DW_AT_type(*$C$DW$T$9) .dwattr $C$DW$T$107, DW_AT_language(DW_LANG_C) .dwattr $C$DW$T$107, DW_AT_decl_file("/usr/share/ti/cgt-pru/include/stdint.h") .dwattr $C$DW$T$107, DW_AT_decl_line(0x3f) .dwattr $C$DW$T$107, DW_AT_decl_column(0x1c) $C$DW$T$110 .dwtag DW_TAG_array_type .dwattr $C$DW$T$110, DW_AT_type(*$C$DW$T$107) .dwattr $C$DW$T$110, DW_AT_language(DW_LANG_C) .dwattr $C$DW$T$110, DW_AT_byte_size(0x1e0) $C$DW$648 .dwtag DW_TAG_subrange_type .dwattr $C$DW$648, DW_AT_upper_bound(0xef) .dwendtag $C$DW$T$110 $C$DW$T$285 .dwtag DW_TAG_array_type .dwattr $C$DW$T$285, DW_AT_type(*$C$DW$T$107) .dwattr $C$DW$T$285, DW_AT_language(DW_LANG_C) $C$DW$649 .dwtag DW_TAG_subrange_type .dwendtag $C$DW$T$285 $C$DW$T$332 .dwtag DW_TAG_pointer_type .dwattr $C$DW$T$332, DW_AT_type(*$C$DW$T$107) .dwattr $C$DW$T$332, DW_AT_address_class(0x20) $C$DW$T$10 .dwtag DW_TAG_base_type .dwattr $C$DW$T$10, DW_AT_encoding(DW_ATE_signed) .dwattr $C$DW$T$10, DW_AT_name("int") .dwattr $C$DW$T$10, DW_AT_byte_size(0x04) $C$DW$T$329 .dwtag DW_TAG_typedef .dwattr $C$DW$T$329, DW_AT_name("int32_t") .dwattr $C$DW$T$329, DW_AT_type(*$C$DW$T$10) .dwattr $C$DW$T$329, DW_AT_language(DW_LANG_C) .dwattr $C$DW$T$329, DW_AT_decl_file("/usr/share/ti/cgt-pru/include/stdint.h") .dwattr $C$DW$T$329, DW_AT_decl_line(0x40) .dwattr $C$DW$T$329, DW_AT_decl_column(0x1d) $C$DW$T$11 .dwtag DW_TAG_base_type .dwattr $C$DW$T$11, DW_AT_encoding(DW_ATE_unsigned) .dwattr $C$DW$T$11, DW_AT_name("unsigned int") .dwattr $C$DW$T$11, DW_AT_byte_size(0x04) $C$DW$T$343 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$343, DW_AT_type(*$C$DW$T$11) $C$DW$T$344 .dwtag DW_TAG_pointer_type .dwattr $C$DW$T$344, DW_AT_type(*$C$DW$T$343) .dwattr $C$DW$T$344, DW_AT_address_class(0x20) $C$DW$T$32 .dwtag DW_TAG_typedef .dwattr $C$DW$T$32, DW_AT_name("uint32_t") .dwattr $C$DW$T$32, DW_AT_type(*$C$DW$T$11) .dwattr $C$DW$T$32, DW_AT_language(DW_LANG_C) .dwattr $C$DW$T$32, DW_AT_decl_file("/usr/share/ti/cgt-pru/include/stdint.h") .dwattr $C$DW$T$32, DW_AT_decl_line(0x41) .dwattr $C$DW$T$32, DW_AT_decl_column(0x1c) $C$DW$T$33 .dwtag DW_TAG_array_type .dwattr $C$DW$T$33, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$T$33, DW_AT_language(DW_LANG_C) .dwattr $C$DW$T$33, DW_AT_byte_size(0x04) $C$DW$650 .dwtag DW_TAG_subrange_type .dwattr $C$DW$650, DW_AT_upper_bound(0x00) .dwendtag $C$DW$T$33 $C$DW$T$34 .dwtag DW_TAG_array_type .dwattr $C$DW$T$34, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$T$34, DW_AT_language(DW_LANG_C) .dwattr $C$DW$T$34, DW_AT_byte_size(0x08) $C$DW$651 .dwtag DW_TAG_subrange_type .dwattr $C$DW$651, DW_AT_upper_bound(0x01) .dwendtag $C$DW$T$34 $C$DW$T$99 .dwtag DW_TAG_array_type .dwattr $C$DW$T$99, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$T$99, DW_AT_language(DW_LANG_C) .dwattr $C$DW$T$99, DW_AT_byte_size(0x44) $C$DW$652 .dwtag DW_TAG_subrange_type .dwattr $C$DW$652, DW_AT_upper_bound(0x10) .dwendtag $C$DW$T$99 $C$DW$T$100 .dwtag DW_TAG_array_type .dwattr $C$DW$T$100, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$T$100, DW_AT_language(DW_LANG_C) .dwattr $C$DW$T$100, DW_AT_byte_size(0x17c) $C$DW$653 .dwtag DW_TAG_subrange_type .dwattr $C$DW$653, DW_AT_upper_bound(0x5e) .dwendtag $C$DW$T$100 $C$DW$T$101 .dwtag DW_TAG_array_type .dwattr $C$DW$T$101, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$T$101, DW_AT_language(DW_LANG_C) .dwattr $C$DW$T$101, DW_AT_byte_size(0x78) $C$DW$654 .dwtag DW_TAG_subrange_type .dwattr $C$DW$654, DW_AT_upper_bound(0x1d) .dwendtag $C$DW$T$101 $C$DW$T$102 .dwtag DW_TAG_array_type .dwattr $C$DW$T$102, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$T$102, DW_AT_language(DW_LANG_C) .dwattr $C$DW$T$102, DW_AT_byte_size(0x3c0) $C$DW$655 .dwtag DW_TAG_subrange_type .dwattr $C$DW$655, DW_AT_upper_bound(0xef) .dwendtag $C$DW$T$102 $C$DW$T$103 .dwtag DW_TAG_array_type .dwattr $C$DW$T$103, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$T$103, DW_AT_language(DW_LANG_C) .dwattr $C$DW$T$103, DW_AT_byte_size(0xf4) $C$DW$656 .dwtag DW_TAG_subrange_type .dwattr $C$DW$656, DW_AT_upper_bound(0x3c) .dwendtag $C$DW$T$103 $C$DW$T$104 .dwtag DW_TAG_array_type .dwattr $C$DW$T$104, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$T$104, DW_AT_language(DW_LANG_C) .dwattr $C$DW$T$104, DW_AT_byte_size(0x3d8) $C$DW$657 .dwtag DW_TAG_subrange_type .dwattr $C$DW$657, DW_AT_upper_bound(0xf5) .dwendtag $C$DW$T$104 $C$DW$T$105 .dwtag DW_TAG_array_type .dwattr $C$DW$T$105, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$T$105, DW_AT_language(DW_LANG_C) .dwattr $C$DW$T$105, DW_AT_byte_size(0x378) $C$DW$658 .dwtag DW_TAG_subrange_type .dwattr $C$DW$658, DW_AT_upper_bound(0xdd) .dwendtag $C$DW$T$105 $C$DW$T$112 .dwtag DW_TAG_volatile_type .dwattr $C$DW$T$112, DW_AT_type(*$C$DW$T$32) $C$DW$T$12 .dwtag DW_TAG_base_type .dwattr $C$DW$T$12, DW_AT_encoding(DW_ATE_signed) .dwattr $C$DW$T$12, DW_AT_name("long") .dwattr $C$DW$T$12, DW_AT_byte_size(0x04) $C$DW$T$13 .dwtag DW_TAG_base_type .dwattr $C$DW$T$13, DW_AT_encoding(DW_ATE_unsigned) .dwattr $C$DW$T$13, DW_AT_name("unsigned long") .dwattr $C$DW$T$13, DW_AT_byte_size(0x04) $C$DW$T$14 .dwtag DW_TAG_base_type .dwattr $C$DW$T$14, DW_AT_encoding(DW_ATE_signed) .dwattr $C$DW$T$14, DW_AT_name("long long") .dwattr $C$DW$T$14, DW_AT_byte_size(0x08) $C$DW$T$15 .dwtag DW_TAG_base_type .dwattr $C$DW$T$15, DW_AT_encoding(DW_ATE_unsigned) .dwattr $C$DW$T$15, DW_AT_name("unsigned long long") .dwattr $C$DW$T$15, DW_AT_byte_size(0x08) $C$DW$T$109 .dwtag DW_TAG_typedef .dwattr $C$DW$T$109, DW_AT_name("uint64_t") .dwattr $C$DW$T$109, DW_AT_type(*$C$DW$T$15) .dwattr $C$DW$T$109, DW_AT_language(DW_LANG_C) .dwattr $C$DW$T$109, DW_AT_decl_file("/usr/share/ti/cgt-pru/include/stdint.h") .dwattr $C$DW$T$109, DW_AT_decl_line(0x53) .dwattr $C$DW$T$109, DW_AT_decl_column(0x20) $C$DW$T$16 .dwtag DW_TAG_base_type .dwattr $C$DW$T$16, DW_AT_encoding(DW_ATE_float) .dwattr $C$DW$T$16, DW_AT_name("float") .dwattr $C$DW$T$16, DW_AT_byte_size(0x04) $C$DW$T$17 .dwtag DW_TAG_base_type .dwattr $C$DW$T$17, DW_AT_encoding(DW_ATE_float) .dwattr $C$DW$T$17, DW_AT_name("double") .dwattr $C$DW$T$17, DW_AT_byte_size(0x08) $C$DW$T$18 .dwtag DW_TAG_base_type .dwattr $C$DW$T$18, DW_AT_encoding(DW_ATE_float) .dwattr $C$DW$T$18, DW_AT_name("long double") .dwattr $C$DW$T$18, DW_AT_byte_size(0x08) $C$DW$T$328 .dwtag DW_TAG_pointer_type .dwattr $C$DW$T$328, DW_AT_type(*$C$DW$T$6) .dwattr $C$DW$T$328, DW_AT_address_class(0x20) $C$DW$T$267 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$267, DW_AT_name("ch_map") .dwattr $C$DW$T$267, DW_AT_byte_size(0x02) $C$DW$659 .dwtag DW_TAG_member .dwattr $C$DW$659, DW_AT_type(*$C$DW$T$266) .dwattr $C$DW$659, DW_AT_name("evt") .dwattr $C$DW$659, DW_AT_TI_symbol_name("evt") .dwattr $C$DW$659, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$659, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$659, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_types.h") .dwattr $C$DW$659, DW_AT_decl_line(0x3a) .dwattr $C$DW$659, DW_AT_decl_column(0x0a) $C$DW$660 .dwtag DW_TAG_member .dwattr $C$DW$660, DW_AT_type(*$C$DW$T$266) .dwattr $C$DW$660, DW_AT_name("ch") .dwattr $C$DW$660, DW_AT_TI_symbol_name("ch") .dwattr $C$DW$660, DW_AT_data_member_location[DW_OP_plus_uconst 0x1] .dwattr $C$DW$660, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$660, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_types.h") .dwattr $C$DW$660, DW_AT_decl_line(0x3b) .dwattr $C$DW$660, DW_AT_decl_column(0x0a) .dwattr $C$DW$T$267, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_types.h") .dwattr $C$DW$T$267, DW_AT_decl_line(0x39) .dwattr $C$DW$T$267, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$267 $C$DW$T$271 .dwtag DW_TAG_pointer_type .dwattr $C$DW$T$271, DW_AT_type(*$C$DW$T$267) .dwattr $C$DW$T$271, DW_AT_address_class(0x20) $C$DW$T$345 .dwtag DW_TAG_array_type .dwattr $C$DW$T$345, DW_AT_type(*$C$DW$T$267) .dwattr $C$DW$T$345, DW_AT_language(DW_LANG_C) .dwattr $C$DW$T$345, DW_AT_byte_size(0x04) $C$DW$661 .dwtag DW_TAG_subrange_type .dwattr $C$DW$661, DW_AT_upper_bound(0x01) .dwendtag $C$DW$T$345 $C$DW$T$268 .dwtag DW_TAG_union_type .dwattr $C$DW$T$268, DW_AT_name("fw_custom") .dwattr $C$DW$T$268, DW_AT_byte_size(0x14) $C$DW$662 .dwtag DW_TAG_member .dwattr $C$DW$662, DW_AT_type(*$C$DW$T$272) .dwattr $C$DW$662, DW_AT_name("pru_ints") .dwattr $C$DW$662, DW_AT_TI_symbol_name("pru_ints") .dwattr $C$DW$662, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$662, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$662, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$662, DW_AT_decl_line(0x3a) .dwattr $C$DW$662, DW_AT_decl_column(0x1c) $C$DW$663 .dwtag DW_TAG_member .dwattr $C$DW$663, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$663, DW_AT_name("reserved") .dwattr $C$DW$663, DW_AT_TI_symbol_name("reserved") .dwattr $C$DW$663, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$663, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$663, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$663, DW_AT_decl_line(0x3c) .dwattr $C$DW$663, DW_AT_decl_column(0x0b) .dwattr $C$DW$T$268, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$T$268, DW_AT_decl_line(0x38) .dwattr $C$DW$T$268, DW_AT_decl_column(0x07) .dwendtag $C$DW$T$268 $C$DW$T$269 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$269, DW_AT_name("fw_rsc_custom") .dwattr $C$DW$T$269, DW_AT_byte_size(0x20) $C$DW$664 .dwtag DW_TAG_member .dwattr $C$DW$664, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$664, DW_AT_name("type") .dwattr $C$DW$664, DW_AT_TI_symbol_name("type") .dwattr $C$DW$664, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$664, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$664, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$664, DW_AT_decl_line(0x176) .dwattr $C$DW$664, DW_AT_decl_column(0x0b) $C$DW$665 .dwtag DW_TAG_member .dwattr $C$DW$665, DW_AT_type(*$C$DW$T$265) .dwattr $C$DW$665, DW_AT_name("u") .dwattr $C$DW$665, DW_AT_TI_symbol_name("u") .dwattr $C$DW$665, DW_AT_data_member_location[DW_OP_plus_uconst 0x4] .dwattr $C$DW$665, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$665, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$665, DW_AT_decl_line(0x17d) .dwattr $C$DW$665, DW_AT_decl_column(0x04) $C$DW$666 .dwtag DW_TAG_member .dwattr $C$DW$666, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$666, DW_AT_name("rsc_size") .dwattr $C$DW$666, DW_AT_TI_symbol_name("rsc_size") .dwattr $C$DW$666, DW_AT_data_member_location[DW_OP_plus_uconst 0x8] .dwattr $C$DW$666, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$666, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$666, DW_AT_decl_line(0x17e) .dwattr $C$DW$666, DW_AT_decl_column(0x0b) $C$DW$667 .dwtag DW_TAG_member .dwattr $C$DW$667, DW_AT_type(*$C$DW$T$268) .dwattr $C$DW$667, DW_AT_name("rsc") .dwattr $C$DW$667, DW_AT_TI_symbol_name("rsc") .dwattr $C$DW$667, DW_AT_data_member_location[DW_OP_plus_uconst 0xc] .dwattr $C$DW$667, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$667, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$667, DW_AT_decl_line(0x17f) .dwattr $C$DW$667, DW_AT_decl_column(0x12) .dwattr $C$DW$T$269, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$T$269, DW_AT_decl_line(0x175) .dwattr $C$DW$T$269, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$269 $C$DW$T$272 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$272, DW_AT_name("fw_rsc_custom_ints") .dwattr $C$DW$T$272, DW_AT_byte_size(0x14) $C$DW$668 .dwtag DW_TAG_member .dwattr $C$DW$668, DW_AT_type(*$C$DW$T$107) .dwattr $C$DW$668, DW_AT_name("reserved") .dwattr $C$DW$668, DW_AT_TI_symbol_name("reserved") .dwattr $C$DW$668, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$668, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$668, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_types.h") .dwattr $C$DW$668, DW_AT_decl_line(0x4f) .dwattr $C$DW$668, DW_AT_decl_column(0x0b) $C$DW$669 .dwtag DW_TAG_member .dwattr $C$DW$669, DW_AT_type(*$C$DW$T$270) .dwattr $C$DW$669, DW_AT_name("channel_host") .dwattr $C$DW$669, DW_AT_TI_symbol_name("channel_host") .dwattr $C$DW$669, DW_AT_data_member_location[DW_OP_plus_uconst 0x2] .dwattr $C$DW$669, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$669, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_types.h") .dwattr $C$DW$669, DW_AT_decl_line(0x50) .dwattr $C$DW$669, DW_AT_decl_column(0x0a) $C$DW$670 .dwtag DW_TAG_member .dwattr $C$DW$670, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$670, DW_AT_name("num_evts") .dwattr $C$DW$670, DW_AT_TI_symbol_name("num_evts") .dwattr $C$DW$670, DW_AT_data_member_location[DW_OP_plus_uconst 0xc] .dwattr $C$DW$670, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$670, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_types.h") .dwattr $C$DW$670, DW_AT_decl_line(0x51) .dwattr $C$DW$670, DW_AT_decl_column(0x0b) $C$DW$671 .dwtag DW_TAG_member .dwattr $C$DW$671, DW_AT_type(*$C$DW$T$271) .dwattr $C$DW$671, DW_AT_name("event_channel") .dwattr $C$DW$671, DW_AT_TI_symbol_name("event_channel") .dwattr $C$DW$671, DW_AT_data_member_location[DW_OP_plus_uconst 0x10] .dwattr $C$DW$671, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$671, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_types.h") .dwattr $C$DW$671, DW_AT_decl_line(0x52) .dwattr $C$DW$671, DW_AT_decl_column(0x11) .dwattr $C$DW$T$272, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_types.h") .dwattr $C$DW$T$272, DW_AT_decl_line(0x4e) .dwattr $C$DW$T$272, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$272 $C$DW$T$275 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$275, DW_AT_name("fw_rsc_vdev") .dwattr $C$DW$T$275, DW_AT_byte_size(0x1c) $C$DW$672 .dwtag DW_TAG_member .dwattr $C$DW$672, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$672, DW_AT_name("type") .dwattr $C$DW$672, DW_AT_TI_symbol_name("type") .dwattr $C$DW$672, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$672, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$672, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$672, DW_AT_decl_line(0x116) .dwattr $C$DW$672, DW_AT_decl_column(0x0b) $C$DW$673 .dwtag DW_TAG_member .dwattr $C$DW$673, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$673, DW_AT_name("id") .dwattr $C$DW$673, DW_AT_TI_symbol_name("id") .dwattr $C$DW$673, DW_AT_data_member_location[DW_OP_plus_uconst 0x4] .dwattr $C$DW$673, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$673, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$673, DW_AT_decl_line(0x117) .dwattr $C$DW$673, DW_AT_decl_column(0x0b) $C$DW$674 .dwtag DW_TAG_member .dwattr $C$DW$674, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$674, DW_AT_name("notifyid") .dwattr $C$DW$674, DW_AT_TI_symbol_name("notifyid") .dwattr $C$DW$674, DW_AT_data_member_location[DW_OP_plus_uconst 0x8] .dwattr $C$DW$674, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$674, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$674, DW_AT_decl_line(0x118) .dwattr $C$DW$674, DW_AT_decl_column(0x0b) $C$DW$675 .dwtag DW_TAG_member .dwattr $C$DW$675, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$675, DW_AT_name("dfeatures") .dwattr $C$DW$675, DW_AT_TI_symbol_name("dfeatures") .dwattr $C$DW$675, DW_AT_data_member_location[DW_OP_plus_uconst 0xc] .dwattr $C$DW$675, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$675, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$675, DW_AT_decl_line(0x119) .dwattr $C$DW$675, DW_AT_decl_column(0x0b) $C$DW$676 .dwtag DW_TAG_member .dwattr $C$DW$676, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$676, DW_AT_name("gfeatures") .dwattr $C$DW$676, DW_AT_TI_symbol_name("gfeatures") .dwattr $C$DW$676, DW_AT_data_member_location[DW_OP_plus_uconst 0x10] .dwattr $C$DW$676, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$676, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$676, DW_AT_decl_line(0x11a) .dwattr $C$DW$676, DW_AT_decl_column(0x0b) $C$DW$677 .dwtag DW_TAG_member .dwattr $C$DW$677, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$677, DW_AT_name("config_len") .dwattr $C$DW$677, DW_AT_TI_symbol_name("config_len") .dwattr $C$DW$677, DW_AT_data_member_location[DW_OP_plus_uconst 0x14] .dwattr $C$DW$677, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$677, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$677, DW_AT_decl_line(0x11b) .dwattr $C$DW$677, DW_AT_decl_column(0x0b) $C$DW$678 .dwtag DW_TAG_member .dwattr $C$DW$678, DW_AT_type(*$C$DW$T$266) .dwattr $C$DW$678, DW_AT_name("status") .dwattr $C$DW$678, DW_AT_TI_symbol_name("status") .dwattr $C$DW$678, DW_AT_data_member_location[DW_OP_plus_uconst 0x18] .dwattr $C$DW$678, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$678, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$678, DW_AT_decl_line(0x11c) .dwattr $C$DW$678, DW_AT_decl_column(0x0a) $C$DW$679 .dwtag DW_TAG_member .dwattr $C$DW$679, DW_AT_type(*$C$DW$T$266) .dwattr $C$DW$679, DW_AT_name("num_of_vrings") .dwattr $C$DW$679, DW_AT_TI_symbol_name("num_of_vrings") .dwattr $C$DW$679, DW_AT_data_member_location[DW_OP_plus_uconst 0x19] .dwattr $C$DW$679, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$679, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$679, DW_AT_decl_line(0x11d) .dwattr $C$DW$679, DW_AT_decl_column(0x0a) $C$DW$680 .dwtag DW_TAG_member .dwattr $C$DW$680, DW_AT_type(*$C$DW$T$273) .dwattr $C$DW$680, DW_AT_name("reserved") .dwattr $C$DW$680, DW_AT_TI_symbol_name("reserved") .dwattr $C$DW$680, DW_AT_data_member_location[DW_OP_plus_uconst 0x1a] .dwattr $C$DW$680, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$680, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$680, DW_AT_decl_line(0x11e) .dwattr $C$DW$680, DW_AT_decl_column(0x0a) $C$DW$681 .dwtag DW_TAG_member .dwattr $C$DW$681, DW_AT_type(*$C$DW$T$274) .dwattr $C$DW$681, DW_AT_name("vring") .dwattr $C$DW$681, DW_AT_TI_symbol_name("vring") .dwattr $C$DW$681, DW_AT_data_member_location[DW_OP_plus_uconst 0x1c] .dwattr $C$DW$681, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$681, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$681, DW_AT_decl_line(0x11f) .dwattr $C$DW$681, DW_AT_decl_column(0x1b) .dwattr $C$DW$T$275, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$T$275, DW_AT_decl_line(0x115) .dwattr $C$DW$T$275, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$275 $C$DW$T$276 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$276, DW_AT_name("fw_rsc_vdev_vring") .dwattr $C$DW$T$276, DW_AT_byte_size(0x14) $C$DW$682 .dwtag DW_TAG_member .dwattr $C$DW$682, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$682, DW_AT_name("da") .dwattr $C$DW$682, DW_AT_TI_symbol_name("da") .dwattr $C$DW$682, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$682, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$682, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$682, DW_AT_decl_line(0xea) .dwattr $C$DW$682, DW_AT_decl_column(0x0b) $C$DW$683 .dwtag DW_TAG_member .dwattr $C$DW$683, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$683, DW_AT_name("align") .dwattr $C$DW$683, DW_AT_TI_symbol_name("align") .dwattr $C$DW$683, DW_AT_data_member_location[DW_OP_plus_uconst 0x4] .dwattr $C$DW$683, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$683, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$683, DW_AT_decl_line(0xeb) .dwattr $C$DW$683, DW_AT_decl_column(0x0b) $C$DW$684 .dwtag DW_TAG_member .dwattr $C$DW$684, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$684, DW_AT_name("num") .dwattr $C$DW$684, DW_AT_TI_symbol_name("num") .dwattr $C$DW$684, DW_AT_data_member_location[DW_OP_plus_uconst 0x8] .dwattr $C$DW$684, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$684, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$684, DW_AT_decl_line(0xec) .dwattr $C$DW$684, DW_AT_decl_column(0x0b) $C$DW$685 .dwtag DW_TAG_member .dwattr $C$DW$685, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$685, DW_AT_name("notifyid") .dwattr $C$DW$685, DW_AT_TI_symbol_name("notifyid") .dwattr $C$DW$685, DW_AT_data_member_location[DW_OP_plus_uconst 0xc] .dwattr $C$DW$685, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$685, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$685, DW_AT_decl_line(0xed) .dwattr $C$DW$685, DW_AT_decl_column(0x0b) $C$DW$686 .dwtag DW_TAG_member .dwattr $C$DW$686, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$686, DW_AT_name("reserved") .dwattr $C$DW$686, DW_AT_TI_symbol_name("reserved") .dwattr $C$DW$686, DW_AT_data_member_location[DW_OP_plus_uconst 0x10] .dwattr $C$DW$686, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$686, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$686, DW_AT_decl_line(0xee) .dwattr $C$DW$686, DW_AT_decl_column(0x0b) .dwattr $C$DW$T$276, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$T$276, DW_AT_decl_line(0xe9) .dwattr $C$DW$T$276, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$276 $C$DW$T$274 .dwtag DW_TAG_array_type .dwattr $C$DW$T$274, DW_AT_type(*$C$DW$T$276) .dwattr $C$DW$T$274, DW_AT_language(DW_LANG_C) $C$DW$687 .dwtag DW_TAG_subrange_type .dwendtag $C$DW$T$274 $C$DW$T$323 .dwtag DW_TAG_pointer_type .dwattr $C$DW$T$323, DW_AT_type(*$C$DW$T$276) .dwattr $C$DW$T$323, DW_AT_address_class(0x20) $C$DW$T$277 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$277, DW_AT_name("my_resource_table") .dwattr $C$DW$T$277, DW_AT_byte_size(0x7c) $C$DW$688 .dwtag DW_TAG_member .dwattr $C$DW$688, DW_AT_type(*$C$DW$T$280) .dwattr $C$DW$688, DW_AT_name("base") .dwattr $C$DW$688, DW_AT_TI_symbol_name("base") .dwattr $C$DW$688, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$688, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$688, DW_AT_decl_file("resource_table_0.h") .dwattr $C$DW$688, DW_AT_decl_line(0x41) .dwattr $C$DW$688, DW_AT_decl_column(0x18) $C$DW$689 .dwtag DW_TAG_member .dwattr $C$DW$689, DW_AT_type(*$C$DW$T$34) .dwattr $C$DW$689, DW_AT_name("offset") .dwattr $C$DW$689, DW_AT_TI_symbol_name("offset") .dwattr $C$DW$689, DW_AT_data_member_location[DW_OP_plus_uconst 0x10] .dwattr $C$DW$689, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$689, DW_AT_decl_file("resource_table_0.h") .dwattr $C$DW$689, DW_AT_decl_line(0x43) .dwattr $C$DW$689, DW_AT_decl_column(0x0b) $C$DW$690 .dwtag DW_TAG_member .dwattr $C$DW$690, DW_AT_type(*$C$DW$T$275) .dwattr $C$DW$690, DW_AT_name("rpmsg_vdev") .dwattr $C$DW$690, DW_AT_TI_symbol_name("rpmsg_vdev") .dwattr $C$DW$690, DW_AT_data_member_location[DW_OP_plus_uconst 0x18] .dwattr $C$DW$690, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$690, DW_AT_decl_file("resource_table_0.h") .dwattr $C$DW$690, DW_AT_decl_line(0x46) .dwattr $C$DW$690, DW_AT_decl_column(0x15) $C$DW$691 .dwtag DW_TAG_member .dwattr $C$DW$691, DW_AT_type(*$C$DW$T$276) .dwattr $C$DW$691, DW_AT_name("rpmsg_vring0") .dwattr $C$DW$691, DW_AT_TI_symbol_name("rpmsg_vring0") .dwattr $C$DW$691, DW_AT_data_member_location[DW_OP_plus_uconst 0x34] .dwattr $C$DW$691, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$691, DW_AT_decl_file("resource_table_0.h") .dwattr $C$DW$691, DW_AT_decl_line(0x47) .dwattr $C$DW$691, DW_AT_decl_column(0x1b) $C$DW$692 .dwtag DW_TAG_member .dwattr $C$DW$692, DW_AT_type(*$C$DW$T$276) .dwattr $C$DW$692, DW_AT_name("rpmsg_vring1") .dwattr $C$DW$692, DW_AT_TI_symbol_name("rpmsg_vring1") .dwattr $C$DW$692, DW_AT_data_member_location[DW_OP_plus_uconst 0x48] .dwattr $C$DW$692, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$692, DW_AT_decl_file("resource_table_0.h") .dwattr $C$DW$692, DW_AT_decl_line(0x48) .dwattr $C$DW$692, DW_AT_decl_column(0x1b) $C$DW$693 .dwtag DW_TAG_member .dwattr $C$DW$693, DW_AT_type(*$C$DW$T$269) .dwattr $C$DW$693, DW_AT_name("pru_ints") .dwattr $C$DW$693, DW_AT_TI_symbol_name("pru_ints") .dwattr $C$DW$693, DW_AT_data_member_location[DW_OP_plus_uconst 0x5c] .dwattr $C$DW$693, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$693, DW_AT_decl_file("resource_table_0.h") .dwattr $C$DW$693, DW_AT_decl_line(0x4b) .dwattr $C$DW$693, DW_AT_decl_column(0x17) .dwattr $C$DW$T$277, DW_AT_decl_file("resource_table_0.h") .dwattr $C$DW$T$277, DW_AT_decl_line(0x40) .dwattr $C$DW$T$277, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$277 $C$DW$T$326 .dwtag DW_TAG_enumeration_type .dwattr $C$DW$T$326, DW_AT_name("pru_rpmsg_ns_flags") .dwattr $C$DW$T$326, DW_AT_byte_size(0x01) $C$DW$694 .dwtag DW_TAG_enumerator .dwattr $C$DW$694, DW_AT_name("RPMSG_NS_CREATE") .dwattr $C$DW$694, DW_AT_const_value(0x00) .dwattr $C$DW$694, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_rpmsg.h") .dwattr $C$DW$694, DW_AT_decl_line(0x5d) .dwattr $C$DW$694, DW_AT_decl_column(0x05) $C$DW$695 .dwtag DW_TAG_enumerator .dwattr $C$DW$695, DW_AT_name("RPMSG_NS_DESTROY") .dwattr $C$DW$695, DW_AT_const_value(0x01) .dwattr $C$DW$695, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_rpmsg.h") .dwattr $C$DW$695, DW_AT_decl_line(0x5e) .dwattr $C$DW$695, DW_AT_decl_column(0x05) .dwattr $C$DW$T$326, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_rpmsg.h") .dwattr $C$DW$T$326, DW_AT_decl_line(0x5c) .dwattr $C$DW$T$326, DW_AT_decl_column(0x06) .dwendtag $C$DW$T$326 $C$DW$T$278 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$278, DW_AT_name("pru_rpmsg_transport") .dwattr $C$DW$T$278, DW_AT_byte_size(0x3c) $C$DW$696 .dwtag DW_TAG_member .dwattr $C$DW$696, DW_AT_type(*$C$DW$T$279) .dwattr $C$DW$696, DW_AT_name("virtqueue0") .dwattr $C$DW$696, DW_AT_TI_symbol_name("virtqueue0") .dwattr $C$DW$696, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$696, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$696, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_rpmsg.h") .dwattr $C$DW$696, DW_AT_decl_line(0x6f) .dwattr $C$DW$696, DW_AT_decl_column(0x17) $C$DW$697 .dwtag DW_TAG_member .dwattr $C$DW$697, DW_AT_type(*$C$DW$T$279) .dwattr $C$DW$697, DW_AT_name("virtqueue1") .dwattr $C$DW$697, DW_AT_TI_symbol_name("virtqueue1") .dwattr $C$DW$697, DW_AT_data_member_location[DW_OP_plus_uconst 0x1e] .dwattr $C$DW$697, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$697, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_rpmsg.h") .dwattr $C$DW$697, DW_AT_decl_line(0x70) .dwattr $C$DW$697, DW_AT_decl_column(0x17) .dwattr $C$DW$T$278, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_rpmsg.h") .dwattr $C$DW$T$278, DW_AT_decl_line(0x6e) .dwattr $C$DW$T$278, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$278 $C$DW$T$322 .dwtag DW_TAG_pointer_type .dwattr $C$DW$T$322, DW_AT_type(*$C$DW$T$278) .dwattr $C$DW$T$322, DW_AT_address_class(0x20) $C$DW$T$279 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$279, DW_AT_name("pru_virtqueue") .dwattr $C$DW$T$279, DW_AT_byte_size(0x1e) $C$DW$698 .dwtag DW_TAG_member .dwattr $C$DW$698, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$698, DW_AT_name("id") .dwattr $C$DW$698, DW_AT_TI_symbol_name("id") .dwattr $C$DW$698, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$698, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$698, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_virtqueue.h") .dwattr $C$DW$698, DW_AT_decl_line(0x5e) .dwattr $C$DW$698, DW_AT_decl_column(0x0b) $C$DW$699 .dwtag DW_TAG_member .dwattr $C$DW$699, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$699, DW_AT_name("to_arm_event") .dwattr $C$DW$699, DW_AT_TI_symbol_name("to_arm_event") .dwattr $C$DW$699, DW_AT_data_member_location[DW_OP_plus_uconst 0x4] .dwattr $C$DW$699, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$699, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_virtqueue.h") .dwattr $C$DW$699, DW_AT_decl_line(0x5f) .dwattr $C$DW$699, DW_AT_decl_column(0x0b) $C$DW$700 .dwtag DW_TAG_member .dwattr $C$DW$700, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$700, DW_AT_name("from_arm_event") .dwattr $C$DW$700, DW_AT_TI_symbol_name("from_arm_event") .dwattr $C$DW$700, DW_AT_data_member_location[DW_OP_plus_uconst 0x8] .dwattr $C$DW$700, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$700, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_virtqueue.h") .dwattr $C$DW$700, DW_AT_decl_line(0x60) .dwattr $C$DW$700, DW_AT_decl_column(0x0b) $C$DW$701 .dwtag DW_TAG_member .dwattr $C$DW$701, DW_AT_type(*$C$DW$T$107) .dwattr $C$DW$701, DW_AT_name("last_avail_idx") .dwattr $C$DW$701, DW_AT_TI_symbol_name("last_avail_idx") .dwattr $C$DW$701, DW_AT_data_member_location[DW_OP_plus_uconst 0xc] .dwattr $C$DW$701, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$701, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_virtqueue.h") .dwattr $C$DW$701, DW_AT_decl_line(0x61) .dwattr $C$DW$701, DW_AT_decl_column(0x0c) $C$DW$702 .dwtag DW_TAG_member .dwattr $C$DW$702, DW_AT_type(*$C$DW$T$284) .dwattr $C$DW$702, DW_AT_name("vring") .dwattr $C$DW$702, DW_AT_TI_symbol_name("vring") .dwattr $C$DW$702, DW_AT_data_member_location[DW_OP_plus_uconst 0xe] .dwattr $C$DW$702, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$702, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_virtqueue.h") .dwattr $C$DW$702, DW_AT_decl_line(0x62) .dwattr $C$DW$702, DW_AT_decl_column(0x10) .dwattr $C$DW$T$279, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_virtqueue.h") .dwattr $C$DW$T$279, DW_AT_decl_line(0x5d) .dwattr $C$DW$T$279, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$279 $C$DW$T$280 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$280, DW_AT_name("resource_table") .dwattr $C$DW$T$280, DW_AT_byte_size(0x10) $C$DW$703 .dwtag DW_TAG_member .dwattr $C$DW$703, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$703, DW_AT_name("ver") .dwattr $C$DW$703, DW_AT_TI_symbol_name("ver") .dwattr $C$DW$703, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$703, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$703, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$703, DW_AT_decl_line(0x5c) .dwattr $C$DW$703, DW_AT_decl_column(0x0b) $C$DW$704 .dwtag DW_TAG_member .dwattr $C$DW$704, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$704, DW_AT_name("num") .dwattr $C$DW$704, DW_AT_TI_symbol_name("num") .dwattr $C$DW$704, DW_AT_data_member_location[DW_OP_plus_uconst 0x4] .dwattr $C$DW$704, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$704, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$704, DW_AT_decl_line(0x5d) .dwattr $C$DW$704, DW_AT_decl_column(0x0b) $C$DW$705 .dwtag DW_TAG_member .dwattr $C$DW$705, DW_AT_type(*$C$DW$T$34) .dwattr $C$DW$705, DW_AT_name("reserved") .dwattr $C$DW$705, DW_AT_TI_symbol_name("reserved") .dwattr $C$DW$705, DW_AT_data_member_location[DW_OP_plus_uconst 0x8] .dwattr $C$DW$705, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$705, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$705, DW_AT_decl_line(0x5e) .dwattr $C$DW$705, DW_AT_decl_column(0x0b) .dwattr $C$DW$T$280, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/rsc_types.h") .dwattr $C$DW$T$280, DW_AT_decl_line(0x5b) .dwattr $C$DW$T$280, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$280 $C$DW$T$284 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$284, DW_AT_name("vring") .dwattr $C$DW$T$284, DW_AT_byte_size(0x10) $C$DW$706 .dwtag DW_TAG_member .dwattr $C$DW$706, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$706, DW_AT_name("num") .dwattr $C$DW$706, DW_AT_TI_symbol_name("num") .dwattr $C$DW$706, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$706, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$706, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_virtio_ring.h") .dwattr $C$DW$706, DW_AT_decl_line(0x5e) .dwattr $C$DW$706, DW_AT_decl_column(0x0b) $C$DW$707 .dwtag DW_TAG_member .dwattr $C$DW$707, DW_AT_type(*$C$DW$T$281) .dwattr $C$DW$707, DW_AT_name("desc") .dwattr $C$DW$707, DW_AT_TI_symbol_name("desc") .dwattr $C$DW$707, DW_AT_data_member_location[DW_OP_plus_uconst 0x4] .dwattr $C$DW$707, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$707, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_virtio_ring.h") .dwattr $C$DW$707, DW_AT_decl_line(0x60) .dwattr $C$DW$707, DW_AT_decl_column(0x15) $C$DW$708 .dwtag DW_TAG_member .dwattr $C$DW$708, DW_AT_type(*$C$DW$T$282) .dwattr $C$DW$708, DW_AT_name("avail") .dwattr $C$DW$708, DW_AT_TI_symbol_name("avail") .dwattr $C$DW$708, DW_AT_data_member_location[DW_OP_plus_uconst 0x8] .dwattr $C$DW$708, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$708, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_virtio_ring.h") .dwattr $C$DW$708, DW_AT_decl_line(0x62) .dwattr $C$DW$708, DW_AT_decl_column(0x16) $C$DW$709 .dwtag DW_TAG_member .dwattr $C$DW$709, DW_AT_type(*$C$DW$T$283) .dwattr $C$DW$709, DW_AT_name("used") .dwattr $C$DW$709, DW_AT_TI_symbol_name("used") .dwattr $C$DW$709, DW_AT_data_member_location[DW_OP_plus_uconst 0xc] .dwattr $C$DW$709, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$709, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_virtio_ring.h") .dwattr $C$DW$709, DW_AT_decl_line(0x64) .dwattr $C$DW$709, DW_AT_decl_column(0x15) .dwattr $C$DW$T$284, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_virtio_ring.h") .dwattr $C$DW$T$284, DW_AT_decl_line(0x5d) .dwattr $C$DW$T$284, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$284 $C$DW$T$286 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$286, DW_AT_name("vring_avail") .dwattr $C$DW$T$286, DW_AT_byte_size(0x04) $C$DW$710 .dwtag DW_TAG_member .dwattr $C$DW$710, DW_AT_type(*$C$DW$T$107) .dwattr $C$DW$710, DW_AT_name("flags") .dwattr $C$DW$710, DW_AT_TI_symbol_name("flags") .dwattr $C$DW$710, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$710, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$710, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_virtio_ring.h") .dwattr $C$DW$710, DW_AT_decl_line(0x4a) .dwattr $C$DW$710, DW_AT_decl_column(0x0b) $C$DW$711 .dwtag DW_TAG_member .dwattr $C$DW$711, DW_AT_type(*$C$DW$T$107) .dwattr $C$DW$711, DW_AT_name("idx") .dwattr $C$DW$711, DW_AT_TI_symbol_name("idx") .dwattr $C$DW$711, DW_AT_data_member_location[DW_OP_plus_uconst 0x2] .dwattr $C$DW$711, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$711, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_virtio_ring.h") .dwattr $C$DW$711, DW_AT_decl_line(0x4b) .dwattr $C$DW$711, DW_AT_decl_column(0x0b) $C$DW$712 .dwtag DW_TAG_member .dwattr $C$DW$712, DW_AT_type(*$C$DW$T$285) .dwattr $C$DW$712, DW_AT_name("ring") .dwattr $C$DW$712, DW_AT_TI_symbol_name("ring") .dwattr $C$DW$712, DW_AT_data_member_location[DW_OP_plus_uconst 0x4] .dwattr $C$DW$712, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$712, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_virtio_ring.h") .dwattr $C$DW$712, DW_AT_decl_line(0x4c) .dwattr $C$DW$712, DW_AT_decl_column(0x0b) .dwattr $C$DW$T$286, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_virtio_ring.h") .dwattr $C$DW$T$286, DW_AT_decl_line(0x49) .dwattr $C$DW$T$286, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$286 $C$DW$T$282 .dwtag DW_TAG_pointer_type .dwattr $C$DW$T$282, DW_AT_type(*$C$DW$T$286) .dwattr $C$DW$T$282, DW_AT_address_class(0x20) $C$DW$T$287 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$287, DW_AT_name("vring_desc") .dwattr $C$DW$T$287, DW_AT_byte_size(0x10) $C$DW$713 .dwtag DW_TAG_member .dwattr $C$DW$713, DW_AT_type(*$C$DW$T$109) .dwattr $C$DW$713, DW_AT_name("addr") .dwattr $C$DW$713, DW_AT_TI_symbol_name("addr") .dwattr $C$DW$713, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$713, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$713, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_virtio_ring.h") .dwattr $C$DW$713, DW_AT_decl_line(0x40) .dwattr $C$DW$713, DW_AT_decl_column(0x0b) $C$DW$714 .dwtag DW_TAG_member .dwattr $C$DW$714, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$714, DW_AT_name("len") .dwattr $C$DW$714, DW_AT_TI_symbol_name("len") .dwattr $C$DW$714, DW_AT_data_member_location[DW_OP_plus_uconst 0x8] .dwattr $C$DW$714, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$714, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_virtio_ring.h") .dwattr $C$DW$714, DW_AT_decl_line(0x42) .dwattr $C$DW$714, DW_AT_decl_column(0x0b) $C$DW$715 .dwtag DW_TAG_member .dwattr $C$DW$715, DW_AT_type(*$C$DW$T$107) .dwattr $C$DW$715, DW_AT_name("flags") .dwattr $C$DW$715, DW_AT_TI_symbol_name("flags") .dwattr $C$DW$715, DW_AT_data_member_location[DW_OP_plus_uconst 0xc] .dwattr $C$DW$715, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$715, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_virtio_ring.h") .dwattr $C$DW$715, DW_AT_decl_line(0x44) .dwattr $C$DW$715, DW_AT_decl_column(0x0b) $C$DW$716 .dwtag DW_TAG_member .dwattr $C$DW$716, DW_AT_type(*$C$DW$T$107) .dwattr $C$DW$716, DW_AT_name("next") .dwattr $C$DW$716, DW_AT_TI_symbol_name("next") .dwattr $C$DW$716, DW_AT_data_member_location[DW_OP_plus_uconst 0xe] .dwattr $C$DW$716, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$716, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_virtio_ring.h") .dwattr $C$DW$716, DW_AT_decl_line(0x46) .dwattr $C$DW$716, DW_AT_decl_column(0x0b) .dwattr $C$DW$T$287, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_virtio_ring.h") .dwattr $C$DW$T$287, DW_AT_decl_line(0x3e) .dwattr $C$DW$T$287, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$287 $C$DW$T$281 .dwtag DW_TAG_pointer_type .dwattr $C$DW$T$281, DW_AT_type(*$C$DW$T$287) .dwattr $C$DW$T$281, DW_AT_address_class(0x20) $C$DW$T$289 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$289, DW_AT_name("vring_used") .dwattr $C$DW$T$289, DW_AT_byte_size(0x04) $C$DW$717 .dwtag DW_TAG_member .dwattr $C$DW$717, DW_AT_type(*$C$DW$T$107) .dwattr $C$DW$717, DW_AT_name("flags") .dwattr $C$DW$717, DW_AT_TI_symbol_name("flags") .dwattr $C$DW$717, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$717, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$717, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_virtio_ring.h") .dwattr $C$DW$717, DW_AT_decl_line(0x58) .dwattr $C$DW$717, DW_AT_decl_column(0x0b) $C$DW$718 .dwtag DW_TAG_member .dwattr $C$DW$718, DW_AT_type(*$C$DW$T$107) .dwattr $C$DW$718, DW_AT_name("idx") .dwattr $C$DW$718, DW_AT_TI_symbol_name("idx") .dwattr $C$DW$718, DW_AT_data_member_location[DW_OP_plus_uconst 0x2] .dwattr $C$DW$718, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$718, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_virtio_ring.h") .dwattr $C$DW$718, DW_AT_decl_line(0x59) .dwattr $C$DW$718, DW_AT_decl_column(0x0b) $C$DW$719 .dwtag DW_TAG_member .dwattr $C$DW$719, DW_AT_type(*$C$DW$T$288) .dwattr $C$DW$719, DW_AT_name("ring") .dwattr $C$DW$719, DW_AT_TI_symbol_name("ring") .dwattr $C$DW$719, DW_AT_data_member_location[DW_OP_plus_uconst 0x4] .dwattr $C$DW$719, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$719, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_virtio_ring.h") .dwattr $C$DW$719, DW_AT_decl_line(0x5a) .dwattr $C$DW$719, DW_AT_decl_column(0x19) .dwattr $C$DW$T$289, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_virtio_ring.h") .dwattr $C$DW$T$289, DW_AT_decl_line(0x57) .dwattr $C$DW$T$289, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$289 $C$DW$T$283 .dwtag DW_TAG_pointer_type .dwattr $C$DW$T$283, DW_AT_type(*$C$DW$T$289) .dwattr $C$DW$T$283, DW_AT_address_class(0x20) $C$DW$T$290 .dwtag DW_TAG_structure_type .dwattr $C$DW$T$290, DW_AT_name("vring_used_elem") .dwattr $C$DW$T$290, DW_AT_byte_size(0x08) $C$DW$720 .dwtag DW_TAG_member .dwattr $C$DW$720, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$720, DW_AT_name("id") .dwattr $C$DW$720, DW_AT_TI_symbol_name("id") .dwattr $C$DW$720, DW_AT_data_member_location[DW_OP_plus_uconst 0x0] .dwattr $C$DW$720, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$720, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_virtio_ring.h") .dwattr $C$DW$720, DW_AT_decl_line(0x52) .dwattr $C$DW$720, DW_AT_decl_column(0x0b) $C$DW$721 .dwtag DW_TAG_member .dwattr $C$DW$721, DW_AT_type(*$C$DW$T$32) .dwattr $C$DW$721, DW_AT_name("len") .dwattr $C$DW$721, DW_AT_TI_symbol_name("len") .dwattr $C$DW$721, DW_AT_data_member_location[DW_OP_plus_uconst 0x4] .dwattr $C$DW$721, DW_AT_accessibility(DW_ACCESS_public) .dwattr $C$DW$721, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_virtio_ring.h") .dwattr $C$DW$721, DW_AT_decl_line(0x54) .dwattr $C$DW$721, DW_AT_decl_column(0x0b) .dwattr $C$DW$T$290, DW_AT_decl_file("/usr/share/ti/pru-software-support-package/include/pru_virtio_ring.h") .dwattr $C$DW$T$290, DW_AT_decl_line(0x50) .dwattr $C$DW$T$290, DW_AT_decl_column(0x08) .dwendtag $C$DW$T$290 $C$DW$T$288 .dwtag DW_TAG_array_type .dwattr $C$DW$T$288, DW_AT_type(*$C$DW$T$290) .dwattr $C$DW$T$288, DW_AT_language(DW_LANG_C) $C$DW$722 .dwtag DW_TAG_subrange_type .dwendtag $C$DW$T$288 .dwattr $C$DW$CU, DW_AT_language(DW_LANG_C) ;*************************************************************** ;* DWARF CIE ENTRIES * ;*************************************************************** $C$DW$CIE .dwcie 14 .dwcfi cfa_register, 8 .dwcfi cfa_offset, 0 .dwcfi same_value, 8 .dwcfi same_value, 9 .dwcfi same_value, 10 .dwcfi same_value, 11 .dwcfi same_value, 16 .dwcfi same_value, 17 .dwcfi same_value, 18 .dwcfi same_value, 19 .dwcfi same_value, 20 .dwcfi same_value, 21 .dwcfi same_value, 22 .dwcfi same_value, 23 .dwcfi same_value, 24 .dwcfi same_value, 25 .dwcfi same_value, 26 .dwcfi same_value, 27 .dwcfi same_value, 28 .dwcfi same_value, 29 .dwcfi same_value, 30 .dwcfi same_value, 31 .dwcfi same_value, 32 .dwcfi same_value, 33 .dwcfi same_value, 34 .dwcfi same_value, 35 .dwcfi same_value, 36 .dwcfi same_value, 37 .dwcfi same_value, 38 .dwcfi same_value, 39 .dwcfi same_value, 40 .dwcfi same_value, 41 .dwcfi same_value, 42 .dwcfi same_value, 43 .dwcfi same_value, 44 .dwcfi same_value, 45 .dwcfi same_value, 46 .dwcfi same_value, 47 .dwcfi same_value, 48 .dwcfi same_value, 49 .dwcfi same_value, 50 .dwcfi same_value, 51 .dwcfi same_value, 52 .dwcfi same_value, 53 .dwcfi same_value, 54 .dwcfi same_value, 55 .dwendentry ;*************************************************************** ;* DWARF REGISTER MAP * ;*************************************************************** $C$DW$723 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$723, DW_AT_name("R0_b0") .dwattr $C$DW$723, DW_AT_location[DW_OP_reg0] $C$DW$724 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$724, DW_AT_name("R0_b1") .dwattr $C$DW$724, DW_AT_location[DW_OP_reg1] $C$DW$725 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$725, DW_AT_name("R0_b2") .dwattr $C$DW$725, DW_AT_location[DW_OP_reg2] $C$DW$726 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$726, DW_AT_name("R0_b3") .dwattr $C$DW$726, DW_AT_location[DW_OP_reg3] $C$DW$727 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$727, DW_AT_name("R1_b0") .dwattr $C$DW$727, DW_AT_location[DW_OP_reg4] $C$DW$728 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$728, DW_AT_name("R1_b1") .dwattr $C$DW$728, DW_AT_location[DW_OP_reg5] $C$DW$729 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$729, DW_AT_name("R1_b2") .dwattr $C$DW$729, DW_AT_location[DW_OP_reg6] $C$DW$730 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$730, DW_AT_name("R1_b3") .dwattr $C$DW$730, DW_AT_location[DW_OP_reg7] $C$DW$731 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$731, DW_AT_name("R2_b0") .dwattr $C$DW$731, DW_AT_location[DW_OP_reg8] $C$DW$732 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$732, DW_AT_name("R2_b1") .dwattr $C$DW$732, DW_AT_location[DW_OP_reg9] $C$DW$733 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$733, DW_AT_name("R2_b2") .dwattr $C$DW$733, DW_AT_location[DW_OP_reg10] $C$DW$734 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$734, DW_AT_name("R2_b3") .dwattr $C$DW$734, DW_AT_location[DW_OP_reg11] $C$DW$735 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$735, DW_AT_name("R3_b0") .dwattr $C$DW$735, DW_AT_location[DW_OP_reg12] $C$DW$736 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$736, DW_AT_name("R3_b1") .dwattr $C$DW$736, DW_AT_location[DW_OP_reg13] $C$DW$737 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$737, DW_AT_name("R3_b2") .dwattr $C$DW$737, DW_AT_location[DW_OP_reg14] $C$DW$738 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$738, DW_AT_name("R3_b3") .dwattr $C$DW$738, DW_AT_location[DW_OP_reg15] $C$DW$739 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$739, DW_AT_name("R4_b0") .dwattr $C$DW$739, DW_AT_location[DW_OP_reg16] $C$DW$740 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$740, DW_AT_name("R4_b1") .dwattr $C$DW$740, DW_AT_location[DW_OP_reg17] $C$DW$741 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$741, DW_AT_name("R4_b2") .dwattr $C$DW$741, DW_AT_location[DW_OP_reg18] $C$DW$742 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$742, DW_AT_name("R4_b3") .dwattr $C$DW$742, DW_AT_location[DW_OP_reg19] $C$DW$743 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$743, DW_AT_name("R5_b0") .dwattr $C$DW$743, DW_AT_location[DW_OP_reg20] $C$DW$744 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$744, DW_AT_name("R5_b1") .dwattr $C$DW$744, DW_AT_location[DW_OP_reg21] $C$DW$745 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$745, DW_AT_name("R5_b2") .dwattr $C$DW$745, DW_AT_location[DW_OP_reg22] $C$DW$746 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$746, DW_AT_name("R5_b3") .dwattr $C$DW$746, DW_AT_location[DW_OP_reg23] $C$DW$747 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$747, DW_AT_name("R6_b0") .dwattr $C$DW$747, DW_AT_location[DW_OP_reg24] $C$DW$748 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$748, DW_AT_name("R6_b1") .dwattr $C$DW$748, DW_AT_location[DW_OP_reg25] $C$DW$749 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$749, DW_AT_name("R6_b2") .dwattr $C$DW$749, DW_AT_location[DW_OP_reg26] $C$DW$750 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$750, DW_AT_name("R6_b3") .dwattr $C$DW$750, DW_AT_location[DW_OP_reg27] $C$DW$751 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$751, DW_AT_name("R7_b0") .dwattr $C$DW$751, DW_AT_location[DW_OP_reg28] $C$DW$752 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$752, DW_AT_name("R7_b1") .dwattr $C$DW$752, DW_AT_location[DW_OP_reg29] $C$DW$753 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$753, DW_AT_name("R7_b2") .dwattr $C$DW$753, DW_AT_location[DW_OP_reg30] $C$DW$754 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$754, DW_AT_name("R7_b3") .dwattr $C$DW$754, DW_AT_location[DW_OP_reg31] $C$DW$755 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$755, DW_AT_name("R8_b0") .dwattr $C$DW$755, DW_AT_location[DW_OP_regx 0x20] $C$DW$756 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$756, DW_AT_name("R8_b1") .dwattr $C$DW$756, DW_AT_location[DW_OP_regx 0x21] $C$DW$757 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$757, DW_AT_name("R8_b2") .dwattr $C$DW$757, DW_AT_location[DW_OP_regx 0x22] $C$DW$758 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$758, DW_AT_name("R8_b3") .dwattr $C$DW$758, DW_AT_location[DW_OP_regx 0x23] $C$DW$759 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$759, DW_AT_name("R9_b0") .dwattr $C$DW$759, DW_AT_location[DW_OP_regx 0x24] $C$DW$760 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$760, DW_AT_name("R9_b1") .dwattr $C$DW$760, DW_AT_location[DW_OP_regx 0x25] $C$DW$761 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$761, DW_AT_name("R9_b2") .dwattr $C$DW$761, DW_AT_location[DW_OP_regx 0x26] $C$DW$762 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$762, DW_AT_name("R9_b3") .dwattr $C$DW$762, DW_AT_location[DW_OP_regx 0x27] $C$DW$763 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$763, DW_AT_name("R10_b0") .dwattr $C$DW$763, DW_AT_location[DW_OP_regx 0x28] $C$DW$764 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$764, DW_AT_name("R10_b1") .dwattr $C$DW$764, DW_AT_location[DW_OP_regx 0x29] $C$DW$765 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$765, DW_AT_name("R10_b2") .dwattr $C$DW$765, DW_AT_location[DW_OP_regx 0x2a] $C$DW$766 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$766, DW_AT_name("R10_b3") .dwattr $C$DW$766, DW_AT_location[DW_OP_regx 0x2b] $C$DW$767 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$767, DW_AT_name("R11_b0") .dwattr $C$DW$767, DW_AT_location[DW_OP_regx 0x2c] $C$DW$768 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$768, DW_AT_name("R11_b1") .dwattr $C$DW$768, DW_AT_location[DW_OP_regx 0x2d] $C$DW$769 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$769, DW_AT_name("R11_b2") .dwattr $C$DW$769, DW_AT_location[DW_OP_regx 0x2e] $C$DW$770 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$770, DW_AT_name("R11_b3") .dwattr $C$DW$770, DW_AT_location[DW_OP_regx 0x2f] $C$DW$771 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$771, DW_AT_name("R12_b0") .dwattr $C$DW$771, DW_AT_location[DW_OP_regx 0x30] $C$DW$772 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$772, DW_AT_name("R12_b1") .dwattr $C$DW$772, DW_AT_location[DW_OP_regx 0x31] $C$DW$773 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$773, DW_AT_name("R12_b2") .dwattr $C$DW$773, DW_AT_location[DW_OP_regx 0x32] $C$DW$774 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$774, DW_AT_name("R12_b3") .dwattr $C$DW$774, DW_AT_location[DW_OP_regx 0x33] $C$DW$775 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$775, DW_AT_name("R13_b0") .dwattr $C$DW$775, DW_AT_location[DW_OP_regx 0x34] $C$DW$776 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$776, DW_AT_name("R13_b1") .dwattr $C$DW$776, DW_AT_location[DW_OP_regx 0x35] $C$DW$777 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$777, DW_AT_name("R13_b2") .dwattr $C$DW$777, DW_AT_location[DW_OP_regx 0x36] $C$DW$778 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$778, DW_AT_name("R13_b3") .dwattr $C$DW$778, DW_AT_location[DW_OP_regx 0x37] $C$DW$779 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$779, DW_AT_name("R14_b0") .dwattr $C$DW$779, DW_AT_location[DW_OP_regx 0x38] $C$DW$780 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$780, DW_AT_name("R14_b1") .dwattr $C$DW$780, DW_AT_location[DW_OP_regx 0x39] $C$DW$781 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$781, DW_AT_name("R14_b2") .dwattr $C$DW$781, DW_AT_location[DW_OP_regx 0x3a] $C$DW$782 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$782, DW_AT_name("R14_b3") .dwattr $C$DW$782, DW_AT_location[DW_OP_regx 0x3b] $C$DW$783 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$783, DW_AT_name("R15_b0") .dwattr $C$DW$783, DW_AT_location[DW_OP_regx 0x3c] $C$DW$784 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$784, DW_AT_name("R15_b1") .dwattr $C$DW$784, DW_AT_location[DW_OP_regx 0x3d] $C$DW$785 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$785, DW_AT_name("R15_b2") .dwattr $C$DW$785, DW_AT_location[DW_OP_regx 0x3e] $C$DW$786 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$786, DW_AT_name("R15_b3") .dwattr $C$DW$786, DW_AT_location[DW_OP_regx 0x3f] $C$DW$787 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$787, DW_AT_name("R16_b0") .dwattr $C$DW$787, DW_AT_location[DW_OP_regx 0x40] $C$DW$788 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$788, DW_AT_name("R16_b1") .dwattr $C$DW$788, DW_AT_location[DW_OP_regx 0x41] $C$DW$789 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$789, DW_AT_name("R16_b2") .dwattr $C$DW$789, DW_AT_location[DW_OP_regx 0x42] $C$DW$790 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$790, DW_AT_name("R16_b3") .dwattr $C$DW$790, DW_AT_location[DW_OP_regx 0x43] $C$DW$791 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$791, DW_AT_name("R17_b0") .dwattr $C$DW$791, DW_AT_location[DW_OP_regx 0x44] $C$DW$792 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$792, DW_AT_name("R17_b1") .dwattr $C$DW$792, DW_AT_location[DW_OP_regx 0x45] $C$DW$793 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$793, DW_AT_name("R17_b2") .dwattr $C$DW$793, DW_AT_location[DW_OP_regx 0x46] $C$DW$794 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$794, DW_AT_name("R17_b3") .dwattr $C$DW$794, DW_AT_location[DW_OP_regx 0x47] $C$DW$795 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$795, DW_AT_name("R18_b0") .dwattr $C$DW$795, DW_AT_location[DW_OP_regx 0x48] $C$DW$796 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$796, DW_AT_name("R18_b1") .dwattr $C$DW$796, DW_AT_location[DW_OP_regx 0x49] $C$DW$797 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$797, DW_AT_name("R18_b2") .dwattr $C$DW$797, DW_AT_location[DW_OP_regx 0x4a] $C$DW$798 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$798, DW_AT_name("R18_b3") .dwattr $C$DW$798, DW_AT_location[DW_OP_regx 0x4b] $C$DW$799 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$799, DW_AT_name("R19_b0") .dwattr $C$DW$799, DW_AT_location[DW_OP_regx 0x4c] $C$DW$800 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$800, DW_AT_name("R19_b1") .dwattr $C$DW$800, DW_AT_location[DW_OP_regx 0x4d] $C$DW$801 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$801, DW_AT_name("R19_b2") .dwattr $C$DW$801, DW_AT_location[DW_OP_regx 0x4e] $C$DW$802 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$802, DW_AT_name("R19_b3") .dwattr $C$DW$802, DW_AT_location[DW_OP_regx 0x4f] $C$DW$803 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$803, DW_AT_name("R20_b0") .dwattr $C$DW$803, DW_AT_location[DW_OP_regx 0x50] $C$DW$804 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$804, DW_AT_name("R20_b1") .dwattr $C$DW$804, DW_AT_location[DW_OP_regx 0x51] $C$DW$805 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$805, DW_AT_name("R20_b2") .dwattr $C$DW$805, DW_AT_location[DW_OP_regx 0x52] $C$DW$806 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$806, DW_AT_name("R20_b3") .dwattr $C$DW$806, DW_AT_location[DW_OP_regx 0x53] $C$DW$807 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$807, DW_AT_name("R21_b0") .dwattr $C$DW$807, DW_AT_location[DW_OP_regx 0x54] $C$DW$808 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$808, DW_AT_name("R21_b1") .dwattr $C$DW$808, DW_AT_location[DW_OP_regx 0x55] $C$DW$809 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$809, DW_AT_name("R21_b2") .dwattr $C$DW$809, DW_AT_location[DW_OP_regx 0x56] $C$DW$810 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$810, DW_AT_name("R21_b3") .dwattr $C$DW$810, DW_AT_location[DW_OP_regx 0x57] $C$DW$811 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$811, DW_AT_name("R22_b0") .dwattr $C$DW$811, DW_AT_location[DW_OP_regx 0x58] $C$DW$812 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$812, DW_AT_name("R22_b1") .dwattr $C$DW$812, DW_AT_location[DW_OP_regx 0x59] $C$DW$813 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$813, DW_AT_name("R22_b2") .dwattr $C$DW$813, DW_AT_location[DW_OP_regx 0x5a] $C$DW$814 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$814, DW_AT_name("R22_b3") .dwattr $C$DW$814, DW_AT_location[DW_OP_regx 0x5b] $C$DW$815 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$815, DW_AT_name("R23_b0") .dwattr $C$DW$815, DW_AT_location[DW_OP_regx 0x5c] $C$DW$816 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$816, DW_AT_name("R23_b1") .dwattr $C$DW$816, DW_AT_location[DW_OP_regx 0x5d] $C$DW$817 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$817, DW_AT_name("R23_b2") .dwattr $C$DW$817, DW_AT_location[DW_OP_regx 0x5e] $C$DW$818 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$818, DW_AT_name("R23_b3") .dwattr $C$DW$818, DW_AT_location[DW_OP_regx 0x5f] $C$DW$819 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$819, DW_AT_name("R24_b0") .dwattr $C$DW$819, DW_AT_location[DW_OP_regx 0x60] $C$DW$820 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$820, DW_AT_name("R24_b1") .dwattr $C$DW$820, DW_AT_location[DW_OP_regx 0x61] $C$DW$821 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$821, DW_AT_name("R24_b2") .dwattr $C$DW$821, DW_AT_location[DW_OP_regx 0x62] $C$DW$822 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$822, DW_AT_name("R24_b3") .dwattr $C$DW$822, DW_AT_location[DW_OP_regx 0x63] $C$DW$823 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$823, DW_AT_name("R25_b0") .dwattr $C$DW$823, DW_AT_location[DW_OP_regx 0x64] $C$DW$824 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$824, DW_AT_name("R25_b1") .dwattr $C$DW$824, DW_AT_location[DW_OP_regx 0x65] $C$DW$825 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$825, DW_AT_name("R25_b2") .dwattr $C$DW$825, DW_AT_location[DW_OP_regx 0x66] $C$DW$826 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$826, DW_AT_name("R25_b3") .dwattr $C$DW$826, DW_AT_location[DW_OP_regx 0x67] $C$DW$827 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$827, DW_AT_name("R26_b0") .dwattr $C$DW$827, DW_AT_location[DW_OP_regx 0x68] $C$DW$828 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$828, DW_AT_name("R26_b1") .dwattr $C$DW$828, DW_AT_location[DW_OP_regx 0x69] $C$DW$829 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$829, DW_AT_name("R26_b2") .dwattr $C$DW$829, DW_AT_location[DW_OP_regx 0x6a] $C$DW$830 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$830, DW_AT_name("R26_b3") .dwattr $C$DW$830, DW_AT_location[DW_OP_regx 0x6b] $C$DW$831 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$831, DW_AT_name("R27_b0") .dwattr $C$DW$831, DW_AT_location[DW_OP_regx 0x6c] $C$DW$832 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$832, DW_AT_name("R27_b1") .dwattr $C$DW$832, DW_AT_location[DW_OP_regx 0x6d] $C$DW$833 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$833, DW_AT_name("R27_b2") .dwattr $C$DW$833, DW_AT_location[DW_OP_regx 0x6e] $C$DW$834 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$834, DW_AT_name("R27_b3") .dwattr $C$DW$834, DW_AT_location[DW_OP_regx 0x6f] $C$DW$835 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$835, DW_AT_name("R28_b0") .dwattr $C$DW$835, DW_AT_location[DW_OP_regx 0x70] $C$DW$836 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$836, DW_AT_name("R28_b1") .dwattr $C$DW$836, DW_AT_location[DW_OP_regx 0x71] $C$DW$837 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$837, DW_AT_name("R28_b2") .dwattr $C$DW$837, DW_AT_location[DW_OP_regx 0x72] $C$DW$838 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$838, DW_AT_name("R28_b3") .dwattr $C$DW$838, DW_AT_location[DW_OP_regx 0x73] $C$DW$839 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$839, DW_AT_name("R29_b0") .dwattr $C$DW$839, DW_AT_location[DW_OP_regx 0x74] $C$DW$840 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$840, DW_AT_name("R29_b1") .dwattr $C$DW$840, DW_AT_location[DW_OP_regx 0x75] $C$DW$841 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$841, DW_AT_name("R29_b2") .dwattr $C$DW$841, DW_AT_location[DW_OP_regx 0x76] $C$DW$842 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$842, DW_AT_name("R29_b3") .dwattr $C$DW$842, DW_AT_location[DW_OP_regx 0x77] $C$DW$843 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$843, DW_AT_name("R30_b0") .dwattr $C$DW$843, DW_AT_location[DW_OP_regx 0x78] $C$DW$844 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$844, DW_AT_name("R30_b1") .dwattr $C$DW$844, DW_AT_location[DW_OP_regx 0x79] $C$DW$845 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$845, DW_AT_name("R30_b2") .dwattr $C$DW$845, DW_AT_location[DW_OP_regx 0x7a] $C$DW$846 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$846, DW_AT_name("R30_b3") .dwattr $C$DW$846, DW_AT_location[DW_OP_regx 0x7b] $C$DW$847 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$847, DW_AT_name("R31_b0") .dwattr $C$DW$847, DW_AT_location[DW_OP_regx 0x7c] $C$DW$848 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$848, DW_AT_name("R31_b1") .dwattr $C$DW$848, DW_AT_location[DW_OP_regx 0x7d] $C$DW$849 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$849, DW_AT_name("R31_b2") .dwattr $C$DW$849, DW_AT_location[DW_OP_regx 0x7e] $C$DW$850 .dwtag DW_TAG_TI_assign_register .dwattr $C$DW$850, DW_AT_name("R31_b3") .dwattr $C$DW$850, DW_AT_location[DW_OP_regx 0x7f] .dwendtag $C$DW$CU
programs/oeis/265/A265431.asm
karttu/loda
1
160502
<filename>programs/oeis/265/A265431.asm ; A265431: Total number of OFF (white) cells after n iterations of the "Rule 188" elementary cellular automaton starting with a single ON (black) cell. ; 0,1,4,7,12,18,26,34,44,55,68,81,96,112,130,148,168,189,212,235,260,286,314,342,372,403,436,469,504,540,578,616,656,697,740,783,828,874,922,970,1020,1071,1124,1177,1232,1288,1346,1404,1464,1525,1588,1651,1716,1782,1850,1918,1988,2059,2132,2205,2280,2356,2434,2512,2592,2673,2756,2839,2924,3010,3098,3186,3276,3367,3460,3553,3648,3744,3842,3940,4040,4141,4244,4347,4452,4558,4666,4774,4884,4995,5108,5221,5336,5452,5570,5688,5808,5929,6052,6175,6300,6426,6554,6682,6812,6943,7076,7209,7344,7480,7618,7756,7896,8037,8180,8323,8468,8614,8762,8910,9060,9211,9364,9517,9672,9828,9986,10144,10304,10465,10628,10791,10956,11122,11290,11458,11628,11799,11972,12145,12320,12496,12674,12852,13032,13213,13396,13579,13764,13950,14138,14326,14516,14707,14900,15093,15288,15484,15682,15880,16080,16281,16484,16687,16892,17098,17306,17514,17724,17935,18148,18361,18576,18792,19010,19228,19448,19669,19892,20115,20340,20566,20794,21022,21252,21483,21716,21949,22184,22420,22658,22896,23136,23377,23620,23863,24108,24354,24602,24850,25100,25351,25604,25857,26112,26368,26626,26884,27144,27405,27668,27931,28196,28462,28730,28998,29268,29539,29812,30085,30360,30636,30914,31192,31472,31753,32036,32319,32604,32890,33178,33466,33756,34047,34340,34633,34928,35224,35522,35820,36120,36421,36724,37027,37332,37638,37946,38254,38564,38875 mov $1,$0 mul $1,$0 div $1,4 mov $2,5 mul $2,$1 add $0,$2 mov $1,1 add $1,$0 div $1,2
alloy4fun_models/trainstlt/models/2/nhPQ2rEDPfxeAAbNx.als
Kaixi26/org.alloytools.alloy
0
549
open main pred idnhPQ2rEDPfxeAAbNx_prop3 { always no Train & Track } pred __repair { idnhPQ2rEDPfxeAAbNx_prop3 } check __repair { idnhPQ2rEDPfxeAAbNx_prop3 <=> prop3o }
oeis/000/A000447.asm
neoneye/loda-programs
11
96374
<filename>oeis/000/A000447.asm ; A000447: a(n) = 1^2 + 3^2 + 5^2 + 7^2 + ... + (2*n-1)^2 = n*(4*n^2 - 1)/3. ; 0,1,10,35,84,165,286,455,680,969,1330,1771,2300,2925,3654,4495,5456,6545,7770,9139,10660,12341,14190,16215,18424,20825,23426,26235,29260,32509,35990,39711,43680,47905,52394,57155,62196,67525,73150,79079,85320,91881,98770,105995,113564,121485,129766,138415,147440,156849,166650,176851,187460,198485,209934,221815,234136,246905,260130,273819,287980,302621,317750,333375,349504,366145,383306,400995,419220,437989,457310,477191,497640,518665,540274,562475,585276,608685,632710,657359,682640,708561 mul $0,2 add $0,1 bin $0,3
oeis/100/A100169.asm
neoneye/loda-programs
11
7765
<filename>oeis/100/A100169.asm ; A100169: Structured pentagonal hexacontahedral numbers (vertex structure 16). ; Submitted by <NAME>(s2) ; 1,92,438,1204,2555,4656,7672,11768,17109,23860,32186,42252,54223,68264,84540,103216,124457,148428,175294,205220,238371,274912,315008,358824,406525,458276,514242,574588,639479,709080,783556,863072,947793,1037884,1133510,1234836,1342027,1455248,1574664,1700440,1832741,1971732,2117578,2270444,2430495,2597896,2772812,2955408,3145849,3344300,3550926,3765892,3989363,4221504,4462480,4712456,4971597,5240068,5518034,5805660,6103111,6410552,6728148,7056064,7394465,7743516,8103382,8474228,8856219,9249520 mov $1,$0 mul $1,22 add $1,14 mul $1,$0 add $0,1 mul $0,2 mul $1,5 add $1,4 mul $1,$0 mov $0,$1 div $0,8
antlr/tsl.g4
GillesBIANNIC/tsl
57
3350
grammar tsl; // TSL grammar import tslTokens; // includes all rules from TslTokens.g4 // Start to parse a TSL script prog: stat* ; // Split per TSL query and store variable stat: expr | (WS|COMMENT) ; // A valid TSL expr is composed of // - a simple select statement // - a connect statement // - a more complex statement starting by an operation // - a more complex statement starting by a mask expr: selectExpr | connectExpr (DOT selectExpr)? | opExpr | form | createExpr ; // Create a Time series set statement createExpr: CREATE LPAREN createSeries (COMMA createSeries)* RPAREN (seriesOperations)* ; // Internal create statement to create a single series createSeries: SERIES LPAREN (STRING|IDENT) RPAREN (DOT postSeries)* ; // Internal create statement to fill a single series postSeries: setLabels | setValues ; // Internal create statement to set a series labels setLabels: SETLABELS LPAREN (STRING_LIST | EMPTY_LIST | STRING | IDENT) RPAREN ; // Internal create statement to set a series values setValues: SETVALUES LPAREN (NUMBER|IDENT|NOW COMMA)? ('[' WS* (NUMBER|DURATIONVAL|IDENT) (COMMA (NUMBER|DURATIONVAL|IDENT))* WS* ']') (COMMA '[' WS* (NUMBER|DURATIONVAL|IDENT) (COMMA (NUMBER|DURATIONVAL|IDENT))* WS* ']')* RPAREN ; // Declare a variable statement form: IDENT '=' expr | IDENT '=' basic | IDENT seriesOperations* ; // A basic type supported on a TSL statement basic: STRING | PROM | PROMETHEUS | WARP | NUMBER | TRUE | FALSE | EMPTY_LIST | STRING_LIST | ASTERISK | DURATIONVAL ; // The connect statement expression // - with a basic auth (user:password) // - with a token connectExpr: CONNECT LPAREN type=(PROM|PROMETHEUS|WARP|IDENT) COMMA api=(STRING|IDENT) COMMA user=(STRING|IDENT) COMMA password=(STRING|IDENT) RPAREN | CONNECT LPAREN type=(PROM|PROMETHEUS|WARP|IDENT) COMMA api=(STRING|IDENT) COMMA token=(STRING|IDENT) RPAREN ; // A complet select statement expression can be followed by series operations selectExpr : selectSingleExpr seriesOperations* ; // Manage minimal SELECT expression and it's direct child post clauses selectSingleExpr : SELECT LPAREN (ASTERISK|STRING|IDENT) RPAREN postSelect* ; // Handle where clauses and Time clauses for current select statement postSelect : whereExpr | whereExpr* lastExpr whereExpr* | whereExpr* fromExpr whereExpr* ; // Last time clause support // - last N minutes for a select statement // - last N points for a select statement // optionals parameters as shift (to shift all series ticks), timestamp or date to change NOW by specified time lastExpr : DOT LAST LPAREN (DURATIONVAL|NUMBER|IDENT) RPAREN | DOT LAST LPAREN (DURATIONVAL|NUMBER|IDENT) COMMA ('shift' '=')? shift=(DURATIONVAL|IDENT) RPAREN | DOT LAST LPAREN (DURATIONVAL|NUMBER|IDENT) COMMA ('timestamp' '=')? timestamp=(NUMBER|IDENT) RPAREN | DOT LAST LPAREN (DURATIONVAL|NUMBER|IDENT) COMMA ('date' '=')? date=(STRING|IDENT) RPAREN ; // From time clause support // - from N to X minutes for a select statement // - from N to NOW for a select statement fromExpr: DOT FROM LPAREN (NUMBER|STRING|IDENT) (COMMA ('to' '=')? to=(NUMBER|STRING|IDENT))? RPAREN ; // Select where clauses to select specific metrics based on their tags whereExpr : DOT WHERE LPAREN (STRING|STRING_LIST|EMPTY_LIST|IDENT) RPAREN ; // Times series fetched by select statement specific operations // - as sampling // - as group // - as groupBy or groupWithout // - as window or cumulative // - as arithmetic operation // - as simple operation // - as complex operation seriesOperations : samplingOperations | groupOperation | groupByOperation | windowOperation | arithmeticOperationWithParam | simpleOperation | stringOperation | complexOperation ; // Full sampling operation with optionals params samplingOperations: prefixSampling sampleParam? sampleParam? sampleParam? RPAREN ; // Optionals sampling params sampleParam: fillSampling | COMMA spanSampling | COMMA countSampling | relativeSampling ; // Sampling fill param fillSampling: COMMA (('fill' '=')? fillvalue=(STRING|STRING_LIST|EMPTY_LIST|IDENT) | ('fill' '=')? fillMethod) ; // Internal fill method (to fill data by a value) fillMethod:FILL LPAREN (NUMBER | DURATIONVAL | STRING | TRUE | FALSE | IDENT ) RPAREN ; // Sampling relative param relativeSampling: COMMA ('relative' '=')? relative=(TRUE | FALSE | IDENT) ; // Sampling count param countSampling: ('count' '=')? count=NUMBER ; // Sampling span param spanSampling: ('span' '=')? span=DURATIONVAL ; // Minimal sampling operation prefixSampling: DOT SAMPLEBY LPAREN (spanSampling|countSampling) COMMA ('aggregator' '=')? aggregator=aggregators ; // Group operation groupOperation: DOT GROUP LPAREN ('aggregator' '=')? aggregator=aggregators RPAREN ; // GroupBy operation groupByOperation: DOT (GROUPBY|GROUPWITHOUT) LPAREN tagkey=(STRING|EMPTY_LIST|STRING_LIST|IDENT) COMMA ('aggregator' '=')? aggregator=aggregators RPAREN ; // Window/cumulative operation windowOperation: DOT (WINDOW|CUMULATIVE) LPAREN ('aggregator' '=')? aggregator=windowAggregators COMMA ('pre' '=')? pre=(DURATIONVAL|NUMBER|IDENT) (COMMA ('post' '=')? post=(DURATIONVAL|NUMBER|IDENT))? RPAREN ; // Window/cumulative specific aggregators windowAggregators: DELTA | STDDEV | STDVAR | aggregators ; // Aggregators available for operations like sampling, grouping aggregators: MIN | MAX | MEAN | FIRST | LAST | SUM | (STRING | IDENT) COMMA JOIN | MEDIAN | COUNT | ANDL | ORL | NUMBER COMMA PERCENTILE | STRING | IDENT ; // Arithmetic operations with a number parameter arithmeticOperationWithParam: DOT arithmeticOperatorWithParam LPAREN value=(NUMBER|IDENT) RPAREN ; // Arithmetic operator with a single number parameter arithmeticOperatorWithParam: (ADDSERIES | SUBSERIES | MULSERIES | DIVSERIES | LOGN | EQUAL | NOTEQUAL | GREATERTHAN | GREATEROREQUAL | LESSTHAN | LESSOREQUAL | MAXWITH | MINWITH | TOPN | BOTTOMN | SHRINK | TIMESCALE | KEEPFIRSTVALUES | KEEPLASTVALUES | KEEPFIRSTVALUE | KEEPLASTVALUE ) ; // Simple operations simpleOperation: DOT simpleOperator LPAREN RPAREN ; // Operator that does not require a parameter simpleOperator: ABS | CEIL | CUMULATIVESUM | FLOOR | FINITE | RESETS | ROUND | LN | LOG2 | LOG10 | SQRT | DAY | WEEKDAY | HOUR | MINUTE | MONTH | YEAR | TIMESTAMP | SORT | SORTDESC | KEEPFIRSTVALUES | KEEPLASTVALUES | KEEPFIRSTVALUE | KEEPLASTVALUE | TOLONG | TOBOOLEAN | TODOUBLE | TOSTRING ; // Operation with a single string parameter stringOperation: DOT stringOperator LPAREN value=(STRING|IDENT) RPAREN ; // Time series set operator expecting a string parameter stringOperator: ADDNAMEPREFIX | ADDNAMESUFFIX | RENAME | RENAMEBY | RENAMETEMPLATE | STORE | FILTERBYNAME | FILTERBYLASTVALUE ; // Complex operation fix the grammar rule for unique TSL functions as // - rate // - shift // - and/or // - sortBy and sortDescBy // - topNBy and bottomNBy // - removeLabels / renameLabelKey / renameLabelValue // - timeclip / timesplit / timemodulo complexOperation: DOT RATE LPAREN (DURATIONVAL|IDENT)? RPAREN | DOT SHIFT LPAREN (DURATIONVAL|IDENT) RPAREN | DOT (ANDL|ORL) LPAREN (TRUE|FALSE) RPAREN | DOT (SORTBY|SORTDESCBY) LPAREN aggregators RPAREN | DOT (TOPNBY|BOTTOMNBY) LPAREN (NUMBER|IDENT) COMMA aggregators RPAREN | DOT (REMOVELABELS|FILTERBYLABELS) LPAREN (STRING|IDENT) (COMMA (STRING|IDENT))* RPAREN | DOT RENAMELABELKEY LPAREN (STRING|IDENT) COMMA (STRING|IDENT) RPAREN | DOT RENAMELABELVALUE LPAREN (STRING|IDENT) COMMA (STRING|IDENT) (COMMA (STRING|IDENT))? RPAREN | DOT TIMECLIP LPAREN (NUMBER|IDENT|NOW|STRING) COMMA (NUMBER|IDENT|DURATIONVAL|STRING) RPAREN | DOT TIMEMODULO LPAREN (NUMBER|IDENT) COMMA (STRING|IDENT) RPAREN | DOT TIMESPLIT LPAREN (NUMBER|DURATIONVAL|NOW|IDENT) COMMA (NUMBER|IDENT) COMMA (STRING|IDENT) RPAREN | DOT QUANTIZE LPAREN (STRING|IDENT) COMMA (('[' WS* (NUMBER|IDENT) (COMMA (NUMBER|IDENT))* WS* ']')|EMPTY_LIST|NUMBER|IDENT|) (COMMA (DURATIONVAL|IDENT))? RPAREN ; // Apply a multiple operations between several statements results opExpr : operator LPAREN expr ( COMMA expr )+ RPAREN DOT limitOperatorList seriesOperations* | operator LPAREN expr ( COMMA expr )+ RPAREN seriesOperations* ; // Valid operator than can be applied on multiple Time series operator: ( ADDSERIES | ANDL | DIVSERIES | EQUAL | GREATEROREQUAL | GREATERTHAN | LESSOREQUAL | LESSTHAN | MULSERIES | NOTEQUAL | ORL | SUBSERIES ) ; // Operator operation to compute equivalence class between several time series set limitOperatorList : limitOperator LPAREN (STRING_LIST|EMPTY_LIST|STRING|IDENT) RPAREN groupLimitOperatorList* | limitOperator LPAREN RPAREN groupLimitOperatorList* ; // Group method as computed in PromQL groupLimitOperatorList : DOT groupLimitOperator LPAREN RPAREN ; // Valid group methods groupLimitOperator : ( GROUPLEFT | GROUPRIGHT) ; // Valid limit operators to compute equivalence class limitOperator : ( ON | IGNORING ) ; // Empty list type EMPTY_LIST : '[' ']' ; // STRING|IDENT list type STRING_LIST : '[' WS* (STRING|IDENT) LIST_ITEMS* WS* ']' ; // List with several elements LIST_ITEMS : COMMA (STRING|IDENT) ; // // Whitespace and comments ////channel(HIDDEN) WS : [ \t]+ -> skip ; COMMENT : '/*' .*? '*/' -> skip ; TERMINATOR : [\r\n]+ -> skip ; LINE_COMMENT : '//' ~[\r\n]* -> skip ;
kernel/ints.asm
lodvaer/YHBT
2
166531
;; Interrupts. CALLTRACE equ N append TO_INIT_64, ints.init macro ints.init { mov al, PIC.INIT out PIC1.CMD, al out PIC2.CMD, al mov al, 20h out PIC1.DATA, al ; IRQ 0-7: 20h-27h mov al, 28h out PIC2.DATA, al ; IRQ 7-Fh: 28h-2Fh mov al, 4 out PIC1.DATA, al mov al, 2 out PIC2.DATA, al mov al, 1 out PIC1.DATA, al out PIC2.DATA, al in al, PIC1.DATA mov al, 11111100b out PIC1.DATA, al in al, PIC2.DATA mov al, 11111111b out PIC2.DATA, al mov rdi, HIGH_HALF mov rcx, 512 intvector_setregs (ints.null + HIGH_HALF), SEL_LONG, 8F00h @@: mov [rdi + rcx * 8 - 16], rax mov [rdi + rcx * 8 - 8], rbx dec rcx loop @b lidt [IDTR] } include 'kernel/faults/main.asm' class ints ;! The null interrupt, i.e. unhandled. ;: IO () ; Increments top left corner. intproc null push rax mov al, 20h out 20h, al inc byte [0B8000h] pop rax iretq endproc endclass restore CALLTRACE ; vim: ts=8 sw=8 syn=fasm
stressfs.asm
adrianna157/CS444-Lab5-Mutexes
0
80839
<reponame>adrianna157/CS444-Lab5-Mutexes _stressfs: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "fs.h" #include "fcntl.h" int main(int argc, char *argv[]) { 0: 55 push %ebp int fd, i; char path[] = "stressfs0"; 1: b8 30 00 00 00 mov $0x30,%eax { 6: 89 e5 mov %esp,%ebp 8: 57 push %edi 9: 56 push %esi a: 53 push %ebx char data[512]; printf(1, "stressfs starting\n"); memset(data, 'a', sizeof(data)); for(i = 0; i < 4; i++) b: 31 db xor %ebx,%ebx { d: 83 e4 f0 and $0xfffffff0,%esp 10: 81 ec 20 02 00 00 sub $0x220,%esp printf(1, "stressfs starting\n"); 16: c7 44 24 04 19 0b 00 movl $0xb19,0x4(%esp) 1d: 00 memset(data, 'a', sizeof(data)); 1e: 8d 74 24 20 lea 0x20(%esp),%esi printf(1, "stressfs starting\n"); 22: c7 04 24 01 00 00 00 movl $0x1,(%esp) char path[] = "stressfs0"; 29: 66 89 44 24 1e mov %ax,0x1e(%esp) 2e: c7 44 24 16 73 74 72 movl $0x65727473,0x16(%esp) 35: 65 36: c7 44 24 1a 73 73 66 movl $0x73667373,0x1a(%esp) 3d: 73 printf(1, "stressfs starting\n"); 3e: e8 cd 04 00 00 call 510 <printf> memset(data, 'a', sizeof(data)); 43: c7 44 24 08 00 02 00 movl $0x200,0x8(%esp) 4a: 00 4b: c7 44 24 04 61 00 00 movl $0x61,0x4(%esp) 52: 00 53: 89 34 24 mov %esi,(%esp) 56: e8 95 01 00 00 call 1f0 <memset> if(fork() > 0) 5b: e8 fa 02 00 00 call 35a <fork> 60: 85 c0 test %eax,%eax 62: 0f 8f c3 00 00 00 jg 12b <main+0x12b> for(i = 0; i < 4; i++) 68: 83 c3 01 add $0x1,%ebx 6b: 83 fb 04 cmp $0x4,%ebx 6e: 75 eb jne 5b <main+0x5b> 70: bf 04 00 00 00 mov $0x4,%edi break; printf(1, "write %d\n", i); 75: 89 5c 24 08 mov %ebx,0x8(%esp) path[8] += i; fd = open(path, O_CREATE | O_RDWR); 79: bb 14 00 00 00 mov $0x14,%ebx printf(1, "write %d\n", i); 7e: c7 44 24 04 2c 0b 00 movl $0xb2c,0x4(%esp) 85: 00 86: c7 04 24 01 00 00 00 movl $0x1,(%esp) 8d: e8 7e 04 00 00 call 510 <printf> path[8] += i; 92: 89 f8 mov %edi,%eax 94: 00 44 24 1e add %al,0x1e(%esp) fd = open(path, O_CREATE | O_RDWR); 98: 8d 44 24 16 lea 0x16(%esp),%eax 9c: c7 44 24 04 02 02 00 movl $0x202,0x4(%esp) a3: 00 a4: 89 04 24 mov %eax,(%esp) a7: e8 f6 02 00 00 call 3a2 <open> ac: 89 c7 mov %eax,%edi ae: 66 90 xchg %ax,%ax for(i = 0; i < 20; i++) // printf(fd, "%d\n", i); write(fd, data, sizeof(data)); b0: c7 44 24 08 00 02 00 movl $0x200,0x8(%esp) b7: 00 b8: 89 74 24 04 mov %esi,0x4(%esp) bc: 89 3c 24 mov %edi,(%esp) bf: e8 be 02 00 00 call 382 <write> for(i = 0; i < 20; i++) c4: 83 eb 01 sub $0x1,%ebx c7: 75 e7 jne b0 <main+0xb0> close(fd); c9: 89 3c 24 mov %edi,(%esp) printf(1, "read\n"); fd = open(path, O_RDONLY); cc: bb 14 00 00 00 mov $0x14,%ebx close(fd); d1: e8 b4 02 00 00 call 38a <close> printf(1, "read\n"); d6: c7 44 24 04 36 0b 00 movl $0xb36,0x4(%esp) dd: 00 de: c7 04 24 01 00 00 00 movl $0x1,(%esp) e5: e8 26 04 00 00 call 510 <printf> fd = open(path, O_RDONLY); ea: 8d 44 24 16 lea 0x16(%esp),%eax ee: c7 44 24 04 00 00 00 movl $0x0,0x4(%esp) f5: 00 f6: 89 04 24 mov %eax,(%esp) f9: e8 a4 02 00 00 call 3a2 <open> fe: 89 c7 mov %eax,%edi for (i = 0; i < 20; i++) read(fd, data, sizeof(data)); 100: c7 44 24 08 00 02 00 movl $0x200,0x8(%esp) 107: 00 108: 89 74 24 04 mov %esi,0x4(%esp) 10c: 89 3c 24 mov %edi,(%esp) 10f: e8 66 02 00 00 call 37a <read> for (i = 0; i < 20; i++) 114: 83 eb 01 sub $0x1,%ebx 117: 75 e7 jne 100 <main+0x100> close(fd); 119: 89 3c 24 mov %edi,(%esp) 11c: e8 69 02 00 00 call 38a <close> wait(); 121: e8 44 02 00 00 call 36a <wait> exit(); 126: e8 37 02 00 00 call 362 <exit> 12b: 89 df mov %ebx,%edi 12d: 8d 76 00 lea 0x0(%esi),%esi 130: e9 40 ff ff ff jmp 75 <main+0x75> 135: 66 90 xchg %ax,%ax 137: 66 90 xchg %ax,%ax 139: 66 90 xchg %ax,%ax 13b: 66 90 xchg %ax,%ax 13d: 66 90 xchg %ax,%ax 13f: 90 nop 00000140 <strcpy>: #include "user.h" #include "x86.h" char* strcpy(char *s, const char *t) { 140: 55 push %ebp 141: 89 e5 mov %esp,%ebp 143: 8b 45 08 mov 0x8(%ebp),%eax 146: 8b 4d 0c mov 0xc(%ebp),%ecx 149: 53 push %ebx char *os; os = s; while((*s++ = *t++) != 0) 14a: 89 c2 mov %eax,%edx 14c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 150: 83 c1 01 add $0x1,%ecx 153: 0f b6 59 ff movzbl -0x1(%ecx),%ebx 157: 83 c2 01 add $0x1,%edx 15a: 84 db test %bl,%bl 15c: 88 5a ff mov %bl,-0x1(%edx) 15f: 75 ef jne 150 <strcpy+0x10> ; return os; } 161: 5b pop %ebx 162: 5d pop %ebp 163: c3 ret 164: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 16a: 8d bf 00 00 00 00 lea 0x0(%edi),%edi 00000170 <strcmp>: int strcmp(const char *p, const char *q) { 170: 55 push %ebp 171: 89 e5 mov %esp,%ebp 173: 8b 55 08 mov 0x8(%ebp),%edx 176: 53 push %ebx 177: 8b 4d 0c mov 0xc(%ebp),%ecx while(*p && *p == *q) 17a: 0f b6 02 movzbl (%edx),%eax 17d: 84 c0 test %al,%al 17f: 74 2d je 1ae <strcmp+0x3e> 181: 0f b6 19 movzbl (%ecx),%ebx 184: 38 d8 cmp %bl,%al 186: 74 0e je 196 <strcmp+0x26> 188: eb 2b jmp 1b5 <strcmp+0x45> 18a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 190: 38 c8 cmp %cl,%al 192: 75 15 jne 1a9 <strcmp+0x39> p++, q++; 194: 89 d9 mov %ebx,%ecx 196: 83 c2 01 add $0x1,%edx while(*p && *p == *q) 199: 0f b6 02 movzbl (%edx),%eax p++, q++; 19c: 8d 59 01 lea 0x1(%ecx),%ebx while(*p && *p == *q) 19f: 0f b6 49 01 movzbl 0x1(%ecx),%ecx 1a3: 84 c0 test %al,%al 1a5: 75 e9 jne 190 <strcmp+0x20> 1a7: 31 c0 xor %eax,%eax return (uchar)*p - (uchar)*q; 1a9: 29 c8 sub %ecx,%eax } 1ab: 5b pop %ebx 1ac: 5d pop %ebp 1ad: c3 ret 1ae: 0f b6 09 movzbl (%ecx),%ecx while(*p && *p == *q) 1b1: 31 c0 xor %eax,%eax 1b3: eb f4 jmp 1a9 <strcmp+0x39> 1b5: 0f b6 cb movzbl %bl,%ecx 1b8: eb ef jmp 1a9 <strcmp+0x39> 1ba: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 000001c0 <strlen>: uint strlen(const char *s) { 1c0: 55 push %ebp 1c1: 89 e5 mov %esp,%ebp 1c3: 8b 4d 08 mov 0x8(%ebp),%ecx int n; for(n = 0; s[n]; n++) 1c6: 80 39 00 cmpb $0x0,(%ecx) 1c9: 74 12 je 1dd <strlen+0x1d> 1cb: 31 d2 xor %edx,%edx 1cd: 8d 76 00 lea 0x0(%esi),%esi 1d0: 83 c2 01 add $0x1,%edx 1d3: 80 3c 11 00 cmpb $0x0,(%ecx,%edx,1) 1d7: 89 d0 mov %edx,%eax 1d9: 75 f5 jne 1d0 <strlen+0x10> ; return n; } 1db: 5d pop %ebp 1dc: c3 ret for(n = 0; s[n]; n++) 1dd: 31 c0 xor %eax,%eax } 1df: 5d pop %ebp 1e0: c3 ret 1e1: eb 0d jmp 1f0 <memset> 1e3: 90 nop 1e4: 90 nop 1e5: 90 nop 1e6: 90 nop 1e7: 90 nop 1e8: 90 nop 1e9: 90 nop 1ea: 90 nop 1eb: 90 nop 1ec: 90 nop 1ed: 90 nop 1ee: 90 nop 1ef: 90 nop 000001f0 <memset>: void* memset(void *dst, int c, uint n) { 1f0: 55 push %ebp 1f1: 89 e5 mov %esp,%ebp 1f3: 8b 55 08 mov 0x8(%ebp),%edx 1f6: 57 push %edi } static inline void stosb(void *addr, int data, int cnt) { asm volatile("cld; rep stosb" : 1f7: 8b 4d 10 mov 0x10(%ebp),%ecx 1fa: 8b 45 0c mov 0xc(%ebp),%eax 1fd: 89 d7 mov %edx,%edi 1ff: fc cld 200: f3 aa rep stos %al,%es:(%edi) stosb(dst, c, n); return dst; } 202: 89 d0 mov %edx,%eax 204: 5f pop %edi 205: 5d pop %ebp 206: c3 ret 207: 89 f6 mov %esi,%esi 209: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 00000210 <strchr>: char* strchr(const char *s, char c) { 210: 55 push %ebp 211: 89 e5 mov %esp,%ebp 213: 8b 45 08 mov 0x8(%ebp),%eax 216: 53 push %ebx 217: 8b 55 0c mov 0xc(%ebp),%edx for(; *s; s++) 21a: 0f b6 18 movzbl (%eax),%ebx 21d: 84 db test %bl,%bl 21f: 74 1d je 23e <strchr+0x2e> if(*s == c) 221: 38 d3 cmp %dl,%bl 223: 89 d1 mov %edx,%ecx 225: 75 0d jne 234 <strchr+0x24> 227: eb 17 jmp 240 <strchr+0x30> 229: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 230: 38 ca cmp %cl,%dl 232: 74 0c je 240 <strchr+0x30> for(; *s; s++) 234: 83 c0 01 add $0x1,%eax 237: 0f b6 10 movzbl (%eax),%edx 23a: 84 d2 test %dl,%dl 23c: 75 f2 jne 230 <strchr+0x20> return (char*)s; return 0; 23e: 31 c0 xor %eax,%eax } 240: 5b pop %ebx 241: 5d pop %ebp 242: c3 ret 243: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 249: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 00000250 <gets>: char* gets(char *buf, int max) { 250: 55 push %ebp 251: 89 e5 mov %esp,%ebp 253: 57 push %edi 254: 56 push %esi int i, cc; char c; for(i=0; i+1 < max; ){ 255: 31 f6 xor %esi,%esi { 257: 53 push %ebx 258: 83 ec 2c sub $0x2c,%esp cc = read(0, &c, 1); 25b: 8d 7d e7 lea -0x19(%ebp),%edi for(i=0; i+1 < max; ){ 25e: eb 31 jmp 291 <gets+0x41> cc = read(0, &c, 1); 260: c7 44 24 08 01 00 00 movl $0x1,0x8(%esp) 267: 00 268: 89 7c 24 04 mov %edi,0x4(%esp) 26c: c7 04 24 00 00 00 00 movl $0x0,(%esp) 273: e8 02 01 00 00 call 37a <read> if(cc < 1) 278: 85 c0 test %eax,%eax 27a: 7e 1d jle 299 <gets+0x49> break; buf[i++] = c; 27c: 0f b6 45 e7 movzbl -0x19(%ebp),%eax for(i=0; i+1 < max; ){ 280: 89 de mov %ebx,%esi buf[i++] = c; 282: 8b 55 08 mov 0x8(%ebp),%edx if(c == '\n' || c == '\r') 285: 3c 0d cmp $0xd,%al buf[i++] = c; 287: 88 44 1a ff mov %al,-0x1(%edx,%ebx,1) if(c == '\n' || c == '\r') 28b: 74 0c je 299 <gets+0x49> 28d: 3c 0a cmp $0xa,%al 28f: 74 08 je 299 <gets+0x49> for(i=0; i+1 < max; ){ 291: 8d 5e 01 lea 0x1(%esi),%ebx 294: 3b 5d 0c cmp 0xc(%ebp),%ebx 297: 7c c7 jl 260 <gets+0x10> break; } buf[i] = '\0'; 299: 8b 45 08 mov 0x8(%ebp),%eax 29c: c6 04 30 00 movb $0x0,(%eax,%esi,1) return buf; } 2a0: 83 c4 2c add $0x2c,%esp 2a3: 5b pop %ebx 2a4: 5e pop %esi 2a5: 5f pop %edi 2a6: 5d pop %ebp 2a7: c3 ret 2a8: 90 nop 2a9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 000002b0 <stat>: int stat(const char *n, struct stat *st) { 2b0: 55 push %ebp 2b1: 89 e5 mov %esp,%ebp 2b3: 56 push %esi 2b4: 53 push %ebx 2b5: 83 ec 10 sub $0x10,%esp int fd; int r; fd = open(n, O_RDONLY); 2b8: 8b 45 08 mov 0x8(%ebp),%eax 2bb: c7 44 24 04 00 00 00 movl $0x0,0x4(%esp) 2c2: 00 2c3: 89 04 24 mov %eax,(%esp) 2c6: e8 d7 00 00 00 call 3a2 <open> if(fd < 0) 2cb: 85 c0 test %eax,%eax fd = open(n, O_RDONLY); 2cd: 89 c3 mov %eax,%ebx if(fd < 0) 2cf: 78 27 js 2f8 <stat+0x48> return -1; r = fstat(fd, st); 2d1: 8b 45 0c mov 0xc(%ebp),%eax 2d4: 89 1c 24 mov %ebx,(%esp) 2d7: 89 44 24 04 mov %eax,0x4(%esp) 2db: e8 da 00 00 00 call 3ba <fstat> close(fd); 2e0: 89 1c 24 mov %ebx,(%esp) r = fstat(fd, st); 2e3: 89 c6 mov %eax,%esi close(fd); 2e5: e8 a0 00 00 00 call 38a <close> return r; 2ea: 89 f0 mov %esi,%eax } 2ec: 83 c4 10 add $0x10,%esp 2ef: 5b pop %ebx 2f0: 5e pop %esi 2f1: 5d pop %ebp 2f2: c3 ret 2f3: 90 nop 2f4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi return -1; 2f8: b8 ff ff ff ff mov $0xffffffff,%eax 2fd: eb ed jmp 2ec <stat+0x3c> 2ff: 90 nop 00000300 <atoi>: int atoi(const char *s) { 300: 55 push %ebp 301: 89 e5 mov %esp,%ebp 303: 8b 4d 08 mov 0x8(%ebp),%ecx 306: 53 push %ebx int n; n = 0; while('0' <= *s && *s <= '9') 307: 0f be 11 movsbl (%ecx),%edx 30a: 8d 42 d0 lea -0x30(%edx),%eax 30d: 3c 09 cmp $0x9,%al n = 0; 30f: b8 00 00 00 00 mov $0x0,%eax while('0' <= *s && *s <= '9') 314: 77 17 ja 32d <atoi+0x2d> 316: 66 90 xchg %ax,%ax n = n*10 + *s++ - '0'; 318: 83 c1 01 add $0x1,%ecx 31b: 8d 04 80 lea (%eax,%eax,4),%eax 31e: 8d 44 42 d0 lea -0x30(%edx,%eax,2),%eax while('0' <= *s && *s <= '9') 322: 0f be 11 movsbl (%ecx),%edx 325: 8d 5a d0 lea -0x30(%edx),%ebx 328: 80 fb 09 cmp $0x9,%bl 32b: 76 eb jbe 318 <atoi+0x18> return n; } 32d: 5b pop %ebx 32e: 5d pop %ebp 32f: c3 ret 00000330 <memmove>: void* memmove(void *vdst, const void *vsrc, int n) { 330: 55 push %ebp char *dst; const char *src; dst = vdst; src = vsrc; while(n-- > 0) 331: 31 d2 xor %edx,%edx { 333: 89 e5 mov %esp,%ebp 335: 56 push %esi 336: 8b 45 08 mov 0x8(%ebp),%eax 339: 53 push %ebx 33a: 8b 5d 10 mov 0x10(%ebp),%ebx 33d: 8b 75 0c mov 0xc(%ebp),%esi while(n-- > 0) 340: 85 db test %ebx,%ebx 342: 7e 12 jle 356 <memmove+0x26> 344: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi *dst++ = *src++; 348: 0f b6 0c 16 movzbl (%esi,%edx,1),%ecx 34c: 88 0c 10 mov %cl,(%eax,%edx,1) 34f: 83 c2 01 add $0x1,%edx while(n-- > 0) 352: 39 da cmp %ebx,%edx 354: 75 f2 jne 348 <memmove+0x18> return vdst; } 356: 5b pop %ebx 357: 5e pop %esi 358: 5d pop %ebp 359: c3 ret 0000035a <fork>: name: \ movl $SYS_ ## name, %eax; \ int $T_SYSCALL; \ ret SYSCALL(fork) 35a: b8 01 00 00 00 mov $0x1,%eax 35f: cd 40 int $0x40 361: c3 ret 00000362 <exit>: SYSCALL(exit) 362: b8 02 00 00 00 mov $0x2,%eax 367: cd 40 int $0x40 369: c3 ret 0000036a <wait>: SYSCALL(wait) 36a: b8 03 00 00 00 mov $0x3,%eax 36f: cd 40 int $0x40 371: c3 ret 00000372 <pipe>: SYSCALL(pipe) 372: b8 04 00 00 00 mov $0x4,%eax 377: cd 40 int $0x40 379: c3 ret 0000037a <read>: SYSCALL(read) 37a: b8 05 00 00 00 mov $0x5,%eax 37f: cd 40 int $0x40 381: c3 ret 00000382 <write>: SYSCALL(write) 382: b8 10 00 00 00 mov $0x10,%eax 387: cd 40 int $0x40 389: c3 ret 0000038a <close>: SYSCALL(close) 38a: b8 15 00 00 00 mov $0x15,%eax 38f: cd 40 int $0x40 391: c3 ret 00000392 <kill>: SYSCALL(kill) 392: b8 06 00 00 00 mov $0x6,%eax 397: cd 40 int $0x40 399: c3 ret 0000039a <exec>: SYSCALL(exec) 39a: b8 07 00 00 00 mov $0x7,%eax 39f: cd 40 int $0x40 3a1: c3 ret 000003a2 <open>: SYSCALL(open) 3a2: b8 0f 00 00 00 mov $0xf,%eax 3a7: cd 40 int $0x40 3a9: c3 ret 000003aa <mknod>: SYSCALL(mknod) 3aa: b8 11 00 00 00 mov $0x11,%eax 3af: cd 40 int $0x40 3b1: c3 ret 000003b2 <unlink>: SYSCALL(unlink) 3b2: b8 12 00 00 00 mov $0x12,%eax 3b7: cd 40 int $0x40 3b9: c3 ret 000003ba <fstat>: SYSCALL(fstat) 3ba: b8 08 00 00 00 mov $0x8,%eax 3bf: cd 40 int $0x40 3c1: c3 ret 000003c2 <link>: SYSCALL(link) 3c2: b8 13 00 00 00 mov $0x13,%eax 3c7: cd 40 int $0x40 3c9: c3 ret 000003ca <mkdir>: SYSCALL(mkdir) 3ca: b8 14 00 00 00 mov $0x14,%eax 3cf: cd 40 int $0x40 3d1: c3 ret 000003d2 <chdir>: SYSCALL(chdir) 3d2: b8 09 00 00 00 mov $0x9,%eax 3d7: cd 40 int $0x40 3d9: c3 ret 000003da <dup>: SYSCALL(dup) 3da: b8 0a 00 00 00 mov $0xa,%eax 3df: cd 40 int $0x40 3e1: c3 ret 000003e2 <getpid>: SYSCALL(getpid) 3e2: b8 0b 00 00 00 mov $0xb,%eax 3e7: cd 40 int $0x40 3e9: c3 ret 000003ea <sbrk>: SYSCALL(sbrk) 3ea: b8 0c 00 00 00 mov $0xc,%eax 3ef: cd 40 int $0x40 3f1: c3 ret 000003f2 <sleep>: SYSCALL(sleep) 3f2: b8 0d 00 00 00 mov $0xd,%eax 3f7: cd 40 int $0x40 3f9: c3 ret 000003fa <uptime>: SYSCALL(uptime) 3fa: b8 0e 00 00 00 mov $0xe,%eax 3ff: cd 40 int $0x40 401: c3 ret 00000402 <getppid>: #ifdef GETPPID SYSCALL(getppid) 402: b8 16 00 00 00 mov $0x16,%eax 407: cd 40 int $0x40 409: c3 ret 0000040a <cps>: #endif // GETPPID #ifdef CPS SYSCALL(cps) 40a: b8 17 00 00 00 mov $0x17,%eax 40f: cd 40 int $0x40 411: c3 ret 00000412 <halt>: #endif // CPS #ifdef HALT SYSCALL(halt) 412: b8 18 00 00 00 mov $0x18,%eax 417: cd 40 int $0x40 419: c3 ret 0000041a <kdebug>: #endif // HALT #ifdef KDEBUG SYSCALL(kdebug) 41a: b8 19 00 00 00 mov $0x19,%eax 41f: cd 40 int $0x40 421: c3 ret 00000422 <va2pa>: #endif // KDEBUG #ifdef VA2PA SYSCALL(va2pa) 422: b8 1a 00 00 00 mov $0x1a,%eax 427: cd 40 int $0x40 429: c3 ret 0000042a <kthread_create>: #endif // VA2PA #ifdef KTHREADS SYSCALL(kthread_create) 42a: b8 1b 00 00 00 mov $0x1b,%eax 42f: cd 40 int $0x40 431: c3 ret 00000432 <kthread_join>: SYSCALL(kthread_join) 432: b8 1c 00 00 00 mov $0x1c,%eax 437: cd 40 int $0x40 439: c3 ret 0000043a <kthread_exit>: SYSCALL(kthread_exit) 43a: b8 1d 00 00 00 mov $0x1d,%eax 43f: cd 40 int $0x40 441: c3 ret 00000442 <kthread_self>: #endif // KTHREADS #ifdef BENNY_MOOTEX SYSCALL(kthread_self) 442: b8 1e 00 00 00 mov $0x1e,%eax 447: cd 40 int $0x40 449: c3 ret 0000044a <kthread_yield>: SYSCALL(kthread_yield) 44a: b8 1f 00 00 00 mov $0x1f,%eax 44f: cd 40 int $0x40 451: c3 ret 00000452 <kthread_cpu_count>: SYSCALL(kthread_cpu_count) 452: b8 20 00 00 00 mov $0x20,%eax 457: cd 40 int $0x40 459: c3 ret 0000045a <kthread_thread_count>: SYSCALL(kthread_thread_count) 45a: b8 21 00 00 00 mov $0x21,%eax 45f: cd 40 int $0x40 461: c3 ret 462: 66 90 xchg %ax,%ax 464: 66 90 xchg %ax,%ax 466: 66 90 xchg %ax,%ax 468: 66 90 xchg %ax,%ax 46a: 66 90 xchg %ax,%ax 46c: 66 90 xchg %ax,%ax 46e: 66 90 xchg %ax,%ax 00000470 <printint>: write(fd, &c, 1); } static void printint(int fd, int xx, int base, int sgn) { 470: 55 push %ebp 471: 89 e5 mov %esp,%ebp 473: 57 push %edi 474: 56 push %esi 475: 89 c6 mov %eax,%esi 477: 53 push %ebx 478: 83 ec 4c sub $0x4c,%esp char buf[16]; int i, neg; uint x; neg = 0; if(sgn && xx < 0){ 47b: 8b 5d 08 mov 0x8(%ebp),%ebx 47e: 85 db test %ebx,%ebx 480: 74 09 je 48b <printint+0x1b> 482: 89 d0 mov %edx,%eax 484: c1 e8 1f shr $0x1f,%eax 487: 84 c0 test %al,%al 489: 75 75 jne 500 <printint+0x90> neg = 1; x = -xx; } else { x = xx; 48b: 89 d0 mov %edx,%eax neg = 0; 48d: c7 45 c4 00 00 00 00 movl $0x0,-0x3c(%ebp) 494: 89 75 c0 mov %esi,-0x40(%ebp) } i = 0; 497: 31 ff xor %edi,%edi 499: 89 ce mov %ecx,%esi 49b: 8d 5d d7 lea -0x29(%ebp),%ebx 49e: eb 02 jmp 4a2 <printint+0x32> do{ buf[i++] = digits[x % base]; 4a0: 89 cf mov %ecx,%edi 4a2: 31 d2 xor %edx,%edx 4a4: f7 f6 div %esi 4a6: 8d 4f 01 lea 0x1(%edi),%ecx 4a9: 0f b6 92 43 0b 00 00 movzbl 0xb43(%edx),%edx }while((x /= base) != 0); 4b0: 85 c0 test %eax,%eax buf[i++] = digits[x % base]; 4b2: 88 14 0b mov %dl,(%ebx,%ecx,1) }while((x /= base) != 0); 4b5: 75 e9 jne 4a0 <printint+0x30> if(neg) 4b7: 8b 55 c4 mov -0x3c(%ebp),%edx buf[i++] = digits[x % base]; 4ba: 89 c8 mov %ecx,%eax 4bc: 8b 75 c0 mov -0x40(%ebp),%esi if(neg) 4bf: 85 d2 test %edx,%edx 4c1: 74 08 je 4cb <printint+0x5b> buf[i++] = '-'; 4c3: 8d 4f 02 lea 0x2(%edi),%ecx 4c6: c6 44 05 d8 2d movb $0x2d,-0x28(%ebp,%eax,1) while(--i >= 0) 4cb: 8d 79 ff lea -0x1(%ecx),%edi 4ce: 66 90 xchg %ax,%ax 4d0: 0f b6 44 3d d8 movzbl -0x28(%ebp,%edi,1),%eax 4d5: 83 ef 01 sub $0x1,%edi write(fd, &c, 1); 4d8: c7 44 24 08 01 00 00 movl $0x1,0x8(%esp) 4df: 00 4e0: 89 5c 24 04 mov %ebx,0x4(%esp) 4e4: 89 34 24 mov %esi,(%esp) 4e7: 88 45 d7 mov %al,-0x29(%ebp) 4ea: e8 93 fe ff ff call 382 <write> while(--i >= 0) 4ef: 83 ff ff cmp $0xffffffff,%edi 4f2: 75 dc jne 4d0 <printint+0x60> putc(fd, buf[i]); } 4f4: 83 c4 4c add $0x4c,%esp 4f7: 5b pop %ebx 4f8: 5e pop %esi 4f9: 5f pop %edi 4fa: 5d pop %ebp 4fb: c3 ret 4fc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi x = -xx; 500: 89 d0 mov %edx,%eax 502: f7 d8 neg %eax neg = 1; 504: c7 45 c4 01 00 00 00 movl $0x1,-0x3c(%ebp) 50b: eb 87 jmp 494 <printint+0x24> 50d: 8d 76 00 lea 0x0(%esi),%esi 00000510 <printf>: // Print to the given fd. Only understands %d, %x, %p, %s. void printf(int fd, const char *fmt, ...) { 510: 55 push %ebp 511: 89 e5 mov %esp,%ebp 513: 57 push %edi char *s; int c, i, state; uint *ap; state = 0; 514: 31 ff xor %edi,%edi { 516: 56 push %esi 517: 53 push %ebx 518: 83 ec 3c sub $0x3c,%esp ap = (uint*)(void*)&fmt + 1; for(i = 0; fmt[i]; i++){ 51b: 8b 5d 0c mov 0xc(%ebp),%ebx ap = (uint*)(void*)&fmt + 1; 51e: 8d 45 10 lea 0x10(%ebp),%eax { 521: 8b 75 08 mov 0x8(%ebp),%esi ap = (uint*)(void*)&fmt + 1; 524: 89 45 d4 mov %eax,-0x2c(%ebp) for(i = 0; fmt[i]; i++){ 527: 0f b6 13 movzbl (%ebx),%edx 52a: 83 c3 01 add $0x1,%ebx 52d: 84 d2 test %dl,%dl 52f: 75 39 jne 56a <printf+0x5a> 531: e9 ca 00 00 00 jmp 600 <printf+0xf0> 536: 66 90 xchg %ax,%ax c = fmt[i] & 0xff; if(state == 0){ if(c == '%'){ 538: 83 fa 25 cmp $0x25,%edx 53b: 0f 84 c7 00 00 00 je 608 <printf+0xf8> write(fd, &c, 1); 541: 8d 45 e0 lea -0x20(%ebp),%eax 544: c7 44 24 08 01 00 00 movl $0x1,0x8(%esp) 54b: 00 54c: 89 44 24 04 mov %eax,0x4(%esp) 550: 89 34 24 mov %esi,(%esp) state = '%'; } else { putc(fd, c); 553: 88 55 e0 mov %dl,-0x20(%ebp) write(fd, &c, 1); 556: e8 27 fe ff ff call 382 <write> 55b: 83 c3 01 add $0x1,%ebx for(i = 0; fmt[i]; i++){ 55e: 0f b6 53 ff movzbl -0x1(%ebx),%edx 562: 84 d2 test %dl,%dl 564: 0f 84 96 00 00 00 je 600 <printf+0xf0> if(state == 0){ 56a: 85 ff test %edi,%edi c = fmt[i] & 0xff; 56c: 0f be c2 movsbl %dl,%eax if(state == 0){ 56f: 74 c7 je 538 <printf+0x28> } } else if(state == '%'){ 571: 83 ff 25 cmp $0x25,%edi 574: 75 e5 jne 55b <printf+0x4b> if(c == 'd' || c == 'u'){ 576: 83 fa 75 cmp $0x75,%edx 579: 0f 84 99 00 00 00 je 618 <printf+0x108> 57f: 83 fa 64 cmp $0x64,%edx 582: 0f 84 90 00 00 00 je 618 <printf+0x108> printint(fd, *ap, 10, 1); ap++; } else if(c == 'x' || c == 'p'){ 588: 25 f7 00 00 00 and $0xf7,%eax 58d: 83 f8 70 cmp $0x70,%eax 590: 0f 84 aa 00 00 00 je 640 <printf+0x130> putc(fd, '0'); putc(fd, 'x'); printint(fd, *ap, 16, 0); ap++; } else if(c == 's'){ 596: 83 fa 73 cmp $0x73,%edx 599: 0f 84 e9 00 00 00 je 688 <printf+0x178> s = "(null)"; while(*s != 0){ putc(fd, *s); s++; } } else if(c == 'c'){ 59f: 83 fa 63 cmp $0x63,%edx 5a2: 0f 84 2b 01 00 00 je 6d3 <printf+0x1c3> putc(fd, *ap); ap++; } else if(c == '%'){ 5a8: 83 fa 25 cmp $0x25,%edx 5ab: 0f 84 4f 01 00 00 je 700 <printf+0x1f0> write(fd, &c, 1); 5b1: 8d 45 e6 lea -0x1a(%ebp),%eax 5b4: 83 c3 01 add $0x1,%ebx 5b7: c7 44 24 08 01 00 00 movl $0x1,0x8(%esp) 5be: 00 } else { // Unknown % sequence. Print it to draw attention. putc(fd, '%'); putc(fd, c); } state = 0; 5bf: 31 ff xor %edi,%edi write(fd, &c, 1); 5c1: 89 44 24 04 mov %eax,0x4(%esp) 5c5: 89 34 24 mov %esi,(%esp) 5c8: 89 55 d0 mov %edx,-0x30(%ebp) 5cb: c6 45 e6 25 movb $0x25,-0x1a(%ebp) 5cf: e8 ae fd ff ff call 382 <write> putc(fd, c); 5d4: 8b 55 d0 mov -0x30(%ebp),%edx write(fd, &c, 1); 5d7: 8d 45 e7 lea -0x19(%ebp),%eax 5da: c7 44 24 08 01 00 00 movl $0x1,0x8(%esp) 5e1: 00 5e2: 89 44 24 04 mov %eax,0x4(%esp) 5e6: 89 34 24 mov %esi,(%esp) putc(fd, c); 5e9: 88 55 e7 mov %dl,-0x19(%ebp) write(fd, &c, 1); 5ec: e8 91 fd ff ff call 382 <write> for(i = 0; fmt[i]; i++){ 5f1: 0f b6 53 ff movzbl -0x1(%ebx),%edx 5f5: 84 d2 test %dl,%dl 5f7: 0f 85 6d ff ff ff jne 56a <printf+0x5a> 5fd: 8d 76 00 lea 0x0(%esi),%esi } } } 600: 83 c4 3c add $0x3c,%esp 603: 5b pop %ebx 604: 5e pop %esi 605: 5f pop %edi 606: 5d pop %ebp 607: c3 ret state = '%'; 608: bf 25 00 00 00 mov $0x25,%edi 60d: e9 49 ff ff ff jmp 55b <printf+0x4b> 612: 8d b6 00 00 00 00 lea 0x0(%esi),%esi printint(fd, *ap, 10, 1); 618: c7 04 24 01 00 00 00 movl $0x1,(%esp) 61f: b9 0a 00 00 00 mov $0xa,%ecx printint(fd, *ap, 16, 0); 624: 8b 45 d4 mov -0x2c(%ebp),%eax state = 0; 627: 31 ff xor %edi,%edi printint(fd, *ap, 16, 0); 629: 8b 10 mov (%eax),%edx 62b: 89 f0 mov %esi,%eax 62d: e8 3e fe ff ff call 470 <printint> ap++; 632: 83 45 d4 04 addl $0x4,-0x2c(%ebp) 636: e9 20 ff ff ff jmp 55b <printf+0x4b> 63b: 90 nop 63c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi write(fd, &c, 1); 640: 8d 45 e1 lea -0x1f(%ebp),%eax 643: c7 44 24 08 01 00 00 movl $0x1,0x8(%esp) 64a: 00 64b: 89 44 24 04 mov %eax,0x4(%esp) 64f: 89 34 24 mov %esi,(%esp) 652: c6 45 e1 30 movb $0x30,-0x1f(%ebp) 656: e8 27 fd ff ff call 382 <write> 65b: 8d 45 e2 lea -0x1e(%ebp),%eax 65e: c7 44 24 08 01 00 00 movl $0x1,0x8(%esp) 665: 00 666: 89 44 24 04 mov %eax,0x4(%esp) 66a: 89 34 24 mov %esi,(%esp) 66d: c6 45 e2 78 movb $0x78,-0x1e(%ebp) 671: e8 0c fd ff ff call 382 <write> printint(fd, *ap, 16, 0); 676: b9 10 00 00 00 mov $0x10,%ecx 67b: c7 04 24 00 00 00 00 movl $0x0,(%esp) 682: eb a0 jmp 624 <printf+0x114> 684: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi s = (char*)*ap; 688: 8b 45 d4 mov -0x2c(%ebp),%eax ap++; 68b: 83 45 d4 04 addl $0x4,-0x2c(%ebp) s = (char*)*ap; 68f: 8b 38 mov (%eax),%edi s = "(null)"; 691: b8 3c 0b 00 00 mov $0xb3c,%eax 696: 85 ff test %edi,%edi 698: 0f 44 f8 cmove %eax,%edi while(*s != 0){ 69b: 0f b6 07 movzbl (%edi),%eax 69e: 84 c0 test %al,%al 6a0: 74 2a je 6cc <printf+0x1bc> 6a2: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 6a8: 88 45 e3 mov %al,-0x1d(%ebp) write(fd, &c, 1); 6ab: 8d 45 e3 lea -0x1d(%ebp),%eax s++; 6ae: 83 c7 01 add $0x1,%edi write(fd, &c, 1); 6b1: c7 44 24 08 01 00 00 movl $0x1,0x8(%esp) 6b8: 00 6b9: 89 44 24 04 mov %eax,0x4(%esp) 6bd: 89 34 24 mov %esi,(%esp) 6c0: e8 bd fc ff ff call 382 <write> while(*s != 0){ 6c5: 0f b6 07 movzbl (%edi),%eax 6c8: 84 c0 test %al,%al 6ca: 75 dc jne 6a8 <printf+0x198> state = 0; 6cc: 31 ff xor %edi,%edi 6ce: e9 88 fe ff ff jmp 55b <printf+0x4b> putc(fd, *ap); 6d3: 8b 45 d4 mov -0x2c(%ebp),%eax state = 0; 6d6: 31 ff xor %edi,%edi putc(fd, *ap); 6d8: 8b 00 mov (%eax),%eax write(fd, &c, 1); 6da: c7 44 24 08 01 00 00 movl $0x1,0x8(%esp) 6e1: 00 6e2: 89 34 24 mov %esi,(%esp) putc(fd, *ap); 6e5: 88 45 e4 mov %al,-0x1c(%ebp) write(fd, &c, 1); 6e8: 8d 45 e4 lea -0x1c(%ebp),%eax 6eb: 89 44 24 04 mov %eax,0x4(%esp) 6ef: e8 8e fc ff ff call 382 <write> ap++; 6f4: 83 45 d4 04 addl $0x4,-0x2c(%ebp) 6f8: e9 5e fe ff ff jmp 55b <printf+0x4b> 6fd: 8d 76 00 lea 0x0(%esi),%esi write(fd, &c, 1); 700: 8d 45 e5 lea -0x1b(%ebp),%eax state = 0; 703: 31 ff xor %edi,%edi write(fd, &c, 1); 705: c7 44 24 08 01 00 00 movl $0x1,0x8(%esp) 70c: 00 70d: 89 44 24 04 mov %eax,0x4(%esp) 711: 89 34 24 mov %esi,(%esp) 714: c6 45 e5 25 movb $0x25,-0x1b(%ebp) 718: e8 65 fc ff ff call 382 <write> 71d: e9 39 fe ff ff jmp 55b <printf+0x4b> 722: 66 90 xchg %ax,%ax 724: 66 90 xchg %ax,%ax 726: 66 90 xchg %ax,%ax 728: 66 90 xchg %ax,%ax 72a: 66 90 xchg %ax,%ax 72c: 66 90 xchg %ax,%ax 72e: 66 90 xchg %ax,%ax 00000730 <free>: static Header base; static Header *freep; void free(void *ap) { 730: 55 push %ebp Header *bp, *p; bp = (Header*)ap - 1; for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr) 731: a1 cc 0f 00 00 mov 0xfcc,%eax { 736: 89 e5 mov %esp,%ebp 738: 57 push %edi 739: 56 push %esi 73a: 53 push %ebx 73b: 8b 5d 08 mov 0x8(%ebp),%ebx if(p >= p->s.ptr && (bp > p || bp < p->s.ptr)) 73e: 8b 08 mov (%eax),%ecx bp = (Header*)ap - 1; 740: 8d 53 f8 lea -0x8(%ebx),%edx for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr) 743: 39 d0 cmp %edx,%eax 745: 72 11 jb 758 <free+0x28> 747: 90 nop if(p >= p->s.ptr && (bp > p || bp < p->s.ptr)) 748: 39 c8 cmp %ecx,%eax 74a: 72 04 jb 750 <free+0x20> 74c: 39 ca cmp %ecx,%edx 74e: 72 10 jb 760 <free+0x30> 750: 89 c8 mov %ecx,%eax for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr) 752: 39 d0 cmp %edx,%eax if(p >= p->s.ptr && (bp > p || bp < p->s.ptr)) 754: 8b 08 mov (%eax),%ecx for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr) 756: 73 f0 jae 748 <free+0x18> 758: 39 ca cmp %ecx,%edx 75a: 72 04 jb 760 <free+0x30> if(p >= p->s.ptr && (bp > p || bp < p->s.ptr)) 75c: 39 c8 cmp %ecx,%eax 75e: 72 f0 jb 750 <free+0x20> break; if(bp + bp->s.size == p->s.ptr){ 760: 8b 73 fc mov -0x4(%ebx),%esi 763: 8d 3c f2 lea (%edx,%esi,8),%edi 766: 39 cf cmp %ecx,%edi 768: 74 1e je 788 <free+0x58> bp->s.size += p->s.ptr->s.size; bp->s.ptr = p->s.ptr->s.ptr; } else bp->s.ptr = p->s.ptr; 76a: 89 4b f8 mov %ecx,-0x8(%ebx) if(p + p->s.size == bp){ 76d: 8b 48 04 mov 0x4(%eax),%ecx 770: 8d 34 c8 lea (%eax,%ecx,8),%esi 773: 39 f2 cmp %esi,%edx 775: 74 28 je 79f <free+0x6f> p->s.size += bp->s.size; p->s.ptr = bp->s.ptr; } else p->s.ptr = bp; 777: 89 10 mov %edx,(%eax) freep = p; 779: a3 cc 0f 00 00 mov %eax,0xfcc } 77e: 5b pop %ebx 77f: 5e pop %esi 780: 5f pop %edi 781: 5d pop %ebp 782: c3 ret 783: 90 nop 784: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi bp->s.size += p->s.ptr->s.size; 788: 03 71 04 add 0x4(%ecx),%esi 78b: 89 73 fc mov %esi,-0x4(%ebx) bp->s.ptr = p->s.ptr->s.ptr; 78e: 8b 08 mov (%eax),%ecx 790: 8b 09 mov (%ecx),%ecx 792: 89 4b f8 mov %ecx,-0x8(%ebx) if(p + p->s.size == bp){ 795: 8b 48 04 mov 0x4(%eax),%ecx 798: 8d 34 c8 lea (%eax,%ecx,8),%esi 79b: 39 f2 cmp %esi,%edx 79d: 75 d8 jne 777 <free+0x47> p->s.size += bp->s.size; 79f: 03 4b fc add -0x4(%ebx),%ecx freep = p; 7a2: a3 cc 0f 00 00 mov %eax,0xfcc p->s.size += bp->s.size; 7a7: 89 48 04 mov %ecx,0x4(%eax) p->s.ptr = bp->s.ptr; 7aa: 8b 53 f8 mov -0x8(%ebx),%edx 7ad: 89 10 mov %edx,(%eax) } 7af: 5b pop %ebx 7b0: 5e pop %esi 7b1: 5f pop %edi 7b2: 5d pop %ebp 7b3: c3 ret 7b4: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 7ba: 8d bf 00 00 00 00 lea 0x0(%edi),%edi 000007c0 <malloc>: return freep; } void* malloc(uint nbytes) { 7c0: 55 push %ebp 7c1: 89 e5 mov %esp,%ebp 7c3: 57 push %edi 7c4: 56 push %esi 7c5: 53 push %ebx 7c6: 83 ec 1c sub $0x1c,%esp Header *p, *prevp; uint nunits; nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1; 7c9: 8b 45 08 mov 0x8(%ebp),%eax if((prevp = freep) == 0){ 7cc: 8b 1d cc 0f 00 00 mov 0xfcc,%ebx nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1; 7d2: 8d 48 07 lea 0x7(%eax),%ecx 7d5: c1 e9 03 shr $0x3,%ecx if((prevp = freep) == 0){ 7d8: 85 db test %ebx,%ebx nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1; 7da: 8d 71 01 lea 0x1(%ecx),%esi if((prevp = freep) == 0){ 7dd: 0f 84 9b 00 00 00 je 87e <malloc+0xbe> 7e3: 8b 13 mov (%ebx),%edx 7e5: 8b 7a 04 mov 0x4(%edx),%edi base.s.ptr = freep = prevp = &base; base.s.size = 0; } for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){ if(p->s.size >= nunits){ 7e8: 39 fe cmp %edi,%esi 7ea: 76 64 jbe 850 <malloc+0x90> 7ec: 8d 04 f5 00 00 00 00 lea 0x0(,%esi,8),%eax if(nu < 4096) 7f3: bb 00 80 00 00 mov $0x8000,%ebx 7f8: 89 45 e4 mov %eax,-0x1c(%ebp) 7fb: eb 0e jmp 80b <malloc+0x4b> 7fd: 8d 76 00 lea 0x0(%esi),%esi for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){ 800: 8b 02 mov (%edx),%eax if(p->s.size >= nunits){ 802: 8b 78 04 mov 0x4(%eax),%edi 805: 39 fe cmp %edi,%esi 807: 76 4f jbe 858 <malloc+0x98> 809: 89 c2 mov %eax,%edx p->s.size = nunits; } freep = prevp; return (void*)(p + 1); } if(p == freep) 80b: 3b 15 cc 0f 00 00 cmp 0xfcc,%edx 811: 75 ed jne 800 <malloc+0x40> if(nu < 4096) 813: 8b 45 e4 mov -0x1c(%ebp),%eax 816: 81 fe 00 10 00 00 cmp $0x1000,%esi 81c: bf 00 10 00 00 mov $0x1000,%edi 821: 0f 43 fe cmovae %esi,%edi 824: 0f 42 c3 cmovb %ebx,%eax p = sbrk(nu * sizeof(Header)); 827: 89 04 24 mov %eax,(%esp) 82a: e8 bb fb ff ff call 3ea <sbrk> if(p == (char*)-1) 82f: 83 f8 ff cmp $0xffffffff,%eax 832: 74 18 je 84c <malloc+0x8c> hp->s.size = nu; 834: 89 78 04 mov %edi,0x4(%eax) free((void*)(hp + 1)); 837: 83 c0 08 add $0x8,%eax 83a: 89 04 24 mov %eax,(%esp) 83d: e8 ee fe ff ff call 730 <free> return freep; 842: 8b 15 cc 0f 00 00 mov 0xfcc,%edx if((p = morecore(nunits)) == 0) 848: 85 d2 test %edx,%edx 84a: 75 b4 jne 800 <malloc+0x40> return 0; 84c: 31 c0 xor %eax,%eax 84e: eb 20 jmp 870 <malloc+0xb0> if(p->s.size >= nunits){ 850: 89 d0 mov %edx,%eax 852: 89 da mov %ebx,%edx 854: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi if(p->s.size == nunits) 858: 39 fe cmp %edi,%esi 85a: 74 1c je 878 <malloc+0xb8> p->s.size -= nunits; 85c: 29 f7 sub %esi,%edi 85e: 89 78 04 mov %edi,0x4(%eax) p += p->s.size; 861: 8d 04 f8 lea (%eax,%edi,8),%eax p->s.size = nunits; 864: 89 70 04 mov %esi,0x4(%eax) freep = prevp; 867: 89 15 cc 0f 00 00 mov %edx,0xfcc return (void*)(p + 1); 86d: 83 c0 08 add $0x8,%eax } } 870: 83 c4 1c add $0x1c,%esp 873: 5b pop %ebx 874: 5e pop %esi 875: 5f pop %edi 876: 5d pop %ebp 877: c3 ret prevp->s.ptr = p->s.ptr; 878: 8b 08 mov (%eax),%ecx 87a: 89 0a mov %ecx,(%edx) 87c: eb e9 jmp 867 <malloc+0xa7> base.s.ptr = freep = prevp = &base; 87e: c7 05 cc 0f 00 00 d0 movl $0xfd0,0xfcc 885: 0f 00 00 base.s.size = 0; 888: ba d0 0f 00 00 mov $0xfd0,%edx base.s.ptr = freep = prevp = &base; 88d: c7 05 d0 0f 00 00 d0 movl $0xfd0,0xfd0 894: 0f 00 00 base.s.size = 0; 897: c7 05 d4 0f 00 00 00 movl $0x0,0xfd4 89e: 00 00 00 8a1: e9 46 ff ff ff jmp 7ec <malloc+0x2c> 8a6: 66 90 xchg %ax,%ax 8a8: 66 90 xchg %ax,%ax 8aa: 66 90 xchg %ax,%ax 8ac: 66 90 xchg %ax,%ax 8ae: 66 90 xchg %ax,%ax 000008b0 <benny_thread_create>: static struct benny_thread_s *bt_new(void); int benny_thread_create(benny_thread_t *abt, void (*func)(void*), void *arg_ptr) { 8b0: 55 push %ebp 8b1: 89 e5 mov %esp,%ebp 8b3: 56 push %esi 8b4: 53 push %ebx 8b5: 83 ec 10 sub $0x10,%esp } static struct benny_thread_s * bt_new(void) { struct benny_thread_s *bt = malloc(sizeof(struct benny_thread_s)); 8b8: c7 04 24 0c 00 00 00 movl $0xc,(%esp) 8bf: e8 fc fe ff ff call 7c0 <malloc> if (bt == NULL) { 8c4: 85 c0 test %eax,%eax struct benny_thread_s *bt = malloc(sizeof(struct benny_thread_s)); 8c6: 89 c6 mov %eax,%esi if (bt == NULL) { 8c8: 74 66 je 930 <benny_thread_create+0x80> // allocate 2 pages worth of memory and then make sure the // beginning address used for the stack is page alligned. // we want it page alligned so that we don't generate a // page fault by accessing the stack for a thread. bt->bt_stack = bt->mem_stack = malloc(PGSIZE * 2); 8ca: c7 04 24 00 20 00 00 movl $0x2000,(%esp) 8d1: e8 ea fe ff ff call 7c0 <malloc> if (bt->bt_stack == NULL) { 8d6: 85 c0 test %eax,%eax bt->bt_stack = bt->mem_stack = malloc(PGSIZE * 2); 8d8: 89 c3 mov %eax,%ebx 8da: 89 46 08 mov %eax,0x8(%esi) 8dd: 89 46 04 mov %eax,0x4(%esi) if (bt->bt_stack == NULL) { 8e0: 74 5d je 93f <benny_thread_create+0x8f> free(bt); return NULL; } if (((uint) bt->bt_stack) % PGSIZE != 0) { 8e2: 25 ff 0f 00 00 and $0xfff,%eax 8e7: 75 37 jne 920 <benny_thread_create+0x70> // allign the thread stack to a page boundary bt->bt_stack += (PGSIZE - ((uint) bt->bt_stack) % PGSIZE); } bt->bid = -1; 8e9: c7 06 ff ff ff ff movl $0xffffffff,(%esi) bt->bid = kthread_create(func, arg_ptr, bt->bt_stack); 8ef: 8b 45 10 mov 0x10(%ebp),%eax 8f2: 89 5c 24 08 mov %ebx,0x8(%esp) 8f6: 89 44 24 04 mov %eax,0x4(%esp) 8fa: 8b 45 0c mov 0xc(%ebp),%eax 8fd: 89 04 24 mov %eax,(%esp) 900: e8 25 fb ff ff call 42a <kthread_create> if (bt->bid != 0) { 905: 85 c0 test %eax,%eax bt->bid = kthread_create(func, arg_ptr, bt->bt_stack); 907: 89 06 mov %eax,(%esi) if (bt->bid != 0) { 909: 74 2d je 938 <benny_thread_create+0x88> *abt = (benny_thread_t) bt; 90b: 8b 45 08 mov 0x8(%ebp),%eax 90e: 89 30 mov %esi,(%eax) result = 0; 910: 31 c0 xor %eax,%eax } 912: 83 c4 10 add $0x10,%esp 915: 5b pop %ebx 916: 5e pop %esi 917: 5d pop %ebp 918: c3 ret 919: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi bt->bt_stack += (PGSIZE - ((uint) bt->bt_stack) % PGSIZE); 920: 29 c3 sub %eax,%ebx 922: 81 c3 00 10 00 00 add $0x1000,%ebx 928: 89 5e 04 mov %ebx,0x4(%esi) 92b: eb bc jmp 8e9 <benny_thread_create+0x39> 92d: 8d 76 00 lea 0x0(%esi),%esi 930: 8b 1d 04 00 00 00 mov 0x4,%ebx 936: eb b7 jmp 8ef <benny_thread_create+0x3f> int result = -1; 938: b8 ff ff ff ff mov $0xffffffff,%eax 93d: eb d3 jmp 912 <benny_thread_create+0x62> free(bt); 93f: 89 34 24 mov %esi,(%esp) return NULL; 942: 31 f6 xor %esi,%esi free(bt); 944: e8 e7 fd ff ff call 730 <free> 949: 8b 5b 04 mov 0x4(%ebx),%ebx 94c: eb a1 jmp 8ef <benny_thread_create+0x3f> 94e: 66 90 xchg %ax,%ax 00000950 <benny_thread_bid>: { 950: 55 push %ebp 951: 89 e5 mov %esp,%ebp return bt->bid; 953: 8b 45 08 mov 0x8(%ebp),%eax } 956: 5d pop %ebp return bt->bid; 957: 8b 00 mov (%eax),%eax } 959: c3 ret 95a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 00000960 <benny_thread_join>: { 960: 55 push %ebp 961: 89 e5 mov %esp,%ebp 963: 53 push %ebx 964: 83 ec 14 sub $0x14,%esp 967: 8b 5d 08 mov 0x8(%ebp),%ebx retVal = kthread_join(bt->bid); 96a: 8b 03 mov (%ebx),%eax 96c: 89 04 24 mov %eax,(%esp) 96f: e8 be fa ff ff call 432 <kthread_join> if (retVal == 0) { 974: 85 c0 test %eax,%eax 976: 75 27 jne 99f <benny_thread_join+0x3f> free(bt->mem_stack); 978: 8b 53 08 mov 0x8(%ebx),%edx 97b: 89 45 f4 mov %eax,-0xc(%ebp) 97e: 89 14 24 mov %edx,(%esp) 981: e8 aa fd ff ff call 730 <free> bt->bt_stack = bt->mem_stack = NULL; 986: c7 43 08 00 00 00 00 movl $0x0,0x8(%ebx) 98d: c7 43 04 00 00 00 00 movl $0x0,0x4(%ebx) free(bt); 994: 89 1c 24 mov %ebx,(%esp) 997: e8 94 fd ff ff call 730 <free> 99c: 8b 45 f4 mov -0xc(%ebp),%eax } 99f: 83 c4 14 add $0x14,%esp 9a2: 5b pop %ebx 9a3: 5d pop %ebp 9a4: c3 ret 9a5: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 9a9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 000009b0 <benny_thread_exit>: { 9b0: 55 push %ebp 9b1: 89 e5 mov %esp,%ebp } 9b3: 5d pop %ebp return kthread_exit(exitValue); 9b4: e9 81 fa ff ff jmp 43a <kthread_exit> 9b9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 000009c0 <benny_mootex_init>: } # ifdef BENNY_MOOTEX int benny_mootex_init(benny_mootex_t *benny_mootex) { 9c0: 55 push %ebp 9c1: 89 e5 mov %esp,%ebp 9c3: 8b 45 08 mov 0x8(%ebp),%eax benny_mootex->locked = 0; 9c6: c7 00 00 00 00 00 movl $0x0,(%eax) benny_mootex->bid = -1; 9cc: c7 40 04 ff ff ff ff movl $0xffffffff,0x4(%eax) return 0; } 9d3: 31 c0 xor %eax,%eax 9d5: 5d pop %ebp 9d6: c3 ret 9d7: 89 f6 mov %esi,%esi 9d9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 000009e0 <benny_mootex_yieldlock>: int benny_mootex_yieldlock(benny_mootex_t *benny_mootex) { 9e0: 55 push %ebp xchg(volatile uint *addr, uint newval) { uint result; // The + in "+m" denotes a read-modify-write operand. asm volatile("lock; xchgl %0, %1" : 9e1: b8 01 00 00 00 mov $0x1,%eax 9e6: 89 e5 mov %esp,%ebp 9e8: 56 push %esi 9e9: 53 push %ebx 9ea: 8b 5d 08 mov 0x8(%ebp),%ebx 9ed: f0 87 03 lock xchg %eax,(%ebx) // #error this is the call to lock the mootex that will yield in a // #error loop until the lock is acquired. while(xchg(&benny_mootex->locked, 1) != 0){ 9f0: 85 c0 test %eax,%eax 9f2: be 01 00 00 00 mov $0x1,%esi 9f7: 74 15 je a0e <benny_mootex_yieldlock+0x2e> 9f9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi benny_yield(void) { // # error This just gives up the rest of this scheduled time slice to // # error another process/thread. return kthread_yield(); a00: e8 45 fa ff ff call 44a <kthread_yield> a05: 89 f0 mov %esi,%eax a07: f0 87 03 lock xchg %eax,(%ebx) while(xchg(&benny_mootex->locked, 1) != 0){ a0a: 85 c0 test %eax,%eax a0c: 75 f2 jne a00 <benny_mootex_yieldlock+0x20> return kthread_self(); a0e: e8 2f fa ff ff call 442 <kthread_self> benny_mootex->bid = benny_self(); a13: 89 43 04 mov %eax,0x4(%ebx) } a16: 31 c0 xor %eax,%eax a18: 5b pop %ebx a19: 5e pop %esi a1a: 5d pop %ebp a1b: c3 ret a1c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 00000a20 <benny_mootex_spinlock>: { a20: 55 push %ebp a21: ba 01 00 00 00 mov $0x1,%edx a26: 89 e5 mov %esp,%ebp a28: 53 push %ebx a29: 83 ec 04 sub $0x4,%esp a2c: 8b 5d 08 mov 0x8(%ebp),%ebx a2f: 90 nop a30: 89 d0 mov %edx,%eax a32: f0 87 03 lock xchg %eax,(%ebx) while(xchg(&benny_mootex->locked, 1) != 0){ a35: 85 c0 test %eax,%eax a37: 75 f7 jne a30 <benny_mootex_spinlock+0x10> return kthread_self(); a39: e8 04 fa ff ff call 442 <kthread_self> benny_mootex->bid = benny_self(); a3e: 89 43 04 mov %eax,0x4(%ebx) } a41: 83 c4 04 add $0x4,%esp a44: 31 c0 xor %eax,%eax a46: 5b pop %ebx a47: 5d pop %ebp a48: c3 ret a49: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 00000a50 <benny_mootex_unlock>: { a50: 55 push %ebp a51: 89 e5 mov %esp,%ebp a53: 53 push %ebx a54: 83 ec 04 sub $0x4,%esp a57: 8b 5d 08 mov 0x8(%ebp),%ebx return kthread_self(); a5a: e8 e3 f9 ff ff call 442 <kthread_self> if(tid == benny_mootex->bid){ a5f: 39 43 04 cmp %eax,0x4(%ebx) a62: 75 1c jne a80 <benny_mootex_unlock+0x30> __sync_synchronize(); a64: 0f ae f0 mfence return 0; a67: 31 c0 xor %eax,%eax benny_mootex->bid = -1; a69: c7 43 04 ff ff ff ff movl $0xffffffff,0x4(%ebx) __sync_lock_release(&benny_mootex->locked); a70: c7 03 00 00 00 00 movl $0x0,(%ebx) } a76: 83 c4 04 add $0x4,%esp a79: 5b pop %ebx a7a: 5d pop %ebp a7b: c3 ret a7c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi a80: 83 c4 04 add $0x4,%esp return -1; a83: b8 ff ff ff ff mov $0xffffffff,%eax } a88: 5b pop %ebx a89: 5d pop %ebp a8a: c3 ret a8b: 90 nop a8c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 00000a90 <benny_mootex_trylock>: { a90: 55 push %ebp a91: b8 01 00 00 00 mov $0x1,%eax a96: 89 e5 mov %esp,%ebp a98: 53 push %ebx a99: 83 ec 04 sub $0x4,%esp a9c: 8b 5d 08 mov 0x8(%ebp),%ebx a9f: f0 87 03 lock xchg %eax,(%ebx) if(xchg(&benny_mootex->locked, 1) != 0){ aa2: 85 c0 test %eax,%eax aa4: 75 08 jne aae <benny_mootex_trylock+0x1e> int tid = kthread_self(); aa6: e8 97 f9 ff ff call 442 <kthread_self> benny_mootex->bid = tid; aab: 89 43 04 mov %eax,0x4(%ebx) } aae: 83 c4 04 add $0x4,%esp ab1: b8 ff ff ff ff mov $0xffffffff,%eax ab6: 5b pop %ebx ab7: 5d pop %ebp ab8: c3 ret ab9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 00000ac0 <benny_mootex_wholock>: { ac0: 55 push %ebp ac1: 89 e5 mov %esp,%ebp return benny_mootex->bid; ac3: 8b 45 08 mov 0x8(%ebp),%eax } ac6: 5d pop %ebp return benny_mootex->bid; ac7: 8b 40 04 mov 0x4(%eax),%eax } aca: c3 ret acb: 90 nop acc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 00000ad0 <benny_mootex_islocked>: { ad0: 55 push %ebp ad1: 89 e5 mov %esp,%ebp return benny_mootex->locked; ad3: 8b 45 08 mov 0x8(%ebp),%eax } ad6: 5d pop %ebp return benny_mootex->locked; ad7: 8b 00 mov (%eax),%eax } ad9: c3 ret ada: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 00000ae0 <benny_self>: { ae0: 55 push %ebp ae1: 89 e5 mov %esp,%ebp } ae3: 5d pop %ebp return kthread_self(); ae4: e9 59 f9 ff ff jmp 442 <kthread_self> ae9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 00000af0 <benny_yield>: { af0: 55 push %ebp af1: 89 e5 mov %esp,%ebp } af3: 5d pop %ebp return kthread_yield(); af4: e9 51 f9 ff ff jmp 44a <kthread_yield> af9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 00000b00 <benny_cpu_count>: int benny_cpu_count(void) { b00: 55 push %ebp b01: 89 e5 mov %esp,%ebp // # error call the kthread_cpu_count() function. // kthread_cpu_count(); return kthread_cpu_count(); } b03: 5d pop %ebp return kthread_cpu_count(); b04: e9 49 f9 ff ff jmp 452 <kthread_cpu_count> b09: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 00000b10 <benny_thread_count>: int benny_thread_count(void) { b10: 55 push %ebp b11: 89 e5 mov %esp,%ebp // # error call the kthread_thread_count() function. // kthread_thread_count() return kthread_thread_count(); } b13: 5d pop %ebp return kthread_thread_count(); b14: e9 41 f9 ff ff jmp 45a <kthread_thread_count>
oeis/333/A333572.asm
neoneye/loda-programs
11
242789
; A333572: a(n) is the number of Gaussian integers z with 0 < |z| <= n/2. ; Submitted by <NAME> ; 0,4,8,12,20,28,36,48,68,80,96,112,136,148,176,196,224,252,292,316,348,376,420,440,488,528,576,612,664,708,748,796,860,900,972,1008,1084,1128,1200,1256,1312,1372,1456,1516,1596,1652,1740,1792,1884,1960,2052,2120,2216,2288,2376,2452,2560,2628,2732,2820,2932,3000,3124,3208,3312,3408,3520,3624,3744,3852,3968,4052,4196,4292,4420,4512,4668,4776,4904,5024,5168,5260,5416,5524,5680,5788,5956,6076,6220,6360,6508,6624,6784,6920,7088,7212,7392,7524,7704,7844 add $0,1 pow $0,2 div $0,4 seq $0,57655 ; The circle problem: number of points (x,y) in square lattice with x^2 + y^2 <= n. sub $0,1
text/maps/route_1.asm
adhi-thirumala/EvoYellow
0
28695
<filename>text/maps/route_1.asm<gh_stars>0 _Route1ViridianMartSampleText:: text "My #MON died," line "but it still..." para "lives, too. Will" line "you please take" cont "it off my hands?" cont "It's schrodinger." para "I know, I'll give" line "you a potion" cont "from my MART!" prompt _Route1Text_1cae8:: text $52, " got" line "@" TX_RAM wcf4b text "!@@" _Route1Text_1caee:: text "We also carry" line "# BALLs for" cont "catching #MON!" done _Route1Text_1caf3:: text "You have too much" line "stuff with you!" done _Route1Text2:: text "See those ledges" line "along the road?" para "It's a bit scary," line "but you can jump" cont "from them." para "You can get back" line "to PALLET TOWN" cont "quicker that way." done _Route1Text3:: text "ROUTE 1" line "PALLET TOWN -" cont "VIRIDIAN CITY" done
programs/oeis/073/A073359.asm
jmorken/loda
1
161401
<gh_stars>1-10 ; A073359: Nested floor product of n and fractions (2k+2)/(2k+1) for all k>=0, divided by 2. ; 1,3,6,9,13,19,24,31,39,45,54,66,73,90,103,111,126,144,153,174,193,199,229,240,264,283,306,324,354,381,403,421,463,474,504,546,555,594,630,660,679,735,741,789,846,859,903,949,966,1011 mov $1,1 mov $2,$0 lpb $2 add $1,1 lpb $0 sub $0,1 trn $0,$2 add $1,1 lpe add $0,$1 sub $2,1 lpe
serial.asm
ChartreuseK/z80monitor
5
240340
;--------------------------------------- ; Initialize the 68681 DUART SERIAL_INIT: LD A, $30 OUT (SER_CRA), A ; Reset Transmitter LD A, $20 OUT (SER_CRA), A ; Reset Reciever LD A, $10 OUT (SER_CRA), A ; Reset Mode Register Pointer LD A, $80 OUT (SER_ACR), A ; Baud Rate Set #2 LD A, $BB ; BB for 9600, 44 for 300 OUT (SER_CSRA), A ; 300 Tx and Rx LD A, $13 OUT (SER_MRA), A ; 8 bit, no parity LD A, $07 OUT (SER_MRA), A ; Normal mode, no flow control, 1 stop bit LD A, $00 OUT (SER_IMR), A ; No interrupts LD A, $05 OUT (SER_CRA), A ; Enable Transmit/Recieve RET ;--------------------------------------- ;--------------------------------------- ; Read a character from serial port A, blocking if not available SERIAL_READ: IN A, (SER_SRA) BIT 0, A ; Check if recv ready bit et JR Z, SERIAL_READ IN A, (SER_RBA) ; Read in character from A RET ;--------------------------------------- ;--------------------------------------- ; Check if character is waiting. Z clear if character avail, Z set if not SERIAL_POLL: IN A, (SER_SRA) BIT 0, A RET ;--------------------------------------- ; Write a character from serial port A, blocking till sent SERIAL_WRITE: #local PUSH BC LD B, A LOOP: IN A, (SER_SRA) BIT 2, A JP Z, LOOP LD A, B OUT (SER_TBA), A POP BC RET #endlocal ;--------------------------------------- ;--------------------------------------- ; Write a null terminated string to Serial A ; Addr to string in HL SERIAL_PUTS: #local LD A,(HL) AND 0xFF JR Z, END ; End if we hit null terminator CALL SERIAL_WRITE ; Write char INC HL JR SERIAL_PUTS ; Loop till we hit null END: RET #endlocal SERIAL_NL: LD HL, SNL JR SERIAL_PUTS SNL: DB 10,13,0 ;-------- ; Print a 1-byte hex number ; B - number SERIAL_WRHEX8: LD A, '$' CALL SERIAL_WRITE SERIAL_WRHEX8_NP: LD A, B SRL A SRL A SRL A SRL A ; Extract high nybble CALL SERIAL_WRNYB LD A, B AND $0F ; Fall into PUSHNYB (Tail call) ;-------- ; Push a nybble from A (low 4-bits, high must be 0) SERIAL_WRNYB: #local ADD '0' CP '9'+1 ; Check if A-F JR C, NOFIX ADD 'A'-('9'+1) ; Diff between 'A' and ':' NOFIX: JP SERIAL_WRITE ; Tail call #endlocal ;-------- ; Print a 2-byte hex number ; BC - number SERIAL_WRHEX16: CALL SERIAL_WRHEX8 LD B, C JP SERIAL_WRHEX8_NP ; Tail call
src/fot/DistributiveLaws/TaskB-HalvedStepsATP.agda
asr/fotc
11
11623
------------------------------------------------------------------------------ -- Distributive laws on a binary operation: Task B ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymorphism #-} {-# OPTIONS --without-K #-} module DistributiveLaws.TaskB-HalvedStepsATP where open import DistributiveLaws.Base open import Common.FOL.Relation.Binary.EqReasoning ------------------------------------------------------------------------------ -- We prove the half of the proof steps (skipping the even ones) of -- DistributiveLaws.TaskB-I using the ATPs. prop₂ : ∀ u x y z → (x · y · (z · u)) · ((x · y · (z · u)) · (x · z · (y · u))) ≡ x · z · (y · u) prop₂ u x y z = -- The numbering of the proof step justifications are associated with -- the numbers used in DistributiveLaws.TaskB-I. xy·zu · (xy·zu · xz·yu) ≡⟨ j₁₋₃ ⟩ xy·zu · (x·zu · xz·yu · (y·zu · xz·yu)) ≡⟨ j₃₋₅ ⟩ xy·zu · (xz · xu·yu · (y·zu · xz·yu)) ≡⟨ j₅₋₇ ⟩ xy·zu · (xz · xyu · (yz·yu · xz·yu)) ≡⟨ j₇₋₉ ⟩ xy·zu · (xz · xyu · (yxz · yu)) ≡⟨ j₉₋₁₁ ⟩ xy·zu · (xz · xyu · (y·xu · z·yu)) ≡⟨ j₁₁₋₁₃ ⟩ xz·yz · xyu · (xz · xyu · (y·xu · z·yu)) ≡⟨ j₁₃₋₁₅ ⟩ xz · xyu · (yz · xyu · (y·xu · z·yu)) ≡⟨ j₁₅₋₁₇ ⟩ xz · xyu · (y · xu·yu · (z · xu·yu) · (y·xu · z·yu)) ≡⟨ j₁₇₋₁₉ ⟩ xz · xyu · (y·xu · y·yu · (y·xu · z·yu) · (z · xu·yu · (y·xu · z·yu))) ≡⟨ j₁₉₋₂₁ ⟩ xz · xyu · (y·xu · yz·yu · (z · xu·yu · (y·xu · z·yu))) ≡⟨ j₂₁₋₂₃ ⟩ xz · xyu · (y · xu·zu · (z · xu·yu · (y·xu · z·yu))) ≡⟨ j₂₃₋₂₅ ⟩ (xz · xyu) · (y · xu·zu · (z·xu · y·xu · z·yu)) ≡⟨ j₂₅₋₂₇ ⟩ xz · xyu · (y · xu·zu · (zy·xu · zy·zu)) ≡⟨ j₂₇₋₂₉ ⟩ xz · xyu · (y·zy · xu·zu) ≡⟨ j₂₉₋₃₁ ⟩ xz·xy · xzu · (y·zy · xzu) ≡⟨ j₃₁₋₃₃ ⟩ x·zy · y·zy · xzu ≡⟨ j₃₃₋₃₅ ⟩ xzy · xzu ≡⟨ j₃₅ ⟩ xz·yu ∎ where -- Two variables abbreviations xz = x · z yu = y · u yz = y · z zy = z · y {-# ATP definitions xz yu yz zy #-} -- Three variables abbreviations xyu = x · y · u xzu = x · z · u xzy = x · z · y yxz = y · x · z {-# ATP definitions xyu xzu xzy yxz #-} x·zu = x · (z · u) x·zy = x · (z · y) {-# ATP definitions x·zu x·zy #-} y·xu = y · (x · u) y·yu = y · (y · u) y·zu = y · (z · u) y·zy = y · (z · y) {-# ATP definitions y·xu y·yu y·zu y·zy #-} z·xu = z · (x · u) z·yu = z · (y · u) {-# ATP definitions z·xu z·yu #-} -- Four variables abbreviations xu·yu = x · u · (y · u) xu·zu = x · u · (z · u) {-# ATP definitions xu·yu xu·zu #-} xy·zu = x · y · (z · u) {-# ATP definition xy·zu #-} xz·xy = x · z · (x · y) xz·yu = x · z · (y · u) xz·yz = x · z · (y · z) {-# ATP definitions xz·xy xz·yu xz·yz #-} yz·yu = y · z · (y · u) {-# ATP definition yz·yu #-} zy·xu = z · y · (x · u) zy·zu = z · y · (z · u) {-# ATP definitions zy·xu zy·zu #-} -- Steps justifications postulate j₁₋₃ : xy·zu · (xy·zu · xz·yu) ≡ xy·zu · (x·zu · xz·yu · (y·zu · xz·yu)) {-# ATP prove j₁₋₃ #-} postulate j₃₋₅ : xy·zu · (x·zu · xz·yu · (y·zu · xz·yu)) ≡ xy·zu · (xz · xu·yu · (y·zu · xz·yu)) {-# ATP prove j₃₋₅ #-} postulate j₅₋₇ : xy·zu · (xz · xu·yu · (y·zu · xz·yu)) ≡ xy·zu · (xz · xyu · (yz·yu · xz·yu)) {-# ATP prove j₅₋₇ #-} postulate j₇₋₉ : xy·zu · (xz · xyu · (yz·yu · xz·yu)) ≡ xy·zu · (xz · xyu · (yxz · yu)) {-# ATP prove j₇₋₉ #-} postulate j₉₋₁₁ : xy·zu · (xz · xyu · (yxz · yu)) ≡ xy·zu · (xz · xyu · (y·xu · z·yu)) {-# ATP prove j₉₋₁₁ #-} postulate j₁₁₋₁₃ : xy·zu · (xz · xyu · (y·xu · z·yu)) ≡ xz·yz · xyu · (xz · xyu · (y·xu · z·yu)) {-# ATP prove j₁₁₋₁₃ #-} postulate j₁₃₋₁₅ : xz·yz · xyu · (xz · xyu · (y·xu · z·yu)) ≡ xz · xyu · (yz · xyu · (y·xu · z·yu)) {-# ATP prove j₁₃₋₁₅ #-} postulate j₁₅₋₁₇ : xz · xyu · (yz · xyu · (y·xu · z·yu)) ≡ xz · xyu · (y · xu·yu · (z · xu·yu) · (y·xu · z·yu)) {-# ATP prove j₁₅₋₁₇ #-} postulate j₁₇₋₁₉ : xz · xyu · (y · xu·yu · (z · xu·yu) · (y·xu · z·yu)) ≡ xz · xyu · (y·xu · y·yu · (y·xu · z·yu) · (z · xu·yu · (y·xu · z·yu))) {-# ATP prove j₁₇₋₁₉ #-} postulate j₁₉₋₂₁ : xz · xyu · (y·xu · y·yu · (y·xu · z·yu) · (z · xu·yu · (y·xu · z·yu))) ≡ xz · xyu · (y·xu · yz·yu · (z · xu·yu · (y·xu · z·yu))) {-# ATP prove j₁₉₋₂₁ #-} postulate j₂₁₋₂₃ : xz · xyu · (y·xu · yz·yu · (z · xu·yu · (y·xu · z·yu))) ≡ xz · xyu · (y · xu·zu · (z · xu·yu · (y·xu · z·yu))) {-# ATP prove j₂₁₋₂₃ #-} postulate j₂₃₋₂₅ : xz · xyu · (y · xu·zu · (z · xu·yu · (y·xu · z·yu))) ≡ (xz · xyu) · (y · xu·zu · (z·xu · y·xu · z·yu)) {-# ATP prove j₂₃₋₂₅ #-} postulate j₂₅₋₂₇ : (xz · xyu) · (y · xu·zu · (z·xu · y·xu · z·yu)) ≡ xz · xyu · (y · xu·zu · (zy·xu · zy·zu)) {-# ATP prove j₂₅₋₂₇ #-} postulate j₂₇₋₂₉ : xz · xyu · (y · xu·zu · (zy·xu · zy·zu)) ≡ xz · xyu · (y·zy · xu·zu) {-# ATP prove j₂₇₋₂₉ #-} postulate j₂₉₋₃₁ : xz · xyu · (y·zy · xu·zu) ≡ xz·xy · xzu · (y·zy · xzu) {-# ATP prove j₂₉₋₃₁ #-} postulate j₃₁₋₃₃ : xz·xy · xzu · (y·zy · xzu) ≡ x·zy · y·zy · xzu {-# ATP prove j₃₁₋₃₃ #-} postulate j₃₃₋₃₅ : x·zy · y·zy · xzu ≡ xzy · xzu {-# ATP prove j₃₃₋₃₅ #-} postulate j₃₅ : xzy · xzu ≡ xz·yu {-# ATP prove j₃₅ #-}
CpuX64/TestData/hello.asm
robertmuth/Cwerg
171
25462
<reponame>robertmuth/Cwerg .mem fmt 4 rodata .data 1 "hello, world (x64)\n" .endmem .fun _start 16 mov_64_mr_imm32 rdi 1 # stdout mov_64_mr_imm32 rdx 0x13 # size of string lea_64_r_mpc32 rsi rip expr:pcrel32:fmt mov_64_mr_imm32 rax 1 # sycall write syscall xor_64_mr_r rdi rdi mov_64_mr_imm32 rax 0x3c # syscall exit syscall .endfun
oeis/007/A007750.asm
neoneye/loda-programs
11
167483
<reponame>neoneye/loda-programs ; A007750: Nonnegative integers n such that n^2*(n+1)*(2*n+1)^2*(7*n+1)/36 is a square. ; Submitted by <NAME> ; 0,1,7,24,120,391,1921,6240,30624,99457,488071,1585080,7778520,25261831,123968257,402604224,1975713600,6416405761,31487449351,102259887960,501823476024,1629741801607,7997688167041,25973608937760,127461187196640,413948001202561,2031381306979207,6597194410303224,32374639724470680,105141162563649031,515962854284551681,1675661406608081280,8223031028828356224,26705441343165651457,131052533606969147911,425611400084042342040,2088617506682678010360,6783076960001511821191,33286827573315879017857 add $0,1 mul $0,2 mov $1,-1 mov $3,1 lpb $0 sub $0,1 add $2,$3 mov $3,$1 mov $1,$2 add $1,5 dif $2,4 add $3,$2 lpe mov $0,$3 div $0,16
src/account-vector.ads
xiashuangxi/coconut
0
13924
<filename>src/account-vector.ads<gh_stars>0 with Account.Default_Account; use Account.Default_Account; with Ada.Containers.Vectors; package Account.Vector is package Account_Vector is new Ada.Containers.Vectors (Element_Type => Default_Account.Instance, Index_Type => Natural); use Account_Vector; subtype Account_Stack is Account_Vector.Vector; procedure Add(Item: in out Account_Stack; C: in Default_Account.Instance); procedure Delete(Item: in out Account_Stack; C: in Default_Account.Instance); procedure Delete(Item: in out Account_Stack; I: Integer); end Account.Vector;
antlr/grulev3.g4
niallnsec/grule-rule-engine
0
5144
<reponame>niallnsec/grule-rule-engine<gh_stars>0 grammar grulev3; // PARSER HERE grl : ruleEntry* EOF ; ruleEntry : RULE ruleName ruleDescription? salience? LR_BRACE whenScope thenScope RR_BRACE ; salience : SALIENCE integerLiteral ; ruleName : SIMPLENAME ; ruleDescription : DQUOTA_STRING | SQUOTA_STRING ; whenScope : WHEN expression ; thenScope : THEN thenExpressionList ; thenExpressionList : thenExpression+ ; thenExpression : assignment SEMICOLON | functionCall SEMICOLON | variable methodCall SEMICOLON ; assignment : variable (ASSIGN | PLUS_ASIGN | MINUS_ASIGN | DIV_ASIGN | MUL_ASIGN) expression ; expression : expression mulDivOperators expression | expression addMinusOperators expression | expression comparisonOperator expression | expression andLogicOperator expression | expression orLogicOperator expression | NEGATION? LR_BRACKET expression RR_BRACKET | expressionAtom ; mulDivOperators : MUL | DIV | MOD ; addMinusOperators : PLUS | MINUS | BITAND | BITOR ; comparisonOperator : GT | LT | GTE | LTE | EQUALS | NOTEQUALS ; andLogicOperator : AND ; orLogicOperator : OR ; expressionAtom : constant | functionCall | variable | expressionAtom methodCall | expressionAtom memberVariable | NEGATION expressionAtom ; constant : stringLiteral | integerLiteral | floatLiteral | booleanLiteral | NIL_LITERAL ; variable : SIMPLENAME | variable memberVariable | variable arrayMapSelector ; arrayMapSelector : LS_BRACKET expression RS_BRACKET ; memberVariable : DOT SIMPLENAME ; functionCall : SIMPLENAME LR_BRACKET argumentList? RR_BRACKET ; methodCall : DOT functionCall ; argumentList : expression ( ',' expression )* ; floatLiteral : decimalFloatLiteral | hexadecimalFloatLiteral ; decimalFloatLiteral : MINUS? DECIMAL_FLOAT_LIT ; hexadecimalFloatLiteral : MINUS? HEX_FLOAT_LIT ; integerLiteral : decimalLiteral | hexadecimalLiteral | octalLiteral ; decimalLiteral : MINUS? DEC_LIT ; hexadecimalLiteral : MINUS? HEX_LIT ; octalLiteral : MINUS? OCT_LIT ; stringLiteral : DQUOTA_STRING | SQUOTA_STRING ; booleanLiteral : TRUE | FALSE ; // LEXER HERE fragment A : [aA] ; fragment B : [bB] ; fragment C : [cC] ; fragment D : [dD] ; fragment E : [eE] ; fragment F : [fF] ; fragment G : [gG] ; fragment H : [hH] ; fragment I : [iI] ; fragment J : [jJ] ; fragment K : [kK] ; fragment L : [lL] ; fragment M : [mM] ; fragment N : [nN] ; fragment O : [oO] ; fragment P : [pP] ; fragment Q : [qQ] ; fragment R : [rR] ; fragment S : [sS] ; fragment T : [tT] ; fragment U : [uU] ; fragment V : [vV] ; fragment W : [wW] ; fragment X : [xX] ; fragment Y : [yY] ; fragment Z : [zZ] ; PLUS : '+' ; MINUS : '-' ; DIV : '/' ; MUL : '*' ; MOD : '%' ; DOT : '.' ; SEMICOLON : ';' ; LR_BRACE : '{'; RR_BRACE : '}'; LR_BRACKET : '('; RR_BRACKET : ')'; LS_BRACKET : '['; RS_BRACKET : ']'; RULE : R U L E ; WHEN : W H E N ; THEN : T H E N ; AND : '&&' ; OR : '||' ; TRUE : T R U E ; FALSE : F A L S E ; NIL_LITERAL : N I L ; NEGATION : '!' ; SALIENCE : S A L I E N C E ; EQUALS : '==' ; ASSIGN : '=' ; PLUS_ASIGN : '+=' ; MINUS_ASIGN : '-=' ; DIV_ASIGN : '/=' ; MUL_ASIGN : '*=' ; GT : '>' ; LT : '<' ; GTE : '>=' ; LTE : '<=' ; NOTEQUALS : '!=' ; BITAND : '&'; BITOR : '|'; SIMPLENAME : [a-zA-Z] [a-zA-Z0-9]*; DQUOTA_STRING : '"' ( '\\'. | '""' | ~('"'| '\\') )* '"'; SQUOTA_STRING : '\'' ('\\'. | '\'\'' | ~('\'' | '\\'))* '\''; DECIMAL_FLOAT_LIT : DEC_LIT DOT DEC_LIT DECIMAL_EXPONENT? | DEC_LIT DECIMAL_EXPONENT | DOT DEC_LIT DECIMAL_EXPONENT? ; DECIMAL_EXPONENT : E (PLUS|MINUS)? DEC_DIGITS; HEX_FLOAT_LIT : '0' X HEX_MANTISA HEX_EXPONENT ; fragment HEX_MANTISA : HEX_DIGITS DOT HEX_DIGITS? | HEX_DIGITS | DOT HEX_DIGITS ; HEX_EXPONENT : P (PLUS|MINUS)? DEC_DIGITS ; DEC_LIT : '0' | [1-9] DEC_DIGITS? ; HEX_LIT : '0' X HEX_DIGITS; OCT_LIT : '0' OCT_DIGITS; fragment HEX_DIGITS : HEX_DIGIT+; fragment DEC_DIGITS : DEC_DIGIT+; fragment OCT_DIGITS : OCT_DIGIT+; fragment DEC_DIGIT : [0-9]; fragment OCT_DIGIT : [0-7]; fragment HEX_DIGIT : [0-9a-fA-F]; // IGNORED TOKENS SPACE : [ \t\r\n]+ -> skip; COMMENT : '/*' .*? '*/' -> skip; LINE_COMMENT : '//' ~[\r\n]* -> skip;
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt59_pkg.adb
best08618/asylo
7
23246
package body Opt59_Pkg is function Get_BV1 return Boolean_Vector is begin return (others => True); end; function Get_BV2 return Boolean_Vector is begin return (others => False); end; procedure Test (B : Boolean) is begin if not B then raise Program_Error; end if; end; end Opt59_Pkg;
src/core/config.adb
Okasu/Byron
1
14776
with Ada.Text_IO; use Ada.Text_IO; package body Config is procedure Parse (File_Name : String) is function Get_Value (Input : Unbounded_String) return Unbounded_String is Result : Unbounded_String; begin for I in Index (Input, ":") + 1 .. Length (Input) loop Result := Result & Element (Input, I); end loop; return Result; end Get_Value; Config_File : File_Type; Line : Unbounded_String; Char : Character; begin Open (Config_File, In_File, File_Name); while not End_Of_File (Config_File) loop while not End_Of_Line (Config_File) loop Get (Config_File, Char); if not (Char = ' ') then Line := Line & Char; end if; end loop; declare Str : constant String := To_String (Line); begin if Str (1 .. 6) = "server" then Server := Get_Value (Line); elsif Str (1 .. 4) = "port" then Port := Integer'Value (To_String (Get_Value (Line))); elsif Str (1 .. 4) = "nick" then Nick := Get_Value (Line); elsif Str (1 .. 8) = "password" then Password := Get_Value (Line); elsif Str (1 .. 8) = "channels" then Channels := Words (GSub (Get_Value (Line), "#", " ")); elsif Str (1 .. 5) = "owner" then Owner := Get_Value (Line); elsif Str (1 .. 6) = "prefix" then Prefix := Element (Get_Value (Line), 1); end if; end; Delete (Line, 1, Length (Line)); Skip_Line (Config_File); end loop; Close (Config_File); end Parse; end Config;
UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/SmiException.asm
James992927108/uEFI_Edk2_Practice
1
100204
<reponame>James992927108/uEFI_Edk2_Practice ;------------------------------------------------------------------------------ ; ; Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR> ; This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distribution. The full text of the license may be found at ; http://opensource.org/licenses/bsd-license.php. ; ; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, ; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. ; ; Module Name: ; ; SmiException.asm ; ; Abstract: ; ; Exception handlers used in SM mode ; ;------------------------------------------------------------------------------- .686p .model flat,C EXTERNDEF SmiPFHandler:PROC EXTERNDEF PageFaultStubFunction:PROC EXTERNDEF gcSmiIdtr:FWORD EXTERNDEF gcSmiGdtr:FWORD EXTERNDEF gTaskGateDescriptor:QWORD EXTERNDEF gcPsd:BYTE EXTERNDEF FeaturePcdGet (PcdCpuSmmProfileEnable):BYTE .data NullSeg DQ 0 ; reserved by architecture CodeSeg32 LABEL QWORD DW -1 ; LimitLow DW 0 ; BaseLow DB 0 ; BaseMid DB 9bh DB 0cfh ; LimitHigh DB 0 ; BaseHigh ProtModeCodeSeg32 LABEL QWORD DW -1 ; LimitLow DW 0 ; BaseLow DB 0 ; BaseMid DB 9bh DB 0cfh ; LimitHigh DB 0 ; BaseHigh ProtModeSsSeg32 LABEL QWORD DW -1 ; LimitLow DW 0 ; BaseLow DB 0 ; BaseMid DB 93h DB 0cfh ; LimitHigh DB 0 ; BaseHigh DataSeg32 LABEL QWORD DW -1 ; LimitLow DW 0 ; BaseLow DB 0 ; BaseMid DB 93h DB 0cfh ; LimitHigh DB 0 ; BaseHigh CodeSeg16 LABEL QWORD DW -1 DW 0 DB 0 DB 9bh DB 8fh DB 0 DataSeg16 LABEL QWORD DW -1 DW 0 DB 0 DB 93h DB 8fh DB 0 CodeSeg64 LABEL QWORD DW -1 ; LimitLow DW 0 ; BaseLow DB 0 ; BaseMid DB 9bh DB 0afh ; LimitHigh DB 0 ; BaseHigh GDT_SIZE = $ - offset NullSeg TssSeg LABEL QWORD DW TSS_DESC_SIZE - 1 ; LimitLow DW 0 ; BaseLow DB 0 ; BaseMid DB 89h DB 00h ; LimitHigh DB 0 ; BaseHigh ExceptionTssSeg LABEL QWORD DW TSS_DESC_SIZE - 1 ; LimitLow DW 0 ; BaseLow DB 0 ; BaseMid DB 89h DB 00h ; LimitHigh DB 0 ; BaseHigh CODE_SEL = offset CodeSeg32 - offset NullSeg DATA_SEL = offset DataSeg32 - offset NullSeg TSS_SEL = offset TssSeg - offset NullSeg EXCEPTION_TSS_SEL = offset ExceptionTssSeg - offset NullSeg IA32_TSS STRUC DW ? DW ? ESP0 DD ? SS0 DW ? DW ? ESP1 DD ? SS1 DW ? DW ? ESP2 DD ? SS2 DW ? DW ? _CR3 DD ? EIP DD ? EFLAGS DD ? _EAX DD ? _ECX DD ? _EDX DD ? _EBX DD ? _ESP DD ? _EBP DD ? _ESI DD ? _EDI DD ? _ES DW ? DW ? _CS DW ? DW ? _SS DW ? DW ? _DS DW ? DW ? _FS DW ? DW ? _GS DW ? DW ? LDT DW ? DW ? DW ? DW ? IA32_TSS ENDS ; Create 2 TSS segments just after GDT TssDescriptor LABEL BYTE DW 0 ; PreviousTaskLink DW 0 ; Reserved DD 0 ; ESP0 DW 0 ; SS0 DW 0 ; Reserved DD 0 ; ESP1 DW 0 ; SS1 DW 0 ; Reserved DD 0 ; ESP2 DW 0 ; SS2 DW 0 ; Reserved DD 0 ; CR3 DD 0 ; EIP DD 0 ; EFLAGS DD 0 ; EAX DD 0 ; ECX DD 0 ; EDX DD 0 ; EBX DD 0 ; ESP DD 0 ; EBP DD 0 ; ESI DD 0 ; EDI DW 0 ; ES DW 0 ; Reserved DW 0 ; CS DW 0 ; Reserved DW 0 ; SS DW 0 ; Reserved DW 0 ; DS DW 0 ; Reserved DW 0 ; FS DW 0 ; Reserved DW 0 ; GS DW 0 ; Reserved DW 0 ; LDT Selector DW 0 ; Reserved DW 0 ; T DW 0 ; I/O Map Base TSS_DESC_SIZE = $ - offset TssDescriptor ExceptionTssDescriptor LABEL BYTE DW 0 ; PreviousTaskLink DW 0 ; Reserved DD 0 ; ESP0 DW 0 ; SS0 DW 0 ; Reserved DD 0 ; ESP1 DW 0 ; SS1 DW 0 ; Reserved DD 0 ; ESP2 DW 0 ; SS2 DW 0 ; Reserved DD 0 ; CR3 DD offset PFHandlerEntry ; EIP DD 00000002 ; EFLAGS DD 0 ; EAX DD 0 ; ECX DD 0 ; EDX DD 0 ; EBX DD 0 ; ESP DD 0 ; EBP DD 0 ; ESI DD 0 ; EDI DW DATA_SEL ; ES DW 0 ; Reserved DW CODE_SEL ; CS DW 0 ; Reserved DW DATA_SEL ; SS DW 0 ; Reserved DW DATA_SEL ; DS DW 0 ; Reserved DW DATA_SEL ; FS DW 0 ; Reserved DW DATA_SEL ; GS DW 0 ; Reserved DW 0 ; LDT Selector DW 0 ; Reserved DW 0 ; T DW 0 ; I/O Map Base gcPsd LABEL BYTE DB 'PSDSIG ' DW PSD_SIZE DW 2 DW 1 SHL 2 DW CODE_SEL DW DATA_SEL DW DATA_SEL DW DATA_SEL DW 0 DQ 0 DQ 0 DQ 0 DQ offset NullSeg DD GDT_SIZE DD 0 DB 24 dup (0) DQ 0 PSD_SIZE = $ - offset gcPsd gcSmiGdtr LABEL FWORD DW GDT_SIZE - 1 DD offset NullSeg gcSmiIdtr LABEL FWORD DW 0 DD 0 gTaskGateDescriptor LABEL QWORD DW 0 ; Reserved DW EXCEPTION_TSS_SEL ; TSS Segment selector DB 0 ; Reserved DB 85h ; Task Gate, present, DPL = 0 DW 0 ; Reserved .code ;------------------------------------------------------------------------------ ; PageFaultIdtHandlerSmmProfile is the entry point page fault only ; ; ; Stack: ; +---------------------+ ; + EFlags + ; +---------------------+ ; + CS + ; +---------------------+ ; + EIP + ; +---------------------+ ; + Error Code + ; +---------------------+ ; + Vector Number + ; +---------------------+ ; + EBP + ; +---------------------+ <-- EBP ; ; ;------------------------------------------------------------------------------ PageFaultIdtHandlerSmmProfile PROC push 0eh ; Page Fault push ebp mov ebp, esp ; ; Align stack to make sure that EFI_FX_SAVE_STATE_IA32 of EFI_SYSTEM_CONTEXT_IA32 ; is 16-byte aligned ; and esp, 0fffffff0h sub esp, 12 ;; UINT32 Edi, Esi, Ebp, Esp, Ebx, Edx, Ecx, Eax; push eax push ecx push edx push ebx lea ecx, [ebp + 6 * 4] push ecx ; ESP push dword ptr [ebp] ; EBP push esi push edi ;; UINT32 Gs, Fs, Es, Ds, Cs, Ss; mov eax, ss push eax movzx eax, word ptr [ebp + 4 * 4] push eax mov eax, ds push eax mov eax, es push eax mov eax, fs push eax mov eax, gs push eax ;; UINT32 Eip; mov eax, [ebp + 3 * 4] push eax ;; UINT32 Gdtr[2], Idtr[2]; sub esp, 8 sidt [esp] mov eax, [esp + 2] xchg eax, [esp] and eax, 0FFFFh mov [esp+4], eax sub esp, 8 sgdt [esp] mov eax, [esp + 2] xchg eax, [esp] and eax, 0FFFFh mov [esp+4], eax ;; UINT32 Ldtr, Tr; xor eax, eax str ax push eax sldt ax push eax ;; UINT32 EFlags; mov eax, [ebp + 5 * 4] push eax ;; UINT32 Cr0, Cr1, Cr2, Cr3, Cr4; mov eax, cr4 or eax, 208h mov cr4, eax push eax mov eax, cr3 push eax mov eax, cr2 push eax xor eax, eax push eax mov eax, cr0 push eax ;; UINT32 Dr0, Dr1, Dr2, Dr3, Dr6, Dr7; mov eax, dr7 push eax mov eax, dr6 push eax mov eax, dr3 push eax mov eax, dr2 push eax mov eax, dr1 push eax mov eax, dr0 push eax ;; FX_SAVE_STATE_IA32 FxSaveState; sub esp, 512 mov edi, esp db 0fh, 0aeh, 07h ;fxsave [edi] ; UEFI calling convention for IA32 requires that Direction flag in EFLAGs is clear cld ;; UINT32 ExceptionData; push dword ptr [ebp + 2 * 4] ;; call into exception handler ;; Prepare parameter and call mov edx, esp push edx mov edx, dword ptr [ebp + 1 * 4] push edx ; ; Call External Exception Handler ; mov eax, SmiPFHandler call eax add esp, 8 ;; UINT32 ExceptionData; add esp, 4 ;; FX_SAVE_STATE_IA32 FxSaveState; mov esi, esp db 0fh, 0aeh, 0eh ; fxrstor [esi] add esp, 512 ;; UINT32 Dr0, Dr1, Dr2, Dr3, Dr6, Dr7; ;; Skip restoration of DRx registers to support debuggers ;; that set breakpoint in interrupt/exception context add esp, 4 * 6 ;; UINT32 Cr0, Cr1, Cr2, Cr3, Cr4; pop eax mov cr0, eax add esp, 4 ; not for Cr1 pop eax mov cr2, eax pop eax mov cr3, eax pop eax mov cr4, eax ;; UINT32 EFlags; pop dword ptr [ebp + 5 * 4] ;; UINT32 Ldtr, Tr; ;; UINT32 Gdtr[2], Idtr[2]; ;; Best not let anyone mess with these particular registers... add esp, 24 ;; UINT32 Eip; pop dword ptr [ebp + 3 * 4] ;; UINT32 Gs, Fs, Es, Ds, Cs, Ss; ;; NOTE - modified segment registers could hang the debugger... We ;; could attempt to insulate ourselves against this possibility, ;; but that poses risks as well. ;; pop gs pop fs pop es pop ds pop dword ptr [ebp + 4 * 4] pop ss ;; UINT32 Edi, Esi, Ebp, Esp, Ebx, Edx, Ecx, Eax; pop edi pop esi add esp, 4 ; not for ebp add esp, 4 ; not for esp pop ebx pop edx pop ecx pop eax mov esp, ebp pop ebp ; Enable TF bit after page fault handler runs bts dword ptr [esp + 16], 8 ; EFLAGS add esp, 8 ; skip INT# & ErrCode Return: iretd ; ; Page Fault Exception Handler entry when SMM Stack Guard is enabled ; Executiot starts here after a task switch ; PFHandlerEntry:: ; ; Get this processor's TSS ; sub esp, 8 sgdt [esp + 2] mov eax, [esp + 4] ; GDT base add esp, 8 mov ecx, [eax + TSS_SEL + 2] shl ecx, 8 mov cl, [eax + TSS_SEL + 7] ror ecx, 8 ; ecx = TSS base mov ebp, esp ; ; Align stack to make sure that EFI_FX_SAVE_STATE_IA32 of EFI_SYSTEM_CONTEXT_IA32 ; is 16-byte aligned ; and esp, 0fffffff0h sub esp, 12 ;; UINT32 Edi, Esi, Ebp, Esp, Ebx, Edx, Ecx, Eax; push (IA32_TSS ptr [ecx])._EAX push (IA32_TSS ptr [ecx])._ECX push (IA32_TSS ptr [ecx])._EDX push (IA32_TSS ptr [ecx])._EBX push (IA32_TSS ptr [ecx])._ESP push (IA32_TSS ptr [ecx])._EBP push (IA32_TSS ptr [ecx])._ESI push (IA32_TSS ptr [ecx])._EDI ;; UINT32 Gs, Fs, Es, Ds, Cs, Ss; movzx eax, (IA32_TSS ptr [ecx])._SS push eax movzx eax, (IA32_TSS ptr [ecx])._CS push eax movzx eax, (IA32_TSS ptr [ecx])._DS push eax movzx eax, (IA32_TSS ptr [ecx])._ES push eax movzx eax, (IA32_TSS ptr [ecx])._FS push eax movzx eax, (IA32_TSS ptr [ecx])._GS push eax ;; UINT32 Eip; push (IA32_TSS ptr [ecx]).EIP ;; UINT32 Gdtr[2], Idtr[2]; sub esp, 8 sidt [esp] mov eax, [esp + 2] xchg eax, [esp] and eax, 0FFFFh mov [esp+4], eax sub esp, 8 sgdt [esp] mov eax, [esp + 2] xchg eax, [esp] and eax, 0FFFFh mov [esp+4], eax ;; UINT32 Ldtr, Tr; mov eax, TSS_SEL push eax movzx eax, (IA32_TSS ptr [ecx]).LDT push eax ;; UINT32 EFlags; push (IA32_TSS ptr [ecx]).EFLAGS ;; UINT32 Cr0, Cr1, Cr2, Cr3, Cr4; mov eax, cr4 or eax, 208h mov cr4, eax push eax mov eax, cr3 push eax mov eax, cr2 push eax xor eax, eax push eax mov eax, cr0 push eax ;; UINT32 Dr0, Dr1, Dr2, Dr3, Dr6, Dr7; mov eax, dr7 push eax mov eax, dr6 push eax mov eax, dr3 push eax mov eax, dr2 push eax mov eax, dr1 push eax mov eax, dr0 push eax ;; FX_SAVE_STATE_IA32 FxSaveState; ;; Clear TS bit in CR0 to avoid Device Not Available Exception (#NM) ;; when executing fxsave/fxrstor instruction clts sub esp, 512 mov edi, esp db 0fh, 0aeh, 07h ;fxsave [edi] ; UEFI calling convention for IA32 requires that Direction flag in EFLAGs is clear cld ;; UINT32 ExceptionData; push dword ptr [ebp] ;; call into exception handler mov ebx, ecx mov eax, SmiPFHandler ;; Prepare parameter and call mov edx, esp push edx mov edx, 14 push edx ; ; Call External Exception Handler ; call eax add esp, 8 mov ecx, ebx ;; UINT32 ExceptionData; add esp, 4 ;; FX_SAVE_STATE_IA32 FxSaveState; mov esi, esp db 0fh, 0aeh, 0eh ; fxrstor [esi] add esp, 512 ;; UINT32 Dr0, Dr1, Dr2, Dr3, Dr6, Dr7; ;; Skip restoration of DRx registers to support debuggers ;; that set breakpoints in interrupt/exception context add esp, 4 * 6 ;; UINT32 Cr0, Cr1, Cr2, Cr3, Cr4; pop eax mov cr0, eax add esp, 4 ; not for Cr1 pop eax mov cr2, eax pop eax mov (IA32_TSS ptr [ecx])._CR3, eax pop eax mov cr4, eax ;; UINT32 EFlags; pop (IA32_TSS ptr [ecx]).EFLAGS ;; UINT32 Ldtr, Tr; ;; UINT32 Gdtr[2], Idtr[2]; ;; Best not let anyone mess with these particular registers... add esp, 24 ;; UINT32 Eip; pop (IA32_TSS ptr [ecx]).EIP ;; UINT32 Gs, Fs, Es, Ds, Cs, Ss; ;; NOTE - modified segment registers could hang the debugger... We ;; could attempt to insulate ourselves against this possibility, ;; but that poses risks as well. ;; pop eax mov (IA32_TSS ptr [ecx])._GS, ax pop eax mov (IA32_TSS ptr [ecx])._FS, ax pop eax mov (IA32_TSS ptr [ecx])._ES, ax pop eax mov (IA32_TSS ptr [ecx])._DS, ax pop eax mov (IA32_TSS ptr [ecx])._CS, ax pop eax mov (IA32_TSS ptr [ecx])._SS, ax ;; UINT32 Edi, Esi, Ebp, Esp, Ebx, Edx, Ecx, Eax; pop (IA32_TSS ptr [ecx])._EDI pop (IA32_TSS ptr [ecx])._ESI add esp, 4 ; not for ebp add esp, 4 ; not for esp pop (IA32_TSS ptr [ecx])._EBX pop (IA32_TSS ptr [ecx])._EDX pop (IA32_TSS ptr [ecx])._ECX pop (IA32_TSS ptr [ecx])._EAX mov esp, ebp ; Set single step DB# if SMM profile is enabled and page fault exception happens cmp FeaturePcdGet (PcdCpuSmmProfileEnable), 0 jz @Done2 ; Create return context for iretd in stub function mov eax, (IA32_TSS ptr [ecx])._ESP ; Get old stack pointer mov ebx, (IA32_TSS ptr [ecx]).EIP mov [eax - 0ch], ebx ; create EIP in old stack movzx ebx, (IA32_TSS ptr [ecx])._CS mov [eax - 08h], ebx ; create CS in old stack mov ebx, (IA32_TSS ptr [ecx]).EFLAGS bts ebx, 8 mov [eax - 04h], ebx ; create eflags in old stack mov eax, (IA32_TSS ptr [ecx])._ESP ; Get old stack pointer sub eax, 0ch ; minus 12 byte mov (IA32_TSS ptr [ecx])._ESP, eax ; Set new stack pointer ; Replace the EIP of interrupted task with stub function mov eax, PageFaultStubFunction mov (IA32_TSS ptr [ecx]).EIP, eax ; Jump to the iretd so next page fault handler as a task will start again after iretd. @Done2: add esp, 4 ; skip ErrCode jmp Return PageFaultIdtHandlerSmmProfile ENDP PageFaultStubFunction PROC ; ; we need clean TS bit in CR0 to execute ; x87 FPU/MMX/SSE/SSE2/SSE3/SSSE3/SSE4 instructions. ; clts iretd PageFaultStubFunction ENDP END
Cubical/Categories/Functor/Base.agda
FernandoLarrain/cubical
1
6991
<gh_stars>1-10 {-# OPTIONS --safe #-} module Cubical.Categories.Functor.Base where open import Cubical.Foundations.Prelude open import Cubical.Data.Sigma open import Cubical.Categories.Category private variable ℓC ℓC' ℓD ℓD' : Level record Functor (C : Category ℓC ℓC') (D : Category ℓD ℓD') : Type (ℓ-max (ℓ-max ℓC ℓC') (ℓ-max ℓD ℓD')) where no-eta-equality open Category field F-ob : C .ob → D .ob F-hom : {x y : C .ob} → C [ x , y ] → D [ F-ob x , F-ob y ] F-id : {x : C .ob} → F-hom (C .id) ≡ D .id {x = F-ob x} F-seq : {x y z : C .ob} (f : C [ x , y ]) (g : C [ y , z ]) → F-hom (f ⋆⟨ C ⟩ g) ≡ (F-hom f) ⋆⟨ D ⟩ (F-hom g) isFull = (x y : _) (F[f] : D [ F-ob x , F-ob y ]) → ∃[ f ∈ C [ x , y ] ] F-hom f ≡ F[f] isFaithful = (x y : _) (f g : C [ x , y ]) → F-hom f ≡ F-hom g → f ≡ g isEssentiallySurj = (d : D .ob) → Σ[ c ∈ C .ob ] CatIso D (F-ob c) d private variable ℓ ℓ' : Level C D E : Category ℓ ℓ' open Category open Functor -- Helpful notation -- action on objects infix 30 _⟅_⟆ _⟅_⟆ : (F : Functor C D) → C .ob → D .ob _⟅_⟆ = F-ob -- action on morphisms infix 30 _⟪_⟫ -- same infix level as on objects since these will never be used in the same context _⟪_⟫ : (F : Functor C D) → ∀ {x y} → C [ x , y ] → D [(F ⟅ x ⟆) , (F ⟅ y ⟆)] _⟪_⟫ = F-hom -- Functor constructions 𝟙⟨_⟩ : ∀ (C : Category ℓ ℓ') → Functor C C 𝟙⟨ C ⟩ .F-ob x = x 𝟙⟨ C ⟩ .F-hom f = f 𝟙⟨ C ⟩ .F-id = refl 𝟙⟨ C ⟩ .F-seq _ _ = refl -- functor composition funcComp : ∀ (G : Functor D E) (F : Functor C D) → Functor C E (funcComp G F) .F-ob c = G ⟅ F ⟅ c ⟆ ⟆ (funcComp G F) .F-hom f = G ⟪ F ⟪ f ⟫ ⟫ (funcComp G F) .F-id = cong (G ⟪_⟫) (F .F-id) ∙ G .F-id (funcComp G F) .F-seq f g = cong (G ⟪_⟫) (F .F-seq _ _) ∙ G .F-seq _ _ infixr 30 funcComp syntax funcComp G F = G ∘F F _^opF : Functor C D → Functor (C ^op) (D ^op) (F ^opF) .F-ob = F .F-ob (F ^opF) .F-hom = F .F-hom (F ^opF) .F-id = F .F-id (F ^opF) .F-seq f g = F .F-seq g f
extensions/adapters/vector/src/main/antlr4/org/locationtech/geowave/adapter/vector/query/gwql/parse/GWQL.g4
Maxar-Corp/sh-geowave
0
1445
grammar GWQL; options { language = Java; } @header { import java.util.List; import org.geotools.filter.text.cql2.CQLException; import org.geotools.filter.text.ecql.ECQL; import org.opengis.filter.Filter; import com.google.common.collect.Lists; import org.locationtech.geowave.adapter.vector.query.gwql.*; import org.locationtech.geowave.adapter.vector.query.gwql.statement.*; } @parser::members { public static Statement parseStatement(final String statement) { GWQLLexer lexer = new GWQLLexer(CharStreams.fromString(statement)); TokenStream tokenStream = new CommonTokenStream(lexer); GWQLParser parser = new GWQLParser(tokenStream); parser.removeErrorListeners(); parser.addErrorListener(new ErrorListener()); return parser.query().stmt; } } query returns [ Statement stmt ] : statement (';')* EOF { $stmt = $statement.stmt; } | error { $stmt=null; } ; statement returns [ Statement stmt ] : select_statement { $stmt = $select_statement.stmt; } | delete_statement { $stmt = $delete_statement.stmt; } ; delete_statement returns [ DeleteStatement stmt ] locals [ Filter filter = null ] : K_DELETE K_FROM qualified_type_name ( K_WHERE cql_filter { $filter = $cql_filter.filter; })? { $stmt = new DeleteStatement($qualified_type_name.qtn, $filter); } ; select_statement returns [ SelectStatement stmt ] locals [ Filter filter = null, Integer limit = null, List<Selector> selectorList = Lists.newArrayList() ] : K_SELECT selectors[$selectorList] K_FROM qualified_type_name ( K_WHERE cql_filter { $filter = $cql_filter.filter; })? ( K_LIMIT INTEGER { $limit = $INTEGER.int; })? { $stmt = new SelectStatement($qualified_type_name.qtn, $selectorList, $filter, $limit); } ; error : UNEXPECTED_CHAR { throw new RuntimeException("UNEXPECTED_CHAR=" + $UNEXPECTED_CHAR.text); } ; qualified_type_name returns [ QualifiedTypeName qtn ] : store_name '.' table_name { $qtn = new QualifiedTypeName($store_name.text, $table_name.text); } ; selectors [List<Selector> selectorList] : agg1=aggregate { $selectorList.add($agg1.sel); } (',' aggN=aggregate { $selectorList.add($aggN.sel); } )* | sel1=selector { $selectorList.add($sel1.sel); } (',' selN=selector { $selectorList.add($selN.sel); } )* | '*' ; selector returns [ ColumnSelector sel ] locals [ String alias = null ] : column_name ( K_AS column_alias { $alias = $column_alias.text; } )? { $sel = new ColumnSelector($column_name.text, $alias); } ; aggregate returns [ AggregationSelector sel ] locals [ String alias = null ] : function_name '(' function_arg ')' ( K_AS column_alias { $alias = $column_alias.text; } )? { $sel = new AggregationSelector($function_name.text, new String[] { $function_arg.text }, $alias); } ; function_arg : '*' | column_name ; column_name : IDENTIFIER ; column_alias : IDENTIFIER ; store_name : IDENTIFIER ; table_name : IDENTIFIER ; function_name : IDENTIFIER ; cql_filter returns [ Filter filter ] locals [ int openCount = 1 ] : K_CQL cql_paren { try { $filter = ECQL.toFilter($cql_paren.text); } catch (CQLException e) { throw new RuntimeException("Invalid CQL", e); } } ; cql_paren : '(' ( ~('(' | ')') | cql_paren )* ')' ; keyword : K_AND | K_DELETE | K_FROM | K_LIMIT | K_OR | K_SELECT | K_WHERE ; K_AND : A N D; K_AS : A S; K_CQL : C Q L; K_DELETE : D E L E T E; K_FROM : F R O M; K_LIMIT : L I M I T; K_OR : O R; K_SELECT : S E L E C T; K_WHERE : W H E R E; IDENTIFIER : ESCAPED_IDENTIFIER { String txt = getText(); // strip the leading and trailing characters that wrap the identifier when using unconventional naming txt = txt.substring(1, txt.length() - 1); setText(txt); } | [a-zA-Z_] [a-zA-Z_0-9]* // TODO check: needs more chars in set ; ESCAPED_IDENTIFIER : '"' (~'"' | '""')* '"' | '`' (~'`' | '``')* '`' | '[' ~']'* ']' ; INTEGER : DIGIT+ ; NUMERIC_LITERAL : DIGIT+ ( '.' DIGIT* )? ( E [-+]? DIGIT+ )? | '.' DIGIT+ ( E [-+]? DIGIT+ )? ; WHITESPACE: [ \t\n\r\f] -> channel(HIDDEN); UNEXPECTED_CHAR : . ; fragment DIGIT : [0-9]; fragment A : [aA]; fragment B : [bB]; fragment C : [cC]; fragment D : [dD]; fragment E : [eE]; fragment F : [fF]; fragment G : [gG]; fragment H : [hH]; fragment I : [iI]; fragment J : [jJ]; fragment K : [kK]; fragment L : [lL]; fragment M : [mM]; fragment N : [nN]; fragment O : [oO]; fragment P : [pP]; fragment Q : [qQ]; fragment R : [rR]; fragment S : [sS]; fragment T : [tT]; fragment U : [uU]; fragment V : [vV]; fragment W : [wW]; fragment X : [xX]; fragment Y : [yY]; fragment Z : [zZ];
programs/oeis/297/A297250.asm
neoneye/loda
22
86478
; A297250: Numbers whose base-3 digits having equal up-variation and down-variation; see Comments. ; 1,2,4,8,10,13,16,20,23,26,28,31,34,37,40,43,46,49,52,56,59,62,65,68,71,74,77,80,82,85,88,91,94,97,100,103,106,109,112,115,118,121,124,127,130,133,136,139,142,145,148,151,154,157,160,164,167,170,173,176,179,182,185,188,191,194,197,200,203,206,209,212,215,218,221,224,227,230,233,236,239,242,244,247,250,253,256,259,262,265,268,271,274,277,280,283,286,289,292,295 mov $3,$0 trn $0,1 mov $1,$0 add $0,1 mov $2,$0 trn $2,2 add $2,$0 lpb $1 mov $0,$1 div $1,3 lpe add $0,$2 sub $0,1 add $0,$3
alloy4fun_models/trashltl/models/7/MmqLuAEbRhR6eaKwJ.als
Kaixi26/org.alloytools.alloy
0
4618
open main pred idMmqLuAEbRhR6eaKwJ_prop8 { (some link) implies (File.(~link) in Trash) } pred __repair { idMmqLuAEbRhR6eaKwJ_prop8 } check __repair { idMmqLuAEbRhR6eaKwJ_prop8 <=> prop8o }
src/riscv32/agate-arch-riscv.adb
Fabien-Chouteau/AGATE
3
4195
<filename>src/riscv32/agate-arch-riscv.adb ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2018, <NAME> -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions are -- -- met: -- -- 1. Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- 2. Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in -- -- the documentation and/or other materials provided with the -- -- distribution. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ with System.Machine_Code; use System.Machine_Code; with AGATE_Arch_Parameters; use AGATE_Arch_Parameters; package body AGATE.Arch.RISCV is CPU_Frequency_Calc : Word := 0; generic Reg_Name : String; type Reg_Type is private; function Read_CSR return Reg_Type with Inline_Always; generic Reg_Name : String; type Reg_Type is private; procedure Write_CSR (Val : Reg_Type) with Inline_Always; ------------------- -- CPU_Frequency -- ------------------- function CPU_Frequency return Word is function Measure_Freq (Count : Word) return Word; ------------------ -- Measure_Freq -- ------------------ function Measure_Freq (Count : Word) return Word is Start_Mtime : Word; Delta_Mtime : Word; Mtime_Freq : constant Word := Timer_Frequency; Start_Mcycle : Word; Delta_Mcycle : Word; Tmp : Word; Mtime_Lo : Word with Volatile_Full_Access, Address => Mtime_Lo_Addr; Mtime_Hi : Word with Volatile_Full_Access, Address => Mtime_Hi_Addr; begin Tmp := Mtime_Lo; loop Start_Mtime := Mtime_Lo; exit when Start_Mtime /= Tmp; end loop; Start_Mcycle := Mcycle_Low; loop Delta_Mtime := Mtime_Lo - Start_Mtime; exit when Delta_Mtime > Count; end loop; Delta_Mcycle := Mcycle_Low - Start_Mcycle; return (Delta_Mcycle / Delta_Mtime) * Mtime_Freq + ((Delta_Mcycle mod Delta_Mtime) * Mtime_Freq) / Delta_Mtime; end Measure_Freq; begin if CPU_Frequency_Calc = 0 then -- Warm up CPU_Frequency_Calc := Measure_Freq (1); -- measure for real CPU_Frequency_Calc := Measure_Freq (10); end if; return CPU_Frequency_Calc; end CPU_Frequency; -------------- -- Read_CSR -- -------------- function Read_CSR return Reg_Type is Ret : Reg_Type; begin Asm ("csrr %0, " & Reg_Name, Outputs => Reg_Type'Asm_Output ("=r", Ret), Volatile => True); return Ret; end Read_CSR; --------------- -- Write_CSR -- --------------- procedure Write_CSR (Val : Reg_Type) is begin Asm ("csrw " & Reg_Name & ", %0", Inputs => Reg_Type'Asm_Input ("r", Val), Volatile => True); end Write_CSR; function I_Stvec is new Read_CSR ("stvec", Word); function Stvec return Word renames I_Stvec; procedure I_Write_Stvec is new Write_CSR ("stvec", Word); procedure Write_Stvec (Val : Word) renames I_Write_Stvec; function I_Mtvec is new Read_CSR ("mtvec", Word); function Mtvec return Word renames I_Mtvec; procedure I_Write_Mtvec is new Write_CSR ("mtvec", Word); procedure Write_Mtvec (Val : Word) renames I_Write_Mtvec; function I_Mscratch is new Read_CSR ("mscratch", Word); function Mscratch return Word renames I_Mscratch; procedure I_Write_Mscratch is new Write_CSR ("mscratch", Word); procedure Write_Mcratch (Val : Word) renames I_Write_Mscratch; function I_Mbadaddr is new Read_CSR ("mbadaddr", Word); function Mbadaddr return Word renames I_Mbadaddr; function I_Mcycle_Low is new Read_CSR ("mcycle", Word); function Mcycle_Low return Word renames I_Mcycle_Low; function I_Mcycle_Hi is new Read_CSR ("mcycleh", Word); function Mcycle_Hi return Word renames I_Mcycle_Hi; function I_Mstatus is new Read_CSR ("mstatus", Mstatus_Reg); function Mstatus return Mstatus_Reg renames I_Mstatus; procedure I_Write_Mstatus is new Write_CSR ("mstatus", Mstatus_Reg); procedure Write_Mstatus (Val : Mstatus_Reg) renames I_Write_Mstatus; function I_Mip is new Read_CSR ("mip", Interrupt_Register); function Mip return Interrupt_Register renames I_Mip; procedure I_Write_Mip is new Write_CSR ("mip", Interrupt_Register); procedure Write_Mip (Val : Interrupt_Register) renames I_Write_Mip; function I_Mie is new Read_CSR ("mie", Interrupt_Register); function Mie return Interrupt_Register renames I_Mie; procedure I_Write_Mie is new Write_CSR ("mie", Interrupt_Register); procedure Write_Mie (Val : Interrupt_Register) renames I_Write_Mie; end AGATE.Arch.RISCV;
week_7/dataset/Assembly/056608.asm
Dumebi35/DumebiCSC102
0
82934
<filename>week_7/dataset/Assembly/056608.asm title READINT Procedure .model small .stack 100h public readint .code extrn Readstring:proc, Writesint:proc, Crlf:proc main proc mov ax,@data mov ds,ax call Readint ; read number into AX call Crlf call Writesint ; display the number in AX mov ax,4c00h int 21h main endp ; New version of Strlen that returns the length ; of a string. Input: DS:DX points to the string. ; Output: AX = the length. Strlen proc push si mov si,dx dec si T1: inc si cmp byte ptr [si],0 ; null byte? jne T1 sub si,dx mov ax,si pop si ret Strlen endp ; The Readint procedure reads a signed integer from ; standard input. Leading spaces are ignored. ; Input: none. Output: AX contains the number. ; Calls the Readstring and Strlen procedures. Readint proc push bx push cx push dx push si mov dx,offset inputarea ; input the string mov si,dx ; save offset in SI call Readstring call Strlen ; returns length in AX mov cx,ax ; save length in CX cmp cx,0 ; greater than zero? jne L1 ; yes: continue mov ax,0 ; no: set return value jmp L7 ; and exit ; Skip over any leading spaces. L1: mov al,[si] ; get a character from buffer cmp al,' ' ; space character found? jne L2 ; no: check for a sign inc si ; yes: point to next char loop L1 jcxz L7 ; quit if all spaces ; Check for a leading sign. L2: mov sign,1 ; assume number is positive cmp al,'-' ; minus sign found? jne L3 ; no: look for plus sign mov sign,-1 ; yes: sign is negative dec cx ; subtract from counter inc si ; point to next char jmp L4 L3: cmp al,'+' ; plus sign found? jne L4 ; no: must be a digit inc si ; yes: skip over the sign dec cx ; subtract from counter ; Start to convert the number. L4: mov ax,0 ; clear accumulator mov bx,10 ; BX is the divisor ; Repeat loop for each digit. L5: mov dl,[si] ; get character from buffer cmp dl,'0' ; character < '0'? jl L7 ; yes: resolve sign and exit cmp dl,'9' ; character > '9'? jg L7 ; yes: resolve sign and exit and dx,000Fh ; no: convert to binary push dx ; save the digit mul bx ; DX:AX = AX * BX pop dx ; restore the digit jc L6 ; quit if result too large add ax,dx ; add new digit to AX jc L6 ; quit if result too large inc si ; point to next digit loop L5 ; repeat, decrement counter jmp L7 ; process the sign ; Overflow must have occured. L6: mov dx,offset overflow_msg mov ah,9 int 21h mov ax,0 ; set result to zero L7: mul sign ; AX = AX * sign pop si pop dx pop cx pop bx ret readint endp .data sign dw ? inputarea db 10,0,10 dup(' ') ; up to 9 digits overflow_msg db ' <integer overflow> $' end main
trains.adb
AfroMetal/concurrent-railroad-ada
0
5198
-- -- <NAME> 221454 -- package body Trains is --type Route_Array is array (Integer range <>) of Integer; --type Route_Ptr is access Route_Array; procedure Connection(Self: Train_Ptr; From, To : out Track_Ptr) is From_Index : constant Integer := Self.Index; To_Index : constant Integer := (Self.Index + 1) mod Self.Route'Length; begin From := Self.Route (From_Index+1); To := Self.Route (To_Index+1); end Connection; function Move_To(Self: Train_Ptr; T : Track_Ptr) return Float is begin Self.Att.Unlock; Self.Att := T; if T.Get_Type = Turntable then Self.Index := (Self.Index + 1) mod Self.Route'Length; end if; return Self.Att.Action_Time(Self.Speed); end Move_To; function As_String(Self: Train_Ptr) return String is begin return "Train" & Trim(Integer'Image (Self.Id), Left) & " " & SU.To_String (Self.Name); end As_String; function As_Verbose_String(Self: Train_Ptr) return String is Id : String := Integer'Image (Self.Id); Name : String := SU.To_String (Self.Name); Speed : String := Integer'Image (Self.Speed); Cap : String := Integer'Image (Self.Capacity); Route : String := As_String(Self.Route); Att : String := Self.Att.As_String; begin return "rails.Train:" & Name & ":" & Id (2 .. Id'Last) & "{speed:" & Speed (2 .. Speed'Last) & ", " & "cap:" & Cap (2 .. Cap'Last) & ", " & "route:" & Route & ", " & "at:" & Att & "}"; end As_Verbose_String; function New_Train ( Id : Integer; Name : SU.Unbounded_String; Speed : Integer; Capacity : Integer; Route : Route_Array ) return Train_Ptr is T : Train_Ptr; begin T := new Train(Route'Length); T.Id := Id; T.Name := Name; T.Speed := Speed; T.Capacity := Capacity; T.Route := Route; T.Index := 0; T.Att := Route (0); T.Att.Lock; return T; end New_Train; task body Simulation is Seconds_Per_Hour : Integer; Start : Calendar.Time; Clock : array(1..2) of Integer; Verbose : Boolean; Train : Train_Ptr; Connections : Connections_Ptr; First : Track_Ptr; Second : Track_Ptr; Time : Float; Current_Rails : Tracks_Ptr; Success : Boolean; Now : String(1 .. 8); function Clock_Time return String is D : Duration; SH : Float; SM : Float; SS : Float; F : Float; H : Integer; M : Integer; S : Integer; H_String : SU.Unbounded_String; M_String : SU.Unbounded_String; S_String : SU.Unbounded_String; begin D := Calendar."-"(Calendar.Clock, Start); SH := Float (D) / Float (Seconds_Per_Hour); F := SH - Float'Floor (SH); SH := Float'Floor (SH); SM := 60.0 * F; F := SM - Float'Floor (SM); SS := 60.0 * F; H := Integer (SH) + Clock (1); H := H mod 24; M := Integer (SM) + Clock (2); if M > 59 then H := H + 1; end if; M := M mod 60; S := Integer (SS); H_String := SU.To_Unbounded_String (Trim(Integer'Image (H), Left)); M_String := SU.To_Unbounded_String (Trim(Integer'Image (M), Left)); S_String := SU.To_Unbounded_String (Trim(Integer'Image (S), Left)); if SU.Length (H_String) = 1 then H_String := SU."&"('0', H_String); end if; if SU.Length (M_String) = 1 then M_String := SU."&"('0', M_String); end if; if SU.Length (S_String) = 1 then S_String := SU."&"('0', S_String); end if; return SU.To_String (H_String) & ":" & SU.To_String (M_String) & ":" & SU.To_String (S_String); end Clock_Time; procedure Print (S : String) is begin if Verbose then Put_Line (S); end if; end Print; begin accept Init( S : Calendar.Time; SPH : Integer; H : Integer; M : Integer; V : Boolean ) do Start := S; Seconds_Per_Hour := SPH; Clock (1) := H; Clock (2) := M; Verbose := V; end Init; accept Simulate(T : in Train_Ptr; C : in Connections_Ptr) do Train := T; Connections := C; end Simulate; while TRUE loop Connection(Train, First, Second); Current_Rails := Connections(First.Get_Id, Second.Get_Id); Loop1: loop for R in Current_Rails'Range loop Current_Rails (R).Get_Lock(Success); case Success is when TRUE => Now := Clock_Time; -- TODO: save to statistics if arriving at station Time := Float (Seconds_Per_Hour) * Move_To(Train, Current_Rails (R)); Print(Now & " " & As_String(Train) & " travels along " & Current_Rails (R).As_String); delay Duration(Time); exit Loop1 when Success = TRUE; when FALSE => goto Continue1; end case; <<Continue1>> end loop; --Time := Float (Seconds_Per_Hour) * 0.25; --Put_Line(Clock_Time & " " & As_String(Train) & " have nowhere to go, it will wait for " & Float'Image (Time) & "s"); --delay Duration(Time); end loop Loop1; Loop2: loop Second.Get_Lock(Success); case Success is when TRUE => Now := Clock_Time; -- TODO: save to statistics if leaving station Time := Float (Seconds_Per_Hour) * Move_To(Train, Second); Print(Now & " " & As_String(Train) & " rotates at " & Second.As_String); delay Duration(Time); exit Loop2 when Success = TRUE; when FALSE => --Time := Float (Seconds_Per_Hour) * 0.25; --Put_Line(Clock_Time & " " & As_String(Train) & " have nowhere to go, it will wait for " & Float'Image (Time) & "s"); --delay Duration(Time); goto Continue2; end case; <<Continue2>> end loop Loop2; end loop; end Simulation; end Trains;
test/Fail/Issue2840.agda
alhassy/agda
1
5609
-- Andreas, 2017-11-06, issue #2840 reported by wenkokke Id : (F : Set → Set) → Set → Set Id F = F data D (A : Set) : Set where c : Id _ A -- WAS: internal error in positivity checker -- EXPECTED: success, or -- Failed to solve the following constraints: -- [4] _F_2 A A = D A : Set -- when checking the constructor c in the declaration of D
Cubical/Relation/Binary/Reasoning/StrictPartialOrder.agda
bijan2005/univalent-foundations
0
261
{-# OPTIONS --cubical --no-import-sorts --safe #-} open import Cubical.Core.Everything open import Cubical.Relation.Binary.Raw module Cubical.Relation.Binary.Reasoning.StrictPartialOrder {a ℓ} {A : Type a} (S : StrictPartialOrder A ℓ) where open StrictPartialOrder S import Cubical.Relation.Binary.Raw.Construct.StrictToNonStrict _<_ as NonStrict ------------------------------------------------------------------------ -- Publicly re-export the contents of the base module open import Cubical.Relation.Binary.Reasoning.Base.Double (NonStrict.isPreorder transitive) transitive NonStrict.<⇒≤ (NonStrict.<-≤-trans transitive) public
books_and_notes/professional_courses/operating_system/sources/extra_books/Orange'S:自己动手写操作系统光盘源代码/chapter3/f/pmtest6.asm
gxw1/review_the_national_post-graduate_entrance_examination
640
15106
; ========================================== ; pmtest6.asm ; 编译方法:nasm pmtest6.asm -o pmtest6.com ; ========================================== %include "pm.inc" ; 常量, 宏, 以及一些说明 PageDirBase equ 200000h ; 页目录开始地址: 2M PageTblBase equ 201000h ; 页表开始地址: 2M+4K org 0100h jmp LABEL_BEGIN [SECTION .gdt] ; GDT ; 段基址, 段界限, 属性 LABEL_GDT: Descriptor 0, 0, 0 ; 空描述符 LABEL_DESC_NORMAL: Descriptor 0, 0ffffh, DA_DRW ; Normal 描述符 LABEL_DESC_PAGE_DIR: Descriptor PageDirBase, 4095, DA_DRW;Page Directory LABEL_DESC_PAGE_TBL: Descriptor PageTblBase, 1023, DA_DRW|DA_LIMIT_4K;Page Tables LABEL_DESC_CODE32: Descriptor 0, SegCode32Len-1, DA_C+DA_32 ; 非一致代码段, 32 LABEL_DESC_CODE16: Descriptor 0, 0ffffh, DA_C ; 非一致代码段, 16 LABEL_DESC_DATA: Descriptor 0, DataLen-1, DA_DRW ; Data LABEL_DESC_STACK: Descriptor 0, TopOfStack, DA_DRWA + DA_32 ; Stack, 32 位 LABEL_DESC_VIDEO: Descriptor 0B8000h, 0ffffh, DA_DRW ; 显存首地址 ; GDT 结束 GdtLen equ $ - LABEL_GDT ; GDT长度 GdtPtr dw GdtLen - 1 ; GDT界限 dd 0 ; GDT基地址 ; GDT 选择子 SelectorNormal equ LABEL_DESC_NORMAL - LABEL_GDT SelectorPageDir equ LABEL_DESC_PAGE_DIR - LABEL_GDT SelectorPageTbl equ LABEL_DESC_PAGE_TBL - LABEL_GDT SelectorCode32 equ LABEL_DESC_CODE32 - LABEL_GDT SelectorCode16 equ LABEL_DESC_CODE16 - LABEL_GDT SelectorData equ LABEL_DESC_DATA - LABEL_GDT SelectorStack equ LABEL_DESC_STACK - LABEL_GDT SelectorVideo equ LABEL_DESC_VIDEO - LABEL_GDT ; END of [SECTION .gdt] [SECTION .data1] ; 数据段 ALIGN 32 [BITS 32] LABEL_DATA: SPValueInRealMode dw 0 ; 字符串 PMMessage: db "In Protect Mode now. ^-^", 0 ; 进入保护模式后显示此字符串 OffsetPMMessage equ PMMessage - $$ DataLen equ $ - LABEL_DATA ; END of [SECTION .data1] ; 全局堆栈段 [SECTION .gs] ALIGN 32 [BITS 32] LABEL_STACK: times 512 db 0 TopOfStack equ $ - LABEL_STACK - 1 ; END of [SECTION .gs] [SECTION .s16] [BITS 16] LABEL_BEGIN: mov ax, cs mov ds, ax mov es, ax mov ss, ax mov sp, 0100h mov [LABEL_GO_BACK_TO_REAL+3], ax mov [SPValueInRealMode], sp ; 初始化 16 位代码段描述符 mov ax, cs movzx eax, ax shl eax, 4 add eax, LABEL_SEG_CODE16 mov word [LABEL_DESC_CODE16 + 2], ax shr eax, 16 mov byte [LABEL_DESC_CODE16 + 4], al mov byte [LABEL_DESC_CODE16 + 7], ah ; 初始化 32 位代码段描述符 xor eax, eax mov ax, cs shl eax, 4 add eax, LABEL_SEG_CODE32 mov word [LABEL_DESC_CODE32 + 2], ax shr eax, 16 mov byte [LABEL_DESC_CODE32 + 4], al mov byte [LABEL_DESC_CODE32 + 7], ah ; 初始化数据段描述符 xor eax, eax mov ax, ds shl eax, 4 add eax, LABEL_DATA mov word [LABEL_DESC_DATA + 2], ax shr eax, 16 mov byte [LABEL_DESC_DATA + 4], al mov byte [LABEL_DESC_DATA + 7], ah ; 初始化堆栈段描述符 xor eax, eax mov ax, ds shl eax, 4 add eax, LABEL_STACK mov word [LABEL_DESC_STACK + 2], ax shr eax, 16 mov byte [LABEL_DESC_STACK + 4], al mov byte [LABEL_DESC_STACK + 7], ah ; 为加载 GDTR 作准备 xor eax, eax mov ax, ds shl eax, 4 add eax, LABEL_GDT ; eax <- gdt 基地址 mov dword [GdtPtr + 2], eax ; [GdtPtr + 2] <- gdt 基地址 ; 加载 GDTR lgdt [GdtPtr] ; 关中断 cli ; 打开地址线A20 in al, 92h or al, 00000010b out 92h, al ; 准备切换到保护模式 mov eax, cr0 or eax, 1 mov cr0, eax ; 真正进入保护模式 jmp dword SelectorCode32:0 ; 执行这一句会把 SelectorCode32 装入 cs, 并跳转到 Code32Selector:0 处 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; LABEL_REAL_ENTRY: ; 从保护模式跳回到实模式就到了这里 mov ax, cs mov ds, ax mov es, ax mov ss, ax mov sp, [SPValueInRealMode] in al, 92h ; ┓ and al, 11111101b ; ┣ 关闭 A20 地址线 out 92h, al ; ┛ sti ; 开中断 mov ax, 4c00h ; ┓ int 21h ; ┛回到 DOS ; END of [SECTION .s16] [SECTION .s32]; 32 位代码段. 由实模式跳入. [BITS 32] LABEL_SEG_CODE32: call SetupPaging mov ax, SelectorData mov ds, ax ; 数据段选择子 mov ax, SelectorVideo mov gs, ax ; 视频段选择子 mov ax, SelectorStack mov ss, ax ; 堆栈段选择子 mov esp, TopOfStack ; 下面显示一个字符串 mov ah, 0Ch ; 0000: 黑底 1100: 红字 xor esi, esi xor edi, edi mov esi, OffsetPMMessage ; 源数据偏移 mov edi, (80 * 10 + 0) * 2 ; 目的数据偏移。屏幕第 10 行, 第 0 列。 cld .1: lodsb test al, al jz .2 mov [gs:edi], ax add edi, 2 jmp .1 .2: ; 显示完毕 ; 到此停止 jmp SelectorCode16:0 ; 启动分页机制 -------------------------------------------------------------- SetupPaging: ; 为简化处理, 所有线性地址对应相等的物理地址. ; 首先初始化页目录 mov ax, SelectorPageDir ; 此段首地址为 PageDirBase mov es, ax mov ecx, 1024 ; 共 1K 个表项 xor edi, edi xor eax, eax mov eax, PageTblBase | PG_P | PG_USU | PG_RWW .1: stosd add eax, 4096 ; 为了简化, 所有页表在内存中是连续的. loop .1 ; 再初始化所有页表 (1K 个, 4M 内存空间) mov ax, SelectorPageTbl ; 此段首地址为 PageTblBase mov es, ax mov ecx, 1024 * 1024 ; 共 1M 个页表项, 也即有 1M 个页 xor edi, edi xor eax, eax mov eax, PG_P | PG_USU | PG_RWW .2: stosd add eax, 4096 ; 每一页指向 4K 的空间 loop .2 mov eax, PageDirBase mov cr3, eax mov eax, cr0 or eax, 80000000h mov cr0, eax jmp short .3 .3: nop ret ; 分页机制启动完毕 ---------------------------------------------------------- SegCode32Len equ $ - LABEL_SEG_CODE32 ; END of [SECTION .s32] ; 16 位代码段. 由 32 位代码段跳入, 跳出后到实模式 [SECTION .s16code] ALIGN 32 [BITS 16] LABEL_SEG_CODE16: ; 跳回实模式: mov ax, SelectorNormal mov ds, ax mov es, ax mov fs, ax mov gs, ax mov ss, ax mov eax, cr0 and eax, 7FFFFFFEh ; PE=0, PG=0 mov cr0, eax LABEL_GO_BACK_TO_REAL: jmp 0:LABEL_REAL_ENTRY ; 段地址会在程序开始处被设置成正确的值 Code16Len equ $ - LABEL_SEG_CODE16 ; END of [SECTION .s16code]
p2/judge.asm
t0ush1/ComputerOrganization
2
246083
.data s: .space 20 #char s[20] .text li $v0, 5 #read n -> $s0 syscall move $s0, $v0 li $t0, 0 #for (int i = 0; i < n; i ++) i -> $t0 for_1_begin: beq $t0, $s0, for_1_end li $v0, 12 syscall sb $v0, s($t0) addi $t0, $t0, 1 j for_1_begin for_1_end: li $a0, 1 #flag = 1 li $t0, 0 #for (int i = 0, j = n-1; i < j; i ++, j --) addi $t1, $s0, -1 for_2_begin: beq $t0, $s0, for_2_end lb $t2, s($t0) lb $t3, s($t1) beq $t2, $t3, if_1_end #if (s[i] != s[j]) li $a0, 0 j for_2_end if_1_end: addi $t0, $t0, 1 addi $t1, $t1, -1 j for_2_begin for_2_end: li $v0, 1 syscall li $v0, 10 syscall
Transynther/x86/_processed/NC/_ht_st_zr_un_/i3-7100_9_0x84_notsx.log_21829_1211.asm
ljhsiun2/medusa
9
176362
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r8 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0xbfae, %rbx nop nop nop nop nop xor $38182, %r8 mov (%rbx), %r11d nop nop cmp %r13, %r13 lea addresses_WC_ht+0xd5f4, %r9 nop nop nop add %rdi, %rdi mov (%r9), %esi nop nop nop nop nop add $28004, %r8 lea addresses_WC_ht+0x4ae2, %rsi lea addresses_UC_ht+0x73d0, %rdi clflush (%rdi) add %r13, %r13 mov $17, %rcx rep movsq nop nop nop sub $3880, %rcx lea addresses_WC_ht+0x121f4, %rbx nop nop sub $4207, %r11 movl $0x61626364, (%rbx) nop nop add %rcx, %rcx lea addresses_D_ht+0x136f4, %r13 nop nop nop nop xor %r9, %r9 mov (%r13), %rdi nop nop nop nop nop cmp $43168, %rcx lea addresses_D_ht+0x5d5c, %rsi lea addresses_UC_ht+0x79f4, %rdi nop nop nop dec %rbx mov $15, %rcx rep movsq nop xor %r13, %r13 lea addresses_D_ht+0x1cd64, %rbx nop nop nop nop xor $41559, %rdi vmovups (%rbx), %ymm4 vextracti128 $1, %ymm4, %xmm4 vpextrq $1, %xmm4, %r9 nop nop and %rbx, %rbx lea addresses_D_ht+0x2284, %rsi lea addresses_normal_ht+0xe1f4, %rdi nop nop nop sub %r11, %r11 mov $63, %rcx rep movsq nop nop xor %r11, %r11 lea addresses_A_ht+0x82c6, %r11 cmp $45842, %rcx and $0xffffffffffffffc0, %r11 movaps (%r11), %xmm6 vpextrq $0, %xmm6, %rdi nop nop dec %rdi lea addresses_normal_ht+0x1b9f4, %rcx nop nop nop nop add $29129, %r13 mov $0x6162636465666768, %rsi movq %rsi, (%rcx) nop xor %r8, %r8 lea addresses_WT_ht+0x154f4, %rsi lea addresses_D_ht+0x125f4, %rdi add $50870, %rbx mov $116, %rcx rep movsq nop add $17887, %r9 lea addresses_WT_ht+0x7bf4, %r8 nop nop nop nop nop and %r9, %r9 mov $0x6162636465666768, %rsi movq %rsi, (%r8) nop nop nop nop sub %rsi, %rsi lea addresses_WT_ht+0x163da, %r13 nop xor %r9, %r9 mov $0x6162636465666768, %r8 movq %r8, %xmm6 movups %xmm6, (%r13) nop cmp %r11, %r11 lea addresses_A_ht+0x1aef4, %r13 clflush (%r13) nop nop nop dec %rbx mov (%r13), %edi nop nop nop nop dec %rdi lea addresses_WC_ht+0x1b534, %rdi nop nop nop nop dec %r13 mov $0x6162636465666768, %r9 movq %r9, %xmm3 vmovups %ymm3, (%rdi) nop lfence pop %rsi pop %rdi pop %rcx pop %rbx pop %r9 pop %r8 pop %r13 pop %r11 ret .global s_faulty_load s_faulty_load: push %r11 push %rbx push %rcx push %rdx push %rsi // Store mov $0x1f4, %rdx nop nop nop nop nop dec %rcx mov $0x5152535455565758, %r11 movq %r11, %xmm3 vmovups %ymm3, (%rdx) nop nop nop and %rdx, %rdx // Faulty Load mov $0x2d64c00000001f4, %rcx nop and $53140, %r11 vmovups (%rcx), %ymm0 vextracti128 $0, %ymm0, %xmm0 vpextrq $0, %xmm0, %rdx lea oracles, %rsi and $0xff, %rdx shlq $12, %rdx mov (%rsi,%rdx,1), %rdx pop %rsi pop %rdx pop %rcx pop %rbx pop %r11 ret /* <gen_faulty_load> [REF] {'src': {'type': 'addresses_NC', 'same': False, 'size': 1, 'congruent': 0, 'NT': True, 'AVXalign': False}, 'OP': 'LOAD'} {'dst': {'type': 'addresses_P', 'same': False, 'size': 32, 'congruent': 10, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} [Faulty Load] {'src': {'type': 'addresses_NC', 'same': True, 'size': 32, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'type': 'addresses_normal_ht', 'same': False, 'size': 4, 'congruent': 0, 'NT': True, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_WC_ht', 'same': False, 'size': 4, 'congruent': 9, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_WC_ht', 'congruent': 1, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 2, 'same': False}, 'OP': 'REPM'} {'dst': {'type': 'addresses_WC_ht', 'same': False, 'size': 4, 'congruent': 11, 'NT': False, 'AVXalign': True}, 'OP': 'STOR'} {'src': {'type': 'addresses_D_ht', 'same': False, 'size': 8, 'congruent': 8, 'NT': True, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_D_ht', 'congruent': 2, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 9, 'same': False}, 'OP': 'REPM'} {'src': {'type': 'addresses_D_ht', 'same': False, 'size': 32, 'congruent': 4, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_D_ht', 'congruent': 4, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 10, 'same': True}, 'OP': 'REPM'} {'src': {'type': 'addresses_A_ht', 'same': False, 'size': 16, 'congruent': 1, 'NT': False, 'AVXalign': True}, 'OP': 'LOAD'} {'dst': {'type': 'addresses_normal_ht', 'same': True, 'size': 8, 'congruent': 9, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'src': {'type': 'addresses_WT_ht', 'congruent': 8, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 8, 'same': False}, 'OP': 'REPM'} {'dst': {'type': 'addresses_WT_ht', 'same': False, 'size': 8, 'congruent': 9, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'dst': {'type': 'addresses_WT_ht', 'same': False, 'size': 16, 'congruent': 1, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'src': {'type': 'addresses_A_ht', 'same': False, 'size': 4, 'congruent': 8, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'dst': {'type': 'addresses_WC_ht', 'same': False, 'size': 32, 'congruent': 5, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'e6': 51, '1a': 55, 'b0': 40, '54': 57, '1e': 65, 'f8': 64, '1c': 63, 'd4': 70, '80': 58, '2a': 58, '46': 48, '8a': 78, 'c4': 59, '0e': 65, 'de': 53, '32': 54, 'dc': 55, '76': 52, '5a': 47, '04': 61, '68': 56, 'e2': 60, 'd6': 65, '9c': 56, 'bc': 57, '34': 54, 'fe': 61, 'ee': 60, '5e': 53, '28': 68, 'f2': 61, '22': 46, '14': 61, '98': 65, 'a6': 43, '18': 77, '6c': 78, '62': 60, '6e': 57, 'ea': 66, '60': 59, 'a2': 53, 'f0': 53, '0c': 51, '12': 44, 'ac': 68, '2e': 57, '9a': 59, '38': 63, 'ae': 56, 'd2': 58, 'c6': 53, '4e': 50, '5c': 54, 'b4': 69, 'ca': 60, 'ba': 62, 'a8': 67, 'b8': 58, '48': 61, 'fa': 57, 'da': 60, '2c': 66, 'ec': 65, 'd8': 63, 'e4': 76, '9e': 53, 'c8': 72, '44': 63, 'cc': 66, '66': 64, '82': 67, '08': 69, '3c': 60, '24': 66, '36': 72, '56': 48, '4a': 54, 'ce': 63, '42': 46, '58': 13620, '3e': 44, '20': 46, 'c2': 54, 'b2': 52, '26': 48, '74': 66, '50': 45, '5f': 1, '0a': 51, '30': 48, '3a': 64, 'be': 65, '90': 52, '88': 59, '8e': 68, '7e': 63, '94': 61, '40': 52, '7a': 69, 'f4': 69, '52': 53, '6a': 51, 'fc': 52, 'd0': 55, '16': 58, 'f6': 63, '02': 59, 'e0': 48, '92': 67, 'e8': 55, '10': 44, 'c0': 57, '7c': 55, '96': 44, 'aa': 62, '4c': 63, '72': 60, '84': 61, '06': 59, '78': 55, '8c': 60, 'b6': 65, 'a4': 66, '86': 48, '70': 35, '00': 862, 'a0': 58, '64': 55} 9c 58 00 1e 58 58 58 58 00 58 36 58 34 58 58 58 00 44 58 58 58 82 58 58 58 a0 58 58 ac 58 58 58 58 72 38 58 a2 58 58 58 e2 7e b8 4a be 58 58 00 00 58 66 00 30 58 58 58 58 58 58 58 58 2c 58 58 00 c4 58 58 82 92 7c 00 b2 58 58 58 58 a2 80 00 58 58 58 00 4a d2 00 58 14 04 58 58 58 58 b4 58 58 58 58 1e 58 c0 58 58 7e 36 32 ac 58 58 58 58 4a 58 d6 58 58 58 58 58 58 58 58 ee 58 58 c4 d8 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 96 58 58 6a 58 58 58 58 dc 58 58 3c 58 cc 58 58 dc f2 dc 58 b2 f2 a6 6a 58 58 58 06 58 58 82 58 58 ec 58 58 50 58 58 64 00 58 58 20 70 58 58 58 58 e2 58 a2 58 58 58 58 c4 58 58 52 58 ba 58 58 ae 58 58 2a 58 58 58 58 52 26 58 58 58 58 58 ca 1c 58 e4 1c 58 58 58 58 58 ae 9e 58 58 74 58 58 ac f2 58 58 66 54 58 58 58 48 b2 58 58 58 06 0c 58 2c 58 58 58 60 58 d8 06 58 58 58 58 a0 58 58 5c 58 58 58 66 58 58 58 58 58 4c ce 58 58 d8 58 58 50 58 58 16 5a 58 ca b6 00 fc 86 00 d0 58 58 b6 58 58 58 58 58 58 b8 58 b4 58 58 58 58 22 58 58 58 58 58 02 ee 58 58 d4 58 58 58 c0 58 58 b6 00 58 d8 fe 58 00 58 58 58 ee 58 58 58 00 fa 00 82 58 78 58 58 58 98 58 9a a0 58 58 7a 58 58 58 00 8c 00 58 58 58 08 58 58 5c b2 08 58 38 58 58 54 58 f4 58 58 58 58 58 58 58 58 60 58 58 1e e2 0c f0 58 fa 58 58 58 cc 58 58 58 58 58 58 80 58 58 58 58 96 9c 58 3a 58 f2 00 66 58 58 92 58 58 58 58 40 58 58 58 58 58 b6 58 58 58 58 58 58 58 58 1a 58 58 7e 58 58 50 9a 58 0a 54 92 58 f6 58 36 1e 58 58 c8 58 46 58 58 58 24 58 58 be f2 9c 58 6c 58 58 58 58 a6 28 76 58 58 58 14 00 be 6a 58 58 ae 78 00 58 00 58 9a 58 58 58 58 58 58 58 ba 58 80 58 58 58 58 58 48 8e 26 58 58 58 58 58 58 58 96 58 58 58 e4 58 58 58 2c 58 58 82 58 58 58 fa 48 58 58 58 58 58 7a 58 58 58 58 58 58 00 58 58 52 58 58 58 58 58 14 00 aa a4 b4 58 58 da 58 58 58 1a 58 ac 58 58 58 58 58 58 36 56 58 58 58 58 58 24 58 58 58 aa 58 58 5e 58 2e 18 58 2c 58 58 38 58 42 ca 58 58 58 58 58 58 38 58 58 36 00 58 58 58 84 da 58 58 78 58 68 58 58 58 58 58 4c 58 58 7a 58 58 58 c2 58 58 58 58 b6 58 4a ac 58 d6 58 66 00 1e 58 c2 58 58 16 ea 58 58 58 58 58 58 58 58 58 b6 1a d0 58 58 58 58 00 00 58 18 ec 58 d2 58 60 58 58 58 64 58 72 58 e0 58 58 14 58 58 58 58 e2 58 58 58 b2 58 58 58 58 58 e4 58 76 00 ca f4 58 58 aa 58 58 48 58 58 58 5c 4c 58 44 58 c8 5e 58 58 58 58 58 8e 58 de 58 58 58 5e 58 02 58 58 58 58 0a 58 58 76 9c 00 aa 58 58 58 90 00 00 10 5c 58 14 58 24 00 e2 fe 58 58 04 58 58 58 58 58 c2 58 58 58 58 6a 58 58 58 58 58 58 58 f8 58 58 e2 58 58 c0 58 58 40 58 58 58 58 26 58 58 58 58 7e 58 a8 58 58 58 86 58 fa 58 58 e4 58 58 58 58 f6 52 58 58 58 58 58 58 28 58 58 00 58 00 fa 20 58 58 58 58 34 58 58 f0 58 fa 58 58 58 58 58 58 f2 58 58 58 26 00 be 58 26 58 dc cc e0 58 58 58 c0 58 4a 00 5a 58 00 2a 58 58 58 46 26 58 58 1e 58 62 58 ca 84 58 58 58 58 b4 58 98 fa b6 58 c8 58 58 24 58 58 58 58 58 58 58 9c 58 58 58 2e 58 00 58 58 58 58 58 00 58 58 58 58 58 58 58 58 58 58 f4 58 58 58 f2 58 58 58 b2 84 96 58 26 58 ba 58 ce 58 58 58 4e 58 0a 58 da 00 58 58 a6 58 20 e8 36 58 58 58 58 d0 58 e6 2a 3e ec 58 58 06 58 c8 58 00 */
programs/oeis/032/A032798.asm
neoneye/loda
22
23376
; A032798: Numbers such that n(n+1)(n+2)...(n+12) / (n+(n+1)+(n+2)+...+(n+12)) is a multiple of n. ; 1,2,3,4,5,6,8,9,10,11,12,14,15,16,17,18,19,21,22,23,24,25,27,28,29,30,31,32,34,35,36,37,38,40,41,42,43,44,45,47,48,49,50,51,53,54,55,56,57,58,60,61,62,63,64,66,67,68,69,70,71,73,74,75,76,77,79,80,81,82,83,84 mov $1,26 mul $1,$0 div $1,22 add $1,1 mov $0,$1
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1838.asm
ljhsiun2/medusa
9
135
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r8 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x4e60, %rbx nop nop cmp %rax, %rax mov (%rbx), %r13 nop nop nop nop add $55058, %r9 lea addresses_A_ht+0x10ce0, %rax nop nop nop nop nop xor %r8, %r8 mov (%rax), %r13 nop add %r9, %r9 lea addresses_WC_ht+0x26e0, %rsi lea addresses_D_ht+0xb180, %rdi nop sub $28866, %r13 mov $112, %rcx rep movsb nop nop nop nop nop sub %rsi, %rsi lea addresses_WC_ht+0x16fe0, %rsi lea addresses_WT_ht+0x44c6, %rdi nop nop nop nop add %r13, %r13 mov $118, %rcx rep movsw cmp $30439, %r8 lea addresses_UC_ht+0x7278, %rcx nop nop nop nop add $47609, %r9 movups (%rcx), %xmm4 vpextrq $1, %xmm4, %rdi nop nop nop sub $26696, %rax lea addresses_D_ht+0x3660, %rsi lea addresses_D_ht+0x15660, %rdi nop inc %r13 mov $47, %rcx rep movsl nop cmp %r8, %r8 lea addresses_WT_ht+0x13e60, %r13 nop xor %rcx, %rcx mov $0x6162636465666768, %r9 movq %r9, %xmm7 movups %xmm7, (%r13) nop nop nop sub %rdi, %rdi lea addresses_A_ht+0xcc60, %rcx nop nop nop nop cmp %r13, %r13 and $0xffffffffffffffc0, %rcx movaps (%rcx), %xmm7 vpextrq $1, %xmm7, %r8 nop nop nop nop xor %r8, %r8 lea addresses_WC_ht+0xfe60, %r13 nop nop nop nop sub $20342, %rcx movw $0x6162, (%r13) nop dec %r8 lea addresses_normal_ht+0x101e0, %r8 nop cmp $38253, %rdi movl $0x61626364, (%r8) cmp %rax, %rax lea addresses_D_ht+0x12760, %r13 nop nop nop nop xor $49281, %rbx mov $0x6162636465666768, %rax movq %rax, (%r13) xor $6053, %r13 lea addresses_WT_ht+0x4a60, %rcx clflush (%rcx) nop add $25709, %r9 movb (%rcx), %r13b nop add %rbx, %rbx pop %rsi pop %rdi pop %rcx pop %rbx pop %rax pop %r9 pop %r8 pop %r13 ret .global s_faulty_load s_faulty_load: push %r12 push %r14 push %r8 push %rax push %rbp push %rbx // Faulty Load lea addresses_UC+0x1e660, %rbx dec %rbp mov (%rbx), %r14d lea oracles, %r12 and $0xff, %r14 shlq $12, %r14 mov (%r12,%r14,1), %r14 pop %rbx pop %rbp pop %rax pop %r8 pop %r14 pop %r12 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_UC', 'congruent': 0}} [Faulty Load] {'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_UC', 'congruent': 0}} <gen_prepare_buffer> {'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_UC_ht', 'congruent': 11}} {'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_A_ht', 'congruent': 7}} {'dst': {'same': False, 'congruent': 3, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 7, 'type': 'addresses_WC_ht'}} {'dst': {'same': False, 'congruent': 1, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 7, 'type': 'addresses_WC_ht'}} {'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_UC_ht', 'congruent': 3}} {'dst': {'same': False, 'congruent': 6, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 10, 'type': 'addresses_D_ht'}} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_WT_ht', 'congruent': 6}, 'OP': 'STOR'} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': True, 'size': 16, 'type': 'addresses_A_ht', 'congruent': 8}} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_WC_ht', 'congruent': 11}, 'OP': 'STOR'} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_normal_ht', 'congruent': 7}, 'OP': 'STOR'} {'dst': {'same': True, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_D_ht', 'congruent': 8}, 'OP': 'STOR'} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': True, 'size': 1, 'type': 'addresses_WT_ht', 'congruent': 9}} {'37': 21829} 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 */
kPower.asm
satadriver/LiunuxOS_t
0
173028
<reponame>satadriver/LiunuxOS_t .386p Kernel Segment public para use32 assume cs:Kernel __shutdownSystem proc push edx mov dx,0cf8h mov eax,8000f840h out dx,eax mov dx,0cfch in eax,dx cmp eax,0ffffffffh jz _notSupportICH and ax,0fffeh add ax,4 mov dx,ax in ax,dx or ax,03c00h out dx,ax _notSupportICH: pop edx ret push dx mov dx,0cf8h mov eax,8000f840h out dx,eax mov dx,0cfch in eax,dx and al,0feh mov dx,ax push dx add dx,30h in ax,dx and ax,0ffefh ;and ax,0fffeh? out dx,ax pop dx add dx,5 in al,dx or al,3ch out dx,al pop dx ret __shutdownSystem endp ;可以打开a20访问ffff:0 - ffff:ffff的地址空间(100000h --1ffefh) ;1 jmp 0ffffh:0 ;2 92h的bit 0是给机器发复位信号的 __resetSystem proc mov al,1 out 92h,al ret ;mov al,4 ;mov dx,0cf9h ;out dx,al ret __resetSystem endp Kernel ends
adium/ASUnitTests/CantSetWindowID.applescript
sin-ivan/AdiumPipeEvent
0
1245
<filename>adium/ASUnitTests/CantSetWindowID.applescript global HandyAdiumScripts on run tell application "Adium" try set id of window 1 to 4983 error on error number num if num is -2700 then error end try end tell end run
programs/oeis/128/A128514.asm
neoneye/loda
22
8446
; A128514: Triangle, Pell sequence in every column. ; 1,2,1,5,2,1,12,5,2,1,29,12,5,2,1,70,29,12,5,2,1,169,70,29,12,5,2,1,408,169,70,29,12,5,2,1,985,408,169,70,29,12,5,2,1,2378,985,408,169,70,29,12,5,2,1 seq $0,25676 ; Exponent of 8 (value of i) in n-th number of form 8^i*9^j. seq $0,52937 ; Expansion of (2-3*x-x^2)/((1-x)*(1-2*x-x^2)). sub $0,1
src/Projects/eu_projects-projects-housekeeping.adb
fintatarta/eugen
0
23023
<gh_stars>0 pragma Ada_2012; with EU_Projects.Nodes; use EU_Projects.Nodes; -- with Ada.Text_IO; use Ada.Text_IO; with EU_Projects.Times.Time_Expressions.Parsing; with Ada.Text_IO; use Ada.Text_IO; with Ada.Exceptions; package body EU_Projects.Projects.Housekeeping is function Var_Of (Pos : All_Node_Cursor; Var : Simple_Identifier) return Dotted_Identifier is (Join (Dotted_Identifier (Element (Pos).Label), Var)); ----------------------------------- -- Link_Milestone_To_Deliverable -- ----------------------------------- procedure Link_Milestone_To_Deliverable (Project : in out Project_Descriptor) is N : Node_Access; Errors_Occured : Boolean := False; begin for Pos in Project.All_Deliverables loop for Lab of Element (Pos).Linked_Milestones loop N := Project.Find (Lab); if N = null then Put_Line (Standard_Error, "Milestone '" & To_String (Lab) & "' undefined"); Errors_Occured := True; else Milestone_Access (N).Add_Deliverable (Element (Pos).Label); end if; end loop; end loop; if Errors_Occured then raise Housekeeping_Failed; end if; end Link_Milestone_To_Deliverable; ---------------------- -- Check_Node_Table -- ---------------------- procedure Check_Node_Table (Project : in out Project_Descriptor) is N : Node_Access; Errors_Occured : Boolean := False; begin for Pos in Project.All_Nodes loop N := Element (Pos); if not Project.Node_Directory.Contains (N.Label) then Put_Line (Standard_Error, "Node with label '" & To_String (N.Label) & "' not in directory"); Errors_Occured := True; end if; end loop; if Errors_Occured then raise Housekeeping_Failed; end if; end Check_Node_Table; ----------------------- -- Collect_Equations -- ----------------------- function Collect_Equations (Project : Project_Descriptor) return Times.Time_Expressions.Solving.Time_Equation_System is use Times.Time_Expressions.Solving; use Times.Time_Expressions.Parsing; Result : Time_Equation_System; Symbols : Symbol_Table; begin Fill_With_Defaults (Symbols); for N in Project.All_Nodes (True) loop declare Vars : constant Nodes.Variable_List := Element (N).Variables; begin for Var_Name of Vars loop Define_Variable (Symbols, Var_Of (N, Var_Name)); end loop; end; end loop; for N in Project.all_Nodes (True) loop begin Element (N).Parse_Raw_Expressions (Symbols); exception when Error : others => raise Housekeeping_Failed with "Error while parsing times of '" & Element (N).Name & "' : " & Ada.Exceptions.Exception_Message (Error); end; declare Vars : constant Nodes.Variable_List := Element (N).Variables; begin for Var_Name of Vars loop if Element (N).Is_A (Var_Name, Times.Instant_Value) then Add_Equation (Equations => Result, Left => Var_Of (N, Var_Name), Right => Element (N).Get_Symbolic_Instant (Var_Name)); else Add_Equation (Equations => Result, Left => Var_Of (N, Var_Name), Right => Element (N).Get_Symbolic_Duration (Var_Name)); end if; end loop; end; end loop; return Result; end Collect_Equations; -------------------- -- Assign_Results -- -------------------- procedure Assign_Results (Project : in out Project_Descriptor; Values : Times.Time_Expressions.Solving.Variable_Map) is begin for N in Project.All_Nodes loop declare Vars : constant Variable_List := Element (N).Variables; begin for Var_Name of Vars loop if Element (N).Is_A (Var_Name, Times.Instant_Value) then Element (N).Fix_Instant (Var => Var_Name, Value => Values (Var_Of (N, Var_Name))); end if; end loop; end; end loop; end Assign_Results; end EU_Projects.Projects.Housekeeping; -- -------------- -- -- Set_Time -- -- -------------- -- -- procedure Set_Event_Time (Node : in out Timed_Node'Class) -- is -- use type Times.Instant; -- begin -- if not Contains (Values, Node.Due_Time_Var) then -- raise Constraint_Error; -- end if; -- -- declare -- T : constant Times.Instant := Get (Values, Node.Due_Time_Var); -- begin -- if not Node.Time_Fixed then -- Node.Due_On (T); -- -- elsif T = Node.Due_On then -- null; -- -- else -- raise Constraint_Error; -- end if; -- end; -- end Set_Event_Time; -- -- -------------- -- -- Set_Time -- -- -------------- -- -- procedure Set_Action_Time (Node : in out Action_Node'Class) -- is -- use type Times.Instant; -- begin -- for Event in Action_Nodes.Event_Type loop -- if not Contains (Values, Node.Event_Var (Event)) then -- raise Constraint_Error; -- end if; -- -- declare -- T : constant Times.Instant := Get (Values, Node.Event_Var (Event)); -- begin -- -- if not Node.Time_Fixed (Event) then -- Node.Set_Time (Event => Event, Time => T); -- -- elsif T = Node.Event_Time (Event) then -- null; -- -- else -- raise Constraint_Error; -- end if; -- end; -- end loop; -- end Set_Action_Time; -- -- for Tsk in Project.All_Tasks loop -- Set_Action_Time (Element (Tsk).all); -- end loop; -- -- for Deliv in Project.All_Deliverables loop -- Set_Event_Time (Element (Deliv).all); -- end loop; -- -- for Milestone in Project.All_Milestones loop -- Set_Event_Time (Element (Milestone).all); -- end loop; ------------------------------------------------------------------- -- Add_Equation (Equations => Result, -- Left => Element (WP).Ending_Time_Var, -- Right => Element (WP).Ending_Time); -- -- Add_Equation (Equations => Result, -- Left => Element (WP).Starting_Time_var, -- Right => Element (WP).Starting_Time); -- end loop; -- for Tsk in Project.All_Tasks loop -- Add_Equation (Equations => Result, -- Left => Element (Tsk).Ending_Time_Var, -- Right => Element (Tsk).Ending_Time); -- -- Add_Equation (Equations => Result, -- Left => Element (Tsk).Starting_Time_Var, -- Right => Element (Tsk).Starting_Time); -- end loop; -- -- for Deliv in Project.All_Deliverables loop -- Add_Equation (Equations => Result, -- Left => Element(Deliv).Due_Time_Var, -- Right => Element(Deliv).Due_On); -- end loop; -- -- for Milestone in Project.All_Milestones loop -- Add_Equation (Equations => Result, -- Left => Element(Milestone).Due_Time_Var, -- Right => Element(Milestone).Due_On); -- end loop; ---------------------------------------------------------------------