The governor of every prison in which persons committed for trial before a court of assize or quarter sessions are confined shall deliver to that court a calendar of those persons.