diff --git a/doc/RTFM.md b/doc/RTFM.md index a1349724c1bdb87b42dbd77da481d986a0f1d9c0..e0fc40cfee8762daa31eac69949acd2126b615d7 100644 --- a/doc/RTFM.md +++ b/doc/RTFM.md @@ -285,9 +285,9 @@ Race freeness at this level can be argued from: ```rust ... - LOW.claim_mut_new(b, t, |_low, b, t| { + LOW.claim_mut(b, t, |_low, b, t| { rtfm::bkpt(); - LOW.claim_mut_new(b, t, |_high, _, _| { + LOW.claim_mut(b, t, |_high, _, _| { rtfm::bkpt(); }); }); @@ -661,10 +661,10 @@ fn exti0( Amounts to the following assembly (including the interrupt entry code.) ```rust Dump of assembler code for function nested_new::_EXTI0: - 0x080005a6 <+0>: movs r1, #224 ; 0xe0 -=> 0x080005a8 <+2>: bkpt 0x0000 - 0x080005aa <+4>: mrs r0, BASEPRI - 0x080005ae <+8>: movs r2, #208 ; 0xd0 + 0x080005a6 <+0>: movs r1, #224 ; 0xe0 +=> 0x080005a8 <+2>: bkpt 0x0000 + 0x080005aa <+4>: mrs r0, BASEPRI + 0x080005ae <+8>: movs r2, #208 ; 0xd0 0x080005b0 <+10>: msr BASEPRI, r1 0x080005b4 <+14>: bkpt 0x0000 0x080005b6 <+16>: mrs r1, BASEPRI @@ -689,10 +689,10 @@ In an exprimental version of the RTFM implementation this observation has been e ```rust Dump of assembler code for function nested_new::_EXTI3: - 0x080005d0 <+0>: movs r1, #224 ; 0xe0 - 0x080005d2 <+2>: movs r2, #208 ; 0xd0 -=> 0x080005d4 <+4>: bkpt 0x0000 - 0x080005d6 <+6>: mrs r0, BASEPRI + 0x080005d0 <+0>: movs r1, #224 ; 0xe0 + 0x080005d2 <+2>: movs r2, #208 ; 0xd0 +=> 0x080005d4 <+4>: bkpt 0x0000 + 0x080005d6 <+6>: mrs r0, BASEPRI 0x080005da <+10>: msr BASEPRI, r1 0x080005de <+14>: bkpt 0x0000 0x080005e0 <+16>: msr BASEPRI, r2