Changeset c0699467 in mainline for kernel/arch/amd64/include


Ignore:
Timestamp:
2011-08-09T18:08:23Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b538ca5c
Parents:
3666d386
Message:

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

Location:
kernel/arch/amd64/include
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/include/context.h

    r3666d386 rc0699467  
    3636#define KERN_amd64_CONTEXT_H_
    3737
    38 #ifdef KERNEL
    39 
    4038#include <typedefs.h>
    4139
     
    5250                (c)->rbp = 0; \
    5351        } while (0)
    54 
    55 #endif /* KERNEL */
    5652
    5753/* We include only registers that must be preserved
  • kernel/arch/amd64/include/istate.h

    r3666d386 rc0699467  
    3636#define KERN_amd64_ISTATE_H_
    3737
    38 #ifdef KERNEL
    39 
    40 #include <typedefs.h>
    4138#include <trace.h>
    42 
    43 #else /* KERNEL */
    44 
    45 #include <sys/types.h>
    46 
    47 #define NO_TRACE
    48 
    49 #endif /* KERNEL */
    5039
    5140/** This is passed to interrupt handlers */
  • kernel/arch/amd64/include/mm/frame.h

    r3666d386 rc0699467  
    3939#define FRAME_SIZE   (1 << FRAME_WIDTH)
    4040
    41 #ifdef KERNEL
    4241#ifndef __ASM__
    4342
     
    4948
    5049#endif /* __ASM__ */
    51 #endif /* KERNEL */
    5250
    5351#endif
  • kernel/arch/amd64/include/mm/page.h

    r3666d386 rc0699467  
    5050#define PAGE_WIDTH  FRAME_WIDTH
    5151#define PAGE_SIZE   FRAME_SIZE
    52 
    53 #ifdef KERNEL
    5452
    5553#ifndef __ASM__
     
    231229#endif /* __ASM__ */
    232230
    233 #endif /* KERNEL */
    234 
    235231#endif
    236232
Note: See TracChangeset for help on using the changeset viewer.