Changeset 74df77d in mainline for include/mm/page.h


Ignore:
Timestamp:
2005-06-10T16:18:43Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
87cd61f
Parents:
18e0a6c
Message:

Add map_structure() to automate mapping of memory structures that can span multiple pages and/or cross page boundaries.
Change ACPI map_sdt() to use map_structure().

Small changes in MPS code.
The extra frame allocation for accessing frame 0 is unnecessary as it is possible to access frame 0 from kernel address space.
Zero TSS descriptor in the newly prepared GDT.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/mm/page.h

    r18e0a6c r74df77d  
    3232#include <arch/types.h>
    3333#include <arch/mm/page.h>
     34#include <typedefs.h>
    3435
    3536#define PAGE_NOT_CACHEABLE      (0<<0)
     
    4849extern void page_init(void);
    4950extern void map_page_to_frame(__address page, __address frame, int flags, __address root);
     51extern void map_structure(__address s, size_t size);
    5052
    5153#endif
Note: See TracChangeset for help on using the changeset viewer.