I'm introducing myself to statistical mechanics using two books: Introduction to Statistical Physics by S. Salinas, and Statistical Physics of Particles, by Mehran Kardar. Both textbooks work on an example of a isolated system which is composed of two systems which are allowed to exchange heat with each other only. System $1$ and $2$ have energy $E_1$ and $E_2$ respectively such that the total energy $E_1+ E_2$ is fixed( microcanonical ensemble). The systems have phase space volumes $\Omega_1(E_1)$ and $\Omega_2(E_2=E- E_1)$, respectively. In salinas book, it is assumed that the energy $E_1$ can assume only discrete values, so the phase space volume of the composite system is given by (eq 4.5 of textbook)
$$\Omega(E) = \sum_{E_1=0}^E \Omega_1(E_1)\Omega_2(E- E_1) \tag1$$
However, Mehran Kardar considers that the energy is a non-countable parameter, such that the total phase space volume is (eq. 4.4 of the textbook)
$$ \Omega(E) = \int_0 ^E dE_1\Omega_1(E_1)\Omega_2(E- E_1) \tag2$$
My problem: This seems to be incorrect to me, since Integration over the energy $E_1$ should imply that the product $\Omega_1 \Omega_2$ would be some kind of density of phase space volume, and not the phase space volume by itself. Also we have that the dimension of $\Omega(E)$ in $(1)$ is different from the $\Omega(E)$ from $(2)$. What point am I missing?
Edit: As far as I have read about this topic, some texts define $\Omega(E)$ as the accessible "area" in system's phase space associated with energy $E$, but $\Omega(E)$ in actually the density of states of the system, not an area. Interpret $\Omega(E)$ as a density of microstates is ok to me since eq. $(2)$ means that $\int dE_1 \Omega_1 \Omega_2$ is also a density. But i'm quite confused about the discrete energy spectrum in a classical description, since the Interpretation of $\Omega(E)$ as a density in eq. $(1)$ makes no longer sense to me.