1. A method of managing a configuration memory of reconfigurable hardware which can be reconfigured according to hardware configuration information, the method comprising: determining, using a computer, at least one slot capable of storing the hardware configuration information based on states of a plurality of slots of the configuration memory; mapping the determined at least one slot of the configuration memory with at least one storage area of an external memory; and storing hardware configuration information, which is stored in the external memory, in the determined at least one slot capable of storing the hardware configuration information, wherein the determining of the at least one slot is performed at runtime while codes resulting from compiling of a program for reconfiguring hardware are executed, and wherein when a lock command for a first slot among the slots is received, the method further comprises changing the state of the first slot from a loading state to an exclusive loading state or changing the state of the first slot from a valid state to an exclusive valid state, so that the first slot is mapped to a first storage area in the external memory and a second storage area other than the first storage area cannot be mapped to the first slot.