Remove the unused arch-x86 and arch-x86-64 kernel headers.
x86-64 already used uapi headers, and x86 can too now. Bug: 11559337 Change-Id: I1196d2500f06ad40f2488b96fc8ccc7e02c7d5c0
This commit is contained in:
		@@ -1,39 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_X86_A_OUT_H
 | 
			
		||||
#define _ASM_X86_A_OUT_H
 | 
			
		||||
struct exec
 | 
			
		||||
{
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 unsigned int a_info;
 | 
			
		||||
 unsigned a_text;
 | 
			
		||||
 unsigned a_data;
 | 
			
		||||
 unsigned a_bss;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 unsigned a_syms;
 | 
			
		||||
 unsigned a_entry;
 | 
			
		||||
 unsigned a_trsize;
 | 
			
		||||
 unsigned a_drsize;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
};
 | 
			
		||||
#define N_TRSIZE(a) ((a).a_trsize)
 | 
			
		||||
#define N_DRSIZE(a) ((a).a_drsize)
 | 
			
		||||
#define N_SYMSIZE(a) ((a).a_syms)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,29 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_X86_ACPI_H
 | 
			
		||||
#define _ASM_X86_ACPI_H
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "acpi_32.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#else
 | 
			
		||||
#include "acpi_64.h"
 | 
			
		||||
#endif
 | 
			
		||||
#include <asm/processor.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,21 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_ACPI_H
 | 
			
		||||
#define _ASM_ACPI_H
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "alternative_32.h"
 | 
			
		||||
#else
 | 
			
		||||
#include "alternative_64.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,46 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _I386_ALTERNATIVE_H
 | 
			
		||||
#define _I386_ALTERNATIVE_H
 | 
			
		||||
#include <asm/types.h>
 | 
			
		||||
#include <linux/stddef.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#include <linux/types.h>
 | 
			
		||||
struct alt_instr {
 | 
			
		||||
 u8 *instr;
 | 
			
		||||
 u8 *replacement;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 u8 cpuid;
 | 
			
		||||
 u8 instrlen;
 | 
			
		||||
 u8 replacementlen;
 | 
			
		||||
 u8 pad;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
};
 | 
			
		||||
struct module;
 | 
			
		||||
#define alternative(oldinstr, newinstr, feature)   asm volatile ("661:\n\t" oldinstr "\n662:\n"   ".section .altinstructions,\"a\"\n"   "  .align 4\n"   "  .long 661b\n"     "  .long 663f\n"     "  .byte %c0\n"     "  .byte 662b-661b\n"     "  .byte 664f-663f\n"     ".previous\n"   ".section .altinstr_replacement,\"ax\"\n"   "663:\n\t" newinstr "\n664:\n"    ".previous" :: "i" (feature) : "memory")
 | 
			
		||||
#define alternative_input(oldinstr, newinstr, feature, input...)   asm volatile ("661:\n\t" oldinstr "\n662:\n"   ".section .altinstructions,\"a\"\n"   "  .align 4\n"   "  .long 661b\n"     "  .long 663f\n"     "  .byte %c0\n"     "  .byte 662b-661b\n"     "  .byte 664f-663f\n"     ".previous\n"   ".section .altinstr_replacement,\"ax\"\n"   "663:\n\t" newinstr "\n664:\n"    ".previous" :: "i" (feature), ##input)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define alternative_io(oldinstr, newinstr, feature, output, input...)   asm volatile ("661:\n\t" oldinstr "\n662:\n"   ".section .altinstructions,\"a\"\n"   "  .align 4\n"   "  .long 661b\n"     "  .long 663f\n"     "  .byte %c[feat]\n"     "  .byte 662b-661b\n"     "  .byte 664f-663f\n"     ".previous\n"   ".section .altinstr_replacement,\"ax\"\n"   "663:\n\t" newinstr "\n664:\n"     ".previous" : output : [feat] "i" (feature), ##input)
 | 
			
		||||
#define ASM_OUTPUT2(a, b) a, b
 | 
			
		||||
#define LOCK_PREFIX ""
 | 
			
		||||
struct paravirt_patch_site;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define __parainstructions NULL
 | 
			
		||||
#define __parainstructions_end NULL
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "apic_32.h"
 | 
			
		||||
#else
 | 
			
		||||
#include "apic_64.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,36 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef __ASM_APIC_H
 | 
			
		||||
#define __ASM_APIC_H
 | 
			
		||||
#include <linux/pm.h>
 | 
			
		||||
#include <linux/delay.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#include <asm/fixmap.h>
 | 
			
		||||
#include <asm/apicdef.h>
 | 
			
		||||
#include <asm/processor.h>
 | 
			
		||||
#include <asm/system.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define Dprintk(x...)
 | 
			
		||||
#define APIC_QUIET 0
 | 
			
		||||
#define APIC_VERBOSE 1
 | 
			
		||||
