现在的位置: 首页 > 综合 > 正文

操作系统学习笔记(12)–代码地址

2013年10月12日 ⁄ 综合 ⁄ 共 7356字 ⁄ 字号 评论关闭

00011388 t Add_Digit
00012570 t Add_Page_Range
00014d5e t Add_To_Back_Of_All_Thread_List
00015096 t Add_To_Back_Of_Thread_Queue
00016978 t After_Err
00016908 t After_No_Err
000128fc T Alloc_Page
00012bdc T Allocate_Segment_Descriptor
000001fe a BIOS_SIGNATURE_OFFSET
000007c0 a BOOTSEG
00016968 t Before_Err
000168f8 t Before_No_Err
0001047c T Begin_IRQ
00012c53 t Begin_Int_Atomic
000140e8 t Begin_Int_Atomic
00016009 t Begin_Int_Atomic
00000050 a CYLINDERS
000115c3 T Clear_Screen
00014411 t Clear_Thread_Queue
00014cb3 t Clear_Thread_Queue
00010d90 t Clear_To_EOL
00014ac2 T Cond_Broadcast
000147cf T Cond_Init
000149a3 T Cond_Signal
000147e2 T Cond_Wait
00014ccd t Create_Thread
00014e53 t Destroy_Thread
0001518b t Detach_Thread
000106e4 T Disable_IRQ
00010342 t Dummy_Interrupt_Handler
000164f3 T Dump_All_Thread_List
00010244 T Dump_Interrupt_State
00016614 T EchoCount
0001054c T Enable_IRQ
00010481 T End_IRQ
00012ccf t End_Int_Atomic
00014164 t End_Int_Atomic
00016094 t End_Int_Atomic
0001507c t Enqueue_Thread
00015d00 T Exit
00015a4f t Find_Best
00017c6f T Format_Output
0001422b T Free
000122a0 T Free_Page
00012d96 T Free_Segment_Descriptor
0001042c t GPF_Handler
00010ed0 t Get_Arg
000159c0 T Get_Current
00010eeb T Get_Current_Attr
000168e0 T Get_Current_EFLAGS
00011488 T Get_Cursor
00012e30 T Get_Descriptor_Index
0001607f t Get_Front_Of_All_Thread_List
00010470 T Get_IRQ_Mask
00016089 t Get_Next_In_All_Thread_List
000155f2 t Get_Next_In_Thread_Queue
000159ca T Get_Next_Runnable
00016606 t Get_Prev_In_All_Thread_List
00016413 t Get_Tlocal_Pointer
00000002 a HEADS
000167e0 t Handle_Interrupt
00016857 t Handle_Interrupt.restore
00000011 a ICW1
00000020 a ICW2_MASTER
00000028 a ICW2_SLAVE
00000004 a ICW3_MASTER
00000002 a ICW3_SLAVE
00000001 a ICW4
00009000 a INITSEG
00000040 a INTERRUPT_STATE_SIZE
000108ae T IO_Delay
00015475 t Idle
0001088a T In_Byte
000108a3 T In_Word
00012546 T Init_BSS
00012ac0 T Init_CRC32
0001312f T Init_Code_Segment_Descriptor
00013303 T Init_Data_Segment_Descriptor
00012e46 T Init_GDT
00014050 T Init_Heap
000100b0 T Init_IDT
00010000 T Init_Interrupt_Gate
00010374 T Init_Interrupts
00010a66 T Init_Keyboard
000134ef T Init_LDT_Descriptor
0001277a T Init_Mem
0001310c T Init_Null_Segment_Descriptor
000157a3 T Init_Scheduler
00011e8b T Init_Screen
00012fbc T Init_TSS
000133dc T Init_TSS_Descriptor
00014be4 t Init_Thread
0001201e T Init_Timer
000103fc T Init_Traps
0001052f T Install_IRQ
00010049 T Install_Interrupt_Handler
00010361 T Interrupts_Enabled
00014e1c t Is_Member_Of_All_Thread_List
00015154 t Is_Member_Of_Thread_Queue
000147c0 t Is_Thread_Queue_Empty
00015dfb T Join
00000008 a KERNEL_CS
00000010 a KERNEL_DS
00001000 a KERNSEG
00101000 a KERN_STACK
00100000 a KERN_THREAD_OBJ
00010abe t Keyboard_Interrupt_Handler
00015260 t Launch_Thread
000167b8 T Load_GDTR
000167d4 t Load_GDTR.here
000167b0 T Load_IDTR
000167d8 T Load_LDTR
000130cf t Load_Task_Register
00015f9b T Lookup_Thread
0001671c T Main
00015889 T Make_Runnable
000158f8 T Make_Runnable_Atomic
0001406a T Malloc
00011fe3 T Micro_Delay
00010e80 t Move_Cursor
000143e8 T Mutex_Init
0001442b T Mutex_Lock
000144a9 t Mutex_Lock_Imp
00014593 T Mutex_Unlock
00014611 t Mutex_Unlock_Imp
00014254 t Mutex_Wait
00010dda t Newline
0001087c T Out_Byte
00010894 T Out_Word
000001e2 a PFAT_BOOT_RECORD_OFFSET
0000001c a PFAT_BOOT_RECORD_SIZE
00010faf T Print
00011aab t Print_Emit
00010fa2 t Print_Finish
00010210 t Print_Selector
0001534e t Push
000152c1 t Push_General_Registers
00011abb T Put_Buf
00011d5c T Put_Char
00011731 t Put_Char_Imp
00011214 T Put_Cursor
00010e40 t Put_Graphic_Char
00011c0d T Put_String
0000002c a REG_SKIP
000108c0 T Read_Key
00015001 t Reap_Thread
00015482 t Reaper
00014f42 t Remove_From_All_Thread_List
00015ab5 t Remove_From_Thread_Queue
00015a9b t Remove_Thread
00010eb7 t Reset
00000012 a SECTORS_PER_TRACK
00009020 a SETUPSEG
00015b6e T Schedule
00013083 t Selector
000110e3 T Set_Current_Attr
000104db T Set_IRQ_Mask
000130f1 T Set_Kernel_Stack_Pointer
0001344f t Set_Size_And_Base_Bytes
00013208 t Set_Size_And_Base_Pages
0001537e t Setup_Kernel_Thread
0001536c t Shutdown_Thread
00011fcc t Spin
0001140a t Start_Arg
00015838 T Start_Kernel_Thread
0001867b t String_Emit
000186bc t String_Finish
00016870 T Switch_To_Thread
000121f7 t Timer_Calibrate
00012244 t Timer_Interrupt_Handler
000162f1 T Tlocal_Create
000155fd t Tlocal_Exit
00016483 T Tlocal_Get
000163a0 T Tlocal_Put
00010ef7 t Update_Cursor
0000b800 a VIDSEG
00016155 T Wait
00010c2e T Wait_For_Key
000161d0 T Wake_Up
00016264 T Wake_Up_One
00015c31 T Yield
00012cc9 t __Disable_Interrupts
0001415e t __Disable_Interrupts
000143dc t __Disable_Interrupts
00014f3c t __Disable_Interrupts
00012d90 t __Enable_Interrupts
00014225 t __Enable_Interrupts
000143e2 t __Enable_Interrupts
00014ffb t __Enable_Interrupts
0001a02c A __bss_start
0001912c r __func__.1242
00018afb r __func__.1250
0001973e r __func__.1251
00019ba2 r __func__.1251
00018b0c r __func__.1262
000190a6 r __func__.1262
00018ec5 r __func__.1264
0001977c r __func__.1268
00019bcb r __func__.1268
000190d0 r __func__.1274
00018ed6 r __func__.1276
00019134 r __func__.1302
00018938 r __func__.1307
00018a73 r __func__.1314
000191b2 r __func__.1319
000193cc r __func__.1326
00018b1b r __func__.1343
000196d8 r __func__.1346
0001891e r __func__.1347
0001938a r __func__.1362
00018aef r __func__.1363
0001927c r __func__.1376
000192e8 r __func__.1401
000190b7 r __func__.1409
000191d7 r __func__.1417
000193af r __func__.1417
0001949c r __func__.1423
00018eb3 r __func__.1427
00019210 r __func__.1445
00018ea9 r __func__.1448
000194b0 r __func__.1454
000194c0 r __func__.1480
00018e9c r __func__.1493
000190f3 r __func__.1520
00018bb8 r __func__.1547
000190ea r __func__.1552
00018bd9 r __func__.1559
000190df r __func__.1586
0001909c r __func__.1609
00019661 r __func__.1609
00018f38 r __func__.1633
00018bc9 r __func__.1636
00019a33 r __func__.1665
000197a4 r __func__.1735
00019b01 r __func__.1738
0001986d r __func__.1769
00019899 r __func__.1796
000198e0 r __func__.1834
00019862 r __func__.1842
0001988c r __func__.1854
000198b9 r __func__.1871
000199dc r __func__.1907
000198c3 r __func__.1909
000198cf r __func__.1937
0001998a r __func__.2064
00019a27 r __func__.2084
00019a7d r __func__.2095
00019aa1 r __func__.2118
00019aaf r __func__.2148
00019c27 r __func__.2201
00019ab6 r __func__.2218
00019ac2 r __func__.2279
00019ad0 r __func__.2290
00019ae5 r __func__.2315
00019b48 r __func__.2329
00019b67 r __func__.2348
00019b6d r __func__.2369
00019b78 r __func__.2392
00019bda r __func__.2456
00019bdf r __func__.2469
00019be7 r __func__.2485
00019bf3 r __func__.2500
00019c05 r __func__.2523
00019c4e r __func__.2536
00019c59 r __func__.2553
0001a02c A _edata
0001b658 A _end
00018548 T atoi
00013564 T bget
00013967 T bgetr
0001389e T bgetz
00013ed1 T bpool
00013a55 T brel
00012b43 T crc32
0001aae0 b crc_table
0001b658 A end
000178e8 t format_int
0001a010 d freelist
0001a00c D g_Quantum
0001b650 B g_currentThread
000178e8 T g_entryPointTableEnd
000168e8 T g_entryPointTableStart
0001aac0 B g_freePageCount
0001a028 D g_handlerSizeErr
0001a024 D g_handlerSizeNoErr
0001b240 B g_interruptTable
0001b654 B g_needReschedule
0001b640 B g_numTicks
0001b644 B g_pageList
0001b64c B g_preemptionDisabled
00019d3d r lcdigits.1274
000182e5 T memcmp
000182af T memcpy
00018740 T memmove
00018284 T memset
0001a020 d nextFreePid.2020
0001af00 b s_GDT
0001a040 b s_IDT
0001b004 b s_allThreadList
00018ebd r s_ansiToVgaColor
0001aa80 b s_cons
0001aac4 b s_freeList
0001b014 b s_graveyardQueue
0001a000 d s_irqMask
0001aee0 b s_numAllocated
0001b648 B s_numPages
0001a004 d s_outputSink
0001a860 b s_queue
0001aa60 b s_queueHead
0001aa64 b s_queueTail
0001b01c b s_reaperWaitQueue
0001b00c b s_runQueue
00018cc0 r s_scanTableNoShift
00018c00 r s_scanTableWithShift
0001a840 b s_shiftState
0001aabc b s_spinCountPerTick
0001af80 b s_theTSS
0001b040 b s_tlocalDestructors
0001b000 b s_tlocalKeyCounter
0001afe8 b s_tssDesc
0001afec b s_tssSelector
0001aa68 b s_waitQueue
000186f1 T snprintf
00018450 T strcat
00018592 T strchr
0001839a T strcmp
00018496 T strcpy
00018512 T strdup
0001833c T strlen
000183e4 T strncmp
000184cc T strncpy
00018367 T strnlen
00018619 T strpbrk
000185ca T strrchr
00019d2c r ucdigits.1275

 

使用ld -M选项 或者nm命令获得

 

其中T text是符号是代码区中的符号

 

第一栏 符号地址

第二栏 符号类型

第三栏 符号位于目标文件的哪个区

抱歉!评论已关闭.