the isolated round hill on which the castle stood was itself enclosed with a second stockade ; the edge of the brow above that again was defended by a stout high wall of flints and mortar , crenellated at the top .