#define APIC_DEBUG 2
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define apic_printk(v, s, a...) do {   if ((v) <= apic_verbosity)   printk(s, ##a);   } while (0)
 | 
			
		||||
#define local_apic_timer_c2_ok 1
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "apicdef_32.h"
 | 
			
		||||
#else
 | 
			
		||||
#include "apicdef_64.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,404 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef __ASM_APICDEF_H
 | 
			
		||||
#define __ASM_APICDEF_H
 | 
			
		||||
#define APIC_DEFAULT_PHYS_BASE 0xfee00000
 | 
			
		||||
#define APIC_ID 0x20
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define APIC_LVR 0x30
 | 
			
		||||
#define APIC_LVR_MASK 0xFF00FF
 | 
			
		||||
#define GET_APIC_VERSION(x) ((x)&0xFF)
 | 
			
		||||
#define GET_APIC_MAXLVT(x) (((x)>>16)&0xFF)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define APIC_INTEGRATED(x) ((x)&0xF0)
 | 
			
		||||
#define APIC_XAPIC(x) ((x) >= 0x14)
 | 
			
		||||
#define APIC_TASKPRI 0x80
 | 
			
		||||
#define APIC_TPRI_MASK 0xFF
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define APIC_ARBPRI 0x90
 | 
			
		||||
#define APIC_ARBPRI_MASK 0xFF
 | 
			
		||||
#define APIC_PROCPRI 0xA0
 | 
			
		||||
#define APIC_EOI 0xB0
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define APIC_EIO_ACK 0x0
 | 
			
		||||
#define APIC_RRR 0xC0
 | 
			
		||||
#define APIC_LDR 0xD0
 | 
			
		||||
#define APIC_LDR_MASK (0xFF<<24)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define GET_APIC_LOGICAL_ID(x) (((x)>>24)&0xFF)
 | 
			
		||||
#define SET_APIC_LOGICAL_ID(x) (((x)<<24))
 | 
			
		||||
#define APIC_ALL_CPUS 0xFF
 | 
			
		||||
#define APIC_DFR 0xE0
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define APIC_DFR_CLUSTER 0x0FFFFFFFul
 | 
			
		||||
#define APIC_DFR_FLAT 0xFFFFFFFFul
 | 
			
		||||
#define APIC_SPIV 0xF0
 | 
			
		||||
#define APIC_SPIV_FOCUS_DISABLED (1<<9)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define APIC_SPIV_APIC_ENABLED (1<<8)
 | 
			
		||||
#define APIC_ISR 0x100
 | 
			
		||||
#define APIC_ISR_NR 0x8
 | 
			
		||||
#define APIC_TMR 0x180
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define APIC_IRR 0x200
 | 
			
		||||
#define APIC_ESR 0x280
 | 
			
		||||
#define APIC_ESR_SEND_CS 0x00001
 | 
			
		||||
#define APIC_ESR_RECV_CS 0x00002
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define APIC_ESR_SEND_ACC 0x00004
 | 
			
		||||
#define APIC_ESR_RECV_ACC 0x00008
 | 
			
		||||
#define APIC_ESR_SENDILL 0x00020
 | 
			
		||||
#define APIC_ESR_RECVILL 0x00040
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define APIC_ESR_ILLREGA 0x00080
 | 
			
		||||
#define APIC_ICR 0x300
 | 
			
		||||
#define APIC_DEST_SELF 0x40000
 | 
			
		||||
#define APIC_DEST_ALLINC 0x80000
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define APIC_DEST_ALLBUT 0xC0000
 | 
			
		||||
#define APIC_ICR_RR_MASK 0x30000
 | 
			
		||||
#define APIC_ICR_RR_INVALID 0x00000
 | 
			
		||||
#define APIC_ICR_RR_INPROG 0x10000
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define APIC_ICR_RR_VALID 0x20000
 | 
			
		||||
#define APIC_INT_LEVELTRIG 0x08000
 | 
			
		||||
#define APIC_INT_ASSERT 0x04000
 | 
			
		||||
#define APIC_ICR_BUSY 0x01000
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define APIC_DEST_LOGICAL 0x00800
 | 
			
		||||
#define APIC_DM_FIXED 0x00000
 | 
			
		||||
#define APIC_DM_LOWEST 0x00100
 | 
			
		||||
#define APIC_DM_SMI 0x00200
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define APIC_DM_REMRD 0x00300
 | 
			
		||||
#define APIC_DM_NMI 0x00400
 | 
			
		||||
#define APIC_DM_INIT 0x00500
 | 
			
		||||
#define APIC_DM_STARTUP 0x00600
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define APIC_DM_EXTINT 0x00700
 | 
			
		||||
#define APIC_VECTOR_MASK 0x000FF
 | 
			
		||||
#define APIC_ICR2 0x310
 | 
			
		||||
#define GET_APIC_DEST_FIELD(x) (((x)>>24)&0xFF)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define SET_APIC_DEST_FIELD(x) ((x)<<24)
 | 
			
		||||
#define APIC_LVTT 0x320
 | 
			
		||||
#define APIC_LVTTHMR 0x330
 | 
			
		||||
#define APIC_LVTPC 0x340
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define APIC_LVT0 0x350
 | 
			
		||||
#define APIC_LVT_TIMER_BASE_MASK (0x3<<18)
 | 
			
		||||
#define GET_APIC_TIMER_BASE(x) (((x)>>18)&0x3)
 | 
			
		||||
#define SET_APIC_TIMER_BASE(x) (((x)<<18))
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define APIC_TIMER_BASE_CLKIN 0x0
 | 
			
		||||
#define APIC_TIMER_BASE_TMBASE 0x1
 | 
			
		||||
#define APIC_TIMER_BASE_DIV 0x2
 | 
			
		||||
#define APIC_LVT_TIMER_PERIODIC (1<<17)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define APIC_LVT_MASKED (1<<16)
 | 
			
		||||
#define APIC_LVT_LEVEL_TRIGGER (1<<15)
 | 
			
		||||
#define APIC_LVT_REMOTE_IRR (1<<14)
 | 
			
		||||
#define APIC_INPUT_POLARITY (1<<13)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define APIC_SEND_PENDING (1<<12)
 | 
			
		||||
#define APIC_MODE_MASK 0x700
 | 
			
		||||
#define GET_APIC_DELIVERY_MODE(x) (((x)>>8)&0x7)
 | 
			
		||||
#define SET_APIC_DELIVERY_MODE(x,y) (((x)&~0x700)|((y)<<8))
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define APIC_MODE_FIXED 0x0
 | 
			
		||||
#define APIC_MODE_NMI 0x4
 | 
			
		||||
#define APIC_MODE_EXTINT 0x7
 | 
			
		||||
#define APIC_LVT1 0x360
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define APIC_LVTERR 0x370
 | 
			
		||||
#define APIC_TMICT 0x380
 | 
			
		||||
#define APIC_TMCCT 0x390
 | 
			
		||||
#define APIC_TDCR 0x3E0
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define APIC_TDR_DIV_TMBASE (1<<2)
 | 
			
		||||
#define APIC_TDR_DIV_1 0xB
 | 
			
		||||
#define APIC_TDR_DIV_2 0x0
 | 
			
		||||
#define APIC_TDR_DIV_4 0x1
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define APIC_TDR_DIV_8 0x2
 | 
			
		||||
#define APIC_TDR_DIV_16 0x3
 | 
			
		||||
#define APIC_TDR_DIV_32 0x8
 | 
			
		||||
#define APIC_TDR_DIV_64 0x9
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define APIC_TDR_DIV_128 0xA
 | 
			
		||||
#define APIC_BASE (fix_to_virt(FIX_APIC_BASE))
 | 
			
		||||
#define MAX_IO_APICS 64
 | 
			
		||||
#define u32 unsigned int
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
struct local_apic {
 | 
			
		||||
  struct { u32 __reserved[4]; } __reserved_01;
 | 
			
		||||
  struct { u32 __reserved[4]; } __reserved_02;
 | 
			
		||||
  struct {
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 u32 __reserved_1 : 24,
 | 
			
		||||
 phys_apic_id : 4,
 | 
			
		||||
 __reserved_2 : 4;
 | 
			
		||||
 u32 __reserved[3];
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 } id;
 | 
			
		||||
  const
 | 
			
		||||
 struct {
 | 
			
		||||
 u32 version : 8,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 __reserved_1 : 8,
 | 
			
		||||
 max_lvt : 8,
 | 
			
		||||
 __reserved_2 : 8;
 | 
			
		||||
 u32 __reserved[3];
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 } version;
 | 
			
		||||
  struct { u32 __reserved[4]; } __reserved_03;
 | 
			
		||||
  struct { u32 __reserved[4]; } __reserved_04;
 | 
			
		||||
  struct { u32 __reserved[4]; } __reserved_05;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
  struct { u32 __reserved[4]; } __reserved_06;
 | 
			
		||||
  struct {
 | 
			
		||||
 u32 priority : 8,
 | 
			
		||||
 __reserved_1 : 24;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 u32 __reserved_2[3];
 | 
			
		||||
 } tpr;
 | 
			
		||||
  const
 | 
			
		||||
 struct {
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 u32 priority : 8,
 | 
			
		||||
 __reserved_1 : 24;
 | 
			
		||||
 u32 __reserved_2[3];
 | 
			
		||||
 } apr;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
  const
 | 
			
		||||
 struct {
 | 
			
		||||
 u32 priority : 8,
 | 
			
		||||
 __reserved_1 : 24;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 u32 __reserved_2[3];
 | 
			
		||||
 } ppr;
 | 
			
		||||
  struct {
 | 
			
		||||
 u32 eoi;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 u32 __reserved[3];
 | 
			
		||||
 } eoi;
 | 
			
		||||
  struct { u32 __reserved[4]; } __reserved_07;
 | 
			
		||||
  struct {
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 u32 __reserved_1 : 24,
 | 
			
		||||
 logical_dest : 8;
 | 
			
		||||
 u32 __reserved_2[3];
 | 
			
		||||
 } ldr;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
  struct {
 | 
			
		||||
 u32 __reserved_1 : 28,
 | 
			
		||||
 model : 4;
 | 
			
		||||
 u32 __reserved_2[3];
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 } dfr;
 | 
			
		||||
  struct {
 | 
			
		||||
 u32 spurious_vector : 8,
 | 
			
		||||
 apic_enabled : 1,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 focus_cpu : 1,
 | 
			
		||||
 __reserved_2 : 22;
 | 
			
		||||
 u32 __reserved_3[3];
 | 
			
		||||
 } svr;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
  struct {
 | 
			
		||||
  u32 bitfield;
 | 
			
		||||
 u32 __reserved[3];
 | 
			
		||||
 } isr [8];
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
  struct {
 | 
			
		||||
  u32 bitfield;
 | 
			
		||||
 u32 __reserved[3];
 | 
			
		||||
 } tmr [8];
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
  struct {
 | 
			
		||||
  u32 bitfield;
 | 
			
		||||
 u32 __reserved[3];
 | 
			
		||||
 } irr [8];
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
  union {
 | 
			
		||||
 struct {
 | 
			
		||||
 u32 send_cs_error : 1,
 | 
			
		||||
 receive_cs_error : 1,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 send_accept_error : 1,
 | 
			
		||||
 receive_accept_error : 1,
 | 
			
		||||
 __reserved_1 : 1,
 | 
			
		||||
 send_illegal_vector : 1,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 receive_illegal_vector : 1,
 | 
			
		||||
 illegal_register_address : 1,
 | 
			
		||||
 __reserved_2 : 24;
 | 
			
		||||
 u32 __reserved_3[3];
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 } error_bits;
 | 
			
		||||
 struct {
 | 
			
		||||
 u32 errors;
 | 
			
		||||
 u32 __reserved_3[3];
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 } all_errors;
 | 
			
		||||
 } esr;
 | 
			
		||||
  struct { u32 __reserved[4]; } __reserved_08;
 | 
			
		||||
  struct { u32 __reserved[4]; } __reserved_09;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
  struct { u32 __reserved[4]; } __reserved_10;
 | 
			
		||||
  struct { u32 __reserved[4]; } __reserved_11;
 | 
			
		||||
  struct { u32 __reserved[4]; } __reserved_12;
 | 
			
		||||
  struct { u32 __reserved[4]; } __reserved_13;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
  struct { u32 __reserved[4]; } __reserved_14;
 | 
			
		||||
  struct {
 | 
			
		||||
 u32 vector : 8,
 | 
			
		||||
 delivery_mode : 3,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 destination_mode : 1,
 | 
			
		||||
 delivery_status : 1,
 | 
			
		||||
 __reserved_1 : 1,
 | 
			
		||||
 level : 1,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 trigger : 1,
 | 
			
		||||
 __reserved_2 : 2,
 | 
			
		||||
 shorthand : 2,
 | 
			
		||||
 __reserved_3 : 12;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 u32 __reserved_4[3];
 | 
			
		||||
 } icr1;
 | 
			
		||||
  struct {
 | 
			
		||||
 union {
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 u32 __reserved_1 : 24,
 | 
			
		||||
 phys_dest : 4,
 | 
			
		||||
 __reserved_2 : 4;
 | 
			
		||||
 u32 __reserved_3 : 24,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 logical_dest : 8;
 | 
			
		||||
 } dest;
 | 
			
		||||
 u32 __reserved_4[3];
 | 
			
		||||
 } icr2;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
  struct {
 | 
			
		||||
 u32 vector : 8,
 | 
			
		||||
 __reserved_1 : 4,
 | 
			
		||||
 delivery_status : 1,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 __reserved_2 : 3,
 | 
			
		||||
 mask : 1,
 | 
			
		||||
 timer_mode : 1,
 | 
			
		||||
 __reserved_3 : 14;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 u32 __reserved_4[3];
 | 
			
		||||
 } lvt_timer;
 | 
			
		||||
  struct {
 | 
			
		||||
 u32 vector : 8,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 delivery_mode : 3,
 | 
			
		||||
 __reserved_1 : 1,
 | 
			
		||||
 delivery_status : 1,
 | 
			
		||||
 __reserved_2 : 3,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 mask : 1,
 | 
			
		||||
 __reserved_3 : 15;
 | 
			
		||||
 u32 __reserved_4[3];
 | 
			
		||||
 } lvt_thermal;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
  struct {
 | 
			
		||||
 u32 vector : 8,
 | 
			
		||||
 delivery_mode : 3,
 | 
			
		||||
 __reserved_1 : 1,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 delivery_status : 1,
 | 
			
		||||
 __reserved_2 : 3,
 | 
			
		||||
 mask : 1,
 | 
			
		||||
 __reserved_3 : 15;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 u32 __reserved_4[3];
 | 
			
		||||
 } lvt_pc;
 | 
			
		||||
  struct {
 | 
			
		||||
 u32 vector : 8,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 delivery_mode : 3,
 | 
			
		||||
 __reserved_1 : 1,
 | 
			
		||||
 delivery_status : 1,
 | 
			
		||||
 polarity : 1,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 remote_irr : 1,
 | 
			
		||||
 trigger : 1,
 | 
			
		||||
 mask : 1,
 | 
			
		||||
 __reserved_2 : 15;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 u32 __reserved_3[3];
 | 
			
		||||
 } lvt_lint0;
 | 
			
		||||
  struct {
 | 
			
		||||
 u32 vector : 8,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 delivery_mode : 3,
 | 
			
		||||
 __reserved_1 : 1,
 | 
			
		||||
 delivery_status : 1,
 | 
			
		||||
 polarity : 1,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 remote_irr : 1,
 | 
			
		||||
 trigger : 1,
 | 
			
		||||
 mask : 1,
 | 
			
		||||
 __reserved_2 : 15;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 u32 __reserved_3[3];
 | 
			
		||||
 } lvt_lint1;
 | 
			
		||||
  struct {
 | 
			
		||||
 u32 vector : 8,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 __reserved_1 : 4,
 | 
			
		||||
 delivery_status : 1,
 | 
			
		||||
 __reserved_2 : 3,
 | 
			
		||||
 mask : 1,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 __reserved_3 : 15;
 | 
			
		||||
 u32 __reserved_4[3];
 | 
			
		||||
 } lvt_error;
 | 
			
		||||
  struct {
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 u32 initial_count;
 | 
			
		||||
 u32 __reserved_2[3];
 | 
			
		||||
 } timer_icr;
 | 
			
		||||
  const
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 struct {
 | 
			
		||||
 u32 curr_count;
 | 
			
		||||
 u32 __reserved_2[3];
 | 
			
		||||
 } timer_ccr;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
  struct { u32 __reserved[4]; } __reserved_16;
 | 
			
		||||
  struct { u32 __reserved[4]; } __reserved_17;
 | 
			
		||||
  struct { u32 __reserved[4]; } __reserved_18;
 | 
			
		||||
  struct { u32 __reserved[4]; } __reserved_19;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
  struct {
 | 
			
		||||
 u32 divisor : 4,
 | 
			
		||||
 __reserved_1 : 28;
 | 
			
		||||
 u32 __reserved_2[3];
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 } timer_dcr;
 | 
			
		||||
  struct { u32 __reserved[4]; } __reserved_20;
 | 
			
		||||
} __attribute__ ((packed));
 | 
			
		||||
#undef u32
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "atomic_32.h"
 | 
			
		||||
#else
 | 
			
		||||
#include "atomic_64.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,45 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef __ARCH_I386_ATOMIC__
 | 
			
		||||
#define __ARCH_I386_ATOMIC__
 | 
			
		||||
#include <linux/compiler.h>
 | 
			
		||||
#include <asm/processor.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#include <asm/cmpxchg.h>
 | 
			
		||||
typedef struct { int counter; } atomic_t;
 | 
			
		||||
#define ATOMIC_INIT(i) { (i) }
 | 
			
		||||
#define atomic_read(v) ((v)->counter)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define atomic_set(v,i) (((v)->counter) = (i))
 | 
			
		||||
#define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new)))
 | 
			
		||||
#define atomic_xchg(v, new) (xchg(&((v)->counter), (new)))
 | 
			
		||||
#define atomic_inc_not_zero(v) atomic_add_unless((v), 1, 0)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define atomic_inc_return(v) (atomic_add_return(1,v))
 | 
			
		||||
#define atomic_dec_return(v) (atomic_sub_return(1,v))
 | 
			
		||||
#define atomic_clear_mask(mask, addr)  __asm__ __volatile__(LOCK_PREFIX "andl %0,%1"  : : "r" (~(mask)),"m" (*addr) : "memory")
 | 
			
		||||
#define atomic_set_mask(mask, addr)  __asm__ __volatile__(LOCK_PREFIX "orl %0,%1"  : : "r" (mask),"m" (*(addr)) : "memory")
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define smp_mb__before_atomic_dec() barrier()
 | 
			
		||||
#define smp_mb__after_atomic_dec() barrier()
 | 
			
		||||
#define smp_mb__before_atomic_inc() barrier()
 | 
			
		||||
#define smp_mb__after_atomic_inc() barrier()
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#include <asm-generic/atomic.h>
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,28 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_X86_AUXVEC_H
 | 
			
		||||
#define _ASM_X86_AUXVEC_H
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#define AT_SYSINFO 32
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
#define AT_SYSINFO_EHDR 33
 | 
			
		||||
#define AT_VECTOR_SIZE_ARCH 2
 | 
			
		||||
#endif
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "bitops_32.h"
 | 
			
		||||
#else
 | 
			
		||||
#include "bitops_64.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,35 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _I386_BITOPS_H
 | 
			
		||||
#define _I386_BITOPS_H
 | 
			
		||||
#ifndef _LINUX_BITOPS_H
 | 
			
		||||
#error only <linux/bitops.h> can be included directly
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
#include <linux/compiler.h>
 | 
			
		||||
#include <asm/alternative.h>
 | 
			
		||||
#define ADDR (*(volatile long *) addr)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define smp_mb__before_clear_bit() barrier()
 | 
			
		||||
#define smp_mb__after_clear_bit() barrier()
 | 
			
		||||
#define test_bit(nr,addr)  (__builtin_constant_p(nr) ?   constant_test_bit((nr),(addr)) :   variable_test_bit((nr),(addr)))
 | 
			
		||||
#undef ADDR
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#include <asm-generic/bitops/fls64.h>
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,29 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef __ASM_X86_BITSPERLONG_H
 | 
			
		||||
#define __ASM_X86_BITSPERLONG_H
 | 
			
		||||
#ifdef __x86_64__
 | 
			
		||||
#define __BITS_PER_LONG 64
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#else
 | 
			
		||||
#define __BITS_PER_LONG 32
 | 
			
		||||
#endif
 | 
			
		||||
#include <asm-generic/bitsperlong.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,23 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_X86_BUG_H
 | 
			
		||||
#define _ASM_X86_BUG_H
 | 
			
		||||
#include <asm-generic/bug.h>
 | 
			
		||||
#endif
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
@@ -1,74 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_X86_BYTEORDER_H
 | 
			
		||||
#define _ASM_X86_BYTEORDER_H
 | 
			
		||||
#include <asm/types.h>
 | 
			
		||||
#include <linux/compiler.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#ifdef __GNUC__
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
static __inline__ __attribute_const__ __u32 ___arch__swab32(__u32 x)
 | 
			
		||||
{
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 __asm__("xchgb %b0,%h0\n\t"
 | 
			
		||||
 "rorl $16,%0\n\t"
 | 
			
		||||
 "xchgb %b0,%h0"
 | 
			
		||||
 :"=q" (x)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 : "0" (x));
 | 
			
		||||
 return x;
 | 
			
		||||
}
 | 
			
		||||
static __inline__ __attribute_const__ __u64 ___arch__swab64(__u64 val)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
{
 | 
			
		||||
 union {
 | 
			
		||||
 struct { __u32 a,b; } s;
 | 
			
		||||
 __u64 u;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 } v;
 | 
			
		||||
 v.u = val;
 | 
			
		||||
 v.s.a = ___arch__swab32(v.s.a);
 | 
			
		||||
 v.s.b = ___arch__swab32(v.s.b);
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 __asm__("xchgl %0,%1" : "=r" (v.s.a), "=r" (v.s.b) : "0" (v.s.a), "1" (v.s.b));
 | 
			
		||||
 return v.u;
 | 
			
		||||
}
 | 
			
		||||
#else
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
static __inline__ __attribute_const__ __u64 ___arch__swab64(__u64 x)
 | 
			
		||||
{
 | 
			
		||||
 __asm__("bswapq %0" : "=r" (x) : "0" (x));
 | 
			
		||||
 return x;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
}
 | 
			
		||||
static __inline__ __attribute_const__ __u32 ___arch__swab32(__u32 x)
 | 
			
		||||
{
 | 
			
		||||
 __asm__("bswapl %0" : "=r" (x) : "0" (x));
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 return x;
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
#define __arch__swab64(x) ___arch__swab64(x)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define __arch__swab32(x) ___arch__swab32(x)
 | 
			
		||||
#define __BYTEORDER_HAS_U64__
 | 
			
		||||
#endif
 | 
			
		||||
#include <linux/byteorder/little_endian.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,25 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ARCH_X86_CACHE_H
 | 
			
		||||
#define _ARCH_X86_CACHE_H
 | 
			
		||||
#define L1_CACHE_SHIFT (CONFIG_X86_L1_CACHE_SHIFT)
 | 
			
		||||
#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define __read_mostly __attribute__((__section__(".data.read_mostly")))
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,41 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_X86_CACHEFLUSH_H
 | 
			
		||||
#define _ASM_X86_CACHEFLUSH_H
 | 
			
		||||
#include <linux/mm.h>
 | 
			
		||||
#define flush_cache_all() do { } while (0)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define flush_cache_mm(mm) do { } while (0)
 | 
			
		||||
#define flush_cache_dup_mm(mm) do { } while (0)
 | 
			
		||||
#define flush_cache_range(vma, start, end) do { } while (0)
 | 
			
		||||
#define flush_cache_page(vma, vmaddr, pfn) do { } while (0)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define flush_dcache_page(page) do { } while (0)
 | 
			
		||||
#define flush_dcache_mmap_lock(mapping) do { } while (0)
 | 
			
		||||
#define flush_dcache_mmap_unlock(mapping) do { } while (0)
 | 
			
		||||
#define flush_icache_range(start, end) do { } while (0)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define flush_icache_page(vma,pg) do { } while (0)
 | 
			
		||||
#define flush_icache_user_range(vma,pg,adr,len) do { } while (0)
 | 
			
		||||
#define flush_cache_vmap(start, end) do { } while (0)
 | 
			
		||||
#define flush_cache_vunmap(start, end) do { } while (0)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define copy_to_user_page(vma, page, vaddr, dst, src, len)   memcpy(dst, src, len)
 | 
			
		||||
#define copy_from_user_page(vma, page, vaddr, dst, src, len)   memcpy(dst, src, len)
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "cmpxchg_32.h"
 | 
			
		||||
#else
 | 
			
		||||
#include "cmpxchg_64.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,36 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef __ASM_CMPXCHG_H
 | 
			
		||||
#define __ASM_CMPXCHG_H
 | 
			
		||||
#include <linux/bitops.h>
 | 
			
		||||
#define xchg(ptr,v) ((__typeof__(*(ptr)))__xchg((unsigned long)(v),(ptr),sizeof(*(ptr))))
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
struct __xchg_dummy { unsigned long a[100]; };
 | 
			
		||||
#define __xg(x) ((struct __xchg_dummy *)(x))
 | 
			
		||||
#define ll_low(x) *(((unsigned int*)&(x))+0)
 | 
			
		||||
#define ll_high(x) *(((unsigned int*)&(x))+1)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define set_64bit(ptr,value)  (__builtin_constant_p(value) ?   __set_64bit_constant(ptr, value) :   __set_64bit_var(ptr, value) )
 | 
			
		||||
#define _set_64bit(ptr,value)  (__builtin_constant_p(value) ?   __set_64bit(ptr, (unsigned int)(value), (unsigned int)((value)>>32ULL) ) :   __set_64bit(ptr, ll_low(value), ll_high(value)) )
 | 
			
		||||
#define cmpxchg(ptr,o,n)  ({   __typeof__(*(ptr)) __ret;   if (likely(boot_cpu_data.x86 > 3))   __ret = __cmpxchg((ptr), (unsigned long)(o),   (unsigned long)(n), sizeof(*(ptr)));   else   __ret = cmpxchg_386((ptr), (unsigned long)(o),   (unsigned long)(n), sizeof(*(ptr)));   __ret;  })
 | 
			
		||||
#define cmpxchg_local(ptr,o,n)  ({   __typeof__(*(ptr)) __ret;   if (likely(boot_cpu_data.x86 > 3))   __ret = __cmpxchg_local((ptr), (unsigned long)(o),   (unsigned long)(n), sizeof(*(ptr)));   else   __ret = cmpxchg_386((ptr), (unsigned long)(o),   (unsigned long)(n), sizeof(*(ptr)));   __ret;  })
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define cmpxchg64(ptr,o,n)  ((__typeof__(*(ptr)))__cmpxchg64((ptr),(unsigned long long)(o),  (unsigned long long)(n)))
 | 
			
		||||
#define cmpxchg64_local(ptr,o,n)  ((__typeof__(*(ptr)))__cmpxchg64_local((ptr),(unsigned long long)(o),  (unsigned long long)(n)))
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "cpufeature_32.h"
 | 
			
		||||
#else
 | 
			
		||||
#include "cpufeature_64.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,171 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef __ASM_I386_CPUFEATURE_H
 | 
			
		||||
#define __ASM_I386_CPUFEATURE_H
 | 
			
		||||
#ifndef __ASSEMBLY__
 | 
			
		||||
#include <linux/bitops.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
#include <asm/required-features.h>
 | 
			
		||||
#define NCAPINTS 8
 | 
			
		||||
#define X86_FEATURE_FPU (0*32+ 0)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define X86_FEATURE_VME (0*32+ 1)
 | 
			
		||||
#define X86_FEATURE_DE (0*32+ 2)
 | 
			
		||||
#define X86_FEATURE_PSE (0*32+ 3)
 | 
			
		||||
#define X86_FEATURE_TSC (0*32+ 4)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define X86_FEATURE_MSR (0*32+ 5)
 | 
			
		||||
#define X86_FEATURE_PAE (0*32+ 6)
 | 
			
		||||
#define X86_FEATURE_MCE (0*32+ 7)
 | 
			
		||||
#define X86_FEATURE_CX8 (0*32+ 8)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define X86_FEATURE_APIC (0*32+ 9)
 | 
			
		||||
#define X86_FEATURE_SEP (0*32+11)
 | 
			
		||||
#define X86_FEATURE_MTRR (0*32+12)
 | 
			
		||||
#define X86_FEATURE_PGE (0*32+13)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define X86_FEATURE_MCA (0*32+14)
 | 
			
		||||
#define X86_FEATURE_CMOV (0*32+15)
 | 
			
		||||
#define X86_FEATURE_PAT (0*32+16)
 | 
			
		||||
#define X86_FEATURE_PSE36 (0*32+17)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define X86_FEATURE_PN (0*32+18)
 | 
			
		||||
#define X86_FEATURE_CLFLSH (0*32+19)
 | 
			
		||||
#define X86_FEATURE_DS (0*32+21)
 | 
			
		||||
#define X86_FEATURE_ACPI (0*32+22)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define X86_FEATURE_MMX (0*32+23)
 | 
			
		||||
#define X86_FEATURE_FXSR (0*32+24)
 | 
			
		||||
#define X86_FEATURE_XMM (0*32+25)
 | 
			
		||||
#define X86_FEATURE_XMM2 (0*32+26)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define X86_FEATURE_SELFSNOOP (0*32+27)
 | 
			
		||||
#define X86_FEATURE_HT (0*32+28)
 | 
			
		||||
#define X86_FEATURE_ACC (0*32+29)
 | 
			
		||||
#define X86_FEATURE_IA64 (0*32+30)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define X86_FEATURE_SYSCALL (1*32+11)
 | 
			
		||||
#define X86_FEATURE_MP (1*32+19)
 | 
			
		||||
#define X86_FEATURE_NX (1*32+20)
 | 
			
		||||
#define X86_FEATURE_MMXEXT (1*32+22)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define X86_FEATURE_RDTSCP (1*32+27)
 | 
			
		||||
#define X86_FEATURE_LM (1*32+29)
 | 
			
		||||
#define X86_FEATURE_3DNOWEXT (1*32+30)
 | 
			
		||||
#define X86_FEATURE_3DNOW (1*32+31)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define X86_FEATURE_RECOVERY (2*32+ 0)
 | 
			
		||||
#define X86_FEATURE_LONGRUN (2*32+ 1)
 | 
			
		||||
#define X86_FEATURE_LRTI (2*32+ 3)
 | 
			
		||||
#define X86_FEATURE_CXMMX (3*32+ 0)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define X86_FEATURE_K6_MTRR (3*32+ 1)
 | 
			
		||||
#define X86_FEATURE_CYRIX_ARR (3*32+ 2)
 | 
			
		||||
#define X86_FEATURE_CENTAUR_MCR (3*32+ 3)
 | 
			
		||||
#define X86_FEATURE_K8 (3*32+ 4)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define X86_FEATURE_K7 (3*32+ 5)
 | 
			
		||||
#define X86_FEATURE_P3 (3*32+ 6)
 | 
			
		||||
#define X86_FEATURE_P4 (3*32+ 7)
 | 
			
		||||
#define X86_FEATURE_CONSTANT_TSC (3*32+ 8)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define X86_FEATURE_UP (3*32+ 9)
 | 
			
		||||
#define X86_FEATURE_FXSAVE_LEAK (3*32+10)
 | 
			
		||||
#define X86_FEATURE_ARCH_PERFMON (3*32+11)
 | 
			
		||||
#define X86_FEATURE_PEBS (3*32+12)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define X86_FEATURE_BTS (3*32+13)
 | 
			
		||||
#define X86_FEATURE_SYNC_RDTSC (3*32+15)
 | 
			
		||||
#define X86_FEATURE_REP_GOOD (3*32+16)
 | 
			
		||||
#define X86_FEATURE_XMM3 (4*32+ 0)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define X86_FEATURE_MWAIT (4*32+ 3)
 | 
			
		||||
#define X86_FEATURE_DSCPL (4*32+ 4)
 | 
			
		||||
#define X86_FEATURE_EST (4*32+ 7)
 | 
			
		||||
#define X86_FEATURE_TM2 (4*32+ 8)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define X86_FEATURE_CID (4*32+10)
 | 
			
		||||
#define X86_FEATURE_CX16 (4*32+13)
 | 
			
		||||
#define X86_FEATURE_XTPR (4*32+14)
 | 
			
		||||
#define X86_FEATURE_DCA (4*32+18)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define X86_FEATURE_XSTORE (5*32+ 2)
 | 
			
		||||
#define X86_FEATURE_XSTORE_EN (5*32+ 3)
 | 
			
		||||
#define X86_FEATURE_XCRYPT (5*32+ 6)
 | 
			
		||||
#define X86_FEATURE_XCRYPT_EN (5*32+ 7)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define X86_FEATURE_ACE2 (5*32+ 8)
 | 
			
		||||
#define X86_FEATURE_ACE2_EN (5*32+ 9)
 | 
			
		||||
#define X86_FEATURE_PHE (5*32+ 10)
 | 
			
		||||
#define X86_FEATURE_PHE_EN (5*32+ 11)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define X86_FEATURE_PMM (5*32+ 12)
 | 
			
		||||
#define X86_FEATURE_PMM_EN (5*32+ 13)
 | 
			
		||||
#define X86_FEATURE_LAHF_LM (6*32+ 0)
 | 
			
		||||
#define X86_FEATURE_CMP_LEGACY (6*32+ 1)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define X86_FEATURE_IDA (7*32+ 0)
 | 
			
		||||
#define cpu_has(c, bit)   (__builtin_constant_p(bit) &&   ( (((bit)>>5)==0 && (1UL<<((bit)&31) & REQUIRED_MASK0)) ||   (((bit)>>5)==1 && (1UL<<((bit)&31) & REQUIRED_MASK1)) ||   (((bit)>>5)==2 && (1UL<<((bit)&31) & REQUIRED_MASK2)) ||   (((bit)>>5)==3 && (1UL<<((bit)&31) & REQUIRED_MASK3)) ||   (((bit)>>5)==4 && (1UL<<((bit)&31) & REQUIRED_MASK4)) ||   (((bit)>>5)==5 && (1UL<<((bit)&31) & REQUIRED_MASK5)) ||   (((bit)>>5)==6 && (1UL<<((bit)&31) & REQUIRED_MASK6)) ||   (((bit)>>5)==7 && (1UL<<((bit)&31) & REQUIRED_MASK7)) )   ? 1 :   test_bit(bit, (c)->x86_capability))
 | 
			
		||||
#define boot_cpu_has(bit) cpu_has(&boot_cpu_data, bit)
 | 
			
		||||
#define cpu_has_fpu boot_cpu_has(X86_FEATURE_FPU)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define cpu_has_vme boot_cpu_has(X86_FEATURE_VME)
 | 
			
		||||
#define cpu_has_de boot_cpu_has(X86_FEATURE_DE)
 | 
			
		||||
#define cpu_has_pse boot_cpu_has(X86_FEATURE_PSE)
 | 
			
		||||
#define cpu_has_tsc boot_cpu_has(X86_FEATURE_TSC)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define cpu_has_pae boot_cpu_has(X86_FEATURE_PAE)
 | 
			
		||||
#define cpu_has_pge boot_cpu_has(X86_FEATURE_PGE)
 | 
			
		||||
#define cpu_has_apic boot_cpu_has(X86_FEATURE_APIC)
 | 
			
		||||
#define cpu_has_sep boot_cpu_has(X86_FEATURE_SEP)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define cpu_has_mtrr boot_cpu_has(X86_FEATURE_MTRR)
 | 
			
		||||
#define cpu_has_mmx boot_cpu_has(X86_FEATURE_MMX)
 | 
			
		||||
#define cpu_has_fxsr boot_cpu_has(X86_FEATURE_FXSR)
 | 
			
		||||
#define cpu_has_xmm boot_cpu_has(X86_FEATURE_XMM)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define cpu_has_xmm2 boot_cpu_has(X86_FEATURE_XMM2)
 | 
			
		||||
#define cpu_has_xmm3 boot_cpu_has(X86_FEATURE_XMM3)
 | 
			
		||||
#define cpu_has_ht boot_cpu_has(X86_FEATURE_HT)
 | 
			
		||||
#define cpu_has_mp boot_cpu_has(X86_FEATURE_MP)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define cpu_has_nx boot_cpu_has(X86_FEATURE_NX)
 | 
			
		||||
#define cpu_has_k6_mtrr boot_cpu_has(X86_FEATURE_K6_MTRR)
 | 
			
		||||
#define cpu_has_cyrix_arr boot_cpu_has(X86_FEATURE_CYRIX_ARR)
 | 
			
		||||
#define cpu_has_centaur_mcr boot_cpu_has(X86_FEATURE_CENTAUR_MCR)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define cpu_has_xstore boot_cpu_has(X86_FEATURE_XSTORE)
 | 
			
		||||
#define cpu_has_xstore_enabled boot_cpu_has(X86_FEATURE_XSTORE_EN)
 | 
			
		||||
#define cpu_has_xcrypt boot_cpu_has(X86_FEATURE_XCRYPT)
 | 
			
		||||
#define cpu_has_xcrypt_enabled boot_cpu_has(X86_FEATURE_XCRYPT_EN)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define cpu_has_ace2 boot_cpu_has(X86_FEATURE_ACE2)
 | 
			
		||||
#define cpu_has_ace2_enabled boot_cpu_has(X86_FEATURE_ACE2_EN)
 | 
			
		||||
#define cpu_has_phe boot_cpu_has(X86_FEATURE_PHE)
 | 
			
		||||
#define cpu_has_phe_enabled boot_cpu_has(X86_FEATURE_PHE_EN)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define cpu_has_pmm boot_cpu_has(X86_FEATURE_PMM)
 | 
			
		||||
#define cpu_has_pmm_enabled boot_cpu_has(X86_FEATURE_PMM_EN)
 | 
			
		||||
#define cpu_has_ds boot_cpu_has(X86_FEATURE_DS)
 | 
			
		||||
#define cpu_has_pebs boot_cpu_has(X86_FEATURE_PEBS)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define cpu_has_clflush boot_cpu_has(X86_FEATURE_CLFLSH)
 | 
			
		||||
#define cpu_has_bts boot_cpu_has(X86_FEATURE_BTS)
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,19 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#include <asm-generic/cputime.h>
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "current_32.h"
 | 
			
		||||
#else
 | 
			
		||||
#include "current_64.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,26 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _I386_CURRENT_H
 | 
			
		||||
#define _I386_CURRENT_H
 | 
			
		||||
#include <linux/compiler.h>
 | 
			
		||||
#include <asm/percpu.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
struct task_struct;
 | 
			
		||||
#define current get_current()
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_X86_DELAY_H
 | 
			
		||||
#define _ASM_X86_DELAY_H
 | 
			
		||||
#define udelay(n) (__builtin_constant_p(n) ?   ((n) > 20000 ? __bad_udelay() : __const_udelay((n) * 0x10c7ul)) :   __udelay(n))
 | 
			
		||||
#define ndelay(n) (__builtin_constant_p(n) ?   ((n) > 20000 ? __bad_ndelay() : __const_udelay((n) * 5ul)) :   __ndelay(n))
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "desc_32.h"
 | 
			
		||||
#else
 | 
			
		||||
#include "desc_64.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,76 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef __ARCH_DESC_H
 | 
			
		||||
#define __ARCH_DESC_H
 | 
			
		||||
#include <asm/ldt.h>
 | 
			
		||||
#include <asm/segment.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#ifndef __ASSEMBLY__
 | 
			
		||||
#include <linux/preempt.h>
 | 
			
		||||
#include <linux/smp.h>
 | 
			
		||||
#include <linux/percpu.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#include <asm/mmu.h>
 | 
			
		||||
struct Xgt_desc_struct {
 | 
			
		||||
 unsigned short size;
 | 
			
		||||
 unsigned long address __attribute__((packed));
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 unsigned short pad;
 | 
			
		||||
} __attribute__ ((packed));
 | 
			
		||||
struct gdt_page
 | 
			
		||||
{
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 struct desc_struct gdt[GDT_ENTRIES];
 | 
			
		||||
} __attribute__((aligned(PAGE_SIZE)));
 | 
			
		||||
#define DESCTYPE_LDT 0x82
 | 
			
		||||
#define DESCTYPE_TSS 0x89
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define DESCTYPE_TASK 0x85
 | 
			
		||||
#define DESCTYPE_INT 0x8e
 | 
			
		||||
#define DESCTYPE_TRAP 0x8f
 | 
			
		||||
#define DESCTYPE_DPL3 0x60
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define DESCTYPE_S 0x10
 | 
			
		||||
#define load_TR_desc() native_load_tr_desc()
 | 
			
		||||
#define load_gdt(dtr) native_load_gdt(dtr)
 | 
			
		||||
#define load_idt(dtr) native_load_idt(dtr)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define load_tr(tr) __asm__ __volatile("ltr %0"::"m" (tr))
 | 
			
		||||
#define load_ldt(ldt) __asm__ __volatile("lldt %0"::"m" (ldt))
 | 
			
		||||
#define store_gdt(dtr) native_store_gdt(dtr)
 | 
			
		||||
#define store_idt(dtr) native_store_idt(dtr)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define store_tr(tr) (tr = native_store_tr())
 | 
			
		||||
#define store_ldt(ldt) __asm__ ("sldt %0":"=m" (ldt))
 | 
			
		||||
#define load_TLS(t, cpu) native_load_tls(t, cpu)
 | 
			
		||||
#define set_ldt native_set_ldt
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define write_ldt_entry(dt, entry, a, b) write_dt_entry(dt, entry, a, b)
 | 
			
		||||
#define write_gdt_entry(dt, entry, a, b) write_dt_entry(dt, entry, a, b)
 | 
			
		||||
#define write_idt_entry(dt, entry, a, b) write_dt_entry(dt, entry, a, b)
 | 
			
		||||
#define set_tss_desc(cpu,addr) __set_tss_desc(cpu, GDT_ENTRY_TSS, addr)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define LDT_entry_a(info)   ((((info)->base_addr & 0x0000ffff) << 16) | ((info)->limit & 0x0ffff))
 | 
			
		||||
#define LDT_entry_b(info)   (((info)->base_addr & 0xff000000) |   (((info)->base_addr & 0x00ff0000) >> 16) |   ((info)->limit & 0xf0000) |   (((info)->read_exec_only ^ 1) << 9) |   ((info)->contents << 10) |   (((info)->seg_not_present ^ 1) << 15) |   ((info)->seg_32bit << 22) |   ((info)->limit_in_pages << 23) |   ((info)->useable << 20) |   0x7000)
 | 
			
		||||
#define LDT_empty(info) (  (info)->base_addr == 0 &&   (info)->limit == 0 &&   (info)->contents == 0 &&   (info)->read_exec_only == 1 &&   (info)->seg_32bit == 0 &&   (info)->limit_in_pages == 0 &&   (info)->seg_not_present == 1 &&   (info)->useable == 0 )
 | 
			
		||||
#else
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define GET_DESC_BASE(idx, gdt, base, lo_w, lo_b, hi_b)   movb idx*8+4(gdt), lo_b;   movb idx*8+7(gdt), hi_b;   shll $16, base;   movw idx*8+2(gdt), lo_w;
 | 
			
		||||
#endif
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,76 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef __ARCH_DESC_DEFS_H
 | 
			
		||||
#define __ARCH_DESC_DEFS_H
 | 
			
		||||
#ifndef __ASSEMBLY__
 | 
			
		||||
#include <linux/types.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
struct desc_struct {
 | 
			
		||||
 u16 limit0;
 | 
			
		||||
 u16 base0;
 | 
			
		||||
 unsigned base1 : 8, type : 4, s : 1, dpl : 2, p : 1;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 unsigned limit : 4, avl : 1, l : 1, d : 1, g : 1, base2 : 8;
 | 
			
		||||
} __attribute__((packed));
 | 
			
		||||
struct n_desc_struct {
 | 
			
		||||
 unsigned int a,b;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
};
 | 
			
		||||
enum {
 | 
			
		||||
 GATE_INTERRUPT = 0xE,
 | 
			
		||||
 GATE_TRAP = 0xF,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 GATE_CALL = 0xC,
 | 
			
		||||
};
 | 
			
		||||
struct gate_struct {
 | 
			
		||||
 u16 offset_low;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 u16 segment;
 | 
			
		||||
 unsigned ist : 3, zero0 : 5, type : 5, dpl : 2, p : 1;
 | 
			
		||||
 u16 offset_middle;
 | 
			
		||||
 u32 offset_high;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 u32 zero1;
 | 
			
		||||
} __attribute__((packed));
 | 
			
		||||
#define PTR_LOW(x) ((unsigned long)(x) & 0xFFFF)
 | 
			
		||||
#define PTR_MIDDLE(x) (((unsigned long)(x) >> 16) & 0xFFFF)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define PTR_HIGH(x) ((unsigned long)(x) >> 32)
 | 
			
		||||
enum {
 | 
			
		||||
 DESC_TSS = 0x9,
 | 
			
		||||
 DESC_LDT = 0x2,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
};
 | 
			
		||||
struct ldttss_desc {
 | 
			
		||||
 u16 limit0;
 | 
			
		||||
 u16 base0;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 unsigned base1 : 8, type : 5, dpl : 2, p : 1;
 | 
			
		||||
 unsigned limit1 : 4, zero0 : 3, g : 1, base2 : 8;
 | 
			
		||||
 u32 base3;
 | 
			
		||||
 u32 zero1;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
} __attribute__((packed));
 | 
			
		||||
struct desc_ptr {
 | 
			
		||||
 unsigned short size;
 | 
			
		||||
 unsigned long address;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
} __attribute__((packed)) ;
 | 
			
		||||
#endif
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,30 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_X86_DIV64_H
 | 
			
		||||
#define _ASM_X86_DIV64_H
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include <linux/types.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define do_div(n,base) ({   unsigned long __upper, __low, __high, __mod, __base;   __base = (base);   asm("":"=a" (__low), "=d" (__high):"A" (n));   __upper = __high;   if (__high) {   __upper = __high % (__base);   __high = __high / (__base);   }   asm("divl %2":"=a" (__low), "=d" (__mod):"rm" (__base), "0" (__low), "1" (__upper));   asm("":"=A" (n):"a" (__low),"d" (__high));   __mod;  })
 | 
			
		||||
#define div_long_long_rem(a,b,c) div_ll_X_l_rem(a,b,c)
 | 
			
		||||
#else
 | 
			
		||||
#include <asm-generic/div64.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "dma-mapping_32.h"
 | 
			
		||||
#else
 | 
			
		||||
#include "dma-mapping_64.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,33 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_I386_DMA_MAPPING_H
 | 
			
		||||
#define _ASM_I386_DMA_MAPPING_H
 | 
			
		||||
#include <linux/mm.h>
 | 
			
		||||
#include <linux/scatterlist.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#include <asm/cache.h>
 | 
			
		||||
#include <asm/io.h>
 | 
			
		||||
#include <asm/bug.h>
 | 
			
		||||
#define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h)
 | 
			
		||||
#define dma_is_consistent(d, h) (1)
 | 
			
		||||
#define ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY
 | 
			
		||||
#endif
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "dma_32.h"
 | 
			
		||||
#else
 | 
			
		||||
#include "dma_64.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,98 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_DMA_H
 | 
			
		||||
#define _ASM_DMA_H
 | 
			
		||||
#include <linux/spinlock.h>
 | 
			
		||||
#include <asm/io.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#include <linux/delay.h>
 | 
			
		||||
#ifdef HAVE_REALLY_SLOW_DMA_CONTROLLER
 | 
			
		||||
#define dma_outb outb_p
 | 
			
		||||
#else
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define dma_outb outb
 | 
			
		||||
#endif
 | 
			
		||||
#define dma_inb inb
 | 
			
		||||
#define MAX_DMA_CHANNELS 8
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MAX_DMA_ADDRESS (PAGE_OFFSET+0x1000000)
 | 
			
		||||
#define IO_DMA1_BASE 0x00
 | 
			
		||||
#define IO_DMA2_BASE 0xC0
 | 
			
		||||
#define DMA1_CMD_REG 0x08
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define DMA1_STAT_REG 0x08
 | 
			
		||||
#define DMA1_REQ_REG 0x09
 | 
			
		||||
#define DMA1_MASK_REG 0x0A
 | 
			
		||||
#define DMA1_MODE_REG 0x0B
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define DMA1_CLEAR_FF_REG 0x0C
 | 
			
		||||
#define DMA1_TEMP_REG 0x0D
 | 
			
		||||
#define DMA1_RESET_REG 0x0D
 | 
			
		||||
#define DMA1_CLR_MASK_REG 0x0E
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define DMA1_MASK_ALL_REG 0x0F
 | 
			
		||||
#define DMA2_CMD_REG 0xD0
 | 
			
		||||
#define DMA2_STAT_REG 0xD0
 | 
			
		||||
#define DMA2_REQ_REG 0xD2
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define DMA2_MASK_REG 0xD4
 | 
			
		||||
#define DMA2_MODE_REG 0xD6
 | 
			
		||||
#define DMA2_CLEAR_FF_REG 0xD8
 | 
			
		||||
#define DMA2_TEMP_REG 0xDA
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define DMA2_RESET_REG 0xDA
 | 
			
		||||
#define DMA2_CLR_MASK_REG 0xDC
 | 
			
		||||
#define DMA2_MASK_ALL_REG 0xDE
 | 
			
		||||
#define DMA_ADDR_0 0x00
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define DMA_ADDR_1 0x02
 | 
			
		||||
#define DMA_ADDR_2 0x04
 | 
			
		||||
#define DMA_ADDR_3 0x06
 | 
			
		||||
#define DMA_ADDR_4 0xC0
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define DMA_ADDR_5 0xC4
 | 
			
		||||
#define DMA_ADDR_6 0xC8
 | 
			
		||||
#define DMA_ADDR_7 0xCC
 | 
			
		||||
#define DMA_CNT_0 0x01
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define DMA_CNT_1 0x03
 | 
			
		||||
#define DMA_CNT_2 0x05
 | 
			
		||||
#define DMA_CNT_3 0x07
 | 
			
		||||
#define DMA_CNT_4 0xC2
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define DMA_CNT_5 0xC6
 | 
			
		||||
#define DMA_CNT_6 0xCA
 | 
			
		||||
#define DMA_CNT_7 0xCE
 | 
			
		||||
#define DMA_PAGE_0 0x87
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define DMA_PAGE_1 0x83
 | 
			
		||||
#define DMA_PAGE_2 0x81
 | 
			
		||||
#define DMA_PAGE_3 0x82
 | 
			
		||||
#define DMA_PAGE_5 0x8B
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define DMA_PAGE_6 0x89
 | 
			
		||||
#define DMA_PAGE_7 0x8A
 | 
			
		||||
#define DMA_MODE_READ 0x44
 | 
			
		||||
#define DMA_MODE_WRITE 0x48
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define DMA_MODE_CASCADE 0xC0
 | 
			
		||||
#define DMA_AUTOINIT 0x10
 | 
			
		||||
#define isa_dma_bridge_buggy (0)
 | 
			
		||||
#endif
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "dwarf2_32.h"
 | 
			
		||||
#else
 | 
			
		||||
#include "dwarf2_64.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,43 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _DWARF2_H
 | 
			
		||||
#define _DWARF2_H
 | 
			
		||||
#ifndef __ASSEMBLY__
 | 
			
		||||
#warning "asm/dwarf2.h should be only included in pure assembly files"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
#define CFI_STARTPROC ignore
 | 
			
		||||
#define CFI_ENDPROC ignore
 | 
			
		||||
#define CFI_DEF_CFA ignore
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define CFI_DEF_CFA_REGISTER ignore
 | 
			
		||||
#define CFI_DEF_CFA_OFFSET ignore
 | 
			
		||||
#define CFI_ADJUST_CFA_OFFSET ignore
 | 
			
		||||
#define CFI_OFFSET ignore
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define CFI_REL_OFFSET ignore
 | 
			
		||||
#define CFI_REGISTER ignore
 | 
			
		||||
#define CFI_RESTORE ignore
 | 
			
		||||
#define CFI_REMEMBER_STATE ignore
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define CFI_RESTORE_STATE ignore
 | 
			
		||||
#define CFI_UNDEFINED ignore
 | 
			
		||||
#define CFI_SIGNAL_FRAME ignore
 | 
			
		||||
#endif
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
@@ -1,44 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef __ASM_E820_H
 | 
			
		||||
#define __ASM_E820_H
 | 
			
		||||
#define E820MAP 0x2d0
 | 
			
		||||
#define E820MAX 128
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define E820NR 0x1e8
 | 
			
		||||
#define E820_RAM 1
 | 
			
		||||
#define E820_RESERVED 2
 | 
			
		||||
#define E820_ACPI 3
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define E820_NVS 4
 | 
			
		||||
#ifndef __ASSEMBLY__
 | 
			
		||||
struct e820entry {
 | 
			
		||||
 __u64 addr;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 __u64 size;
 | 
			
		||||
 __u32 type;
 | 
			
		||||
} __attribute__((packed));
 | 
			
		||||
struct e820map {
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 __u32 nr_map;
 | 
			
		||||
 struct e820entry map[E820MAX];
 | 
			
		||||
};
 | 
			
		||||
#endif
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,19 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#include <asm-generic/errno.h>
 | 
			
		||||
@@ -1,19 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#include <asm-generic/fcntl.h>
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "fixmap_32.h"
 | 
			
		||||
#else
 | 
			
		||||
#include "fixmap_64.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,59 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_FIXMAP_H
 | 
			
		||||
#define _ASM_FIXMAP_H
 | 
			
		||||
#define FIXADDR_USER_START __fix_to_virt(FIX_VDSO)
 | 
			
		||||
#define FIXADDR_USER_END __fix_to_virt(FIX_VDSO - 1)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#ifndef __ASSEMBLY__
 | 
			
		||||
#include <linux/kernel.h>
 | 
			
		||||
#include <asm/acpi.h>
 | 
			
		||||
#include <asm/apicdef.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#include <asm/page.h>
 | 
			
		||||
enum fixed_addresses {
 | 
			
		||||
 FIX_HOLE,
 | 
			
		||||
 FIX_VDSO,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 FIX_DBGP_BASE,
 | 
			
		||||
 FIX_EARLYCON_MEM_BASE,
 | 
			
		||||
 __end_of_permanent_fixed_addresses,
 | 
			
		||||
#define NR_FIX_BTMAPS 16
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 FIX_BTMAP_END = __end_of_permanent_fixed_addresses,
 | 
			
		||||
 FIX_BTMAP_BEGIN = FIX_BTMAP_END + NR_FIX_BTMAPS - 1,
 | 
			
		||||
 FIX_WP_TEST,
 | 
			
		||||
 __end_of_fixed_addresses
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
};
 | 
			
		||||
#define set_fixmap(idx, phys)   __set_fixmap(idx, phys, PAGE_KERNEL)
 | 
			
		||||
#define set_fixmap_nocache(idx, phys)   __set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE)
 | 
			
		||||
#define clear_fixmap(idx)   __set_fixmap(idx, 0, __pgprot(0))
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define FIXADDR_TOP ((unsigned long)__FIXADDR_TOP)
 | 
			
		||||
#define __FIXADDR_SIZE (__end_of_permanent_fixed_addresses << PAGE_SHIFT)
 | 
			
		||||
#define __FIXADDR_BOOT_SIZE (__end_of_fixed_addresses << PAGE_SHIFT)
 | 
			
		||||
#define FIXADDR_START (FIXADDR_TOP - __FIXADDR_SIZE)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define FIXADDR_BOOT_START (FIXADDR_TOP - __FIXADDR_BOOT_SIZE)
 | 
			
		||||
#define __fix_to_virt(x) (FIXADDR_TOP - ((x) << PAGE_SHIFT))
 | 
			
		||||
#define __virt_to_fix(x) ((FIXADDR_TOP - ((x)&PAGE_MASK)) >> PAGE_SHIFT)
 | 
			
		||||
#endif
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "genapic_32.h"
 | 
			
		||||
#else
 | 
			
		||||
#include "genapic_64.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,79 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_GENAPIC_H
 | 
			
		||||
#define _ASM_GENAPIC_H 1
 | 
			
		||||
#include <asm/mpspec.h>
 | 
			
		||||
struct mpc_config_translation;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
struct mpc_config_bus;
 | 
			
		||||
struct mp_config_table;
 | 
			
		||||
struct mpc_config_processor;
 | 
			
		||||
struct genapic {
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 char *name;
 | 
			
		||||
 int (*probe)(void);
 | 
			
		||||
 int (*apic_id_registered)(void);
 | 
			
		||||
 cpumask_t (*target_cpus)(void);
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 int int_delivery_mode;
 | 
			
		||||
 int int_dest_mode;
 | 
			
		||||
 int ESR_DISABLE;
 | 
			
		||||
 int apic_destination_logical;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 unsigned long (*check_apicid_used)(physid_mask_t bitmap, int apicid);
 | 
			
		||||
 unsigned long (*check_apicid_present)(int apicid);
 | 
			
		||||
 int no_balance_irq;
 | 
			
		||||
 int no_ioapic_check;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 void (*init_apic_ldr)(void);
 | 
			
		||||
 physid_mask_t (*ioapic_phys_id_map)(physid_mask_t map);
 | 
			
		||||
 void (*setup_apic_routing)(void);
 | 
			
		||||
 int (*multi_timer_check)(int apic, int irq);
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 int (*apicid_to_node)(int logical_apicid);
 | 
			
		||||
 int (*cpu_to_logical_apicid)(int cpu);
 | 
			
		||||
 int (*cpu_present_to_apicid)(int mps_cpu);
 | 
			
		||||
 physid_mask_t (*apicid_to_cpu_present)(int phys_apicid);
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 int (*mpc_apic_id)(struct mpc_config_processor *m,
 | 
			
		||||
 struct mpc_config_translation *t);
 | 
			
		||||
 void (*setup_portio_remap)(void);
 | 
			
		||||
 int (*check_phys_apicid_present)(int boot_cpu_physical_apicid);
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 void (*enable_apic_mode)(void);
 | 
			
		||||
 u32 (*phys_pkg_id)(u32 cpuid_apic, int index_msb);
 | 
			
		||||
 void (*mpc_oem_bus_info)(struct mpc_config_bus *, char *,
 | 
			
		||||
 struct mpc_config_translation *);
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 void (*mpc_oem_pci_bus)(struct mpc_config_bus *,
 | 
			
		||||
 struct mpc_config_translation *);
 | 
			
		||||
 int (*mps_oem_check)(struct mp_config_table *mpc, char *oem,
 | 
			
		||||
 char *productid);
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 int (*acpi_madt_oem_check)(char *oem_id, char *oem_table_id);
 | 
			
		||||
 unsigned (*get_apic_id)(unsigned long x);
 | 
			
		||||
 unsigned long apic_id_mask;
 | 
			
		||||
 unsigned int (*cpu_mask_to_apicid)(cpumask_t cpumask);
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
};
 | 
			
		||||
#define APICFUNC(x) .x = x,
 | 
			
		||||
#define IPIFUNC(x)
 | 
			
		||||
#define APIC_INIT(aname, aprobe) {   .name = aname,   .probe = aprobe,   .int_delivery_mode = INT_DELIVERY_MODE,   .int_dest_mode = INT_DEST_MODE,   .no_balance_irq = NO_BALANCE_IRQ,   .ESR_DISABLE = esr_disable,   .apic_destination_logical = APIC_DEST_LOGICAL,   APICFUNC(apic_id_registered)   APICFUNC(target_cpus)   APICFUNC(check_apicid_used)   APICFUNC(check_apicid_present)   APICFUNC(init_apic_ldr)   APICFUNC(ioapic_phys_id_map)   APICFUNC(setup_apic_routing)   APICFUNC(multi_timer_check)   APICFUNC(apicid_to_node)   APICFUNC(cpu_to_logical_apicid)   APICFUNC(cpu_present_to_apicid)   APICFUNC(apicid_to_cpu_present)   APICFUNC(mpc_apic_id)   APICFUNC(setup_portio_remap)   APICFUNC(check_phys_apicid_present)   APICFUNC(mpc_oem_bus_info)   APICFUNC(mpc_oem_pci_bus)   APICFUNC(mps_oem_check)   APICFUNC(get_apic_id)   .apic_id_mask = APIC_ID_MASK,   APICFUNC(cpu_mask_to_apicid)   APICFUNC(acpi_madt_oem_check)   IPIFUNC(send_IPI_mask)   IPIFUNC(send_IPI_allbutself)   IPIFUNC(send_IPI_all)   APICFUNC(enable_apic_mode)   APICFUNC(phys_pkg_id)   }
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "hardirq_32.h"
 | 
			
		||||
#else
 | 
			
		||||
#include "hardirq_64.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,43 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef __ASM_HARDIRQ_H
 | 
			
		||||
#define __ASM_HARDIRQ_H
 | 
			
		||||
#include <linux/threads.h>
 | 
			
		||||
#include <linux/irq.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
typedef struct {
 | 
			
		||||
 unsigned int __softirq_pending;
 | 
			
		||||
 unsigned long idle_timestamp;
 | 
			
		||||
 unsigned int __nmi_count;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 unsigned int apic_timer_irqs;
 | 
			
		||||
 unsigned int irq0_irqs;
 | 
			
		||||
 unsigned int irq_resched_count;
 | 
			
		||||
 unsigned int irq_call_count;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 unsigned int irq_tlb_count;
 | 
			
		||||
 unsigned int irq_thermal_count;
 | 
			
		||||
 unsigned int irq_spurious_count;
 | 
			
		||||
} ____cacheline_aligned irq_cpustat_t;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define __ARCH_IRQ_STAT
 | 
			
		||||
#define __IRQ_STAT(cpu, member) (per_cpu(irq_stat, cpu).member)
 | 
			
		||||
#include <linux/irq_cpustat.h>
 | 
			
		||||
#endif
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
@@ -1,21 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_HIGHMEM_H
 | 
			
		||||
#define _ASM_HIGHMEM_H
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "hw_irq_32.h"
 | 
			
		||||
#else
 | 
			
		||||
#include "hw_irq_64.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,29 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_HW_IRQ_H
 | 
			
		||||
#define _ASM_HW_IRQ_H
 | 
			
		||||
#include <linux/profile.h>
 | 
			
		||||
#include <asm/atomic.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#include <asm/irq.h>
 | 
			
		||||
#include <asm/sections.h>
 | 
			
		||||
#define NMI_VECTOR 0x02
 | 
			
		||||
#define IO_APIC_IRQ(x) (((x) >= 16) || ((1<<(x)) & io_apic_irqs))
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "i387_32.h"
 | 
			
		||||
#else
 | 
			
		||||
#include "i387_64.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,38 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef __ASM_I386_I387_H
 | 
			
		||||
#define __ASM_I386_I387_H
 | 
			
		||||
#include <linux/sched.h>
 | 
			
		||||
#include <linux/init.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#include <linux/kernel_stat.h>
 | 
			
		||||
#include <asm/processor.h>
 | 
			
		||||
#include <asm/sigcontext.h>
 | 
			
		||||
#include <asm/user.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define restore_fpu(tsk)   alternative_input(   "nop ; frstor %1",   "fxrstor %1",   X86_FEATURE_FXSR,   "m" ((tsk)->thread.i387.fxsave))
 | 
			
		||||
#define kernel_fpu_end() do { stts(); preempt_enable(); } while(0)
 | 
			
		||||
#define safe_address (kstat_cpu(0).cpustat.user)
 | 
			
		||||
#define __unlazy_fpu( tsk ) do {   if (task_thread_info(tsk)->status & TS_USEDFPU) {   __save_init_fpu(tsk);   stts();   } else   tsk->fpu_counter = 0;  } while (0)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define __clear_fpu( tsk )  do {   if (task_thread_info(tsk)->status & TS_USEDFPU) {   asm volatile("fnclex ; fwait");   task_thread_info(tsk)->status &= ~TS_USEDFPU;   stts();   }  } while (0)
 | 
			
		||||
#define unlazy_fpu( tsk ) do {   preempt_disable();   __unlazy_fpu(tsk);   preempt_enable();  } while (0)
 | 
			
		||||
#define clear_fpu( tsk ) do {   preempt_disable();   __clear_fpu( tsk );   preempt_enable();  } while (0)
 | 
			
		||||
#endif
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
@@ -1,25 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef __ASM_I8253_H__
 | 
			
		||||
#define __ASM_I8253_H__
 | 
			
		||||
#define PIT_MODE 0x43
 | 
			
		||||
#define PIT_CH0 0x40
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define PIT_CH2 0x42
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,25 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef __ASM_I8259_H__
 | 
			
		||||
#define __ASM_I8259_H__
 | 
			
		||||
#define __byte(x,y) (((unsigned char *) &(y))[x])
 | 
			
		||||
#define cached_master_mask (__byte(0, cached_irq_mask))
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define cached_slave_mask (__byte(1, cached_irq_mask))
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,29 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_X86_64_IA32_UNISTD_H_
 | 
			
		||||
#define _ASM_X86_64_IA32_UNISTD_H_
 | 
			
		||||
#define __NR_ia32_restart_syscall 0
 | 
			
		||||
#define __NR_ia32_exit 1
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define __NR_ia32_read 3
 | 
			
		||||
#define __NR_ia32_write 4
 | 
			
		||||
#define __NR_ia32_sigreturn 119
 | 
			
		||||
#define __NR_ia32_rt_sigreturn 173
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "io_32.h"
 | 
			
		||||
#else
 | 
			
		||||
#include "io_64.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,33 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_IO_H
 | 
			
		||||
#define _ASM_IO_H
 | 
			
		||||
#include <linux/string.h>
 | 
			
		||||
#include <linux/compiler.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define IO_SPACE_LIMIT 0xffff
 | 
			
		||||
#define XQUAD_PORTIO_BASE 0xfe400000
 | 
			
		||||
#define XQUAD_PORTIO_QUAD 0x40000
 | 
			
		||||
#ifdef REALLY_SLOW_IO
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
#define __BUILDIO(bwl,bw,type)  static inline void out##bwl(unsigned type value, int port) {   out##bwl##_local(value, port);  }  static inline unsigned type in##bwl(int port) {   return in##bwl##_local(port);  }
 | 
			
		||||
#define BUILDIO(bwl,bw,type)  static inline void out##bwl##_local(unsigned type value, int port) {   __asm__ __volatile__("out" #bwl " %" #bw "0, %w1" : : "a"(value), "Nd"(port));  }  static inline unsigned type in##bwl##_local(int port) {   unsigned type value;   __asm__ __volatile__("in" #bwl " %w1, %" #bw "0" : "=a"(value) : "Nd"(port));   return value;  }  static inline void out##bwl##_local_p(unsigned type value, int port) {   out##bwl##_local(value, port);   slow_down_io();  }  static inline unsigned type in##bwl##_local_p(int port) {   unsigned type value = in##bwl##_local(port);   slow_down_io();   return value;  }  __BUILDIO(bwl,bw,type)  static inline void out##bwl##_p(unsigned type value, int port) {   out##bwl(value, port);   slow_down_io();  }  static inline unsigned type in##bwl##_p(int port) {   unsigned type value = in##bwl(port);   slow_down_io();   return value;  }  static inline void outs##bwl(int port, const void *addr, unsigned long count) {   __asm__ __volatile__("rep; outs" #bwl : "+S"(addr), "+c"(count) : "d"(port));  }  static inline void ins##bwl(int port, void *addr, unsigned long count) {   __asm__ __volatile__("rep; ins" #bwl : "+D"(addr), "+c"(count) : "d"(port));  }
 | 
			
		||||
#endif
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "io_apic_32.h"
 | 
			
		||||
#else
 | 
			
		||||
#include "io_apic_64.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,109 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef __ASM_IO_APIC_H
 | 
			
		||||
#define __ASM_IO_APIC_H
 | 
			
		||||
#include <asm/types.h>
 | 
			
		||||
#include <asm/mpspec.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#include <asm/apicdef.h>
 | 
			
		||||
union IO_APIC_reg_00 {
 | 
			
		||||
 u32 raw;
 | 
			
		||||
 struct {
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 u32 __reserved_2 : 14,
 | 
			
		||||
 LTS : 1,
 | 
			
		||||
 delivery_type : 1,
 | 
			
		||||
 __reserved_1 : 8,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 ID : 8;
 | 
			
		||||
 } __attribute__ ((packed)) bits;
 | 
			
		||||
};
 | 
			
		||||
union IO_APIC_reg_01 {
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 u32 raw;
 | 
			
		||||
 struct {
 | 
			
		||||
 u32 version : 8,
 | 
			
		||||
 __reserved_2 : 7,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 PRQ : 1,
 | 
			
		||||
 entries : 8,
 | 
			
		||||
 __reserved_1 : 8;
 | 
			
		||||
 } __attribute__ ((packed)) bits;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
};
 | 
			
		||||
union IO_APIC_reg_02 {
 | 
			
		||||
 u32 raw;
 | 
			
		||||
 struct {
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 u32 __reserved_2 : 24,
 | 
			
		||||
 arbitration : 4,
 | 
			
		||||
 __reserved_1 : 4;
 | 
			
		||||
 } __attribute__ ((packed)) bits;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
};
 | 
			
		||||
union IO_APIC_reg_03 {
 | 
			
		||||
 u32 raw;
 | 
			
		||||
 struct {
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 u32 boot_DT : 1,
 | 
			
		||||
 __reserved_1 : 31;
 | 
			
		||||
 } __attribute__ ((packed)) bits;
 | 
			
		||||
};
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
enum ioapic_irq_destination_types {
 | 
			
		||||
 dest_Fixed = 0,
 | 
			
		||||
 dest_LowestPrio = 1,
 | 
			
		||||
 dest_SMI = 2,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 dest__reserved_1 = 3,
 | 
			
		||||
 dest_NMI = 4,
 | 
			
		||||
 dest_INIT = 5,
 | 
			
		||||
 dest__reserved_2 = 6,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 dest_ExtINT = 7
 | 
			
		||||
};
 | 
			
		||||
struct IO_APIC_route_entry {
 | 
			
		||||
 __u32 vector : 8,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 delivery_mode : 3,
 | 
			
		||||
 dest_mode : 1,
 | 
			
		||||
 delivery_status : 1,
 | 
			
		||||
 polarity : 1,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 irr : 1,
 | 
			
		||||
 trigger : 1,
 | 
			
		||||
 mask : 1,
 | 
			
		||||
 __reserved_2 : 15;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 union { struct { __u32
 | 
			
		||||
 __reserved_1 : 24,
 | 
			
		||||
 physical_dest : 4,
 | 
			
		||||
 __reserved_2 : 4;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 } physical;
 | 
			
		||||
 struct { __u32
 | 
			
		||||
 __reserved_1 : 24,
 | 
			
		||||
 logical_dest : 8;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 } logical;
 | 
			
		||||
 } dest;
 | 
			
		||||
} __attribute__ ((packed));
 | 
			
		||||
#define io_apic_assign_pci_irqs 0
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,19 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#include <asm-generic/ioctl.h>
 | 
			
		||||
@@ -1,113 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_X86_IOCTLS_H
 | 
			
		||||
#define _ASM_X86_IOCTLS_H
 | 
			
		||||
#include <asm/ioctl.h>
 | 
			
		||||
#define TCGETS 0x5401
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define TCSETS 0x5402
 | 
			
		||||
#define TCSETSW 0x5403
 | 
			
		||||
#define TCSETSF 0x5404
 | 
			
		||||
#define TCGETA 0x5405
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define TCSETA 0x5406
 | 
			
		||||
#define TCSETAW 0x5407
 | 
			
		||||
#define TCSETAF 0x5408
 | 
			
		||||
#define TCSBRK 0x5409
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define TCXONC 0x540A
 | 
			
		||||
#define TCFLSH 0x540B
 | 
			
		||||
#define TIOCEXCL 0x540C
 | 
			
		||||
#define TIOCNXCL 0x540D
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define TIOCSCTTY 0x540E
 | 
			
		||||
#define TIOCGPGRP 0x540F
 | 
			
		||||
#define TIOCSPGRP 0x5410
 | 
			
		||||
#define TIOCOUTQ 0x5411
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define TIOCSTI 0x5412
 | 
			
		||||
#define TIOCGWINSZ 0x5413
 | 
			
		||||
#define TIOCSWINSZ 0x5414
 | 
			
		||||
#define TIOCMGET 0x5415
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define TIOCMBIS 0x5416
 | 
			
		||||
#define TIOCMBIC 0x5417
 | 
			
		||||
#define TIOCMSET 0x5418
 | 
			
		||||
#define TIOCGSOFTCAR 0x5419
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define TIOCSSOFTCAR 0x541A
 | 
			
		||||
#define FIONREAD 0x541B
 | 
			
		||||
#define TIOCINQ FIONREAD
 | 
			
		||||
#define TIOCLINUX 0x541C
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define TIOCCONS 0x541D
 | 
			
		||||
#define TIOCGSERIAL 0x541E
 | 
			
		||||
#define TIOCSSERIAL 0x541F
 | 
			
		||||
#define TIOCPKT 0x5420
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define FIONBIO 0x5421
 | 
			
		||||
#define TIOCNOTTY 0x5422
 | 
			
		||||
#define TIOCSETD 0x5423
 | 
			
		||||
#define TIOCGETD 0x5424
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define TCSBRKP 0x5425
 | 
			
		||||
#define TIOCSBRK 0x5427
 | 
			
		||||
#define TIOCCBRK 0x5428
 | 
			
		||||
#define TIOCGSID 0x5429
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define TCGETS2 _IOR('T',0x2A, struct termios2)
 | 
			
		||||
#define TCSETS2 _IOW('T',0x2B, struct termios2)
 | 
			
		||||
#define TCSETSW2 _IOW('T',0x2C, struct termios2)
 | 
			
		||||
#define TCSETSF2 _IOW('T',0x2D, struct termios2)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define TIOCGPTN _IOR('T',0x30, unsigned int)
 | 
			
		||||
#define TIOCSPTLCK _IOW('T',0x31, int)
 | 
			
		||||
#define FIONCLEX 0x5450
 | 
			
		||||
#define FIOCLEX 0x5451
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define FIOASYNC 0x5452
 | 
			
		||||
#define TIOCSERCONFIG 0x5453
 | 
			
		||||
#define TIOCSERGWILD 0x5454
 | 
			
		||||
#define TIOCSERSWILD 0x5455
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define TIOCGLCKTRMIOS 0x5456
 | 
			
		||||
#define TIOCSLCKTRMIOS 0x5457
 | 
			
		||||
#define TIOCSERGSTRUCT 0x5458
 | 
			
		||||
#define TIOCSERGETLSR 0x5459
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define TIOCSERGETMULTI 0x545A
 | 
			
		||||
#define TIOCSERSETMULTI 0x545B
 | 
			
		||||
#define TIOCMIWAIT 0x545C
 | 
			
		||||
#define TIOCGICOUNT 0x545D
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define TIOCGHAYESESP 0x545E
 | 
			
		||||
#define TIOCSHAYESESP 0x545F
 | 
			
		||||
#define FIOQSIZE 0x5460
 | 
			
		||||
#define TIOCPKT_DATA 0
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define TIOCPKT_FLUSHREAD 1
 | 
			
		||||
#define TIOCPKT_FLUSHWRITE 2
 | 
			
		||||
#define TIOCPKT_STOP 4
 | 
			
		||||
#define TIOCPKT_START 8
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define TIOCPKT_NOSTOP 16
 | 
			
		||||
#define TIOCPKT_DOSTOP 32
 | 
			
		||||
#define TIOCSER_TEMT 0x01
 | 
			
		||||
#endif
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
@@ -1,39 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_X86_IPCBUF_H
 | 
			
		||||
#define _ASM_X86_IPCBUF_H
 | 
			
		||||
struct ipc64_perm
 | 
			
		||||
{
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 __kernel_key_t key;
 | 
			
		||||
 __kernel_uid32_t uid;
 | 
			
		||||
 __kernel_gid32_t gid;
 | 
			
		||||
 __kernel_uid32_t cuid;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 __kernel_gid32_t cgid;
 | 
			
		||||
 __kernel_mode_t mode;
 | 
			
		||||
 unsigned short __pad1;
 | 
			
		||||
 unsigned short seq;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 unsigned short __pad2;
 | 
			
		||||
 unsigned long __unused1;
 | 
			
		||||
 unsigned long __unused2;
 | 
			
		||||
};
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "irq_32.h"
 | 
			
		||||
#else
 | 
			
		||||
#include "irq_64.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,28 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_IRQ_H
 | 
			
		||||
#define _ASM_IRQ_H
 | 
			
		||||
#include <linux/sched.h>
 | 
			
		||||
#include "irq_vectors.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#include <asm/thread_info.h>
 | 
			
		||||
#define irq_ctx_init(cpu) do { } while (0)
 | 
			
		||||
#define irq_ctx_exit(cpu) do { } while (0)
 | 
			
		||||
#endif
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "irqflags_32.h"
 | 
			
		||||
#else
 | 
			
		||||
#include "irqflags_64.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,44 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_IRQFLAGS_H
 | 
			
		||||
#define _ASM_IRQFLAGS_H
 | 
			
		||||
#include <asm/processor-flags.h>
 | 
			
		||||
#ifndef __ASSEMBLY__
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
#ifndef __ASSEMBLY__
 | 
			
		||||
#else
 | 
			
		||||
#define DISABLE_INTERRUPTS(clobbers) cli
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define ENABLE_INTERRUPTS(clobbers) sti
 | 
			
		||||
#define ENABLE_INTERRUPTS_SYSEXIT sti; sysexit
 | 
			
		||||
#define INTERRUPT_RETURN iret
 | 
			
		||||
#define GET_CR0_INTO_EAX movl %cr0, %eax
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
#ifndef __ASSEMBLY__
 | 
			
		||||
#define raw_local_save_flags(flags)   do { (flags) = __raw_local_save_flags(); } while (0)
 | 
			
		||||
#define raw_local_irq_save(flags)   do { (flags) = __raw_local_irq_save(); } while (0)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
#define TRACE_IRQS_ON
 | 
			
		||||
#define TRACE_IRQS_OFF
 | 
			
		||||
#define LOCKDEP_SYS_EXIT
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,30 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_IST_H
 | 
			
		||||
#define _ASM_IST_H
 | 
			
		||||
#include <linux/types.h>
 | 
			
		||||
struct ist_info {
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 __u32 signature;
 | 
			
		||||
 __u32 command;
 | 
			
		||||
 __u32 event;
 | 
			
		||||
 __u32 perf_level;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
};
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,44 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_X86_KMAP_TYPES_H
 | 
			
		||||
#define _ASM_X86_KMAP_TYPES_H
 | 
			
		||||
#define D(n)
 | 
			
		||||
enum km_type {
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
D(0) KM_BOUNCE_READ,
 | 
			
		||||
D(1) KM_SKB_SUNRPC_DATA,
 | 
			
		||||
D(2) KM_SKB_DATA_SOFTIRQ,
 | 
			
		||||
D(3) KM_USER0,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
D(4) KM_USER1,
 | 
			
		||||
D(5) KM_BIO_SRC_IRQ,
 | 
			
		||||
D(6) KM_BIO_DST_IRQ,
 | 
			
		||||
D(7) KM_PTE0,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
D(8) KM_PTE1,
 | 
			
		||||
D(9) KM_IRQ0,
 | 
			
		||||
D(10) KM_IRQ1,
 | 
			
		||||
D(11) KM_SOFTIRQ0,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
D(12) KM_SOFTIRQ1,
 | 
			
		||||
D(13) KM_TYPE_NR
 | 
			
		||||
};
 | 
			
		||||
#undef D
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,48 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_X86_LDT_H
 | 
			
		||||
#define _ASM_X86_LDT_H
 | 
			
		||||
#define LDT_ENTRIES 8192
 | 
			
		||||
#define LDT_ENTRY_SIZE 8
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#ifndef __ASSEMBLY__
 | 
			
		||||
struct user_desc {
 | 
			
		||||
 unsigned int entry_number;
 | 
			
		||||
 unsigned int base_addr;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 unsigned int limit;
 | 
			
		||||
 unsigned int seg_32bit:1;
 | 
			
		||||
 unsigned int contents:2;
 | 
			
		||||
 unsigned int read_exec_only:1;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 unsigned int limit_in_pages:1;
 | 
			
		||||
 unsigned int seg_not_present:1;
 | 
			
		||||
 unsigned int useable:1;
 | 
			
		||||
#ifdef __x86_64__
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 unsigned int lm:1;
 | 
			
		||||
#endif
 | 
			
		||||
};
 | 
			
		||||
#define MODIFY_LDT_CONTENTS_DATA 0
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MODIFY_LDT_CONTENTS_STACK 1
 | 
			
		||||
#define MODIFY_LDT_CONTENTS_CODE 2
 | 
			
		||||
#endif
 | 
			
		||||
#endif
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "linkage_32.h"
 | 
			
		||||
#else
 | 
			
		||||
#include "linkage_64.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,26 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef __ASM_LINKAGE_H
 | 
			
		||||
#define __ASM_LINKAGE_H
 | 
			
		||||
#define asmlinkage CPP_ASMLINKAGE __attribute__((regparm(0)))
 | 
			
		||||
#define FASTCALL(x) x __attribute__((regparm(3)))
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define fastcall __attribute__((regparm(3)))
 | 
			
		||||
#define prevent_tail_call(ret) __asm__ ("" : "=r" (ret) : "0" (ret))
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "local_32.h"
 | 
			
		||||
#else
 | 
			
		||||
#include "local_64.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,61 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ARCH_I386_LOCAL_H
 | 
			
		||||
#define _ARCH_I386_LOCAL_H
 | 
			
		||||
#include <linux/percpu.h>
 | 
			
		||||
#include <asm/system.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#include <asm/atomic.h>
 | 
			
		||||
typedef struct
 | 
			
		||||
{
 | 
			
		||||
 atomic_long_t a;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
} local_t;
 | 
			
		||||
#define LOCAL_INIT(i) { ATOMIC_LONG_INIT(i) }
 | 
			
		||||
#define local_read(l) atomic_long_read(&(l)->a)
 | 
			
		||||
#define local_set(l,i) atomic_long_set(&(l)->a, (i))
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define local_inc_return(l) (local_add_return(1,l))
 | 
			
		||||
#define local_dec_return(l) (local_sub_return(1,l))
 | 
			
		||||
#define local_cmpxchg(l, o, n)   (cmpxchg_local(&((l)->a.counter), (o), (n)))
 | 
			
		||||
#define local_xchg(l, n) (xchg(&((l)->a.counter), (n)))
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define local_add_unless(l, a, u)  ({   long c, old;   c = local_read(l);   for (;;) {   if (unlikely(c == (u)))   break;   old = local_cmpxchg((l), c, c + (a));   if (likely(old == c))   break;   c = old;   }   c != (u);  })
 | 
			
		||||
#define local_inc_not_zero(l) local_add_unless((l), 1, 0)
 | 
			
		||||
#define __local_inc(l) local_inc(l)
 | 
			
		||||
#define __local_dec(l) local_dec(l)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define __local_add(i,l) local_add((i),(l))
 | 
			
		||||
#define __local_sub(i,l) local_sub((i),(l))
 | 
			
		||||
#define cpu_local_wrap_v(l)   ({ local_t res__;   preempt_disable();   res__ = (l);   preempt_enable();   res__; })
 | 
			
		||||
#define cpu_local_wrap(l)   ({ preempt_disable();   l;   preempt_enable(); })
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define cpu_local_read(l) cpu_local_wrap_v(local_read(&__get_cpu_var(l)))
 | 
			
		||||
#define cpu_local_set(l, i) cpu_local_wrap(local_set(&__get_cpu_var(l), (i)))
 | 
			
		||||
#define cpu_local_inc(l) cpu_local_wrap(local_inc(&__get_cpu_var(l)))
 | 
			
		||||
#define cpu_local_dec(l) cpu_local_wrap(local_dec(&__get_cpu_var(l)))
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define cpu_local_add(i, l) cpu_local_wrap(local_add((i), &__get_cpu_var(l)))
 | 
			
		||||
#define cpu_local_sub(i, l) cpu_local_wrap(local_sub((i), &__get_cpu_var(l)))
 | 
			
		||||
#define __cpu_local_inc(l) cpu_local_inc(l)
 | 
			
		||||
#define __cpu_local_dec(l) cpu_local_dec(l)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define __cpu_local_add(i, l) cpu_local_add((i), (l))
 | 
			
		||||
#define __cpu_local_sub(i, l) cpu_local_sub((i), (l))
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,51 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _I386_MATH_EMU_H
 | 
			
		||||
#define _I386_MATH_EMU_H
 | 
			
		||||
#include <asm/sigcontext.h>
 | 
			
		||||
struct info {
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 long ___orig_eip;
 | 
			
		||||
 long ___ebx;
 | 
			
		||||
 long ___ecx;
 | 
			
		||||
 long ___edx;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 long ___esi;
 | 
			
		||||
 long ___edi;
 | 
			
		||||
 long ___ebp;
 | 
			
		||||
 long ___eax;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 long ___ds;
 | 
			
		||||
 long ___es;
 | 
			
		||||
 long ___fs;
 | 
			
		||||
 long ___orig_eax;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 long ___eip;
 | 
			
		||||
 long ___cs;
 | 
			
		||||
 long ___eflags;
 | 
			
		||||
 long ___esp;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 long ___ss;
 | 
			
		||||
 long ___vm86_es;
 | 
			
		||||
 long ___vm86_ds;
 | 
			
		||||
 long ___vm86_fs;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 long ___vm86_gs;
 | 
			
		||||
};
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "mc146818rtc_32.h"
 | 
			
		||||
#else
 | 
			
		||||
#include "mc146818rtc_64.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,50 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_MC146818RTC_H
 | 
			
		||||
#define _ASM_MC146818RTC_H
 | 
			
		||||
#include <asm/io.h>
 | 
			
		||||
#include <asm/system.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#include <asm/processor.h>
 | 
			
		||||
#include <linux/mc146818rtc.h>
 | 
			
		||||
#ifndef RTC_PORT
 | 
			
		||||
#define RTC_PORT(x) (0x70 + (x))
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define RTC_ALWAYS_BCD 1
 | 
			
		||||
#endif
 | 
			
		||||
#ifdef __HAVE_ARCH_CMPXCHG
 | 
			
		||||
#include <linux/smp.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define lock_cmos_prefix(reg)   do {   unsigned long cmos_flags;   local_irq_save(cmos_flags);   lock_cmos(reg)
 | 
			
		||||
#define lock_cmos_suffix(reg)   unlock_cmos();   local_irq_restore(cmos_flags);   } while (0)
 | 
			
		||||
#else
 | 
			
		||||
#define lock_cmos_prefix(reg) do {} while (0)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define lock_cmos_suffix(reg) do {} while (0)
 | 
			
		||||
#define lock_cmos(reg)
 | 
			
		||||
#define unlock_cmos()
 | 
			
		||||
#define do_i_have_lock_cmos() 0
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define current_lock_cmos_reg() 0
 | 
			
		||||
#endif
 | 
			
		||||
#define CMOS_READ(addr) rtc_cmos_read(addr)
 | 
			
		||||
#define CMOS_WRITE(val, addr) rtc_cmos_write(val, addr)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define RTC_IRQ 8
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,35 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_X86_MMAN_H
 | 
			
		||||
#define _ASM_X86_MMAN_H
 | 
			
		||||
#include <asm-generic/mman.h>
 | 
			
		||||
#define MAP_32BIT 0x40
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MAP_GROWSDOWN 0x0100
 | 
			
		||||
#define MAP_DENYWRITE 0x0800
 | 
			
		||||
#define MAP_EXECUTABLE 0x1000
 | 
			
		||||
#define MAP_LOCKED 0x2000
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MAP_NORESERVE 0x4000
 | 
			
		||||
#define MAP_POPULATE 0x8000
 | 
			
		||||
#define MAP_NONBLOCK 0x10000
 | 
			
		||||
#define MCL_CURRENT 1
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MCL_FUTURE 2
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,25 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_MMSEGMENT_H
 | 
			
		||||
#define _ASM_MMSEGMENT_H 1
 | 
			
		||||
typedef struct {
 | 
			
		||||
 unsigned long seg;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
} mm_segment_t;
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,31 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_X86_MMU_H
 | 
			
		||||
#define _ASM_X86_MMU_H
 | 
			
		||||
#include <linux/spinlock.h>
 | 
			
		||||
#include <linux/mutex.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
typedef struct {
 | 
			
		||||
 void *ldt;
 | 
			
		||||
 int size;
 | 
			
		||||
 struct mutex lock;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 void *vdso;
 | 
			
		||||
} mm_context_t;
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "module_32.h"
 | 
			
		||||
#else
 | 
			
		||||
#include "module_64.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,33 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_I386_MODULE_H
 | 
			
		||||
#define _ASM_I386_MODULE_H
 | 
			
		||||
struct mod_arch_specific
 | 
			
		||||
{
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
};
 | 
			
		||||
#define Elf_Shdr Elf32_Shdr
 | 
			
		||||
#define Elf_Sym Elf32_Sym
 | 
			
		||||
#define Elf_Ehdr Elf32_Ehdr
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#error unknown processor family
 | 
			
		||||
#define MODULE_STACKSIZE ""
 | 
			
		||||
#define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY MODULE_STACKSIZE
 | 
			
		||||
#endif
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "mpspec_32.h"
 | 
			
		||||
#else
 | 
			
		||||
#include "mpspec_64.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,55 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef __ASM_MPSPEC_H
 | 
			
		||||
#define __ASM_MPSPEC_H
 | 
			
		||||
#include <linux/cpumask.h>
 | 
			
		||||
#include <asm/mpspec_def.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#include <mach_mpspec.h>
 | 
			
		||||
#define PHYSID_ARRAY_SIZE BITS_TO_LONGS(MAX_APICS)
 | 
			
		||||
struct physid_mask
 | 
			
		||||
{
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 unsigned long mask[PHYSID_ARRAY_SIZE];
 | 
			
		||||
};
 | 
			
		||||
typedef struct physid_mask physid_mask_t;
 | 
			
		||||
#define physid_set(physid, map) set_bit(physid, (map).mask)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define physid_clear(physid, map) clear_bit(physid, (map).mask)
 | 
			
		||||
#define physid_isset(physid, map) test_bit(physid, (map).mask)
 | 
			
		||||
#define physid_test_and_set(physid, map) test_and_set_bit(physid, (map).mask)
 | 
			
		||||
#define physids_and(dst, src1, src2) bitmap_and((dst).mask, (src1).mask, (src2).mask, MAX_APICS)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define physids_or(dst, src1, src2) bitmap_or((dst).mask, (src1).mask, (src2).mask, MAX_APICS)
 | 
			
		||||
#define physids_clear(map) bitmap_zero((map).mask, MAX_APICS)
 | 
			
		||||
#define physids_complement(dst, src) bitmap_complement((dst).mask,(src).mask, MAX_APICS)
 | 
			
		||||
#define physids_empty(map) bitmap_empty((map).mask, MAX_APICS)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define physids_equal(map1, map2) bitmap_equal((map1).mask, (map2).mask, MAX_APICS)
 | 
			
		||||
#define physids_weight(map) bitmap_weight((map).mask, MAX_APICS)
 | 
			
		||||
#define physids_shift_right(d, s, n) bitmap_shift_right((d).mask, (s).mask, n, MAX_APICS)
 | 
			
		||||
#define physids_shift_left(d, s, n) bitmap_shift_left((d).mask, (s).mask, n, MAX_APICS)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define physids_coerce(map) ((map).mask[0])
 | 
			
		||||
#define physids_promote(physids)   ({   physid_mask_t __physid_mask = PHYSID_MASK_NONE;   __physid_mask.mask[0] = physids;   __physid_mask;   })
 | 
			
		||||
#define physid_mask_of_physid(physid)   ({   physid_mask_t __physid_mask = PHYSID_MASK_NONE;   physid_set(physid, __physid_mask);   __physid_mask;   })
 | 
			
		||||
#define PHYSID_MASK_ALL { {[0 ... PHYSID_ARRAY_SIZE-1] = ~0UL} }
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define PHYSID_MASK_NONE { {[0 ... PHYSID_ARRAY_SIZE-1] = 0UL} }
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,196 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef __ASM_MPSPEC_DEF_H
 | 
			
		||||
#define __ASM_MPSPEC_DEF_H
 | 
			
		||||
#define SMP_MAGIC_IDENT (('_'<<24)|('P'<<16)|('M'<<8)|'_')
 | 
			
		||||
#define MAX_MPC_ENTRY 1024
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MAX_APICS 256
 | 
			
		||||
struct intel_mp_floating
 | 
			
		||||
{
 | 
			
		||||
 char mpf_signature[4];
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 unsigned long mpf_physptr;
 | 
			
		||||
 unsigned char mpf_length;
 | 
			
		||||
 unsigned char mpf_specification;
 | 
			
		||||
 unsigned char mpf_checksum;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 unsigned char mpf_feature1;
 | 
			
		||||
 unsigned char mpf_feature2;
 | 
			
		||||
 unsigned char mpf_feature3;
 | 
			
		||||
 unsigned char mpf_feature4;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 unsigned char mpf_feature5;
 | 
			
		||||
};
 | 
			
		||||
struct mp_config_table
 | 
			
		||||
{
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 char mpc_signature[4];
 | 
			
		||||
#define MPC_SIGNATURE "PCMP"
 | 
			
		||||
 unsigned short mpc_length;
 | 
			
		||||
 char mpc_spec;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 char mpc_checksum;
 | 
			
		||||
 char mpc_oem[8];
 | 
			
		||||
 char mpc_productid[12];
 | 
			
		||||
 unsigned long mpc_oemptr;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 unsigned short mpc_oemsize;
 | 
			
		||||
 unsigned short mpc_oemcount;
 | 
			
		||||
 unsigned long mpc_lapic;
 | 
			
		||||
 unsigned long reserved;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
};
 | 
			
		||||
#define MP_PROCESSOR 0
 | 
			
		||||
#define MP_BUS 1
 | 
			
		||||
#define MP_IOAPIC 2
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MP_INTSRC 3
 | 
			
		||||
#define MP_LINTSRC 4
 | 
			
		||||
#define MP_TRANSLATION 192
 | 
			
		||||
struct mpc_config_processor
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
{
 | 
			
		||||
 unsigned char mpc_type;
 | 
			
		||||
 unsigned char mpc_apicid;
 | 
			
		||||
 unsigned char mpc_apicver;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 unsigned char mpc_cpuflag;
 | 
			
		||||
#define CPU_ENABLED 1
 | 
			
		||||
#define CPU_BOOTPROCESSOR 2
 | 
			
		||||
 unsigned long mpc_cpufeature;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define CPU_STEPPING_MASK 0x0F
 | 
			
		||||
#define CPU_MODEL_MASK 0xF0
 | 
			
		||||
#define CPU_FAMILY_MASK 0xF00
 | 
			
		||||
 unsigned long mpc_featureflag;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 unsigned long mpc_reserved[2];
 | 
			
		||||
};
 | 
			
		||||
struct mpc_config_bus
 | 
			
		||||
{
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 unsigned char mpc_type;
 | 
			
		||||
 unsigned char mpc_busid;
 | 
			
		||||
 unsigned char mpc_bustype[6];
 | 
			
		||||
};
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define BUSTYPE_EISA "EISA"
 | 
			
		||||
#define BUSTYPE_ISA "ISA"
 | 
			
		||||
#define BUSTYPE_INTERN "INTERN"
 | 
			
		||||
#define BUSTYPE_MCA "MCA"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define BUSTYPE_VL "VL"
 | 
			
		||||
#define BUSTYPE_PCI "PCI"
 | 
			
		||||
#define BUSTYPE_PCMCIA "PCMCIA"
 | 
			
		||||
#define BUSTYPE_CBUS "CBUS"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define BUSTYPE_CBUSII "CBUSII"
 | 
			
		||||
#define BUSTYPE_FUTURE "FUTURE"
 | 
			
		||||
#define BUSTYPE_MBI "MBI"
 | 
			
		||||
#define BUSTYPE_MBII "MBII"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define BUSTYPE_MPI "MPI"
 | 
			
		||||
#define BUSTYPE_MPSA "MPSA"
 | 
			
		||||
#define BUSTYPE_NUBUS "NUBUS"
 | 
			
		||||
#define BUSTYPE_TC "TC"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define BUSTYPE_VME "VME"
 | 
			
		||||
#define BUSTYPE_XPRESS "XPRESS"
 | 
			
		||||
struct mpc_config_ioapic
 | 
			
		||||
{
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 unsigned char mpc_type;
 | 
			
		||||
 unsigned char mpc_apicid;
 | 
			
		||||
 unsigned char mpc_apicver;
 | 
			
		||||
 unsigned char mpc_flags;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MPC_APIC_USABLE 0x01
 | 
			
		||||
 unsigned long mpc_apicaddr;
 | 
			
		||||
};
 | 
			
		||||
struct mpc_config_intsrc
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
{
 | 
			
		||||
 unsigned char mpc_type;
 | 
			
		||||
 unsigned char mpc_irqtype;
 | 
			
		||||
 unsigned short mpc_irqflag;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 unsigned char mpc_srcbus;
 | 
			
		||||
 unsigned char mpc_srcbusirq;
 | 
			
		||||
 unsigned char mpc_dstapic;
 | 
			
		||||
 unsigned char mpc_dstirq;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
};
 | 
			
		||||
enum mp_irq_source_types {
 | 
			
		||||
 mp_INT = 0,
 | 
			
		||||
 mp_NMI = 1,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 mp_SMI = 2,
 | 
			
		||||
 mp_ExtINT = 3
 | 
			
		||||
};
 | 
			
		||||
#define MP_IRQDIR_DEFAULT 0
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MP_IRQDIR_HIGH 1
 | 
			
		||||
#define MP_IRQDIR_LOW 3
 | 
			
		||||
struct mpc_config_lintsrc
 | 
			
		||||
{
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 unsigned char mpc_type;
 | 
			
		||||
 unsigned char mpc_irqtype;
 | 
			
		||||
 unsigned short mpc_irqflag;
 | 
			
		||||
 unsigned char mpc_srcbusid;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 unsigned char mpc_srcbusirq;
 | 
			
		||||
 unsigned char mpc_destapic;
 | 
			
		||||
#define MP_APIC_ALL 0xFF
 | 
			
		||||
 unsigned char mpc_destapiclint;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
};
 | 
			
		||||
struct mp_config_oemtable
 | 
			
		||||
{
 | 
			
		||||
 char oem_signature[4];
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MPC_OEM_SIGNATURE "_OEM"
 | 
			
		||||
 unsigned short oem_length;
 | 
			
		||||
 char oem_rev;
 | 
			
		||||
 char oem_checksum;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 char mpc_oem[8];
 | 
			
		||||
};
 | 
			
		||||
struct mpc_config_translation
 | 
			
		||||
{
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 unsigned char mpc_type;
 | 
			
		||||
 unsigned char trans_len;
 | 
			
		||||
 unsigned char trans_type;
 | 
			
		||||
 unsigned char trans_quad;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 unsigned char trans_global;
 | 
			
		||||
 unsigned char trans_local;
 | 
			
		||||
 unsigned short trans_reserved;
 | 
			
		||||
};
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
enum mp_bustype {
 | 
			
		||||
 MP_BUS_ISA = 1,
 | 
			
		||||
 MP_BUS_EISA,
 | 
			
		||||
 MP_BUS_PCI,
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 MP_BUS_MCA,
 | 
			
		||||
};
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,49 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_X86_MSGBUF_H
 | 
			
		||||
#define _ASM_X86_MSGBUF_H
 | 
			
		||||
struct msqid64_ds {
 | 
			
		||||
 struct ipc64_perm msg_perm;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 __kernel_time_t msg_stime;
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
 unsigned long __unused1;
 | 
			
		||||
#endif
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 __kernel_time_t msg_rtime;
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
 unsigned long __unused2;
 | 
			
		||||
#endif
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 __kernel_time_t msg_ctime;
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
 unsigned long __unused3;
 | 
			
		||||
#endif
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 unsigned long msg_cbytes;
 | 
			
		||||
 unsigned long msg_qnum;
 | 
			
		||||
 unsigned long msg_qbytes;
 | 
			
		||||
 __kernel_pid_t msg_lspid;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 __kernel_pid_t msg_lrpid;
 | 
			
		||||
 unsigned long __unused4;
 | 
			
		||||
 unsigned long __unused5;
 | 
			
		||||
};
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,316 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef __ASM_MSR_INDEX_H
 | 
			
		||||
#define __ASM_MSR_INDEX_H
 | 
			
		||||
#define MSR_EFER 0xc0000080
 | 
			
		||||
#define MSR_STAR 0xc0000081
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_LSTAR 0xc0000082
 | 
			
		||||
#define MSR_CSTAR 0xc0000083
 | 
			
		||||
#define MSR_SYSCALL_MASK 0xc0000084
 | 
			
		||||
#define MSR_FS_BASE 0xc0000100
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_GS_BASE 0xc0000101
 | 
			
		||||
#define MSR_KERNEL_GS_BASE 0xc0000102
 | 
			
		||||
#define _EFER_SCE 0
 | 
			
		||||
#define _EFER_LME 8
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define _EFER_LMA 10
 | 
			
		||||
#define _EFER_NX 11
 | 
			
		||||
#define EFER_SCE (1<<_EFER_SCE)
 | 
			
		||||
#define EFER_LME (1<<_EFER_LME)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define EFER_LMA (1<<_EFER_LMA)
 | 
			
		||||
#define EFER_NX (1<<_EFER_NX)
 | 
			
		||||
#define MSR_IA32_PERFCTR0 0x000000c1
 | 
			
		||||
#define MSR_IA32_PERFCTR1 0x000000c2
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_FSB_FREQ 0x000000cd
 | 
			
		||||
#define MSR_MTRRcap 0x000000fe
 | 
			
		||||
#define MSR_IA32_BBL_CR_CTL 0x00000119
 | 
			
		||||
#define MSR_IA32_SYSENTER_CS 0x00000174
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_IA32_SYSENTER_ESP 0x00000175
 | 
			
		||||
#define MSR_IA32_SYSENTER_EIP 0x00000176
 | 
			
		||||
#define MSR_IA32_MCG_CAP 0x00000179
 | 
			
		||||
#define MSR_IA32_MCG_STATUS 0x0000017a
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_IA32_MCG_CTL 0x0000017b
 | 
			
		||||
#define MSR_IA32_PEBS_ENABLE 0x000003f1
 | 
			
		||||
#define MSR_IA32_DS_AREA 0x00000600
 | 
			
		||||
#define MSR_IA32_PERF_CAPABILITIES 0x00000345
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_MTRRfix64K_00000 0x00000250
 | 
			
		||||
#define MSR_MTRRfix16K_80000 0x00000258
 | 
			
		||||
#define MSR_MTRRfix16K_A0000 0x00000259
 | 
			
		||||
#define MSR_MTRRfix4K_C0000 0x00000268
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_MTRRfix4K_C8000 0x00000269
 | 
			
		||||
#define MSR_MTRRfix4K_D0000 0x0000026a
 | 
			
		||||
#define MSR_MTRRfix4K_D8000 0x0000026b
 | 
			
		||||
#define MSR_MTRRfix4K_E0000 0x0000026c
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_MTRRfix4K_E8000 0x0000026d
 | 
			
		||||
#define MSR_MTRRfix4K_F0000 0x0000026e
 | 
			
		||||
#define MSR_MTRRfix4K_F8000 0x0000026f
 | 
			
		||||
#define MSR_MTRRdefType 0x000002ff
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_IA32_DEBUGCTLMSR 0x000001d9
 | 
			
		||||
#define MSR_IA32_LASTBRANCHFROMIP 0x000001db
 | 
			
		||||
#define MSR_IA32_LASTBRANCHTOIP 0x000001dc
 | 
			
		||||
#define MSR_IA32_LASTINTFROMIP 0x000001dd
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_IA32_LASTINTTOIP 0x000001de
 | 
			
		||||
#define MSR_IA32_MC0_CTL 0x00000400
 | 
			
		||||
#define MSR_IA32_MC0_STATUS 0x00000401
 | 
			
		||||
#define MSR_IA32_MC0_ADDR 0x00000402
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_IA32_MC0_MISC 0x00000403
 | 
			
		||||
#define MSR_P6_PERFCTR0 0x000000c1
 | 
			
		||||
#define MSR_P6_PERFCTR1 0x000000c2
 | 
			
		||||
#define MSR_P6_EVNTSEL0 0x00000186
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_P6_EVNTSEL1 0x00000187
 | 
			
		||||
#define MSR_AMD64_IBSFETCHCTL 0xc0011030
 | 
			
		||||
#define MSR_AMD64_IBSFETCHLINAD 0xc0011031
 | 
			
		||||
#define MSR_AMD64_IBSFETCHPHYSAD 0xc0011032
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_AMD64_IBSOPCTL 0xc0011033
 | 
			
		||||
#define MSR_AMD64_IBSOPRIP 0xc0011034
 | 
			
		||||
#define MSR_AMD64_IBSOPDATA 0xc0011035
 | 
			
		||||
#define MSR_AMD64_IBSOPDATA2 0xc0011036
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_AMD64_IBSOPDATA3 0xc0011037
 | 
			
		||||
#define MSR_AMD64_IBSDCLINAD 0xc0011038
 | 
			
		||||
#define MSR_AMD64_IBSDCPHYSAD 0xc0011039
 | 
			
		||||
#define MSR_AMD64_IBSCTL 0xc001103a
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_K8_TOP_MEM1 0xc001001a
 | 
			
		||||
#define MSR_K8_TOP_MEM2 0xc001001d
 | 
			
		||||
#define MSR_K8_SYSCFG 0xc0010010
 | 
			
		||||
#define MSR_K8_HWCR 0xc0010015
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_K8_ENABLE_C1E 0xc0010055
 | 
			
		||||
#define K8_MTRRFIXRANGE_DRAM_ENABLE 0x00040000
 | 
			
		||||
#define K8_MTRRFIXRANGE_DRAM_MODIFY 0x00080000
 | 
			
		||||
#define K8_MTRR_RDMEM_WRMEM_MASK 0x18181818
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_K7_EVNTSEL0 0xc0010000
 | 
			
		||||
#define MSR_K7_PERFCTR0 0xc0010004
 | 
			
		||||
#define MSR_K7_EVNTSEL1 0xc0010001
 | 
			
		||||
#define MSR_K7_PERFCTR1 0xc0010005
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_K7_EVNTSEL2 0xc0010002
 | 
			
		||||
#define MSR_K7_PERFCTR2 0xc0010006
 | 
			
		||||
#define MSR_K7_EVNTSEL3 0xc0010003
 | 
			
		||||
#define MSR_K7_PERFCTR3 0xc0010007
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_K7_CLK_CTL 0xc001001b
 | 
			
		||||
#define MSR_K7_HWCR 0xc0010015
 | 
			
		||||
#define MSR_K7_FID_VID_CTL 0xc0010041
 | 
			
		||||
#define MSR_K7_FID_VID_STATUS 0xc0010042
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_K6_EFER 0xc0000080
 | 
			
		||||
#define MSR_K6_STAR 0xc0000081
 | 
			
		||||
#define MSR_K6_WHCR 0xc0000082
 | 
			
		||||
#define MSR_K6_UWCCR 0xc0000085
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_K6_EPMR 0xc0000086
 | 
			
		||||
#define MSR_K6_PSOR 0xc0000087
 | 
			
		||||
#define MSR_K6_PFIR 0xc0000088
 | 
			
		||||
#define MSR_IDT_FCR1 0x00000107
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_IDT_FCR2 0x00000108
 | 
			
		||||
#define MSR_IDT_FCR3 0x00000109
 | 
			
		||||
#define MSR_IDT_FCR4 0x0000010a
 | 
			
		||||
#define MSR_IDT_MCR0 0x00000110
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_IDT_MCR1 0x00000111
 | 
			
		||||
#define MSR_IDT_MCR2 0x00000112
 | 
			
		||||
#define MSR_IDT_MCR3 0x00000113
 | 
			
		||||
#define MSR_IDT_MCR4 0x00000114
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_IDT_MCR5 0x00000115
 | 
			
		||||
#define MSR_IDT_MCR6 0x00000116
 | 
			
		||||
#define MSR_IDT_MCR7 0x00000117
 | 
			
		||||
#define MSR_IDT_MCR_CTRL 0x00000120
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_VIA_FCR 0x00001107
 | 
			
		||||
#define MSR_VIA_LONGHAUL 0x0000110a
 | 
			
		||||
#define MSR_VIA_RNG 0x0000110b
 | 
			
		||||
#define MSR_VIA_BCR2 0x00001147
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_TMTA_LONGRUN_CTRL 0x80868010
 | 
			
		||||
#define MSR_TMTA_LONGRUN_FLAGS 0x80868011
 | 
			
		||||
#define MSR_TMTA_LRTI_READOUT 0x80868018
 | 
			
		||||
#define MSR_TMTA_LRTI_VOLT_MHZ 0x8086801a
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_IA32_P5_MC_ADDR 0x00000000
 | 
			
		||||
#define MSR_IA32_P5_MC_TYPE 0x00000001
 | 
			
		||||
#define MSR_IA32_TSC 0x00000010
 | 
			
		||||
#define MSR_IA32_PLATFORM_ID 0x00000017
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_IA32_EBL_CR_POWERON 0x0000002a
 | 
			
		||||
#define MSR_IA32_APICBASE 0x0000001b
 | 
			
		||||
#define MSR_IA32_APICBASE_BSP (1<<8)
 | 
			
		||||
#define MSR_IA32_APICBASE_ENABLE (1<<11)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_IA32_APICBASE_BASE (0xfffff<<12)
 | 
			
		||||
#define MSR_IA32_UCODE_WRITE 0x00000079
 | 
			
		||||
#define MSR_IA32_UCODE_REV 0x0000008b
 | 
			
		||||
#define MSR_IA32_PERF_STATUS 0x00000198
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_IA32_PERF_CTL 0x00000199
 | 
			
		||||
#define MSR_IA32_MPERF 0x000000e7
 | 
			
		||||
#define MSR_IA32_APERF 0x000000e8
 | 
			
		||||
#define MSR_IA32_THERM_CONTROL 0x0000019a
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_IA32_THERM_INTERRUPT 0x0000019b
 | 
			
		||||
#define MSR_IA32_THERM_STATUS 0x0000019c
 | 
			
		||||
#define MSR_IA32_MISC_ENABLE 0x000001a0
 | 
			
		||||
#define MSR_P6_EVNTSEL0 0x00000186
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_P6_EVNTSEL1 0x00000187
 | 
			
		||||
#define MSR_IA32_MCG_EAX 0x00000180
 | 
			
		||||
#define MSR_IA32_MCG_EBX 0x00000181
 | 
			
		||||
#define MSR_IA32_MCG_ECX 0x00000182
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_IA32_MCG_EDX 0x00000183
 | 
			
		||||
#define MSR_IA32_MCG_ESI 0x00000184
 | 
			
		||||
#define MSR_IA32_MCG_EDI 0x00000185
 | 
			
		||||
#define MSR_IA32_MCG_EBP 0x00000186
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_IA32_MCG_ESP 0x00000187
 | 
			
		||||
#define MSR_IA32_MCG_EFLAGS 0x00000188
 | 
			
		||||
#define MSR_IA32_MCG_EIP 0x00000189
 | 
			
		||||
#define MSR_IA32_MCG_RESERVED 0x0000018a
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_P4_BPU_PERFCTR0 0x00000300
 | 
			
		||||
#define MSR_P4_BPU_PERFCTR1 0x00000301
 | 
			
		||||
#define MSR_P4_BPU_PERFCTR2 0x00000302
 | 
			
		||||
#define MSR_P4_BPU_PERFCTR3 0x00000303
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_P4_MS_PERFCTR0 0x00000304
 | 
			
		||||
#define MSR_P4_MS_PERFCTR1 0x00000305
 | 
			
		||||
#define MSR_P4_MS_PERFCTR2 0x00000306
 | 
			
		||||
#define MSR_P4_MS_PERFCTR3 0x00000307
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_P4_FLAME_PERFCTR0 0x00000308
 | 
			
		||||
#define MSR_P4_FLAME_PERFCTR1 0x00000309
 | 
			
		||||
#define MSR_P4_FLAME_PERFCTR2 0x0000030a
 | 
			
		||||
#define MSR_P4_FLAME_PERFCTR3 0x0000030b
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_P4_IQ_PERFCTR0 0x0000030c
 | 
			
		||||
#define MSR_P4_IQ_PERFCTR1 0x0000030d
 | 
			
		||||
#define MSR_P4_IQ_PERFCTR2 0x0000030e
 | 
			
		||||
#define MSR_P4_IQ_PERFCTR3 0x0000030f
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_P4_IQ_PERFCTR4 0x00000310
 | 
			
		||||
#define MSR_P4_IQ_PERFCTR5 0x00000311
 | 
			
		||||
#define MSR_P4_BPU_CCCR0 0x00000360
 | 
			
		||||
#define MSR_P4_BPU_CCCR1 0x00000361
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_P4_BPU_CCCR2 0x00000362
 | 
			
		||||
#define MSR_P4_BPU_CCCR3 0x00000363
 | 
			
		||||
#define MSR_P4_MS_CCCR0 0x00000364
 | 
			
		||||
#define MSR_P4_MS_CCCR1 0x00000365
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_P4_MS_CCCR2 0x00000366
 | 
			
		||||
#define MSR_P4_MS_CCCR3 0x00000367
 | 
			
		||||
#define MSR_P4_FLAME_CCCR0 0x00000368
 | 
			
		||||
#define MSR_P4_FLAME_CCCR1 0x00000369
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_P4_FLAME_CCCR2 0x0000036a
 | 
			
		||||
#define MSR_P4_FLAME_CCCR3 0x0000036b
 | 
			
		||||
#define MSR_P4_IQ_CCCR0 0x0000036c
 | 
			
		||||
#define MSR_P4_IQ_CCCR1 0x0000036d
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_P4_IQ_CCCR2 0x0000036e
 | 
			
		||||
#define MSR_P4_IQ_CCCR3 0x0000036f
 | 
			
		||||
#define MSR_P4_IQ_CCCR4 0x00000370
 | 
			
		||||
#define MSR_P4_IQ_CCCR5 0x00000371
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_P4_ALF_ESCR0 0x000003ca
 | 
			
		||||
#define MSR_P4_ALF_ESCR1 0x000003cb
 | 
			
		||||
#define MSR_P4_BPU_ESCR0 0x000003b2
 | 
			
		||||
#define MSR_P4_BPU_ESCR1 0x000003b3
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_P4_BSU_ESCR0 0x000003a0
 | 
			
		||||
#define MSR_P4_BSU_ESCR1 0x000003a1
 | 
			
		||||
#define MSR_P4_CRU_ESCR0 0x000003b8
 | 
			
		||||
#define MSR_P4_CRU_ESCR1 0x000003b9
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_P4_CRU_ESCR2 0x000003cc
 | 
			
		||||
#define MSR_P4_CRU_ESCR3 0x000003cd
 | 
			
		||||
#define MSR_P4_CRU_ESCR4 0x000003e0
 | 
			
		||||
#define MSR_P4_CRU_ESCR5 0x000003e1
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_P4_DAC_ESCR0 0x000003a8
 | 
			
		||||
#define MSR_P4_DAC_ESCR1 0x000003a9
 | 
			
		||||
#define MSR_P4_FIRM_ESCR0 0x000003a4
 | 
			
		||||
#define MSR_P4_FIRM_ESCR1 0x000003a5
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_P4_FLAME_ESCR0 0x000003a6
 | 
			
		||||
#define MSR_P4_FLAME_ESCR1 0x000003a7
 | 
			
		||||
#define MSR_P4_FSB_ESCR0 0x000003a2
 | 
			
		||||
#define MSR_P4_FSB_ESCR1 0x000003a3
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_P4_IQ_ESCR0 0x000003ba
 | 
			
		||||
#define MSR_P4_IQ_ESCR1 0x000003bb
 | 
			
		||||
#define MSR_P4_IS_ESCR0 0x000003b4
 | 
			
		||||
#define MSR_P4_IS_ESCR1 0x000003b5
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_P4_ITLB_ESCR0 0x000003b6
 | 
			
		||||
#define MSR_P4_ITLB_ESCR1 0x000003b7
 | 
			
		||||
#define MSR_P4_IX_ESCR0 0x000003c8
 | 
			
		||||
#define MSR_P4_IX_ESCR1 0x000003c9
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_P4_MOB_ESCR0 0x000003aa
 | 
			
		||||
#define MSR_P4_MOB_ESCR1 0x000003ab
 | 
			
		||||
#define MSR_P4_MS_ESCR0 0x000003c0
 | 
			
		||||
#define MSR_P4_MS_ESCR1 0x000003c1
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_P4_PMH_ESCR0 0x000003ac
 | 
			
		||||
#define MSR_P4_PMH_ESCR1 0x000003ad
 | 
			
		||||
#define MSR_P4_RAT_ESCR0 0x000003bc
 | 
			
		||||
#define MSR_P4_RAT_ESCR1 0x000003bd
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_P4_SAAT_ESCR0 0x000003ae
 | 
			
		||||
#define MSR_P4_SAAT_ESCR1 0x000003af
 | 
			
		||||
#define MSR_P4_SSU_ESCR0 0x000003be
 | 
			
		||||
#define MSR_P4_SSU_ESCR1 0x000003bf
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_P4_TBPU_ESCR0 0x000003c2
 | 
			
		||||
#define MSR_P4_TBPU_ESCR1 0x000003c3
 | 
			
		||||
#define MSR_P4_TC_ESCR0 0x000003c4
 | 
			
		||||
#define MSR_P4_TC_ESCR1 0x000003c5
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_P4_U2L_ESCR0 0x000003b0
 | 
			
		||||
#define MSR_P4_U2L_ESCR1 0x000003b1
 | 
			
		||||
#define MSR_CORE_PERF_FIXED_CTR0 0x00000309
 | 
			
		||||
#define MSR_CORE_PERF_FIXED_CTR1 0x0000030a
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_CORE_PERF_FIXED_CTR2 0x0000030b
 | 
			
		||||
#define MSR_CORE_PERF_FIXED_CTR_CTRL 0x0000038d
 | 
			
		||||
#define MSR_CORE_PERF_GLOBAL_STATUS 0x0000038e
 | 
			
		||||
#define MSR_CORE_PERF_GLOBAL_CTRL 0x0000038f
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define MSR_CORE_PERF_GLOBAL_OVF_CTRL 0x00000390
 | 
			
		||||
#define MSR_GEODE_BUSCONT_CONF0 0x00001900
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,49 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef __ASM_X86_MSR_H_
 | 
			
		||||
#define __ASM_X86_MSR_H_
 | 
			
		||||
#include <asm/msr-index.h>
 | 
			
		||||
#ifndef __ASSEMBLY__
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#include <linux/types.h>
 | 
			
		||||
#endif
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#else
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#ifndef __ASSEMBLY__
 | 
			
		||||
#include <linux/errno.h>
 | 
			
		||||
#define rdmsr(msr,val1,val2)   __asm__ __volatile__("rdmsr"   : "=a" (val1), "=d" (val2)   : "c" (msr))
 | 
			
		||||
#define rdmsrl(msr,val) do { unsigned long a__,b__;   __asm__ __volatile__("rdmsr"   : "=a" (a__), "=d" (b__)   : "c" (msr));   val = a__ | (b__<<32);  } while(0)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define wrmsr(msr,val1,val2)   __asm__ __volatile__("wrmsr"   :     : "c" (msr), "a" (val1), "d" (val2))
 | 
			
		||||
#define wrmsrl(msr,val) wrmsr(msr,(__u32)((__u64)(val)),((__u64)(val))>>32)
 | 
			
		||||
#define rdtsc(low,high)   __asm__ __volatile__("rdtsc" : "=a" (low), "=d" (high))
 | 
			
		||||
#define rdtscl(low)   __asm__ __volatile__ ("rdtsc" : "=a" (low) : : "edx")
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define rdtscp(low,high,aux)   __asm__ __volatile__ (".byte 0x0f,0x01,0xf9" : "=a" (low), "=d" (high), "=c" (aux))
 | 
			
		||||
#define rdtscll(val) do {   unsigned int __a,__d;   __asm__ __volatile__("rdtsc" : "=a" (__a), "=d" (__d));   (val) = ((unsigned long)__a) | (((unsigned long)__d)<<32);  } while(0)
 | 
			
		||||
#define rdtscpll(val, aux) do {   unsigned long __a, __d;   __asm__ __volatile__ (".byte 0x0f,0x01,0xf9" : "=a" (__a), "=d" (__d), "=c" (aux));   (val) = (__d << 32) | __a;  } while (0)
 | 
			
		||||
#define write_tsc(val1,val2) wrmsr(0x10, val1, val2)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define write_rdtscp_aux(val) wrmsr(0xc0000103, val, 0)
 | 
			
		||||
#define rdpmc(counter,low,high)   __asm__ __volatile__("rdpmc"   : "=a" (low), "=d" (high)   : "c" (counter))
 | 
			
		||||
#endif
 | 
			
		||||
#endif
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,30 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_X86_PARAM_H
 | 
			
		||||
#define _ASM_X86_PARAM_H
 | 
			
		||||
#ifndef HZ
 | 
			
		||||
#define HZ 100
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
#define EXEC_PAGESIZE 4096
 | 
			
		||||
#ifndef NOGROUP
 | 
			
		||||
#define NOGROUP (-1)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,21 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef __ASM_PARAVIRT_H
 | 
			
		||||
#define __ASM_PARAVIRT_H
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,71 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef X86_64_PDA_H
 | 
			
		||||
#define X86_64_PDA_H
 | 
			
		||||
#ifndef __ASSEMBLY__
 | 
			
		||||
#include <linux/stddef.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#include <linux/types.h>
 | 
			
		||||
#include <linux/cache.h>
 | 
			
		||||
#include <asm/page.h>
 | 
			
		||||
struct x8664_pda {
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 struct task_struct *pcurrent;
 | 
			
		||||
 unsigned long data_offset;
 | 
			
		||||
 unsigned long kernelstack;
 | 
			
		||||
 unsigned long oldrsp;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 int irqcount;
 | 
			
		||||
 int cpunumber;
 | 
			
		||||
 char *irqstackptr;
 | 
			
		||||
 int nodenumber;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 unsigned int __softirq_pending;
 | 
			
		||||
 unsigned int __nmi_count;
 | 
			
		||||
 short mmu_state;
 | 
			
		||||
 short isidle;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 struct mm_struct *active_mm;
 | 
			
		||||
 unsigned apic_timer_irqs;
 | 
			
		||||
 unsigned irq0_irqs;
 | 
			
		||||
 unsigned irq_resched_count;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 unsigned irq_call_count;
 | 
			
		||||
 unsigned irq_tlb_count;
 | 
			
		||||
 unsigned irq_thermal_count;
 | 
			
		||||
 unsigned irq_threshold_count;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
 unsigned irq_spurious_count;
 | 
			
		||||
} ____cacheline_aligned_in_smp;
 | 
			
		||||
#define cpu_pda(i) (_cpu_pda[i])
 | 
			
		||||
#define pda_offset(field) offsetof(struct x8664_pda, field)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define pda_to_op(op,field,val) do {   typedef typeof(_proxy_pda.field) T__;   if (0) { T__ tmp__; tmp__ = (val); }     switch (sizeof(_proxy_pda.field)) {   case 2:   asm(op "w %1,%%gs:%c2" :   "+m" (_proxy_pda.field) :   "ri" ((T__)val),   "i"(pda_offset(field)));   break;   case 4:   asm(op "l %1,%%gs:%c2" :   "+m" (_proxy_pda.field) :   "ri" ((T__)val),   "i" (pda_offset(field)));   break;   case 8:   asm(op "q %1,%%gs:%c2":   "+m" (_proxy_pda.field) :   "ri" ((T__)val),   "i"(pda_offset(field)));   break;   default:   __bad_pda_field();   }   } while (0)
 | 
			
		||||
#define pda_from_op(op,field) ({   typeof(_proxy_pda.field) ret__;   switch (sizeof(_proxy_pda.field)) {   case 2:   asm(op "w %%gs:%c1,%0" :   "=r" (ret__) :   "i" (pda_offset(field)),   "m" (_proxy_pda.field));   break;   case 4:   asm(op "l %%gs:%c1,%0":   "=r" (ret__):   "i" (pda_offset(field)),   "m" (_proxy_pda.field));   break;   case 8:   asm(op "q %%gs:%c1,%0":   "=r" (ret__) :   "i" (pda_offset(field)),   "m" (_proxy_pda.field));   break;   default:   __bad_pda_field();   }   ret__; })
 | 
			
		||||
#define read_pda(field) pda_from_op("mov",field)
 | 
			
		||||
#define write_pda(field,val) pda_to_op("mov",field,val)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define add_pda(field,val) pda_to_op("add",field,val)
 | 
			
		||||
#define sub_pda(field,val) pda_to_op("sub",field,val)
 | 
			
		||||
#define or_pda(field,val) pda_to_op("or",field,val)
 | 
			
		||||
#define test_and_clear_bit_pda(bit,field) ({   int old__;   asm volatile("btr %2,%%gs:%c3\n\tsbbl %0,%0"   : "=r" (old__), "+m" (_proxy_pda.field)   : "dIr" (bit), "i" (pda_offset(field)) : "memory");   old__;  })
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
#define PDA_STACKOFFSET (5*8)
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "percpu_32.h"
 | 
			
		||||
#else
 | 
			
		||||
#include "percpu_64.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,39 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef __ARCH_I386_PERCPU__
 | 
			
		||||
#define __ARCH_I386_PERCPU__
 | 
			
		||||
#ifdef __ASSEMBLY__
 | 
			
		||||
#define PER_CPU(var, reg)   movl $per_cpu__##var, reg
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define PER_CPU_VAR(var) per_cpu__##var
 | 
			
		||||
#else
 | 
			
		||||
#include <asm-generic/percpu.h>
 | 
			
		||||
#define __percpu_seg ""
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define percpu_to_op(op,var,val)   do {   typedef typeof(var) T__;   if (0) { T__ tmp__; tmp__ = (val); }   switch (sizeof(var)) {   case 1:   asm(op "b %1,"__percpu_seg"%0"   : "+m" (var)   :"ri" ((T__)val));   break;   case 2:   asm(op "w %1,"__percpu_seg"%0"   : "+m" (var)   :"ri" ((T__)val));   break;   case 4:   asm(op "l %1,"__percpu_seg"%0"   : "+m" (var)   :"ri" ((T__)val));   break;   default: __bad_percpu_size();   }   } while (0)
 | 
			
		||||
#define percpu_from_op(op,var)   ({   typeof(var) ret__;   switch (sizeof(var)) {   case 1:   asm(op "b "__percpu_seg"%1,%0"   : "=r" (ret__)   : "m" (var));   break;   case 2:   asm(op "w "__percpu_seg"%1,%0"   : "=r" (ret__)   : "m" (var));   break;   case 4:   asm(op "l "__percpu_seg"%1,%0"   : "=r" (ret__)   : "m" (var));   break;   default: __bad_percpu_size();   }   ret__; })
 | 
			
		||||
#define x86_read_percpu(var) percpu_from_op("mov", per_cpu__##var)
 | 
			
		||||
#define x86_write_percpu(var,val) percpu_to_op("mov", per_cpu__##var, val)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define x86_add_percpu(var,val) percpu_to_op("add", per_cpu__##var, val)
 | 
			
		||||
#define x86_sub_percpu(var,val) percpu_to_op("sub", per_cpu__##var, val)
 | 
			
		||||
#define x86_or_percpu(var,val) percpu_to_op("or", per_cpu__##var, val)
 | 
			
		||||
#endif
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "pgalloc_32.h"
 | 
			
		||||
#else
 | 
			
		||||
#include "pgalloc_64.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,35 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _I386_PGALLOC_H
 | 
			
		||||
#define _I386_PGALLOC_H
 | 
			
		||||
#include <linux/threads.h>
 | 
			
		||||
#include <linux/mm.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define paravirt_alloc_pt(mm, pfn) do { } while (0)
 | 
			
		||||
#define paravirt_alloc_pd(pfn) do { } while (0)
 | 
			
		||||
#define paravirt_alloc_pd(pfn) do { } while (0)
 | 
			
		||||
#define paravirt_alloc_pd_clone(pfn, clonepfn, start, count) do { } while (0)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define paravirt_release_pt(pfn) do { } while (0)
 | 
			
		||||
#define paravirt_release_pd(pfn) do { } while (0)
 | 
			
		||||
#define pmd_populate_kernel(mm, pmd, pte)  do {   paravirt_alloc_pt(mm, __pa(pte) >> PAGE_SHIFT);   set_pmd(pmd, __pmd(_PAGE_TABLE + __pa(pte)));  } while (0)
 | 
			
		||||
#define pmd_populate(mm, pmd, pte)  do {   paravirt_alloc_pt(mm, page_to_pfn(pte));   set_pmd(pmd, __pmd(_PAGE_TABLE +   ((unsigned long long)page_to_pfn(pte) <<   (unsigned long long) PAGE_SHIFT)));  } while (0)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define __pte_free_tlb(tlb,pte)  do {   paravirt_release_pt(page_to_pfn(pte));   tlb_remove_page((tlb),(pte));  } while (0)
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,26 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _I386_PGTABLE_2LEVEL_DEFS_H
 | 
			
		||||
#define _I386_PGTABLE_2LEVEL_DEFS_H
 | 
			
		||||
#define SHARED_KERNEL_PMD 0
 | 
			
		||||
#define PGDIR_SHIFT 22
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define PTRS_PER_PGD 1024
 | 
			
		||||
#define PTRS_PER_PTE 1024
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,50 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _I386_PGTABLE_2LEVEL_H
 | 
			
		||||
#define _I386_PGTABLE_2LEVEL_H
 | 
			
		||||
#define pte_ERROR(e)   printk("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, (e).pte_low)
 | 
			
		||||
#define pgd_ERROR(e)   printk("%s:%d: bad pgd %08lx.\n", __FILE__, __LINE__, pgd_val(e))
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define set_pte(pteptr, pteval) native_set_pte(pteptr, pteval)
 | 
			
		||||
#define set_pte_at(mm,addr,ptep,pteval) native_set_pte_at(mm, addr, ptep, pteval)
 | 
			
		||||
#define set_pmd(pmdptr, pmdval) native_set_pmd(pmdptr, pmdval)
 | 
			
		||||
#define set_pte_atomic(pteptr, pteval) set_pte(pteptr,pteval)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define set_pte_present(mm,addr,ptep,pteval) set_pte_at(mm,addr,ptep,pteval)
 | 
			
		||||
#define pte_clear(mm,addr,xp) do { set_pte_at(mm, addr, xp, __pte(0)); } while (0)
 | 
			
		||||
#define pmd_clear(xp) do { set_pmd(xp, __pmd(0)); } while (0)
 | 
			
		||||
#define native_ptep_get_and_clear(xp) native_local_ptep_get_and_clear(xp)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define pte_page(x) pfn_to_page(pte_pfn(x))
 | 
			
		||||
#define pte_none(x) (!(x).pte_low)
 | 
			
		||||
#define pte_pfn(x) (pte_val(x) >> PAGE_SHIFT)
 | 
			
		||||
#define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot))
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define pfn_pmd(pfn, prot) __pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot))
 | 
			
		||||
#define PTE_FILE_MAX_BITS 29
 | 
			
		||||
#define pte_to_pgoff(pte)   ((((pte).pte_low >> 1) & 0x1f ) + (((pte).pte_low >> 8) << 5 ))
 | 
			
		||||
#define pgoff_to_pte(off)   ((pte_t) { (((off) & 0x1f) << 1) + (((off) >> 5) << 8) + _PAGE_FILE })
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define __swp_type(x) (((x).val >> 1) & 0x1f)
 | 
			
		||||
#define __swp_offset(x) ((x).val >> 8)
 | 
			
		||||
#define __swp_entry(type, offset) ((swp_entry_t) { ((type) << 1) | ((offset) << 8) })
 | 
			
		||||
#define __pte_to_swp_entry(pte) ((swp_entry_t) { (pte).pte_low })
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define __swp_entry_to_pte(x) ((pte_t) { (x).val })
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,24 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "pgtable_32.h"
 | 
			
		||||
#else
 | 
			
		||||
#include "pgtable_64.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,188 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _I386_PGTABLE_H
 | 
			
		||||
#define _I386_PGTABLE_H
 | 
			
		||||
#ifndef __ASSEMBLY__
 | 
			
		||||
#include <asm/processor.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#include <asm/fixmap.h>
 | 
			
		||||
#include <linux/threads.h>
 | 
			
		||||
#include <asm/paravirt.h>
 | 
			
		||||
#include <linux/bitops.h>
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#include <linux/slab.h>
 | 
			
		||||
#include <linux/list.h>
 | 
			
		||||
#include <linux/spinlock.h>
 | 
			
		||||
struct mm_struct;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
struct vm_area_struct;
 | 
			
		||||
#define ZERO_PAGE(vaddr) (virt_to_page(empty_zero_page))
 | 
			
		||||
#include <asm/pgtable-2level-defs.h>
 | 
			
		||||
#define PGDIR_SIZE (1UL << PGDIR_SHIFT)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define PGDIR_MASK (~(PGDIR_SIZE-1))
 | 
			
		||||
#define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE)
 | 
			
		||||
#define FIRST_USER_ADDRESS 0
 | 
			
		||||
#define USER_PGD_PTRS (PAGE_OFFSET >> PGDIR_SHIFT)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define KERNEL_PGD_PTRS (PTRS_PER_PGD-USER_PGD_PTRS)
 | 
			
		||||
#define TWOLEVEL_PGDIR_SHIFT 22
 | 
			
		||||
#define BOOT_USER_PGD_PTRS (__PAGE_OFFSET >> TWOLEVEL_PGDIR_SHIFT)
 | 
			
		||||
#define BOOT_KERNEL_PGD_PTRS (1024-BOOT_USER_PGD_PTRS)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define VMALLOC_OFFSET (8*1024*1024)
 | 
			
		||||
#define VMALLOC_START (((unsigned long) high_memory +   2*VMALLOC_OFFSET-1) & ~(VMALLOC_OFFSET-1))
 | 
			
		||||
#define VMALLOC_END (FIXADDR_START-2*PAGE_SIZE)
 | 
			
		||||
#define _PAGE_BIT_PRESENT 0
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define _PAGE_BIT_RW 1
 | 
			
		||||
#define _PAGE_BIT_USER 2
 | 
			
		||||
#define _PAGE_BIT_PWT 3
 | 
			
		||||
#define _PAGE_BIT_PCD 4
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define _PAGE_BIT_ACCESSED 5
 | 
			
		||||
#define _PAGE_BIT_DIRTY 6
 | 
			
		||||
#define _PAGE_BIT_PSE 7
 | 
			
		||||
#define _PAGE_BIT_GLOBAL 8
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define _PAGE_BIT_UNUSED1 9
 | 
			
		||||
#define _PAGE_BIT_UNUSED2 10
 | 
			
		||||
#define _PAGE_BIT_UNUSED3 11
 | 
			
		||||
#define _PAGE_BIT_NX 63
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define _PAGE_PRESENT 0x001
 | 
			
		||||
#define _PAGE_RW 0x002
 | 
			
		||||
#define _PAGE_USER 0x004
 | 
			
		||||
#define _PAGE_PWT 0x008
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define _PAGE_PCD 0x010
 | 
			
		||||
#define _PAGE_ACCESSED 0x020
 | 
			
		||||
#define _PAGE_DIRTY 0x040
 | 
			
		||||
#define _PAGE_PSE 0x080
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define _PAGE_GLOBAL 0x100
 | 
			
		||||
#define _PAGE_UNUSED1 0x200
 | 
			
		||||
#define _PAGE_UNUSED2 0x400
 | 
			
		||||
#define _PAGE_UNUSED3 0x800
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define _PAGE_FILE 0x040
 | 
			
		||||
#define _PAGE_PROTNONE 0x080
 | 
			
		||||
#define _PAGE_NX 0
 | 
			
		||||
#define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED | _PAGE_DIRTY)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | _PAGE_DIRTY)
 | 
			
		||||
#define _PAGE_CHG_MASK (PTE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY)
 | 
			
		||||
#define PAGE_NONE   __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED)
 | 
			
		||||
#define PAGE_SHARED   __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define PAGE_SHARED_EXEC   __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED)
 | 
			
		||||
#define PAGE_COPY_NOEXEC   __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | _PAGE_NX)
 | 
			
		||||
#define PAGE_COPY_EXEC   __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED)
 | 
			
		||||
#define PAGE_COPY   PAGE_COPY_NOEXEC
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define PAGE_READONLY   __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | _PAGE_NX)
 | 
			
		||||
