Subversion Repositories HelenOS

Rev

Rev 2723 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2723 Rev 2725
Line 24... Line 24...
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
29
/** @addtogroup ia32mm 
29
/** @addtogroup ia32mm
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
33
 */
33
 */
34
 
34
 
35
#include <arch/boot/memmap.h>
35
#include <arch/boot/memmap.h>
36
#include <arch/mm/memory_init.h>
-
 
37
#include <arch/mm/page.h>
-
 
38
#include <print.h>
-
 
39
 
36
 
40
uint8_t e820counter = 0xff;
37
uint8_t e820counter = 0xff;
41
e820memmap_t e820table[MEMMAP_E820_MAX_RECORDS];
38
e820memmap_t e820table[MEMMAP_E820_MAX_RECORDS];
42
uint32_t e801memorysize;
-
 
43
 
-
 
44
size_t get_memory_size(void)
-
 
45
{
-
 
46
    return e801memorysize * 1024;
-
 
47
}
-
 
48
 
39
 
49
/** @}
40
/** @}
50
 */
41
 */