In a castle, only the lord and lady would have had a bedroom of their own. They would probably also have been the only ones with a bed. The garrison would have slept in various rooms in the keep, and the servants would have slept where they worked: the kitchen, stables, and so on.