#define PAGE_READONLY_EXEC   __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED)
 | 
			
		||||
#define _PAGE_KERNEL   (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_NX)
 | 
			
		||||
#define _PAGE_KERNEL_EXEC   (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define __PAGE_KERNEL_RO (__PAGE_KERNEL & ~_PAGE_RW)
 | 
			
		||||
#define __PAGE_KERNEL_RX (__PAGE_KERNEL_EXEC & ~_PAGE_RW)
 | 
			
		||||
#define __PAGE_KERNEL_NOCACHE (__PAGE_KERNEL | _PAGE_PCD)
 | 
			
		||||
#define __PAGE_KERNEL_LARGE (__PAGE_KERNEL | _PAGE_PSE)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define __PAGE_KERNEL_LARGE_EXEC (__PAGE_KERNEL_EXEC | _PAGE_PSE)
 | 
			
		||||
#define PAGE_KERNEL __pgprot(__PAGE_KERNEL)
 | 
			
		||||
#define PAGE_KERNEL_RO __pgprot(__PAGE_KERNEL_RO)
 | 
			
		||||
#define PAGE_KERNEL_EXEC __pgprot(__PAGE_KERNEL_EXEC)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define PAGE_KERNEL_RX __pgprot(__PAGE_KERNEL_RX)
 | 
			
		||||
