Changeset d1f8a87 in mainline for arch/ia32


Ignore:
Timestamp:
2006-03-14T10:42:04Z (20 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
06e6805
Parents:
e74cb73
Message:

Allowed userspace to include page.h.

Location:
arch/ia32/include/mm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/include/mm/frame.h

    re74cb73 rd1f8a87  
    3030#define __ia32_FRAME_H__
    3131
    32 #include <arch/types.h>
    33 
    3432#define FRAME_WIDTH     12      /* 4K */
    3533#define FRAME_SIZE      (1<<FRAME_WIDTH)
     34
     35
     36#ifdef KERNEL
     37#ifndef __ASM__
     38
     39#include <arch/types.h>
    3640
    3741extern __address last_frame;
     
    3943extern void frame_arch_init(void);
    4044
     45#endif /* __ASM__ */
     46#endif /* KERNEL */
     47
    4148#endif
  • arch/ia32/include/mm/page.h

    re74cb73 rd1f8a87  
    3030#define __ia32_PAGE_H__
    3131
     32#include <arch/mm/frame.h>
     33
    3234#define PAGE_WIDTH      FRAME_WIDTH
    3335#define PAGE_SIZE       FRAME_SIZE
     36
     37#ifdef KERNEL
    3438
    3539#ifndef __ASM__
     
    136140#endif /* __ASM__ */
    137141
     142#endif /* KERNEL */
     143
    138144#endif
Note: See TracChangeset for help on using the changeset viewer.