US 11,669,614 B2
Electronic device and control method therefor
Dong Uk Kim, Suwon-si (KR); Byung Hoon Kang, Daejeon (KR); Seung Hyun Ha, Suwon-si (KR); Dae Hee Jang, Daejeon (KR); Jin Soo Jang, Daejeon (KR); and Seok Hong, Suwon-si (KR)
Assigned to SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR); and KOREA ADVANCED INSTITUTE OF SCIENCE AND TECHNOLOGY, Daejeon (KR)
Appl. No. 16/760,679
Filed by SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR); and KOREA ADVANCED INSTITUTE OF SCIENCE AND TECHNOLOGY, Daejeon (KR)
PCT Filed Nov. 7, 2018, PCT No. PCT/KR2018/013475
§ 371(c)(1), (2) Date Apr. 30, 2020,
PCT Pub. No. WO2019/093762, PCT Pub. Date May 16, 2019.
Claims priority of application No. 10-2017-0148241 (KR), filed on Nov. 8, 2017.
Prior Publication US 2021/0173923 A1, Jun. 10, 2021
Int. Cl. G06F 12/08 (2016.01); G06F 21/55 (2013.01); G06F 9/48 (2006.01); G06F 12/0831 (2016.01); G06F 21/57 (2013.01); G06F 21/62 (2013.01); G06F 12/0802 (2016.01); G06F 12/1009 (2016.01); G06F 12/14 (2006.01)
CPC G06F 21/552 (2013.01) [G06F 9/48 (2013.01); G06F 12/0802 (2013.01); G06F 12/0831 (2013.01); G06F 12/1009 (2013.01); G06F 12/14 (2013.01); G06F 21/57 (2013.01); G06F 21/6218 (2013.01)] 11 Claims
OG exemplary drawing
 
1. An electronic device comprising:
a first memory storing an operating system, and an application program for execution in the operating system;
a second memory;
a processor configured to:
load some codes among codes corresponding to the application program from the first memory to the second memory, and
based on access information of the codes loaded in the second memory being received from a kernel of the operating system, execute the application program by accessing an area in which the loaded codes are stored, based on the received information; and
a snoop configured to monitor access to an area in which a predetermined code, the access to which has been limited, among the codes loaded in the second memory is stored,
wherein the processor is further configured to:
based on a first command indicating a start of the predetermined code being executed, transmit a first control signal for stopping the monitoring the access to the area in the second memory in which the predetermined code is stored, to the snoop,
based on the access to the area in which the predetermined code is stored being executed according to the stop of the monitoring the access to the area in which the predetermined code is stored, store data corresponding to the area in which the predetermined code is stored, in a cache memory included in the processor, and
based on a second command indicating an end of the predetermined code being executed, transmit a second control signal for restarting the monitoring the access to the area in which the predetermined code is stored, to the snoop, and remove the data stored in the cache memory.