#define PAGE_KERNEL_NOCACHE __pgprot(__PAGE_KERNEL_NOCACHE)
 | 
			
		||||
#define PAGE_KERNEL_LARGE __pgprot(__PAGE_KERNEL_LARGE)
 | 
			
		||||
#define PAGE_KERNEL_LARGE_EXEC __pgprot(__PAGE_KERNEL_LARGE_EXEC)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define __P000 PAGE_NONE
 | 
			
		||||
#define __P001 PAGE_READONLY
 | 
			
		||||
#define __P010 PAGE_COPY
 | 
			
		||||
#define __P011 PAGE_COPY
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define __P100 PAGE_READONLY_EXEC
 | 
			
		||||
#define __P101 PAGE_READONLY_EXEC
 | 
			
		||||
#define __P110 PAGE_COPY_EXEC
 | 
			
		||||
#define __P111 PAGE_COPY_EXEC
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define __S000 PAGE_NONE
 | 
			
		||||
#define __S001 PAGE_READONLY
 | 
			
		||||
#define __S010 PAGE_SHARED
 | 
			
		||||
#define __S011 PAGE_SHARED
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define __S100 PAGE_READONLY_EXEC
 | 
			
		||||
#define __S101 PAGE_READONLY_EXEC
 | 
			
		||||
