What does "guardroom" mean?

Guardroom: The room occupied by the guard during its term of duty; also, a room where prisoners are confined.

Sources