~vojtech-horky/helenos/helenos-qemu

« back to all changes in this revision

Viewing changes to kernel/arch/amd64/include/mm/page.h

  • Committer: Martin Decky
  • Date: 2011-08-09 18:08:23 UTC
  • Revision ID: martin@decky.cz-20110809180823-yf3gc26yqs7p30sq
do not provide general access to kernel headers from uspace, only allow specific headers to be accessed or shared
externalize headers which serve as kernel/uspace API/ABI into a special tree

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
#define PAGE_WIDTH  FRAME_WIDTH
51
51
#define PAGE_SIZE   FRAME_SIZE
52
52
 
53
 
#ifdef KERNEL
54
 
 
55
53
#ifndef __ASM__
56
54
 
57
55
#define KA2PA(x)  (((uintptr_t) (x)) - UINT64_C(0xffff800000000000))
230
228
 
231
229
#endif /* __ASM__ */
232
230
 
233
 
#endif /* KERNEL */
234
 
 
235
231
#endif
236
232
 
237
233
/** @}