Changeset 127c957b in mainline for generic/include/mm/as.h


Ignore:
Timestamp:
2006-05-27T20:02:27Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
00b595b
Parents:
0ee077ee
Message:

Make address space backend data a union.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/include/mm/as.h

    r0ee077ee r127c957b  
    4747#include <adt/list.h>
    4848#include <adt/btree.h>
     49#include <elf.h>
    4950
    5051/** Defined to be true if user address space and kernel address space shadow each other. */
     
    119120
    120121/** Backend data stored in address space area. */
    121 typedef struct backend_data {
    122         __native d1;
    123         __native d2;
     122typedef union {
     123        struct {        /**< elf_backend members */
     124                elf_header_t *elf;
     125                elf_segment_header_t *segment;
     126        };
     127        struct {        /**< phys_backend members */
     128                __address base;
     129                count_t frames;
     130        };
    124131} mem_backend_data_t;
    125132
Note: See TracChangeset for help on using the changeset viewer.