Like most such surgeries, you could be kept awake, because there are no pain receptors in the brain. There is also no reason to think that you would lose consciousness during the procedure, because a person can have an entire hemisphere removed (hemispherectomy) without loss of consciousness.