Changeset 3568


Ignore:
Timestamp:
Aug 28, 2007, 11:41:54 PM (18 years ago)
Author:
bird
Message:

Put all the format headers into k/kLdrFmts/.

Location:
trunk/kStuff
Files:
1 added
4 edited
9 moved

Legend:

Unmodified
Added
Removed
  • trunk/kStuff/include/k/kLdrFmts/elf-amd64.h

    r3565 r3568  
    2727 */
    2828
    29 #ifndef __kLdrModELFAmd64_h__
    30 #define __kLdrModELFAmd64_h__
     29#ifndef ___k_kLdrFmts_elf_amd64_h___
     30#define ___k_kLdrFmts_elf_amd64_h___
    3131
    3232/*
  • trunk/kStuff/include/k/kLdrFmts/elf-i386.h

    r3565 r3568  
    2727 */
    2828
    29 #ifndef __kLdrModELFi386_h__
    30 #define __kLdrModELFi386_h__
     29#ifndef ___k_kLdrFmts_elf_i386_h___
     30#define ___k_kLdrFmts_elf_i386_h___
    3131
    3232#if 0 /** @todo Auxiliary vector entries. */
  • trunk/kStuff/include/k/kLdrFmts/elf32.h

    r3567 r3568  
    2727 */
    2828
    29 #ifndef __kLdrModELF32_h__
    30 #define __kLdrModELF32_h__
     29#ifndef ___k_kLdrFmts_elf32_h___
     30#define ___k_kLdrFmts_elf32_h___
    3131
    32 #include "kLdrBase.h"
    33 #include "kLdrModELFCommon.h"
     32#include <k/kDefs.h>
     33#include <k/kTypes.h>
     34#include <k/kLdrFmts/elf_common.h>
    3435
    3536/*
  • trunk/kStuff/include/k/kLdrFmts/elf64.h

    r3567 r3568  
    2727 */
    2828
    29 #ifndef __kLdrModELF64_h__
    30 #define __kLdrModELF64_h__
     29#ifndef ___k_kLdrFmts_elf64_h___
     30#define ___k_kLdrFmts_elf64_h___
    3131
    32 #include "kLdrBase.h"
    33 #include "kLdrModELFCommon.h"
     32#include <k/kDefs.h>
     33#include <k/kTypes.h>
     34#include <k/kLdrFmts/elf_common.h>
    3435
    3536/*
  • trunk/kStuff/include/k/kLdrFmts/elf_common.h

    r3567 r3568  
    2727 */
    2828
    29 #ifndef __kLdrModELFCommon_h__
    30 #define __kLdrModELFCommon_h__
     29#ifndef ___k_kLdrFmts_elf_common_h___
     30#define ___k_kLdrFmts_elf_common_h___
    3131
    3232/*
  • trunk/kStuff/include/k/kLdrFmts/lx.h

    r3567 r3568  
    11/* $Id $ */
    2 
    3 #ifndef __kLdrModLX_h__
    4 #define __kLdrModLX_h__
    5 
    6 #include "kLdrBase.h"
     2/** @file
     3 * LX structures, types and defines.
     4 */
     5
     6#ifndef ___k_kLdrFmts_lx_h___
     7#define ___k_kLdrFmts_lx_h___
     8
     9#include <k/kDefs.h>
     10#include <k/kTypes.h>
    711
    812
  • trunk/kStuff/include/k/kLdrFmts/mach-o.h

    r3567 r3568  
    44 */
    55
    6 #ifndef __kLdrModMachO_h__
    7 #define __kLdrModMachO_h__
    8 
    9 #include "kLdrBase.h"
     6#ifndef ___k_kLdrFmts_mach_o_h___
     7#define ___k_kLdrFmts_mach_o_h___
     8
     9#include <k/kDefs.h>
     10#include <k/kTypes.h>
     11
    1012
    1113/** @defgroup grp_mach_o    The Mach-O Structures, Types, and Defines.
  • trunk/kStuff/include/k/kLdrFmts/mz.h

    r3567 r3568  
    11/* $Id$ */
     2/** @file
     3 * MZ structures, types and defines.
     4 */
    25
    3 #ifndef __kLdrModMZ_h__
    4 #define __kLdrModMZ_h__
     6#ifndef ___k_kLdrFmts_mz_h___
     7#define ___k_kLdrFmts_mz_h___
    58
    6 #include "kLdrBase.h"
     9#include <k/kDefs.h>
     10#include <k/kTypes.h>
    711
    812#pragma pack(1) /* not required */
  • trunk/kStuff/include/k/kLdrFmts/pe.h

    r3567 r3568  
    11/* $Id$ */
    2 
    3 #ifndef __kLdrModPE_h__
    4 #define __kLdrModPE_h__
     2/** @file
     3 * PE structures, types and defines.
     4 */
     5
     6#ifndef ___k_kLdrFmts_pe_h___
     7#define ___k_kLdrFmts_pe_h___
    58
    69
     
    811*   Header Files                                                               *
    912*******************************************************************************/
    10 #include "kLdrBase.h"
     13#include <k/kTypes.h>
     14#include <k/kDefs.h>
    1115
    1216
  • trunk/kStuff/kLdr/kLdrMod.c

    r3567 r3568  
    3232#include "kLdrHlp.h"
    3333#include "kLdrInternal.h"
    34 #include "kLdrModMZ.h"
     34#include <k/kLdrFmts/mz.h>
    3535#if 1 /* testing headers */
    36 # include "kLdrModPE.h"
    37 # include "kLdrModLX.h"
    38 # include "kLdrModELF32.h"
    39 # include "kLdrModELF64.h"
    40 # include "kLdrModMachO.h"
     36# include <k/kLdrFmts/pe.h>
     37# include <k/kLdrFmts/lx.h>
     38# include <k/kLdrFmts/elf32.h>
     39# include <k/kLdrFmts/elf64.h>
     40# include <k/kLdrFmts/mach-o.h>
    4141#endif
    4242
  • trunk/kStuff/kLdr/kLdrModLX.c

    r3567 r3568  
    3232#include "kLdrHlp.h"
    3333#include "kLdrInternal.h"
    34 #include "kLdrModLX.h"
     34#include <k/kLdrFmts/lx.h>
    3535
    3636
  • trunk/kStuff/kLdr/kLdrModMachO.c

    r3567 r3568  
    3232#include "kLdrHlp.h"
    3333#include "kLdrInternal.h"
    34 #include "kLdrModMachO.h"
     34#include <k/kLdrFmts/mach-o.h>
    3535
    3636
  • trunk/kStuff/kLdr/kLdrModPE.c

    r3567 r3568  
    3232#include "kLdrHlp.h"
    3333#include "kLdrInternal.h"
    34 #include "kLdrModPE.h"
     34#include <k/kLdrFmts/pe.h>
    3535
    3636
Note: See TracChangeset for help on using the changeset viewer.