Let
$$M =\left[\begin{array}{cc} A & B\\ B^{T} & D\end{array}\right]$$
where blocks $A$ and $D$ are not invertible, but both are positive semidefinite. Are there conditions such that $M$ is positive semi-definite?
For example, consider the case where
$$A=\left[\begin{array}{cc} a & -a\\-a & a\end{array}\right], \qquad B=\left[\begin{array}{cc} b_{1} & b_{2}\\ b_{2} & b_{1}\end{array}\right], \qquad D=\left[\begin{array}{cc}0 & 0\\0 & 0\end{array}\right]$$
where $a, b_1, b_2 \in \Bbb R$.
I read that if $D$ is invertible and $A-BD^{-1}B^T$ is positive semidefinite then $M$ is positive semidefinite (using Schur complements).
I am wondering if there is a way to show positive semidefiniteness when neither $A$ nor $D$ is invertible; especially, when the matrices $A$, $B$, and $D$ could be written in the form given in the example.