0
  1. Trang chủ >
  2. Công Nghệ Thông Tin >
  3. Hệ điều hành >

Formal Models of Operating System Kernels phần 2 pps

Formal Models of Operating System Kernels phần 2 pps

Formal Models of Operating System Kernels phần 2 pps

... prop-erty is immediate (the proof is omitted):Proposition 32. The formulæ:∀ q1, q 2 : ProcessQueue • q1⊗ q 2 or:∀ q1, q 2 : ProcessQueue • Catenate[q1/q1?, q 2 /q 2 ?]yield a queue with ... performed, the inclusion of IdleProcRef and the ex-clusion of NullProcRef are of some importance. They determine the range of possible values for the domains of the components of process descriptors. ... operation:AddProcess∆PROCESSESpid?:PREFknd?:PROCESSKINDstatus?:PROCSTATUSstat?:STATUSWDregs ?:GENREGSET 2. 4 Hardware Model 31 2. 4.3 Interrupt FlagThe interrupt flag is of crucial importance in the models that follow. Theflag is of a type containing two values (they...
  • 54
  • 228
  • 0
Formal Models of Operating System Kernels phần 5 pps

Formal Models of Operating System Kernels phần 5 pps

... representable bythe hardware (2 32 − 1 on a 32- bit machine); conversely, the highest possiblepriority would be the most negative integer representable by the hardware( 2 32 on a 32- bit machine).3.4 ... an idea of some of the other things that might need to be handled during termination).If a process is on disk when it is terminated (say, because of system ter-mination or because of some error ... to determine all the children of a parent process.4.8 General ResultsThis final section contains the proof of a number of propositions that dealwith properties of the kernel.The propositions...
  • 31
  • 266
  • 0
Formal Models of Operating System Kernels phần 10 pot

Formal Models of Operating System Kernels phần 10 pot

... 22 7genNextTick 22 6putDriverToSleep 184updateSwapperTimes 184, 22 6CLOCKISR:INIT 177, 22 5ServiceISR 177, 22 5Context:INIT 69, 127 , 21 0RestoreState 69, 128 , 21 2SaveState 69, 128 , 21 1SwapIn 69, 129 , 21 2SwapOut ... number, 24 2, 29 7mainstore attribute, 25 3map, 24 3mapping, 24 0marking, 24 4null, 24 3page fault driver, 24 0page numberlogical, 24 2physical, 24 2paging disk, 26 3placement, 26 7readable, 24 5real, ... 24 5real, 24 0reference count, 26 9shared, 23 9, 24 5, 25 6, 28 9attributes, 29 6sharing, 29 4swapping, 25 4optimisation, 28 0swapping in, 27 6swapping out, 27 5table, 11, 24 4, 24 5allocation, 25 0deallocation,...
  • 31
  • 298
  • 0
Formal Models of Operating System Kernels phần 9 potx

Formal Models of Operating System Kernels phần 9 potx

... counter are:BIT == {0, 1}N 25 6== 0 25 5(N 25 6is just the naturals 0 2 16− 1—i.e., a 16-bit unsigned.)The computation of the counter value forms part of the predicate of schemaComputeHitCounts. ... Npgallocstart =0The value of 0 is completely arbitrary, as is now explained.Some systems map a virtual copy of the operating system onto the vir-tual address space of each user space (and some ... page 27 2 6 Virtual StorageThis algorithm is not foolproof but is a reasonable, hardware-independentchoice. There are many alternative algorithms in the literature (see, for ex-ample, [26 ] or [29 ])...
  • 34
  • 271
  • 0
Formal Models of Operating System Kernels phần 8 pot

Formal Models of Operating System Kernels phần 8 pot

... of sharedpages(p)(sg), for some p and sg.Proof. Similar to the previous proof. ✷Proposition 134. IsLockedPage iff lpno? is a locked page; that is, iff lpno?is an element of lockedpages.Proof. ... of segments.(∀ p : APREF | p ∈ dom pagetable •(∀ sg1, sg 2 : SEGMENT •(sg1= sg 2 ∧sg1∈ dom pagetable(p) ∧ sg 2 ∈ dom pagetable(p)) ⇒dom pagetable(p)(sg1) ∩ dom pagetable(p)(sg 2 )=∅))(∀ ... OnPageRequest = 23 8 5 Using Messages in the Swapping KernelThe procedures comprising the system- call library all send and receivemessages. Therefore, the rest of the proof must be in terms of the propertiesof...
  • 31
  • 366
  • 0
Formal Models of Operating System Kernels phần 7 doc

Formal Models of Operating System Kernels phần 7 doc

... present purposes—the modelling of kernels that are free from thingslike file systems—the approach adopted here seems quite reasonable.5.4 Drivers Using Messages 22 55.4.1 The ClockTo begin the ... prove some fairly general properties of themessage-passing system. Proposition 1 12. The message-passing mechanism is synchronous.Proof. By the predicates of SendMessage and RcvMessage.If the ... message contains the identifier of the sending process. Italso contains two natural numbers (elements of N). They denote the size of the data area and the size of the stack area that are, respectively,...
  • 29
  • 270
  • 0
Formal Models of Operating System Kernels phần 6 pptx

Formal Models of Operating System Kernels phần 6 pptx

... PRIO>P: PRIO ↔ PRIO∀ p1, p 2 : PRIO •p1<Pp 2 ⇔ (p1≤Pp 2 ) ∧¬(p1=Pp 2 )p1>Pp 2 ⇔ (p1≥Pp 2 ) ∧¬(p1=Pp 2 )For completeness, the definitions of these relations are given, ... the priority of p is not recomputed.Proof. Let procs = s1ps 2 with #s1= n. By Proposition 21 (case 2iii),s1= s1,1sms1 ,2 ,where#sm= m,andsnare sequences of new processes,where ... most significant aspect of this chapter’s model is that it actsas an existence proof. It is possible to define a formal model of an operating system kernel and to prove some of its properties. In...
  • 22
  • 237
  • 0
Formal Models of Operating System Kernels phần 4 pot

Formal Models of Operating System Kernels phần 4 pot

... exists a hole of size n1+ n 2 .Proof. Since h1and h 2 are adjacent, they can be merged. The definition of mergememholes is:∀ h1, h 2 : MEMDESC •(lowerhole addr(h1, h 2 ), memsize(h1)+memsize(h 2 ))The ... merging of adjacent freeblocks creates a single new block whose size is the sum of all of the mergedblocks.Proposition 80. If h1and h 2 are adjacent holes in the store of size n1andn 2 , ... {h1})− {h 2 })mergememholes(h1, h 2 )]= # ran((holes− {h1})− {h 2 })+#ranmergememholes(h1, h 2 )= # ran((holes \{h1}) \{h 2 })+#ranmergememholes(h1, h 2 )= # ran((holes...
  • 32
  • 349
  • 0
