﻿1
00:00:00,180 --> 00:00:07,560
‫So hello, guys, I just wanted to show you something we got to Colonel Dodd, as you know, how I start

2
00:00:07,560 --> 00:00:10,470
‫the interruption here, how how we started the troops here?

3
00:00:10,770 --> 00:00:17,370
‫Well, this is actually quite dangerous to do because we haven't set up the interrupt to script a table

4
00:00:17,370 --> 00:00:18,090
‫at this point.

5
00:00:18,450 --> 00:00:23,900
‫So if an interrupted happened, for whatever reason, there's a chance the system could panic.

6
00:00:24,570 --> 00:00:31,230
‫So we are going to remove this from here and we are going to start the interrupts after we initialize

7
00:00:31,240 --> 00:00:32,620
‫the descriptive table.

8
00:00:33,420 --> 00:00:35,960
‫So this is pretty easy to do and we need to do it.

9
00:00:36,090 --> 00:00:45,510
‫So if we just go to ADT in our source directory and Tarsem, we can put the enabling troops here might

10
00:00:45,510 --> 00:00:50,150
‫not be the best place for it, but it's probably the most appropriate place I can think of right now.

11
00:00:50,520 --> 00:00:55,440
‫So if we just go enable interrupts here, we're going to create an assembly label which is going to

12
00:00:55,440 --> 00:00:58,350
‫go SGI for star interrupts and then just return.

13
00:00:58,350 --> 00:00:58,680
‫Right?

14
00:00:59,160 --> 00:00:59,960
‫Simple as that.

15
00:01:00,600 --> 00:01:04,050
‫We don't need to make the stack frame because this is a very simple operation.

16
00:01:04,150 --> 00:01:11,340
‫If we now go global and interrupts and then we go to Hajj and we're just going to go void.

17
00:01:11,370 --> 00:01:12,360
‫Enable interrupts.

18
00:01:13,770 --> 00:01:16,800
‫OK, and while we're at it less to disable interrupt as well.

19
00:01:16,800 --> 00:01:20,940
‫Why disable interrupts and we're going to make one for this as well.

20
00:01:23,010 --> 00:01:24,480
‫Go to it JSM.

21
00:01:27,520 --> 00:01:35,500
‫Disable interrupts Clie ret, so this function here will enable the interrupts, this one here will

22
00:01:35,500 --> 00:01:38,110
‫clear them and we got our prototypes.

23
00:01:38,150 --> 00:01:42,120
‫They're perfect and we also need to export the data.

24
00:01:42,220 --> 00:01:43,970
‫Disable interrupts function as well.

25
00:01:44,980 --> 00:01:48,970
‫OK, we now go to Canada Diesem we're going to get rid of enable interrupts here.

26
00:01:50,260 --> 00:01:51,830
‫OK, we go to Canada.

27
00:01:51,830 --> 00:01:52,360
‫Let's see.

28
00:01:52,960 --> 00:01:55,150
‫And now we do enable interrupts.

29
00:02:00,860 --> 00:02:10,610
‫And there we go, that is now safe so we can make clean build that S.H. Cribben and we run Kumu.

30
00:02:12,480 --> 00:02:18,360
‫OK, we can see the system still works, is fine, and our interests are working excellent, so that

31
00:02:18,360 --> 00:02:25,920
‫just ensures that an interest doesn't happen until we've initialized the script to table, because there

32
00:02:25,920 --> 00:02:28,680
‫is a chance, a small chance that that could happen.

33
00:02:28,680 --> 00:02:29,040
‫Right.

34
00:02:29,760 --> 00:02:35,520
‫You know, because there's still quite a bit of a timeframe from when we started the interrupts to when

35
00:02:35,520 --> 00:02:40,260
‫we initialize the ADT and we don't want any problems, so.

36
00:02:41,690 --> 00:02:44,000
‫I hope you haven't had problems with this already.

37
00:02:44,210 --> 00:02:45,350
‫At least I didn't.

38
00:02:45,980 --> 00:02:48,120
‫But however, that is how it should be done.

39
00:02:48,140 --> 00:02:48,520
‫OK.

