If this is a desktop I would reset the CMOS. If nothing else, take battery out for a few minutes, then restart. At this point we don't know if it is hardware or software.
Care to offer a computer or motherboard make/model, system specs, etc., rather than we just guess?