1
00:00:01,510 --> 00:00:02,240
Hello fellas.

2
00:00:02,260 --> 00:00:03,140
Welcome back.

3
00:00:03,160 --> 00:00:11,230
In this lesson we shall give a very short overview of another extension often found close to the call.

4
00:00:11,230 --> 00:00:18,070
This is for memory management as we have described earlier embedded systems often use multiple memory

5
00:00:18,070 --> 00:00:27,550
devices and therefore is usually necessary to have a method to organize these devices and protect the

6
00:00:27,550 --> 00:00:33,460
system from applications trying to make improper access to the hardware.

7
00:00:33,460 --> 00:00:41,110
This can be achieved using some forms of memory management hardware cores have two different types of

8
00:00:41,110 --> 00:00:43,150
memory management hardware.

9
00:00:43,150 --> 00:00:52,180
The first is the known as the MP you the memory Protection Unit and the MP you provides a form of limited

10
00:00:52,990 --> 00:01:00,400
protection and the second is the IMU the memory management unit which provides a much more comprehensive

11
00:01:00,820 --> 00:01:02,100
protection.

12
00:01:02,110 --> 00:01:09,430
There is also the deferred option of not using memory protection hardware at all non protected memory

13
00:01:09,430 --> 00:01:17,980
is fixed and provides little flexibility and it is normally used for small and simple embedded systems

14
00:01:17,980 --> 00:01:19,960
that require no protection.

15
00:01:19,960 --> 00:01:25,360
MP You employs a rather simple system that uses limited number of memory regions.

16
00:01:25,360 --> 00:01:33,760
These regions as we shall see are controlled by a set of special registers in each of each region is

17
00:01:33,760 --> 00:01:37,030
defined with specific access permissions.

18
00:01:37,030 --> 00:01:46,750
MP is often used for systems that require memory protection by law but the systems do not have very

19
00:01:46,750 --> 00:01:48,910
complex memory maps.

20
00:01:48,970 --> 00:01:55,660
So with a system that has a simple memory map it requires the memory protection the MP you can simply

21
00:01:55,660 --> 00:02:01,990
be used to emulate the other hand like I just said is very comprehensive.

22
00:02:01,990 --> 00:02:07,890
The MMR you use is a set of translation tables to provide control over memory.

23
00:02:07,930 --> 00:02:14,650
These tables are stored in the main memory and provide a fake war to physical address map as well as

24
00:02:14,770 --> 00:02:22,990
access permissions we should talk a bit more about memory management when we write in code to demonstrate

25
00:02:23,020 --> 00:02:24,400
how they work.

26
00:02:24,400 --> 00:02:29,390
So this order is for memory management now and I'll see you in the next lesson.