#define __S110 PAGE_SHARED_EXEC
 | 
			
		||||
#define __S111 PAGE_SHARED_EXEC
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#undef TEST_ACCESS_OK
 | 
			
		||||
#define pte_present(x) ((x).pte_low & (_PAGE_PRESENT | _PAGE_PROTNONE))
 | 
			
		||||
#define pmd_none(x) (!(unsigned long)pmd_val(x))
 | 
			
		||||
#define pmd_present(x) (pmd_val(x) & _PAGE_PRESENT)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define pmd_bad(x) ((pmd_val(x) & (~PAGE_MASK & ~_PAGE_USER)) != _KERNPG_TABLE)
 | 
			
		||||
#define pages_to_mb(x) ((x) >> (20-PAGE_SHIFT))
 | 
			
		||||
#include <asm/pgtable-2level.h>
 | 
			
		||||
#define pte_update(mm, addr, ptep) do { } while (0)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define pte_update_defer(mm, addr, ptep) do { } while (0)
 | 
			
		||||
#define __HAVE_ARCH_PTEP_SET_ACCESS_FLAGS
 | 
			
		||||
#define ptep_set_access_flags(vma, address, ptep, entry, dirty)  ({   int __changed = !pte_same(*(ptep), entry);   if (__changed && dirty) {   (ptep)->pte_low = (entry).pte_low;   pte_update_defer((vma)->vm_mm, (address), (ptep));   flush_tlb_page(vma, address);   }   __changed;  })
 | 
			
		||||
