~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/xtensa/include/asm/bootparam.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /*
  2  * include/asm-xtensa/bootparam.h
  3  *
  4  * Definition of the Linux/Xtensa boot parameter structure
  5  *
  6  * This file is subject to the terms and conditions of the GNU General Public
  7  * License.  See the file "COPYING" in the main directory of this archive
  8  * for more details.
  9  *
 10  * Copyright (C) 2001 - 2005  Tensilica Inc.
 11  *
 12  * (Concept borrowed from the 68K port)
 13  */
 14 
 15 #ifndef _XTENSA_BOOTPARAM_H
 16 #define _XTENSA_BOOTPARAM_H
 17 
 18 #define BP_VERSION 0x0001
 19 
 20 #define BP_TAG_COMMAND_LINE     0x1001  /* command line (0-terminated string)*/
 21 #define BP_TAG_INITRD           0x1002  /* ramdisk addr and size (bp_meminfo) */
 22 #define BP_TAG_MEMORY           0x1003  /* memory addr and size (bp_meminfo) */
 23 #define BP_TAG_SERIAL_BAUDRATE  0x1004  /* baud rate of current console. */
 24 #define BP_TAG_SERIAL_PORT      0x1005  /* serial device of current console */
 25 #define BP_TAG_FDT              0x1006  /* flat device tree addr */
 26 
 27 #define BP_TAG_FIRST            0x7B0B  /* first tag with a version number */
 28 #define BP_TAG_LAST             0x7E0B  /* last tag */
 29 
 30 #ifndef __ASSEMBLY__
 31 
 32 /* All records are aligned to 4 bytes */
 33 
 34 typedef struct bp_tag {
 35         unsigned short id;      /* tag id */
 36         unsigned short size;    /* size of this record excluding the structure*/
 37         unsigned long data[];   /* data */
 38 } bp_tag_t;
 39 
 40 struct bp_meminfo {
 41         unsigned long type;
 42         unsigned long start;
 43         unsigned long end;
 44 };
 45 
 46 #define MEMORY_TYPE_CONVENTIONAL        0x1000
 47 #define MEMORY_TYPE_NONE                0x2000
 48 
 49 #endif
 50 #endif
 51 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php