摘要 |
PROBLEM TO BE SOLVED: To provide a system, a program, and a method for protecting a writable area held by each program in a system using an operating system such as a real time operating system loading all programs and data on a main storage memory and sharing a memory space between all the programs. SOLUTION: An initial setting means 5 sets page information held by each task in a data protection table 2 by a task unit to form a page table 3 on the basis of this information, sets each page attribute in protection, and checks whether protected page information matching the task in operation in the data protection table 2 includes an excluded page or not when a page protection exclusion means 6 is called. If the excluded page is included, the page attribute is allowed, and a task ID is registered in a data permission table 4. If the excluded page is not included, the task in operation is suspended, and when a task switching means 12 switches the task, the protected page information is acquired from the data protection table 2 by using a registered task ID, and the attribute of the matching page is returned to a protected condition. COPYRIGHT: (C)2004,JPO |