#define __HAVE_ARCH_PTEP_TEST_AND_CLEAR_YOUNG
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define ptep_test_and_clear_young(vma, addr, ptep) ({   int __ret = 0;   if (pte_young(*(ptep)))   __ret = test_and_clear_bit(_PAGE_BIT_ACCESSED,   &(ptep)->pte_low);   if (__ret)   pte_update((vma)->vm_mm, addr, ptep);   __ret;  })
 | 
			
		||||
#define __HAVE_ARCH_PTEP_CLEAR_YOUNG_FLUSH
 | 
			
		||||
#define ptep_clear_flush_young(vma, address, ptep)  ({   int __young;   __young = ptep_test_and_clear_young((vma), (address), (ptep));   if (__young)   flush_tlb_page(vma, address);   __young;  })
 | 
			
		||||
#define __HAVE_ARCH_PTEP_GET_AND_CLEAR
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define __HAVE_ARCH_PTEP_GET_AND_CLEAR_FULL
 | 
			
		||||
#define __HAVE_ARCH_PTEP_SET_WRPROTECT
 | 
			
		||||
#define pgprot_noncached(prot) ((boot_cpu_data.x86 > 3)   ? (__pgprot(pgprot_val(prot) | _PAGE_PCD | _PAGE_PWT)) : (prot))
 | 
			
		||||