Formal Models of Operating System Kernels phần 3 ppt

Formal Models of Operating System Kernels phần 3 ppt

... 1.Case 2. p = head elts. Therefore:∃ s1, s 2 :iseqAPREF •elts = s1ps 2 ∧elts= s1s 2 Therefore:#elts =#(s1ps 2 )=#s1+#p +#s 2 =#s1+1+#s 2 =1+#s1+#s 2 =1+#elts✷Proposition ... ⊆ known procsran childof ⊆ known procs ∧ ran childof = ran parentchildof∼= parentof ∧ code owners ⊆ dom parentof(∀ p1, p 2 : APREF •p1∈ dom blockswaiting ∧p 2 ∈ blockswaiting(p1) ... Management 121 ProcessHasParentp?:APREF(∃ p1: APREF •parentof (p1, p?))RemoveProcessFromParent∆(parentof )parent?, child?:APREFparentof= parentof \{(parent?, child?)}ParentOfProcessp?:APREFparent!:APREF(∃...
  • 39
  • 299
  • 0
Formal Models of Operating System Kernels phần 1 pdf

Formal Models of Operating System Kernels phần 1 pdf

... Components 17 2. 1 Introduction 17 2. 2 GenericTables 17 2. 3 QueuesandTheirProperties 21 2. 4 HardwareModel 27 2. 4.1 CCS Model 27 2. 4 .2 Registers 29 2. 4.3 InterruptFlag 31 2. 4.4 Timer Interrupts 32 2.4.5 ... Introduction 20 35 .2 Requirements 20 45.3 Message-PassingPrimitives 20 55.4 DriversUsingMessages 22 45.4.1 The Clock 22 55.5 SwappingUsingMessages 22 85.6 KernelInterface 23 16 Virtual Storage 23 96.1 Introduction ... Workshop in 20 04 on operating systems verification [23 ];• Zhou and Black’s work [37].Much of the formal work on operating systems has been verificational innature. That is, given some working software,...
  • 38
  • 298
  • 0

