Changeset ac5d02b in mainline for src/main/main.c


Ignore:
Timestamp:
2005-06-03T13:17:05Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
70527f1
Parents:
dcbc8be
Message:

IA-32 fixes.
Use kernel addresses instead of physical addresses in map_page_to_frame().
Physical addresses are supposed to only be exported to mm hardware.
Because of this fix, userspace is functional again.

Remap EGA videoram to (0x80000000 + videoram) and change the ega driver to work with the new address.

Minor cosmetics through out the code.
Changes in linker scripts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/main.c

    rdcbc8be rac5d02b  
    5656#include <arch/faddr.h>
    5757
     58#include <typedefs.h>
     59
    5860char *project = "SPARTAN kernel";
    5961char *copyright = "Copyright (C) 2001-2005 Jakub Jermar\nCopyright (C) 2005 HelenOS project";
     
    6870 */
    6971__address hardcoded_load_address = 0;
    70 __u32 hardcoded_ktext_size = 0;
    71 __u32 hardcoded_kdata_size = 0;
     72size_t hardcoded_ktext_size = 0;
     73size_t hardcoded_kdata_size = 0;
    7274
    7375void main_bsp(void);
Note: See TracChangeset for help on using the changeset viewer.