#define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot))
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define pmd_large(pmd)  ((pmd_val(pmd) & (_PAGE_PSE|_PAGE_PRESENT)) == (_PAGE_PSE|_PAGE_PRESENT))
 | 
			
		||||
#define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1))
 | 
			
		||||
#define pgd_index_k(addr) pgd_index(addr)
 | 
			
		||||
#define pgd_offset(mm, address) ((mm)->pgd+pgd_index(address))
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define pgd_offset_k(address) pgd_offset(&init_mm, address)
 | 
			
		||||
#define pmd_index(address)   (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1))
 | 
			
		||||
#define pte_index(address)   (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1))
 | 
			
		||||
#define pte_offset_kernel(dir, address)   ((pte_t *) pmd_page_vaddr(*(dir)) + pte_index(address))
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define pmd_page(pmd) (pfn_to_page(pmd_val(pmd) >> PAGE_SHIFT))
 | 
			
		||||
#define pmd_page_vaddr(pmd)   ((unsigned long) __va(pmd_val(pmd) & PAGE_MASK))
 | 
			
		||||
#define pte_offset_map(dir, address)   ((pte_t *)page_address(pmd_page(*(dir))) + pte_index(address))
 | 
			
		||||
#define pte_offset_map_nested(dir, address) pte_offset_map(dir, address)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define pte_unmap(pte) do { } while (0)
 | 
			
		||||