Xem thêm

Từ khóa: Báo cáo thực tập tại nhà thuốc tại Thành phố Hồ Chí Minh năm 2018Nghiên cứu sự biến đổi một số cytokin ở bệnh nhân xơ cứng bì hệ thốngBáo cáo quy trình mua hàng CT CP Công Nghệ NPVNghiên cứu vật liệu biến hóa (metamaterials) hấp thụ sóng điện tử ở vùng tần số THzGiáo án Sinh học 11 bài 13: Thực hành phát hiện diệp lục và carôtenôitGiáo án Sinh học 11 bài 13: Thực hành phát hiện diệp lục và carôtenôitĐỒ ÁN NGHIÊN CỨU CÔNG NGHỆ KẾT NỐI VÔ TUYẾN CỰ LY XA, CÔNG SUẤT THẤP LPWANNGHIÊN CỨU CÔNG NGHỆ KẾT NỐI VÔ TUYẾN CỰ LY XA, CÔNG SUẤT THẤP LPWAN SLIDEPhối hợp giữa phòng văn hóa và thông tin với phòng giáo dục và đào tạo trong việc tuyên truyền, giáo dục, vận động xây dựng nông thôn mới huyện thanh thủy, tỉnh phú thọTrả hồ sơ điều tra bổ sung đối với các tội xâm phạm sở hữu có tính chất chiếm đoạt theo pháp luật Tố tụng hình sự Việt Nam từ thực tiễn thành phố Hồ Chí Minh (Luận văn thạc sĩ)Phát hiện xâm nhập dựa trên thuật toán k meansChuong 2 nhận dạng rui roTổ chức và hoạt động của Phòng Tư pháp từ thực tiễn tỉnh Phú Thọ (Luận văn thạc sĩ)Quản lý nợ xấu tại Agribank chi nhánh huyện Phù Yên, tỉnh Sơn La (Luận văn thạc sĩ)Tranh tụng tại phiên tòa hình sự sơ thẩm theo pháp luật tố tụng hình sự Việt Nam từ thực tiễn xét xử của các Tòa án quân sự Quân khu (Luận văn thạc sĩ)Giáo án Sinh học 11 bài 14: Thực hành phát hiện hô hấp ở thực vậtGiáo án Sinh học 11 bài 14: Thực hành phát hiện hô hấp ở thực vậtGiáo án Sinh học 11 bài 14: Thực hành phát hiện hô hấp ở thực vậtTrách nhiệm của người sử dụng lao động đối với lao động nữ theo pháp luật lao động Việt Nam từ thực tiễn các khu công nghiệp tại thành phố Hồ Chí Minh (Luận văn thạc sĩ)HIỆU QUẢ CỦA MÔ HÌNH XỬ LÝ BÙN HOẠT TÍNH BẰNG KIỀM