Patent ID: 7395397
Filing Date: 2008-07-01
Classification: G06F

Abstract:
1. An electronic apparatus for executing a program by using a page table for managing, on a page unit basis, virtual and physical addresses of the program, comprising: an initializing unit, which sets said page table in such a manner that a physical address is unassigned to an area of a variable of the program and initializes said page table; a program executing unit, which executes the program after said page table is initialized by said initializing unit; and a variable setting unit, which sets, when an area unassigned with said physical address is accessed during execution of the program by said program executing unit, an initial value of the variable in the area, wherein said initializing unit sets said page table in such a manner that physical addresses of a data segment area and a BSS area are unassigned and initializes said page table, and wherein if the area unassigned with said physical address is the BSS area, said variable setting unit sets 0 as the initial value of the variable in the area, whereas if the area unassigned with said physical address is the data segment area, said variable setting unit reads the initial value of the variable from a predetermined recording medium and sets the read initial value as the initial value of the variable.