[pcbios] Add extra debugging messages relating to the system memory map

This commit is contained in:
Michael Brown
2008-09-07 21:38:19 +01:00
parent a30c70727a
commit 18aa0e79d2
3 changed files with 19 additions and 4 deletions

View File

@@ -43,6 +43,8 @@ int prep_segment ( userptr_t segment, size_t filesz, size_t memsz ) {
physaddr_t end = user_to_phys ( segment, memsz );
unsigned int i;
DBG ( "Preparing segment [%lx,%lx,%lx)\n", start, mid, end );
/* Sanity check */
if ( filesz > memsz ) {
DBG ( "Insane segment [%lx,%lx,%lx)\n", start, mid, end );