Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/include/mm/frame.h

    r7a0359b rd99c1d2  
    3636#define KERN_amd64_FRAME_H_
    3737
     38#ifndef __ASM__
     39#include <typedefs.h>
     40#endif /* __ASM__ */
     41
    3842#define FRAME_WIDTH  12  /* 4K */
    3943#define FRAME_SIZE   (1 << FRAME_WIDTH)
    4044
    41 #ifdef KERNEL
    4245#ifndef __ASM__
    43 
    44 #include <typedefs.h>
    45 
    4646extern uintptr_t last_frame;
    4747extern void frame_arch_init(void);
    4848extern void physmem_print(void);
    49 
    5049#endif /* __ASM__ */
    51 #endif /* KERNEL */
    5250
    5351#endif
Note: See TracChangeset for help on using the changeset viewer.