#define pte_unmap_nested(pte) do { } while (0)
 | 
			
		||||
#define kpte_clear_flush(ptep, vaddr)  do {   pte_clear(&init_mm, vaddr, ptep);   __flush_tlb_one(vaddr);  } while (0)
 | 
			
		||||
#define update_mmu_cache(vma,address,pte) do { } while (0)
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#endif
 | 
			
		||||
#define io_remap_pfn_range(vma, vaddr, pfn, size, prot)   remap_pfn_range(vma, vaddr, pfn, size, prot)
 | 
			
		||||
#include <asm-generic/pgtable.h>
 | 
			
		||||
#endif
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
@@ -1,19 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#include <asm-generic/poll.h>
 | 
			
		||||
@@ -1,26 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifdef __i386__
 | 
			
		||||
#include "posix_types_32.h"
 | 
			
		||||
#elif defined(__ILP32__)
 | 
			
		||||
#include "posix_types_x32.h"
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#else
 | 
			
		||||
#include "posix_types_64.h"
 | 
			
		||||
#endif
 | 
			
		||||
@@ -1,36 +0,0 @@
 | 
			
		||||
/****************************************************************************
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ***
 | 
			
		||||
 ***   This header was automatically generated from a Linux kernel header
 | 
			
		||||
 ***   of the same name, to make information necessary for userspace to
 | 
			
		||||
 ***   call into the kernel available to libc.  It contains only constants,
 | 
			
		||||
 ***   structures, and macros generated from the original header, and thus,
 | 
			
		||||
 ***   contains no copyrightable information.
 | 
			
		||||
 ***
 | 
			
		||||
 ***   To edit the content of this header, modify the corresponding
 | 
			
		||||
 ***   source file (e.g. under external/kernel-headers/original/) then
 | 
			
		||||
 ***   run bionic/libc/kernel/tools/update_all.py
 | 
			
		||||
 ***
 | 
			
		||||
 ***   Any manual change here will be lost the next time this script will
 | 
			
		||||
 ***   be run. You've been warned!
 | 
			
		||||
 ***
 | 
			
		||||
 ****************************************************************************
 | 
			
		||||
 ****************************************************************************/
 | 
			
		||||
#ifndef _ASM_X86_POSIX_TYPES_32_H
 | 
			
		||||
#define _ASM_X86_POSIX_TYPES_32_H
 | 
			
		||||
typedef unsigned short __kernel_mode_t;
 | 
			
		||||
#define __kernel_mode_t __kernel_mode_t
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
typedef unsigned short __kernel_nlink_t;
 | 
			
		||||
#define __kernel_nlink_t __kernel_nlink_t
 | 
			
		||||
typedef unsigned short __kernel_ipc_pid_t;
 | 
			
		||||
#define __kernel_ipc_pid_t __kernel_ipc_pid_t
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
typedef unsigned short __kernel_uid_t;
 | 
			
		||||
typedef unsigned short __kernel_gid_t;
 | 
			
		||||
#define __kernel_uid_t __kernel_uid_t
 | 
			
		||||
typedef unsigned short __kernel_old_dev_t;
 | 
			
		||||
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 | 
			
		||||
#define __kernel_old_dev_t __kernel_old_dev_t
 | 
			
		||||
#include <asm-generic/posix_types.h>
 | 
			
		||||
#endif
 | 
			
		||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user