Changeset c0699467 in mainline for kernel/arch/ia32/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/ia32/include
Files:
5 edited

Legend:

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

    r3666d386 rc0699467  
    3636#define KERN_ia32_CONTEXT_H_
    3737
    38 #ifdef KERNEL
    39 
    4038#include <typedefs.h>
    4139
     
    5755        } while (0)
    5856
    59 #endif /* KERNEL */
    60 
    6157/*
    6258 * Only save registers that must be preserved across
  • kernel/arch/ia32/include/elf.h

    r3666d386 rc0699467  
    2727 */
    2828
    29 /** @addtogroup ia32   
     29/** @addtogroup ia32
    3030 * @{
    3131 */
     
    3636#define KERN_ia32_ELF_H_
    3737
    38 #define ELF_MACHINE             EM_386
    39 #define ELF_DATA_ENCODING       ELFDATA2LSB
    40 #define ELF_CLASS               ELFCLASS32
     38#define ELF_MACHINE        EM_386
     39#define ELF_DATA_ENCODING  ELFDATA2LSB
     40#define ELF_CLASS          ELFCLASS32
    4141
    4242#endif
  • kernel/arch/ia32/include/istate.h

    r3666d386 rc0699467  
    3636#define KERN_ia32_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
    5140typedef struct istate {
  • kernel/arch/ia32/include/mm/frame.h

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

    r3666d386 rc0699467  
    4242#define PAGE_SIZE   FRAME_SIZE
    4343
    44 #ifdef KERNEL
    45 
    4644#ifndef __ASM__
    4745
     
    201199#endif /* __ASM__ */
    202200
    203 #endif /* KERNEL */
    204 
    205201#endif
    206202
Note: See TracChangeset for help on using the changeset viewer.