7/27/2019 tlk-0.8-3.ps
1/217
7/27/2019 tlk-0.8-3.ps
2/217
7/27/2019 tlk-0.8-3.ps
3/217
-
7/27/2019 tlk-0.8-3.ps
4/217
-
7/27/2019 tlk-0.8-3.ps
5/217
7/27/2019 tlk-0.8-3.ps
6/217
7/27/2019 tlk-0.8-3.ps
7/217
7/27/2019 tlk-0.8-3.ps
8/217
7/27/2019 tlk-0.8-3.ps
9/217
7/27/2019 tlk-0.8-3.ps
10/217
7/27/2019 tlk-0.8-3.ps
11/217
7/27/2019 tlk-0.8-3.ps
12/217
7/27/2019 tlk-0.8-3.ps
13/217
7/27/2019 tlk-0.8-3.ps
14/217
7/27/2019 tlk-0.8-3.ps
15/217
7/27/2019 tlk-0.8-3.ps
16/217
7/27/2019 tlk-0.8-3.ps
17/217
7/27/2019 tlk-0.8-3.ps
18/217
7/27/2019 tlk-0.8-3.ps
19/217
CPU parallel port
COM1 COM2
power power
ISA Slots
Memory SIMM Slots
PCI Slots
-
-
7/27/2019 tlk-0.8-3.ps
20/217
7/27/2019 tlk-0.8-3.ps
21/217
7/27/2019 tlk-0.8-3.ps
22/217
7/27/2019 tlk-0.8-3.ps
23/217
7/27/2019 tlk-0.8-3.ps
24/217
7/27/2019 tlk-0.8-3.ps
25/217
-
7/27/2019 tlk-0.8-3.ps
26/217
7/27/2019 tlk-0.8-3.ps
27/217
7/27/2019 tlk-0.8-3.ps
28/217
-
-
-
7/27/2019 tlk-0.8-3.ps
29/217
7/27/2019 tlk-0.8-3.ps
30/217
7/27/2019 tlk-0.8-3.ps
31/217
7/27/2019 tlk-0.8-3.ps
32/217
7/27/2019 tlk-0.8-3.ps
33/217
VPFN 0
VPFN 1
VPFN 2
VPFN 3
VPFN 4
VPFN 5
VPFN 6
VPFN 7
VIRTUAL MEMORY
Process X
VPFN 0
VPFN 1
VPFN 2
VPFN 3
VPFN 4
VPFN 5
VPFN 6
VPFN 7
Process Y
VIRTUAL MEMORY
Process XPage Tables
PFN 0
PFN 1
PFN 2
PFN 3
PFN 4
PHYSICAL MEMORY
Page TablesProcess Y
7/27/2019 tlk-0.8-3.ps
34/217
-
7/27/2019 tlk-0.8-3.ps
35/217
7/27/2019 tlk-0.8-3.ps
36/217
7/27/2019 tlk-0.8-3.ps
37/217
ASM
FOE
FOW
FOR
KRE
KWE
URE
HGU
WE
3263
31 1315 14 12 11 10 9 8
PFN
2 07 6 5 4 3 1
__PAGE_ACCESSED__PAGE_DIRTY
V
7/27/2019 tlk-0.8-3.ps
38/217
7/27/2019 tlk-0.8-3.ps
39/217
7/27/2019 tlk-0.8-3.ps
40/217
Level 2
Page Table Page Table
Level 3
Level 2 Level 3 Byte within pageLevel 1
PGD
VIRTUAL ADDRESS
Page Table
Level 1
PFN PFN PFN
Physical Page
7/27/2019 tlk-0.8-3.ps
41/217
0011001100110011
7/27/2019 tlk-0.8-3.ps
42/217
0001111
2
3
4
5
6
7
8
0 PFN
PHYSICAL MEMORY
0001110011001100110011001100114056 mem_map_t mem_map_t mem_map_t free_area
3
4
5
1
0
2
Free PFN
map
map
map
map
7/27/2019 tlk-0.8-3.ps
43/217
7/27/2019 tlk-0.8-3.ps
44/217
offset
next_hashprev_hash
inode
mem_map_t
offset
next_hashprev_hash
inode
mem_map_t
120x2000
120x8000
:::
page_hash_table
7/27/2019 tlk-0.8-3.ps
45/217
7/27/2019 tlk-0.8-3.ps
46/217
7/27/2019 tlk-0.8-3.ps
47/217
7/27/2019 tlk-0.8-3.ps
48/217
7/27/2019 tlk-0.8-3.ps
49/217
7/27/2019 tlk-0.8-3.ps
50/217
7/27/2019 tlk-0.8-3.ps
51/217
7/27/2019 tlk-0.8-3.ps
52/217
7/27/2019 tlk-0.8-3.ps
53/217
7/27/2019 tlk-0.8-3.ps
54/217
7/27/2019 tlk-0.8-3.ps
55/217
7/27/2019 tlk-0.8-3.ps
56/217
7/27/2019 tlk-0.8-3.ps
57/217
7/27/2019 tlk-0.8-3.ps
58/217
-
7/27/2019 tlk-0.8-3.ps
59/217
fs_struct
count
umask
*root
*pwd
inode
inode
file
f_mode
f_pos
f_flags
f_count
f_owner
f_inode
f_opf_version
inode
file operationroutines
fs
files
task_struct
files_struct
count
close_on_exec
open_fs
fd[0]
fd[1]
fd[255]
0x022
7/27/2019 tlk-0.8-3.ps
60/217
7/27/2019 tlk-0.8-3.ps
61/217
count
mmap_avl
mm_struct
mmap_sem
mmap
pgd
vm_area_struct
vm_next
vm_flags
vm_inodevm_ops
vm_endvm_start
task_struct
mm
Processes Virtual Memory
vm_area_struct
vm_next
vm_flags
vm_inodevm_ops
vm_endvm_start
0x8059BB8
0x8048000
0x0000000
Data
Code
7/27/2019 tlk-0.8-3.ps
62/217
7/27/2019 tlk-0.8-3.ps
63/217
7/27/2019 tlk-0.8-3.ps
64/217
7/27/2019 tlk-0.8-3.ps
65/217
ELF Executable Image
68536PT_LOAD
PF_R, PF_W
2200
4248
0x8059BB8
p_typep_offsetp_vaddrp_fileszp_memszp_flags
Data
Code
Physical Header
Physical Header
6853268532
0x80480000PT_LOAD
PF_R, PF_X
E L F0x804809052322
p_typep_offsetp_vaddr
p_fileszp_memszp_flags
e_idente_entrye_phoff e_phentsizee_phnum
-
7/27/2019 tlk-0.8-3.ps
66/217
-
-
-
7/27/2019 tlk-0.8-3.ps
67/217
-
7/27/2019 tlk-0.8-3.ps
68/217
7/27/2019 tlk-0.8-3.ps
69/217
-
-
7/27/2019 tlk-0.8-3.ps
70/217
7/27/2019 tlk-0.8-3.ps
71/217
Data Page
PipeWriteOperations
Process 1 Process 2
f_mode
f_pos
f_flags
f_count
f_owner
f_inode
f_op
f_version
f_mode
f_pos
f_flags
f_count
f_owner
f_inode
f_op
f_version
file file
inode
Pipe
OperationsRead
7/27/2019 tlk-0.8-3.ps
72/217
7/27/2019 tlk-0.8-3.ps
73/217
times
*wwait
msg_qnum
*msg_last
msqid_ds
ipc
*rwait
*msg_first
msg_qnum
msg
msg_type*msg_spotmsg_stimemsg_ts
*msg_next
messagemsg_ts
msg
msg_type*msg_spotmsg_stimemsg_ts
*msg_next
messagemsg_ts
7/27/2019 tlk-0.8-3.ps
74/217
proc_nextid_nextsemidsemadj
sem_undo
sem_queuenextprevsleeperundopidstatussmasopsnsops
sem_nsemsundo
sem_pending_lastsem_pendingsem_base
times
ipc
semid_ds
array of semaphores
-
-
7/27/2019 tlk-0.8-3.ps
75/217
7/27/2019 tlk-0.8-3.ps
76/217
vm_area_struct
vm_next_shared
vm_area_struct
vm_next_shared
pte
pte
pte
ipc
shm_segsz
times
shm_npages
attaches
shm_pages
shmid_ds
7/27/2019 tlk-0.8-3.ps
77/217
7/27/2019 tlk-0.8-3.ps
78/217
-
7/27/2019 tlk-0.8-3.ps
79/217
EthernetSCSI
Video
Upstream
Downstream
PCI-ISABridge
CPU
PCI-PCIBridge
PCI Bus 0
PCI Bus 1ISA Bus
Super I/O Controller
7/27/2019 tlk-0.8-3.ps
80/217
31 1516 0
Device Id Vendor Id
CommandStatus
Class Code
00h
04h
08h
24h
10h
3Ch
Base Address Registers
Line Pin
7/27/2019 tlk-0.8-3.ps
81/217
7/27/2019 tlk-0.8-3.ps
82/217
071131 10 8 2 1
00Func RegisterDevice Select
071131 10 8 2 1
0Func Register 1Reserved DeviceBus
24 23 16 15
7/27/2019 tlk-0.8-3.ps
83/217
7/27/2019 tlk-0.8-3.ps
84/217
pci_root
pci_dev
bussiblingnext
pci_dev
bussiblingnext
pci_dev
bussiblingnext
pci_dev
bussiblingnext
pci_dev
bussiblingnext
pci_bus
parentchildrennextself devices
pci_bus
parentchildrennextself devicesbus = 0
bus = 1
PCI-ISA Bridge PCI-PCI BridgeVideo
SCSI Ethernet
7/27/2019 tlk-0.8-3.ps
85/217
7/27/2019 tlk-0.8-3.ps
86/217
7/27/2019 tlk-0.8-3.ps
87/217
DI D2
1
BridgeDI D2
DI
DI D2
CPU
Bus 0
Bus 1
Bridge Bridge
3 2
Bus ?
Bus ?
Bridge
4
Secondary Bus = 2
Bus 2
Subordinate=0xFF
Primary Bus = 0Secondary Bus = 1
Primary Bus = 1
Subordinate=2
7/27/2019 tlk-0.8-3.ps
88/217
7/27/2019 tlk-0.8-3.ps
89/217
01
0
31 234
Base Address
Typeprefetchable
0131
Reserved
Base Address 1
Base Address for PCI I/O Space
Base Address for PCI Memory Space
2
7/27/2019 tlk-0.8-3.ps
90/217
7/27/2019 tlk-0.8-3.ps
91/217
7/27/2019 tlk-0.8-3.ps
92/217
-
7/27/2019 tlk-0.8-3.ps
93/217
PIC1
PIC2
Keyboard
ide1
SCSI
sound 5
CPU 0
7
0
7
2
Real Time Clock
ide0
Serial
1
4
floppy6
3
6
-
7/27/2019 tlk-0.8-3.ps
94/217
-
7/27/2019 tlk-0.8-3.ps
95/217
-
- -
-
-
7/27/2019 tlk-0.8-3.ps
96/217
Interrupthandlingroutinefor thisdevice
flags
name
next
handler
irq_action
1
0
2
3
irqaction
irqaction
handlerflags
name
next
irqaction
handlerflags
name
next
-
-
- -
7/27/2019 tlk-0.8-3.ps
97/217
7/27/2019 tlk-0.8-3.ps
98/217
7/27/2019 tlk-0.8-3.ps
99/217
-
7/27/2019 tlk-0.8-3.ps
100/217
-
-
7/27/2019 tlk-0.8-3.ps
101/217
-
-
-
7/27/2019 tlk-0.8-3.ps
102/217
7/27/2019 tlk-0.8-3.ps
103/217
namefops
chrdevs
lseekreadwritereaddirselectiocltmmapopenreleasefsyn
fasynccheck_media_changerevalidate
file operations
7/27/2019 tlk-0.8-3.ps
104/217
request_fn()current_request
::
sembh
next
tail
rq_statusrq_dev
mcd
request
sembh
next
tail
rq_statusrq_dev
mcd
request
0x030139
1024
b_devb_blocknr
b_stateb_countb_size
b_prevb_next
b_data
buffer_head
blk_dev_struct
blk_dev
7/27/2019 tlk-0.8-3.ps
105/217
-
-
7/27/2019 tlk-0.8-3.ps
106/217
majormajor_nameminor_shiftmax_pmax_nrinit()partsizesnr_realreal_devicesnext
gendisk
8"sd"
majormajor_nameminor_shiftmax_pmax_nrinit()partsizesnr_realreal_devicesnext
gendisk
start_sectnr_sects
start_sectnr_sects
::
:
hd_struct[]
"ide0"3
gendisk_head
max_p
7/27/2019 tlk-0.8-3.ps
107/217
-
7/27/2019 tlk-0.8-3.ps
108/217
-
7/27/2019 tlk-0.8-3.ps
109/217
-
7/27/2019 tlk-0.8-3.ps
110/217
DeviceDriverRoutines
name
Scsi_Host_Template
next"Buslogic"
next
id
type
host
Scsi_Device
next
id
type
host
Scsi_Device
next
this_idmax_id
Scsi_Host
hostt
scsi_devices
scsi_hostlist
scsi_hosts
7/27/2019 tlk-0.8-3.ps
111/217
7/27/2019 tlk-0.8-3.ps
112/217
-
7/27/2019 tlk-0.8-3.ps
113/217
7/27/2019 tlk-0.8-3.ps
114/217
7/27/2019 tlk-0.8-3.ps
115/217
7/27/2019 tlk-0.8-3.ps
116/217
-
7/27/2019 tlk-0.8-3.ps
117/217
7/27/2019 tlk-0.8-3.ps
118/217
DataBlocks
Block
Group N-1
Block
Group 0
Block
Group N
Block Bitmap
GroupDescriptors
SuperBlock
InodeTable
InodeBitmap
7/27/2019 tlk-0.8-3.ps
119/217
7/27/2019 tlk-0.8-3.ps
120/217
7/27/2019 tlk-0.8-3.ps
121/217
7/27/2019 tlk-0.8-3.ps
122/217
i1 15 file i2 40 14 very_long_name5
0 15 55
inode table
7/27/2019 tlk-0.8-3.ps
123/217
7/27/2019 tlk-0.8-3.ps
124/217
Disk Drivers
BufferCache
CacheInode
CacheDirectory
VFS
MINIX EXT2
7/27/2019 tlk-0.8-3.ps
125/217
7/27/2019 tlk-0.8-3.ps
126/217
7/27/2019 tlk-0.8-3.ps
127/217
file_systems
requires_dev
file_system_type
*read_super()
name
next
"ext2"requires_dev
file_system_type
*read_super()
name
next
requires_dev
file_system_type
*read_super()
name "iso9660"
next
"proc"
7/27/2019 tlk-0.8-3.ps
128/217
7/27/2019 tlk-0.8-3.ps
129/217
requires_dev
file_system_type
*read_super()
name
next
i_devi_ino
vfsmntlist
"ext2"
0x0301
0x0301
0x0301 /dev/hda1 /
vfsmount
mnt_devmnt_devname
mnt_sbmnt_flags
mnt_dirname
next
1024
42
s_devs_blocksize
s_covered
s_flags
s_type
s_mounted
super_block VFS
inodeVFS
7/27/2019 tlk-0.8-3.ps
130/217
7/27/2019 tlk-0.8-3.ps
131/217
b_devb_blocknrb_stateb_countb_size
b_prevb_next
b_data
buffer_head
b_devb_blocknrb_stateb_countb_size
b_prevb_next
b_data
buffer_headhash_tableb_devb_blocknrb_stateb_countb_size
b_prevb_next
b_data
buffer_head
0x0301
0x0301
0x080142 17
39
20481024
1024
7/27/2019 tlk-0.8-3.ps
132/217
-
7/27/2019 tlk-0.8-3.ps
133/217
-
-
-
7/27/2019 tlk-0.8-3.ps
134/217
7/27/2019 tlk-0.8-3.ps
135/217
7/27/2019 tlk-0.8-3.ps
136/217
7/27/2019 tlk-0.8-3.ps
137/217
7/27/2019 tlk-0.8-3.ps
138/217
7/27/2019 tlk-0.8-3.ps
139/217
7/27/2019 tlk-0.8-3.ps
140/217
User
Kernel
Network Devices
Socket Interface
Protocol Layers
SocketsBSD
INETSockets
TCP UDP
ApplicationsNetwork
Ethernet
IP
SLIPPPP
ARP
7/27/2019 tlk-0.8-3.ps
141/217
7/27/2019 tlk-0.8-3.ps
142/217
-
7/27/2019 tlk-0.8-3.ps
143/217
files_struct
count
close_on_exec
open_fs
fd[0]
fd[1]
fd[255]
type
ops
inode
data
socket
Address Familysocket operations
BSD SocketFile Operations
lseekreadwriteselectioctlclosefasync
socket
sock
typeprotocol
file
f_mode
f_pos
f_flags
f_count
f_owner
f_version
f_op
f_inode
SOCK_STREAM
SOCK_STREAM
7/27/2019 tlk-0.8-3.ps
144/217
7/27/2019 tlk-0.8-3.ps
145/217
7/27/2019 tlk-0.8-3.ps
146/217
7/27/2019 tlk-0.8-3.ps
147/217
7/27/2019 tlk-0.8-3.ps
148/217
7/27/2019 tlk-0.8-3.ps
149/217
-
7/27/2019 tlk-0.8-3.ps
150/217
-
7/27/2019 tlk-0.8-3.ps
151/217
7/27/2019 tlk-0.8-3.ps
152/217
7/27/2019 tlk-0.8-3.ps
153/217
fz_listfz_nentfz_logmask
fz_hash_tablefz_next
fz_mask
fib_zone
fib_dstfib_usefib_infofib_metric
fib_next
fib_tos
fib_node
fib_prevfib_gatewayfib_devfib_refcntfib_windowfib_flagsfib_mtufib_irtt
fib_next
fib_info
fib_dstfib_usefib_infofib_metric
fib_next
fib_tos
fib_node
fib_prevfib_gatewayfib_devfib_refcntfib_windowfib_flagsfib_mtufib_irtt
fib_next
fib_info
fib_zones
7/27/2019 tlk-0.8-3.ps
154/217
7/27/2019 tlk-0.8-3.ps
155/217
7/27/2019 tlk-0.8-3.ps
156/217
bh_active31 0
31 0bh_mask
bh_base
31
0 Bottom half handler(timers)
7/27/2019 tlk-0.8-3.ps
157/217
*data
next
*routine()
tq_struct
sync
*data
next
*routine()
tq_struct
sync
task queue
7/27/2019 tlk-0.8-3.ps
158/217
7/27/2019 tlk-0.8-3.ps
159/217
31 0timer_active
nextprevexpiresdata*function()
timer_listnextprevexpiresdata*function()
timer_list
expires*fn()
timer_struct
expires*fn()
timer_struct
31
0
timer_table
nextprevexpiresdata*function()
timer_head
7/27/2019 tlk-0.8-3.ps
160/217
-
7/27/2019 tlk-0.8-3.ps
161/217
7/27/2019 tlk-0.8-3.ps
162/217
-
7/27/2019 tlk-0.8-3.ps
163/217
7/27/2019 tlk-0.8-3.ps
164/217
ref symtab
module
next
size
addr
*cleanup()
state
name
ref symtab
module
next
size
addr
*cleanup()
state
name "vfat"
symbol_tablesizen_symbolsn_refs
symbols
references
symbol_tablesizen_symbolsn_refs
symbols
references
module_list
"fat"
7/27/2019 tlk-0.8-3.ps
165/217
7/27/2019 tlk-0.8-3.ps
166/217
-
-
-
-
-
7/27/2019 tlk-0.8-3.ps
167/217
7/27/2019 tlk-0.8-3.ps
168/217
7/27/2019 tlk-0.8-3.ps
169/217
-
-
-
7/27/2019 tlk-0.8-3.ps
170/217
7/27/2019 tlk-0.8-3.ps
171/217
7/27/2019 tlk-0.8-3.ps
172/217
7/27/2019 tlk-0.8-3.ps
173/217
7/27/2019 tlk-0.8-3.ps
174/217
7/27/2019 tlk-0.8-3.ps
175/217
7/27/2019 tlk-0.8-3.ps
176/217
7/27/2019 tlk-0.8-3.ps
177/217
7/27/2019 tlk-0.8-3.ps
178/217
7/27/2019 tlk-0.8-3.ps
179/217
7/27/2019 tlk-0.8-3.ps
180/217
7/27/2019 tlk-0.8-3.ps
181/217
7/27/2019 tlk-0.8-3.ps
182/217
7/27/2019 tlk-0.8-3.ps
183/217
7/27/2019 tlk-0.8-3.ps
184/217
7/27/2019 tlk-0.8-3.ps
185/217
7/27/2019 tlk-0.8-3.ps
186/217
7/27/2019 tlk-0.8-3.ps
187/217
7/27/2019 tlk-0.8-3.ps
188/217
7/27/2019 tlk-0.8-3.ps
189/217
7/27/2019 tlk-0.8-3.ps
190/217
7/27/2019 tlk-0.8-3.ps
191/217
7/27/2019 tlk-0.8-3.ps
192/217
7/27/2019 tlk-0.8-3.ps
193/217
7/27/2019 tlk-0.8-3.ps
194/217
7/27/2019 tlk-0.8-3.ps
195/217
7/27/2019 tlk-0.8-3.ps
196/217
-
7/27/2019 tlk-0.8-3.ps
197/217
7/27/2019 tlk-0.8-3.ps
198/217
7/27/2019 tlk-0.8-3.ps
199/217
7/27/2019 tlk-0.8-3.ps
200/217
-
7/27/2019 tlk-0.8-3.ps
201/217
-
7/27/2019 tlk-0.8-3.ps
202/217
7/27/2019 tlk-0.8-3.ps
203/217
7/27/2019 tlk-0.8-3.ps
204/217
7/27/2019 tlk-0.8-3.ps
205/217
-
7/27/2019 tlk-0.8-3.ps
206/217
7/27/2019 tlk-0.8-3.ps
207/217
7/27/2019 tlk-0.8-3.ps
208/217
7/27/2019 tlk-0.8-3.ps
209/217
-
7/27/2019 tlk-0.8-3.ps
210/217
7/27/2019 tlk-0.8-3.ps
211/217
7/27/2019 tlk-0.8-3.ps
212/217
7/27/2019 tlk-0.8-3.ps
213/217
7/27/2019 tlk-0.8-3.ps
214/217
-
7/27/2019 tlk-0.8-3.ps
215/217
7/27/2019 tlk-0.8-3.ps
216/217
7/27/2019 tlk-0.8-3.ps
217/217