answer
stringlengths
15
1.25M
#include "ScriptMgr.h" #include "ScriptedCreature.h" #include "zulaman.h" enum Says { SAY_AGGRO = 0, SAY_PLAYER_KILL = 1, <API key> = 2, SAY_SUMMON_EAGLE = 3, SAY_SUMMON_BIRDS = 4, SAY_BERSERK = 5, SAY_DEATH = 6 }; class boss_akilzon : public CreatureScript { public: boss_akilzon() : CreatureScript("boss_akilzon") { } struct boss_akilzonAI : public BossAI { boss_akilzonAI(Creature* creature) : BossAI(creature, DATA_AKILZON) { } void Reset() OVERRIDE { _Reset(); } void EnterCombat(Unit* /*who*/) OVERRIDE { Talk(SAY_AGGRO); _EnterCombat(); } void JustDied(Unit* /*killer*/) OVERRIDE { Talk(SAY_DEATH); _JustDied(); } void KilledUnit(Unit* victim) OVERRIDE { if (victim->GetTypeId() == TYPEID_PLAYER) Talk(SAY_PLAYER_KILL); } void UpdateAI(uint32 diff) OVERRIDE { if (!UpdateVictim()) return; events.Update(diff); if (me->HasUnitState(UNIT_STATE_CASTING)) return; /* while (uint32 eventId = events.ExecuteEvent()) { switch (eventId) { default: break; } } */ <API key>(); } }; CreatureAI* GetAI(Creature* creature) const OVERRIDE { return GetZulAmanAI<boss_akilzonAI>(creature); } }; void AddSC_boss_akilzon() { new boss_akilzon(); }
#define <API key> 1
#!/usr/bin/env bash source `dirname $0`/common.sh TEST_CASE="ATOS acf cold options" config_query() { $ROOT/bin/atos lib config -u -t -q $* } cat > build.sh <<EOF gcc -c $SRCDIR/examples/sha1-c/sha.c -o sha.o gcc -c $SRCDIR/examples/sha1-c/sha1.c -o sha1.o gcc -o sha1-c sha.o sha1.o EOF cat > ./oprof.in <<EOF vma samples % symbol_name 0000000000400b93 353965337 52.2748 .<API key> 0000000000400a86 260243456 38.4336 SHA1Input 00000000004006e4 62914627 9.2914 main 0000000000400f6c 732 0.0001 SHA1PadMessage 0000000000401110 25 0.0000 __libc_csu_init 00000000004009c8 25 0.0000 SHA1Reset 0000000000400a3f 20 0.0000 SHA1Result EOF $ROOT/bin/atos-init \ -r "$SRCDIR/examples/sha1-c/run.sh" \ -b "sh ./build.sh" -p "/bin/cp oprof.in oprof.out" # Check if acf plugin is available for host compiler if [ ! -f "`config_query '$.compilers[*].plugin_acf'`" ]; then skip "acf plugins not available for compiler" fi # Check if host compiler has plugin support if [ "`config_query '$.compilers[*].plugins_enabled'`" != "1" ]; then skip "plugins not supported by compiler" fi $ROOT/bin/atos-explore-acf \ --optim-levels=-O2 --optim-variants=base --tradeoffs=5 -N3 --debug 2>&1 | tee LOG1 # check that exploration on hot func starts without cold options [ `cat LOG1 | grep "<API key>: run" \ | grep "[{('SHA1Input', None): '-O2'}]" \ | wc -l` -ne 0 ] $ROOT/bin/atos-explore-acf --file-by-file \ --optim-levels=-O2 --optim-variants=base --tradeoffs=5 -N3 --debug 2>&1 | tee LOG2 # check that no base flags is forced by atos [ `cat atos-configurations/acf_csv_dir/fbf-*.csv | grep "\*," | wc -l` -eq 0 ] $ROOT/bin/atos-explore-acf \ -Y "" -Z "" \ --optim-levels=-O2 --optim-variants=base --tradeoffs=5 -N3 --debug 2>&1 | tee LOG3 $ROOT/bin/atos-explore-acf --file-by-file \ -Y "" \ --optim-levels=-O2 --optim-variants=base --tradeoffs=5 -N3 --debug 2>&1 | tee LOG4
#include <jailhouse/processor.h> #include <jailhouse/printk.h> #include <jailhouse/entry.h> #include <jailhouse/paging.h> #include <jailhouse/control.h> #include <jailhouse/string.h> #include <generated/version.h> #include <asm/spinlock.h> extern u8 __text_start[], __hv_core_end[]; static const __attribute__((aligned(PAGE_SIZE))) u8 empty_page[PAGE_SIZE]; static DEFINE_SPINLOCK(init_lock); static unsigned int master_cpu_id = -1; static volatile unsigned int initialized_cpus; static volatile int error; static void init_early(unsigned int cpu_id) { unsigned long <API key>; struct jailhouse_memory hv_page; master_cpu_id = cpu_id; arch_dbg_write_init(); printk("\nInitializing Jailhouse hypervisor %s on CPU %d\n", JAILHOUSE_VERSION, cpu_id); printk("Code location: %p\n", __text_start); error = paging_init(); if (error) return; root_cell.config = &system_config->root_cell; error = check_mem_regions(&system_config->root_cell); if (error) return; root_cell.id = -1; error = cell_init(&root_cell); if (error) return; error = arch_init_early(); if (error) return; /* * Back the region of the hypervisor core and per-CPU page with empty * pages for Linux. This allows to fault-in the hypervisor region into * Linux' page table before shutdown without triggering violations. */ hv_page.phys_start = paging_hvirt2phys(empty_page); hv_page.virt_start = paging_hvirt2phys(&hypervisor_header); hv_page.size = PAGE_SIZE; hv_page.flags = JAILHOUSE_MEM_READ; <API key> = (unsigned long)system_config - JAILHOUSE_BASE; while (<API key> > 0) { error = <API key>(&root_cell, &hv_page); if (error) return; <API key> -= PAGE_SIZE; hv_page.virt_start += PAGE_SIZE; } paging_dump_stats("after early setup"); printk("Initializing processors:\n"); } static void cpu_init(struct per_cpu *cpu_data) { int err = -EINVAL; printk(" CPU %d... ", cpu_data->cpu_id); if (!cpu_id_valid(cpu_data->cpu_id)) goto failed; cpu_data->cell = &root_cell; err = arch_cpu_init(cpu_data); if (err) goto failed; printk("OK\n"); /* * If this CPU is last, make sure everything was committed before we * signal the other CPUs spinning on initialized_cpus that they can * continue. */ memory_barrier(); initialized_cpus++; return; failed: printk("FAILED\n"); error = err; } int <API key>(void) { const struct jailhouse_memory *mem = <API key>(root_cell.config); unsigned int n; int err; for (n = 0; n < root_cell.config->num_memory_regions; n++, mem++) { err = <API key>(&root_cell, mem); if (err) return err; } return 0; } static void init_late(void) { unsigned int cpu, expected_cpus = 0; for_each_cpu(cpu, root_cell.cpu_set) expected_cpus++; if (hypervisor_header.online_cpus != expected_cpus) { error = -EINVAL; return; } error = arch_init_late(); if (error) return; config_commit(&root_cell); paging_dump_stats("after late setup"); } int entry(unsigned int cpu_id, struct per_cpu *cpu_data) { static volatile bool activate; bool master = false; cpu_data->cpu_id = cpu_id; spin_lock(&init_lock); if (master_cpu_id == -1) { master = true; init_early(cpu_id); } if (!error) cpu_init(cpu_data); spin_unlock(&init_lock); while (!error && initialized_cpus < hypervisor_header.online_cpus) cpu_relax(); if (!error && master) { init_late(); if (!error) { /* * Make sure everything was committed before we signal * the other CPUs that they can continue. */ memory_barrier(); activate = true; } } else { while (!error && !activate) cpu_relax(); } if (error) { if (master) arch_shutdown(); arch_cpu_restore(cpu_data, error); return error; } if (master) printk("Activating hypervisor\n"); /* point of no return */ <API key>(cpu_data); } /** Hypervisor description header. */ struct jailhouse_header __attribute__((section(".header"))) hypervisor_header = { .signature = JAILHOUSE_SIGNATURE, .core_size = (unsigned long)__hv_core_end - JAILHOUSE_BASE, .percpu_size = sizeof(struct per_cpu), .entry = arch_entry, };
/* -*- Mode:C++; c-basic-offset:8; tab-width:8; indent-tabs-mode:t -*- */ #ifndef lint static const char rcsid[] = "@(#) $Header: /cvsroot/nsnam/ns-2/classifier/classifier-mpath.cc,v 1.10 2005/08/25 18:58:01 johnh Exp $ (USC/ISI)"; #endif #include "classifier.h" class MultiPathForwarder : public Classifier { public: MultiPathForwarder() : ns_(0) {} virtual int classify(Packet*) { int cl; int fail = ns_; do { cl = ns_++; ns_ %= (maxslot_ + 1); } while (slot_[cl] == 0 && ns_ != fail); return cl; } private: int ns_; }; static class MultiPathClass : public TclClass { public: MultiPathClass() : TclClass("Classifier/MultiPath") {} TclObject* create(int, const char*const*) { return (new MultiPathForwarder()); } } class_multipath;
# $Id: Makefile 12132 2008-08-05 08:54:52Z nbd $ include $(TOPDIR)/rules.mk PKG_NAME:=dibbler PKG_VERSION:=0.7.1 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.gz PKG_SOURCE_URL:=@SF/$(PKG_NAME) PKG_MD5SUM:=<API key> include $(INCLUDE_DIR)/package.mk # add dependency on 2.6 since recent dibbler needs <linux/ip_mp_alg.h> define Package/dibbler/Default SECTION:=ipv6 CATEGORY:=IPv6 # DEPENDS:=+uclibcxx @LINUX_2_6 TITLE:=Dibbler, a portable DHCPv6 implementation URL:=http://klub.com.pl/dhcpv6/ endef define Package/dibbler/Default/description Dibbler is a portable DHCPv6 implementation. It supports stateful (i.e. IPv6 address granting) as well as stateless (i.e. option granting) autoconfiguration for IPv6. endef define Package/dibbler-client $(call Package/dibbler/Default) TITLE+= (client) endef define Package/dibbler-client/description $(call Package/dibbler/Default/description) This package contains the dibbler client. endef define Package/dibbler-relay $(call Package/dibbler/Default) TITLE+= (relay) endef define Package/dibbler-relay/description $(call Package/dibbler/Default/description) This package contains the dibbler relay. endef define Package/dibbler-server $(call Package/dibbler/Default) TITLE+= (server) endef define Package/dibbler-server/description $(call Package/dibbler/Default/description) This package contains the dibbler server. endef define Build/Configure (cd $(PKG_BUILD_DIR)/poslib; \ $(<API key>) \ CFLAGS="$(TARGET_CFLAGS)" \ CPPFLAGS="$(TARGET_CPPFLAGS)" \ LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ --build=$(GNU_HOST_NAME) \ --program-prefix="" \ --program-suffix="" \ --prefix=/usr \ --exec-prefix=/usr \ --bindir=/usr/bin \ --datadir=/usr/share \ --includedir=/usr/include \ --infodir=/usr/share/info \ --libdir=/usr/lib \ --libexecdir=/usr/lib \ --localstatedir=/var \ --mandir=/usr/share/man \ --sbindir=/usr/sbin \ --sysconfdir=/etc \ $(DISABLE_NLS) \ $(DISABLE_LARGEFILE) \ ); endef # link stuff missing from uClibc++ but present in stdc++ statically #CXX_LIBS:= -nodefaultlibs -luClibc++ -Wl,-Bstatic,-lstdc++,-Bdynamic -lm -lgcc CXX_LIBS:= -nodefaultlibs -Wl,-Bstatic,-lstdc++,-Bdynamic -lm -lgcc_s define Build/Prepare $(call Build/Prepare/Default)
.wb-label, .wb-input, .wb-button, .wb-select { display: block; float: left; clear: both; } .wb-label { margin-top: 0.5em; } .wb-input, .wb-select { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin-bottom: 1em; max-width: 65em; /* similar to .wikibase-entityview */ width: 100%; } .wb-button { margin-top: 1em; }
#ifndef __SchemeObject_h #define __SchemeObject_h #include "Object.h" #define true YES #define false NO #define dprintf(x, ...) @interface SchemeObject: Object { @public SchemeObject *prev, *next; BOOL marked, root; int line; string source; } + (void) collectCheckPoint; - (void) mark; - (void) markReachable; - (void) makeRootCell; - (string) printForm; - (string) source; - (void) source: (string) s; - (int) line; - (void) line: (int) l; - (BOOL) isError; @end #endif //__SchemeObject_h
// MGui // MGuiEditText.cpp // This software is provided 'as-is', without any express or implied // arising from the use of this software. // including commercial applications, and to alter it and redistribute it // freely, subject to the following restrictions: // 1. The origin of this software must not be misrepresented; you must not // claim that you wrote the original software. If you use this software // in a product, an acknowledgment in the product documentation would // be appreciated but is not required. // 2. Altered source versions must be plainly marked as such, and must not // be misrepresented as being the original software. // 3. This notice may not be removed or altered from any source // distribution. #include <tinyutf8.h> #include <MEngine.h> #include "../Includes/MGui.h" //constructor MGuiEditText::MGuiEditText(void): m_isSingleLine(false), m_charId(0), m_limitLength(false), m_maxLength(0), m_startSelectionId(0), m_endSelectionId(0), m_eventCallback(NULL) { setColor(MVector4(0, 0, 0, 0)); setText(""); } void MGuiEditText::decodeUTF8(vector <unsigned int> * text32) { const char * text = m_textObject.getText(); if(strlen(text) == 0) return; unsigned int charCode; unsigned int state = 0; unsigned char* s = (unsigned char *)text; for(; *s; ++s) { if(utf8_decode(&state, &charCode, *s) == UTF8_ACCEPT) text32->push_back(charCode); } } void MGuiEditText::encodeUTF8(const vector <unsigned int> & text32) { unsigned int i, size = text32.size(); char * text = new char[size*4+1]; unsigned char * itext = (unsigned char *)text; for(i=0; i<size; i++) itext = utf8_encode((unsigned int)text32[i], itext); *itext = 0; m_textObject.setText(text); delete [] text; } void MGuiEditText::sendVariable(void) { if(getVariablePointer()) { switch(getVariableType()) { case M_VARIABLE_BOOL: { bool * value = (bool *)getVariablePointer(); int i; sscanf(getText(), "%d", &i); if(i == 1) *value = true; else if(i == 0) *value = false; } break; case M_VARIABLE_INT: { int * value = (int *)getVariablePointer(); int i; sscanf(getText(), "%d", &i); if(i == (*value)) return; *value = i; } break; case M_VARIABLE_UINT: { unsigned int * value = (unsigned int *)getVariablePointer(); int i; sscanf(getText(), "%d", &i); if(i < 0) i = 0; if((unsigned int)i == (*value)) return; *value = (unsigned int)i; } break; case M_VARIABLE_FLOAT: { float * value = (float *)getVariablePointer(); float f; sscanf(getText(), "%f", &f); if(f == (*value)) return; *value = f; } break; case M_VARIABLE_STRING: { MString * value = (MString *)getVariablePointer(); value->set(getText()); } break; default: break; } unsigned int count; utf8_len((unsigned char *)getText(), &count); if(getCharId() > count) setCharId(count); } // send on change gui event if(m_eventCallback) m_eventCallback(this, <API key>); } void MGuiEditText::updateFromVariable(void) { if(! getVariablePointer()) return; switch(getVariableType()) { case M_VARIABLE_BOOL: { bool * value = (bool *)getVariablePointer(); if(*value) setText("1"); else setText("0"); } break; case M_VARIABLE_INT: { int * value = (int *)getVariablePointer(); char text[256]; sprintf(text, "%d", *value); setText(text); } break; case M_VARIABLE_UINT: { unsigned int * value = (unsigned int *)getVariablePointer(); char text[256]; sprintf(text, "%d", *value); setText(text); } break; case M_VARIABLE_FLOAT: { float * value = (float *)getVariablePointer(); char text[256]; sprintf(text, "%0.3f", *value); setText(text); } break; case M_VARIABLE_STRING: { MString * value = (MString *)getVariablePointer(); setText(value->getSafeString()); } break; default: break; } } void MGuiEditText::setText(const char * text) { m_textObject.setText(text); vector<unsigned int> strText; decodeUTF8(&strText); if(m_limitLength && strText.size() > m_maxLength) { unsigned int sStart = m_maxLength; unsigned int sEnd = strText.size(); strText.erase(strText.begin() + sStart, strText.begin() + sEnd); encodeUTF8(strText); } unsigned int tSize = strText.size(); if(getCharId() > tSize) setCharId(tSize); autoScaleFromText(); } void MGuiEditText::setPressed(bool pressed) { MGui2d::setPressed(pressed); if(! pressed) setSelection(0, 0); } unsigned int MGuiEditText::<API key>(MVector2 point) { point = point - m_position - <API key>(); MFont * font = m_textObject.getFont(); const char * text = m_textObject.getText(); vector <float> * linesOffset = m_textObject.getLinesOffset(); if(! (strlen(text) > 0 && font)) return 0; if(linesOffset->size() == 0) return 0; unsigned int lineId = 0; float lineOffset = (*linesOffset)[0]; float size = m_textObject.getSize(); float tabSize = size*2; float xc = 0, yc = 0; float ptx = point.x - lineOffset; float pty = point.y; unsigned int id = 0; unsigned int charCode; unsigned int state = 0; unsigned char* s = (unsigned char *)text; for(; *s; ++s) { if(utf8_decode(&state, &charCode, *s) != UTF8_ACCEPT) continue; if(charCode == '\n') // return { // find character extreme right if(pty >= yc-size*0.75f && pty <=yc+size*0.25f) { if(ptx >= xc) return id; } lineId++; lineOffset = (*linesOffset)[lineId]; ptx = point.x - lineOffset; yc += size; xc = 0; // find character extreme left if(pty >= yc-size*0.75f && pty <=yc+size*0.25f) { if(ptx <= xc) return id+1; } id++; continue; } float prev_xc = xc; if(charCode == '\t') // tab { int tab = (int)(xc / tabSize) + 1; xc = tab*tabSize; } else { // get character MCharacter * character = font->getCharacter(charCode); if(! character) { id++; continue; } // move to next character xc += character->getXAdvance() * size; } // find character if(pty >= yc-size*0.75f && pty <=yc+size*0.25f) { if(ptx >= prev_xc && ptx <=xc) { if(ABS(ptx-prev_xc) < ABS(ptx-xc)) return id; else return id+1; } } id++; } if(pty >= yc-size*0.75f && pty <=yc+size*0.25f) { if(ptx >= xc) return id; } if(pty > yc+size*0.25f) { return id; } return 0; } MVector2 MGuiEditText::<API key>(unsigned int characterId) { MFont * font = m_textObject.getFont(); const char * text = m_textObject.getText(); vector <float> * linesOffset = m_textObject.getLinesOffset(); if(! (strlen(text) > 0 && font)) return m_position + <API key>(); if(linesOffset->size() == 0) return m_position + <API key>(); unsigned int lineId = 0; float lineOffset = (*linesOffset)[0]; float size = m_textObject.getSize(); float tabSize = size*2; float xc = 0, yc = 0; unsigned int id = 0; unsigned int charCode; unsigned int state = 0; unsigned char* s = (unsigned char *)text; for(; *s; ++s) { if(utf8_decode(&state, &charCode, *s) != UTF8_ACCEPT) continue; if(id == characterId) break; if(charCode == '\n') // return { lineId++; lineOffset = (*linesOffset)[lineId]; yc += size; xc = 0; id++; continue; } if(charCode == '\t') // tab { int tab = (int)(xc / tabSize) + 1; xc = tab*tabSize; id++; continue; } // get character MCharacter * character = font->getCharacter(charCode); if(! character) { id++; continue; } // move to next character xc += character->getXAdvance() * size; id++; } return m_position + <API key>() + MVector2(xc+lineOffset, yc); } void MGuiEditText::autoScrolling(void) { MGuiWindow * parent = getParentWindow(); MVector2 newScroll = parent->getScroll(); MVector2 charPos; // min, max window (with scroll) MVector2 min = - parent->getScroll(); MVector2 max = parent->getScale() - parent->getScroll(); // selection unsigned int sIds[2]; bool selection = getSelectionIds(&sIds[0], &sIds[1]); if(selection) { // charPos charPos = <API key>(m_endSelectionId); } else { // charPos charPos = <API key>(getCharId()); } // new scrolling if((charPos.x + getTextSize()) > max.x) newScroll.x -= (charPos.x + getTextSize()) - max.x; if((charPos.y + getTextSize()*0.15f) > max.y) newScroll.y -= (charPos.y + getTextSize()*0.15f) - max.y; if(charPos.x < min.x) newScroll.x += min.x - charPos.x; if((charPos.y - getTextSize()) < min.y) newScroll.y += min.y - (charPos.y - getTextSize()); parent->setScroll(newScroll); parent->resizeScroll(); } void MGuiEditText::upCharId(int direction) { MVector2 pos = <API key>(getCharId()); pos += MVector2(0, getTextSize() * direction); if(pos.y < getPosition().y) return; if(pos.y > (getPosition().y + getScale().y)) return; unsigned int id = <API key>(pos); setCharId(id); } void MGuiEditText::setCharId(unsigned int id) { unsigned int count; utf8_len((unsigned char *)getText(), &count); if(id <= count) m_charId = id; } void MGuiEditText::addCharId(void) { unsigned int count; utf8_len((unsigned char *)getText(), &count); if(m_charId < count) m_charId++; } void MGuiEditText::subCharId(void) { if(m_charId > 0) m_charId } void MGuiEditText::autoScaleFromText(void) { MGui2d::autoScaleFromText(); float size = getTextSize(); m_scale.x = MAX(m_scale.x, size); m_scale.y = MAX(m_scale.y, size); } void MGuiEditText::onChange(void) { // send on change gui event if(m_eventCallback) m_eventCallback(this, <API key>); } bool MGuiEditText::getSelectionIds(unsigned int * start, unsigned int * end) { if(m_endSelectionId > m_startSelectionId) { *start = m_startSelectionId; *end = m_endSelectionId; } else { *start = m_endSelectionId; *end = m_startSelectionId; } unsigned int count; utf8_len((unsigned char *)getText(), &count); if(*start >= count) *start = count; if(*end >= count) *end = count; if(*start == *end) return false; return true; } bool MGuiEditText::canAddCharacter(void) { if(! m_limitLength) return true; unsigned int count; utf8_len((unsigned char *)getText(), &count); if(count < m_maxLength) return true; return false; } void MGuiEditText::editText(MWindow * rootWindow, MWIN_EVENT_TYPE event) { unsigned int sStart; unsigned int sEnd; bool selection = getSelectionIds(&sStart, &sEnd); // events if(event == MWIN_EVENT_KEY_DOWN) { switch(rootWindow->getKey()) { case MKEY_UP: if(! isSingleLine()) { if(rootWindow->isKeyPressed(MKEY_LSHIFT) || rootWindow->isKeyPressed(MKEY_RSHIFT)) if(m_endSelectionId == m_startSelectionId) m_startSelectionId = m_charId; upCharId(-1); if(rootWindow->isKeyPressed(MKEY_LSHIFT) || rootWindow->isKeyPressed(MKEY_RSHIFT)) m_endSelectionId = m_charId; else setSelection(0, 0); } return; case MKEY_DOWN: if(! isSingleLine()) { if(rootWindow->isKeyPressed(MKEY_LSHIFT) || rootWindow->isKeyPressed(MKEY_RSHIFT)) if(m_endSelectionId == m_startSelectionId) m_startSelectionId = m_charId; upCharId(1); if(rootWindow->isKeyPressed(MKEY_LSHIFT) || rootWindow->isKeyPressed(MKEY_RSHIFT)) m_endSelectionId = m_charId; else setSelection(0, 0); } return; case MKEY_RIGHT: if(rootWindow->isKeyPressed(MKEY_LSHIFT) || rootWindow->isKeyPressed(MKEY_RSHIFT)) if(m_endSelectionId == m_startSelectionId) m_startSelectionId = m_charId; addCharId(); if(rootWindow->isKeyPressed(MKEY_LSHIFT) || rootWindow->isKeyPressed(MKEY_RSHIFT)) m_endSelectionId = m_charId; else setSelection(0, 0); return; case MKEY_LEFT: if(rootWindow->isKeyPressed(MKEY_LSHIFT) || rootWindow->isKeyPressed(MKEY_RSHIFT)) if(m_endSelectionId == m_startSelectionId) m_startSelectionId = m_charId; subCharId(); if(rootWindow->isKeyPressed(MKEY_LSHIFT) || rootWindow->isKeyPressed(MKEY_RSHIFT)) m_endSelectionId = m_charId; else setSelection(0, 0); return; case MKEY_TAB: if(! isSingleLine()) { vector<unsigned int> strText; decodeUTF8(&strText); if(selection) { strText.erase(strText.begin()+sStart, strText.begin() + sEnd); setSelection(0, 0); setCharId(sStart); } if(! canAddCharacter()) { encodeUTF8(strText); return; } strText.insert(strText.begin()+getCharId(), '\t'); encodeUTF8(strText); addCharId(); autoScaleFromText(); onChange(); } return; case MKEY_BACKSPACE: if(selection) { vector<unsigned int> strText; decodeUTF8(&strText); strText.erase(strText.begin() + sStart, strText.begin() + sEnd); encodeUTF8(strText); setSelection(0, 0); setCharId(sStart); autoScaleFromText(); onChange(); } else if(getCharId() > 0) { vector<unsigned int> strText; decodeUTF8(&strText); strText.erase(strText.begin() + getCharId() - 1); encodeUTF8(strText); subCharId(); autoScaleFromText(); onChange(); } return; case MKEY_DELETE: { unsigned int count; utf8_len((unsigned char *)getText(), &count); if(getCharId() < count) { vector<unsigned int> strText; decodeUTF8(&strText); if(selection) { strText.erase(strText.begin() + sStart, strText.begin() + sEnd); setSelection(0, 0); setCharId(sStart); } else { strText.erase(strText.begin() + getCharId()); } encodeUTF8(strText); autoScaleFromText(); onChange(); } return; } case MKEY_KP_ENTER: case MKEY_RETURN: if(! isSingleLine()) { vector<unsigned int> strText; decodeUTF8(&strText); if(selection) { strText.erase(strText.begin()+sStart, strText.begin() + sEnd); setSelection(0, 0); setCharId(sStart); } if(! canAddCharacter()) { encodeUTF8(strText); return; } strText.insert(strText.begin()+getCharId(), '\n'); encodeUTF8(strText); addCharId(); autoScaleFromText(); onChange(); } else { setHighLight(false); autoScaleFromText(); setSelection(0, 0); sendVariable(); } return; default: break; } } if(event == MWIN_EVENT_CHAR) { int character = rootWindow->getKey(); // add character if(character) { vector<unsigned int> strText; decodeUTF8(&strText); if(selection) { strText.erase(strText.begin()+sStart, strText.begin() + sEnd); setSelection(0, 0); setCharId(sStart); } if(! canAddCharacter()) { encodeUTF8(strText); return; } strText.insert(strText.begin()+getCharId(), (unsigned int)character); encodeUTF8(strText); addCharId(); autoScaleFromText(); onChange(); } } } void MGuiEditText::onEvent(MWindow * rootWindow, MWIN_EVENT_TYPE event) { MGuiWindow * parent = getParentWindow(); // font MFont * font = m_textObject.getFont(); if(! font) return; switch(event) { case <API key>: case <API key>: if(parent->isHighLight() && isMouseInside(MVector2(12, 0))) { setHighLight(true); if(m_eventCallback) // send mouse move gui event m_eventCallback(this, <API key>); } else { setHighLight(false); } if(isPressed() && rootWindow-><API key>(MMOUSE_BUTTON_LEFT)) { m_endSelectionId = <API key>(<API key>(rootWindow->getMousePosition())); autoScrolling(); } break; case <API key>: if(isHighLight()) { if(rootWindow->getMouseButton() == MMOUSE_BUTTON_LEFT) { // unpress all edit text unsigned int i; unsigned int size = parent->getEditTextsNumber(); for(i=0; i<size; i++) parent->getEditText(i)->setPressed(false); setPressed(true); setCharId( <API key>(<API key>(rootWindow->getMousePosition())) ); // start select setSelection(getCharId(), getCharId()); } if(m_eventCallback) // send mouse button down gui event m_eventCallback(this, <API key>); } else { if(isPressed() && rootWindow->getMouseButton() == MMOUSE_BUTTON_LEFT) { setPressed(false); sendVariable(); } } break; case MWIN_EVENT_CHAR: case MWIN_EVENT_KEY_DOWN: if(isPressed()) { editText(rootWindow, event); autoScrolling(); } break; default: break; } } void MGuiEditText::drawSelection(void) { unsigned int id1, id2; getSelectionIds(&id1, &id2); if(id1 == id2) return; MGuiImage box; float textSize = getTextSize(); MVector2 pos1 = <API key>(id1); MVector2 pos2 = <API key>(id2); pos2.x += 2; if(pos2.y > pos1.y) { // center box.setPosition(MVector2(m_position.x, pos1.y)); box.setScale(MVector2(m_position.x+m_scale.x, pos2.y-textSize) - box.getPosition()); box.drawQuad(); // top box.setPosition(MVector2(pos1.x, pos1.y-textSize)); box.setScale(MVector2(m_position.x+m_scale.x, pos1.y) - box.getPosition()); box.drawQuad(); // bottom box.setPosition(MVector2(m_position.x, pos2.y-textSize)); box.setScale(MVector2(pos2.x, pos2.y) - box.getPosition()); box.drawQuad(); } else { // top box.setPosition(MVector2(pos1.x, pos1.y-textSize)); box.setScale(MVector2(pos2.x, pos2.y) - box.getPosition()); box.drawQuad(); } } void MGuiEditText::draw(void) { MEngine * engine = MEngine::getInstance(); MRenderingContext * render = engine->getRenderingContext(); if(! isVisible()) return; if(! isPressed()) updateFromVariable(); // draw selection if(isPressed()) { render->pushMatrix(); render->translate(MVector3(0, getTextSize()*0.15f, 0)); render->setColor4(MVector4(1, 0.1f, 0.1f, 0.3f)); drawSelection(); render->popMatrix(); } // draw back { if(isPressed() && getPressedColor().w > 0) { render->setColor4(getPressedColor()); drawQuad(); } else if(isHighLight() && getHighLightColor().w > 0) { render->setColor4(getHighLightColor()); drawQuad(); } else if(getNormalColor().w > 0) { render->setColor4(getNormalColor()); drawQuad(); } } // draw text drawText(); if(isPressed() && (m_startSelectionId == m_endSelectionId)) // cursor { render->disableTexture(); render->setColor4(MVector4(1, 0, 0, 0.5f)); // position MVector2 position = <API key>(getCharId()); // scale MVector2 scale = MVector2(MIN(2, getTextSize() * 0.1f), getTextSize()); float px = (float)((int)position.x); float py = (float)((int)position.y + getTextSize()*0.15f); // draw render->disableNormalArray(); render-><API key>(); render->disableColorArray(); render->enableVertexArray(); MVector2 vertices[4] = { MVector2(px, py - scale.y), MVector2(px, py), MVector2(px + scale.x, py - scale.y), MVector2(px + scale.x, py) }; render->setVertexPointer(M_FLOAT, 2, vertices); render->drawArray(<API key>, 0, 4); } }
<?php // Dont allow direct linking defined( '_JEXEC' ) or die(); jimport( 'joomla.html.parameter' ); // Kunena wide defines require_once (JPATH_COMPONENT . '/lib/kunena.defines.php'); require_once(KUNENA_PATH_LIB . '/kunena.version.php'); class KunenaApp { function __construct() { ob_start(); // Display time it took to create the entire page in the footer jimport( 'joomla.error.profiler' ); $__kstarttime = JProfiler::getmicrotime(); $kunena_config = KunenaFactory::getConfig (); kimport('error'); KunenaError::initialize(); // First of all take a profiling information snapshot for JFirePHP if(JDEBUG){ require_once (JPATH_COMPONENT . '/lib/kunena.profiler.php'); $__profiler = KProfiler::GetInstance(); $__profiler->mark('Start'); } $func = JString::strtolower ( JRequest::getCmd ( 'func', JRequest::getCmd ( 'view', '' )) ); JRequest::setVar ( 'func', $func ); $format = JRequest::getCmd ( 'format', 'html' ); require_once(KUNENA_PATH . '/router.php'); if ($func && !isset(KunenaRouter::$functions[$func])) { return JError::raiseError( 404, 'Kunena function "' . $func . '" not found' ); } $kunena_app = JFactory::getApplication (); if (empty($_POST) && $format == 'html') { $me = KunenaFactory::getUser(); $menu = JSite::getMenu (); $active = $menu->getActive (); // Legacy menu item and Itemid=0 support with redirect and notice if (empty($active->query ['view'])) { $new = $menu->getItem (KunenaRoute::getItemID ()); if ($new) { if ($active) { if ($active->route == $new->route) { KunenaError::warning(JText::sprintf('<API key>', $active->route, $active->id, $new->id), 'menu'); $menu->setActive ( $new->id ); $active = $new; } else { KunenaError::warning(JText::sprintf('<API key>', $active->route, $active->id, $new->route, $new->id), 'menu'); $this->redirect (KunenaRoute::_(null, false)); } } else { KunenaError::warning(JText::sprintf('<API key>', $new->route, $new->id)); $this->redirect (KunenaRoute::_(null, false)); } } elseif (!$active) { KunenaError::warning(JText::sprintf('<API key>')); } } if (!$func || $func == 'entrypage') { // If we are currently in entry page, we need to show and highlight default menu item if (!empty ( $active->query ['defaultmenu'] )) { $defaultitem = $active->query ['defaultmenu']; if ($defaultitem > 0) { $newitem = $menu->getItem ($defaultitem); if (!$newitem) { KunenaError::warning(JText::sprintf('<API key>'), 'menu'); } elseif (empty($newitem->component) || $newitem->component != 'com_kunena') { KunenaError::warning(JText::sprintf('<API key>'), 'menu'); } elseif ($active->route == $newitem->route) { // Special case: we are using Entry Page instead of menu alias and we have identical menu alias if ($active->id != $newitem->id) { $defaultitem = !empty ( $newitem->query ['defaultmenu'] ) ? $newitem->query ['defaultmenu'] : $newitem->id; $newitem2 = $menu->getItem ($defaultitem); if (empty($newitem2->component) || $newitem2->component != 'com_kunena') { $defaultitem = $newitem->id; } if ($defaultitem) { $menu->setActive ( $defaultitem ); $active = $menu->getActive (); } } } else { $oldlocation = KunenaRoute::getCurrentMenu (); $menu->setActive ( $defaultitem ); $active = $menu->getActive (); $newlocation = KunenaRoute::getCurrentMenu (); if (!$oldlocation || $oldlocation->id != $newlocation->id) { // Follow Default Menu Item if it's not in the same menu $this->redirect (KunenaRoute::_($defaultitem, false)); } } if (is_object ( $active )) { foreach ( $active->query as $var => $value ) { if ($var == 'view') $var = 'func'; if ($var == 'func' && $value == 'entrypage') $value = $func; JRequest::setVar ( $var, $value ); } $func = JRequest::getCmd ( 'func' ); } } } } $newItemid = KunenaRoute::getItemid(); if ($active && $newItemid && !KunenaRoute::getCurrentMenu () && $active->id != $newItemid) { $this->redirect (KunenaRoute::_(null, false)); } } global $message; global $kunena_this_cat; // Get all the variables we need and strip them in case $action = JRequest::getCmd ( 'action', '' ); $catid = JRequest::getInt ( 'catid', 0 ); $contentURL = JRequest::getVar ( 'contentURL', '' ); $do = JRequest::getCmd ( 'do', '' ); $task = JRequest::getCmd ( 'task', '' ); $email = JRequest::getVar ( 'email', '' ); $favoriteMe = JRequest::getVar ( 'favoriteMe', '' ); $fb_authorname = JRequest::getVar ( 'fb_authorname', '' ); $fb_thread = JRequest::getInt ( 'fb_thread', 0 ); $id = JRequest::getInt ( 'id', 0 ); $mesid = JRequest::getInt ( 'mesid', 0 ); $limit = JRequest::getInt ( 'limit', 0 ); $limitstart = JRequest::getInt ( 'limitstart', 0 ); $markaction = JRequest::getVar ( 'markaction', '' ); $message = JRequest::getVar ( 'message', '' ); $page = JRequest::getInt ( 'page', 0 ); $parentid = JRequest::getInt ( 'parentid', 0 ); $pid = JRequest::getInt ( 'pid', 0 ); $replyto = JRequest::getInt ( 'replyto', 0 ); $resubject = JRequest::getVar ( 'resubject', '' ); $rowid = JRequest::getInt ( 'rowid', 0 ); $rowItemid = JRequest::getInt ( 'rowItemid', 0 ); $subject = JRequest::getVar ( 'subject', '' ); $subscribeMe = JRequest::getVar ( 'subscribeMe', '' ); $thread = JRequest::getInt ( 'thread', 0 ); $topic_emoticon = JRequest::getVar ( 'topic_emoticon', '' ); $userid = JRequest::getInt ( 'userid', 0 ); $no_html = JRequest::getBool ( 'no_html', 0 ); // If JFirePHP is installed and enabled, leave a trace of the Kunena startup if(JDEBUG == 1 && defined('JFIREPHP')){ // FB::trace("Kunena Startup"); } // Redirect Forum Jump if (isset ( $_POST ['func'] ) && $func == "showcat") { header ( "HTTP/1.1 303 See Other" ); header ( "Location: " . KunenaRoute::_ ( 'index.php?option=com_kunena&func=showcat&catid=' . $catid, false ) ); $kunena_app->close (); } $kunena_my = &JFactory::getUser (); $kunena_db = &JFactory::getDBO (); $document = JFactory::getDocument(); $document-><API key>('// <![CDATA[ var <API key> = "'.JText::_('<API key>').'"; var kunena_toggler_open = "'.JText::_('<API key>').'"; global $lang, $topic_emoticons; // Class structure should be used after this and all the common task should be moved to this class require_once (JPATH_COMPONENT . '/class.kunena.php'); // Central Location for all internal links require_once (JPATH_COMPONENT . '/lib/kunena.link.class.php'); require_once (JPATH_COMPONENT . '/lib/kunena.smile.class.php'); // Redirect profile (menu item) to the right component if ($func == 'profile' && !$do && empty($_POST)) { $redirect = 1; if (!empty($active)) { $params = new JParameter($active->params); $redirect = $params->get('integration'); } if ($redirect) { $profileIntegration = KunenaFactory::getProfile(); if (!($profileIntegration instanceof KunenaProfileKunena)) { $url = CKunenaLink::GetProfileURL($kunena_my->id, false); if ($url) $this->redirect($url); } } } // Check for JSON request if ($func == "json") { if(JDEBUG == 1 && defined('JFIREPHP')){ FB::log('Kunena JSON request'); } // URL format for JSON requests: e.g: index.php?option=com_kunena&func=json&action=autocomplete&do=getcat require_once (JPATH_COMPONENT . '/lib/kunena.ajax.helper.php'); $ajaxHelper = &CKunenaAjaxHelper::getInstance(); // Get the document object. $document =& JFactory::getDocument(); // Set the MIME type for JSON output. $document->setMimeEncoding( 'application/json' ); // Change the suggested filename. if ($action!='uploadfile') JResponse::setHeader( 'Content-Disposition', 'attachment; filename="kunena.json"' ); $value = JRequest::getVar ( 'value', '' ); JResponse::sendHeaders(); if ($kunena_config->board_offline && ! CKunenaTools::isAdmin ()){ // when the forum is offline, we don't entertain json requests json_encode ( array( 'status' => '0', 'error' => @sprintf(<API key>)) ); } else { // Generate reponse echo $ajaxHelper-><API key>($action, $do, $value); } $kunena_app->close (); } if ($kunena_config->board_offline && ! CKunenaTools::isAdmin ()) { // if the board is offline echo $kunena_config->offline_message; } else if ($kunena_config->regonly && ! $kunena_my->id) { // if we only allow registered users if (file_exists ( <API key> . '/css/kunena.forum-min.css' )) { CKunenaTools::addStyleSheet ( KUNENA_JTEMPLATEURL . '/css/kunena.forum-min.css' ); } else { CKunenaTools::addStyleSheet ( KUNENA_TMPLTCSSURL ); } echo '<div id="Kunena">'; $this->header = JText::_('<API key>'); $this->body = JText::_('<API key>'); CKunenaTools::loadTemplate('/login.php'); echo '</div>'; } else { // Forum is online: //intercept the RSS request; we should stop afterwards if ($func == 'rss') { require_once ( JPATH_COMPONENT.'/funcs/rss.php'); $feed = new CKunenaRSSView($catid); $feed->display(); $kunena_app->close (); } if ($func == 'fb_pdf' || $func == 'pdf') { $httpReferer = JRequest::getVar ( 'HTTP_REFERER', JURI::base ( true ), 'server' ); if (<API key> == '1.5') { include (JPATH_COMPONENT.'/lib/kunena.pdf.php'); $kunena_app->close (); } } $format = JRequest::getCmd ( 'format', 'html' ); if ($format != 'html') { echo "Kunena: Unsupported output format {$format}, please use only format=html or .html"; $kunena_app->close (); } $integration = KunenaFactory::getProfile(); $integration->open(); //time format include_once (JPATH_COMPONENT . '/lib/kunena.timeformat.class.php'); $document = & JFactory::getDocument (); if (file_exists ( KUNENA_ABSTMPLTPATH . '/initialize.php' )) { require_once ( KUNENA_ABSTMPLTPATH . '/initialize.php' ); } else { require_once (KPATH_SITE . '/template/default/initialize.php'); } // Insert WhoIsOnlineDatas require_once (KUNENA_PATH_LIB . '/kunena.who.class.php'); $who =& CKunenaWhoIsOnline::getInstance(); $who->insertOnlineDatas (); // include required libraries jimport('joomla.template.template'); // Kunena Current Template Icons Pack if (file_exists ( KUNENA_ABSTMPLTPATH . '/icons.php' )) { include (KUNENA_ABSTMPLTPATH . '/icons.php'); } else { include (<API key> . '/icons.php'); } if(JDEBUG){ $__profiler->mark('Session Start'); } // We only save session for registered users $kunena_session = KunenaFactory::getSession ( true ); if ($kunena_my->id > 0) { // new indicator handling if ($markaction == "allread") { if (!JRequest::checkToken()) { $kunena_app->enqueueMessage ( JText::_ ( '<API key>' ), 'error' ); $kunena_app->redirect ( CKunenaLink::GetCategoryURL('listcat', $catid, false) ); } $kunena_session-><API key> (); } if (!$kunena_session->save ()) $kunena_app->enqueueMessage ( JText::_('<API key>'), 'error' ); if ($markaction == "allread") { $kunena_app->redirect ( CKunenaLink::GetCategoryURL('listcat', $catid, false), JText::_('<API key>') ); } $userprofile = KunenaFactory::getUser($kunena_my->id); if (!$userprofile->exists()) { $userprofile->save(); } // Assign previous visit without user offset to variable for templates to decide $this->prevCheck = $kunena_session->lasttime; } else { // For guests we don't show new posts $this->prevCheck = CKunenaTimeformat::internalTime()+60; } if(JDEBUG){ $__profiler->mark('Session End'); } //Get the topics this user has already read this session from #__kunena_sessions $this->read_topics = explode ( ',', $kunena_session->readtopics ); if ($kunena_config->highlightcode) { $document =& JFactory::getDocument(); $document->addStyleDeclaration(' div.highlight pre { width: '.(($kunena_config->rtewidth * 9) / 10).'px; } '); } //Check if the catid requested is a parent category, because if it is //the only thing we can do with it is 'listcat' and nothing else if ($func == "showcat") { if ($catid != 0) { $kunena_db->setQuery ( "SELECT parent FROM #__kunena_categories WHERE id='{$catid}'" ); $catParent = intval($kunena_db->loadResult ()); if (KunenaError::checkDatabaseError()) return; } if ($catid == 0 || $catParent == 0) { $this->redirect ( CKunenaLink::GetCategoryURL('listcat',$catid, false) ); } } $kunena_app->setUserState( 'com_kunena.redirect', null); ?> <div id="Kunena"><?php if ($kunena_config->board_offline) { ?> <span id="fbOffline"><?php echo JText::_('<API key>')?></span> <?php } ?> <?php if(JDEBUG){ $__profiler->mark('Profilebox Start'); } CKunenaTools::loadTemplate('/menu.php'); CKunenaTools::displayLoginBox(); if(JDEBUG){ $__profiler->mark('Profilebox End'); } // Handle help / rules menuitems if ($func == 'article') { $func = $do; } if(JDEBUG){ $__profiler->mark('$func Start'); } switch ($func) { case 'who' : require_once (KUNENA_PATH_LIB . '/kunena.who.class.php'); $online =& CKunenaWhoIsOnline::getInstance(); $online->displayWho(); break; case 'announcement' : require_once (KUNENA_PATH_LIB . '/kunena.announcement.class.php'); $ann = CKunenaAnnouncement::getInstance(); $ann->display(); break; case 'poll': require_once (KUNENA_PATH_LIB . '/kunena.poll.class.php'); $kunena_polls =& CKunenaPolls::getInstance(); $kunena_polls->display(); break; case 'polls': require_once (KUNENA_PATH_LIB . '/kunena.poll.class.php'); $kunena_polls =& CKunenaPolls::getInstance(); $kunena_polls->polldo(); break; case 'stats' : require_once(KUNENA_PATH_LIB . '/kunena.stats.class.php'); $kunena_stats = new CKunenaStats ( ); $kunena_stats->showStats (); break; case 'myprofile' : case 'userprofile' : case 'fbprofile' : case 'profile' : case 'moderateuser' : require_once ( KUNENA_PATH_FUNCS . '/profile.php'); $page = new CKunenaProfile($userid, $task ? $task : $do); $page->display(); break; case 'userlist' : require_once (KUNENA_PATH_FUNCS . '/userlist.php'); $page = new CKunenaUserlist(); $page->display(); break; case 'post' : require_once (KUNENA_PATH_FUNCS . '/post.php'); $page = new CKunenaPost(); $page->display(); break; case 'view' : require_once (KUNENA_PATH_FUNCS . '/view.php'); $layout = $kunena_app-><API key>( "com_kunena.view_layout", 'layout', 'view' ); $page = new CKunenaView($layout, $catid, $id, $limitstart, $limit, $mesid); $page->display(true); break; case 'showcat' : require_once (KUNENA_PATH_FUNCS . '/showcat.php'); $page = new CKunenaShowcat($catid, $page); $page->display(); break; case 'listcat' : require_once (KUNENA_PATH_FUNCS . '/listcat.php'); $page = new CKunenaListcat($catid); $page->display(); break; case 'review' : require_once (KUNENA_PATH_LIB . '/kunena.review.php'); $review = new CKunenaReview($catid); $review->display(); break; case 'rules' : case 'help' : CKunenaTools::loadTemplate('/'.$func.'.php'); break; case 'report' : require_once(KUNENA_PATH_LIB . '/kunena.report.class.php'); $report = new CKunenaReport(); $report->display(); break; case 'latest' : case 'mylatest' : case 'noreplies' : case 'subscriptions' : case 'favorites' : case 'userposts' : case 'unapproved' : case 'deleted' : require_once (KUNENA_PATH_FUNCS . '/latestx.php'); if ($do) $func = $do; $page = new CKunenaLatestX($func, $page); $page->display(); break; case 'search' : case 'advsearch' : require_once (JPATH_COMPONENT . '/lib/kunena.search.class.php'); $kunenaSearch = new CKunenaSearch ( ); $kunenaSearch->show (); break; case 'markthisread' : if (!JRequest::checkToken('get')) { $kunena_app->enqueueMessage ( JText::_ ( '<API key>' ), 'error' ); $kunena_app->redirect ( CKunenaLink::GetCategoryURL('showcat' , $catid, false ), JText::_('<API key>') ); } // Mark all unread topics in the category to read $readTopics = $kunena_session->readtopics; $kunena_db->setQuery ( "SELECT thread FROM #__kunena_messages WHERE catid='{$catid}' AND parent=0 AND thread NOT IN ({$readTopics})" ); $readForum = $kunena_db->loadResultArray (); if (KunenaError::checkDatabaseError()) return; $readTopics = implode(',', array_merge(explode(',', $readTopics), $readForum)); $kunena_db->setQuery ( "UPDATE #__kunena_sessions set readtopics='$readTopics' WHERE userid=$kunena_my->id" ); $kunena_db->query (); if (KunenaError::checkDatabaseError()) return; $kunena_app->redirect ( CKunenaLink::GetCategoryURL('showcat' , $catid, false ), JText::_('<API key>') ); break; case 'subscribecat' : if (!JRequest::checkToken('get')) { $kunena_app->enqueueMessage ( JText::_ ( '<API key>' ), 'error' ); if ($userid == 0) { $kunena_app->redirect ( CKunenaLink::GetCategoryURL('showcat' , $catid, false ) ); } else { $kunena_app->redirect ( CKunenaLink::GetProfileURL($userid, false) ); } } $success_msg = ''; if ( $catid && $kunena_my->id ) { $query = "INSERT INTO #<API key> (catid, userid) VALUES ('$catid','$kunena_my->id')"; $kunena_db->setQuery ( $query ); if (@$kunena_db->query () && $kunena_db->getAffectedRows () == 1) { $success_msg = JText::_('<API key>'); } KunenaError::checkDatabaseError(); } $kunena_app->redirect ( CKunenaLink::GetCategoryURL('showcat' , $catid, false ), $success_msg ); break; case 'unsubscribecat' : if (!JRequest::checkToken('get')) { $kunena_app->enqueueMessage ( JText::_ ( '<API key>' ), 'error' ); if ($userid == 0) { $kunena_app->redirect ( CKunenaLink::GetCategoryURL('showcat' , $catid, false ), $success_msg ); } else { $kunena_app->redirect ( CKunenaLink::GetProfileURL($userid, false), $success_msg ); } } $success_msg = ''; if ($catid && $kunena_my->id ) { $query = "DELETE FROM #<API key> WHERE catid=$catid AND userid=$kunena_my->id"; $kunena_db->setQuery ( $query ); if ($kunena_db->query () && $kunena_db->getAffectedRows () == 1) { $success_msg = JText::_('<API key>'); } KunenaError::checkDatabaseError(); } if ($userid == 0) { $kunena_app->redirect ( CKunenaLink::GetCategoryURL('showcat' , $catid, false ), $success_msg ); } else { $kunena_app->redirect ( CKunenaLink::GetProfileURL($userid, false), $success_msg ); } break; case 'karma' : include (JPATH_COMPONENT . '/lib/kunena.karma.php'); break; case 'thankyou': require_once(JPATH_COMPONENT.'/lib/kunena.thankyou.php'); $thankyou = new CKunenaThankyou (); $thankyou->setThankyou(); break; case 'bulkactions' : switch ($do) { case "bulkDel" : CKunenaTools::KDeletePosts ( ); break; case "bulkMove" : CKunenaTools::KMovePosts ( $catid ); break; case "bulkFavorite" : if (!JRequest::checkToken()) { $kunena_app->enqueueMessage ( JText::_ ( '<API key>' ), 'error' ); $kunena_app->redirect ( CKunenaLink::GetProfileURL($kunena_my->id, false) ); } require_once(JPATH_ROOT.'/administrator/components/com_kunena/libraries/api.php'); $KunenaUserAPI = new KunenaUserAPI(); $cb = <API key> ( "cb" ); $result = $KunenaUserAPI->unfavoriteThreads($kunena_my->id, $cb); if ( $result ) { $message = JText::_('<API key>'); } else { $message = JText::_('<API key>'); } $kunena_app->redirect(CKunenaLink::GetProfileURL($kunena_my->id, false),$message); break; case "bulkSub" : if (!JRequest::checkToken()) { $kunena_app->enqueueMessage ( JText::_ ( '<API key>' ), 'error' ); $kunena_app->redirect ( CKunenaLink::GetProfileURL($kunena_my->id, false) ); } require_once(JPATH_ROOT.'/administrator/components/com_kunena/libraries/api.php'); $KunenaUserAPI = new KunenaUserAPI(); $cb = <API key> ( "cb" ); $result = $KunenaUserAPI->unsubscribeThreads($kunena_my->id, $cb); if ( $result ) { $message = JText::_('<API key>'); } else { $message = JText::_('<API key>'); } $kunena_app->redirect(CKunenaLink::GetProfileURL($kunena_my->id, false),$message); break; case "bulkDelPerm" : CKunenaTools::KDeletePerm ( ); break; case "bulkRestore" : CKunenaTools::KUndelete ( ); break; } break; case 'templatechooser' : $fb_user_template = strval ( JRequest::getVar ( '<API key>', '', 'COOKIE' ) ); $<API key> = strval ( JRequest::getVar ( '<API key>', $<API key> ) ); $fb_change_template = strval ( JRequest::getVar ( '<API key>', $fb_user_template ) ); $<API key> = strval ( JRequest::getVar ( '<API key>', $<API key> ) ); if ($fb_change_template) { // clean template name $fb_change_template = preg_replace ( '#\W#', '', $fb_change_template ); if (JString::strlen ( $fb_change_template ) >= 40) { $fb_change_template = JString::substr ( $fb_change_template, 0, 39 ); } // check that template exists in case it was deleted if (file_exists ( <API key> . '/' . $fb_change_template . '/css/kunena.forum.css' )) { $lifetime = 60 * 10; $fb_current_template = $fb_change_template; setcookie ( '<API key>', "$fb_change_template", time () + $lifetime ); } else { setcookie ( '<API key>', '', time () - 3600 ); } } if ($<API key>) { // clean template name $<API key> = preg_replace ( '#\W#', '', $<API key> ); if (JString::strlen ( $<API key> ) >= 40) { $<API key> = JString::substr ( $<API key>, 0, 39 ); } // check that template exists in case it was deleted if (file_exists ( <API key> . '/' . $<API key> . '/css/kunena.forum.css' )) { $lifetime = 60 * 10; $<API key> = $<API key>; setcookie ( '<API key>', "$<API key>", time () + $lifetime ); } else { setcookie ( '<API key>', '', time () - 3600 ); } } $kunena_app->redirect ( CKunenaLink::GetKunenaURL(false) ); break; case 'credits' : include (JPATH_COMPONENT . '/lib/kunena.credits.php'); break; default : require_once (KUNENA_PATH_FUNCS . '/listcat.php'); $page = new CKunenaListcat($catid); $page->display(); break; } if(JDEBUG){ $__profiler->mark('$func End'); } // Bottom Module CKunenaTools::showModulePosition( 'kunena_bottom' ); // PDF and RSS if ($kunena_config->enablerss || $kunena_config->enablepdf) { if ($catid>0) { kimport('category'); $category = KunenaCategory::getInstance($catid); if ($category->pub_access == 0 && $category->parent) $rss_params = '&amp;catid=' . (int) $catid; } else { $rss_params = ''; } if (isset($rss_params) || $kunena_config->enablepdf) { echo '<div class="krss-block">'; if ($kunena_config->enablepdf && $func == 'view' && <API key> == '1.5') { // FIXME: add better translation: echo CKunenaLink::GetPDFLink($catid, $limit, $limitstart, $id, CKunenaTools::showIcon ( 'kpdf', JText::_('PDF') ), 'nofollow', '', JText::_('PDF')); } if ($kunena_config->enablerss && isset($rss_params)) { if ( $kunena_config->rss_specification == 'atom1.0' ) $rss_specification = 'application/atom+xml'; else $rss_specification = 'application/rss+xml'; $document->addCustomTag ( '<link rel="alternate" type="'.$rss_specification.'" title="' . JText::_('<API key>') . '" href="' . CKunenaLink::GetRSSURL($rss_params) . '" />' ); echo CKunenaLink::GetRSSLink ( CKunenaTools::showIcon ( 'krss', JText::_('<API key>') ), 'follow', $rss_params ); } echo '</div>'; } } $template = KunenaFactory::getTemplate(); $this->params = $template->params; // Credits echo '<div class="kcredits kms"> ' . CKunenaLink::GetTeamCreditsLink ( $catid, JText::_('<API key>') ) . ' ' . CKunenaLink::GetCreditsLink (); if ($this->params->get('templatebyText') !=''): echo ' :: <a href ="'. $this->params->get('templatebyLink').'" rel="follow">' . $this->params->get('templatebyText') ; if ($this->params->get('templatebyName')) { echo ' '.$this->params->get('templatebyName') .'</a>'; } else { echo '</a>'; } endif; echo '</div>'; // display footer // Show total time it took to create the page $__ktime = JProfiler::getmicrotime() - $__kstarttime; ?> <div class="kfooter"> <span class="kfooter-time"><?php echo JText::_('<API key>').'&nbsp;'.sprintf('%0.2f', $__ktime).'&nbsp;'.JText::_('<API key>');?></span> </div> </div> <!-- closes Kunena div --> <?php $integration = KunenaFactory::getProfile(); $integration->close(); //$params = JComponentHelper::getParams( 'com_kunena' ); //if ($params->get( 'show_page_title' )) $document->setTitle ( $params->get( 'page_title' ) ); if (empty($_POST) && $format == 'html') { $default = KunenaRoute::getDefault(); if ($default) $menu->setActive($default->id); } } // end of online if(JDEBUG == 1){ $__profiler->mark('Done'); $__queries = $__profiler->getQueryCount(); if(defined('JFIREPHP')){ FB::log($__profiler->getBuffer(), 'Kunena Profiler'); if($__queries>50){ FB::error($__queries, 'Kunena Queries'); } else if($__queries>35){ FB::warn($__queries, 'Kunena Queries'); } else { FB::log($__queries, 'Kunena Queries'); } } } ob_end_flush(); } /** * Escapes a value for output in a view script. * * If escaping mechanism is one of htmlspecialchars or htmlentities, uses * {@link $_encoding} setting. * * @param mixed $var The output to escape. * @return mixed The escaped value. */ function escape($var) { return htmlspecialchars($var, ENT_COMPAT, 'UTF-8'); } function redirect($url) { $app = JFactory::getApplication(); $redirect = (array) $app->getUserState( 'com_kunena.redirect'); if (isset($redirect[$url])) { // TODO: translate <API key> KunenaError::warning(JText::sprintf('Infinite redirect loop detected in %s', $url), 'menu'); return; } $redirect[$url] = 1; $app->setUserState( 'com_kunena.redirect', $redirect); $app->redirect ($url); } } $kunena = new KunenaApp();
#include <linux/types.h> #include <linux/kernel.h> #include <linux/pci.h> #include <linux/init.h> #include <linux/interrupt.h> #include <linux/dmi.h> #include <linux/io.h> #include <linux/smp.h> #include <asm/io_apic.h> #include <linux/irq.h> #include <linux/acpi.h> #include <asm/pci_x86.h> #define PIRQ_SIGNATURE (('$' << 0) + ('P' << 8) + ('I' << 16) + ('R' << 24)) #define PIRQ_VERSION 0x0100 static int broken_hp_bios_irq9; static int <API key>; static struct irq_routing_table *pirq_table; static int pirq_enable_irq(struct pci_dev *dev); /* * Never use: 0, 1, 2 (timer, keyboard, and cascade) * Avoid using: 13, 14 and 15 (FP error and IDE). * Penalize: 3, 4, 6, 7, 12 (known ISA uses: serial, floppy, parallel and mouse) */ unsigned int pcibios_irq_mask = 0xfff8; static int pirq_penalty[16] = { 1000000, 1000000, 1000000, 1000, 1000, 0, 1000, 1000, 0, 0, 0, 0, 1000, 100000, 100000, 100000 }; struct irq_router { char *name; u16 vendor, device; int (*get)(struct pci_dev *router, struct pci_dev *dev, int pirq); int (*set)(struct pci_dev *router, struct pci_dev *dev, int pirq, int new); }; struct irq_router_handler { u16 vendor; int (*probe)(struct irq_router *r, struct pci_dev *router, u16 device); }; int (*pcibios_enable_irq)(struct pci_dev *dev) = pirq_enable_irq; void (*pcibios_disable_irq)(struct pci_dev *dev) = NULL; /* * Check passed address for the PCI IRQ Routing Table signature * and perform checksum verification. */ static inline struct irq_routing_table *<API key>(u8 *addr) { struct irq_routing_table *rt; int i; u8 sum; rt = (struct irq_routing_table *) addr; if (rt->signature != PIRQ_SIGNATURE || rt->version != PIRQ_VERSION || rt->size % 16 || rt->size < sizeof(struct irq_routing_table)) return NULL; sum = 0; for (i = 0; i < rt->size; i++) sum += addr[i]; if (!sum) { DBG(KERN_DEBUG "PCI: Interrupt Routing Table found at 0x%p\n", rt); return rt; } return NULL; } /* * Search 0xf0000 -- 0xfffff for the PCI IRQ Routing Table. */ static struct irq_routing_table * __init <API key>(void) { u8 *addr; struct irq_routing_table *rt; if (pirq_table_addr) { rt = <API key>((u8 *) __va(pirq_table_addr)); if (rt) return rt; printk(KERN_WARNING "PCI: PIRQ table NOT found at pirqaddr\n"); } for (addr = (u8 *) __va(0xf0000); addr < (u8 *) __va(0x100000); addr += 16) { rt = <API key>(addr); if (rt) return rt; } return NULL; } /* * If we have a IRQ routing table, use it to search for peer host * bridges. It's a gross hack, but since there are no other known * ways how to get a list of buses, we have to go this way. */ static void __init pirq_peer_trick(void) { struct irq_routing_table *rt = pirq_table; u8 busmap[256]; int i; struct irq_info *e; memset(busmap, 0, sizeof(busmap)); for (i = 0; i < (rt->size - sizeof(struct irq_routing_table)) / sizeof(struct irq_info); i++) { e = &rt->slots[i]; #ifdef DEBUG { int j; DBG(KERN_DEBUG "%02x:%02x slot=%02x", e->bus, e->devfn/8, e->slot); for (j = 0; j < 4; j++) DBG(" %d:%02x/%04x", j, e->irq[j].link, e->irq[j].bitmap); DBG("\n"); } #endif busmap[e->bus] = 1; } for (i = 1; i < 256; i++) { int node; if (!busmap[i] || pci_find_bus(0, i)) continue; node = get_mp_bus_to_node(i); if (<API key>(i, &pci_root_ops, node)) printk(KERN_INFO "PCI: Discovered primary peer " "bus %02x [IRQ]\n", i); } pcibios_last_bus = -1; } /* * Code for querying and setting of IRQ routes on various interrupt routers. */ void eisa_set_level_irq(unsigned int irq) { unsigned char mask = 1 << (irq & 7); unsigned int port = 0x4d0 + (irq >> 3); unsigned char val; static u16 eisa_irq_mask; if (irq >= 16 || (1 << irq) & eisa_irq_mask) return; eisa_irq_mask |= (1 << irq); printk(KERN_DEBUG "PCI: setting IRQ %u as level-triggered\n", irq); val = inb(port); if (!(val & mask)) { DBG(KERN_DEBUG " -> edge"); outb(val | mask, port); } } /* * Common IRQ routing practice: nibbles in config space, * offset by some magic constant. */ static unsigned int read_config_nybble(struct pci_dev *router, unsigned offset, unsigned nr) { u8 x; unsigned reg = offset + (nr >> 1); <API key>(router, reg, &x); return (nr & 1) ? (x >> 4) : (x & 0xf); } static void write_config_nybble(struct pci_dev *router, unsigned offset, unsigned nr, unsigned int val) { u8 x; unsigned reg = offset + (nr >> 1); <API key>(router, reg, &x); x = (nr & 1) ? ((x & 0x0f) | (val << 4)) : ((x & 0xf0) | val); <API key>(router, reg, x); } /* * ALI pirq entries are damn ugly, and completely undocumented. * This has been figured out from pirq tables, and it's not a pretty * picture. */ static int pirq_ali_get(struct pci_dev *router, struct pci_dev *dev, int pirq) { static const unsigned char irqmap[16] = { 0, 9, 3, 10, 4, 5, 7, 6, 1, 11, 0, 12, 0, 14, 0, 15 }; WARN_ON_ONCE(pirq > 16); return irqmap[read_config_nybble(router, 0x48, pirq-1)]; } static int pirq_ali_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq) { static const unsigned char irqmap[16] = { 0, 8, 0, 2, 4, 5, 7, 6, 0, 1, 3, 9, 11, 0, 13, 15 }; unsigned int val = irqmap[irq]; WARN_ON_ONCE(pirq > 16); if (val) { write_config_nybble(router, 0x48, pirq-1, val); return 1; } return 0; } /* * The Intel PIIX4 pirq rules are fairly simple: "pirq" is * just a pointer to the config space. */ static int pirq_piix_get(struct pci_dev *router, struct pci_dev *dev, int pirq) { u8 x; <API key>(router, pirq, &x); return (x < 16) ? x : 0; } static int pirq_piix_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq) { <API key>(router, pirq, irq); return 1; } /* * The VIA pirq rules are nibble-based, like ALI, * but without the ugly irq number munging. * However, PIRQD is in the upper instead of lower 4 bits. */ static int pirq_via_get(struct pci_dev *router, struct pci_dev *dev, int pirq) { return read_config_nybble(router, 0x55, pirq == 4 ? 5 : pirq); } static int pirq_via_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq) { write_config_nybble(router, 0x55, pirq == 4 ? 5 : pirq, irq); return 1; } /* * The VIA pirq rules are nibble-based, like ALI, * but without the ugly irq number munging. * However, for 82C586, nibble map is different . */ static int pirq_via586_get(struct pci_dev *router, struct pci_dev *dev, int pirq) { static const unsigned int pirqmap[5] = { 3, 2, 5, 1, 1 }; WARN_ON_ONCE(pirq > 5); return read_config_nybble(router, 0x55, pirqmap[pirq-1]); } static int pirq_via586_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq) { static const unsigned int pirqmap[5] = { 3, 2, 5, 1, 1 }; WARN_ON_ONCE(pirq > 5); write_config_nybble(router, 0x55, pirqmap[pirq-1], irq); return 1; } /* * ITE 8330G pirq rules are nibble-based * FIXME: pirqmap may be { 1, 0, 3, 2 }, * 2+3 are both mapped to irq 9 on my system */ static int pirq_ite_get(struct pci_dev *router, struct pci_dev *dev, int pirq) { static const unsigned char pirqmap[4] = { 1, 0, 2, 3 }; WARN_ON_ONCE(pirq > 4); return read_config_nybble(router, 0x43, pirqmap[pirq-1]); } static int pirq_ite_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq) { static const unsigned char pirqmap[4] = { 1, 0, 2, 3 }; WARN_ON_ONCE(pirq > 4); write_config_nybble(router, 0x43, pirqmap[pirq-1], irq); return 1; } /* * OPTI: high four bits are nibble pointer.. * I wonder what the low bits do? */ static int pirq_opti_get(struct pci_dev *router, struct pci_dev *dev, int pirq) { return read_config_nybble(router, 0xb8, pirq >> 4); } static int pirq_opti_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq) { write_config_nybble(router, 0xb8, pirq >> 4, irq); return 1; } /* * Cyrix: nibble offset 0x5C * 0x5C bits 7:4 is INTB bits 3:0 is INTA * 0x5D bits 7:4 is INTD bits 3:0 is INTC */ static int pirq_cyrix_get(struct pci_dev *router, struct pci_dev *dev, int pirq) { return read_config_nybble(router, 0x5C, (pirq-1)^1); } static int pirq_cyrix_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq) { write_config_nybble(router, 0x5C, (pirq-1)^1, irq); return 1; } /* * PIRQ routing for SiS 85C503 router used in several SiS chipsets. * We have to deal with the following issues here: * - vendors have different ideas about the meaning of link values * - some onboard devices (integrated in the chipset) have special * links and are thus routed differently (i.e. not via PCI INTA-INTD) * - different revision of the router have a different layout for * the routing registers, particularly for the onchip devices * * For all routing registers the common thing is we have one byte * per routeable link which is defined as: * bit 7 IRQ mapping enabled (0) or disabled (1) * bits [6:4] reserved (sometimes used for onchip devices) * bits [3:0] IRQ to map to * allowed: 3-7, 9-12, 14-15 * reserved: 0, 1, 2, 8, 13 * * The config-space registers located at 0x41/0x42/0x43/0x44 are * always used to route the normal PCI INT A/B/C/D respectively. * Apparently there are systems implementing PCI routing table using * link values 0x01-0x04 and others using 0x41-0x44 for PCI INTA..D. * We try our best to handle both link mappings. * * Currently (2003-05-21) it appears most SiS chipsets follow the * definition of routing registers from the SiS-5595 southbridge. * According to the SiS 5595 datasheets the revision id's of the * router (ISA-bridge) should be 0x01 or 0xb0. * * Furthermore we've also seen lspci dumps with revision 0x00 and 0xb1. * Looks like these are used in a number of SiS 5xx/6xx/7xx chipsets. * They seem to work with the current routing code. However there is * some concern because of the two USB-OHCI HCs (original SiS 5595 * had only one). YMMV. * * Onchip routing for router rev-id 0x01/0xb0 and probably 0x00/0xb1: * * 0x61: IDEIRQ: * bits [6:5] must be written 01 * bit 4 channel-select primary (0), secondary (1) * * 0x62: USBIRQ: * bit 6 OHCI function disabled (0), enabled (1) * * 0x6a: ACPI/SCI IRQ: bits 4-6 reserved * * 0x7e: Data Acq. Module IRQ - bits 4-6 reserved * * We support USBIRQ (in addition to INTA-INTD) and keep the * IDE, ACPI and DAQ routing untouched as set by the BIOS. * * Currently the only reported exception is the new SiS 65x chipset * which includes the SiS 69x southbridge. Here we have the 85C503 * router revision 0x04 and there are changes in the register layout * mostly related to the different USB HCs with USB 2.0 support. * * Onchip routing for router rev-id 0x04 (try-and-error observation) * * 0x60/0x61/0x62/0x63: 1xEHCI and 3xOHCI (companion) USB-HCs * bit 6-4 are probably unused, not like 5595 */ #define PIRQ_SIS_IRQ_MASK 0x0f #define <API key> 0x80 #define PIRQ_SIS_USB_ENABLE 0x40 static int pirq_sis_get(struct pci_dev *router, struct pci_dev *dev, int pirq) { u8 x; int reg; reg = pirq; if (reg >= 0x01 && reg <= 0x04) reg += 0x40; <API key>(router, reg, &x); return (x & <API key>) ? 0 : (x & PIRQ_SIS_IRQ_MASK); } static int pirq_sis_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq) { u8 x; int reg; reg = pirq; if (reg >= 0x01 && reg <= 0x04) reg += 0x40; <API key>(router, reg, &x); x &= ~(PIRQ_SIS_IRQ_MASK | <API key>); x |= irq ? irq: <API key>; <API key>(router, reg, x); return 1; } /* * VLSI: nibble offset 0x74 - educated guess due to routing table and * config space of VLSI 82C534 PCI-bridge/router (1004:0102) * Tested on HP OmniBook 800 covering PIRQ 1, 2, 4, 8 for onboard * devices, PIRQ 3 for non-pci(!) soundchip and (untested) PIRQ 6 * for the busbridge to the docking station. */ static int pirq_vlsi_get(struct pci_dev *router, struct pci_dev *dev, int pirq) { WARN_ON_ONCE(pirq >= 9); if (pirq > 8) { dev_info(&dev->dev, "VLSI router PIRQ escape (%d)\n", pirq); return 0; } return read_config_nybble(router, 0x74, pirq-1); } static int pirq_vlsi_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq) { WARN_ON_ONCE(pirq >= 9); if (pirq > 8) { dev_info(&dev->dev, "VLSI router PIRQ escape (%d)\n", pirq); return 0; } write_config_nybble(router, 0x74, pirq-1, irq); return 1; } /* * ServerWorks: PCI interrupts mapped to system IRQ lines through Index * and Redirect I/O registers (0x0c00 and 0x0c01). The Index register * format is (PCIIRQ## | 0x10), e.g.: PCIIRQ10=0x1a. The Redirect * register is a straight binary coding of desired PIC IRQ (low nibble). * * The 'link' value in the PIRQ table is already in the correct format * for the Index register. There are some special index values: * 0x00 for ACPI (SCI), 0x01 for USB, 0x02 for IDE0, 0x04 for IDE1, * and 0x03 for SMBus. */ static int <API key>(struct pci_dev *router, struct pci_dev *dev, int pirq) { outb(pirq, 0xc00); return inb(0xc01) & 0xf; } static int <API key>(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq) { outb(pirq, 0xc00); outb(irq, 0xc01); return 1; } /* Support for AMD756 PCI IRQ Routing * Jhon H. Caicedo <jhcaiced@osso.org.co> * Jun/21/2001 0.2.0 Release, fixed to use "nybble" functions... (jhcaiced) * Jun/19/2001 Alpha Release 0.1.0 (jhcaiced) * The AMD756 pirq rules are nibble-based * offset 0x56 0-3 PIRQA 4-7 PIRQB * offset 0x57 0-3 PIRQC 4-7 PIRQD */ static int pirq_amd756_get(struct pci_dev *router, struct pci_dev *dev, int pirq) { u8 irq; irq = 0; if (pirq <= 4) irq = read_config_nybble(router, 0x56, pirq - 1); dev_info(&dev->dev, "AMD756: dev [%04x:%04x], router PIRQ %d get IRQ %d\n", dev->vendor, dev->device, pirq, irq); return irq; } static int pirq_amd756_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq) { dev_info(&dev->dev, "AMD756: dev [%04x:%04x], router PIRQ %d set IRQ %d\n", dev->vendor, dev->device, pirq, irq); if (pirq <= 4) write_config_nybble(router, 0x56, pirq - 1, irq); return 1; } /* * PicoPower PT86C523 */ static int pirq_pico_get(struct pci_dev *router, struct pci_dev *dev, int pirq) { outb(0x10 + ((pirq - 1) >> 1), 0x24); return ((pirq - 1) & 1) ? (inb(0x26) >> 4) : (inb(0x26) & 0xf); } static int pirq_pico_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq) { unsigned int x; outb(0x10 + ((pirq - 1) >> 1), 0x24); x = inb(0x26); x = ((pirq - 1) & 1) ? ((x & 0x0f) | (irq << 4)) : ((x & 0xf0) | (irq)); outb(x, 0x26); return 1; } #ifdef CONFIG_PCI_BIOS static int pirq_bios_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq) { struct pci_dev *bridge; int pin = <API key>(dev, &bridge); return <API key>(bridge, pin - 1, irq); } #endif static __init int intel_router_probe(struct irq_router *r, struct pci_dev *router, u16 device) { static struct pci_device_id __initdata pirq_440gx[] = { { PCI_DEVICE(PCI_VENDOR_ID_INTEL, <API key>) }, { PCI_DEVICE(PCI_VENDOR_ID_INTEL, <API key>) }, { }, }; if (pci_dev_present(pirq_440gx)) return 0; switch (device) { case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: r->name = "PIIX/ICH"; r->get = pirq_piix_get; r->set = pirq_piix_set; return 1; } if ((device >= <API key> && device <= <API key>) || (device >= <API key> && device <= <API key>) || (device >= <API key> && device <= <API key>) || (device >= <API key> && device <= <API key>)) { r->name = "PIIX/ICH"; r->get = pirq_piix_get; r->set = pirq_piix_set; return 1; } return 0; } static __init int via_router_probe(struct irq_router *r, struct pci_dev *router, u16 device) { /* FIXME: We should move some of the quirk fixup stuff here */ /* * workarounds for some buggy BIOSes */ if (device == <API key>) { switch (router->device) { case <API key>: /* * Asus k7m bios wrongly reports 82C686A * as 586-compatible */ device = <API key>; break; case <API key>: /** * Asus a7v-x bios wrongly reports 8235 * as 586-compatible */ device = <API key>; break; case <API key>: /** * Asus a7v600 bios wrongly reports 8237 * as 586-compatible */ device = <API key>; break; } } switch (device) { case <API key>: r->name = "VIA"; r->get = pirq_via586_get; r->set = pirq_via586_set; return 1; case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: case <API key>: /* FIXME: add new ones for 8233/5 */ r->name = "VIA"; r->get = pirq_via_get; r->set = pirq_via_set; return 1; } return 0; } static __init int vlsi_router_probe(struct irq_router *r, struct pci_dev *router, u16 device) { switch (device) { case <API key>: r->name = "VLSI 82C534"; r->get = pirq_vlsi_get; r->set = pirq_vlsi_set; return 1; } return 0; } static __init int <API key>(struct irq_router *r, struct pci_dev *router, u16 device) { switch (device) { case <API key>: case <API key>: r->name = "ServerWorks"; r->get = <API key>; r->set = <API key>; return 1; } return 0; } static __init int sis_router_probe(struct irq_router *r, struct pci_dev *router, u16 device) { if (device != <API key>) return 0; r->name = "SIS"; r->get = pirq_sis_get; r->set = pirq_sis_set; return 1; } static __init int cyrix_router_probe(struct irq_router *r, struct pci_dev *router, u16 device) { switch (device) { case <API key>: r->name = "NatSemi"; r->get = pirq_cyrix_get; r->set = pirq_cyrix_set; return 1; } return 0; } static __init int opti_router_probe(struct irq_router *r, struct pci_dev *router, u16 device) { switch (device) { case <API key>: r->name = "OPTI"; r->get = pirq_opti_get; r->set = pirq_opti_set; return 1; } return 0; } static __init int ite_router_probe(struct irq_router *r, struct pci_dev *router, u16 device) { switch (device) { case <API key>: r->name = "ITE"; r->get = pirq_ite_get; r->set = pirq_ite_set; return 1; } return 0; } static __init int ali_router_probe(struct irq_router *r, struct pci_dev *router, u16 device) { switch (device) { case <API key>: case <API key>: r->name = "ALI"; r->get = pirq_ali_get; r->set = pirq_ali_set; return 1; } return 0; } static __init int amd_router_probe(struct irq_router *r, struct pci_dev *router, u16 device) { switch (device) { case <API key>: r->name = "AMD756"; break; case <API key>: r->name = "AMD766"; break; case <API key>: r->name = "AMD768"; break; default: return 0; } r->get = pirq_amd756_get; r->set = pirq_amd756_set; return 1; } static __init int pico_router_probe(struct irq_router *r, struct pci_dev *router, u16 device) { switch (device) { case <API key>: r->name = "PicoPower PT86C523"; r->get = pirq_pico_get; r->set = pirq_pico_set; return 1; case <API key>: r->name = "PicoPower PT86C523 rev. BB+"; r->get = pirq_pico_get; r->set = pirq_pico_set; return 1; } return 0; } static __initdata struct irq_router_handler pirq_routers[] = { { PCI_VENDOR_ID_INTEL, intel_router_probe }, { PCI_VENDOR_ID_AL, ali_router_probe }, { PCI_VENDOR_ID_ITE, ite_router_probe }, { PCI_VENDOR_ID_VIA, via_router_probe }, { PCI_VENDOR_ID_OPTI, opti_router_probe }, { PCI_VENDOR_ID_SI, sis_router_probe }, { PCI_VENDOR_ID_CYRIX, cyrix_router_probe }, { PCI_VENDOR_ID_VLSI, vlsi_router_probe }, { <API key>, <API key> }, { PCI_VENDOR_ID_AMD, amd_router_probe }, { <API key>, pico_router_probe }, /* Someone with docs needs to add the ATI Radeon IGP */ { 0, NULL } }; static struct irq_router pirq_router; static struct pci_dev *pirq_router_dev; /* * FIXME: should we have an option to say "generic for * chipset" ? */ static void __init pirq_find_router(struct irq_router *r) { struct irq_routing_table *rt = pirq_table; struct irq_router_handler *h; #ifdef CONFIG_PCI_BIOS if (!rt->signature) { printk(KERN_INFO "PCI: Using BIOS for IRQ routing\n"); r->set = pirq_bios_set; r->name = "BIOS"; return; } #endif /* Default unless a driver reloads it */ r->name = "default"; r->get = NULL; r->set = NULL; DBG(KERN_DEBUG "PCI: Attempting to find IRQ router for [%04x:%04x]\n", rt->rtr_vendor, rt->rtr_device); pirq_router_dev = <API key>(rt->rtr_bus, rt->rtr_devfn); if (!pirq_router_dev) { DBG(KERN_DEBUG "PCI: Interrupt router not found at " "%02x:%02x\n", rt->rtr_bus, rt->rtr_devfn); return; } for (h = pirq_routers; h->vendor; h++) { /* First look for a router match */ if (rt->rtr_vendor == h->vendor && h->probe(r, pirq_router_dev, rt->rtr_device)) break; /* Fall back to a device match */ if (pirq_router_dev->vendor == h->vendor && h->probe(r, pirq_router_dev, pirq_router_dev->device)) break; } dev_info(&pirq_router_dev->dev, "%s IRQ router [%04x:%04x]\n", pirq_router.name, pirq_router_dev->vendor, pirq_router_dev->device); /* The device remains referenced for the kernel lifetime */ } static struct irq_info *pirq_get_info(struct pci_dev *dev) { struct irq_routing_table *rt = pirq_table; int entries = (rt->size - sizeof(struct irq_routing_table)) / sizeof(struct irq_info); struct irq_info *info; for (info = rt->slots; entries--; info++) if (info->bus == dev->bus->number && PCI_SLOT(info->devfn) == PCI_SLOT(dev->devfn)) return info; return NULL; } static int pcibios_lookup_irq(struct pci_dev *dev, int assign) { u8 pin; struct irq_info *info; int i, pirq, newirq; int irq = 0; u32 mask; struct irq_router *r = &pirq_router; struct pci_dev *dev2 = NULL; char *msg = NULL; /* Find IRQ pin */ <API key>(dev, PCI_INTERRUPT_PIN, &pin); if (!pin) { dev_dbg(&dev->dev, "no interrupt pin\n"); return 0; } if (<API key>) return 0; /* Find IRQ routing entry */ if (!pirq_table) return 0; info = pirq_get_info(dev); if (!info) { dev_dbg(&dev->dev, "PCI INT %c not found in routing table\n", 'A' + pin - 1); return 0; } pirq = info->irq[pin - 1].link; mask = info->irq[pin - 1].bitmap; if (!pirq) { dev_dbg(&dev->dev, "PCI INT %c not routed\n", 'A' + pin - 1); return 0; } dev_dbg(&dev->dev, "PCI INT %c -> PIRQ %02x, mask %04x, excl %04x", 'A' + pin - 1, pirq, mask, pirq_table->exclusive_irqs); mask &= pcibios_irq_mask; /* Work around broken HP Pavilion Notebooks which assign USB to IRQ 9 even though it is actually wired to IRQ 11 */ if (broken_hp_bios_irq9 && pirq == 0x59 && dev->irq == 9) { dev->irq = 11; <API key>(dev, PCI_INTERRUPT_LINE, 11); r->set(pirq_router_dev, dev, pirq, 11); } /* same for Acer Travelmate 360, but with CB and irq 11 -> 10 */ if (<API key> && dev->irq == 11 && dev->vendor == PCI_VENDOR_ID_O2) { pirq = 0x68; mask = 0x400; dev->irq = r->get(pirq_router_dev, dev, pirq); <API key>(dev, PCI_INTERRUPT_LINE, dev->irq); } /* * Find the best IRQ to assign: use the one * reported by the device if possible. */ newirq = dev->irq; if (newirq && !((1 << newirq) & mask)) { if (pci_probe & PCI_USE_PIRQ_MASK) newirq = 0; else dev_warn(&dev->dev, "IRQ %d doesn't match PIRQ mask " "%#x; try pci=usepirqmask\n", newirq, mask); } if (!newirq && assign) { for (i = 0; i < 16; i++) { if (!(mask & (1 << i))) continue; if (pirq_penalty[i] < pirq_penalty[newirq] && can_request_irq(i, IRQF_SHARED)) newirq = i; } } dev_dbg(&dev->dev, "PCI INT %c -> newirq %d", 'A' + pin - 1, newirq); /* Check if it is hardcoded */ if ((pirq & 0xf0) == 0xf0) { irq = pirq & 0xf; msg = "hardcoded"; } else if (r->get && (irq = r->get(pirq_router_dev, dev, pirq)) && \ ((!(pci_probe & PCI_USE_PIRQ_MASK)) || ((1 << irq) & mask))) { msg = "found"; eisa_set_level_irq(irq); } else if (newirq && r->set && (dev->class >> 8) != <API key>) { if (r->set(pirq_router_dev, dev, pirq, newirq)) { eisa_set_level_irq(newirq); msg = "assigned"; irq = newirq; } } if (!irq) { if (newirq && mask == (1 << newirq)) { msg = "guessed"; irq = newirq; } else { dev_dbg(&dev->dev, "can't route interrupt\n"); return 0; } } dev_info(&dev->dev, "%s PCI INT %c -> IRQ %d\n", msg, 'A' + pin - 1, irq); /* Update IRQ for all devices with the same pirq value */ for_each_pci_dev(dev2) { <API key>(dev2, PCI_INTERRUPT_PIN, &pin); if (!pin) continue; info = pirq_get_info(dev2); if (!info) continue; if (info->irq[pin - 1].link == pirq) { /* * We refuse to override the dev->irq * information. Give a warning! */ if (dev2->irq && dev2->irq != irq && \ (!(pci_probe & PCI_USE_PIRQ_MASK) || \ ((1 << dev2->irq) & mask))) { #ifndef CONFIG_PCI_MSI dev_info(&dev2->dev, "IRQ routing conflict: " "have IRQ %d, want IRQ %d\n", dev2->irq, irq); #endif continue; } dev2->irq = irq; pirq_penalty[irq]++; if (dev != dev2) dev_info(&dev->dev, "sharing IRQ %d with %s\n", irq, pci_name(dev2)); } } return 1; } void __init pcibios_fixup_irqs(void) { struct pci_dev *dev = NULL; u8 pin; DBG(KERN_DEBUG "PCI: IRQ fixup\n"); for_each_pci_dev(dev) { /* * If the BIOS has set an out of range IRQ number, just * ignore it. Also keep track of which IRQ's are * already in use. */ if (dev->irq >= 16) { dev_dbg(&dev->dev, "ignoring bogus IRQ %d\n", dev->irq); dev->irq = 0; } /* * If the IRQ is already assigned to a PCI device, * ignore its ISA use penalty */ if (pirq_penalty[dev->irq] >= 100 && pirq_penalty[dev->irq] < 100000) pirq_penalty[dev->irq] = 0; pirq_penalty[dev->irq]++; } if (<API key>) return; dev = NULL; for_each_pci_dev(dev) { <API key>(dev, PCI_INTERRUPT_PIN, &pin); if (!pin) continue; /* * Still no IRQ? Try to lookup one... */ if (!dev->irq) pcibios_lookup_irq(dev, 0); } } /* * Work around broken HP Pavilion Notebooks which assign USB to * IRQ 9 even though it is actually wired to IRQ 11 */ static int __init <API key>(const struct dmi_system_id *d) { if (!broken_hp_bios_irq9) { broken_hp_bios_irq9 = 1; printk(KERN_INFO "%s detected - fixing broken IRQ routing\n", d->ident); } return 0; } /* * Work around broken Acer TravelMate 360 Notebooks which assign * Cardbus to IRQ 11 even though it is actually wired to IRQ 10 */ static int __init <API key>(const struct dmi_system_id *d) { if (!<API key>) { <API key> = 1; printk(KERN_INFO "%s detected - fixing broken IRQ routing\n", d->ident); } return 0; } static struct dmi_system_id __initdata pciirq_dmi_table[] = { { .callback = <API key>, .ident = "HP Pavilion N5400 Series Laptop", .matches = { DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), DMI_MATCH(DMI_BIOS_VERSION, "GE.M1.03"), DMI_MATCH(DMI_PRODUCT_VERSION, "HP Pavilion Notebook Model GE"), DMI_MATCH(DMI_BOARD_VERSION, "OmniBook N32N-736"), }, }, { .callback = <API key>, .ident = "Acer TravelMate 36x Laptop", .matches = { DMI_MATCH(DMI_SYS_VENDOR, "Acer"), DMI_MATCH(DMI_PRODUCT_NAME, "TravelMate 360"), }, }, { } }; void __init pcibios_irq_init(void) { DBG(KERN_DEBUG "PCI: IRQ init\n"); if (raw_pci_ops == NULL) return; dmi_check_system(pciirq_dmi_table); pirq_table = <API key>(); #ifdef CONFIG_PCI_BIOS if (!pirq_table && (pci_probe & PCI_BIOS_IRQ_SCAN)) pirq_table = <API key>(); #endif if (pirq_table) { pirq_peer_trick(); pirq_find_router(&pirq_router); if (pirq_table->exclusive_irqs) { int i; for (i = 0; i < 16; i++) if (!(pirq_table->exclusive_irqs & (1 << i))) pirq_penalty[i] += 100; } /* * If we're using the I/O APIC, avoid using the PCI IRQ * routing table */ if (<API key>) pirq_table = NULL; } x86_init.pci.fixup_irqs(); if (<API key> && pci_routeirq) { struct pci_dev *dev = NULL; /* * PCI IRQ routing is set up by pci_enable_device(), but we * also do it here in case there are still broken drivers that * don't use pci_enable_device(). */ printk(KERN_INFO "PCI: Routing PCI interrupts for all devices because \"pci=routeirq\" specified\n"); for_each_pci_dev(dev) pirq_enable_irq(dev); } } static void <API key>(int irq, int active) { /* * If any ISAPnP device reports an IRQ in its list of possible * IRQ's, we try to avoid assigning it to PCI devices. */ if (irq < 16) { if (active) pirq_penalty[irq] += 1000; else pirq_penalty[irq] += 100; } } void <API key>(int irq, int active) { #ifdef CONFIG_ACPI if (!acpi_noirq) <API key>(irq, active); else #endif <API key>(irq, active); } static int pirq_enable_irq(struct pci_dev *dev) { u8 pin; <API key>(dev, PCI_INTERRUPT_PIN, &pin); if (pin && !pcibios_lookup_irq(dev, 1)) { char *msg = ""; if (!<API key> && dev->irq) return 0; if (<API key>) { #ifdef CONFIG_X86_IO_APIC struct pci_dev *temp_dev; int irq; struct io_apic_irq_attr irq_attr; irq = <API key>(dev->bus->number, PCI_SLOT(dev->devfn), pin - 1, &irq_attr); /* * Busses behind bridges are typically not listed in the MP-table. * In this case we have to look up the IRQ based on the parent bus, * parent slot, and pin number. The SMP code detects such bridged * busses itself so we should get into this branch reliably. */ temp_dev = dev; while (irq < 0 && dev->bus->parent) { /* go back to the bridge */ struct pci_dev *bridge = dev->bus->self; pin = <API key>(dev, pin); irq = <API key>(bridge->bus->number, PCI_SLOT(bridge->devfn), pin - 1, &irq_attr); if (irq >= 0) dev_warn(&dev->dev, "using bridge %s " "INT %c to get IRQ %d\n", pci_name(bridge), 'A' + pin - 1, irq); dev = bridge; } dev = temp_dev; if (irq >= 0) { <API key>(&dev->dev, irq, &irq_attr); dev->irq = irq; dev_info(&dev->dev, "PCI->APIC IRQ transform: " "INT %c -> IRQ %d\n", 'A' + pin - 1, irq); return 0; } else msg = "; probably buggy MP table"; #endif } else if (pci_probe & PCI_BIOS_IRQ_SCAN) msg = ""; else msg = "; please try using pci=biosirq"; /* * With IDE legacy devices the IRQ lookup failure is not * a problem.. */ if (dev->class >> 8 == <API key> && !(dev->class & 0x5)) return 0; dev_warn(&dev->dev, "can't find IRQ for PCI INT %c%s\n", 'A' + pin - 1, msg); } return 0; }
#pragma once #include <array> #include <glad/glad.h> #include "core/hw/gpu.h" #include "video_core/renderer_base.h" #include "video_core/renderer_opengl/gl_state.h" class EmuWindow; class RendererOpenGL : public RendererBase { public: RendererOpenGL(); ~RendererOpenGL() override; Swap buffers (render frame) void SwapBuffers() override; /** * Set the emulator window to use for renderer * @param window EmuWindow handle to emulator window to use for rendering */ void SetWindow(EmuWindow* window) override; Initialize the renderer bool Init() override; Shutdown the renderer void ShutDown() override; private: Structure used for storing information about the textures for each 3DS screen struct TextureInfo { GLuint handle; GLsizei width; GLsizei height; GPU::Regs::PixelFormat format; GLenum gl_format; GLenum gl_type; }; void InitOpenGLObjects(); void <API key>(TextureInfo& texture, const GPU::Regs::FramebufferConfig& framebuffer); void DrawScreens(); void <API key>(const TextureInfo& texture, float x, float y, float w, float h); void UpdateFramerate(); // Loads framebuffer from emulated memory into the active OpenGL texture. void <API key>(const GPU::Regs::FramebufferConfig& framebuffer, const TextureInfo& texture); // Fills active OpenGL texture with the given RGB color. void <API key>(u8 color_r, u8 color_g, u8 color_b, const TextureInfo& texture); EmuWindow* render_window; ///< Handle to render window int resolution_width; ///< Current resolution width int resolution_height; ///< Current resolution height OpenGLState state; // OpenGL object IDs GLuint vertex_array_handle; GLuint <API key>; GLuint program_id; std::array<TextureInfo, 2> textures; ///< Textures for top and bottom screens respectively // Shader uniform location indices GLuint <API key>; GLuint <API key>; // Shader attribute input indices GLuint attrib_position; GLuint attrib_tex_coord; };
#include "bin\xvid_dec.h" BOOL XviDDec::Start_XviD(int Xsize,int Ysize,int csp) { Clear_XviD(); width = Xsize; height = Ysize; colorspace = csp; filenr = 0; totalsize = 0; forceSkip = FALSE; buffer_size = 2*width*height; xvid_gbl_init_t xvid_gbl_init; xvid_dec_create_t xvid_dec_create; /* Version */ xvid_gbl_init.version = XVID_VERSION; #ifndef _DEBUG xvid_gbl_init.cpu_flags = 0; #else xvid_gbl_init.cpu_flags = XVID_CPU_FORCE; #endif xvid_global(NULL, 0, &xvid_gbl_init, NULL); /* Version */ xvid_dec_create.version = XVID_VERSION; /* * Image dimensions -- set to 0, xvidcore will resize when ever it is * needed */ xvid_dec_create.width = width; xvid_dec_create.height = height; int ret = xvid_decore(NULL, XVID_DEC_CREATE, &xvid_dec_create, NULL); dec_handle = xvid_dec_create.handle; if(ret) return FALSE; bInit = TRUE; bContinue = FALSE; return TRUE; } /* close decoder to release resources */ void XviDDec::Clear_XviD() { if(NULL==dec_handle)return; xvid_decore(dec_handle, XVID_DEC_DESTROY, NULL, NULL); dec_handle = NULL; } WORD XviDDec::GetVer() { return 0x0103; } int XviDDec::DecodeXviD(BYTE *inmemory, int inmemsize, int *rest, BYTE *outmemory,DWORD pitch) { int used_bytes = 0; xvid_dec_stats_t xvid_dec_stats; if(bInit){ mp4_buffer = inmemory; useful_bytes = inmemsize; mp4_ptr = mp4_buffer; bInit = FALSE; } out_buffer = outmemory; if(bContinue){ useful_bytes += inmemsize; bContinue = FALSE; } if(FALSE==bFlash){ do{ /* Decode frame */ used_bytes = dec_main(mp4_ptr, out_buffer, useful_bytes, &xvid_dec_stats,pitch); /* Update buffer pointers */ if(used_bytes > 0) { mp4_ptr += used_bytes; useful_bytes -= used_bytes; /* Total size */ totalsize += used_bytes; } }while((xvid_dec_stats.type<XVID_TYPE_IVOP || xvid_dec_stats.type>XVID_TYPE_BVOP) && useful_bytes>0); if(useful_bytes<=0) bFlash = TRUE; }else{ do { used_bytes = dec_main(NULL, out_buffer, -1, &xvid_dec_stats,pitch); }while(used_bytes>=0 && xvid_dec_stats.type <= 0); if (used_bytes < 0){ bFlash = FALSE; return XviD_DEC_END; } } filenr++; if (mp4_ptr > mp4_buffer + buffer_size*3/4) { *rest = (mp4_buffer + buffer_size - mp4_ptr); // Move data if needed if (*rest > 0) memcpy(mp4_buffer, mp4_ptr, *rest); // Update mp4_ptr mp4_ptr = mp4_buffer; bContinue = TRUE; return XviD_DEC_NEEDMORE; } return XviD_DEC_CONTINUE; } /* decode one frame */ int XviDDec::dec_main(BYTE *istream, BYTE *ostream, int istream_size, xvid_dec_stats_t *xvid_dec_stats, DWORD pitch) { xvid_dec_frame_t xvid_dec_frame; /* Set version */ xvid_dec_frame.version = XVID_VERSION; xvid_dec_stats->version = XVID_VERSION; /* No general flags to set */ xvid_dec_frame.general = 0; // xvid_dec_frame.general = XVID_LOWDELAY; /* force low_delay_default mode */ /* Input stream */ xvid_dec_frame.bitstream = istream; xvid_dec_frame.length = istream_size; /* Output frame structure */ xvid_dec_frame.output.plane[0] = ostream; xvid_dec_frame.output.stride[0] = pitch; xvid_dec_frame.output.csp = colorspace; if(forceSkip)xvid_dec_frame.output.csp = XVID_CSP_NULL; return xvid_decore(dec_handle, XVID_DEC_DECODE, &xvid_dec_frame, xvid_dec_stats); }
#include <linux/firmware.h> #include <soc/qcom/subsystem_restart.h> #include <soc/qcom/scm.h> #include <linux/pm_opp.h> #include "adreno.h" #include "a5xx_reg.h" #include "adreno_a5xx.h" #include "adreno_cp_parser.h" #include "adreno_trace.h" #include "adreno_pm4types.h" #include "adreno_perfcounter.h" #include "adreno_ringbuffer.h" #include "kgsl_sharedmem.h" #include "kgsl_log.h" #include "kgsl.h" static int zap_ucode_loaded; void a5xx_snapshot(struct adreno_device *adreno_dev, struct kgsl_snapshot *snapshot); static const struct adreno_vbif_data a530_vbif[] = { {<API key>, 0x00000003}, {0, 0}, }; static const struct <API key> a5xx_vbif_platforms[] = { { adreno_is_a530, a530_vbif }, { adreno_is_a510, a530_vbif }, { adreno_is_a505, a530_vbif }, { adreno_is_a506, a530_vbif }, }; #define PREEMPT_RECORD(_field) \ offsetof(struct <API key>, _field) #define PREEMPT_SMMU_RECORD(_field) \ offsetof(struct a5xx_cp_smmu_info, _field) static void a5xx_gpmu_reset(struct work_struct *work); static int <API key>(uint32_t *header, uint32_t id, uint32_t major, uint32_t minor); /** * Number of times to check if the regulator enabled before * giving up and returning failure. */ #define PWR_RETRY 100 /** * Number of times to check if the GPMU firmware is initialized before * giving up and returning failure. */ #define GPMU_FW_INIT_RETRY 100 #define GPMU_HEADER_ID 1 #define GPMU_FIRMWARE_ID 2 #define GPMU_SEQUENCE_ID 3 #define GPMU_INST_RAM_SIZE 0xFFF #define HEADER_MAJOR 1 #define HEADER_MINOR 2 #define HEADER_DATE 3 #define HEADER_TIME 4 #define HEADER_SEQUENCE 5 #define MAX_HEADER_SIZE 10 #define LM_SEQUENCE_ID 1 #define HWCG_SEQUENCE_ID 2 #define MAX_SEQUENCE_ID 3 /* GPMU communication protocal AGC */ #define AGC_INIT_BASE <API key> #define AGC_RVOUS_MAGIC (AGC_INIT_BASE + 0) #define AGC_KMD_GPMU_ADDR (AGC_INIT_BASE + 1) #define AGC_KMD_GPMU_BYTES (AGC_INIT_BASE + 2) #define AGC_GPMU_KMD_ADDR (AGC_INIT_BASE + 3) #define AGC_GPMU_KMD_BYTES (AGC_INIT_BASE + 4) #define AGC_INIT_MSG_MAGIC (AGC_INIT_BASE + 5) #define AGC_RESERVED (AGC_INIT_BASE + 6) #define AGC_MSG_BASE (AGC_INIT_BASE + 7) #define AGC_MSG_STATE (AGC_MSG_BASE + 0) #define AGC_MSG_COMMAND (AGC_MSG_BASE + 1) #define AGC_MSG_RETURN (AGC_MSG_BASE + 2) #define <API key> (AGC_MSG_BASE + 3) #define <API key> (AGC_MSG_BASE + 4) #define AGC_MSG_PAYLOAD (AGC_MSG_BASE + 5) #define AGC_INIT_MSG_VALUE 0xBABEFACE #define <API key> 1 #define LM_DEFAULT_LIMIT 6000 #define <API key> 0x004E001A #define <API key> 0x134 #define <API key> 0x144 #define <API key> 0x4130 static void a530_efuse_leakage(struct adreno_device *adreno_dev) { struct kgsl_device *device = &adreno_dev->dev; unsigned int row0, row2; unsigned int multiplier, gfx_active, leakage_pwr_on, coeff; <API key>(adreno_dev, <API key>, &row0); <API key>(adreno_dev, <API key>, &row2); multiplier = (row0 >> 1) & 0x3; gfx_active = (row2 >> 2) & 0xFF; if (<API key>(device->pdev->dev.of_node, "qcom,<API key>", &coeff)) return; leakage_pwr_on = gfx_active * (1 << multiplier); adreno_dev->lm_leakage = (leakage_pwr_on << 16) | ((leakage_pwr_on * coeff) / 100); } static void <API key>(struct adreno_device *adreno_dev) { unsigned int val; <API key>(adreno_dev, <API key>, &val); adreno_dev->speed_bin = (val & 0xE0000000) >> 29; } static const struct { int (*check)(struct adreno_device *adreno_dev); void (*func)(struct adreno_device *adreno_dev); } a5xx_efuse_funcs[] = { { adreno_is_a530, a530_efuse_leakage }, { adreno_is_a530v3, <API key> }, }; static void a5xx_check_features(struct adreno_device *adreno_dev) { unsigned int i; if (adreno_efuse_map(adreno_dev)) return; for (i = 0; i < ARRAY_SIZE(a5xx_efuse_funcs); i++) { if (a5xx_efuse_funcs[i].check(adreno_dev)) a5xx_efuse_funcs[i].func(adreno_dev); } adreno_efuse_unmap(adreno_dev); } /* * <API key>() - Setup state to start preemption */ static void <API key>(struct adreno_device *adreno_dev, struct adreno_ringbuffer *rb) { struct kgsl_device *device = &(adreno_dev->dev); struct kgsl_iommu *iommu = device->mmu.priv; uint64_t ttbr0; uint32_t contextidr; struct kgsl_pagetable *pt; bool switch_default_pt = true; <API key>(device, &rb->preemption_desc, PREEMPT_RECORD(wptr), rb->wptr); kgsl_regwrite(device, <API key>, lower_32_bits(rb->preemption_desc.gpuaddr)); kgsl_regwrite(device, <API key>, upper_32_bits(rb->preemption_desc.gpuaddr)); <API key>(&rb->pagetable_desc, &ttbr0, offsetof(struct <API key>, ttbr0)); <API key>(&rb->pagetable_desc, &contextidr, offsetof(struct <API key>, contextidr)); spin_lock(&kgsl_driver.ptlock); list_for_each_entry(pt, &kgsl_driver.pagetable_list, list) { if (<API key>(pt) == ttbr0) { switch_default_pt = false; break; } } spin_unlock(&kgsl_driver.ptlock); if (switch_default_pt) { ttbr0 = <API key>( device->mmu.defaultpagetable); contextidr = <API key>( device->mmu.defaultpagetable); } <API key>(device, &iommu->smmu_info, offsetof(struct a5xx_cp_smmu_info, ttbr0), ttbr0); <API key>(device, &iommu->smmu_info, offsetof(struct a5xx_cp_smmu_info, context_idr), contextidr); } /* * <API key>() - Save the state after preemption is done */ static void <API key>(struct adreno_device *adreno_dev, struct adreno_ringbuffer *rb) { /* save the rptr from ctxrecord here */ <API key>(&rb->preemption_desc, &rb->rptr, PREEMPT_RECORD(rptr)); } static int <API key>(struct adreno_device *adreno_dev) { struct kgsl_device *device = &adreno_dev->dev; struct kgsl_iommu *iommu = device->mmu.priv; struct adreno_ringbuffer *rb; int ret; unsigned int i; uint64_t addr; /* We are dependent on IOMMU to make preemption go on the CP side */ if (<API key>() != KGSL_MMU_TYPE_IOMMU) return -ENODEV; /* Allocate mem for storing preemption counters */ ret = <API key>(device, &adreno_dev->preemption_counters, adreno_dev->num_ringbuffers * <API key>, 0, 0); if (ret) return ret; addr = adreno_dev->preemption_counters.gpuaddr; /* Allocate mem for storing preemption switch record */ FOR_EACH_RINGBUFFER(adreno_dev, rb, i) { ret = <API key>(&adreno_dev->dev, &rb->preemption_desc, <API key>, 0, <API key>); if (ret) return ret; /* Initialize the context switch record here */ <API key>(rb->device, &rb->preemption_desc, PREEMPT_RECORD(magic), <API key>); <API key>(rb->device, &rb->preemption_desc, PREEMPT_RECORD(info), 0); <API key>(rb->device, &rb->preemption_desc, PREEMPT_RECORD(data), 0); <API key>(rb->device, &rb->preemption_desc, PREEMPT_RECORD(cntl), 0x0800000C); <API key>(rb->device, &rb->preemption_desc, PREEMPT_RECORD(rptr), 0); <API key>(rb->device, &rb->preemption_desc, PREEMPT_RECORD(wptr), 0); <API key>(rb->device, &rb->preemption_desc, PREEMPT_RECORD(rbase), adreno_dev->ringbuffers[i].buffer_desc.gpuaddr); <API key>(rb->device, &rb->preemption_desc, PREEMPT_RECORD(counter), addr); addr += <API key>; } /* Allocate mem for storing preemption smmu record */ return <API key>(device, &iommu->smmu_info, PAGE_SIZE, <API key>, <API key>); } /* * <API key>() - Preempt token on a5xx * PM4 commands for preempt token on a5xx. These commands are * submitted to ringbuffer to trigger preemption. */ static int <API key>(struct adreno_device *adreno_dev, struct adreno_ringbuffer *rb, unsigned int *cmds, uint64_t gpuaddr) { unsigned int *cmds_orig = cmds; /* Enable yield in RB only */ *cmds++ = cp_type7_packet(CP_YIELD_ENABLE, 1); *cmds++ = 1; *cmds++ = cp_type7_packet(<API key>, 4); cmds += cp_gpuaddr(adreno_dev, cmds, gpuaddr); *cmds++ = 1; /* generate interrupt on preemption completion */ *cmds++ = 1; return cmds - cmds_orig; } /* * <API key>() - Below PM4 commands are * added at the beginning of every cmdbatch submission. */ static int <API key>( struct adreno_device *adreno_dev, struct adreno_ringbuffer *rb, unsigned int *cmds, struct kgsl_context *context, uint64_t cond_addr, struct kgsl_memobj_node *ib) { unsigned int *cmds_orig = cmds; uint64_t gpuaddr = rb->preemption_desc.gpuaddr; unsigned int preempt_style = 0; if (context) preempt_style = <API key>(context->flags); /* * <API key>(global preemption) can only be set by KMD * in ringbuffer. * 1) set global preemption to 0x0 to disable global preemption. * Only RB level preemption is allowed in this mode * 2) Set global preemption to defer(0x2) for finegrain preemption. * when global preemption is set to defer(0x2), * <API key>(local preemption) determines the * preemption point. Local preemption * can be enabled by both UMD(within IB) and KMD. */ *cmds++ = cp_type7_packet(<API key>, 1); *cmds++ = ((preempt_style == <API key>) ? 2 : 0); /* Turn CP protection OFF */ *cmds++ = cp_type7_packet(<API key>, 1); *cmds++ = 0; /* * CP during context switch will save context switch info to * <API key> pointed by <API key> */ *cmds++ = cp_type4_packet(<API key>, 1); *cmds++ = lower_32_bits(gpuaddr); *cmds++ = cp_type4_packet(<API key>, 1); *cmds++ = upper_32_bits(gpuaddr); /* Turn CP protection ON */ *cmds++ = cp_type7_packet(<API key>, 1); *cmds++ = 1; /* * Enable local preemption for finegrain preemption in case of * a misbehaving IB */ if (preempt_style == <API key>) { *cmds++ = cp_type7_packet(<API key>, 1); *cmds++ = 1; } else { *cmds++ = cp_type7_packet(<API key>, 1); *cmds++ = 0; } return cmds - cmds_orig; } /* * <API key>() - Below PM4 commands are * added after every cmdbatch submission. */ static int <API key>( struct adreno_device *adreno_dev, struct adreno_ringbuffer *rb, unsigned int *cmds, struct kgsl_context *context) { unsigned int *cmds_orig = cmds; unsigned int ctx_id = context ? context->id : 0; /* * SRM -- set render mode (ex binning, direct render etc) * SRM is set by UMD usually at start of IB to tell CP the type of * preemption. * KMD needs to set SRM to NULL to indicate CP that rendering is * done by IB. */ *cmds++ = cp_type7_packet(CP_SET_RENDER_MODE, 5); *cmds++ = 0; *cmds++ = 0; *cmds++ = 0; *cmds++ = 0; *cmds++ = 0; cmds += <API key>(adreno_dev, rb, cmds, rb->device->memstore.gpuaddr + <API key>(ctx_id, preempted)); return cmds - cmds_orig; } static void a5xx_platform_setup(struct adreno_device *adreno_dev) { uint64_t addr; struct adreno_gpudev *gpudev = ADRENO_GPU_DEVICE(adreno_dev); if (<API key>(adreno_dev)) { gpudev->snapshot_data->sect_sizes->cp_meq = 32; gpudev->snapshot_data->sect_sizes->cp_merciu = 1024; gpudev->snapshot_data->sect_sizes->roq = 256; /* A505 & A506 having 3 XIN ports in VBIF */ gpudev-><API key> = <API key>; } else if (adreno_is_a510(adreno_dev)) { gpudev->snapshot_data->sect_sizes->cp_meq = 32; gpudev->snapshot_data->sect_sizes->cp_merciu = 32; gpudev->snapshot_data->sect_sizes->roq = 256; /* A510 has 3 XIN ports in VBIF */ gpudev-><API key> = <API key>; } if (adreno_is_a530(adreno_dev) && !adreno_is_a530v1(adreno_dev)) INIT_WORK(&adreno_dev->gpmu_work, a5xx_gpmu_reset); /* Calculate SP local and private mem addresses */ addr = ALIGN(<API key> + adreno_dev->gmem_size, SZ_64K); adreno_dev->sp_local_gpuaddr = addr; adreno_dev->sp_pvt_gpuaddr = addr + SZ_64K; /* Setup defaults that might get changed by the fuse bits */ adreno_dev->lm_leakage = <API key>; adreno_dev->speed_bin = 0; /* Check efuse bits for various capabilties */ a5xx_check_features(adreno_dev); } /** * a5xx_protect_init() - Initializes register protection on a5xx * @device: Pointer to the device structure * Performs register writes to enable protected access to sensitive * registers */ static void a5xx_protect_init(struct adreno_device *adreno_dev) { struct kgsl_device *device = &adreno_dev->dev; int index = 0; struct <API key> *iommu_regs; /* enable access protection to privileged registers */ kgsl_regwrite(device, <API key>, 0x00000007); /* RBBM registers */ <API key>(adreno_dev, &index, 0x4, 2); <API key>(adreno_dev, &index, 0x8, 3); <API key>(adreno_dev, &index, 0x10, 4); <API key>(adreno_dev, &index, 0x20, 5); <API key>(adreno_dev, &index, 0x40, 6); <API key>(adreno_dev, &index, 0x80, 6); /* Content protection registers */ <API key>(adreno_dev, &index, <API key>, 4); <API key>(adreno_dev, &index, <API key>, 1); /* CP registers */ <API key>(adreno_dev, &index, 0x800, 6); <API key>(adreno_dev, &index, 0x840, 3); <API key>(adreno_dev, &index, 0x880, 5); <API key>(adreno_dev, &index, 0x0AA0, 0); /* RB registers */ <API key>(adreno_dev, &index, 0xCC0, 0); <API key>(adreno_dev, &index, 0xCF0, 1); /* VPC registers */ <API key>(adreno_dev, &index, 0xE68, 3); <API key>(adreno_dev, &index, 0xE70, 4); /* UCHE registers */ <API key>(adreno_dev, &index, 0xE87, 4); /* SMMU registers */ iommu_regs = <API key>(&device->mmu); if (iommu_regs) <API key>(adreno_dev, &index, iommu_regs->base, iommu_regs->range); } /* * a5xx_is_sptp_idle() - A530 SP/TP/RAC should be power collapsed to be * considered idle * @adreno_dev: The adreno_device pointer */ static bool a5xx_is_sptp_idle(struct adreno_device *adreno_dev) { unsigned int reg; struct kgsl_device *device = &adreno_dev->dev; /* If feature is not supported or enabled, no worry */ if (!ADRENO_FEATURE(adreno_dev, ADRENO_SPTP_PC) || !test_bit(ADRENO_SPTP_PC_CTRL, &adreno_dev->pwrctrl_flag)) return true; kgsl_regread(device, <API key>, &reg); if (reg & BIT(20)) return false; kgsl_regread(device, <API key>, &reg); return !(reg & BIT(20)); } /* * _poll_gdsc_status() - Poll the GDSC status register * @adreno_dev: The adreno device pointer * @status_reg: Offset of the status register * @status_value: The expected bit value * * Poll the status register till the power-on bit is equal to the * expected value or the max retries are exceeded. */ static int _poll_gdsc_status(struct adreno_device *adreno_dev, unsigned int status_reg, unsigned int status_value) { unsigned int reg, retry = PWR_RETRY; struct kgsl_device *device = &adreno_dev->dev; /* Bit 20 is the power on bit of SPTP and RAC GDSC status register */ do { udelay(1); kgsl_regread(device, status_reg, &reg); } while (((reg & BIT(20)) != (status_value << 20)) && retry if ((reg & BIT(20)) != (status_value << 20)) return -ETIMEDOUT; return 0; } /* * <API key>() - Enable any necessary HW regulators * @adreno_dev: The adreno device pointer * * Some HW blocks may need their regulators explicitly enabled * on a restart. Clocks must be on during this call. */ static int <API key>(struct adreno_device *adreno_dev) { unsigned int ret; struct kgsl_device *device = &adreno_dev->dev; if (!adreno_is_a530(adreno_dev)) return 0; /* * Turn on smaller power domain first to reduce voltage droop. * Set the default register values; set SW_COLLAPSE to 0. */ kgsl_regwrite(device, <API key>, 0x778000); /* Insert a delay between RAC and SPTP GDSC to reduce voltage droop */ udelay(3); ret = _poll_gdsc_status(adreno_dev, <API key>, 1); if (ret) { KGSL_PWR_ERR(device, "RBCCU GDSC enable failed\n"); return ret; } kgsl_regwrite(device, <API key>, 0x778000); ret = _poll_gdsc_status(adreno_dev, <API key>, 1); if (ret) { KGSL_PWR_ERR(device, "SPTP GDSC enable failed\n"); return ret; } return 0; } /* * <API key>() - Disable any necessary HW regulators * @adreno_dev: The adreno device pointer * * Some HW blocks may need their regulators explicitly disabled * on a power down to prevent current spikes. Clocks must be on * during this call. */ static void <API key>(struct adreno_device *adreno_dev) { unsigned int reg; struct kgsl_device *device = &adreno_dev->dev; /* If feature is not supported or not enabled */ if (!ADRENO_FEATURE(adreno_dev, ADRENO_SPTP_PC) || !test_bit(ADRENO_SPTP_PC_CTRL, &adreno_dev->pwrctrl_flag)) { /* Set the default register values; set SW_COLLAPSE to 1 */ kgsl_regwrite(device, <API key>, 0x778001); /* * Insert a delay between SPTP and RAC GDSC to reduce voltage * droop. */ udelay(3); if (_poll_gdsc_status(adreno_dev, <API key>, 0)) KGSL_PWR_WARN(device, "SPTP GDSC disable failed\n"); kgsl_regwrite(device, <API key>, 0x778001); if (_poll_gdsc_status(adreno_dev, <API key>, 0)) KGSL_PWR_WARN(device, "RBCCU GDSC disable failed\n"); } else if (test_bit(<API key>, &adreno_dev->priv)) { /* GPMU firmware is supposed to turn off SPTP & RAC GDSCs. */ kgsl_regread(device, <API key>, &reg); if (reg & BIT(20)) KGSL_PWR_WARN(device, "SPTP GDSC is not disabled\n"); kgsl_regread(device, <API key>, &reg); if (reg & BIT(20)) KGSL_PWR_WARN(device, "RBCCU GDSC is not disabled\n"); /* * GPMU firmware is supposed to set GMEM to non-retention. * Bit 14 is the memory core force on bit. */ kgsl_regread(device, <API key>, &reg); if (reg & BIT(14)) KGSL_PWR_WARN(device, "GMEM is forced on\n"); } if (adreno_is_a530(adreno_dev)) { /* Reset VBIF before PC to avoid popping bogus FIFO entries */ kgsl_regwrite(device, <API key>, 0x003C0000); kgsl_regwrite(device, <API key>, 0); } } /* * a5xx_enable_pc() - Enable the GPMU based power collapse of the SPTP and RAC * blocks * @adreno_dev: The adreno device pointer */ static void a5xx_enable_pc(struct adreno_device *adreno_dev) { struct kgsl_device *device = &adreno_dev->dev; if (!ADRENO_FEATURE(adreno_dev, ADRENO_SPTP_PC) || !test_bit(ADRENO_SPTP_PC_CTRL, &adreno_dev->pwrctrl_flag)) return; kgsl_regwrite(device, <API key>, 0x0000007F); kgsl_regwrite(device, <API key>, 0); kgsl_regwrite(device, <API key>, 0x000A0080); kgsl_regwrite(device, <API key>, 0x00600040); trace_adreno_sp_tp((unsigned long) <API key>(0)); }; /* * The maximum payload of a type4 packet is the max size minus one for the * opcode */ #define TYPE4_MAX_PAYLOAD (<API key> - 1) static int <API key>(struct adreno_device *adreno_dev, uint32_t *ucode, uint32_t size) { uint32_t *start, *cmds; uint32_t offset = 0; uint32_t cmds_size = size; /* Add a dword for each PM4 packet */ cmds_size += (size / TYPE4_MAX_PAYLOAD) + 1; /* Add 4 dwords for the protected mode */ cmds_size += 4; if (adreno_dev->gpmu_cmds != NULL) return 0; adreno_dev->gpmu_cmds = kmalloc(cmds_size << 2, GFP_KERNEL); if (adreno_dev->gpmu_cmds == NULL) return -ENOMEM; cmds = adreno_dev->gpmu_cmds; start = cmds; /* Turn CP protection OFF */ *cmds++ = cp_type7_packet(<API key>, 1); *cmds++ = 0; /* * Prebuild the cmd stream to send to the GPU to load * the GPMU firmware */ while (size > 0) { int tmp_size = size; if (size >= TYPE4_MAX_PAYLOAD) tmp_size = TYPE4_MAX_PAYLOAD; *cmds++ = cp_type4_packet( <API key> + offset, tmp_size); memcpy(cmds, &ucode[offset], tmp_size << 2); cmds += tmp_size; offset += tmp_size; size -= tmp_size; } /* Turn CP protection ON */ *cmds++ = cp_type7_packet(<API key>, 1); *cmds++ = 1; adreno_dev->gpmu_cmds_size = (size_t) (cmds - start); return 0; } static int _gpmu_verify_header(struct adreno_device *adreno_dev, uint32_t *header, uint32_t fw_size) { unsigned int i; const struct adreno_gpu_core *gpucore = adreno_dev->gpucore; unsigned int gpmu_major_offset = 0, gpmu_minor_offset = 0; unsigned int gpmu_major, gpmu_minor; uint32_t header_size; header_size = header[0]; /* * The minimum firmware binary size is eight dwords, one for each of * the following fields: GPMU header block length, header block ID, * major tag, major vlaue, minor tag, minor value, ucode block length, * and ucode block ID. */ if (fw_size < 8) { KGSL_CORE_ERR("GPMU firmware size is less than 8 dwords, actual size %d\n", fw_size); return -EIO; } /* * The minimum firmware header size is five dwords, one for each of * the following fields: GPMU header block ID, major tag, major value, * minor tag, minor value. */ if (header_size < 5) { KGSL_CORE_ERR("GPMU firmware header size is less than 5 dwords, actual size %d\n", header_size); return -EIO; } if (header_size >= fw_size) { KGSL_CORE_ERR("GPMU firmware header size (%d) is larger than firmware size (%d)\n", header_size, fw_size); return -EIO; } if (header[1] != GPMU_HEADER_ID) { KGSL_CORE_ERR("GPMU firmware header ID mis-match: expected 0x%X, actual 0x%X\n", GPMU_HEADER_ID, header[1]); return -EIO; } if ((header_size - 1) % 2 != 0) { KGSL_CORE_ERR("GPMU firmware header contains incompete (tag, value) pair\n"); return -EIO; } for (i = 2; i < header_size; i += 2) { switch (header[i]) { case HEADER_MAJOR: gpmu_major_offset = i; gpmu_major = header[i + 1]; break; case HEADER_MINOR: gpmu_minor_offset = i; gpmu_minor = header[i + 1]; break; case HEADER_DATE: case HEADER_TIME: break; default: KGSL_CORE_ERR("GPMU unknown header ID %d\n", header[i]); break; } } if (gpmu_major_offset == 0) { KGSL_CORE_ERR("GPMU major version number is missing\n"); return -EIO; } if (gpmu_minor_offset == 0) { KGSL_CORE_ERR("GPMU minor version number is missing\n"); return -EIO; } /* * A value of 0 for both the Major and Minor version fields indicates * the code is un-versioned, and should be allowed to pass all * versioning checks. */ if ((gpmu_major != 0) || (gpmu_minor != 0)) { if (gpucore->gpmu_major != gpmu_major) { KGSL_CORE_ERR( "GPMU major version mis-match: expected %d, actual %d\n", gpucore->gpmu_major, gpmu_major); return -EIO; } /* * Driver should be compatible for firmware with * smaller minor version number. */ if (gpucore->gpmu_minor < gpmu_minor) { KGSL_CORE_ERR( "GPMU minor version mis-match: expected %d, actual %d\n", gpucore->gpmu_minor, gpmu_minor); return -EIO; } } return 0; } static int _gpmu_verify_ucode(struct adreno_device *adreno_dev, uint32_t *data, uint32_t fw_size) { uint32_t header_size = data[0]; uint32_t *block = &data[header_size + 1]; uint32_t block_size = block[0]; uint32_t block_id = block[1]; if (block_size == 0) { KGSL_CORE_ERR("GPMU firmware block size is zero\n"); return -EIO; } /* * Deduct one (block length field) from the firmware block size to * get the microcode size. */ block_size -= 1; if (block_size > GPMU_INST_RAM_SIZE) { KGSL_CORE_ERR( "GPMU firmware block size is larger than RAM size\n"); return -EIO; } /* * The actual microcode size is fw_size - header_size - 2, with * the two block length dword fields deducted. */ if (block_size > fw_size - header_size - 2) { KGSL_CORE_ERR("GPMU firmware microcode size (%d) larger than actual (%d)\n", block_size, fw_size - header_size - 2); return -EIO; } if (block_id != GPMU_FIRMWARE_ID) { KGSL_CORE_ERR("GPMU firmware id not mis-match: expected 0x%X, actual 0x%X\n", GPMU_FIRMWARE_ID, block_id); return -EIO; } return 0; } /* * _load_gpmu_firmware() - Load the ucode into the GPMU RAM * @adreno_dev: Pointer to adreno device * GPMU firmare format (one dword per field): * Header block length (length dword field not inclusive) * Header block ID * Header Field 1 tag * Header Field 1 data * Header Field 2 tag * Header Field 2 data (two tag/data pairs minimum for major and minor) * . . . * Header Field M tag * Header Field M data * Microcode block length (length dword field not inclusive) * Microcode block ID * Microcode data Dword 1 * Microcode data Dword 2 * . . . * Microcode data Dword N */ static int _load_gpmu_firmware(struct adreno_device *adreno_dev) { uint32_t *data, *header; const struct firmware *fw = NULL; struct kgsl_device *device = &adreno_dev->dev; const struct adreno_gpu_core *gpucore = adreno_dev->gpucore; uint32_t fw_size, header_size; uint32_t *cmds, cmd_size; int ret = -EINVAL; if (!ADRENO_FEATURE(adreno_dev, ADRENO_GPMU)) return 0; /* gpmu fw already saved and verified so do nothing new */ if (adreno_dev->gpmu_cmds_size != 0) return 0; if (gpucore->gpmufw_name == NULL) return 0; ret = request_firmware(&fw, gpucore->gpmufw_name, device->dev); if (ret || fw == NULL) { KGSL_CORE_ERR("request_firmware (%s) failed: %d\n", gpucore->gpmufw_name, ret); return ret; } data = (uint32_t *)fw->data; fw_size = fw->size / sizeof(uint32_t); if (data[0] == 9) { /* Legacy file header */ /* Read header block and verify versioning first */ ret = _gpmu_verify_header(adreno_dev, data, fw_size); if (ret) goto err; /* Now verify the block data */ ret = _gpmu_verify_ucode(adreno_dev, data, fw_size); if (ret) goto err; header = &data[0]; header_size = header[0]; cmds = data + header_size + 1 + 2; cmd_size = data[header_size + 1] - 1; } else { /* New file header */ if (data[0] >= fw_size || data[0] < 2) goto err; if (data[1] != GPMU_FIRMWARE_ID) goto err; ret = <API key>(&data[2], GPMU_FIRMWARE_ID, adreno_dev->gpucore->gpmu_major, adreno_dev->gpucore->gpmu_minor); if (ret) goto err; cmds = data + data[2] + 3; cmd_size = data[0] - data[2] - 2; } if (cmd_size > GPMU_INST_RAM_SIZE) { KGSL_CORE_ERR( "GPMU firmware block size is larger than RAM size\n"); goto err; } /* Everything is cool, so create some commands */ ret = <API key>(adreno_dev, cmds, cmd_size); err: if (fw) release_firmware(fw); return ret; } static int <API key>(struct adreno_device *adreno_dev) { struct adreno_ringbuffer *rb = adreno_dev->cur_rb; uint32_t *cmds; uint32_t size = adreno_dev->gpmu_cmds_size; if (size == 0 || adreno_dev->gpmu_cmds == NULL) return -EINVAL; cmds = <API key>(rb, size); if (IS_ERR(cmds)) return PTR_ERR(cmds); if (cmds == NULL) return -ENOSPC; /* Copy to the RB the predefined fw sequence cmds */ memcpy(cmds, adreno_dev->gpmu_cmds, size << 2); <API key>(rb, NULL); return adreno_spin_idle(&adreno_dev->dev); } /* * a5xx_gpmu_start() - Initialize and start the GPMU * @adreno_dev: Pointer to adreno device * * Load the GPMU microcode, set up any features such as hardware clock gating * or IFPC, and take the GPMU out of reset. */ static int a5xx_gpmu_start(struct adreno_device *adreno_dev) { int ret; unsigned int reg, retry = GPMU_FW_INIT_RETRY; struct kgsl_device *device = &adreno_dev->dev; if (!ADRENO_FEATURE(adreno_dev, ADRENO_GPMU)) return 0; ret = <API key>(adreno_dev); if (ret) { KGSL_CORE_ERR("Failed to program the GPMU: %d\n", ret); return ret; } /* GPMU clock gating setup */ kgsl_regwrite(device, <API key>, 0x00004014); /* Kick off GPMU firmware */ kgsl_regwrite(device, <API key>, 0); /* * The hardware team's estimation of GPMU firmware initialization * latency is about 3000 cycles, that's about 5 to 24 usec. */ do { udelay(1); kgsl_regread(device, A5XX_GPMU_GENERAL_0, &reg); } while ((reg != 0xBABEFACE) && retry if (reg != 0xBABEFACE) { KGSL_CORE_ERR("GPMU firmware initialization timed out\n"); ret = -ETIMEDOUT; } else { set_bit(<API key>, &adreno_dev->priv); /* * We are in AWARE state and IRQ line from GPU to host is * disabled. * Read pending GPMU interrupts and clear GPMU_RBBM_INTR_INFO. */ kgsl_regread(device, <API key>, &reg); /* * Clear RBBM interrupt mask if any of GPMU interrupts * are pending. */ if (reg) kgsl_regwrite(device, <API key>, 1 << <API key>); } return ret; } struct kgsl_hwcg_reg { unsigned int off; unsigned int val; }; static const struct kgsl_hwcg_reg a50x_hwcg_regs[] = { {<API key>, 0x02222222}, {<API key>, 0x02222220}, {<API key>, 0x0000F3CF}, {<API key>, 0x00000080}, {<API key>, 0x22222222}, {<API key>, 0x22222222}, {<API key>, 0x00002222}, {<API key>, 0x77777777}, {<API key>, 0x77777777}, {<API key>, 0x00007777}, {<API key>, 0x11111111}, {<API key>, 0x11111111}, {<API key>, 0x00001111}, {<API key>, 0x22222222}, {<API key>, 0x00444444}, {<API key>, 0x00000002}, {<API key>, 0x22222222}, {<API key>, 0x00222222}, {<API key>, 0x00022220}, {<API key>, 0x05522222}, {<API key>, 0x00505555}, {<API key>, 0x04040404}, {<API key>, 0x07444044}, {<API key>, 0x00000002}, {<API key>, 0x00010011}, {<API key>, 0x04222222}, {<API key>, 0x02222222}, {<API key>, 0x00002222}, {<API key>, 0x00000000}, {<API key>, 0x04104004}, {<API key>, 0x00000000}, {<API key>, 0x00000000}, {<API key>, 0x00004000}, {<API key>, 0x00000200}, {<API key>, 0x00002222} }; static const struct kgsl_hwcg_reg a510_hwcg_regs[] = { {<API key>, 0x02222222}, {<API key>, 0x02222222}, {<API key>, 0x02222220}, {<API key>, 0x02222220}, {<API key>, 0x0000F3CF}, {<API key>, 0x0000F3CF}, {<API key>, 0x00000080}, {<API key>, 0x00000080}, {<API key>, 0x22222222}, {<API key>, 0x22222222}, {<API key>, 0x22222222}, {<API key>, 0x22222222}, {<API key>, 0x00002222}, {<API key>, 0x00002222}, {<API key>, 0x77777777}, {<API key>, 0x77777777}, {<API key>, 0x77777777}, {<API key>, 0x77777777}, {<API key>, 0x00007777}, {<API key>, 0x00007777}, {<API key>, 0x11111111}, {<API key>, 0x11111111}, {<API key>, 0x11111111}, {<API key>, 0x11111111}, {<API key>, 0x00001111}, {<API key>, 0x00001111}, {<API key>, 0x22222222}, {<API key>, 0x22222222}, {<API key>, 0x22222222}, {<API key>, 0x00222222}, {<API key>, 0x00444444}, {<API key>, 0x00000002}, {<API key>, 0x22222222}, {<API key>, 0x22222222}, {<API key>, 0x00222222}, {<API key>, 0x00222222}, {<API key>, 0x00022220}, {<API key>, 0x00022220}, {<API key>, 0x05522222}, {<API key>, 0x00505555}, {<API key>, 0x04040404}, {<API key>, 0x04040404}, {<API key>, 0x07444044}, {<API key>, 0x00000002}, {<API key>, 0x00000002}, {<API key>, 0x00010011}, {<API key>, 0x04222222}, {<API key>, 0x02222222}, {<API key>, 0x00002222}, {<API key>, 0x00000000}, {<API key>, 0x04104004}, {<API key>, 0x00000000}, {<API key>, 0x00000000}, {<API key>, 0x00004000}, {<API key>, 0x00000200}, {<API key>, 0x00002222} }; static const struct kgsl_hwcg_reg a530_hwcg_regs[] = { {<API key>, 0x02222222}, {<API key>, 0x02222222}, {<API key>, 0x02222222}, {<API key>, 0x02222222}, {<API key>, 0x02222220}, {<API key>, 0x02222220}, {<API key>, 0x02222220}, {<API key>, 0x02222220}, {<API key>, 0x0000F3CF}, {<API key>, 0x0000F3CF}, {<API key>, 0x0000F3CF}, {<API key>, 0x0000F3CF}, {<API key>, 0x00000080}, {<API key>, 0x00000080}, {<API key>, 0x00000080}, {<API key>, 0x00000080}, {<API key>, 0x22222222}, {<API key>, 0x22222222}, {<API key>, 0x22222222}, {<API key>, 0x22222222}, {<API key>, 0x22222222}, {<API key>, 0x22222222}, {<API key>, 0x22222222}, {<API key>, 0x22222222}, {<API key>, 0x00002222}, {<API key>, 0x00002222}, {<API key>, 0x00002222}, {<API key>, 0x00002222}, {<API key>, 0x77777777}, {<API key>, 0x77777777}, {<API key>, 0x77777777}, {<API key>, 0x77777777}, {<API key>, 0x77777777}, {<API key>, 0x77777777}, {<API key>, 0x77777777}, {<API key>, 0x77777777}, {<API key>, 0x00007777}, {<API key>, 0x00007777}, {<API key>, 0x00007777}, {<API key>, 0x00007777}, {<API key>, 0x11111111}, {<API key>, 0x11111111}, {<API key>, 0x11111111}, {<API key>, 0x11111111}, {<API key>, 0x11111111}, {<API key>, 0x11111111}, {<API key>, 0x11111111}, {<API key>, 0x11111111}, {<API key>, 0x00001111}, {<API key>, 0x00001111}, {<API key>, 0x00001111}, {<API key>, 0x00001111}, {<API key>, 0x22222222}, {<API key>, 0x22222222}, {<API key>, 0x22222222}, {<API key>, 0x00222222}, {<API key>, 0x00444444}, {<API key>, 0x00000002}, {<API key>, 0x22222222}, {<API key>, 0x22222222}, {<API key>, 0x22222222}, {<API key>, 0x22222222}, {<API key>, 0x00222222}, {<API key>, 0x00222222}, {<API key>, 0x00222222}, {<API key>, 0x00222222}, {<API key>, 0x00022220}, {<API key>, 0x00022220}, {<API key>, 0x00022220}, {<API key>, 0x00022220}, {<API key>, 0x05522222}, {<API key>, 0x00505555}, {<API key>, 0x04040404}, {<API key>, 0x04040404}, {<API key>, 0x04040404}, {<API key>, 0x04040404}, {<API key>, 0x07444044}, {<API key>, 0x00000002}, {<API key>, 0x00000002}, {<API key>, 0x00000002}, {<API key>, 0x00000002}, {<API key>, 0x00010011}, {<API key>, 0x04222222}, {<API key>, 0x02222222}, {<API key>, 0x00002222}, {<API key>, 0x00000000}, {<API key>, 0x04104004}, {<API key>, 0x00000000}, {<API key>, 0x00000000}, {<API key>, 0x00004000}, {<API key>, 0x00000200}, {<API key>, 0x00002222} }; static const struct { int (*devfunc)(struct adreno_device *adreno_dev); const struct kgsl_hwcg_reg *regs; unsigned int count; } a5xx_hwcg_registers[] = { { adreno_is_a530v3, a530_hwcg_regs, ARRAY_SIZE(a530_hwcg_regs) }, { adreno_is_a530v2, a530_hwcg_regs, ARRAY_SIZE(a530_hwcg_regs) }, { adreno_is_a510, a510_hwcg_regs, ARRAY_SIZE(a510_hwcg_regs) }, { adreno_is_a505, a50x_hwcg_regs, ARRAY_SIZE(a50x_hwcg_regs) }, { adreno_is_a506, a50x_hwcg_regs, ARRAY_SIZE(a50x_hwcg_regs) }, }; static void a5xx_hwcg_init(struct adreno_device *adreno_dev) { struct kgsl_device *device = &adreno_dev->dev; const struct kgsl_hwcg_reg *regs; int i, j; for (i = 0; i < ARRAY_SIZE(a5xx_hwcg_registers); i++) { if (a5xx_hwcg_registers[i].devfunc(adreno_dev)) break; } if (i == ARRAY_SIZE(a5xx_hwcg_registers)) return; regs = a5xx_hwcg_registers[i].regs; for (j = 0; j < a5xx_hwcg_registers[i].count; j++) kgsl_regwrite(device, regs[j].off, regs[j].val); /* enable top level HWCG */ kgsl_regwrite(device, <API key>, 0xAAA8AA00); kgsl_regwrite(device, A5XX_RBBM_ISDB_CNT, 0x00000182); } static int <API key>(uint32_t *header, uint32_t id, uint32_t major, uint32_t minor) { uint32_t header_size; int i = 1; if (header == NULL) return -ENOMEM; header_size = header[0]; /* Headers have limited size and always occur as pairs of words */ if (header_size > MAX_HEADER_SIZE || header_size % 2) return -EINVAL; /* Sequences must have an identifying id first thing in their header */ if (id == GPMU_SEQUENCE_ID) { if (header[i] != HEADER_SEQUENCE || (header[i + 1] >= MAX_SEQUENCE_ID)) return -EINVAL; i += 2; } for (; i < header_size; i += 2) { switch (header[i]) { /* Major Version */ case HEADER_MAJOR: if ((major > header[i + 1]) && header[i + 1]) { KGSL_CORE_ERR( "GPMU major version mis-match %d, %d\n", major, header[i + 1]); return -EINVAL; } break; case HEADER_MINOR: if (minor > header[i + 1]) KGSL_CORE_ERR( "GPMU minor version mis-match %d %d\n", minor, header[i + 1]); break; case HEADER_DATE: case HEADER_TIME: break; default: KGSL_CORE_ERR("GPMU unknown header ID %d\n", header[i]); } } return 0; } /* * Read in the register sequence file and save pointers to the * necessary sequences. * * GPU sequence file format (one dword per field unless noted): * Block 1 length (length dword field not inclusive) * Block 1 type = Sequence = 3 * Block Header length (length dword field not inclusive) * BH field ID = Sequence field ID * BH field data = Sequence ID * BH field ID * BH field data * ... * Opcode 0 ID * Opcode 0 data M words * Opcode 1 ID * Opcode 1 data N words * ... * Opcode X ID * Opcode X data O words * Block 2 length... */ static void _load_regfile(struct adreno_device *adreno_dev) { struct kgsl_device *device = &adreno_dev->dev; const struct firmware *fw; uint32_t block_size = 0, block_total = 0, fw_size; uint32_t *block; int ret = -EINVAL; if (!adreno_dev->gpucore->regfw_name) return; ret = request_firmware(&fw, adreno_dev->gpucore->regfw_name, device->dev); if (ret) { KGSL_PWR_ERR(device, "request firmware failed %d, %s\n", ret, adreno_dev->gpucore->regfw_name); return; } fw_size = fw->size / sizeof(uint32_t); /* Min valid file of size 6, see file description */ if (fw_size < 6) goto err; block = (uint32_t *)fw->data; /* All offset numbers calculated from file description */ while (block_total < fw_size) { block_size = block[0]; if (block_size >= fw_size || block_size < 2) goto err; if (block[1] != GPMU_SEQUENCE_ID) goto err; /* For now ignore blocks other than the LM sequence */ if (block[4] == LM_SEQUENCE_ID) { ret = <API key>(&block[2], GPMU_SEQUENCE_ID, adreno_dev->gpucore->lm_major, adreno_dev->gpucore->lm_minor); if (ret) goto err; adreno_dev->lm_fw = fw; adreno_dev->lm_sequence = block + block[2] + 3; adreno_dev->lm_size = block_size - block[2] - 2; } block_total += (block_size + 1); block += (block_size + 1); } if (adreno_dev->lm_sequence) return; err: release_firmware(fw); KGSL_PWR_ERR(device, "Register file failed to load sz=%d bsz=%d header=%d\n", fw_size, block_size, ret); return; } static int <API key>(struct adreno_device *adreno_dev, uint32_t *opcode, uint32_t length) { struct kgsl_device *device = &adreno_dev->dev; uint32_t *cur = opcode; uint64_t reg, val; /* todo double check the reg writes */ while ((cur - opcode) < length) { switch (cur[0]) { /* Write a 32 bit value to a 64 bit reg */ case 1: reg = cur[2]; reg = (reg << 32) | cur[1]; kgsl_regwrite(device, reg, cur[3]); cur += 4; break; /* Write a 64 bit value to a 64 bit reg */ case 2: reg = cur[2]; reg = (reg << 32) | cur[1]; val = cur[4]; val = (val << 32) | cur[3]; kgsl_regwrite(device, reg, val); cur += 5; break; /* Delay for X usec */ case 3: udelay(cur[1]); cur += 2; break; default: return -EINVAL; } } return 0; } static void <API key>(struct adreno_device *adreno_dev, unsigned int addr, uint32_t *length) { struct kgsl_device *device = &adreno_dev->dev; struct kgsl_pwrctrl *pwr = &device->pwrctrl; int i; struct dev_pm_opp *opp; int levels = pwr->num_pwrlevels - 1; unsigned int mvolt = 0; kgsl_regwrite(device, addr, adreno_dev->gpucore->max_power); kgsl_regwrite(device, addr + 1, levels); /* Write voltage in mV and frequency in MHz */ for (i = 0; i < levels; i++) { opp = <API key>(&device->pdev->dev, pwr->pwrlevels[i].gpu_freq, true); /* _opp_get returns uV, convert to mV */ if (!IS_ERR(opp)) mvolt = <API key>(opp) / 1000; kgsl_regwrite(device, addr + 2 + i * 2, mvolt); kgsl_regwrite(device, addr + 3 + i * 2, pwr->pwrlevels[i].gpu_freq / 1000000); } *length = levels * 2 + 2; } static uint32_t lm_limit(struct adreno_device *adreno_dev) { struct kgsl_device *device = &adreno_dev->dev; if (adreno_dev->lm_limit) return adreno_dev->lm_limit; if (<API key>(device->pdev->dev.of_node, "qcom,lm-limit", &adreno_dev->lm_limit)) adreno_dev->lm_limit = LM_DEFAULT_LIMIT; return adreno_dev->lm_limit; } /* * a5xx_lm_init() - Initialize LM/DPM on the GPMU * @adreno_dev: The adreno device pointer */ static void a5xx_lm_init(struct adreno_device *adreno_dev) { uint32_t length; struct kgsl_device *device = &adreno_dev->dev; if (!ADRENO_FEATURE(adreno_dev, ADRENO_LM) || !test_bit(ADRENO_LM_CTRL, &adreno_dev->pwrctrl_flag)) return; /* If something was wrong with the sequence file, return */ if (adreno_dev->lm_sequence == NULL) return; /* Write LM registers including DPM ucode, coefficients, and config */ if (<API key>(adreno_dev, adreno_dev->lm_sequence, adreno_dev->lm_size)) { /* If the sequence is invalid, it's not getting better */ adreno_dev->lm_sequence = NULL; KGSL_PWR_WARN(device, "Invalid LM sequence\n"); return; } kgsl_regwrite(device, <API key>, adreno_dev->gpucore->gpmu_tsens); kgsl_regwrite(device, <API key>, 0x1); kgsl_regwrite(device, <API key>, 0x1); kgsl_regwrite(device, <API key>, (0x80000000 | device->pwrctrl.active_pwrlevel)); /* use the leakage to set this value at runtime */ kgsl_regwrite(device, <API key>, adreno_dev->lm_leakage); /* Enable the power threshold and set it to 6000m */ kgsl_regwrite(device, <API key>, 0x80000000 | lm_limit(adreno_dev)); kgsl_regwrite(device, <API key>, 0x10001FFF); kgsl_regwrite(device, A5XX_GDPM_CONFIG1, 0x00201FF1); /* Send an initial message to the GPMU with the LM voltage table */ kgsl_regwrite(device, AGC_MSG_STATE, 0x1); kgsl_regwrite(device, AGC_MSG_COMMAND, <API key>); <API key>(adreno_dev, AGC_MSG_PAYLOAD, &length); length *= sizeof(uint32_t); kgsl_regwrite(device, <API key>, length); kgsl_regwrite(device, AGC_INIT_MSG_MAGIC, AGC_INIT_MSG_VALUE); } /* * a5xx_lm_enable() - Enable the LM/DPM feature on the GPMU * @adreno_dev: The adreno device pointer */ static void a5xx_lm_enable(struct adreno_device *adreno_dev) { uint32_t val; struct kgsl_device *device = &adreno_dev->dev; if (!ADRENO_FEATURE(adreno_dev, ADRENO_LM) || !test_bit(ADRENO_LM_CTRL, &adreno_dev->pwrctrl_flag)) return; /* If no sequence properly initialized, return */ if (adreno_dev->lm_sequence == NULL) return; kgsl_regwrite(device, A5XX_GDPM_INT_MASK, 0x00000000); kgsl_regwrite(device, A5XX_GDPM_INT_EN, 0x0000000A); kgsl_regwrite(device, <API key>, 0x00000001); kgsl_regwrite(device, <API key>, 0x00050000); kgsl_regwrite(device, <API key>, 0x00030000); if (adreno_is_a530v2(adreno_dev)) val = 0x00060011; /* v3 value */ else val = 0x00000011; kgsl_regwrite(device, <API key>, val); } static int gpmu_set_level(struct kgsl_device *device, unsigned int val) { unsigned int reg; int retry = 20; kgsl_regwrite(device, <API key>, val); do { kgsl_regread(device, <API key>, &reg); } while ((reg & 0x80000000) && retry return (reg & 0x80000000) ? -ETIMEDOUT : 0; } /* * <API key>() - Program the hardware during power level * transitions * @adreno_dev: The adreno device pointer * @prelevel: The previous power level * @postlevel: The new power level * @post: True if called after the clock change has taken effect */ static void <API key>(struct adreno_device *adreno_dev, unsigned int prelevel, unsigned int postlevel, bool post) { struct kgsl_device *device = &adreno_dev->dev; static int pre; int on = 0; /* Only call through if PPD or LM is supported and enabled */ if (ADRENO_FEATURE(adreno_dev, ADRENO_PPD) && test_bit(ADRENO_PPD_CTRL, &adreno_dev->pwrctrl_flag)) on = ADRENO_PPD; if (ADRENO_FEATURE(adreno_dev, ADRENO_LM) && test_bit(ADRENO_LM_CTRL, &adreno_dev->pwrctrl_flag)) on = ADRENO_LM; if (!on) return; /* if this is a real pre, or a post without a previous pre, set pre */ if ((post == 0) || (pre == 0 && post == 1)) pre = 1; else if (post == 1) pre = 0; if (pre) { if (gpmu_set_level(device, (0x80000010 | postlevel))) KGSL_CORE_ERR( "GPMU pre powerlevel did not stabilize\n"); } if (post) { if (gpmu_set_level(device, (0x80000000 | postlevel))) KGSL_CORE_ERR( "GPMU post powerlevel did not stabilize\n"); pre = 0; } } static void a5xx_enable_64bit(struct adreno_device *adreno_dev) { struct kgsl_device *device = &adreno_dev->dev; kgsl_regwrite(device, <API key>, 0x1); kgsl_regwrite(device, <API key>, 0x1); kgsl_regwrite(device, <API key>, 0x1); kgsl_regwrite(device, <API key>, 0x1); kgsl_regwrite(device, <API key>, 0x1); kgsl_regwrite(device, <API key>, 0x1); kgsl_regwrite(device, <API key>, 0x1); kgsl_regwrite(device, <API key>, 0x1); kgsl_regwrite(device, <API key>, 0x1); kgsl_regwrite(device, <API key>, 0x1); kgsl_regwrite(device, <API key>, 0x1); kgsl_regwrite(device, <API key>, 0x1); } /* * a5xx_gpmu_reset() - Re-enable GPMU based power features and restart GPMU * @work: Pointer to the work struct for gpmu reset * * Load the GPMU microcode, set up any features such as hardware clock gating * or IFPC, and take the GPMU out of reset. */ static void a5xx_gpmu_reset(struct work_struct *work) { struct adreno_device *adreno_dev = container_of(work, struct adreno_device, gpmu_work); struct kgsl_device *device = &adreno_dev->dev; if (test_bit(<API key>, &adreno_dev->priv)) return; /* * If GPMU has already experienced a restart or is in the process of it * after the watchdog timeout, then there is no need to reset GPMU * again. */ if (device->state != KGSL_STATE_NAP && device->state != KGSL_STATE_AWARE && device->state != KGSL_STATE_ACTIVE) return; mutex_lock(&device->mutex); if (device->state == KGSL_STATE_NAP) <API key>(device, KGSL_STATE_AWARE); if (<API key>(adreno_dev)) goto out; /* Soft reset of the GPMU block */ kgsl_regwrite(device, <API key>, BIT(16)); a5xx_lm_init(adreno_dev); a5xx_enable_pc(adreno_dev); a5xx_gpmu_start(adreno_dev); a5xx_lm_enable(adreno_dev); out: mutex_unlock(&device->mutex); } /* * <API key>() - Initialize CP Crash Dumper. Allocate memory * for capturescript and for register dump * @adreno_dev: Pointer to adreno device */ static void <API key>(struct adreno_device *adreno_dev) { <API key>(&adreno_dev->dev, &adreno_dev->capturescript, PAGE_SIZE, <API key>, 0); <API key>(&adreno_dev->dev, &adreno_dev->snapshot_registers, a5xx_num_registers() * 4, 0 , 0); adreno_dev-><API key> = true; } /* * a5xx_start() - Device start * @adreno_dev: Pointer to adreno device * * a5xx device start */ static void a5xx_start(struct adreno_device *adreno_dev) { struct kgsl_device *device = &adreno_dev->dev; struct kgsl_iommu *iommu = device->mmu.priv; struct adreno_gpudev *gpudev = ADRENO_GPU_DEVICE(adreno_dev); unsigned int i; struct adreno_ringbuffer *rb; uint64_t def_ttbr0; uint32_t contextidr; adreno_vbif_start(adreno_dev, a5xx_vbif_platforms, ARRAY_SIZE(a5xx_vbif_platforms)); /* Make all blocks contribute to the GPU BUSY perf counter */ kgsl_regwrite(device, <API key>, 0xFFFFFFFF); /* * Enable the RBBM error reporting bits. This lets us get * useful information on failure */ kgsl_regwrite(device, A5XX_RBBM_AHB_CNTL0, 0x00000001); /* * Turn on hang detection for a530 v2 and beyond. This spews a * lot of useful information into the RBBM registers on a hang. */ if (!adreno_is_a530v1(adreno_dev)) { /* * We have 4 RB units, and only RB0 activity signals are working * correctly. Mask out RB1-3 activity signals from the HW hang * detection logic as per recommendation of hardware team. */ kgsl_regwrite(device, <API key>, 0xF0000000); kgsl_regwrite(device, <API key>, 0xFFFFFFFF); kgsl_regwrite(device, <API key>, 0xFFFFFFFF); kgsl_regwrite(device, <API key>, 0xFFFFFFFF); kgsl_regwrite(device, <API key>, 0xFFFFFFFF); kgsl_regwrite(device, <API key>, 0xFFFFFFFF); kgsl_regwrite(device, <API key>, 0xFFFFFFFF); kgsl_regwrite(device, <API key>, 0xFFFFFFFF); set_bit(<API key>, &adreno_dev->priv); gpudev->irq->mask |= (1 << <API key>); /* * Set hang detection threshold to 1 million cycles * (0xFFFF*16) */ kgsl_regwrite(device, <API key>, (1 << 30) | 0xFFFF); } /* Turn on performance counters */ kgsl_regwrite(device, <API key>, 0x01); /* * This is to increase performance by restricting VFD's cache access, * so that LRZ and other data get evicted less. */ kgsl_regwrite(device, <API key>, 0x02); /* * Set <API key> to the UCHE_TRAP_BASE effectively * disabling L2 bypass */ kgsl_regwrite(device, <API key>, 0xffff0000); kgsl_regwrite(device, <API key>, 0x0001ffff); kgsl_regwrite(device, <API key>, 0xffff0000); kgsl_regwrite(device, <API key>, 0x0001ffff); /* Program the GMEM VA range for the UCHE path */ kgsl_regwrite(device, <API key>, <API key>); kgsl_regwrite(device, <API key>, 0x0); kgsl_regwrite(device, <API key>, <API key> + adreno_dev->gmem_size - 1); kgsl_regwrite(device, <API key>, 0x0); /* * Below CP registers are 0x0 by default, program init * values based on a5xx flavor. */ if (<API key>(adreno_dev)) { kgsl_regwrite(device, <API key>, 0x20); kgsl_regwrite(device, A5XX_CP_MERCIU_SIZE, 0x400); kgsl_regwrite(device, <API key>, 0x40000030); kgsl_regwrite(device, <API key>, 0x20100D0A); } else if (adreno_is_a510(adreno_dev)) { kgsl_regwrite(device, <API key>, 0x20); kgsl_regwrite(device, A5XX_CP_MERCIU_SIZE, 0x20); kgsl_regwrite(device, <API key>, 0x40000030); kgsl_regwrite(device, <API key>, 0x20100D0A); } else { kgsl_regwrite(device, <API key>, 0x40); kgsl_regwrite(device, A5XX_CP_MERCIU_SIZE, 0x40); kgsl_regwrite(device, <API key>, 0x80000060); kgsl_regwrite(device, <API key>, 0x40201B16); } /* * vtxFifo and primFifo thresholds default values * are different. */ if (<API key>(adreno_dev)) kgsl_regwrite(device, <API key>, (0x100 << 11 | 0x100 << 22)); else if (adreno_is_a510(adreno_dev)) kgsl_regwrite(device, <API key>, (0x200 << 11 | 0x200 << 22)); else kgsl_regwrite(device, <API key>, (0x400 << 11 | 0x300 << 22)); /* * A5x USP LDST non valid pixel wrongly update read combine offset * In A5xx we added optimization for read combine. There could be cases * on a530 v1 there is no valid pixel but the active masks is not * cleared and the offset can be wrongly updated if the invalid address * can be combined. The wrongly latched value will make the returning * data got shifted at wrong offset. workaround this issue by disabling * LD combine, bit[25] of SP_DBG_ECO_CNTL (sp chicken bit[17]) need to * be set to 1, default is 0(enable) */ if (adreno_is_a530v1(adreno_dev)) kgsl_regrmw(device, <API key>, 0, (1 << 25)); if (ADRENO_QUIRK(adreno_dev, <API key>)) { /* * Set TWOPASSUSEWFI in <API key> for * microcodes after v77 */ if ((<API key>(adreno_dev, 0x5FF077) >= 0)) kgsl_regrmw(device, <API key>, 0, (1 << 8)); } /* Set the USE_RETENTION_FLOPS chicken bit */ kgsl_regwrite(device, A5XX_CP_CHICKEN_DBG, 0x02000000); /* Enable ISDB mode if requested */ if (test_bit(<API key>, &adreno_dev->priv)) { if (!<API key>(device)) { /* * Disable ME/PFP split timeouts when the debugger is * enabled because the CP doesn't know when a shader is * in active debug */ kgsl_regwrite(device, A5XX_RBBM_AHB_CNTL1, 0x06FFFFFF); /* Force the SP0/SP1 clocks on to enable ISDB */ kgsl_regwrite(device, <API key>, 0x0); kgsl_regwrite(device, <API key>, 0x0); kgsl_regwrite(device, <API key>, 0x0); kgsl_regwrite(device, <API key>, 0x0); kgsl_regwrite(device, <API key>, 0x0); kgsl_regwrite(device, <API key>, 0x0); kgsl_regwrite(device, <API key>, 0x0); kgsl_regwrite(device, <API key>, 0x0); /* disable HWCG */ kgsl_regwrite(device, <API key>, 0x0); kgsl_regwrite(device, A5XX_RBBM_ISDB_CNT, 0x0); } else KGSL_CORE_ERR( "Active count failed while turning on ISDB."); } else { /* if not in ISDB mode enable ME/PFP split notification */ kgsl_regwrite(device, A5XX_RBBM_AHB_CNTL1, 0xA6FFFFFF); /* enable HWCG */ a5xx_hwcg_init(adreno_dev); } kgsl_regwrite(device, A5XX_RBBM_AHB_CNTL2, 0x0000003F); if (<API key>(adreno_dev)) { struct kgsl_pagetable *pt = device->mmu.defaultpagetable; def_ttbr0 = <API key>(pt); contextidr = <API key>(pt); /* Initialize the context switch record here */ <API key>(device, &iommu->smmu_info, PREEMPT_SMMU_RECORD(magic), <API key>); <API key>(device, &iommu->smmu_info, PREEMPT_SMMU_RECORD(ttbr0), def_ttbr0); /* * The CP doesn't actually use the asid field, so * put a bad value into it until it is removed from * the preemption record. */ <API key>(device, &iommu->smmu_info, PREEMPT_SMMU_RECORD(asid), 0xdecafbad); <API key>(device, &iommu->smmu_info, PREEMPT_SMMU_RECORD(context_idr), contextidr); adreno_writereg64(adreno_dev, <API key>, <API key>, iommu->smmu_info.gpuaddr); FOR_EACH_RINGBUFFER(adreno_dev, rb, i) { <API key>(rb->device, &rb->preemption_desc, PREEMPT_RECORD(rptr), 0); <API key>(rb->device, &rb->preemption_desc, PREEMPT_RECORD(wptr), 0); <API key>(rb->device, &rb->pagetable_desc, offsetof(struct <API key>, ttbr0), def_ttbr0); } } a5xx_protect_init(adreno_dev); } static int _preemption_init( struct adreno_device *adreno_dev, struct adreno_ringbuffer *rb, unsigned int *cmds, struct kgsl_context *context) { unsigned int *cmds_orig = cmds; uint64_t gpuaddr = rb->preemption_desc.gpuaddr; uint64_t gpuaddr_token = rb->device->memstore.gpuaddr + <API key>(0, preempted); /* Turn CP protection OFF */ *cmds++ = cp_type7_packet(<API key>, 1); *cmds++ = 0; /* * CP during context switch will save context switch info to * <API key> pointed by <API key> */ *cmds++ = cp_type4_packet(<API key>, 1); *cmds++ = lower_32_bits(gpuaddr); *cmds++ = cp_type4_packet(<API key>, 1); *cmds++ = upper_32_bits(gpuaddr); /* Turn CP protection ON */ *cmds++ = cp_type7_packet(<API key>, 1); *cmds++ = 1; *cmds++ = cp_type7_packet(<API key>, 1); *cmds++ = 0; *cmds++ = cp_type7_packet(<API key>, 1); *cmds++ = 1; /* Enable yield in RB only */ *cmds++ = cp_type7_packet(CP_YIELD_ENABLE, 1); *cmds++ = 1; *cmds++ = cp_type7_packet(<API key>, 4); cmds += cp_gpuaddr(adreno_dev, cmds, gpuaddr_token); *cmds++ = 1; /* generate interrupt on preemption completion */ *cmds++ = 1; return cmds - cmds_orig; } static void a5xx_post_start(struct adreno_device *adreno_dev) { unsigned int *cmds, *start; int status = 0; struct kgsl_device *device = &(adreno_dev->dev); struct adreno_ringbuffer *rb = adreno_dev->cur_rb; cmds = <API key>(rb, 42); if (IS_ERR_OR_NULL(cmds)) return; start = cmds; /* * Send a pipeline stat event whenever the GPU gets powered up * to cause misbehaving perf counters to start ticking */ if (adreno_is_a530(adreno_dev)) { *cmds++ = cp_packet(adreno_dev, CP_EVENT_WRITE, 1); *cmds++ = 0xF; } if (<API key>(adreno_dev)) cmds += _preemption_init(adreno_dev, rb, cmds, NULL); rb->wptr = rb->wptr - (42 - (cmds - start)); if (cmds == start) return; <API key>(rb, NULL); /* idle device to validate hw INIT */ status = adreno_spin_idle(device); if (status) { KGSL_DRV_ERR(rb->device, "hw initialization failed to idle\n"); <API key>(device, NULL); } } /* * a5xx_hw_init() - Initialize GPU HW using PM4 cmds * @adreno_dev: Pointer to adreno device * * Submit PM4 commands for HW initialization, */ static int a5xx_hw_init(struct adreno_device *adreno_dev) { int ret; /* Set up LM before initializing the GPMU */ a5xx_lm_init(adreno_dev); /* Enable SPTP based power collapse before enabling GPMU */ a5xx_enable_pc(adreno_dev); /* Program the GPMU */ ret = a5xx_gpmu_start(adreno_dev); if (ret) return ret; /* Enable limits management */ a5xx_lm_enable(adreno_dev); a5xx_post_start(adreno_dev); return 0; } /* * a5xx_rb_init() - Initialize ringbuffer * @adreno_dev: Pointer to adreno device * @rb: Pointer to the ringbuffer of device * * Submit commands for ME initialization, */ static int a5xx_rb_init(struct adreno_device *adreno_dev, struct adreno_ringbuffer *rb) { unsigned int *cmds; cmds = <API key>(rb, 8); if (IS_ERR(cmds)) return PTR_ERR(cmds); if (cmds == NULL) return -ENOSPC; *cmds++ = cp_type7_packet(CP_ME_INIT, 7); /* * Mask -- look for all ordinals but drawcall * range and reset ucode scratch memory. */ *cmds++ = 0x0000000f; /* Multiple HW ctxs are unreliable on a530v1, use single hw context */ if (adreno_is_a530v1(adreno_dev)) *cmds++ = 0x00000000; else /* Use both contexts for 3D (bit0) 2D (bit1) */ *cmds++ = 0x00000003; /* Enable register protection */ *cmds++ = 0x20000000; /* Header dump address */ *cmds++ = 0x00000000; /* Header dump enable and dump size */ *cmds++ = 0x00000000; /* Below will be ignored by the CP unless bit4 in Mask is set */ *cmds++ = 0x00000000; *cmds++ = 0x00000000; <API key>(rb, NULL); return 0; } int <API key>(struct adreno_device *adreno_dev, struct adreno_ringbuffer *rb) { unsigned int *cmds; cmds = <API key>(rb, 2); if (IS_ERR(cmds)) return PTR_ERR(cmds); if (cmds == NULL) return -ENOSPC; cmds += cp_secure_mode(adreno_dev, cmds, 0); <API key>(rb, NULL); return 0; } static int _load_firmware(struct adreno_device *adreno_dev, const char *fwfile, struct kgsl_memdesc *ucode, size_t *ucode_size, unsigned int *ucode_version) { struct kgsl_device *device = &adreno_dev->dev; const struct firmware *fw = NULL; int ret; ret = request_firmware(&fw, fwfile, device->dev); if (ret) { KGSL_DRV_ERR(device, "request_firmware(%s) failed: %d\n", fwfile, ret); return ret; } ret = <API key>(device, ucode, fw->size - 4, <API key>, 0); if (ret) goto done; memcpy(ucode->hostptr, &fw->data[4], fw->size - 4); *ucode_size = (fw->size - 4) / sizeof(uint32_t); *ucode_version = *(unsigned int *)&fw->data[4]; done: release_firmware(fw); return ret; } /* * a5xx_microcode_read() - Read microcode * @adreno_dev: Pointer to adreno device */ static int a5xx_microcode_read(struct adreno_device *adreno_dev) { int ret; ret = _load_firmware(adreno_dev, adreno_dev->gpucore->pm4fw_name, &adreno_dev->pm4, &adreno_dev->pm4_fw_size, &adreno_dev->pm4_fw_version); if (ret) return ret; ret = _load_firmware(adreno_dev, adreno_dev->gpucore->pfpfw_name, &adreno_dev->pfp, &adreno_dev->pfp_fw_size, &adreno_dev->pfp_fw_version); if (ret) return ret; ret = _load_gpmu_firmware(adreno_dev); if (ret) return ret; _load_regfile(adreno_dev); return ret; } /* * a5xx_microcode_load() - Load microcode * @adreno_dev: Pointer to adreno device * @start_type: type of device start cold/warm */ static int a5xx_microcode_load(struct adreno_device *adreno_dev, unsigned int start_type) { void *ptr; struct kgsl_device *device = &adreno_dev->dev; uint64_t gpuaddr; gpuaddr = adreno_dev->pm4.gpuaddr; kgsl_regwrite(device, <API key>, lower_32_bits(gpuaddr)); kgsl_regwrite(device, <API key>, upper_32_bits(gpuaddr)); gpuaddr = adreno_dev->pfp.gpuaddr; kgsl_regwrite(device, <API key>, lower_32_bits(gpuaddr)); kgsl_regwrite(device, <API key>, upper_32_bits(gpuaddr)); /* * Resume call to write the zap shader base address into the * appropriate register */ if (zap_ucode_loaded) { int ret; struct scm_desc desc = {0}; desc.args[0] = 0; desc.args[1] = 13; desc.arginfo = SCM_ARGS(2); ret = scm_call2(SCM_SIP_FNID(SCM_SVC_BOOT, 0xA), &desc); if (ret) { pr_err("SCM resume call failed with error %d\n", ret); return ret; } } /* Load the zap shader firmware through PIL if its available */ if (adreno_dev->gpucore->zap_name && !zap_ucode_loaded) { ptr = subsystem_get(adreno_dev->gpucore->zap_name); /* Return error if the zap shader cannot be loaded */ if (IS_ERR_OR_NULL(ptr)) return (ptr == NULL) ? -ENODEV : PTR_ERR(ptr); zap_ucode_loaded = 1; } return 0; } static struct <API key> <API key>[] = { { <API key>, 0, 0, <API key>, <API key>, 0, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 1, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 2, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 3, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 4, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 5, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 6, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 7, <API key> }, }; /* * Note that PERFCTR_RBBM_0 is missing - it is used to emulate the PWR counters. * See below. */ static struct <API key> <API key>[] = { { <API key>, 0, 0, <API key>, <API key>, 9, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 10, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 11, <API key> }, }; static struct <API key> <API key>[] = { { <API key>, 0, 0, <API key>, <API key>, 12, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 13, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 14, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 15, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 16, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 17, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 18, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 19, <API key> }, }; static struct <API key> <API key>[] = { { <API key>, 0, 0, <API key>, <API key>, 20, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 21, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 22, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 23, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 24, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 25, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 26, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 27, <API key> }, }; static struct <API key> <API key>[] = { { <API key>, 0, 0, <API key>, <API key>, 28, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 29, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 30, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 31, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 32, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 33, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 34, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 35, <API key> }, }; static struct <API key> <API key>[] = { { <API key>, 0, 0, <API key>, <API key>, 36, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 37, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 38, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 39, <API key> }, }; static struct <API key> <API key>[] = { { <API key>, 0, 0, <API key>, <API key>, 40, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 41, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 42, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 43, <API key> }, }; static struct <API key> <API key>[] = { { <API key>, 0, 0, <API key>, <API key>, 44, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 45, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 46, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 47, <API key> }, }; static struct <API key> <API key>[] = { { <API key>, 0, 0, <API key>, <API key>, 48, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 49, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 50, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 51, <API key> }, }; static struct <API key> <API key>[] = { { <API key>, 0, 0, <API key>, <API key>, 52, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 53, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 54, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 55, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 56, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 57, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 58, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 59, <API key> }, }; static struct <API key> <API key>[] = { { <API key>, 0, 0, <API key>, <API key>, 60, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 61, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 62, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 63, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 64, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 65, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 66, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 67, <API key> }, }; static struct <API key> <API key>[] = { { <API key>, 0, 0, <API key>, <API key>, 68, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 69, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 70, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 71, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 72, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 73, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 74, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 75, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 76, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 77, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 78, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 79, <API key> }, }; static struct <API key> <API key>[] = { { <API key>, 0, 0, <API key>, <API key>, 80, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 81, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 82, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 83, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 84, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 85, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 86, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 87, <API key> }, }; static struct <API key> <API key>[] = { { <API key>, 0, 0, <API key>, <API key>, 88, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 89, <API key> }, }; static struct <API key> <API key>[] = { { <API key>, 0, 0, <API key>, <API key>, 90, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 91, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 92, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 93, <API key> }, }; static struct <API key> <API key>[] = { { <API key>, 0, 0, <API key>, <API key>, 94, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 95, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 96, <API key> }, { <API key>, 0, 0, <API key>, <API key>, 97, <API key> }, }; static struct <API key> <API key>[] = { { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, }; static struct <API key> <API key>[] = { { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, }; static struct <API key> <API key>[] = { { <API key>, 0, 0, <API key>, <API key>, -1 }, }; /* * 5XX targets don't really have physical PERFCTR_PWR registers - we emulate * them using similar performance counters from the RBBM block. The difference * betweeen using this group and the RBBM group is that the RBBM counters are * reloaded after a power collapse which is not how the PWR counters behaved on * legacy hardware. In order to limit the disruption on the rest of the system * we go out of our way to ensure backwards compatability. Since RBBM counters * are in short supply, we don't emulate PWR:0 which nobody uses - mark it as * broken. */ static struct <API key> <API key>[] = { { <API key>, 0, 0, 0, 0, -1, 0 }, { <API key>, 0, 0, <API key>, <API key>, -1, 0}, }; static struct <API key> a5xx_pwrcounters_sp[] = { { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, }; static struct <API key> a5xx_pwrcounters_tp[] = { { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, }; static struct <API key> a5xx_pwrcounters_rb[] = { { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, }; static struct <API key> <API key>[] = { { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, }; static struct <API key> <API key>[] = { { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, }; static struct <API key> a5xx_pwrcounters_cp[] = { { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, }; static struct <API key> <API key>[] = { { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, { <API key>, 0, 0, <API key>, <API key>, -1, <API key> }, }; static struct <API key> <API key>[] = { { <API key>, 0, 0, <API key>, <API key>, -1 }, }; #define <API key>(offset, name) \ <API key>(a5xx, offset, name) #define <API key>(offset, name, flags) \ <API key>(a5xx, offset, name, flags) #define <API key>(offset, name) \ <API key>(a5xx, offset, name) static struct <API key> <API key> [<API key>] = { <API key>(CP, cp), <API key>(RBBM, rbbm), <API key>(PC, pc), <API key>(VFD, vfd), <API key>(HLSQ, hlsq), <API key>(VPC, vpc), <API key>(CCU, ccu), <API key>(CMP, cmp), <API key>(TSE, tse), <API key>(RAS, ras), <API key>(LRZ, lrz), <API key>(UCHE, uche), <API key>(TP, tp), <API key>(SP, sp), <API key>(RB, rb), <API key>(VSC, vsc), <API key>(PWR, pwr, <API key>), <API key>(VBIF, vbif), <API key>(VBIF_PWR, vbif_pwr, <API key>), <API key>(ALWAYSON, alwayson, <API key>), <API key>(SP, sp), <API key>(TP, tp), <API key>(RB, rb), <API key>(CCU, ccu), <API key>(UCHE, uche), <API key>(CP, cp), <API key>(GPMU, gpmu), <API key>(ALWAYSON, alwayson), }; static struct adreno_perfcounters a5xx_perfcounters = { <API key>, ARRAY_SIZE(<API key>), }; static struct <API key> <API key>[] = { {<API key>, <API key>}, {<API key>, <API key>}, {<API key>, <API key>}, {<API key>, <API key>}, }; /* Register offset defines for A5XX, in order of enum adreno_regs */ static unsigned int <API key>[<API key>] = { ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, A5XX_CP_RB_BASE), ADRENO_REG_DEFINE(<API key>, A5XX_CP_RB_BASE_HI), ADRENO_REG_DEFINE(<API key>, A5XX_CP_RB_RPTR), ADRENO_REG_DEFINE(<API key>, A5XX_CP_RB_WPTR), ADRENO_REG_DEFINE(ADRENO_REG_CP_CNTL, A5XX_CP_CNTL), ADRENO_REG_DEFINE(<API key>, A5XX_CP_ME_CNTL), ADRENO_REG_DEFINE(<API key>, A5XX_CP_RB_CNTL), ADRENO_REG_DEFINE(<API key>, A5XX_CP_IB1_BASE), ADRENO_REG_DEFINE(<API key>, A5XX_CP_IB1_BASE_HI), ADRENO_REG_DEFINE(<API key>, A5XX_CP_IB1_BUFSZ), ADRENO_REG_DEFINE(<API key>, A5XX_CP_IB2_BASE), ADRENO_REG_DEFINE(<API key>, A5XX_CP_IB2_BASE_HI), ADRENO_REG_DEFINE(<API key>, A5XX_CP_IB2_BUFSZ), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, ADRENO_REG_SKIP), ADRENO_REG_DEFINE(<API key>, ADRENO_REG_SKIP), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, A5XX_RBBM_STATUS), ADRENO_REG_DEFINE(<API key>, A5XX_RBBM_STATUS3), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), ADRENO_REG_DEFINE(<API key>, <API key>), }; static const struct adreno_reg_offsets a5xx_reg_offsets = { .offsets = <API key>, .offset_0 = <API key>, }; static void <API key>(struct adreno_device *adreno_dev, int bit) { struct kgsl_device *device = &adreno_dev->dev; unsigned int status1, status2; kgsl_regread(device, <API key>, &status1); if (status1 & BIT(<API key>)) { unsigned int val; kgsl_regwrite(device, <API key>, 0); /* * <API key> is indexed, so read it twice to get the * value we want */ kgsl_regread(device, <API key>, &val); kgsl_regread(device, <API key>, &val); <API key>(device, "ringbuffer opcode error | possible opcode=0x%8.8X\n", val); } if (status1 & BIT(<API key>)) <API key>(device, "ringbuffer reserved bit error interrupt\n"); if (status1 & BIT(<API key>)) { kgsl_regread(device, A5XX_CP_HW_FAULT, &status2); <API key>(device, "CP | Ringbuffer HW fault | status=%x\n", status2); } if (status1 & BIT(A5XX_CP_DMA_ERROR)) <API key>(device, "CP | DMA error\n"); if (status1 & BIT(<API key>)) { kgsl_regread(device, <API key>, &status2); <API key>(device, "CP | Protected mode error| %s | addr=%x | status=%x\n", status2 & (1 << 24) ? "WRITE" : "READ", (status2 & 0xFFFFF) >> 2, status2); } if (status1 & BIT(A5XX_CP_AHB_ERROR)) { kgsl_regread(device, A5XX_CP_AHB_FAULT, &status2); <API key>(device, "ringbuffer AHB error interrupt | status=%x\n", status2); } } static void a5xx_err_callback(struct adreno_device *adreno_dev, int bit) { struct kgsl_device *device = &adreno_dev->dev; unsigned int reg; switch (bit) { case <API key>: { kgsl_regread(device, <API key>, &reg); /* * Return the word address of the erroring register so that it * matches the register specification */ KGSL_DRV_CRIT(device, "RBBM | AHB bus error | %s | addr=%x | ports=%x:%x\n", reg & (1 << 28) ? "WRITE" : "READ", (reg & 0xFFFFF) >> 2, (reg >> 20) & 0x3, (reg >> 24) & 0xF); /* Clear the error */ kgsl_regwrite(device, A5XX_RBBM_AHB_CMD, (1 << 4)); return; } case <API key>: <API key>(device, "RBBM: AHB transfer timeout\n"); break; case <API key>: kgsl_regread(device, <API key>, &reg); <API key>(device, "RBBM | ME master split timeout | status=%x\n", reg); break; case <API key>: kgsl_regread(device, <API key>, &reg); <API key>(device, "RBBM | PFP master split timeout | status=%x\n", reg); break; case <API key>: <API key>(device, "RBBM: ME master split timeout\n"); break; case <API key>: <API key>(device, "RBBM: ATB ASYNC overflow\n"); break; case <API key>: <API key>(device, "RBBM: GPC error\n"); break; case <API key>: <API key>(device, "RBBM: ATB bus overflow\n"); break; case <API key>: <API key>(device, "UCHE: Out of bounds access\n"); break; case <API key>: <API key>(device, "UCHE: Trap interrupt\n"); break; case <API key>: <API key>(device, "GPMU: Voltage droop\n"); break; default: <API key>(device, "Unknown interrupt %d\n", bit); } } static void <API key>(struct adreno_device *adreno_dev, int bit) { struct kgsl_device *device = &adreno_dev->dev; unsigned int reg; kgsl_regread(device, <API key>, &reg); if (reg & BIT(31)) { if (test_and_clear_bit(<API key>, &adreno_dev->priv)) { /* Stop GPMU */ kgsl_regwrite(device, <API key>, 1); kgsl_schedule_work(&adreno_dev->gpmu_work); <API key>(device, "GPMU: Watchdog bite\n"); } } else if (!(reg & BIT(1))) <API key>(device, "GPMU: Unknown interrupt 0x%08X\n", reg); } #define A5XX_INT_MASK \ ((1 << <API key>) | \ (1 << <API key>) | \ (1 << <API key>) | \ (1 << <API key>) | \ (1 << <API key>) | \ (1 << <API key>) | \ (1 << <API key>) | \ (1 << <API key>) | \ (1 << A5XX_INT_CP_IB1) | \ (1 << A5XX_INT_CP_IB2) | \ (1 << A5XX_INT_CP_RB) | \ (1 << <API key>) | \ (1 << <API key>) | \ (1 << <API key>) | \ (1 << <API key>) | \ (1 << A5XX_INT_CP_SW) | \ (1 << <API key>) | \ (1 << <API key>)) static struct adreno_irq_funcs a5xx_irq_funcs[] = { ADRENO_IRQ_CALLBACK(NULL), /* 0 - RBBM_GPU_IDLE */ ADRENO_IRQ_CALLBACK(a5xx_err_callback), /* 1 - RBBM_AHB_ERROR */ ADRENO_IRQ_CALLBACK(a5xx_err_callback), /* 2 - <API key> */ /* 3 - <API key> */ ADRENO_IRQ_CALLBACK(a5xx_err_callback), /* 4 - <API key> */ ADRENO_IRQ_CALLBACK(a5xx_err_callback), /* 5 - <API key> */ ADRENO_IRQ_CALLBACK(a5xx_err_callback), /* 6 - <API key> */ ADRENO_IRQ_CALLBACK(a5xx_err_callback), ADRENO_IRQ_CALLBACK(a5xx_err_callback), /* 7 - GPC_ERR */ ADRENO_IRQ_CALLBACK(<API key>),/* 8 - CP_SW */ ADRENO_IRQ_CALLBACK(<API key>), /* 9 - CP_HW_ERROR */ /* 10 - <API key> */ ADRENO_IRQ_CALLBACK(NULL), /* 11 - <API key> */ ADRENO_IRQ_CALLBACK(NULL), /* 12 - CP_CCU_RESOLVE_TS */ ADRENO_IRQ_CALLBACK(NULL), ADRENO_IRQ_CALLBACK(adreno_cp_callback), /* 13 - CP_IB2_INT */ ADRENO_IRQ_CALLBACK(adreno_cp_callback), /* 14 - CP_IB1_INT */ ADRENO_IRQ_CALLBACK(adreno_cp_callback), /* 15 - CP_RB_INT */ /* 16 - CCP_UNUSED_1 */ ADRENO_IRQ_CALLBACK(NULL), ADRENO_IRQ_CALLBACK(NULL), /* 17 - CP_RB_DONE_TS */ ADRENO_IRQ_CALLBACK(NULL), /* 18 - CP_WT_DONE_TS */ ADRENO_IRQ_CALLBACK(NULL), /* 19 - UNKNOWN_1 */ ADRENO_IRQ_CALLBACK(adreno_cp_callback), /* 20 - CP_CACHE_FLUSH_TS */ /* 21 - UNUSED_2 */ ADRENO_IRQ_CALLBACK(NULL), ADRENO_IRQ_CALLBACK(a5xx_err_callback), /* 22 - <API key> */ /* 23 - MISC_HANG_DETECT */ ADRENO_IRQ_CALLBACK(<API key>), ADRENO_IRQ_CALLBACK(a5xx_err_callback), /* 24 - UCHE_OOB_ACCESS */ ADRENO_IRQ_CALLBACK(a5xx_err_callback), /* 25 - UCHE_TRAP_INTR */ ADRENO_IRQ_CALLBACK(NULL), /* 26 - DEBBUS_INTR_0 */ ADRENO_IRQ_CALLBACK(NULL), /* 27 - DEBBUS_INTR_1 */ ADRENO_IRQ_CALLBACK(a5xx_err_callback), /* 28 - GPMU_VOLTAGE_DROOP */ ADRENO_IRQ_CALLBACK(<API key>), /* 29 - GPMU_FIRMWARE */ ADRENO_IRQ_CALLBACK(NULL), /* 30 - ISDB_CPU_IRQ */ ADRENO_IRQ_CALLBACK(NULL), /* 31 - ISDB_UNDER_DEBUG */ }; static struct adreno_irq a5xx_irq = { .funcs = a5xx_irq_funcs, .funcs_count = ARRAY_SIZE(a5xx_irq_funcs), .mask = A5XX_INT_MASK, }; /* * Default size for CP queues for A5xx targets. You must * overwrite these value in platform_setup function for * A5xx derivatives if size differs. */ static struct <API key> a5xx_snap_sizes = { .cp_pfp = 36, .cp_me = 29, .cp_meq = 64, .cp_merciu = 64, .roq = 512, }; static struct <API key> a5xx_snapshot_data = { .sect_sizes = &a5xx_snap_sizes, }; static struct <API key> <API key>[] = { { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, { <API key> }, }; static <API key>(cfg_dbgbus_sel_a, &<API key>[0]); static <API key>(cfg_dbgbus_sel_b, &<API key>[1]); static <API key>(cfg_dbgbus_sel_c, &<API key>[2]); static <API key>(cfg_dbgbus_sel_d, &<API key>[3]); static <API key>(cfg_dbgbus_cntlt, &<API key>[4]); static <API key>(cfg_dbgbus_cntlm, &<API key>[5]); static <API key>(cfg_dbgbus_opl, &<API key>[6]); static <API key>(cfg_dbgbus_ope, &<API key>[7]); static <API key>(cfg_dbgbus_ivtl_0, &<API key>[8]); static <API key>(cfg_dbgbus_ivtl_1, &<API key>[9]); static <API key>(cfg_dbgbus_ivtl_2, &<API key>[10]); static <API key>(cfg_dbgbus_ivtl_3, &<API key>[11]); static <API key>(cfg_dbgbus_maskl_0, &<API key>[12]); static <API key>(cfg_dbgbus_maskl_1, &<API key>[13]); static <API key>(cfg_dbgbus_maskl_2, &<API key>[14]); static <API key>(cfg_dbgbus_maskl_3, &<API key>[15]); static <API key>(cfg_dbgbus_bytel_0, &<API key>[16]); static <API key>(cfg_dbgbus_bytel_1, &<API key>[17]); static <API key>(cfg_dbgbus_ivte_0, &<API key>[18]); static <API key>(cfg_dbgbus_ivte_1, &<API key>[19]); static <API key>(cfg_dbgbus_ivte_2, &<API key>[20]); static <API key>(cfg_dbgbus_ivte_3, &<API key>[21]); static <API key>(cfg_dbgbus_maske_0, &<API key>[22]); static <API key>(cfg_dbgbus_maske_1, &<API key>[23]); static <API key>(cfg_dbgbus_maske_2, &<API key>[24]); static <API key>(cfg_dbgbus_maske_3, &<API key>[25]); static <API key>(cfg_dbgbus_nibblee, &<API key>[26]); static <API key>(cfg_dbgbus_ptrc0, &<API key>[27]); static <API key>(cfg_dbgbus_ptrc1, &<API key>[28]); static <API key>(cfg_dbgbus_loadreg, &<API key>[29]); static <API key>(cfg_dbgbus_idx, &<API key>[30]); static <API key>(cfg_dbgbus_clrc, &<API key>[31]); static <API key>(cfg_dbgbus_loadivt, &<API key>[32]); static <API key>(<API key>, &<API key>[33]); static <API key>(cfg_dbgbus_over, &<API key>[34]); static <API key>(cfg_dbgbus_count0, &<API key>[35]); static <API key>(cfg_dbgbus_count1, &<API key>[36]); static <API key>(cfg_dbgbus_count2, &<API key>[37]); static <API key>(cfg_dbgbus_count3, &<API key>[38]); static <API key>(cfg_dbgbus_count4, &<API key>[39]); static <API key>(cfg_dbgbus_count5, &<API key>[40]); static <API key>(<API key>, &<API key>[41]); static <API key>(<API key>, &<API key>[42]); static <API key>(<API key>, &<API key>[43]); static <API key>(<API key>, &<API key>[44]); static <API key>(<API key>, &<API key>[45]); static <API key>(<API key>, &<API key>[46]); static <API key>(cfg_dbgbus_misr0, &<API key>[47]); static <API key>(cfg_dbgbus_misr1, &<API key>[48]); static <API key>(ahb_dbg_cntl, &<API key>[49]); static <API key>(<API key>, &<API key>[50]); static <API key>(dbg_lo_hi_gpio, &<API key>[51]); static <API key>(ext_trace_bus_cntl, &<API key>[52]); static <API key>(ext_vbif_dbg_cntl, &<API key>[53]); static struct attribute *<API key>[] = { &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, &<API key>.attr.attr, NULL, }; static const struct attribute_group <API key> = { .attrs = <API key>, }; static const struct attribute_group *<API key>[] = { &<API key>, NULL, }; static struct adreno_coresight a5xx_coresight = { .registers = <API key>, .count = ARRAY_SIZE(<API key>), .groups = <API key>, }; /** * <API key>() - Schedule preemption in TRIGGERRED * state * @adreno_dev: Device which is in TRIGGERRED state */ static void <API key>( struct adreno_device *adreno_dev) { struct adreno_dispatcher *dispatcher = &adreno_dev->dispatcher; struct kgsl_device *device = &(adreno_dev->dev); unsigned int preempt_busy; uint64_t rbbase; /* * triggered preemption, check for busy bits, if not set go to complete * bit 0: When high indicates CP is not done with preemption. * bit 4: When high indicates that the CP is actively switching between * application contexts. * Check both the bits to make sure CP is done with preemption. */ adreno_readreg(adreno_dev, <API key>, &preempt_busy); if (!(preempt_busy & 0x11)) { adreno_readreg64(adreno_dev, <API key>, <API key>, &rbbase); /* Did preemption occur, if so then change states and return */ if (rbbase != adreno_dev->cur_rb->buffer_desc.gpuaddr) { if (rbbase == adreno_dev->next_rb->buffer_desc.gpuaddr) { KGSL_DRV_INFO(device, "Preemption completed without interrupt\n"); <API key>( adreno_dev->cur_rb, adreno_dev->next_rb); atomic_set(&dispatcher->preemption_state, <API key>); } else { /* * Something wrong with preemption. * Set fault and reschedule dispatcher to take * care of fault. */ <API key>(adreno_dev, <API key>); } <API key>(device); return; } } /* * Preemption is still happening. * Hardware not yet idle means that preemption interrupt * may still occur, nothing to do here until interrupt signals * completion of preemption, just return here */ if (!adreno_hw_isidle(adreno_dev)) return; /* * We just changed states, reschedule dispatcher to change * preemption states */ if (<API key> != atomic_read(&dispatcher->preemption_state)) { <API key>(device); return; } <API key>(adreno_dev, <API key>); /* reschedule dispatcher to take care of the fault */ <API key>(device); } /** * <API key>() - Schedule preemption in CLEAR * state. Preemption can be issued in this state. * @adreno_dev: Device which is in CLEAR state */ static void <API key>( struct adreno_device *adreno_dev) { struct adreno_dispatcher *dispatcher = &adreno_dev->dispatcher; struct kgsl_device *device = &(adreno_dev->dev); struct adreno_ringbuffer *highest_busy_rb; int switch_low_to_high; int ret; /* Device not awake means there is nothing to do */ if (!kgsl_state_is_awake(device)) return; /* keep updating the current rptr when preemption is clear */ adreno_readreg(adreno_dev, <API key>, &(adreno_dev->cur_rb->rptr)); highest_busy_rb = <API key>(adreno_dev); if (!highest_busy_rb) return; switch_low_to_high = <API key>( highest_busy_rb->id, adreno_dev->cur_rb->id); /* already current then return */ if (!switch_low_to_high) return; if (switch_low_to_high < 0) { if (!adreno_hw_isidle(adreno_dev)) { <API key>(device); return; } /* * if switching to lower priority make sure that the rptr and * wptr are equal, when the lower rb is not starved */ if (adreno_dev->cur_rb->rptr != adreno_dev->cur_rb->wptr) return; /* * switch to default context because when we switch back * to higher context then its not known which pt will * be current, so by making it default here the next * commands submitted will set the right pt */ ret = <API key>(adreno_dev, adreno_dev->cur_rb, NULL, 0); /* * lower priority RB has to wait until space opens up in * higher RB */ if (ret) return; } /* rptr could be updated in drawctxt switch above, update it here */ adreno_readreg(adreno_dev, <API key>, &(adreno_dev->cur_rb->rptr)); /* turn on IOMMU as the preemption may trigger pt switch */ kgsl_mmu_enable_clk(&device->mmu); /* * setup memory to do the switch to highest priority RB * which is not empty or may be starving away(poor thing) */ <API key>(adreno_dev, highest_busy_rb); atomic_set(&dispatcher->preemption_state, <API key>); adreno_dev->next_rb = highest_busy_rb; mod_timer(&dispatcher->preempt_timer, jiffies + msecs_to_jiffies(<API key>)); <API key>(adreno_dev->cur_rb, adreno_dev->next_rb); /* issue PREEMPT trigger */ adreno_writereg(adreno_dev, <API key>, 1); <API key>(device); } /** * <API key>() - Schedule preemption in * COMPLETE state * @adreno_dev: Device which is in COMPLETE state */ static void <API key>( struct adreno_device *adreno_dev) { struct adreno_dispatcher *dispatcher = &adreno_dev->dispatcher; struct kgsl_device *device = &(adreno_dev->dev); struct <API key> *dispatch_q; uint64_t rbbase; unsigned int wptr; unsigned int val; static unsigned long <API key>; del_timer_sync(&dispatcher->preempt_timer); adreno_readreg(adreno_dev, <API key>, &val); if (val) { /* * Wait for 50ms for preemption state to be updated by CP * before triggering hang */ if (<API key> == 0) <API key> = jiffies + msecs_to_jiffies(50); if (time_after(jiffies, <API key>)) { <API key> = 0; KGSL_DRV_ERR(device, "Invalid state after preemption CP_PREEMPT:%08x STOP:%1x BUSY:%1x\n", val, (val & 0x1), (val & 0x10)>>4); <API key>(adreno_dev, <API key>); } <API key>(device); return; } <API key> = 0; adreno_readreg64(adreno_dev, <API key>, <API key>, &rbbase); if (rbbase != adreno_dev->next_rb->buffer_desc.gpuaddr) { KGSL_DRV_ERR(device, "RBBASE incorrect after preemption, expected %016llx got %016llx\b", rbbase, adreno_dev->next_rb->buffer_desc.gpuaddr); <API key>(adreno_dev, <API key>); <API key>(device); return; } <API key>(adreno_dev, adreno_dev->cur_rb); dispatch_q = &(adreno_dev->cur_rb->dispatch_q); /* new RB is the current RB */ <API key>(adreno_dev->next_rb, adreno_dev->cur_rb); adreno_dev->prev_rb = adreno_dev->cur_rb; adreno_dev->cur_rb = adreno_dev->next_rb; adreno_dev->cur_rb->preempted_midway = 0; adreno_dev->cur_rb->wptr_preempt_end = 0xFFFFFFFF; adreno_dev->next_rb = NULL; if (<API key>) { /* starved rb is now scheduled so unhalt dispatcher */ if (<API key> == adreno_dev->cur_rb->starve_timer_state) adreno_put_gpu_halt(adreno_dev); adreno_dev->cur_rb->starve_timer_state = <API key>; adreno_dev->cur_rb->sched_timer = jiffies; /* * If the outgoing RB is has commands then set the * busy time for it */ if (adreno_dev->prev_rb->rptr != adreno_dev->prev_rb->wptr) { adreno_dev->prev_rb->starve_timer_state = <API key>; adreno_dev->prev_rb->sched_timer = jiffies; } else { adreno_dev->prev_rb->starve_timer_state = <API key>; } } <API key>(device, adreno_dev->cur_rb, adreno_dev->cur_rb->timestamp); atomic_set(&dispatcher->preemption_state, <API key>); /* submit wptr if required for new rb */ adreno_readreg(adreno_dev, <API key>, &wptr); if (adreno_dev->cur_rb->wptr != wptr) { kgsl_pwrscale_busy(device); adreno_writereg(adreno_dev, <API key>, adreno_dev->cur_rb->wptr); } <API key>(adreno_dev, dispatch_q); } static void <API key>( struct adreno_device *adreno_dev) { struct adreno_dispatcher *dispatcher = &adreno_dev->dispatcher; struct kgsl_device *device = &(adreno_dev->dev); struct adreno_ringbuffer *rb; int i = 0; if (!<API key>(adreno_dev)) return; mutex_lock(&device->mutex); /* * This barrier is needed for most updated preemption_state * to be read. */ smp_mb(); if (KGSL_STATE_ACTIVE == device->state) FOR_EACH_RINGBUFFER(adreno_dev, rb, i) rb->rptr = adreno_get_rptr(rb); switch (atomic_read(&dispatcher->preemption_state)) { case <API key>: <API key>(adreno_dev); break; case <API key>: <API key>(adreno_dev); /* * if we transitioned to next state then fall-through * processing to next state */ if (!<API key>(adreno_dev, <API key>)) break; case <API key>: <API key>(adreno_dev); break; default: BUG(); } mutex_unlock(&device->mutex); } struct adreno_gpudev adreno_a5xx_gpudev = { .reg_offsets = &a5xx_reg_offsets, .ft_perf_counters = <API key>, .<API key> = ARRAY_SIZE(<API key>), .coresight = &a5xx_coresight, .start = a5xx_start, .snapshot = a5xx_snapshot, .irq = &a5xx_irq, .snapshot_data = &a5xx_snapshot_data, .irq_trace = <API key>, .num_prio_levels = <API key>, .platform_setup = a5xx_platform_setup, .rb_init = a5xx_rb_init, .hw_init = a5xx_hw_init, .<API key> = <API key>, .microcode_read = a5xx_microcode_read, .microcode_load = a5xx_microcode_load, .perfcounters = &a5xx_perfcounters, .<API key> = <API key>, .is_sptp_idle = a5xx_is_sptp_idle, .regulator_enable = <API key>, .regulator_disable = <API key>, .<API key> = <API key>, .<API key> = <API key>, .<API key> = <API key>, .preemption_<API key>, .preemption_init = <API key>, .preemption_schedule = <API key>, .enable_64bit = a5xx_enable_64bit, .<API key> = <API key>, };
#import <UIKit/UIKit.h> #import "XLFormBaseCell.h" #import "XLFormButtonCell.h" #import "XLFormCheckCell.h" #import "XLFormDateCell.h" #import "<API key>.h" #import "<API key>.h" #import "XLFormImageCell.h" #import "<API key>.h" #import "<API key>.h" #import "<API key>.h" #import "XLFormPickerCell.h" #import "XLFormSegmentedCell.h" #import "XLFormSelectorCell.h" #import "XLFormSliderCell.h" #import "<API key>.h" #import "XLFormSwitchCell.h" #import "XLFormTextFieldCell.h" #import "XLFormTextViewCell.h" #import "XLFormOptionsObject.h" #import "<API key>.h" #import "<API key>.h" #import "<API key>.h" #import "XLFormDescriptor.h" #import "<API key>.h" #import "XLFormRowDescriptor.h" #import "<API key>.h" #import "NSArray+XLFormAdditions.h" #import "NSExpression+XLFormAdditions.h" #import "NSObject+XLFormAdditions.h" #import "NSPredicate+XLFormAdditions.h" #import "NSString+XLFormAdditions.h" #import "UIView+XLFormAdditions.h" #import "<API key>.h" #import "<API key>.h" #import "<API key>.h" #import "XLFormTextView.h" #import "<API key>.h" #import "<API key>.h" #import "XLFormValidator.h" #import "<API key>.h" #import "XLForm.h" FOUNDATION_EXPORT double XLFormVersionNumber; FOUNDATION_EXPORT const unsigned char XLFormVersionString[];
static void zputhex(int); static void zsbh32(int,char*,int,int); static void zsda32(char*,int,int); static int zrdat32(char*,int); static int noxrd7(void); static int zrbhd32(char*); static int zrbhdr(char*); static int zrhhdr(char*); static int zgethex(void); static int zgeth1(void); static void garbitch(void); #include "../config.h" #include "../lib/mbselib.h" #include "../lib/nodelist.h" #include "ttyio.h" #include "session.h" #include "zmodem.h" /* Original zm.c timing was in tenths of seconds, but our current ttyio driver does timing in whole seconds. */ static int Rxtimeout = 10; /* Seconds to wait for something */ int Zctlesc; /* Globals used by ZMODEM functions */ int Rxframeind; /* ZBIN ZBIN32, or ZHEX type of frame */ int Rxtype; /* Type of header received */ int Rxhlen; /* Length of header received */ int Rxcount; /* Count of data bytes received */ char Rxhdr[ZMAXHLEN]; /* Received header */ char Txhdr[ZMAXHLEN]; /* Transmitted header */ int Rxpos; /* Received file position */ int Txpos; /* Transmitted file position */ int Txfcs32; /* TRUE means send binary frames with 32 bit FCS */ int Crc32t; /* Controls 32 bit CRC being sent */ /* 1 == CRC32, 2 == CRC32 + RLE */ int Crc32r; /* Indicates/controls 32 bit CRC being received */ /* 0 == CRC16, 1 == CRC32, 2 == CRC32 + RLE */ int Usevhdrs; /* Use variable length headers */ int Znulls; /* Number of nulls to send at beginning of ZDATA hdr */ char Attn[ZATTNLEN+1]; /* Attention string rx sends to tx on err */ char *Altcan; /* Alternate canit string */ char *txbuf=NULL; char *rxbuf=NULL; static int lastsent; /* Last char we sent */ static int Not8bit; /* Seven bits seen on header */ char *frametypes[] = { (char *)"EMPTY", (char *)"Can't be (-15)", (char *)"Can't be (-14)", (char *)"Can't be (-13)", (char *)"Can't be (-12)", (char *)"Can't be (-11)", (char *)"Can't be (-10)", (char *)"Can't be (-9)", (char *)"HANGUP", (char *)"Can't be (-7)", (char *)"Can't be (-6)", (char *)"Can't be (-5)", (char *)"EOFILE", (char *)"Can't be (-3)", (char *)"TIMEOUT", (char *)"ERROR", (char *)"ZRQINIT", (char *)"ZRINIT", (char *)"ZSINIT", (char *)"ZACK", (char *)"ZFILE", (char *)"ZSKIP", (char *)"ZNAK", (char *)"ZABORT", (char *)"ZFIN", (char *)"ZRPOS", (char *)"ZDATA", (char *)"ZEOF", (char *)"ZFERR", (char *)"ZCRC", (char *)"ZCHALLENGE", (char *)"ZCOMPL", (char *)"ZCAN", (char *)"ZFREECNT", (char *)"ZCOMMAND", (char *)"ZSTDERR", (char *)"xxxxx" #define FRTYPES 22 /* Total number of frame types in this array */ /* not including psuedo negative entries */ }; /* * Buffer for outgoing frames. Sending them with single character write()'s * is a waste of processor time and causes severe performance degradation * on TCP and ISDN connections. */ #define FRAME_BUFFER_SIZE 16384 static char *frame_buffer=NULL; static int frame_length = 0; #define BUFFER_CLEAR() do { frame_length=0; } while(0) #define BUFFER_BYTE(c) do { frame_buffer[frame_length++]=(c); } while(0) #define BUFFER_FLUSH() do { PUT(frame_buffer, frame_length); \ frame_length=0; } while(0); void get_frame_buffer(void) { if (frame_buffer == NULL) frame_buffer = malloc(FRAME_BUFFER_SIZE); } void free_frame_buffer(void) { if (frame_buffer) free(frame_buffer); frame_buffer = NULL; } /* * Send ZMODEM binary header hdr of type type */ void zsbhdr(int len, int type, register char *shdr) { register int n; register unsigned short crc; Syslog('z', "zsbhdr: %c %d %s %lx", Usevhdrs?'v':'f', len, frametypes[type+FTOFFSET], rclhdr(shdr)); BUFFER_CLEAR(); if (type == ZDATA) for (n = Znulls; --n >=0; ) BUFFER_BYTE(0); BUFFER_BYTE(ZPAD); BUFFER_BYTE(ZDLE); switch (Crc32t=Txfcs32) { case 2: zsbh32(len, shdr, type, Usevhdrs?ZVBINR32:ZBINR32); BUFFER_FLUSH(); break; case 1: zsbh32(len, shdr, type, Usevhdrs?ZVBIN32:ZBIN32); break; default: if (Usevhdrs) { BUFFER_BYTE(ZVBIN); zsendline(len); } else BUFFER_BYTE(ZBIN); zsendline(type); crc = updcrc16(type, 0); for (n=len; --n >= 0; ++shdr) { zsendline(*shdr); crc = updcrc16((0377& *shdr), crc); } crc = updcrc16(0,updcrc16(0,crc)); zsendline(((int)(crc>>8))); zsendline(crc); } BUFFER_FLUSH(); } /* * Send ZMODEM binary header hdr of type type */ void zsbh32(int len, register char *shdr, int type, int flavour) { register int n; register unsigned int crc; BUFFER_BYTE(flavour); if (Usevhdrs) zsendline(len); zsendline(type); crc = 0xFFFFFFFFL; crc = updcrc32(type, crc); for (n=len; --n >= 0; ++shdr) { crc = updcrc32((0377 & *shdr), crc); zsendline(*shdr); } crc = ~crc; for (n=4; --n >= 0;) { zsendline((int)crc); crc >>= 8; } } /* * Send ZMODEM HEX header hdr of type type */ void zshhdr(int len, int type, register char *shdr) { register int n; register unsigned short crc; Syslog('z', "zshhdr: %c %d %s %ld", Usevhdrs?'v':'f', len, frametypes[type+FTOFFSET], rclhdr(shdr)); BUFFER_CLEAR(); BUFFER_BYTE(ZPAD); BUFFER_BYTE(ZPAD); BUFFER_BYTE(ZDLE); if (Usevhdrs) { BUFFER_BYTE(ZVHEX); zputhex(len); } else BUFFER_BYTE(ZHEX); zputhex(type); Crc32t = 0; crc = updcrc16(type, 0); for (n=len; --n >= 0; ++shdr) { zputhex(*shdr); crc = updcrc16((0377 & *shdr), crc); } crc = updcrc16(0,updcrc16(0,crc)); zputhex(((int)(crc>>8))); zputhex(crc); /* * Make it printable on remote machine */ BUFFER_BYTE(015); BUFFER_BYTE(0212); /* * Uncork the remote in case a fake XOFF has stopped data flow */ if (type != ZFIN && type != ZACK) BUFFER_BYTE(021); BUFFER_FLUSH(); } /* * Send binary array buf of length length, with ending ZDLE sequence frameend */ char *Zendnames[] = {(char *)"ZCRCE",(char *)"ZCRCG",(char *)"ZCRCQ",(char *)"ZCRCW"}; void zsdata(register char *buf, int length, int frameend) { register unsigned short crc; Syslog('z', "zsdata: %d %s", length, Zendnames[(frameend-ZCRCE)&3]); BUFFER_CLEAR(); switch (Crc32t) { case 1: zsda32(buf, length, frameend); break; case 2: zsdar32(buf, length, frameend); break; default: crc = 0; for (;--length >= 0; ++buf) { zsendline(*buf); crc = updcrc16((0377 & *buf), crc); } BUFFER_BYTE(ZDLE); BUFFER_BYTE(frameend); crc = updcrc16(frameend, crc); crc = updcrc16(0,updcrc16(0,crc)); zsendline(((int)(crc>>8))); zsendline(crc); } if (frameend == ZCRCW) BUFFER_BYTE(XON); BUFFER_FLUSH(); } void zsda32(register char *buf, int length, int frameend) { register int c; register unsigned int crc; crc = 0xFFFFFFFFL; for (;--length >= 0; ++buf) { c = *buf & 0377; if (c & 0140) BUFFER_BYTE(lastsent = c); else zsendline(c); crc = updcrc32(c, crc); } BUFFER_BYTE(ZDLE); BUFFER_BYTE(frameend); crc = updcrc32(frameend, crc); crc = ~crc; for (c=4; --c >= 0;) { zsendline((int)crc); crc >>= 8; } } /* * Receive array buf of max length with ending ZDLE sequence * and CRC. Returns the ending character or error code. * NB: On errors may store length+1 bytes! */ int zrdata(register char *buf, int length) { register int c; register unsigned short crc; register char *end; register int d; switch (Crc32r) { case 1: return zrdat32(buf, length); case 2: return zrdatr32(buf, length); } crc = Rxcount = 0; end = buf + length; while (buf <= end) { if ((c = zdlread()) & ~0377) { crcfoo: switch (c) { case GOTCRCE: case GOTCRCG: case GOTCRCQ: case GOTCRCW: crc = updcrc16((((d=c))&0377), crc); if ((c = zdlread()) & ~0377) goto crcfoo; crc = updcrc16(c, crc); if ((c = zdlread()) & ~0377) goto crcfoo; crc = updcrc16(c, crc); if (crc & 0xFFFF) { Syslog('+', "Zmodem zrdata: Bad CRC"); return TERROR; } Rxcount = length - (end - buf); Syslog('z', "zrdata: %d %s", Rxcount, Zendnames[(d-GOTCRCE)&3]); return d; case GOTCAN: Syslog('+', "Zmodem: Sender Canceled"); return ZCAN; case TIMEOUT: Syslog('+', "Zmodem: TIMEOUT receiving data"); return c; case HANGUP: Syslog('+', "Zmodem: Carrier lost while receiving"); return c; default: garbitch(); return c; } } *buf++ = c; crc = updcrc16(c, crc); } Syslog('+', "Zmodem: Data subpacket too long"); return TERROR; } int zrdat32(register char *buf, int length) { register int c; register unsigned int crc; register char *end; register int d; crc = 0xFFFFFFFFL; Rxcount = 0; end = buf + length; while (buf <= end) { if ((c = zdlread()) & ~0377) { crcfoo: switch (c) { case GOTCRCE: case GOTCRCG: case GOTCRCQ: case GOTCRCW: d = c; c &= 0377; crc = updcrc32(c, crc); if ((c = zdlread()) & ~0377) goto crcfoo; crc = updcrc32(c, crc); if ((c = zdlread()) & ~0377) goto crcfoo; crc = updcrc32(c, crc); if ((c = zdlread()) & ~0377) goto crcfoo; crc = updcrc32(c, crc); if ((c = zdlread()) & ~0377) goto crcfoo; crc = updcrc32(c, crc); if (crc != 0xDEBB20E3) { Syslog('+', "Zmodem zrdat32: Bad CRC"); return TERROR; } Rxcount = length - (end - buf); Syslog('z', "zrdat32: %d %s", Rxcount, Zendnames[(d-GOTCRCE)&3]); return d; case GOTCAN: Syslog('+', "Zmodem: Sender Canceled"); return ZCAN; case TIMEOUT: Syslog('+', "Zmodem: TIMEOUT"); return c; case HANGUP: Syslog('+', "Zmodem: Carrier lost while receiving"); return c; default: garbitch(); return c; } } *buf++ = c; crc = updcrc32(c, crc); } Syslog('+', "Zmodem: Data subpacket too long"); return TERROR; } void garbitch(void) { Syslog('+', "Zmodem: Garbled data subpacket"); } /* * Read a ZMODEM header to hdr, either binary or hex. * * Set Rxhlen to size of header (default 4) (valid if good hdr) * On success, set Zmodem to 1, set Rxpos and return type of header. * Otherwise return negative on error. * Return ERROR instantly if ZCRCW sequence, for fast error recovery. */ int zgethdr(char *shdr) { register int c, n, cancount; int Zrwindow = 1400; int Baudrate = 9600; n = Zrwindow + Baudrate; Rxframeind = Rxtype = 0; startover: cancount = 5; again: /* * Return immediate ERROR if ZCRCW sequence seen */ if (((c = GETCHAR(Rxtimeout)) < 0) && (c != TIMEOUT)) goto fifi; else switch(c) { case 021: case 0221: goto again; case HANGUP: case TIMEOUT: goto fifi; case CAN: gotcan: if (--cancount <= 0) { c = ZCAN; goto fifi; } switch (c = GETCHAR(Rxtimeout)) { case TIMEOUT: goto again; case ZCRCW: switch (GETCHAR(Rxtimeout)) { case TIMEOUT: c = TERROR; goto fifi; case HANGUP: goto fifi; default: goto agn2; } case HANGUP: goto fifi; default: break; case CAN: if (--cancount <= 0) { c = ZCAN; goto fifi; } goto again; } default: agn2: #define GCOUNT (-4) if ( --n == 0) { c = GCOUNT; goto fifi; } goto startover; case ZPAD|0200: /* This is what we want. */ Not8bit = c; case ZPAD: /* This is what we want. */ break; } cancount = 5; splat: switch (c = noxrd7()) { case ZPAD: goto splat; case HANGUP: case TIMEOUT: goto fifi; default: goto agn2; case ZDLE: /* This is what we want. */ break; } Rxhlen = 4; /* Set default length */ Rxframeind = c = noxrd7(); switch (c) { case ZVBIN32: if ((Rxhlen = c = zdlread()) < 0) goto fifi; if (c > ZMAXHLEN) goto agn2; Crc32r = 1; c = zrbhd32(shdr); break; case ZBIN32: if (Usevhdrs) goto agn2; Crc32r = 1; c = zrbhd32(shdr); break; case ZVBINR32: if ((Rxhlen = c = zdlread()) < 0) goto fifi; if (c > ZMAXHLEN) goto agn2; Crc32r = 2; c = zrbhd32(shdr); break; case ZBINR32: if (Usevhdrs) goto agn2; Crc32r = 2; c = zrbhd32(shdr); break; case HANGUP: case TIMEOUT: goto fifi; case ZVBIN: if ((Rxhlen = c = zdlread()) < 0) goto fifi; if (c > ZMAXHLEN) goto agn2; Crc32r = 0; c = zrbhdr(shdr); break; case ZBIN: if (Usevhdrs) goto agn2; Crc32r = 0; c = zrbhdr(shdr); break; case ZVHEX: if ((Rxhlen = c = zgethex()) < 0) goto fifi; if (c > ZMAXHLEN) goto agn2; Crc32r = 0; c = zrhhdr(shdr); break; case ZHEX: if (Usevhdrs) goto agn2; Crc32r = 0; c = zrhhdr(shdr); break; case CAN: goto gotcan; default: goto agn2; } for (n = Rxhlen; ++n < ZMAXHLEN; ) /* Clear unused hdr bytes */ shdr[n] = 0; Rxpos = shdr[ZP3] & 0377; Rxpos = (Rxpos<<8) + (shdr[ZP2] & 0377); Rxpos = (Rxpos<<8) + (shdr[ZP1] & 0377); Rxpos = (Rxpos<<8) + (shdr[ZP0] & 0377); fifi: switch (c) { case GOTCAN: c = ZCAN; case ZNAK: case ZCAN: case TERROR: case TIMEOUT: case HANGUP: Syslog('+', "Zmodem: Got %s", frametypes[c+FTOFFSET]); default: if (c >= -FTOFFSET && c <= FRTYPES) Syslog('z', "zgethdr: %c %d %s %ld", Rxframeind, Rxhlen, frametypes[c+FTOFFSET], Rxpos); else Syslog('z', "zgethdr: %c %d %ld", Rxframeind, c, Rxpos); } /* Use variable length headers if we got one */ if (c >= 0 && c <= FRTYPES && Rxframeind & 040) Usevhdrs = 1; return c; } /* * Receive a binary style header (type and position) */ int zrbhdr(register char *shdr) { register int c, n; register unsigned short crc; if ((c = zdlread()) & ~0377) return c; Rxtype = c; crc = updcrc16(c, 0); for (n=Rxhlen; --n >= 0; ++shdr) { if ((c = zdlread()) & ~0377) return c; crc = updcrc16(c, crc); *shdr = c; } if ((c = zdlread()) & ~0377) return c; crc = updcrc16(c, crc); if ((c = zdlread()) & ~0377) return c; crc = updcrc16(c, crc); if (crc & 0xFFFF) { Syslog('+', "Zmodem zrbhdr: Bad CRC"); return TERROR; } return Rxtype; } /* * Receive a binary style header (type and position) with 32 bit FCS */ int zrbhd32(register char *shdr) { register int c, n; register unsigned int crc; if ((c = zdlread()) & ~0377) return c; Rxtype = c; crc = 0xFFFFFFFFL; crc = updcrc32(c, crc); for (n=Rxhlen; --n >= 0; ++shdr) { if ((c = zdlread()) & ~0377) return c; crc = updcrc32(c, crc); *shdr = c; } for (n=4; --n >= 0;) { if ((c = zdlread()) & ~0377) return c; crc = updcrc32(c, crc); } if (crc != 0xDEBB20E3) { Syslog('+', "Zmodem zrbhd32: Bad CRC"); return TERROR; } return Rxtype; } /* * Receive a hex style header (type and position) */ int zrhhdr(char *shdr) { register int c; register unsigned short crc; register int n; if ((c = zgethex()) < 0) return c; Rxtype = c; crc = updcrc16(c, 0); for (n=Rxhlen; --n >= 0; ++shdr) { if ((c = zgethex()) < 0) return c; crc = updcrc16(c, crc); *shdr = c; } if ((c = zgethex()) < 0) return c; crc = updcrc16(c, crc); if ((c = zgethex()) < 0) return c; crc = updcrc16(c, crc); if (crc & 0xFFFF) { Syslog('+', "Zmodem zrhhdr: Bad CRC"); return TERROR; } switch (c = GETCHAR(Rxtimeout)) { case 0215: Not8bit = c; case 015: /* Throw away possible cr/lf */ switch (c = GETCHAR(Rxtimeout)) { case 012: Not8bit |= c; } } if (c < 0) return c; return Rxtype; } /* * Send a byte as two hex digits */ void zputhex(register int c) { static char digits[] = "0123456789abcdef"; BUFFER_BYTE(digits[(c&0xF0)>>4]); BUFFER_BYTE(digits[(c)&0xF]); } /* * Send character c with ZMODEM escape sequence encoding. * Escape XON, XOFF. Escape CR following @ (Telenet net escape) */ void zsendline(int c) { /* Quick check for non control characters */ if (c & 0140) BUFFER_BYTE(lastsent = c); else { switch (c &= 0377) { case ZDLE: BUFFER_BYTE(ZDLE); BUFFER_BYTE (lastsent = (c ^= 0100)); break; case 015: case 0215: if (!Zctlesc && (lastsent & 0177) != '@') goto sendit; case 020: case 021: case 023: case 0220: case 0221: case 0223: BUFFER_BYTE(ZDLE); c ^= 0100; sendit: BUFFER_BYTE(lastsent = c); break; default: if (Zctlesc && ! (c & 0140)) { BUFFER_BYTE(ZDLE); c ^= 0100; } BUFFER_BYTE(lastsent = c); } } } /* Decode two lower case hex digits into an 8 bit byte value */ int zgethex(void) { register int c; c = zgeth1(); return c; } int zgeth1(void) { register int c, n; if ((c = noxrd7()) < 0) return c; n = c - '0'; if (n > 9) n -= ('a' - ':'); if (n & ~0xF) return TERROR; if ((c = noxrd7()) < 0) return c; c -= '0'; if (c > 9) c -= ('a' - ':'); if (c & ~0xF) return TERROR; c += (n<<4); return c; } /* * Read a byte, checking for ZMODEM escape encoding * including CAN*5 which represents a quick abort */ int zdlread(void) { register int c; again: /* Quick check for non control characters */ if ((c = GETCHAR(Rxtimeout)) & 0140) return c; switch (c) { case ZDLE: break; case 023: case 0223: case 021: case 0221: goto again; default: if (Zctlesc && !(c & 0140)) { goto again; } return c; } again2: if ((c = GETCHAR(Rxtimeout)) < 0) return c; if (c == CAN && (c = GETCHAR(Rxtimeout)) < 0) return c; if (c == CAN && (c = GETCHAR(Rxtimeout)) < 0) return c; if (c == CAN && (c = GETCHAR(Rxtimeout)) < 0) return c; switch (c) { case CAN: return GOTCAN; case ZCRCE: case ZCRCG: case ZCRCQ: case ZCRCW: return (c | GOTOR); case ZRUB0: return 0177; case ZRUB1: return 0377; case 023: case 0223: case 021: case 0221: goto again2; default: if (Zctlesc && ! (c & 0140)) { goto again2; } if ((c & 0140) == 0100) return (c ^ 0100); break; } Syslog('+', "Zmodem: Bad escape sequence 0x%x", c); return TERROR; } /* * Read a character from the modem line with timeout. * Eat parity, XON and XOFF characters. */ int noxrd7(void) { register int c; for (;;) { if ((c = GETCHAR(Rxtimeout)) < 0) return c; switch (c &= 0177) { case XON: case XOFF: continue; default: if (Zctlesc && !(c & 0140)) continue; case '\r': case '\n': case ZDLE: return c; } } } /* * Store long integer pos in Txhdr */ void stohdr(int pos) { Txhdr[ZP0] = pos; Txhdr[ZP1] = pos>>8; Txhdr[ZP2] = pos>>16; Txhdr[ZP3] = pos>>24; } /* * Recover a long integer from a header */ int rclhdr(register char *shdr) { register int l; l = (shdr[ZP3] & 0377); l = (l << 8) | (shdr[ZP2] & 0377); l = (l << 8) | (shdr[ZP1] & 0377); l = (l << 8) | (shdr[ZP0] & 0377); return l; } /* End of zmmisc.c */
#ifndef __MAP_H__ #define __MAP_H__ #include "rtmp_type.h" #define ASSOC_REQ_LEN 154 #define BLOCK_LIST_NUM 16 #define VENDOR_SPECIFIC_LEN 128 #define MAX_BH_PROFILE_CNT 4 /* For rssi steering*/ #define RCPI_TOLLENACE 8 /* 2dB */ #define IS_MAP_ENABLE(pAd) \ (pAd->bMAPEnable == TRUE) #define <API key>(pAd) \ ((pAd->bMAPTurnKeyEnable == TRUE) && (pAd->bMAPEnable == TRUE)) typedef enum { BELOW_THRESHOLD = 0, ABOVE_THRESHOLD, } RSSI_STATUS; typedef enum { <API key> = 0, <API key>, <API key>, } STEERING_POLICY; struct GNU_PACKED map_policy_setting { unsigned char steer_policy; unsigned char cu_thr; unsigned char rcpi_thr; }; #define MAX_PROFILE_CNT 4 struct scan_SSID { char ssid[32 + 1]; unsigned char SsidLen; }; struct GNU_PACKED scan_BH_ssids { unsigned long scan_cookie; unsigned char scan_channel_count; unsigned char scan_channel_list[32]; unsigned char profile_cnt; struct scan_SSID scan_SSID_val[MAX_PROFILE_CNT]; }; typedef struct _MAP_CONFIG { /*Support Unassociated STA link metric report on current operating Bss*/ BOOLEAN <API key>; /*Support Unassociated STA link metric report on currently non operating Bss */ BOOLEAN <API key>; /*Support Agent-initiated Rssi-based steering */ BOOLEAN <API key>; UCHAR DevOwnRole; UCHAR vendor_ie_buf[VENDOR_SPECIFIC_LEN]; UCHAR vendor_ie_len; struct scan_BH_ssids scan_bh_ssids; BOOLEAN FireProbe_on_DFS; } MAP_CONFIG, *PMAP_CONFIG; /* spec v171027 */ enum MAPRole { MAP_ROLE_TEARDOWN = 4, <API key> = 5, <API key> = 6, <API key> = 7, }; #define NON_PREF 0 #define PREF_SCORE_1 BIT(4) #define PREF_SCORE_2 BIT(5) #define PREF_SCORE_3 (BIT(4)|BIT(5)) #define PREF_SCORE_4 BIT(6) #define PREF_SCORE_5 (BIT(4)|BIT(6)) #define PREF_SCORE_6 (BIT(5)|BIT(6)) #define PREF_SCORE_7 (BIT(4)|BIT(5)|BIT(6)) #define PREF_SCORE_8 (BIT(7)) #define PREF_SCORE_9 (BIT(4)|BIT(7)) #define PREF_SCORE_10 (BIT(5)|BIT(7)) #define PREF_SCORE_11 (BIT(4)|BIT(5)|BIT(6)) #define PREF_SCORE_12 (BIT(6)|BIT(7)) #define PREF_SCORE_13 (BIT(4)|BIT(6)|BIT(7)) #define PREF_SCORE_14 (BIT(5)|BIT(6)|BIT(7)) #define UNSPECIFICIED 0 #define <API key> BIT(0) #define <API key> BIT(1) #define <API key> (BIT(0)|BIT(1)) #define REDUCED_COVERAGE BIT(2) #define REDUCED_TP (BIT(0)|BIT(2)) #define INDEVICE_INTERFERER (BIT(1)|BIT(2)) #define <API key> (BIT(0)|BIT(1)|BIT(2)) #define <API key> (BIT(3)) #define <API key> (BIT(0)|BIT(3)) #define <API key> (BIT(1)|BIT(3)) extern UCHAR multicast_mac_1905[MAC_ADDR_LEN]; VOID MAP_Init( IN PRTMP_ADAPTER pAd, struct wifi_dev *wdev, IN IN UCHAR wdev_type ); VOID MAP_InsertMapCapIE( IN PRTMP_ADAPTER pAd, IN struct wifi_dev *wdev, OUT PUCHAR pFrameBuf, OUT PULONG pFrameLen ); INT <API key>( IN PRTMP_ADAPTER pAd, IN struct wifi_dev *wdev, OUT PUCHAR pFrameBuf ); BOOLEAN map_check_cap_ie( IN PEID_STRUCT eid, OUT unsigned char *cap ); UCHAR getNonOpChnNum( IN PRTMP_ADAPTER pAd, IN struct wifi_dev *wdev, IN UCHAR op_class ); VOID setNonOpChnList( IN PRTMP_ADAPTER pAd, IN struct wifi_dev *wdev, IN PCHAR nonOpChnList, IN UCHAR op_class, IN UCHAR nonOpChnNum ); INT <API key>( IN PRTMP_ADAPTER adapter, IN struct _MAC_TABLE_ENTRY *mac_entry, IN BOOLEAN is_ap ); VOID <API key>( IN PRTMP_ADAPTER pAd); INT <API key>( PRTMP_ADAPTER pAd, RTMP_STRING *tmpbuf, RTMP_STRING *pBuffer); #ifdef A4_CONN BOOLEAN map_a4_peer_enable( IN PRTMP_ADAPTER adapter, IN struct _MAC_TABLE_ENTRY *entry, IN BOOLEAN is_ap ); BOOLEAN map_a4_peer_disable( IN PRTMP_ADAPTER adapter, IN struct _MAC_TABLE_ENTRY *entry, IN BOOLEAN is_ap ); BOOLEAN map_a4_init( IN PRTMP_ADAPTER adapter, IN UCHAR if_index, IN BOOLEAN is_ap ); BOOLEAN map_a4_deinit( IN PRTMP_ADAPTER adapter, IN UCHAR if_index, IN BOOLEAN is_ap ); #endif /*A4_CONN*/ BOOLEAN <API key>(struct wifi_dev *wdev, unsigned char channel); #endif
/* * This was automagically generated from arch/arm/tools/mach-types! * Do NOT edit */ #ifndef <API key> #define <API key> #ifndef __ASSEMBLY__ /* The type of machine we're running on */ extern unsigned int __machine_arch_type; #endif /* see arch/arm/kernel/arch.c for a description of these */ #define MACH_TYPE_EBSA110 0 #define MACH_TYPE_RISCPC 1 #define MACH_TYPE_NEXUSPCI 3 #define MACH_TYPE_EBSA285 4 #define MACH_TYPE_NETWINDER 5 #define MACH_TYPE_CATS 6 #define MACH_TYPE_TBOX 7 #define MACH_TYPE_CO285 8 #define MACH_TYPE_CLPS7110 9 #define <API key> 10 #define MACH_TYPE_A5K 11 #define MACH_TYPE_ETOILE 12 #define MACH_TYPE_LACIE_NAS 13 #define MACH_TYPE_CLPS7500 14 #define MACH_TYPE_SHARK 15 #define MACH_TYPE_BRUTUS 16 #define <API key> 17 #define MACH_TYPE_ITSY 18 #define MACH_TYPE_L7200 19 #define MACH_TYPE_PLEB 20 #define <API key> 21 #define MACH_TYPE_H3600 22 #define MACH_TYPE_IXP1200 23 #define MACH_TYPE_P720T 24 #define MACH_TYPE_ASSABET 25 #define MACH_TYPE_VICTOR 26 #define MACH_TYPE_LART 27 #define MACH_TYPE_RANGER 28 #define <API key> 29 #define MACH_TYPE_XP860 30 #define MACH_TYPE_CERF 31 #define <API key> 32 #define MACH_TYPE_FPIC 33 #define MACH_TYPE_EXTENEX1 34 #define MACH_TYPE_SHERMAN 35 #define <API key> 36 #define <API key> 37 #define MACH_TYPE_NETPORT 38 #define MACH_TYPE_PANGOLIN 39 #define MACH_TYPE_YOPY 40 #define MACH_TYPE_COOLIDGE 41 #define <API key> 42 #define MACH_TYPE_SPOTME 43 #define MACH_TYPE_FREEBIRD 44 #define MACH_TYPE_TI925 45 #define <API key> 46 #define MACH_TYPE_CAVY 47 #define <API key> 48 #define MACH_TYPE_OMNIMETER 49 #define MACH_TYPE_EDB7211 50 #define MACH_TYPE_CITYGO 51 #define MACH_TYPE_PFS168 52 #define MACH_TYPE_SPOT 53 #define MACH_TYPE_FLEXANET 54 #define MACH_TYPE_WEBPAL 55 #define MACH_TYPE_LINPDA 56 #define MACH_TYPE_ANAKIN 57 #define MACH_TYPE_MVI 58 #define MACH_TYPE_JUPITER 59 #define MACH_TYPE_PSIONW 60 #define MACH_TYPE_ALN 61 #define MACH_TYPE_CAMELOT 62 #define MACH_TYPE_GDS2200 63 #define <API key> 64 #define MACH_TYPE_XFILE 65 #define <API key> 66 #define MACH_TYPE_IC200 67 #define <API key> 68 #define MACH_TYPE_HTM 69 #define MACH_TYPE_IQ80310 70 #define MACH_TYPE_FREEBOT 71 #define MACH_TYPE_ENTEL 72 #define MACH_TYPE_ENP3510 73 #define MACH_TYPE_TRIZEPS 74 #define MACH_TYPE_NESA 75 #define MACH_TYPE_VENUS 76 #define MACH_TYPE_TARDIS 77 #define MACH_TYPE_MERCURY 78 #define MACH_TYPE_EMPEG 79 #define MACH_TYPE_I80200FCC 80 #define MACH_TYPE_ITT_CPB 81 #define MACH_TYPE_SVC 82 #define MACH_TYPE_ALPHA2 84 #define MACH_TYPE_ALPHA1 85 #define MACH_TYPE_NETARM 86 #define MACH_TYPE_SIMPAD 87 #define MACH_TYPE_PDA1 88 #define MACH_TYPE_LUBBOCK 89 #define MACH_TYPE_ANIKO 90 #define MACH_TYPE_CLEP7212 91 #define MACH_TYPE_CS89712 92 #define MACH_TYPE_WEARARM 93 #define MACH_TYPE_POSSIO_PX 94 #define MACH_TYPE_SIDEARM 95 #define MACH_TYPE_STORK 96 #define MACH_TYPE_SHANNON 97 #define MACH_TYPE_ACE 98 #define MACH_TYPE_BALLYARM 99 #define MACH_TYPE_SIMPUTER 100 #define MACH_TYPE_NEXTERM 101 #define <API key> 102 #define MACH_TYPE_GATOR 103 #define MACH_TYPE_GRANITE 104 #define MACH_TYPE_CONSUS 105 #define MACH_TYPE_AAED2000 106 #define MACH_TYPE_CDB89712 107 #define <API key> 108 #define MACH_TYPE_ADSBITSY 109 #define MACH_TYPE_PXA_IDP 110 #define MACH_TYPE_PLCE 111 #define <API key> 112 #define MACH_TYPE_MEDALB 113 #define MACH_TYPE_EAGLE 114 #define MACH_TYPE_DSC21 115 #define MACH_TYPE_DSC24 116 #define MACH_TYPE_TI5472 117 #define MACH_TYPE_AUTCPU12 118 #define MACH_TYPE_UENGINE 119 #define MACH_TYPE_BLUESTEM 120 #define MACH_TYPE_XINGU8 121 #define MACH_TYPE_BUSHSTB 122 #define MACH_TYPE_EPSILON1 123 #define MACH_TYPE_BALLOON 124 #define MACH_TYPE_PUPPY 125 #define MACH_TYPE_ELROY 126 #define MACH_TYPE_GMS720 127 #define MACH_TYPE_S24X 128 #define <API key> 129 #define MACH_TYPE_CX821XX 130 #define MACH_TYPE_EDB7312 131 #define MACH_TYPE_BSA1110 132 #define MACH_TYPE_POWERPIN 133 #define MACH_TYPE_OPENARM 134 #define <API key> 135 #define MACH_TYPE_H3100 136 #define MACH_TYPE_H3800 137 #define MACH_TYPE_BLUE_V1 138 #define MACH_TYPE_PXA_CERF 139 #define MACH_TYPE_ARM7TEVB 140 #define MACH_TYPE_D7400 141 #define MACH_TYPE_PIRANHA 142 #define MACH_TYPE_SBCAMELOT 143 #define MACH_TYPE_KINGS 144 #define MACH_TYPE_SMDK2400 145 #define MACH_TYPE_COLLIE 146 #define MACH_TYPE_IDR 147 #define MACH_TYPE_BADGE4 148 #define MACH_TYPE_WEBNET 149 #define MACH_TYPE_D7300 150 #define MACH_TYPE_CEP 151 #define MACH_TYPE_FORTUNET 152 #define MACH_TYPE_VC547X 153 #define <API key> 154 #define <API key> 155 #define <API key> 156 #define MACH_TYPE_SUNS 157 #define MACH_TYPE_FRODO 158 #define <API key> 159 #define MACH_TYPE_MX1ADS 160 #define MACH_TYPE_H7201 161 #define MACH_TYPE_H7202 162 #define MACH_TYPE_AMICO 163 #define MACH_TYPE_IAM 164 #define MACH_TYPE_TT530 165 #define MACH_TYPE_SAM2400 166 #define <API key> 167 #define MACH_TYPE_ACTIVE 168 #define MACH_TYPE_IQ80321 169 #define MACH_TYPE_WID 170 #define MACH_TYPE_SABINAL 171 #define <API key> 172 #define MACH_TYPE_MINIPRINT 173 #define MACH_TYPE_ADM510X 174 #define MACH_TYPE_SVS200 175 #define MACH_TYPE_ATG_TCU 176 #define <API key> 177 #define MACH_TYPE_S3C44B0 178 #define MACH_TYPE_MARGIS2 179 #define MACH_TYPE_KS8695 180 #define MACH_TYPE_BRH 181 #define MACH_TYPE_S3C2410 182 #define <API key> 183 #define MACH_TYPE_S3C2800 184 #define MACH_TYPE_FLEETWOOD 185 #define MACH_TYPE_OMAHA 186 #define MACH_TYPE_TA7 187 #define MACH_TYPE_NOVA 188 #define MACH_TYPE_HMK 189 #define MACH_TYPE_KARO 190 #define MACH_TYPE_FESTER 191 #define MACH_TYPE_GPI 192 #define MACH_TYPE_SMDK2410 193 #define MACH_TYPE_I519 194 #define MACH_TYPE_NEXIO 195 #define MACH_TYPE_BITBOX 196 #define MACH_TYPE_G200 197 #define MACH_TYPE_GILL 198 #define <API key> 199 #define MACH_TYPE_CEIVA 200 #define MACH_TYPE_FRET 201 #define <API key> 202 #define MACH_TYPE_H3900 203 #define MACH_TYPE_PXA1 204 #define MACH_TYPE_KOAN369 205 #define MACH_TYPE_COGENT 206 #define <API key> 207 #define <API key> 208 #define <API key> 209 #define <API key> 210 #define MACH_TYPE_HE500 211 #define <API key> 212 #define <API key> 213 #define MACH_TYPE_DNP1110 214 #define MACH_TYPE_PNP1110 215 #define MACH_TYPE_CSB226 216 #define MACH_TYPE_ARNOLD 217 #define MACH_TYPE_VOICEBLUE 218 #define MACH_TYPE_JZ8028 219 #define MACH_TYPE_H5400 220 #define MACH_TYPE_FORTE 221 #define MACH_TYPE_ACAM 222 #define MACH_TYPE_ABOX 223 #define MACH_TYPE_ATMEL 224 #define MACH_TYPE_SITSANG 225 #define <API key> 226 #define MACH_TYPE_MPL_VCMA9 227 #define MACH_TYPE_OPUS_A1 228 #define MACH_TYPE_DAYTONA 229 #define MACH_TYPE_KILLBEAR 230 #define MACH_TYPE_YOHO 231 #define MACH_TYPE_JASPER 232 #define MACH_TYPE_DSC25 233 #define <API key> 234 #define MACH_TYPE_RAMSES 235 #define MACH_TYPE_S28X 236 #define MACH_TYPE_MPORT3 237 #define <API key> 238 #define MACH_TYPE_PDB 239 #define MACH_TYPE_BLUE_2G 240 #define MACH_TYPE_BLUEARCH 241 #define MACH_TYPE_IXDP2400 242 #define MACH_TYPE_IXDP2800 243 #define MACH_TYPE_EXPLORER 244 #define MACH_TYPE_IXDP425 245 #define MACH_TYPE_CHIMP 246 #define <API key> 247 #define MACH_TYPE_STORK_EGG 248 #define MACH_TYPE_WISMO 249 #define MACH_TYPE_EZLINX 250 #define <API key> 251 #define <API key> 252 #define MACH_TYPE_NEPTUNE 253 #define MACH_TYPE_HACKKIT 254 #define <API key> 255 #define MACH_TYPE_LAVINNA 256 #define <API key> 257 #define MACH_TYPE_INNOKOM 258 #define MACH_TYPE_BMS 259 #define MACH_TYPE_IXCDP1100 260 #define MACH_TYPE_PRPMC1100 261 #define <API key> 262 #define MACH_TYPE_ARMSTICK 263 #define MACH_TYPE_ARMONIE 264 #define MACH_TYPE_MPORT1 265 #define MACH_TYPE_S3C5410 266 #define MACH_TYPE_ZCP320A 267 #define MACH_TYPE_I_BOX 268 #define MACH_TYPE_STLC1502 269 #define MACH_TYPE_SIREN 270 #define MACH_TYPE_GREENLAKE 271 #define MACH_TYPE_ARGUS 272 #define MACH_TYPE_COMBADGE 273 #define MACH_TYPE_ROKEPXA 274 #define <API key> 275 #define MACH_TYPE_GUIDEA07 276 #define MACH_TYPE_TAT257 277 #define MACH_TYPE_IGP2425 278 #define <API key> 279 #define MACH_TYPE_IPOD 280 #define MACH_TYPE_ADSBITSYX 281 #define MACH_TYPE_TRIZEPS2 282 #define MACH_TYPE_VIPER 283 #define <API key> 284 #define MACH_TYPE_ADSAGC 285 #define MACH_TYPE_STP7312 286 #define MACH_TYPE_NX_PHNX 287 #define MACH_TYPE_WEP_EP250 288 #define <API key> 289 #define <API key> 290 #define MACH_TYPE_IYONIX 291 #define <API key> 292 #define MACH_TYPE_MEG03 293 #define <API key> 294 #define MACH_TYPE_NWSC 295 #define MACH_TYPE_NWLARM 296 #define <API key> 297 #define <API key> 298 #define MACH_TYPE_IXDP2401 299 #define MACH_TYPE_IXDP2801 300 #define MACH_TYPE_ZODIAC 301 #define MACH_TYPE_ARMMODUL 302 #define MACH_TYPE_KETOP 303 #define MACH_TYPE_AV7200 304 #define <API key> 305 #define MACH_TYPE_ACQ200 306 #define MACH_TYPE_PT_DAFIT 307 #define MACH_TYPE_IHBA 308 #define MACH_TYPE_QUINQUE 309 #define MACH_TYPE_NIMBRAONE 310 #define MACH_TYPE_NIMBRA29X 311 #define MACH_TYPE_NIMBRA210 312 #define MACH_TYPE_HHP_D95XX 313 #define MACH_TYPE_LABARM 314 #define MACH_TYPE_M825XX 315 #define MACH_TYPE_M7100 316 #define MACH_TYPE_NIPC2 317 #define MACH_TYPE_FU7202 318 #define MACH_TYPE_ADSAGX 319 #define MACH_TYPE_PXA_POOH 320 #define MACH_TYPE_BANDON 321 #define MACH_TYPE_PCM7210 322 #define MACH_TYPE_NMS9200 323 #define MACH_TYPE_LOGODL 324 #define MACH_TYPE_M7140 325 #define MACH_TYPE_KOREBOT 326 #define MACH_TYPE_IQ31244 327 #define MACH_TYPE_KOAN393 328 #define <API key> 329 #define MACH_TYPE_GONZO 330 #define MACH_TYPE_BAST 331 #define MACH_TYPE_SCANPASS 332 #define <API key> 333 #define MACH_TYPE_TA7S 334 #define MACH_TYPE_TA7V 335 #define MACH_TYPE_ICARUS 336 #define MACH_TYPE_H1900 337 #define MACH_TYPE_GEMINI 338 #define MACH_TYPE_AXIM 339 #define MACH_TYPE_AUDIOTRON 340 #define MACH_TYPE_H2200 341 #define MACH_TYPE_LOOX600 342 #define MACH_TYPE_NIOP 343 #define MACH_TYPE_DM310 344 #define <API key> 345 #define <API key> 346 #define MACH_TYPE_H1940 347 #define MACH_TYPE_SCORPIO 348 #define MACH_TYPE_VIVA 349 #define MACH_TYPE_PXA_XCARD 350 #define MACH_TYPE_CSB335 351 #define MACH_TYPE_IXRD425 352 #define MACH_TYPE_IQ80315 353 #define MACH_TYPE_NMP7312 354 #define MACH_TYPE_CX861XX 355 #define MACH_TYPE_ENP2611 356 #define MACH_TYPE_XDA 357 #define MACH_TYPE_CSIR_IMS 358 #define <API key> 359 #define <API key> 360 #define MACH_TYPE_TOTO 361 #define MACH_TYPE_S3C2440 362 #define MACH_TYPE_KS8695P 363 #define MACH_TYPE_SE4000 364 #define <API key> 365 #define MACH_TYPE_BRONCO 366 #define <API key> 367 #define <API key> 368 #define MACH_TYPE_S5C7375 369 #define MACH_TYPE_SPEARHEAD 370 #define MACH_TYPE_PANTERA 371 #define <API key> 372 #define MACH_TYPE_GUMSTIX 373 #define MACH_TYPE_RCUBE 374 #define MACH_TYPE_REA_OLV 375 #define <API key> 376 #define MACH_TYPE_S3C3410 377 #define <API key> 378 #define MACH_TYPE_MP1X 379 #define <API key> 380 #define MACH_TYPE_ADSVGX 381 #define MACH_TYPE_OMAP_H2 382 #define MACH_TYPE_PELEE 383 #define MACH_TYPE_E740 384 #define MACH_TYPE_IQ80331 385 #define <API key> 387 #define MACH_TYPE_KEV7A400 388 #define MACH_TYPE_LPD7A400 389 #define MACH_TYPE_LPD7A404 390 #define <API key> 391 #define MACH_TYPE_JANUS2M 392 #define MACH_TYPE_EMBTF 393 #define MACH_TYPE_HPM 394 #define <API key> 395 #define <API key> 396 #define <API key> 397 #define MACH_TYPE_EFRAME 398 #define MACH_TYPE_CSB337 399 #define MACH_TYPE_PXA_LARK 400 #define MACH_TYPE_PNP2110 401 #define MACH_TYPE_TCC72X 402 #define MACH_TYPE_ALTAIR 403 #define MACH_TYPE_KC3 404 #define MACH_TYPE_SINTEFTD 405 #define MACH_TYPE_MAINSTONE 406 #define MACH_TYPE_ADAY4X 407 #define MACH_TYPE_LITE300 408 #define MACH_TYPE_S5C7376 409 #define MACH_TYPE_MT02 410 #define MACH_TYPE_MPORT3S 411 #define MACH_TYPE_RA_ALPHA 412 #define MACH_TYPE_XCEP 413 #define <API key> 414 #define MACH_TYPE_STARGATE 415 #define <API key> 416 #define <API key> 417 #define MACH_TYPE_BACKEND 418 #define MACH_TYPE_S5LINBOX 419 #define MACH_TYPE_NOMADIK 420 #define <API key> 421 #define MACH_TYPE_AT91_BJA1 422 #define MACH_TYPE_CORGI 423 #define MACH_TYPE_POODLE 424 #define MACH_TYPE_TEN 425 #define MACH_TYPE_ROVERP5P 426 #define MACH_TYPE_SC2700 427 #define MACH_TYPE_EX_EAGLE 428 #define MACH_TYPE_NX_PXA12 429 #define MACH_TYPE_NX_PXA5 430 #define <API key> 431 #define MACH_TYPE_I819 432 #define MACH_TYPE_IXMB995E 433 #define MACH_TYPE_SKYRIDER 434 #define MACH_TYPE_SKYHAWK 435 #define <API key> 436 #define MACH_TYPE_DEP2410 437 #define MACH_TYPE_ARMCORE 438 #define MACH_TYPE_HOBBIT 439 #define MACH_TYPE_H7210 440 #define <API key> 441 #define MACH_TYPE_ACC 442 #define MACH_TYPE_ESL_SARVA 443 #define MACH_TYPE_XM250 444 #define MACH_TYPE_T6TC1XB 445 #define MACH_TYPE_ESS710 446 #define MACH_TYPE_MX31ADS 447 #define MACH_TYPE_HIMALAYA 448 #define MACH_TYPE_BOLFENK 449 #define <API key> 450 #define MACH_TYPE_EDB9312 451 #define <API key> 452 #define MACH_TYPE_AXIMX3 453 #define MACH_TYPE_EB67XDIP 454 #define MACH_TYPE_WEBTXS 455 #define MACH_TYPE_HAWK 456 #define <API key> 457 #define MACH_TYPE_EXPRESSO 458 #define MACH_TYPE_H4000 459 #define MACH_TYPE_DINO 460 #define MACH_TYPE_ML675K 461 #define MACH_TYPE_EDB9301 462 #define MACH_TYPE_EDB9315 463 #define MACH_TYPE_RECIVA_TT 464 #define MACH_TYPE_CSTCB01 465 #define MACH_TYPE_CSTCB1 466 #define MACH_TYPE_SHADWELL 467 #define MACH_TYPE_GOEPEL263 468 #define MACH_TYPE_ACQ100 469 #define MACH_TYPE_MX1FS2 470 #define MACH_TYPE_HIPTOP_G1 471 #define MACH_TYPE_SPARKY 472 #define MACH_TYPE_NS9750 473 #define MACH_TYPE_PHOENIX 474 #define MACH_TYPE_VR1000 475 #define <API key> 476 #define MACH_TYPE_BCM1160 477 #define MACH_TYPE_PCM022 478 #define MACH_TYPE_ADSGCX 479 #define <API key> 480 #define MACH_TYPE_DM320 481 #define MACH_TYPE_MARKOV 482 #define MACH_TYPE_COS7A400 483 #define MACH_TYPE_MILANO 484 #define MACH_TYPE_UE9328 485 #define MACH_TYPE_UEX255 486 #define MACH_TYPE_UE2410 487 #define MACH_TYPE_A620 488 #define MACH_TYPE_OCELOT 489 #define MACH_TYPE_CHEETAH 490 #define <API key> 491 #define MACH_TYPE_ZVUE 492 #define MACH_TYPE_ROVERP1 493 #define MACH_TYPE_ASIDIAL2 494 #define MACH_TYPE_S3C24A0 495 #define MACH_TYPE_E800 496 #define MACH_TYPE_E750 497 #define MACH_TYPE_S3C5500 498 #define MACH_TYPE_SMDK5500 499 #define <API key> 500 #define MACH_TYPE_NBC 501 #define MACH_TYPE_KODIAK 502 #define <API key> 503 #define MACH_TYPE_HW90200 504 #define MACH_TYPE_CONDOR 505 #define MACH_TYPE_CUP 506 #define MACH_TYPE_KITE 507 #define MACH_TYPE_SCB9328 508 #define MACH_TYPE_OMAP_H3 509 #define MACH_TYPE_OMAP_H4 510 #define MACH_TYPE_N10 511 #define MACH_TYPE_MONTAJADE 512 #define MACH_TYPE_SG560 513 #define MACH_TYPE_DP1000 514 #define MACH_TYPE_OMAP_OSK 515 #define MACH_TYPE_RG100V3 516 #define MACH_TYPE_MX2ADS 517 #define MACH_TYPE_PXA_KILO 518 #define <API key> 519 #define MACH_TYPE_TOSA 520 #define MACH_TYPE_MB2520F 521 #define MACH_TYPE_EMC1000 522 #define MACH_TYPE_TIDSC25 523 #define MACH_TYPE_AKCPMXL 524 #define MACH_TYPE_AV3XX 525 #define MACH_TYPE_AVILA 526 #define MACH_TYPE_PXA_MPM10 527 #define <API key> 528 #define MACH_TYPE_SGOLD 529 #define MACH_TYPE_OSCAR 530 #define MACH_TYPE_EPXA4USB2 531 #define MACH_TYPE_XSENGINE 532 #define MACH_TYPE_IP600 533 #define MACH_TYPE_MCAN2 534 #define <API key> 535 #define MACH_TYPE_SKYMINDER 536 #define MACH_TYPE_LPD79520 537 #define MACH_TYPE_EDB9302 538 #define MACH_TYPE_HW90340 539 #define MACH_TYPE_CIP_BOX 540 #define MACH_TYPE_IVPN 541 #define MACH_TYPE_RSOC2 542 #define MACH_TYPE_HUSKY 543 #define MACH_TYPE_BOXER 544 #define MACH_TYPE_SHEPHERD 545 #define <API key> 546 #define MACH_TYPE_LPC2294 548 #define <API key> 549 #define MACH_TYPE_ENS_CMU 550 #define MACH_TYPE_MM6_SDB 551 #define MACH_TYPE_SATURN 552 #define MACH_TYPE_I30030EVB 553 #define <API key> 554 #define MACH_TYPE_SMDK2800 555 #define MACH_TYPE_MTWILSON 556 #define MACH_TYPE_ZITI 557 #define <API key> 558 #define MACH_TYPE_TENGINE 559 #define MACH_TYPE_S3C2460 560 #define MACH_TYPE_PDM 561 #define MACH_TYPE_H4700 562 #define MACH_TYPE_H6300 563 #define MACH_TYPE_RZ1700 564 #define MACH_TYPE_A716 565 #define MACH_TYPE_ESTK2440A 566 #define MACH_TYPE_ATWIXP425 567 #define MACH_TYPE_CSB336 568 #define MACH_TYPE_RIRM2 569 #define MACH_TYPE_CX23518 570 #define MACH_TYPE_CX2351X 571 #define MACH_TYPE_COMPUTIME 572 #define MACH_TYPE_IZARUS 573 #define MACH_TYPE_RTS 574 #define MACH_TYPE_SE5100 575 #define MACH_TYPE_S3C2510 576 #define MACH_TYPE_CSB437TL 577 #define MACH_TYPE_SLAUSON 578 #define <API key> 579 #define MACH_TYPE_TDC_P210 580 #define MACH_TYPE_SG580 581 #define MACH_TYPE_WRSBCARM7 582 #define MACH_TYPE_IPD 583 #define <API key> 584 #define MACH_TYPE_XAENIAX 585 #define MACH_TYPE_SOMN4250 586 #define MACH_TYPE_PLEB2 587 #define <API key> 588 #define <API key> 589 #define MACH_TYPE_CHAFFEE 590 #define MACH_TYPE_RMS101 591 #define MACH_TYPE_RX3715 592 #define MACH_TYPE_SWIFT 593 #define MACH_TYPE_ROVERP7 594 #define MACH_TYPE_PR818S 595 #define MACH_TYPE_TRXPRO 596 #define MACH_TYPE_NSLU2 597 #define MACH_TYPE_E400 598 #define MACH_TYPE_TRAB 599 #define MACH_TYPE_CMC_PU2 600 #define MACH_TYPE_FULCRUM 601 #define <API key> 602 #define MACH_TYPE_STR710 603 #define MACH_TYPE_IXDPG425 604 #define MACH_TYPE_TOMTOMGO 605 #define <API key> 606 #define MACH_TYPE_EDB9307 607 #define MACH_TYPE_SG565 608 #define MACH_TYPE_LPD79524 609 #define MACH_TYPE_LPD79525 610 #define MACH_TYPE_RMS100 611 #define MACH_TYPE_KB9200 612 #define MACH_TYPE_SX1 613 #define <API key> 614 #define MACH_TYPE_ARMADILLO 615 #define MACH_TYPE_IPCU 616 #define MACH_TYPE_LOOX720 617 #define MACH_TYPE_IXDP465 618 #define MACH_TYPE_IXDP2351 619 #define MACH_TYPE_ADSVIX 620 #define MACH_TYPE_DM270 621 #define MACH_TYPE_SOCLTPLUS 622 #define MACH_TYPE_ECIA 623 #define MACH_TYPE_CM4008 624 #define MACH_TYPE_P2001 625 #define MACH_TYPE_TWISTER 626 #define MACH_TYPE_MUDSHARK 627 #define MACH_TYPE_HB2 628 #define MACH_TYPE_IQ80332 629 #define MACH_TYPE_SENDT 630 #define MACH_TYPE_MX2JAZZ 631 #define MACH_TYPE_MULTIIO 632 #define MACH_TYPE_HRDISPLAY 633 #define <API key> 634 #define MACH_TYPE_TRIZEPS3 635 #define MACH_TYPE_ZEFEERDZA 636 #define MACH_TYPE_ZEFEERDZB 637 #define MACH_TYPE_ZEFEERDZG 638 #define MACH_TYPE_ZEFEERDZN 639 #define MACH_TYPE_ZEFEERDZQ 640 #define MACH_TYPE_GTWX5715 641 #define <API key> 643 #define MACH_TYPE_TIP03 644 #define MACH_TYPE_A9200EC 645 #define MACH_TYPE_PNX0105 646 #define MACH_TYPE_ADCPOECPU 647 #define MACH_TYPE_CSB637 648 #define MACH_TYPE_MB9200 650 #define MACH_TYPE_KULUN 651 #define MACH_TYPE_SNAPPER 652 #define MACH_TYPE_OPTIMA 653 #define MACH_TYPE_DLHSBC 654 #define MACH_TYPE_X30 655 #define MACH_TYPE_N30 656 #define <API key> 657 #define MACH_TYPE_AJAX 658 #define MACH_TYPE_NEC_MP900 659 #define MACH_TYPE_VVTK1000 661 #define MACH_TYPE_KAFA 662 #define MACH_TYPE_VVTK3000 663 #define MACH_TYPE_PIMX1 664 #define MACH_TYPE_OLLIE 665 #define MACH_TYPE_SKYMAX 666 #define MACH_TYPE_JAZZ 667 #define MACH_TYPE_TEL_T3 668 #define <API key> 669 #define MACH_TYPE_BTWEB 670 #define <API key> 671 #define MACH_TYPE_CM41XX 672 #define MACH_TYPE_TS72XX 673 #define MACH_TYPE_NGGPXA 674 #define MACH_TYPE_CSB535 675 #define MACH_TYPE_CSB536 676 #define <API key> 677 #define MACH_TYPE_PRAXIS 678 #define MACH_TYPE_LH75411 679 #define MACH_TYPE_OTOM 680 #define <API key> 681 #define MACH_TYPE_LOOX410 682 #define MACH_TYPE_WESTLAKE 683 #define MACH_TYPE_NSB 684 #define <API key> 685 #define <API key> 686 #define <API key> 687 #define <API key> 688 #define MACH_TYPE_TYPHOON 689 #define MACH_TYPE_CNAV 690 #define MACH_TYPE_A730 691 #define MACH_TYPE_NETSTAR 692 #define <API key> 693 #define MACH_TYPE_SHIVA1100 694 #define MACH_TYPE_ETEXSC 695 #define MACH_TYPE_IXDPG465 696 #define MACH_TYPE_A9M2410 697 #define MACH_TYPE_A9M2440 698 #define MACH_TYPE_A9M9750 699 #define MACH_TYPE_A9M9360 700 #define MACH_TYPE_UNC90 701 #define MACH_TYPE_ECO920 702 #define MACH_TYPE_SATVIEW 703 #define <API key> 704 #define <API key> 705 #define MACH_TYPE_GP32 706 #define MACH_TYPE_GEM 707 #define MACH_TYPE_I858 708 #define MACH_TYPE_HX2750 709 #define <API key> 710 #define MACH_TYPE_P700 711 #define MACH_TYPE_CPE 712 #define MACH_TYPE_SPITZ 713 #define MACH_TYPE_NIMBRA340 714 #define MACH_TYPE_LPC22XX 715 #define MACH_TYPE_COMET3 716 #define MACH_TYPE_COMET4 717 #define MACH_TYPE_CSB625 718 #define MACH_TYPE_FORTUNET2 719 #define MACH_TYPE_S5H2200 720 #define MACH_TYPE_OPTORM920 721 #define <API key> 722 #define MACH_TYPE_ADSSPHERE 723 #define MACH_TYPE_ADSPORTAL 724 #define MACH_TYPE_LN2410SBC 725 #define MACH_TYPE_CB3RUFC 726 #define MACH_TYPE_MP2USB 727 #define MACH_TYPE_NTNP425C 728 #define MACH_TYPE_COLIBRI 729 #define MACH_TYPE_PCM7220 730 #define <API key> 731 #define MACH_TYPE_PCM027 732 #define MACH_TYPE_CMPXA 733 #define MACH_TYPE_ANUBIS 734 #define MACH_TYPE_ITE8152 735 #define MACH_TYPE_LPC3XXX 736 #define MACH_TYPE_PUPPETEER 737 #define MACH_TYPE_E570 739 #define MACH_TYPE_X50 740 #define MACH_TYPE_RECON 741 #define MACH_TYPE_XBOARDGP8 742 #define MACH_TYPE_FPIC2 743 #define MACH_TYPE_AKITA 744 #define MACH_TYPE_A81 745 #define MACH_TYPE_SVM_SC25X 746 #define <API key> 747 #define MACH_TYPE_TLI 748 #define MACH_TYPE_EDB9315LC 749 #define MACH_TYPE_PASSEC 750 #define MACH_TYPE_DS_TIGER 751 #define MACH_TYPE_E310 752 #define MACH_TYPE_E330 753 #define MACH_TYPE_RT3000 754 #define MACH_TYPE_NOKIA770 755 #define MACH_TYPE_PNX0106 756 #define MACH_TYPE_HX21XX 757 #define MACH_TYPE_FARADAY 758 #define MACH_TYPE_SBC9312 759 #define MACH_TYPE_BATMAN 760 #define MACH_TYPE_JPD201 761 #define MACH_TYPE_MIPSA 762 #define MACH_TYPE_KACOM 763 #define MACH_TYPE_SWARCOCPU 764 #define MACH_TYPE_SWARCODSL 765 #define MACH_TYPE_BLUEANGEL 766 #define <API key> 767 #define MACH_TYPE_BANFF 768 #define MACH_TYPE_CARMEVA 769 #define MACH_TYPE_SAM255 770 #define MACH_TYPE_PPM10 771 #define MACH_TYPE_EDB9315A 772 #define MACH_TYPE_SUNSET 773 #define MACH_TYPE_STARGATE2 774 #define <API key> 775 #define MACH_TYPE_TRIZEPS4 776 #define <API key> 777 #define MACH_TYPE_EZ_IXP42X 778 #define <API key> 779 #define <API key> 780 #define MACH_TYPE_HICOARM9 781 #define MACH_TYPE_PNX4008 782 #define MACH_TYPE_KWS6000 783 #define <API key> 784 #define MACH_TYPE_EZ_X5 785 #define <API key> 786 #define MACH_TYPE_CPUAT91 787 #define MACH_TYPE_REA9200 788 #define <API key> 789 #define MACH_TYPE_IXP425 790 #define MACH_TYPE_I30030ADS 791 #define MACH_TYPE_PERCH 792 #define MACH_TYPE_EIS05R1 793 #define MACH_TYPE_PEPPERPAD 794 #define MACH_TYPE_SB3010 795 #define MACH_TYPE_RM9200 796 #define MACH_TYPE_DMA03 797 #define MACH_TYPE_ROAD_S101 798 #define MACH_TYPE_IQ81340SC 799 #define <API key> 800 #define MACH_TYPE_IQ81340MC 801 #define <API key> 802 #define <API key> 803 #define <API key> 804 #define <API key> 805 #define MACH_TYPE_GESBC931X 806 #define MACH_TYPE_CENTIPAD 807 #define MACH_TYPE_ARMSOC 808 #define MACH_TYPE_SE4200 809 #define MACH_TYPE_EMS197A 810 #define MACH_TYPE_MICRO9 811 #define MACH_TYPE_MICRO9L 812 #define MACH_TYPE_UC5471DSP 813 #define MACH_TYPE_SJ5471ENG 814 #define MACH_TYPE_CMPXA26X 815 #define MACH_TYPE_NC 816 #define <API key> 817 #define MACH_TYPE_AJAX52X 818 #define MACH_TYPE_SIRIUSTAR 819 #define <API key> 820 #define <API key> 821 #define MACH_TYPE_BIOSAFE 822 #define MACH_TYPE_MP1000 823 #define MACH_TYPE_PARSY 824 #define MACH_TYPE_CCXP 825 #define <API key> 826 #define <API key> 827 #define MACH_TYPE_SAMOA 828 #define MACH_TYPE_PALMT3 829 #define MACH_TYPE_I878 830 #define MACH_TYPE_BORZOI 831 #define MACH_TYPE_GECKO 832 #define MACH_TYPE_DS101 833 #define <API key> 834 #define MACH_TYPE_PALMLD 835 #define MACH_TYPE_CC9C 836 #define MACH_TYPE_SBC1670 837 #define MACH_TYPE_IXDP28X5 838 #define <API key> 839 #define MACH_TYPE_ML696K 840 #define <API key> 841 #define MACH_TYPE_OSIRIS 842 #define MACH_TYPE_MAESTRO 843 #define MACH_TYPE_PALMTE2 844 #define MACH_TYPE_IXBBM 845 #define MACH_TYPE_MX27ADS 846 #define MACH_TYPE_AX8004 847 #define <API key> 848 #define MACH_TYPE_LOFT 849 #define MACH_TYPE_MAGPIE 850 #define MACH_TYPE_MX21ADS 851 #define MACH_TYPE_MB87M3400 852 #define <API key> 853 #define <API key> 854 #define <API key> 855 #define MACH_TYPE_TPAD 856 #define MACH_TYPE_ROVERP3 857 #define <API key> 858 #define MACH_TYPE_MV88FXX81 859 #define MACH_TYPE_STMP36XX 860 #define MACH_TYPE_SXNI79524 861 #define MACH_TYPE_AMS_DELTA 862 #define MACH_TYPE_URANIUM 863 #define MACH_TYPE_UCON 864 #define MACH_TYPE_NAS100D 865 #define MACH_TYPE_L083_1000 866 #define MACH_TYPE_EZX 867 #define MACH_TYPE_PNX5220 868 #define MACH_TYPE_BUTTE 869 #define MACH_TYPE_SRM2 870 #define MACH_TYPE_DSBR 871 #define <API key> 872 #define <API key> 873 #define MACH_TYPE_HERBIE 874 #define MACH_TYPE_MAGICIAN 875 #define MACH_TYPE_CM4002 876 #define MACH_TYPE_B4 877 #define MACH_TYPE_MAUI 878 #define <API key> 879 #define MACH_TYPE_NXDKN 880 #define MACH_TYPE_MIO8390 881 #define MACH_TYPE_OMI_BOARD 882 #define MACH_TYPE_MX21CIV 883 #define MACH_TYPE_MAHI_CDAC 884 #define MACH_TYPE_PALMTX 885 #define MACH_TYPE_S3C2413 887 #define <API key> 888 #define MACH_TYPE_WG302V1 889 #define MACH_TYPE_WG302V2 890 #define MACH_TYPE_EB42X 891 #define MACH_TYPE_IQ331ES 892 #define MACH_TYPE_COSYDSP 893 #define MACH_TYPE_UPLAT7D 894 #define MACH_TYPE_PTDAVINCI 895 #define MACH_TYPE_MBUS 896 #define MACH_TYPE_NADIA2VB 897 #define MACH_TYPE_R1000 898 #define MACH_TYPE_HW90250 899 #define <API key> 900 #define <API key> 901 #define <API key> 902 #define MACH_TYPE_OLOCREEK 903 #define MACH_TYPE_PALMZ72 904 #define MACH_TYPE_NXDB500 905 #define MACH_TYPE_APF9328 906 #define <API key> 907 #define MACH_TYPE_OMAP_TWIP 908 #define MACH_TYPE_TREO650 909 #define MACH_TYPE_ACUMEN 910 #define MACH_TYPE_XP100 911 #define MACH_TYPE_FS2410 912 #define <API key> 913 #define <API key> 914 #define <API key> 915 #define MACH_TYPE_NETCLIENT 916 #define MACH_TYPE_PALMT5 917 #define MACH_TYPE_PALMTC 918 #define <API key> 919 #define <API key> 920 #define MACH_TYPE_REA_2D 921 #define MACH_TYPE_TI3E524 922 #define MACH_TYPE_ATEB9200 923 #define MACH_TYPE_AUCKLAND 924 #define MACH_TYPE_AK3320M 925 #define MACH_TYPE_DURAMAX 926 #define MACH_TYPE_N35 927 #define MACH_TYPE_PRONGHORN 928 #define MACH_TYPE_FUNDY 929 #define <API key> 930 #define MACH_TYPE_CPU777 931 #define <API key> 932 #define MACH_TYPE_LEAP2_HPM 933 #define <API key> 934 #define MACH_TYPE_PXA 935 #define MACH_TYPE_SANDGATE2 936 #define <API key> 937 #define <API key> 938 #define MACH_TYPE_FRED_JACK 939 #define <API key> 940 #define <API key> 941 #define MACH_TYPE_NETDCU8 942 #define MACH_TYPE_NG_FVX538 944 #define MACH_TYPE_NG_FVS338 945 #define MACH_TYPE_PNX4103 946 #define MACH_TYPE_HESDB 947 #define MACH_TYPE_XSILO 948 #define MACH_TYPE_ESPRESSO 949 #define MACH_TYPE_EMLC 950 #define MACH_TYPE_SISTERON 951 #define MACH_TYPE_RX1950 952 #define MACH_TYPE_TSC_VENUS 953 #define MACH_TYPE_DS101J 954 #define <API key> 955 #define <API key> 956 #define <API key> 957 #define MACH_TYPE_GESBC9312 958 #define MACH_TYPE_HTCAPACHE 959 #define MACH_TYPE_IXDP435 960 #define <API key> 961 #define <API key> 962 #define <API key> 963 #define MACH_TYPE_DSMG600 964 #define MACH_TYPE_EMPC2 965 #define MACH_TYPE_VENTURA 966 #define <API key> 967 #define MACH_TYPE_IJ3K 968 #define MACH_TYPE_PISGAH 969 #define <API key> 970 #define MACH_TYPE_SG720 971 #define MACH_TYPE_REDFOX 972 #define <API key> 973 #define MACH_TYPE_TPF106 974 #define <API key> 975 #define MACH_TYPE_SLEDB 976 #define MACH_TYPE_ONTRACK 977 #define MACH_TYPE_PM1200 978 #define MACH_TYPE_ESS24XXX 979 #define MACH_TYPE_COREMP7 980 #define <API key> 981 #define MACH_TYPE_STVC8380 982 #define MACH_TYPE_TEKLYNX 983 #define MACH_TYPE_CARBONADO 984 #define <API key> 985 #define <API key> 986 #define MACH_TYPE_PGIGIM 987 #define MACH_TYPE_PTX9160P2 988 #define MACH_TYPE_DCORE1 989 #define MACH_TYPE_VICTORPXA 990 #define MACH_TYPE_MX2DTB 991 #define <API key> 992 #define <API key> 993 #define <API key> 994 #define MACH_TYPE_HW50251 995 #define MACH_TYPE_IBOX 996 #define <API key> 997 #define MACH_TYPE_PT2026 998 #define MACH_TYPE_HTCALPINE 999 #define <API key> 1000 #define MACH_TYPE_VCOREII 1001 #define MACH_TYPE_PDNB3 1002 #define <API key> 1003 #define MACH_TYPE_S3C6400 1004 #define MACH_TYPE_S3C2443 1005 #define MACH_TYPE_OMAP_LDK 1006 #define MACH_TYPE_SMDK2460 1007 #define MACH_TYPE_SMDK2440 1008 #define MACH_TYPE_SMDK2412 1009 #define MACH_TYPE_WEBBOX 1010 #define MACH_TYPE_CWWNDP 1011 #define MACH_TYPE_DRAGON 1012 #define <API key> 1013 #define MACH_TYPE_CCM2200 1014 #define MACH_TYPE_ETWARM 1015 #define MACH_TYPE_M93030 1016 #define MACH_TYPE_CC7U 1017 #define <API key> 1018 #define MACH_TYPE_NEXUS 1019 #define MACH_TYPE_DESMAN 1020 #define MACH_TYPE_BKDE303 1021 #define MACH_TYPE_SMDK2413 1022 #define MACH_TYPE_AML_M7200 1023 #define MACH_TYPE_AML_M5900 1024 #define MACH_TYPE_SG640 1025 #define MACH_TYPE_EDG79524 1026 #define MACH_TYPE_AI2410 1027 #define MACH_TYPE_IXP465 1028 #define MACH_TYPE_BALLOON3 1029 #define MACH_TYPE_HEINS 1030 #define MACH_TYPE_MPLUSEVA 1031 #define MACH_TYPE_RT042 1032 #define MACH_TYPE_CWIEM 1033 #define MACH_TYPE_CM_X270 1034 #define MACH_TYPE_CM_X255 1035 #define MACH_TYPE_ESH_AT91 1036 #define MACH_TYPE_SANDGATE3 1037 #define MACH_TYPE_PRIMO 1038 #define MACH_TYPE_GEMSTONE 1039 #define <API key> 1040 #define <API key> 1041 #define MACH_TYPE_PICOMOD1 1042 #define MACH_TYPE_SG590 1043 #define MACH_TYPE_AKAI9307 1044 #define MACH_TYPE_FONTAINE 1045 #define MACH_TYPE_WOMBAT 1046 #define MACH_TYPE_ACQ300 1047 #define MACH_TYPE_MOD_270 1048 #define MACH_TYPE_VC0820 1049 #define MACH_TYPE_ANI_AIM 1050 #define MACH_TYPE_JELLYFISH 1051 #define MACH_TYPE_AMANITA 1052 #define MACH_TYPE_VLINK 1053 #define MACH_TYPE_DEXFLEX 1054 #define MACH_TYPE_EIGEN_TTQ 1055 #define <API key> 1056 #define MACH_TYPE_TABLA 1057 #define MACH_TYPE_MDIRAC3 1058 #define MACH_TYPE_MRHFBP2 1059 #define <API key> 1060 #define MACH_TYPE_ANI_APM 1061 #define MACH_TYPE_ELLA1 1062 #define <API key> 1063 #define <API key> 1064 #define MACH_TYPE_EMPOS_XM 1065 #define MACH_TYPE_EMPOS 1066 #define <API key> 1067 #define MACH_TYPE_EMPOS_SM 1068 #define MACH_TYPE_EGRET 1069 #define MACH_TYPE_OSTRICH 1070 #define MACH_TYPE_N50 1071 #define MACH_TYPE_ECBAT91 1072 #define MACH_TYPE_STAREAST 1073 #define MACH_TYPE_DSPG_DW 1074 #define MACH_TYPE_ONEARM 1075 #define MACH_TYPE_MRG110_6 1076 #define MACH_TYPE_WRT300NV2 1077 #define <API key> 1078 #define MACH_TYPE_MSM6100 1079 #define MACH_TYPE_ETI_B1 1080 #define <API key> 1081 #define MACH_TYPE_BIT2440 1082 #define MACH_TYPE_NBI 1083 #define MACH_TYPE_SMDK2443 1084 #define MACH_TYPE_VDAVINCI 1085 #define MACH_TYPE_ATC6 1086 #define MACH_TYPE_MULTMDW 1087 #define MACH_TYPE_MBA2440 1088 #define MACH_TYPE_ECSD 1089 #define MACH_TYPE_PALMZ31 1090 #define MACH_TYPE_FSG 1091 #define MACH_TYPE_RAZOR101 1092 #define MACH_TYPE_OPERA_TDM 1093 #define MACH_TYPE_COMCERTO 1094 #define MACH_TYPE_TB0319 1095 #define MACH_TYPE_KWS8000 1096 #define MACH_TYPE_B2 1097 #define MACH_TYPE_LCL54 1098 #define <API key> 1099 #define MACH_TYPE_GLANTANK 1100 #define MACH_TYPE_N2100 1101 #define MACH_TYPE_N4100 1102 #define <API key> 1103 #define MACH_TYPE_SG8100 1104 #define MACH_TYPE_IM42XX 1105 #define MACH_TYPE_FTXX 1106 #define MACH_TYPE_LWFUSION 1107 #define MACH_TYPE_QT2410 1108 #define MACH_TYPE_KIXRP435 1109 #define MACH_TYPE_CCW9C 1110 #define MACH_TYPE_DABHS 1111 #define MACH_TYPE_GZMX 1112 #define MACH_TYPE_IPNW100AP 1113 #define <API key> 1114 #define <API key> 1115 #define <API key> 1116 #define <API key> 1117 #define MACH_TYPE_NX70V 1118 #define <API key> 1119 #define MACH_TYPE_SE_PILOT2 1120 #define MACH_TYPE_MTCN_T800 1121 #define MACH_TYPE_VCMX212 1122 #define MACH_TYPE_LYNX 1123 #define <API key> 1124 #define MACH_TYPE_HW86052 1125 #define MACH_TYPE_PILZ_PMI3 1126 #define MACH_TYPE_EDB9302A 1127 #define MACH_TYPE_EDB9307A 1128 #define MACH_TYPE_CT_DFS 1129 #define MACH_TYPE_PILZ_PMI4 1130 #define <API key> 1131 #define MACH_TYPE_SMDK2442B 1132 #define MACH_TYPE_XNODE 1133 #define MACH_TYPE_AIDX270 1134 #define MACH_TYPE_REMA 1135 #define MACH_TYPE_BPS1000 1136 #define MACH_TYPE_HW90350 1137 #define <API key> 1138 #define MACH_TYPE_BLUETOUCH 1139 #define MACH_TYPE_VSTMS 1140 #define MACH_TYPE_XSBASE270 1141 #define <API key> 1142 #define <API key> 1143 #define MACH_TYPE_OTI4110 1144 #define MACH_TYPE_HME_PXA 1145 #define <API key> 1146 #define MACH_TYPE_CES_SSEM2 1147 #define MACH_TYPE_CES_MTR 1148 #define <API key> 1149 #define MACH_TYPE_EVEREST 1150 #define MACH_TYPE_PNX4010 1151 #define MACH_TYPE_OXNAS 1152 #define MACH_TYPE_FIORI 1153 #define MACH_TYPE_ML1200 1154 #define MACH_TYPE_PECOS 1155 #define MACH_TYPE_NB2XXX 1156 #define MACH_TYPE_HW6900 1157 #define <API key> 1158 #define <API key> 1159 #define MACH_TYPE_UPLAT926 1160 #define <API key> 1161 #define MACH_TYPE_DTK2410 1162 #define MACH_TYPE_CHILI 1163 #define MACH_TYPE_DEMETER 1164 #define MACH_TYPE_DIONYSUS 1165 #define MACH_TYPE_AS352X 1166 #define MACH_TYPE_SERVICE 1167 #define MACH_TYPE_CS_E9301 1168 #define MACH_TYPE_MICRO9M 1169 #define MACH_TYPE_IA_MOSPCK 1170 #define MACH_TYPE_QL201B 1171 #define MACH_TYPE_BBM 1174 #define MACH_TYPE_EXXX 1175 #define MACH_TYPE_WMA11B 1176 #define <API key> 1177 #define MACH_TYPE_G500 1178 #define MACH_TYPE_BUG 1179 #define MACH_TYPE_MX33ADS 1180 #define MACH_TYPE_CHUB 1181 #define <API key> 1182 #define MACH_TYPE_W90N740 1183 #define <API key> 1184 #define <API key> 1185 #define <API key> 1186 #define MACH_TYPE_PM9261 1187 #define MACH_TYPE_ML7304 1189 #define MACH_TYPE_UCP250 1190 #define MACH_TYPE_INTBOARD 1191 #define <API key> 1192 #define MACH_TYPE_LABQUEST 1193 #define MACH_TYPE_VCMX313 1194 #define MACH_TYPE_URG200 1195 #define <API key> 1196 #define MACH_TYPE_NETDCU9 1197 #define MACH_TYPE_NETDCU10 1198 #define MACH_TYPE_DSPG_DGA 1199 #define MACH_TYPE_DSPG_DVW 1200 #define MACH_TYPE_SOLOS 1201 #define <API key> 1202 #define MACH_TYPE_OSSTBOX 1203 #define MACH_TYPE_KBAT9261 1204 #define MACH_TYPE_CT1100 1205 #define MACH_TYPE_AKCPPXA 1206 #define <API key> 1207 #define MACH_TYPE_HITRACK 1208 #define MACH_TYPE_SYME1 1209 #define MACH_TYPE_SYHL1 1210 #define MACH_TYPE_EMPCA400 1211 #define MACH_TYPE_EM7210 1212 #define MACH_TYPE_HTCHERMES 1213 #define MACH_TYPE_ETI_C1 1214 #define MACH_TYPE_AC100 1216 #define MACH_TYPE_SNEETCH 1217 #define <API key> 1218 #define MACH_TYPE_ZIR2410 1219 #define MACH_TYPE_ZIR2413 1220 #define MACH_TYPE_DLONIP3 1221 #define MACH_TYPE_INSTREAM 1222 #define MACH_TYPE_AMBARELLA 1223 #define MACH_TYPE_NEVIS 1224 #define <API key> 1225 #define MACH_TYPE_QL202B 1226 #define MACH_TYPE_VPAC270 1227 #define MACH_TYPE_RD129 1228 #define MACH_TYPE_HTCWIZARD 1229 #define MACH_TYPE_TREO680 1230 #define <API key> 1231 #define MACH_TYPE_ZYLONITE 1233 #define MACH_TYPE_GENE1270 1234 #define MACH_TYPE_ZIR2412 1235 #define MACH_TYPE_MX31LITE 1236 #define MACH_TYPE_T700WX 1237 #define MACH_TYPE_VF100 1238 #define MACH_TYPE_NSB2 1239 #define MACH_TYPE_NXHMI_BB 1240 #define MACH_TYPE_NXHMI_RE 1241 #define MACH_TYPE_N4100PRO 1242 #define MACH_TYPE_SAM9260 1243 #define <API key> 1244 #define MACH_TYPE_INDY2410 1245 #define MACH_TYPE_NELT_A 1246 #define MACH_TYPE_N311 1248 #define <API key> 1249 #define MACH_TYPE_AT91LEPPE 1250 #define <API key> 1251 #define MACH_TYPE_APC7100 1252 #define MACH_TYPE_STARGAZER 1253 #define MACH_TYPE_SONATA 1254 #define MACH_TYPE_SCHMOOGIE 1255 #define MACH_TYPE_AZTOOL 1256 #define MACH_TYPE_MIOA701 1257 #define MACH_TYPE_SXNI9260 1258 #define <API key> 1259 #define <API key> 1260 #define MACH_TYPE_MB9260 1261 #define MACH_TYPE_MB9263 1262 #define MACH_TYPE_IPAC9302 1263 #define <API key> 1264 #define MACH_TYPE_GALLIUM 1265 #define MACH_TYPE_MSC2410 1266 #define MACH_TYPE_GHI270 1267 #define <API key> 1268 #define MACH_TYPE_OIAB 1269 #define MACH_TYPE_SMDK6400 1270 #define <API key> 1271 #define <API key> 1272 #define <API key> 1273 #define MACH_TYPE_XMATE 1274 #define MACH_TYPE_ENERGIZER 1275 #define MACH_TYPE_IME1 1276 #define MACH_TYPE_SWEDATMS 1277 #define MACH_TYPE_NTNP435C 1278 #define MACH_TYPE_SPECTRO2 1279 #define MACH_TYPE_H6039 1280 #define MACH_TYPE_EP80219 1281 #define MACH_TYPE_SAMOA_II 1282 #define MACH_TYPE_CWMXL 1283 #define MACH_TYPE_AS9200 1284 #define MACH_TYPE_SFX1149 1285 #define MACH_TYPE_NAVI010 1286 #define MACH_TYPE_MULTMDP 1287 #define MACH_TYPE_SCB9520 1288 #define MACH_TYPE_HTCATHENA 1289 #define MACH_TYPE_XP179 1290 #define MACH_TYPE_H4300 1291 #define <API key> 1292 #define <API key> 1293 #define <API key> 1294 #define <API key> 1295 #define MACH_TYPE_MMSP2PLUS 1296 #define MACH_TYPE_EM_X270 1297 #define MACH_TYPE_TPP302 1298 #define MACH_TYPE_TPM104 1299 #define MACH_TYPE_TPM102 1300 #define MACH_TYPE_TPM109 1301 #define MACH_TYPE_FBXO1 1302 #define MACH_TYPE_HXD8 1303 #define <API key> 1304 #define MACH_TYPE_EMTEST 1305 #define MACH_TYPE_AD6900 1306 #define MACH_TYPE_EUROPA 1307 #define <API key> 1308 #define MACH_TYPE_EZ_S2410 1309 #define MACH_TYPE_EZ_S2440 1310 #define MACH_TYPE_EZ_EP9312 1311 #define MACH_TYPE_EZ_EP9315 1312 #define MACH_TYPE_EZ_X7 1313 #define MACH_TYPE_GODOTDB 1314 #define MACH_TYPE_MISTRAL 1315 #define MACH_TYPE_MSM 1316 #define MACH_TYPE_CT5910 1317 #define MACH_TYPE_CT5912 1318 #define MACH_TYPE_HYNET_INE 1319 #define MACH_TYPE_HYNET_APP 1320 #define MACH_TYPE_MSM7200 1321 #define MACH_TYPE_MSM7600 1322 #define MACH_TYPE_CEB255 1323 #define MACH_TYPE_CIEL 1324 #define MACH_TYPE_SLM5650 1325 #define <API key> 1326 #define <API key> 1327 #define MACH_TYPE_SBC2410X 1328 #define MACH_TYPE_AT4X0BD 1329 #define MACH_TYPE_CBIFR 1330 #define <API key> 1331 #define MACH_TYPE_MATRIX520 1332 #define MACH_TYPE_MATRIX510 1333 #define MACH_TYPE_MATRIX500 1334 #define MACH_TYPE_M501 1335 #define MACH_TYPE_AAEON1270 1336 #define <API key> 1337 #define MACH_TYPE_PAC500 1338 #define MACH_TYPE_PNX8181 1339 #define <API key> 1340 #define MACH_TYPE_AZTOOLBB 1341 #define MACH_TYPE_AZTOOLG2 1342 #define MACH_TYPE_DVLHOST 1343 #define MACH_TYPE_ZIR9200 1344 #define MACH_TYPE_ZIR9260 1345 #define MACH_TYPE_COCOPAH 1346 #define MACH_TYPE_NDS 1347 #define <API key> 1348 #define MACH_TYPE_FTTX_ODSC 1349 #define <API key> 1350 #define MACH_TYPE_CAM60 1351 #define <API key> 1352 #define MACH_TYPE_DATACALL 1353 #define MACH_TYPE_AT91EB01 1354 #define MACH_TYPE_RTY 1355 #define MACH_TYPE_DWL2100 1356 #define MACH_TYPE_VINSI 1357 #define MACH_TYPE_DB88F5281 1358 #define MACH_TYPE_CSB726 1359 #define MACH_TYPE_TIK27 1360 #define MACH_TYPE_MX_UC7420 1361 #define MACH_TYPE_RIRM3 1362 #define <API key> 1363 #define MACH_TYPE_ADX_ABOX 1365 #define MACH_TYPE_ADX_TPID 1366 #define MACH_TYPE_MINICHECK 1367 #define MACH_TYPE_IDAM 1368 #define MACH_TYPE_MARIO_MX 1369 #define MACH_TYPE_VI1888 1370 #define MACH_TYPE_ZR4230 1371 #define <API key> 1372 #define MACH_TYPE_SYHQ2 1373 #define <API key> 1374 #define MACH_TYPE_ORATIS 1375 #define MACH_TYPE_MIKKO 1376 #define MACH_TYPE_HOLON 1377 #define MACH_TYPE_OLIP8 1378 #define MACH_TYPE_GHI270HG 1379 #define <API key> 1380 #define <API key> 1381 #define <API key> 1383 #define <API key> 1384 #define MACH_TYPE_CDOTBWSG 1385 #define MACH_TYPE_QUARK963 1386 #define MACH_TYPE_CSB735 1387 #define MACH_TYPE_LITTLETON 1388 #define MACH_TYPE_MIO_P550 1389 #define <API key> 1390 #define MACH_TYPE_IMM500 1391 #define MACH_TYPE_HOMEMATIC 1392 #define MACH_TYPE_ERMINE 1393 #define MACH_TYPE_KB9202B 1394 #define MACH_TYPE_HS1XX 1395 #define <API key> 1396 #define <API key> 1397 #define MACH_TYPE_DEP2410K 1398 #define MACH_TYPE_XXSVIDEO 1399 #define MACH_TYPE_IM4004 1400 #define <API key> 1401 #define MACH_TYPE_LEP9261 1402 #define MACH_TYPE_SVENMEB 1403 #define <API key> 1404 #define MACH_TYPE_NXHX 1406 #define <API key> 1407 #define MACH_TYPE_IDS500 1408 #define MACH_TYPE_ORS_N725 1409 #define MACH_TYPE_HSDARM 1410 #define <API key> 1411 #define <API key> 1412 #define <API key> 1413 #define <API key> 1414 #define MACH_TYPE_H6042 1415 #define MACH_TYPE_H6043 1416 #define MACH_TYPE_LOOXC550 1417 #define <API key> 1418 #define MACH_TYPE_APP3XX 1419 #define <API key> 1420 #define MACH_TYPE_TREO700P 1421 #define MACH_TYPE_TREO700W 1422 #define MACH_TYPE_TREO750 1423 #define MACH_TYPE_TREO755P 1424 #define <API key> 1425 #define MACH_TYPE_SARGE 1426 #define MACH_TYPE_A696 1427 #define MACH_TYPE_TURTLE 1428 #define MACH_TYPE_MX27_3DS 1430 #define MACH_TYPE_BISHOP 1431 #define MACH_TYPE_PXX 1432 #define MACH_TYPE_REDWOOD 1433 #define <API key> 1436 #define <API key> 1437 #define MACH_TYPE_SARDINE 1438 #define MACH_TYPE_HALIBUT 1439 #define MACH_TYPE_TROUT 1440 #define MACH_TYPE_GOLDFISH 1441 #define MACH_TYPE_GESBC2440 1442 #define MACH_TYPE_NOMAD 1443 #define MACH_TYPE_ROSALIND 1444 #define MACH_TYPE_CC9P9215 1445 #define MACH_TYPE_CC9P9210 1446 #define <API key> 1447 #define <API key> 1448 #define MACH_TYPE_NASFFE 1449 #define MACH_TYPE_TN2X0BD 1450 #define MACH_TYPE_GWMPXA 1451 #define MACH_TYPE_EXYPLUS 1452 #define MACH_TYPE_JADOO21 1453 #define MACH_TYPE_LOOXN560 1454 #define MACH_TYPE_BONSAI 1455 #define <API key> 1456 #define MACH_TYPE_GBA 1457 #define MACH_TYPE_H6044 1458 #define MACH_TYPE_APP 1459 #define <API key> 1460 #define MACH_TYPE_HERALD 1461 #define MACH_TYPE_ARTEMIS 1462 #define MACH_TYPE_HTCTITAN 1463 #define MACH_TYPE_QRANIUM 1464 #define MACH_TYPE_ADX_WSC2 1465 #define <API key> 1466 #define MACH_TYPE_BBOARD 1467 #define MACH_TYPE_CAMBRIA 1468 #define MACH_TYPE_MT7XXX 1469 #define MACH_TYPE_MATRIX512 1470 #define MACH_TYPE_MATRIX522 1471 #define MACH_TYPE_IPAC5010 1472 #define MACH_TYPE_SAKURA 1473 #define MACH_TYPE_GROCX 1474 #define MACH_TYPE_PM9263 1475 #define MACH_TYPE_SIM_ONE 1476 #define MACH_TYPE_ACQ132 1477 #define MACH_TYPE_DATR 1478 #define MACH_TYPE_ACTUX1 1479 #define MACH_TYPE_ACTUX2 1480 #define MACH_TYPE_ACTUX3 1481 #define MACH_TYPE_FLEXIT 1482 #define MACH_TYPE_BH2X0BD 1483 #define MACH_TYPE_ATB2002 1484 #define MACH_TYPE_XENON 1485 #define MACH_TYPE_FM607 1486 #define MACH_TYPE_MATRIX514 1487 #define MACH_TYPE_MATRIX524 1488 #define MACH_TYPE_INPOD 1489 #define MACH_TYPE_JIVE 1490 #define MACH_TYPE_TLL_MX21 1491 #define MACH_TYPE_SBC2800 1492 #define MACH_TYPE_CC7UCAMRY 1493 #define <API key> 1494 #define <API key> 1495 #define <API key> 1496 #define MACH_TYPE_AML_M8000 1497 #define <API key> 1498 #define MACH_TYPE_OMAP_BBX 1499 #define MACH_TYPE_UCN2410 1500 #define <API key> 1501 #define MACH_TYPE_ETI_C2 1502 #define MACH_TYPE_AVALANCHE 1503 #define <API key> 1504 #define MACH_TYPE_DP1500 1505 #define <API key> 1506 #define MACH_TYPE_YL9200 1507 #define MACH_TYPE_RD88F5182 1508 #define <API key> 1509 #define MACH_TYPE_SE_POET 1510 #define MACH_TYPE_MX31_3DS 1511 #define MACH_TYPE_R270 1512 #define MACH_TYPE_ARMOUR21 1513 #define MACH_TYPE_DT2 1514 #define MACH_TYPE_VT4 1515 #define MACH_TYPE_TYCO320 1516 #define MACH_TYPE_ADMA 1517 #define MACH_TYPE_WP188 1518 #define MACH_TYPE_CORSICA 1519 #define MACH_TYPE_BIGEYE 1520 #define MACH_TYPE_TLL5000 1522 #define MACH_TYPE_BEBOT 1523 #define MACH_TYPE_QONG 1524 #define MACH_TYPE_TCOMPACT 1525 #define MACH_TYPE_PUMA5 1526 #define MACH_TYPE_ELARA 1527 #define MACH_TYPE_ELLINGTON 1528 #define MACH_TYPE_XDA_ATOM 1529 #define <API key> 1530 #define MACH_TYPE_ODIN 1531 #define MACH_TYPE_ACTUX4 1532 #define MACH_TYPE_ESL_OMAP 1533 #define MACH_TYPE_OMAP2EVM 1534 #define MACH_TYPE_OMAP3EVM 1535 #define MACH_TYPE_ADX_PCU57 1536 #define MACH_TYPE_MONACO 1537 #define MACH_TYPE_LEVANTE 1538 #define MACH_TYPE_TMXIPX425 1539 #define MACH_TYPE_LEEP 1540 #define MACH_TYPE_RAAD 1541 #define MACH_TYPE_DNS323 1542 #define MACH_TYPE_AP1000 1543 #define MACH_TYPE_A9SAM6432 1544 #define MACH_TYPE_SHINY 1545 #define <API key> 1546 #define MACH_TYPE_CSR_BDB2 1547 #define <API key> 1548 #define MACH_TYPE_C270 1549 #define MACH_TYPE_SENTRY 1550 #define MACH_TYPE_PCM038 1551 #define MACH_TYPE_ANC300 1552 #define MACH_TYPE_HTCKAISER 1553 #define MACH_TYPE_SBAT100 1554 #define MACH_TYPE_MODUNORM 1555 #define <API key> 1556 #define MACH_TYPE_FLANK 1557 #define MACH_TYPE_SIRLOIN 1558 #define MACH_TYPE_BRISKET 1559 #define MACH_TYPE_CHUCK 1560 #define MACH_TYPE_OTTER 1561 #define <API key> 1562 #define MACH_TYPE_PHREEDOM 1563 #define MACH_TYPE_SG310 1564 #define MACH_TYPE_TS209 1565 #define <API key> 1566 #define MACH_TYPE_TION9315 1567 #define MACH_TYPE_MAST 1568 #define MACH_TYPE_PFW 1569 #define MACH_TYPE_YL_P2440 1570 #define MACH_TYPE_ZSBC32 1571 #define <API key> 1572 #define MACH_TYPE_IMX_PACE2 1573 #define <API key> 1574 #define MACH_TYPE_MX37_3DS 1575 #define MACH_TYPE_RCC 1576 #define MACH_TYPE_ARM9 1577 #define <API key> 1578 #define MACH_TYPE_SCLY1000 1579 #define MACH_TYPE_FONTEL_EP 1580 #define <API key> 1581 #define MACH_TYPE_TT9200 1582 #define MACH_TYPE_DIGI2410 1583 #define <API key> 1584 #define <API key> 1585 #define <API key> 1587 #define <API key> 1588 #define <API key> 1589 #define <API key> 1590 #define MACH_TYPE_UR2410 1591 #define MACH_TYPE_TAS9261 1592 #define MACH_TYPE_HERMES_HD 1593 #define MACH_TYPE_PERSEO_HD 1594 #define <API key> 1595 #define MACH_TYPE_E350 1596 #define MACH_TYPE_WPCM450 1597 #define MACH_TYPE_CARTESIO 1598 #define MACH_TYPE_TOYBOX 1599 #define MACH_TYPE_TX27 1600 #define MACH_TYPE_TS409 1601 #define MACH_TYPE_P300 1602 #define MACH_TYPE_XDACOMET 1603 #define MACH_TYPE_DEXFLEX2 1604 #define MACH_TYPE_OW 1605 #define MACH_TYPE_ARMEBS3 1606 #define MACH_TYPE_U3 1607 #define MACH_TYPE_SMDK2450 1608 #define MACH_TYPE_RSI_EWS 1609 #define MACH_TYPE_TNB 1610 #define MACH_TYPE_TOEPATH 1611 #define MACH_TYPE_KB9263 1612 #define MACH_TYPE_MT7108 1613 #define MACH_TYPE_SMTR2440 1614 #define MACH_TYPE_MANAO 1615 #define MACH_TYPE_CM_X300 1616 #define <API key> 1617 #define <API key> 1618 #define MACH_TYPE_ARMA37 1619 #define MACH_TYPE_MENDEL 1620 #define <API key> 1621 #define MACH_TYPE_UNIT2P 1622 #define <API key> 1623 #define <API key> 1624 #define <API key> 1625 #define MACH_TYPE_SMDK6410 1626 #define MACH_TYPE_U300 1627 #define MACH_TYPE_U500 1628 #define MACH_TYPE_DS9260 1629 #define MACH_TYPE_RIVERROCK 1630 #define MACH_TYPE_SCIBATH 1631 #define <API key> 1632 #define <API key> 1633 #define <API key> 1634 #define MACH_TYPE_MARVIN 1635 #define MACH_TYPE_X500 1636 #define MACH_TYPE_AWLUG4LCU 1637 #define MACH_TYPE_PALERMOC 1638 #define MACH_TYPE_OMAP_LDP 1639 #define MACH_TYPE_IP500 1640 #define MACH_TYPE_ASE2 1642 #define MACH_TYPE_MX35EVB 1643 #define MACH_TYPE_AML_M8050 1644 #define MACH_TYPE_MX35_3DS 1645 #define MACH_TYPE_MARS 1646 #define <API key> 1647 #define MACH_TYPE_BADGER 1648 #define <API key> 1649 #define MACH_TYPE_TRIZEPS5 1650 #define MACH_TYPE_MARLIN 1651 #define MACH_TYPE_TS78XX 1652 #define MACH_TYPE_HPIPAQ214 1653 #define <API key> 1654 #define MACH_TYPE_NE1BOARD 1655 #define MACH_TYPE_ZANTE 1656 #define MACH_TYPE_SFFSDR 1657 #define MACH_TYPE_TW2662 1658 #define MACH_TYPE_VF10XX 1659 #define MACH_TYPE_ZORAN43XX 1660 #define MACH_TYPE_SONIX926 1661 #define <API key> 1662 #define <API key> 1663 #define MACH_TYPE_TW5334 1664 #define <API key> 1665 #define MACH_TYPE_NAL_HLITE 1666 #define MACH_TYPE_HTCVOGUE 1667 #define MACH_TYPE_SMARTWEB 1668 #define MACH_TYPE_MV86XX 1669 #define MACH_TYPE_MV87XX 1670 #define <API key> 1671 #define <API key> 1672 #define MACH_TYPE_PCM037 1673 #define MACH_TYPE_MMVP 1674 #define MACH_TYPE_MMAP 1675 #define MACH_TYPE_PTID2410 1676 #define MACH_TYPE_JAMES_926 1677 #define MACH_TYPE_FM6000 1678 #define <API key> 1680 #define <API key> 1681 #define MACH_TYPE_RD88F6281 1682 #define <API key> 1683 #define MACH_TYPE_SMDK2416 1685 #define <API key> 1686 #define <API key> 1687 #define MACH_TYPE_ROVERN6 1688 #define <API key> 1689 #define MACH_TYPE_WBD111 1690 #define MACH_TYPE_ELARACPE 1691 #define MACH_TYPE_MABV3 1692 #define MACH_TYPE_MV2120 1693 #define MACH_TYPE_CSB737 1695 #define MACH_TYPE_MX51_3DS 1696 #define MACH_TYPE_G900 1697 #define MACH_TYPE_APF27 1698 #define MACH_TYPE_GGUS2000 1699 #define <API key> 1700 #define MACH_TYPE_IMX27LITE 1701 #define MACH_TYPE_ALMEX 1702 #define MACH_TYPE_CONTROL 1703 #define MACH_TYPE_MBA2410 1704 #define MACH_TYPE_VOLCANO 1705 #define MACH_TYPE_ZENITH 1706 #define MACH_TYPE_MUCHIP 1707 #define MACH_TYPE_MAGELLAN 1708 #define MACH_TYPE_USB_A9260 1709 #define MACH_TYPE_USB_A9263 1710 #define MACH_TYPE_QIL_A9260 1711 #define MACH_TYPE_CME9210 1712 #define MACH_TYPE_HCZH4 1713 #define <API key> 1714 #define MACH_TYPE_DEP2440 1715 #define MACH_TYPE_HDL_GXR 1716 #define MACH_TYPE_HDL_GT 1717 #define MACH_TYPE_HDL_4G 1718 #define MACH_TYPE_S3C6000 1719 #define MACH_TYPE_MMSP2_MDK 1720 #define MACH_TYPE_MPX220 1721 #define <API key> 1722 #define <API key> 1723 #define <API key> 1724 #define MACH_TYPE_LG_KS20 1725 #define MACH_TYPE_HHGPS 1726 #define <API key> 1727 #define MACH_TYPE_INSIGHT 1728 #define MACH_TYPE_SAPPHIRE 1729 #define MACH_TYPE_CSB637XO 1730 #define MACH_TYPE_EVISIONG 1731 #define MACH_TYPE_STMP37XX 1732 #define MACH_TYPE_STMP378X 1733 #define MACH_TYPE_TNT 1734 #define MACH_TYPE_TBXT 1735 #define MACH_TYPE_PLAYMATE 1736 #define MACH_TYPE_PNS10 1737 #define MACH_TYPE_EZNAVI 1738 #define MACH_TYPE_PS4000 1739 #define MACH_TYPE_EZX_A780 1740 #define MACH_TYPE_EZX_E680 1741 #define MACH_TYPE_EZX_A1200 1742 #define MACH_TYPE_EZX_E6 1743 #define MACH_TYPE_EZX_E2 1744 #define MACH_TYPE_EZX_A910 1745 #define MACH_TYPE_CWMX31 1746 #define MACH_TYPE_SL2312 1747 #define MACH_TYPE_BLENNY 1748 #define MACH_TYPE_DS107 1749 #define MACH_TYPE_DSX07 1750 #define MACH_TYPE_PICOCOM1 1751 #define <API key> 1752 #define <API key> 1753 #define <API key> 1754 #define MACH_TYPE_M700 1755 #define MACH_TYPE_EDMINI_V2 1756 #define MACH_TYPE_ZIPIT2 1757 #define <API key> 1758 #define <API key> 1759 #define MACH_TYPE_SG560USB 1760 #define <API key> 1761 #define MACH_TYPE_USR8200 1762 #define MACH_TYPE_S1S65K 1763 #define MACH_TYPE_S2S65A 1764 #define MACH_TYPE_ICORE 1765 #define MACH_TYPE_MSS2 1766 #define MACH_TYPE_BELMONT 1767 #define MACH_TYPE_ASUSP525 1768 #define <API key> 1769 #define MACH_TYPE_HIPXA 1770 #define MACH_TYPE_MX25_3DS 1771 #define MACH_TYPE_M800 1772 #define <API key> 1773 #define MACH_TYPE_PRIMA_EVB 1774 #define MACH_TYPE_MX31BT1 1775 #define <API key> 1776 #define <API key> 1777 #define MACH_TYPE_MI424WR 1778 #define <API key> 1779 #define <API key> 1780 #define <API key> 1781 #define MACH_TYPE_EP9302 1782 #define <API key> 1783 #define MACH_TYPE_CYBOOK3 1784 #define MACH_TYPE_WDG002 1785 #define MACH_TYPE_SG560ADSL 1786 #define <API key> 1787 #define MACH_TYPE_DOVE_DB 1788 #define <API key> 1789 #define MACH_TYPE_VANDIHUD 1790 #define MACH_TYPE_MAGX_E8 1791 #define MACH_TYPE_MAGX_Z6 1792 #define MACH_TYPE_MAGX_V8 1793 #define MACH_TYPE_MAGX_U9 1794 #define MACH_TYPE_TOUGHCF08 1795 #define MACH_TYPE_ZW4400 1796 #define MACH_TYPE_MARAT91 1797 #define MACH_TYPE_OVERO 1798 #define MACH_TYPE_AT2440EVB 1799 #define <API key> 1800 #define MACH_TYPE_WNR854T 1801 #define MACH_TYPE_IMX27 1802 #define MACH_TYPE_MOOSE_DB 1803 #define MACH_TYPE_FAB4 1804 #define <API key> 1805 #define MACH_TYPE_FIONA 1806 #define <API key> 1807 #define MACH_TYPE_BMP1000 1808 #define MACH_TYPE_LOGI9200 1809 #define MACH_TYPE_TQMA31 1810 #define <API key> 1811 #define <API key> 1812 #define MACH_TYPE_SIFMAIN 1813 #define <API key> 1814 #define MACH_TYPE_CC9M2443 1815 #define MACH_TYPE_XARIA300 1816 #define MACH_TYPE_IT9200 1817 #define <API key> 1818 #define <API key> 1819 #define MACH_TYPE_PILZ_PMI5 1820 #define MACH_TYPE_JADE 1821 #define <API key> 1822 #define MACH_TYPE_GPRISC3 1823 #define MACH_TYPE_STAMP9G20 1824 #define MACH_TYPE_SMDK6430 1825 #define MACH_TYPE_SMDKC100 1826 #define MACH_TYPE_TAVOREVB 1827 #define MACH_TYPE_SAAR 1828 #define <API key> 1829 #define <API key> 1830 #define <API key> 1831 #define MACH_TYPE_HIT_B0 1832 #define MACH_TYPE_ADX_RMU 1833 #define <API key> 1834 #define MACH_TYPE_EDB9407A 1835 #define MACH_TYPE_DTB9608 1836 #define MACH_TYPE_EM104V1 1837 #define MACH_TYPE_DEMO 1838 #define MACH_TYPE_LOGI9260 1839 #define <API key> 1840 #define MACH_TYPE_USB_A9G20 1841 #define <API key> 1842 #define MACH_TYPE_CS_E9315 1843 #define MACH_TYPE_QIL_A9G20 1844 #define <API key> 1845 #define MACH_TYPE_NAD 1846 #define <API key> 1847 #define <API key> 1848 #define <API key> 1849 #define MACH_TYPE_UWC 1850 #define MACH_TYPE_MXLADS 1851 #define MACH_TYPE_HTCNIKE 1852 #define <API key> 1853 #define MACH_TYPE_CME9210JS 1854 #define MACH_TYPE_CC9P9360 1855 #define MACH_TYPE_MOCHA 1856 #define MACH_TYPE_WAPD170AG 1857 #define <API key> 1858 #define MACH_TYPE_AFEB9260 1859 #define MACH_TYPE_W90X900 1860 #define MACH_TYPE_W90X700 1861 #define MACH_TYPE_KT300IP 1862 #define <API key> 1863 #define MACH_TYPE_SRCM 1864 #define MACH_TYPE_WLNX_9260 1865 #define <API key> 1866 #define MACH_TYPE_OSPREY2 1867 #define MACH_TYPE_KBIO9260 1868 #define MACH_TYPE_GINZA 1869 #define MACH_TYPE_A636N 1870 #define <API key> 1871 #define MACH_TYPE_NEMOC 1872 #define MACH_TYPE_GENEVA 1873 #define MACH_TYPE_HTCPHAROS 1874 #define MACH_TYPE_NEONC 1875 #define MACH_TYPE_NAS7100 1876 #define MACH_TYPE_TEUPHONE 1877 #define <API key> 1878 #define MACH_TYPE_CSB733 1879 #define MACH_TYPE_BK3 1880 #define MACH_TYPE_OMAP_EM32 1881 #define MACH_TYPE_ET9261CP 1882 #define MACH_TYPE_JASPERC 1883 #define MACH_TYPE_ISSI_ARM9 1884 #define MACH_TYPE_UED 1885 #define MACH_TYPE_ESIBLADE 1886 #define MACH_TYPE_EYE02 1887 #define MACH_TYPE_IMX27KBD 1888 #define <API key> 1889 #define MACH_TYPE_KIXVP435 1890 #define MACH_TYPE_KIXNP435 1891 #define MACH_TYPE_AFRICA 1892 #define MACH_TYPE_NH233 1893 #define <API key> 1894 #define MACH_TYPE_BCM4760 1895 #define MACH_TYPE_EDDY_V2 1896 #define <API key> 1897 #define MACH_TYPE_HID_A7 1898 #define MACH_TYPE_HERO 1899 #define <API key> 1900 #define <API key> 1901 #define MACH_TYPE_MICRO9S 1902 #define MACH_TYPE_MAKO 1903 #define MACH_TYPE_XDAFLAME 1904 #define <API key> 1905 #define MACH_TYPE_LIMESTONE 1906 #define <API key> 1907 #define MACH_TYPE_RUT100 1908 #define MACH_TYPE_ASUSP535 1909 #define <API key> 1910 #define MACH_TYPE_SYGDG1 1911 #define MACH_TYPE_SYGDG2 1912 #define MACH_TYPE_SEOUL 1913 #define MACH_TYPE_SALERNO 1914 #define <API key> 1915 #define MACH_TYPE_MSM7201A 1916 #define MACH_TYPE_LPR1 1917 #define <API key> 1918 #define MACH_TYPE_G3EVM 1919 #define MACH_TYPE_Z3_DM355 1920 #define <API key> 1921 #define <API key> 1922 #define <API key> 1923 #define <API key> 1924 #define MACH_TYPE_CAMHD 1925 #define MACH_TYPE_MVC100 1926 #define <API key> 1927 #define MACH_TYPE_HTCJADE 1928 #define MACH_TYPE_MEMPHIS 1929 #define MACH_TYPE_IMX27SBC 1930 #define MACH_TYPE_LEXTAR 1931 #define <API key> 1932 #define MACH_TYPE_NCP 1933 #define MACH_TYPE_Z32AN 1934 #define MACH_TYPE_TMQ_CAPD 1935 #define MACH_TYPE_OMAP3_WL 1936 #define MACH_TYPE_CHUMBY 1937 #define MACH_TYPE_ATSARM9 1938 #define <API key> 1939 #define MACH_TYPE_BAHAMAS 1940 #define MACH_TYPE_DAS 1941 #define MACH_TYPE_MINIDAS 1942 #define MACH_TYPE_VK1000 1943 #define MACH_TYPE_CENTRO 1944 #define <API key> 1945 #define <API key> 1946 #define MACH_TYPE_ND27000 1947 #define <API key> 1948 #define <API key> 1949 #define <API key> 1950 #define <API key> 1951 #define MACH_TYPE_TOPAZ 1952 #define MACH_TYPE_AIXLE 1953 #define MACH_TYPE_MW998 1954 #define <API key> 1955 #define MACH_TYPE_VSC5605EV 1956 #define MACH_TYPE_NT98700DK 1957 #define MACH_TYPE_ICONTACT 1958 #define <API key> 1959 #define <API key> 1960 #define MACH_TYPE_BBOX_P16 1961 #define MACH_TYPE_BSTD 1962 #define MACH_TYPE_SBC2440II 1963 #define MACH_TYPE_PCM034 1964 #define MACH_TYPE_NESO 1965 #define MACH_TYPE_WLNX_9G20 1966 #define <API key> 1967 #define MACH_TYPE_TOTEMNOVA 1968 #define MACH_TYPE_C5000 1969 #define <API key> 1970 #define MACH_TYPE_ETHERNUT5 1971 #define MACH_TYPE_ARM11 1972 #define MACH_TYPE_CPUAT9260 1973 #define MACH_TYPE_CPUPXA255 1974 #define MACH_TYPE_CPUIMX27 1975 #define MACH_TYPE_CHEFLUX 1976 #define <API key> 1977 #define MACH_TYPE_OPCOTEC 1978 #define MACH_TYPE_YT 1979 #define MACH_TYPE_MOTOQ 1980 #define MACH_TYPE_BSB1 1981 #define MACH_TYPE_ACS5K 1982 #define MACH_TYPE_MILAN 1983 #define MACH_TYPE_QUARTZV2 1984 #define MACH_TYPE_RSVP 1985 #define MACH_TYPE_RMP200 1986 #define <API key> 1987 #define MACH_TYPE_DSM320 1988 #define MACH_TYPE_ADSGCM 1989 #define MACH_TYPE_ASE2_400 1990 #define MACH_TYPE_PIZZA 1991 #define MACH_TYPE_SPOT_NGPL 1992 #define MACH_TYPE_ARMATA 1993 #define MACH_TYPE_EXEDA 1994 #define MACH_TYPE_MX31SF005 1995 #define <API key> 1996 #define MACH_TYPE_Q2440 1997 #define MACH_TYPE_QQ2440 1998 #define MACH_TYPE_MINI2440 1999 #define <API key> 2000 #define MACH_TYPE_JADES 2001 #define MACH_TYPE_SPARK 2002 #define MACH_TYPE_BENZINA 2003 #define MACH_TYPE_BLAZE 2004 #define <API key> 2005 #define MACH_TYPE_HTCVENUS 2006 #define <API key> 2007 #define MACH_TYPE_HANLIN_V3 2008 #define MACH_TYPE_SAPPHIRA 2009 #define <API key> 2010 #define MACH_TYPE_ARMBOX 2011 #define <API key> 2012 #define MACH_TYPE_RIBALDO 2013 #define MACH_TYPE_AGORA 2014 #define <API key> 2015 #define <API key> 2016 #define MACH_TYPE_USG2410 2017 #define <API key> 2018 #define <API key> 2019 #define MACH_TYPE_TOPAS910 2020 #define MACH_TYPE_HYENA 2021 #define MACH_TYPE_POSPAX 2022 #define MACH_TYPE_HDL_GX 2023 #define <API key> 2024 #define <API key> 2025 #define <API key> 2026 #define MACH_TYPE_EGAUGE2 2027 #define MACH_TYPE_DIDJ 2028 #define MACH_TYPE_MEISTER 2029 #define <API key> 2030 #define MACH_TYPE_CPUAT9G20 2031 #define MACH_TYPE_SMDK6440 2032 #define <API key> 2033 #define <API key> 2034 #define MACH_TYPE_PVG610 2035 #define MACH_TYPE_HPRW6815 2036 #define <API key> 2037 #define MACH_TYPE_NAS4220B 2038 #define <API key> 2039 #define <API key> 2040 #define MACH_TYPE_SCALER 2041 #define MACH_TYPE_ZYLONITE2 2042 #define MACH_TYPE_ASPENITE 2043 #define MACH_TYPE_TETON 2044 #define MACH_TYPE_TTC_DKB 2045 #define MACH_TYPE_BISHOP2 2046 #define MACH_TYPE_IPPV5 2047 #define MACH_TYPE_FARM926 2048 #define MACH_TYPE_MMCCPU 2049 #define MACH_TYPE_SGMSFL 2050 #define MACH_TYPE_TT8000 2051 #define MACH_TYPE_ZRN4300LP 2052 #define MACH_TYPE_MPTC 2053 #define MACH_TYPE_H6051 2054 #define <API key> 2055 #define <API key> 2056 #define <API key> 2057 #define MACH_TYPE_TNY_A9260 2058 #define MACH_TYPE_TNY_A9G20 2059 #define <API key> 2060 #define MACH_TYPE_DX900 2061 #define MACH_TYPE_CPODC2 2062 #define MACH_TYPE_TILT_8925 2063 #define <API key> 2064 #define MACH_TYPE_SWORDFISH 2065 #define MACH_TYPE_CORVUS 2066 #define MACH_TYPE_TAURUS 2067 #define MACH_TYPE_AXM 2068 #define MACH_TYPE_AXC 2069 #define MACH_TYPE_BABY 2070 #define MACH_TYPE_MP200 2071 #define MACH_TYPE_PCM043 2072 #define <API key> 2073 #define MACH_TYPE_KBK9G20 2074 #define <API key> 2075 #define <API key> 2076 #define MACH_TYPE_SUC 2077 #define <API key> 2078 #define MACH_TYPE_MENDOZA 2079 #define MACH_TYPE_KIRA 2080 #define MACH_TYPE_MX1HBM 2081 #define <API key> 2082 #define <API key> 2083 #define MACH_TYPE_NSB400 2084 #define MACH_TYPE_DRP255 2085 #define MACH_TYPE_THOTH 2086 #define MACH_TYPE_FIRESTONE 2087 #define MACH_TYPE_ASUSP750 2088 #define MACH_TYPE_CTERA_DL 2089 #define MACH_TYPE_SOCR 2090 #define MACH_TYPE_HTCOXYGEN 2091 #define MACH_TYPE_HEROC 2092 #define MACH_TYPE_ZENO6800 2093 #define MACH_TYPE_SC2MCS 2094 #define MACH_TYPE_GENE100 2095 #define MACH_TYPE_AS353X 2096 #define <API key> 2097 #define <API key> 2098 #define <API key> 2099 #define MACH_TYPE_CC9200 2100 #define MACH_TYPE_SM9200 2101 #define MACH_TYPE_TP9200 2102 #define MACH_TYPE_SNAPPERDV 2103 #define <API key> 2104 #define <API key> 2105 #define MACH_TYPE_OMAP3AXON 2106 #define MACH_TYPE_MA8XX 2107 #define MACH_TYPE_MP201EK 2108 #define <API key> 2109 #define MACH_TYPE_MPA1600 2110 #define <API key> 2111 #define MACH_TYPE_NSB667 2112 #define <API key> 2113 #define MACH_TYPE_TWOCOM 2114 #define <API key> 2115 #define <API key> 2116 #define MACH_TYPE_AFEUSB 2117 #define MACH_TYPE_T830 2118 #define <API key> 2119 #define MACH_TYPE_OM_3D7K 2120 #define MACH_TYPE_PICOCOM2 2121 #define MACH_TYPE_UWG4MX27 2122 #define MACH_TYPE_UWG4MX31 2123 #define MACH_TYPE_CHERRY 2124 #define <API key> 2125 #define <API key> 2126 #define MACH_TYPE_TX37 2127 #define <API key> 2128 #define MACH_TYPE_BENZGLB 2129 #define MACH_TYPE_BENZTD 2130 #define <API key> 2131 #define <API key> 2132 #define <API key> 2133 #define <API key> 2134 #define <API key> 2135 #define <API key> 2136 #define MACH_TYPE_CCW9P9215 2137 #define <API key> 2138 #define MACH_TYPE_TS219 2139 #define MACH_TYPE_TNY_A9263 2140 #define MACH_TYPE_APOLLO 2141 #define <API key> 2142 #define MACH_TYPE_SPC300 2143 #define MACH_TYPE_EKO 2144 #define MACH_TYPE_CCW9M2443 2145 #define <API key> 2146 #define <API key> 2147 #define <API key> 2148 #define MACH_TYPE_PCA100 2149 #define <API key> 2150 #define MACH_TYPE_HIPOX 2151 #define <API key> 2152 #define MACH_TYPE_BM150R 2153 #define MACH_TYPE_TBONE 2154 #define MACH_TYPE_MERLIN 2155 #define MACH_TYPE_FALCON 2156 #define <API key> 2157 #define MACH_TYPE_S5P6440 2158 #define <API key> 2159 #define <API key> 2160 #define MACH_TYPE_LPC313X 2161 #define MACH_TYPE_MAGX_ZN5 2162 #define MACH_TYPE_MAGX_EM30 2163 #define MACH_TYPE_MAGX_VE66 2164 #define MACH_TYPE_MEESC 2165 #define MACH_TYPE_OTC570 2166 #define MACH_TYPE_BCU2412 2167 #define MACH_TYPE_BEACON 2168 #define MACH_TYPE_ACTIA_TGW 2169 #define MACH_TYPE_E4430 2170 #define MACH_TYPE_QL300 2171 #define MACH_TYPE_BTMAVB101 2172 #define MACH_TYPE_BTMAWB101 2173 #define MACH_TYPE_SQ201 2174 #define <API key> 2175 #define MACH_TYPE_OPENPAD 2176 #define MACH_TYPE_TX25 2177 #define <API key> 2178 #define <API key> 2179 #define MACH_TYPE_LAL43 2181 #define <API key> 2182 #define MACH_TYPE_ANW6410 2183 #define <API key> 2185 #define MACH_TYPE_CFA_10022 2186 #define <API key> 2187 #define MACH_TYPE_PX2IMX27 2188 #define <API key> 2189 #define MACH_TYPE_DVS10 2190 #define MACH_TYPE_PORTUXG20 2191 #define MACH_TYPE_ARM_SPV 2192 #define MACH_TYPE_SMDKC110 2193 #define <API key> 2194 #define MACH_TYPE_HMC800 2195 #define MACH_TYPE_SHOLES 2196 #define MACH_TYPE_BTMXC31 2197 #define MACH_TYPE_DT501 2198 #define MACH_TYPE_KTX 2199 #define <API key> 2200 #define <API key> 2201 #define <API key> 2202 #define MACH_TYPE_D2NET_V2 2203 #define <API key> 2204 #define <API key> 2205 #define <API key> 2206 #define MACH_TYPE_ENDB2443 2207 #define <API key> 2208 #define MACH_TYPE_TROS 2209 #define <API key> 2210 #define MACH_TYPE_OFSP8 2211 #define <API key> 2212 #define MACH_TYPE_GUF_CUPID 2213 #define MACH_TYPE_EAB1R 2214 #define MACH_TYPE_DESIREC 2215 #define MACH_TYPE_CORDOBA 2216 #define MACH_TYPE_IRVINE 2217 #define MACH_TYPE_SFF772 2218 #define <API key> 2219 #define MACH_TYPE_PC7302 2220 #define MACH_TYPE_BIP6000 2221 #define <API key> 2222 #define MACH_TYPE_VC0830 2223 #define MACH_TYPE_DT430 2224 #define MACH_TYPE_JI42PF 2225 #define MACH_TYPE_GNET_KSM 2226 #define MACH_TYPE_GNET_SGM 2227 #define MACH_TYPE_GNET_SGR 2228 #define <API key> 2229 #define MACH_TYPE_PNP 2230 #define <API key> 2231 #define <API key> 2232 #define MACH_TYPE_SAS_C 2233 #define MACH_TYPE_VMA2315 2234 #define MACH_TYPE_VCS 2235 #define MACH_TYPE_SPEAR600 2236 #define MACH_TYPE_SPEAR300 2237 #define MACH_TYPE_SPEAR1300 2238 #define MACH_TYPE_LILLY1131 2239 #define <API key> 2240 #define MACH_TYPE_MAPPHONE 2241 #define MACH_TYPE_LEGEND 2242 #define MACH_TYPE_SALSA 2243 #define MACH_TYPE_LOUNGE 2244 #define MACH_TYPE_VISION 2245 #define MACH_TYPE_VMB20 2246 #define MACH_TYPE_HY2410 2247 #define MACH_TYPE_HY9315 2248 #define <API key> 2249 #define <API key> 2250 #define MACH_TYPE_VS_V210 2252 #define MACH_TYPE_VS_V212 2253 #define MACH_TYPE_HMT 2254 #define MACH_TYPE_SUEN3 2255 #define MACH_TYPE_VESPER 2256 #define MACH_TYPE_STR9 2257 #define <API key> 2258 #define MACH_TYPE_SIMCOM 2259 #define MACH_TYPE_MCWEBIO 2260 #define <API key> 2261 #define MACH_TYPE_DARWIN 2262 #define <API key> 2263 #define MACH_TYPE_RTSBC20 2264 #define MACH_TYPE_I780 2265 #define MACH_TYPE_GEMINI324 2266 #define MACH_TYPE_ORATISLAN 2267 #define <API key> 2268 #define <API key> 2269 #define <API key> 2270 #define <API key> 2271 #define MACH_TYPE_VEXPRESS 2272 #define MACH_TYPE_SINTEXO 2273 #define MACH_TYPE_CM3389 2274 #define MACH_TYPE_OMAP3_CIO 2275 #define MACH_TYPE_SGH_I900 2276 #define MACH_TYPE_BST100 2277 #define MACH_TYPE_PASSION 2278 #define <API key> 2279 #define MACH_TYPE_C4_BADGER 2280 #define MACH_TYPE_C4_VIPER 2281 #define MACH_TYPE_D2NET 2282 #define MACH_TYPE_BIGDISK 2283 #define <API key> 2284 #define <API key> 2285 #define MACH_TYPE_CYCLONE 2286 #define MACH_TYPE_NINJA 2287 #define <API key> 2288 #define MACH_TYPE_BCMRING 2289 #define MACH_TYPE_RESOL_DL2 2290 #define MACH_TYPE_IFOSW 2291 #define <API key> 2292 #define MACH_TYPE_HTCTOPAZ 2293 #define MACH_TYPE_MATRIX504 2294 #define MACH_TYPE_MRFSA 2295 #define MACH_TYPE_SC_P270 2296 #define <API key> 2297 #define <API key> 2298 #define <API key> 2299 #define MACH_TYPE_LEONARDO 2300 #define <API key> 2301 #define MACH_TYPE_DP6XX 2302 #define <API key> 2303 #define MACH_TYPE_MAHIMAHI 2304 #define MACH_TYPE_CLICKC 2305 #define <API key> 2306 #define MACH_TYPE_TAZCARD 2307 #define MACH_TYPE_TAZDEV 2308 #define <API key> 2309 #define MACH_TYPE_ANNAX_DM3 2310 #define MACH_TYPE_CEREBRIC 2311 #define MACH_TYPE_ORCA 2312 #define MACH_TYPE_PC9260 2313 #define MACH_TYPE_EMS285A 2314 #define MACH_TYPE_GEC2410 2315 #define MACH_TYPE_GEC2440 2316 #define <API key> 2317 #define MACH_TYPE_MW2440 2318 #define MACH_TYPE_ECAC2378 2319 #define MACH_TYPE_TAZKIOSK 2320 #define <API key> 2321 #define MACH_TYPE_SBOX9263 2322 #define MACH_TYPE_OREO 2323 #define MACH_TYPE_SMDK6442 2324 #define <API key> 2325 #define <API key> 2326 #define <API key> 2327 #define MACH_TYPE_HEROCT 2328 #define MACH_TYPE_MMNET1000 2329 #define <API key> 2330 #define <API key> 2331 #define MACH_TYPE_MX31TXTR 2332 #define MACH_TYPE_U380 2333 #define <API key> 2334 #define MACH_TYPE_NPCMX50 2335 #define <API key> 2336 #define <API key> 2337 #define MACH_TYPE_RIOM 2338 #define MACH_TYPE_COMCAS 2339 #define MACH_TYPE_WSI_MX27 2340 #define MACH_TYPE_CM_T35 2341 #define MACH_TYPE_NET2BIG 2342 #define <API key> 2343 #define MACH_TYPE_IGEP0020 2344 #define MACH_TYPE_IGEP0010 2345 #define <API key> 2346 #define MACH_TYPE_SCAT100 2347 #define MACH_TYPE_SANMINA 2348 #define MACH_TYPE_MOMENTO 2349 #define MACH_TYPE_NUC9XX 2350 #define MACH_TYPE_NUC910EVB 2351 #define MACH_TYPE_NUC920EVB 2352 #define MACH_TYPE_NUC950EVB 2353 #define MACH_TYPE_NUC945EVB 2354 #define MACH_TYPE_NUC960EVB 2355 #define MACH_TYPE_NUC932EVB 2356 #define MACH_TYPE_NUC900 2357 #define MACH_TYPE_SD1SOC 2358 #define MACH_TYPE_LN2440BC 2359 #define MACH_TYPE_RSBC 2360 #define <API key> 2361 #define MACH_TYPE_HPIPAQ11X 2362 #define MACH_TYPE_WAYLAND 2363 #define MACH_TYPE_ACNBSX102 2364 #define MACH_TYPE_HWAT91 2365 #define <API key> 2366 #define MACH_TYPE_CSB732 2367 #define MACH_TYPE_U8500 2368 #define MACH_TYPE_HUQIU 2369 #define <API key> 2370 #define MACH_TYPE_PMT1G 2371 #define MACH_TYPE_HTCELF 2372 #define <API key> 2373 #define <API key> 2374 #define <API key> 2375 #define MACH_TYPE_CSR_BDB3 2376 #define <API key> 2377 #define MACH_TYPE_HY9307 2378 #define MACH_TYPE_A_ES 2379 #define <API key> 2380 #define MACH_TYPE_AGAMA9263 2381 #define <API key> 2382 #define MACH_TYPE_FLINT 2383 #define MACH_TYPE_TAVOREVB3 2384 #define MACH_TYPE_SCH_M490 2386 #define MACH_TYPE_RBL01 2387 #define MACH_TYPE_OMNIFI 2388 #define MACH_TYPE_OTAVALO 2389 #define MACH_TYPE_SIENNA 2390 #define <API key> 2391 #define MACH_TYPE_HTC_OPAL 2392 #define MACH_TYPE_TOUCHBOOK 2393 #define MACH_TYPE_LATTE 2394 #define MACH_TYPE_XA200 2395 #define MACH_TYPE_NIMROD 2396 #define <API key> 2397 #define <API key> 2398 #define MACH_TYPE_TK71 2399 #define <API key> 2400 #define <API key> 2401 #define MACH_TYPE_MCARDMX27 2402 #define MACH_TYPE_PARADISE 2403 #define MACH_TYPE_TIDE 2404 #define MACH_TYPE_WZL2440 2405 #define MACH_TYPE_SDRDEMO 2406 #define MACH_TYPE_ETHERCAN2 2407 #define MACH_TYPE_ECMIMG20 2408 #define <API key> 2409 #define MACH_TYPE_HALO 2410 #define MACH_TYPE_HUANGSHAN 2411 #define MACH_TYPE_VL_MA2SC 2412 #define <API key> 2413 #define <API key> 2414 #define <API key> 2415 #define <API key> 2416 #define <API key> 2417 #define MACH_TYPE_TNETV107X 2418 #define MACH_TYPE_SNAKE 2419 #define MACH_TYPE_CWMX27 2420 #define MACH_TYPE_SCH_M480 2421 #define MACH_TYPE_PLATYPUS 2422 #define MACH_TYPE_PSS2 2423 #define <API key> 2424 #define MACH_TYPE_STR9100 2425 #define MACH_TYPE_NET5BIG 2426 #define <API key> 2427 #define MACH_TYPE_MX51_M2ID 2428 #define <API key> 2429 #define <API key> 2430 #define <API key> 2431 #define <API key> 2432 #define <API key> 2433 #define MACH_TYPE_LIBERTY 2434 #define MACH_TYPE_MH355 2435 #define MACH_TYPE_PC7802 2436 #define MACH_TYPE_GNET_SGC 2437 #define <API key> 2438 #define MACH_TYPE_CMPD 2439 #define <API key> 2440 #define <API key> 2441 #define MACH_TYPE_EA313X 2442 #define <API key> 2443 #define <API key> 2444 #define MACH_TYPE_PELCO_MOE 2445 #define MACH_TYPE_MINIMIX27 2446 #define <API key> 2447 #define MACH_TYPE_PASSIONC 2448 #define MACH_TYPE_MX27AMATA 2449 #define MACH_TYPE_BGAT1 2450 #define MACH_TYPE_BUZZ 2451 #define MACH_TYPE_MB9G20 2452 #define MACH_TYPE_YUSHAN 2453 #define MACH_TYPE_LIZARD 2454 #define <API key> 2455 #define MACH_TYPE_SMDKV210 2456 #define MACH_TYPE_BRAVO 2457 #define <API key> 2458 #define <API key> 2459 #define MACH_TYPE_SM3K 2460 #define <API key> 2461 #define <API key> 2462 #define <API key> 2463 #define <API key> 2464 #define <API key> 2465 #define <API key> 2466 #define MACH_TYPE_TORINO_S 2467 #define MACH_TYPE_HAVANA 2468 #define <API key> 2469 #define MACH_TYPE_VANGUARD 2470 #define <API key> 2471 #define <API key> 2472 #define MACH_TYPE_ASTER 2473 #define <API key> 2474 #define MACH_TYPE_ACM500X 2475 #define MACH_TYPE_KM9260 2476 #define <API key> 2477 #define <API key> 2478 #define MACH_TYPE_SMARTQ7 2479 #define <API key> 2480 #define MACH_TYPE_ASUSP527 2481 #define <API key> 2482 #define MACH_TYPE_TOPASA900 2483 #define <API key> 2484 #define MACH_TYPE_MX51GRB 2485 #define MACH_TYPE_XEA300 2486 #define <API key> 2487 #define MACH_TYPE_LIMA 2488 #define MACH_TYPE_CSB740 2489 #define MACH_TYPE_USB_S8815 2490 #define <API key> 2491 #define MACH_TYPE_MILKYWAY 2492 #define MACH_TYPE_G4EVM 2493 #define MACH_TYPE_PICOMOD6 2494 #define <API key> 2495 #define MACH_TYPE_IP6000 2496 #define MACH_TYPE_IP6010 2497 #define MACH_TYPE_UTM400 2498 #define <API key> 2499 #define <API key> 2500 #define MACH_TYPE_SX560 2501 #define MACH_TYPE_TS41X 2502 #define <API key> 2503 #define MACH_TYPE_RHOBOT 2504 #define <API key> 2505 #define MACH_TYPE_LS9260 2506 #define MACH_TYPE_SHANK 2507 #define <API key> 2508 #define <API key> 2509 #define MACH_TYPE_HIRAM 2510 #define MACH_TYPE_PHY3250 2511 #define MACH_TYPE_EA3250 2512 #define MACH_TYPE_FDI3250 2513 #define <API key> 2514 #define <API key> 2515 #define MACH_TYPE_CCMX51 2516 #define MACH_TYPE_CCMX51JS 2517 #define MACH_TYPE_CCWMX51 2518 #define MACH_TYPE_CCWMX51JS 2519 #define MACH_TYPE_MINI6410 2520 #define MACH_TYPE_TINY6410 2521 #define MACH_TYPE_NANO6410 2522 #define <API key> 2523 #define MACH_TYPE_HTCLEO 2524 #define MACH_TYPE_AVP13 2525 #define MACH_TYPE_XXSVIDEOD 2526 #define MACH_TYPE_VPNEXT 2527 #define <API key> 2528 #define MACH_TYPE_TX51 2529 #define <API key> 2530 #define MACH_TYPE_MX28EVK 2531 #define <API key> 2532 #define <API key> 2533 #define MACH_TYPE_SMARTQ5 2534 #define MACH_TYPE_ALL3078 2535 #define <API key> 2536 #define <API key> 2537 #define MACH_TYPE_EPB5000 2538 #define MACH_TYPE_HY9263 2539 #define <API key> 2540 #define <API key> 2541 #define <API key> 2542 #define <API key> 2543 #define <API key> 2544 #define MACH_TYPE_BONNELL 2545 #define MACH_TYPE_OHT_MX27 2546 #define MACH_TYPE_HTCQUARTZ 2547 #define <API key> 2548 #define MACH_TYPE_C3AX03 2549 #define MACH_TYPE_MXT_TD60 2550 #define MACH_TYPE_ESYX 2551 #define MACH_TYPE_DOVE_DB2 2552 #define MACH_TYPE_BULLDOG 2553 #define <API key> 2554 #define <API key> 2555 #define <API key> 2556 #define <API key> 2557 #define <API key> 2558 #define <API key> 2559 #define <API key> 2560 #define <API key> 2561 #define <API key> 2562 #define <API key> 2563 #define <API key> 2564 #define <API key> 2565 #define MACH_TYPE_ACER_S200 2566 #define MACH_TYPE_BT270 2567 #define MACH_TYPE_ISEO 2568 #define MACH_TYPE_CEZANNE 2569 #define MACH_TYPE_LUCCA 2570 #define <API key> 2571 #define MACH_TYPE_CS_MISANO 2572 #define MACH_TYPE_MAGNOLIA2 2573 #define MACH_TYPE_EMXX 2574 #define MACH_TYPE_OUTLAW 2575 #define MACH_TYPE_RIOT_BEI2 2576 #define MACH_TYPE_RIOT_VOX 2577 #define MACH_TYPE_RIOT_X37 2578 #define MACH_TYPE_MEGA25MX 2579 #define MACH_TYPE_BENZINA2 2580 #define MACH_TYPE_IGNITE 2581 #define MACH_TYPE_FOGGIA 2582 #define MACH_TYPE_AREZZO 2583 #define <API key> 2584 #define <API key> 2585 #define MACH_TYPE_GTS_NOVA 2586 #define MACH_TYPE_P3600 2587 #define MACH_TYPE_DLT2 2588 #define MACH_TYPE_DF3120 2589 #define <API key> 2590 #define <API key> 2591 #define MACH_TYPE_GLACIER 2592 #define <API key> 2593 #define <API key> 2594 #define MACH_TYPE_PCA101 2595 #define MACH_TYPE_BUZZC 2596 #define MACH_TYPE_SASIE2 2597 #define <API key> 2598 #define <API key> 2599 #define MACH_TYPE_WZL6410 2600 #define MACH_TYPE_WZL6410M 2601 #define MACH_TYPE_WZL6410F 2602 #define MACH_TYPE_WZL6410I 2603 #define MACH_TYPE_SPACECOM1 2604 #define MACH_TYPE_PINGU920 2605 #define MACH_TYPE_BRAVOC 2606 #define MACH_TYPE_CYBO2440 2607 #define MACH_TYPE_VDSSW 2608 #define MACH_TYPE_ROMULUS 2609 #define <API key> 2610 #define MACH_TYPE_ELTD100 2611 #define MACH_TYPE_CAPC7117 2612 #define MACH_TYPE_SWAN 2613 #define MACH_TYPE_VEU 2614 #define MACH_TYPE_RM2 2615 #define MACH_TYPE_TT2100 2616 #define MACH_TYPE_VENICE 2617 #define MACH_TYPE_PC7323 2618 #define MACH_TYPE_MASP 2619 #define <API key> 2620 #define <API key> 2621 #define MACH_TYPE_LEXIKON 2622 #define <API key> 2623 #define MACH_TYPE_ICONTROL 2624 #define MACH_TYPE_SHEEVAD 2625 #define <API key> 2626 #define <API key> 2627 #define MACH_TYPE_BEE 2628 #define MACH_TYPE_MX23EVK 2629 #define MACH_TYPE_AP4EVB 2630 #define MACH_TYPE_STOCKHOLM 2631 #define MACH_TYPE_LPC_H3131 2632 #define MACH_TYPE_STINGRAY 2633 #define MACH_TYPE_KRAKEN 2634 #define MACH_TYPE_GW2388 2635 #define MACH_TYPE_JADECPU 2636 #define MACH_TYPE_CARLISLE 2637 #define MACH_TYPE_LUX_SFT9 2638 #define MACH_TYPE_NEMID_TB 2639 #define MACH_TYPE_TERRIER 2640 #define MACH_TYPE_TURBOT 2641 #define MACH_TYPE_SANDDAB 2642 #define <API key> 2643 #define MACH_TYPE_GHI2703D 2644 #define MACH_TYPE_LUX_SFX9 2645 #define MACH_TYPE_LUX_SF9G 2646 #define MACH_TYPE_LUX_EDK9 2647 #define MACH_TYPE_HW90240 2648 #define <API key> 2649 #define <API key> 2650 #define MACH_TYPE_SCAT110 2651 #define MACH_TYPE_ACER_A1 2652 #define MACH_TYPE_CMCONTROL 2653 #define <API key> 2654 #define MACH_TYPE_RFP43 2655 #define MACH_TYPE_SK86R0301 2656 #define MACH_TYPE_CTPXA 2657 #define <API key> 2658 #define MACH_TYPE_GURUPLUG 2659 #define MACH_TYPE_SPEAR310 2660 #define MACH_TYPE_SPEAR320 2661 #define MACH_TYPE_ROBOTX 2662 #define MACH_TYPE_LSXHL 2663 #define MACH_TYPE_SMARTLITE 2664 #define MACH_TYPE_CWS2 2665 #define MACH_TYPE_M619 2666 #define MACH_TYPE_SMARTVIEW 2667 #define MACH_TYPE_LSA_SALSA 2668 #define MACH_TYPE_KIZBOX 2669 #define <API key> 2670 #define <API key> 2671 #define MACH_TYPE_PM9G45 2672 #define <API key> 2673 #define <API key> 2674 #define MACH_TYPE_REB01 2675 #define MACH_TYPE_AQUILA 2676 #define <API key> 2677 #define <API key> 2678 #define <API key> 2679 #define MACH_TYPE_MICRO2440 2680 #define MACH_TYPE_AM2440 2681 #define MACH_TYPE_TQ2440 2682 #define <API key> 2683 #define MACH_TYPE_AK880X 2684 #define MACH_TYPE_COBRA3530 2685 #define MACH_TYPE_PMPPB 2686 #define MACH_TYPE_U6715 2687 #define <API key> 2688 #define MACH_TYPE_G30_DVB 2689 #define MACH_TYPE_VC088X 2690 #define MACH_TYPE_MIOA702 2691 #define MACH_TYPE_HPMIN 2692 #define MACH_TYPE_AK880XAK 2693 #define <API key> 2694 #define MACH_TYPE_LKEVM 2695 #define MACH_TYPE_MW6410 2696 #define <API key> 2697 #define MACH_TYPE_CPU8000E 2698 #define MACH_TYPE_CATANIA 2699 #define MACH_TYPE_TOKYO 2700 #define <API key> 2701 #define <API key> 2702 #define <API key> 2703 #define <API key> 2704 #define <API key> 2705 #define <API key> 2706 #define <API key> 2707 #define <API key> 2708 #define <API key> 2709 #define <API key> 2710 #define <API key> 2711 #define <API key> 2712 #define <API key> 2713 #define <API key> 2714 #define MACH_TYPE_MOBIKT 2715 #define MACH_TYPE_MX53_EVK 2716 #define MACH_TYPE_IGEP0030 2717 #define <API key> 2718 #define MACH_TYPE_DTCOMMOD 2719 #define MACH_TYPE_GOULD 2720 #define MACH_TYPE_SIBERIA 2721 #define MACH_TYPE_SBC3530 2722 #define MACH_TYPE_QARM 2723 #define MACH_TYPE_MIPS 2724 #define MACH_TYPE_MX27GRB 2725 #define MACH_TYPE_SBC8100 2726 #define MACH_TYPE_SAARB 2727 #define MACH_TYPE_OMAP3MINI 2728 #define <API key> 2729 #define MACH_TYPE_CATAN 2730 #define MACH_TYPE_HARMONY 2731 #define MACH_TYPE_TONGA 2732 #define <API key> 2733 #define <API key> 2734 #define MACH_TYPE_EPC_G45 2735 #define <API key> 2736 #define <API key> 2737 #define MACH_TYPE_RTW1000 2738 #define MACH_TYPE_BOBCAT 2739 #define MACH_TYPE_TRIZEPS6 2740 #define <API key> 2741 #define MACH_TYPE_NEDAP9263 2742 #define <API key> 2743 #define MACH_TYPE_BMX 2744 #define MACH_TYPE_NETSTREAM 2745 #define <API key> 2746 #define <API key> 2747 #define <API key> 2748 #define MACH_TYPE_SGARM10 2749 #define MACH_TYPE_CM_T3517 2750 #define MACH_TYPE_OMAP3_CPS 2751 #define <API key> 2752 #define MACH_TYPE_WBD222 2753 #define MACH_TYPE_MT65XX 2754 #define <API key> 2755 #define <API key> 2756 #define MACH_TYPE_VMC300 2757 #define <API key> 2758 #define MACH_TYPE_NANOS 2759 #define MACH_TYPE_STAMP9G10 2760 #define MACH_TYPE_STAMP9G45 2761 #define MACH_TYPE_H6053 2762 #define MACH_TYPE_SMINT01 2763 #define MACH_TYPE_PRTLVT2 2764 #define MACH_TYPE_AP420 2765 #define MACH_TYPE_HTCSHIFT 2766 #define <API key> 2767 #define <API key> 2768 #define <API key> 2769 #define <API key> 2770 #define MACH_TYPE_SBC35 2771 #define MACH_TYPE_MPX6446 2772 #define <API key> 2773 #define <API key> 2774 #define <API key> 2775 #define MACH_TYPE_CNS3420VB 2776 #define MACH_TYPE_LPC2 2777 #define MACH_TYPE_OLYMPUS 2778 #define MACH_TYPE_VORTEX 2779 #define MACH_TYPE_S5PC200 2780 #define <API key> 2781 #define MACH_TYPE_SMDKC200 2782 #define <API key> 2783 #define <API key> 2784 #define MACH_TYPE_SONGSHAN 2785 #define MACH_TYPE_TIANSHAN 2786 #define MACH_TYPE_VPX500 2787 #define MACH_TYPE_AM3517SAM 2788 #define <API key> 2789 #define <API key> 2790 #define <API key> 2791 #define MACH_TYPE_DF7220 2792 #define MACH_TYPE_NEMINI 2793 #define MACH_TYPE_T8200 2794 #define MACH_TYPE_APF51 2795 #define <API key> 2796 #define MACH_TYPE_BORDEAUX 2797 #define MACH_TYPE_CATANIA_B 2798 #define <API key> 2799 #define MACH_TYPE_TI8168EVM 2800 #define <API key> 2801 #define <API key> 2802 #define MACH_TYPE_DBPS 2803 #define MACH_TYPE_SBC9261 2804 #define MACH_TYPE_PCBFP0001 2805 #define MACH_TYPE_SPEEDY 2806 #define MACH_TYPE_CHRYSAOR 2807 #define MACH_TYPE_TANGO 2808 #define <API key> 2809 #define <API key> 2810 #define MACH_TYPE_HANLIN_V5 2811 #define <API key> 2812 #define <API key> 2813 #define <API key> 2814 #define <API key> 2815 #define MACH_TYPE_TETON_BGA 2816 #define <API key> 2817 #define MACH_TYPE_TAM3517 2818 #define MACH_TYPE_PDC100 2819 #define <API key> 2820 #define <API key> 2821 #define <API key> 2822 #define <API key> 2823 #define MACH_TYPE_P565 2824 #define MACH_TYPE_ACER_A4 2825 #define <API key> 2826 #define MACH_TYPE_ESHARE 2827 #define <API key> 2828 #define MACH_TYPE_WLBARGN 2829 #define MACH_TYPE_BM170 2830 #define <API key> 2831 #define <API key> 2832 #define <API key> 2833 #define MACH_TYPE_ELV_LCU1 2834 #define MACH_TYPE_MCU1 2835 #define <API key> 2836 #define <API key> 2837 #define MACH_TYPE_SMDKC210 2838 #define <API key> 2839 #define MACH_TYPE_SPYPLUG 2840 #define MACH_TYPE_GINGER 2841 #define MACH_TYPE_TNY_T3530 2842 #define MACH_TYPE_PCA102 2843 #define MACH_TYPE_SPADE 2844 #define <API key> 2845 #define MACH_TYPE_T5325 2846 #define MACH_TYPE_GW2361 2847 #define MACH_TYPE_ELOG 2848 #define MACH_TYPE_INCOME 2849 #define MACH_TYPE_BCM589X 2850 #define MACH_TYPE_ETNA 2851 #define MACH_TYPE_HAWKS 2852 #define MACH_TYPE_MESON 2853 #define MACH_TYPE_XSBASE255 2854 #define MACH_TYPE_PVM2030 2855 #define MACH_TYPE_MIOA502 2856 #define <API key> 2857 #define <API key> 2858 #define <API key> 2859 #define <API key> 2860 #define MACH_TYPE_MX257SX 2861 #define MACH_TYPE_GONI 2862 #define <API key> 2863 #define <API key> 2864 #define MACH_TYPE_QUICKSTEP 2865 #define MACH_TYPE_DMW96 2866 #define <API key> 2867 #define MACH_TYPE_TRIDENT 2868 #define MACH_TYPE_LIGHTNING 2869 #define MACH_TYPE_ICONNECT 2870 #define MACH_TYPE_AUTOBOT 2871 #define MACH_TYPE_COCONUT 2872 #define MACH_TYPE_DURIAN 2873 #define MACH_TYPE_CAYENNE 2874 #define MACH_TYPE_FUJI 2875 #define <API key> 2876 #define MACH_TYPE_EM1SY 2877 #define MACH_TYPE_M502 2878 #define MACH_TYPE_MATRIX518 2879 #define <API key> 2880 #define MACH_TYPE_SPEAR1310 2881 #define MACH_TYPE_GODBOX 8000 #define MACH_TYPE_GODBOX_V1 8000 #define MACH_TYPE_GODEYES 8000 #define MACH_TYPE_GODNET 8000 #define MACH_TYPE_GODCUBE 8000 #define MACH_TYPE_GODARM 8000 #define MACH_TYPE_HI3518 8000 #define MACH_TYPE_HI3520D 8000 #define MACH_TYPE_HI3535 8000 #define MACH_TYPE_HI3516A 8000 #define MACH_TYPE_HI3536 8000 #define MACH_TYPE_HI3521A 8000 #define <API key> 8000 #define MACH_TYPE_HI3531A 8000 #ifdef CONFIG_ARCH_EBSA110 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EBSA110 # endif # define machine_is_ebsa110() (machine_arch_type == MACH_TYPE_EBSA110) #else # define machine_is_ebsa110() (0) #endif #ifdef CONFIG_ARCH_RPC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RISCPC # endif # define machine_is_riscpc() (machine_arch_type == MACH_TYPE_RISCPC) #else # define machine_is_riscpc() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NEXUSPCI # endif # define machine_is_nexuspci() (machine_arch_type == MACH_TYPE_NEXUSPCI) #else # define machine_is_nexuspci() (0) #endif #ifdef CONFIG_ARCH_EBSA285 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EBSA285 # endif # define machine_is_ebsa285() (machine_arch_type == MACH_TYPE_EBSA285) #else # define machine_is_ebsa285() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NETWINDER # endif # define <API key>() (machine_arch_type == MACH_TYPE_NETWINDER) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_CATS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CATS # endif # define machine_is_cats() (machine_arch_type == MACH_TYPE_CATS) #else # define machine_is_cats() (0) #endif #ifdef CONFIG_ARCH_TBOX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TBOX # endif # define machine_is_tbox() (machine_arch_type == MACH_TYPE_TBOX) #else # define machine_is_tbox() (0) #endif #ifdef CONFIG_ARCH_CO285 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CO285 # endif # define machine_is_co285() (machine_arch_type == MACH_TYPE_CO285) #else # define machine_is_co285() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CLPS7110 # endif # define machine_is_clps7110() (machine_arch_type == MACH_TYPE_CLPS7110) #else # define machine_is_clps7110() (0) #endif #ifdef CONFIG_ARCH_ARC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_A5K # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_A5K # endif # define machine_is_a5k() (machine_arch_type == MACH_TYPE_A5K) #else # define machine_is_a5k() (0) #endif #ifdef CONFIG_ARCH_ETOILE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ETOILE # endif # define machine_is_etoile() (machine_arch_type == MACH_TYPE_ETOILE) #else # define machine_is_etoile() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LACIE_NAS # endif # define <API key>() (machine_arch_type == MACH_TYPE_LACIE_NAS) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CLPS7500 # endif # define machine_is_clps7500() (machine_arch_type == MACH_TYPE_CLPS7500) #else # define machine_is_clps7500() (0) #endif #ifdef CONFIG_ARCH_SHARK # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SHARK # endif # define machine_is_shark() (machine_arch_type == MACH_TYPE_SHARK) #else # define machine_is_shark() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BRUTUS # endif # define machine_is_brutus() (machine_arch_type == MACH_TYPE_BRUTUS) #else # define machine_is_brutus() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_SA1100_ITSY # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ITSY # endif # define machine_is_itsy() (machine_arch_type == MACH_TYPE_ITSY) #else # define machine_is_itsy() (0) #endif #ifdef CONFIG_ARCH_L7200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_L7200 # endif # define machine_is_l7200() (machine_arch_type == MACH_TYPE_L7200) #else # define machine_is_l7200() (0) #endif #ifdef CONFIG_SA1100_PLEB # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PLEB # endif # define machine_is_pleb() (machine_arch_type == MACH_TYPE_PLEB) #else # define machine_is_pleb() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_SA1100_H3600 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_H3600 # endif # define machine_is_h3600() (machine_arch_type == MACH_TYPE_H3600) #else # define machine_is_h3600() (0) #endif #ifdef CONFIG_ARCH_IXP1200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IXP1200 # endif # define machine_is_ixp1200() (machine_arch_type == MACH_TYPE_IXP1200) #else # define machine_is_ixp1200() (0) #endif #ifdef CONFIG_ARCH_P720T # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_P720T # endif # define machine_is_p720t() (machine_arch_type == MACH_TYPE_P720T) #else # define machine_is_p720t() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ASSABET # endif # define machine_is_assabet() (machine_arch_type == MACH_TYPE_ASSABET) #else # define machine_is_assabet() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VICTOR # endif # define machine_is_victor() (machine_arch_type == MACH_TYPE_VICTOR) #else # define machine_is_victor() (0) #endif #ifdef CONFIG_SA1100_LART # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LART # endif # define machine_is_lart() (machine_arch_type == MACH_TYPE_LART) #else # define machine_is_lart() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RANGER # endif # define machine_is_ranger() (machine_arch_type == MACH_TYPE_RANGER) #else # define machine_is_ranger() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_SA1100_XP860 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_XP860 # endif # define machine_is_xp860() (machine_arch_type == MACH_TYPE_XP860) #else # define machine_is_xp860() (0) #endif #ifdef CONFIG_SA1100_CERF # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CERF # endif # define machine_is_cerf() (machine_arch_type == MACH_TYPE_CERF) #else # define machine_is_cerf() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_SA1100_FPIC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FPIC # endif # define machine_is_fpic() (machine_arch_type == MACH_TYPE_FPIC) #else # define machine_is_fpic() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EXTENEX1 # endif # define machine_is_extenex1() (machine_arch_type == MACH_TYPE_EXTENEX1) #else # define machine_is_extenex1() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SHERMAN # endif # define machine_is_sherman() (machine_arch_type == MACH_TYPE_SHERMAN) #else # define machine_is_sherman() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NETPORT # endif # define machine_is_netport() (machine_arch_type == MACH_TYPE_NETPORT) #else # define machine_is_netport() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PANGOLIN # endif # define machine_is_pangolin() (machine_arch_type == MACH_TYPE_PANGOLIN) #else # define machine_is_pangolin() (0) #endif #ifdef CONFIG_SA1100_YOPY # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_YOPY # endif # define machine_is_yopy() (machine_arch_type == MACH_TYPE_YOPY) #else # define machine_is_yopy() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_COOLIDGE # endif # define machine_is_coolidge() (machine_arch_type == MACH_TYPE_COOLIDGE) #else # define machine_is_coolidge() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_SPOTME # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SPOTME # endif # define machine_is_spotme() (machine_arch_type == MACH_TYPE_SPOTME) #else # define machine_is_spotme() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FREEBIRD # endif # define machine_is_freebird() (machine_arch_type == MACH_TYPE_FREEBIRD) #else # define machine_is_freebird() (0) #endif #ifdef CONFIG_ARCH_TI925 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TI925 # endif # define machine_is_ti925() (machine_arch_type == MACH_TYPE_TI925) #else # define machine_is_ti925() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_SA1100_CAVY # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CAVY # endif # define machine_is_cavy() (machine_arch_type == MACH_TYPE_CAVY) #else # define machine_is_cavy() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OMNIMETER # endif # define <API key>() (machine_arch_type == MACH_TYPE_OMNIMETER) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_EDB7211 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EDB7211 # endif # define machine_is_edb7211() (machine_arch_type == MACH_TYPE_EDB7211) #else # define machine_is_edb7211() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CITYGO # endif # define machine_is_citygo() (machine_arch_type == MACH_TYPE_CITYGO) #else # define machine_is_citygo() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PFS168 # endif # define machine_is_pfs168() (machine_arch_type == MACH_TYPE_PFS168) #else # define machine_is_pfs168() (0) #endif #ifdef CONFIG_SA1100_SPOT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SPOT # endif # define machine_is_spot() (machine_arch_type == MACH_TYPE_SPOT) #else # define machine_is_spot() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FLEXANET # endif # define machine_is_flexanet() (machine_arch_type == MACH_TYPE_FLEXANET) #else # define machine_is_flexanet() (0) #endif #ifdef CONFIG_ARCH_WEBPAL # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WEBPAL # endif # define machine_is_webpal() (machine_arch_type == MACH_TYPE_WEBPAL) #else # define machine_is_webpal() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LINPDA # endif # define machine_is_linpda() (machine_arch_type == MACH_TYPE_LINPDA) #else # define machine_is_linpda() (0) #endif #ifdef CONFIG_ARCH_ANAKIN # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ANAKIN # endif # define machine_is_anakin() (machine_arch_type == MACH_TYPE_ANAKIN) #else # define machine_is_anakin() (0) #endif #ifdef CONFIG_SA1100_MVI # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MVI # endif # define machine_is_mvi() (machine_arch_type == MACH_TYPE_MVI) #else # define machine_is_mvi() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_JUPITER # endif # define machine_is_jupiter() (machine_arch_type == MACH_TYPE_JUPITER) #else # define machine_is_jupiter() (0) #endif #ifdef CONFIG_ARCH_PSIONW # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PSIONW # endif # define machine_is_psionw() (machine_arch_type == MACH_TYPE_PSIONW) #else # define machine_is_psionw() (0) #endif #ifdef CONFIG_SA1100_ALN # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ALN # endif # define machine_is_aln() (machine_arch_type == MACH_TYPE_ALN) #else # define machine_is_aln() (0) #endif #ifdef CONFIG_ARCH_CAMELOT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CAMELOT # endif # define machine_is_epxa() (machine_arch_type == MACH_TYPE_CAMELOT) #else # define machine_is_epxa() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GDS2200 # endif # define machine_is_gds2200() (machine_arch_type == MACH_TYPE_GDS2200) #else # define machine_is_gds2200() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define machine_is_netbook() (machine_arch_type == <API key>) #else # define machine_is_netbook() (0) #endif #ifdef CONFIG_SA1100_XFILE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_XFILE # endif # define machine_is_xfile() (machine_arch_type == MACH_TYPE_XFILE) #else # define machine_is_xfile() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_IC200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IC200 # endif # define machine_is_ic200() (machine_arch_type == MACH_TYPE_IC200) #else # define machine_is_ic200() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_SA1100_HTM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HTM # endif # define machine_is_htm() (machine_arch_type == MACH_TYPE_HTM) #else # define machine_is_htm() (0) #endif #ifdef CONFIG_ARCH_IQ80310 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IQ80310 # endif # define machine_is_iq80310() (machine_arch_type == MACH_TYPE_IQ80310) #else # define machine_is_iq80310() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FREEBOT # endif # define machine_is_freebot() (machine_arch_type == MACH_TYPE_FREEBOT) #else # define machine_is_freebot() (0) #endif #ifdef CONFIG_ARCH_ENTEL # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ENTEL # endif # define machine_is_entel() (machine_arch_type == MACH_TYPE_ENTEL) #else # define machine_is_entel() (0) #endif #ifdef CONFIG_ARCH_ENP3510 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ENP3510 # endif # define machine_is_enp3510() (machine_arch_type == MACH_TYPE_ENP3510) #else # define machine_is_enp3510() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TRIZEPS # endif # define machine_is_trizeps() (machine_arch_type == MACH_TYPE_TRIZEPS) #else # define machine_is_trizeps() (0) #endif #ifdef CONFIG_SA1100_NESA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NESA # endif # define machine_is_nesa() (machine_arch_type == MACH_TYPE_NESA) #else # define machine_is_nesa() (0) #endif #ifdef CONFIG_ARCH_VENUS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VENUS # endif # define machine_is_venus() (machine_arch_type == MACH_TYPE_VENUS) #else # define machine_is_venus() (0) #endif #ifdef CONFIG_ARCH_TARDIS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TARDIS # endif # define machine_is_tardis() (machine_arch_type == MACH_TYPE_TARDIS) #else # define machine_is_tardis() (0) #endif #ifdef CONFIG_ARCH_MERCURY # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MERCURY # endif # define machine_is_mercury() (machine_arch_type == MACH_TYPE_MERCURY) #else # define machine_is_mercury() (0) #endif #ifdef CONFIG_SA1100_EMPEG # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EMPEG # endif # define machine_is_empeg() (machine_arch_type == MACH_TYPE_EMPEG) #else # define machine_is_empeg() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_I80200FCC # endif # define machine_is_adi_evb() (machine_arch_type == MACH_TYPE_I80200FCC) #else # define machine_is_adi_evb() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ITT_CPB # endif # define machine_is_itt_cpb() (machine_arch_type == MACH_TYPE_ITT_CPB) #else # define machine_is_itt_cpb() (0) #endif #ifdef CONFIG_SA1100_SVC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SVC # endif # define machine_is_svc() (machine_arch_type == MACH_TYPE_SVC) #else # define machine_is_svc() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ALPHA2 # endif # define machine_is_alpha2() (machine_arch_type == MACH_TYPE_ALPHA2) #else # define machine_is_alpha2() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ALPHA1 # endif # define machine_is_alpha1() (machine_arch_type == MACH_TYPE_ALPHA1) #else # define machine_is_alpha1() (0) #endif #ifdef CONFIG_ARCH_NETARM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NETARM # endif # define machine_is_netarm() (machine_arch_type == MACH_TYPE_NETARM) #else # define machine_is_netarm() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SIMPAD # endif # define machine_is_simpad() (machine_arch_type == MACH_TYPE_SIMPAD) #else # define machine_is_simpad() (0) #endif #ifdef CONFIG_ARCH_PDA1 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PDA1 # endif # define machine_is_pda1() (machine_arch_type == MACH_TYPE_PDA1) #else # define machine_is_pda1() (0) #endif #ifdef CONFIG_ARCH_LUBBOCK # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LUBBOCK # endif # define machine_is_lubbock() (machine_arch_type == MACH_TYPE_LUBBOCK) #else # define machine_is_lubbock() (0) #endif #ifdef CONFIG_ARCH_ANIKO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ANIKO # endif # define machine_is_aniko() (machine_arch_type == MACH_TYPE_ANIKO) #else # define machine_is_aniko() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CLEP7212 # endif # define machine_is_clep7212() (machine_arch_type == MACH_TYPE_CLEP7212) #else # define machine_is_clep7212() (0) #endif #ifdef CONFIG_ARCH_CS89712 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CS89712 # endif # define machine_is_cs89712() (machine_arch_type == MACH_TYPE_CS89712) #else # define machine_is_cs89712() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WEARARM # endif # define machine_is_weararm() (machine_arch_type == MACH_TYPE_WEARARM) #else # define machine_is_weararm() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_POSSIO_PX # endif # define <API key>() (machine_arch_type == MACH_TYPE_POSSIO_PX) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SIDEARM # endif # define machine_is_sidearm() (machine_arch_type == MACH_TYPE_SIDEARM) #else # define machine_is_sidearm() (0) #endif #ifdef CONFIG_SA1100_STORK # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_STORK # endif # define machine_is_stork() (machine_arch_type == MACH_TYPE_STORK) #else # define machine_is_stork() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SHANNON # endif # define machine_is_shannon() (machine_arch_type == MACH_TYPE_SHANNON) #else # define machine_is_shannon() (0) #endif #ifdef CONFIG_ARCH_ACE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ACE # endif # define machine_is_ace() (machine_arch_type == MACH_TYPE_ACE) #else # define machine_is_ace() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BALLYARM # endif # define machine_is_ballyarm() (machine_arch_type == MACH_TYPE_BALLYARM) #else # define machine_is_ballyarm() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SIMPUTER # endif # define machine_is_simputer() (machine_arch_type == MACH_TYPE_SIMPUTER) #else # define machine_is_simputer() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NEXTERM # endif # define machine_is_nexterm() (machine_arch_type == MACH_TYPE_NEXTERM) #else # define machine_is_nexterm() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_SA1100_GATOR # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GATOR # endif # define machine_is_gator() (machine_arch_type == MACH_TYPE_GATOR) #else # define machine_is_gator() (0) #endif #ifdef CONFIG_ARCH_GRANITE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GRANITE # endif # define machine_is_granite() (machine_arch_type == MACH_TYPE_GRANITE) #else # define machine_is_granite() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CONSUS # endif # define machine_is_consus() (machine_arch_type == MACH_TYPE_CONSUS) #else # define machine_is_consus() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AAED2000 # endif # define machine_is_aaed2000() (machine_arch_type == MACH_TYPE_AAED2000) #else # define machine_is_aaed2000() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CDB89712 # endif # define machine_is_cdb89712() (machine_arch_type == MACH_TYPE_CDB89712) #else # define machine_is_cdb89712() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ADSBITSY # endif # define machine_is_adsbitsy() (machine_arch_type == MACH_TYPE_ADSBITSY) #else # define machine_is_adsbitsy() (0) #endif #ifdef CONFIG_ARCH_PXA_IDP # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PXA_IDP # endif # define machine_is_pxa_idp() (machine_arch_type == MACH_TYPE_PXA_IDP) #else # define machine_is_pxa_idp() (0) #endif #ifdef CONFIG_ARCH_PLCE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PLCE # endif # define machine_is_plce() (machine_arch_type == MACH_TYPE_PLCE) #else # define machine_is_plce() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_MEDALB # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MEDALB # endif # define machine_is_murphy() (machine_arch_type == MACH_TYPE_MEDALB) #else # define machine_is_murphy() (0) #endif #ifdef CONFIG_ARCH_EAGLE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EAGLE # endif # define machine_is_eagle() (machine_arch_type == MACH_TYPE_EAGLE) #else # define machine_is_eagle() (0) #endif #ifdef CONFIG_ARCH_DSC21 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DSC21 # endif # define machine_is_dsc21() (machine_arch_type == MACH_TYPE_DSC21) #else # define machine_is_dsc21() (0) #endif #ifdef CONFIG_ARCH_DSC24 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DSC24 # endif # define machine_is_dsc24() (machine_arch_type == MACH_TYPE_DSC24) #else # define machine_is_dsc24() (0) #endif #ifdef CONFIG_ARCH_TI5472 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TI5472 # endif # define machine_is_ti5472() (machine_arch_type == MACH_TYPE_TI5472) #else # define machine_is_ti5472() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AUTCPU12 # endif # define machine_is_autcpu12() (machine_arch_type == MACH_TYPE_AUTCPU12) #else # define machine_is_autcpu12() (0) #endif #ifdef CONFIG_ARCH_UENGINE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_UENGINE # endif # define machine_is_uengine() (machine_arch_type == MACH_TYPE_UENGINE) #else # define machine_is_uengine() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BLUESTEM # endif # define machine_is_bluestem() (machine_arch_type == MACH_TYPE_BLUESTEM) #else # define machine_is_bluestem() (0) #endif #ifdef CONFIG_ARCH_XINGU8 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_XINGU8 # endif # define machine_is_xingu8() (machine_arch_type == MACH_TYPE_XINGU8) #else # define machine_is_xingu8() (0) #endif #ifdef CONFIG_ARCH_BUSHSTB # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BUSHSTB # endif # define machine_is_bushstb() (machine_arch_type == MACH_TYPE_BUSHSTB) #else # define machine_is_bushstb() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EPSILON1 # endif # define machine_is_epsilon1() (machine_arch_type == MACH_TYPE_EPSILON1) #else # define machine_is_epsilon1() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BALLOON # endif # define machine_is_balloon() (machine_arch_type == MACH_TYPE_BALLOON) #else # define machine_is_balloon() (0) #endif #ifdef CONFIG_ARCH_PUPPY # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PUPPY # endif # define machine_is_puppy() (machine_arch_type == MACH_TYPE_PUPPY) #else # define machine_is_puppy() (0) #endif #ifdef CONFIG_SA1100_ELROY # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ELROY # endif # define machine_is_elroy() (machine_arch_type == MACH_TYPE_ELROY) #else # define machine_is_elroy() (0) #endif #ifdef CONFIG_ARCH_GMS720 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GMS720 # endif # define machine_is_gms720() (machine_arch_type == MACH_TYPE_GMS720) #else # define machine_is_gms720() (0) #endif #ifdef CONFIG_ARCH_S24X # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_S24X # endif # define machine_is_s24x() (machine_arch_type == MACH_TYPE_S24X) #else # define machine_is_s24x() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_CX821XX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CX821XX # endif # define machine_is_cx821xx() (machine_arch_type == MACH_TYPE_CX821XX) #else # define machine_is_cx821xx() (0) #endif #ifdef CONFIG_ARCH_EDB7312 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EDB7312 # endif # define machine_is_edb7312() (machine_arch_type == MACH_TYPE_EDB7312) #else # define machine_is_edb7312() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BSA1110 # endif # define machine_is_bsa1110() (machine_arch_type == MACH_TYPE_BSA1110) #else # define machine_is_bsa1110() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_POWERPIN # endif # define machine_is_powerpin() (machine_arch_type == MACH_TYPE_POWERPIN) #else # define machine_is_powerpin() (0) #endif #ifdef CONFIG_ARCH_OPENARM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OPENARM # endif # define machine_is_openarm() (machine_arch_type == MACH_TYPE_OPENARM) #else # define machine_is_openarm() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_SA1100_H3100 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_H3100 # endif # define machine_is_h3100() (machine_arch_type == MACH_TYPE_H3100) #else # define machine_is_h3100() (0) #endif #ifdef CONFIG_SA1100_H3800 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_H3800 # endif # define machine_is_h3800() (machine_arch_type == MACH_TYPE_H3800) #else # define machine_is_h3800() (0) #endif #ifdef CONFIG_ARCH_BLUE_V1 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BLUE_V1 # endif # define machine_is_blue_v1() (machine_arch_type == MACH_TYPE_BLUE_V1) #else # define machine_is_blue_v1() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PXA_CERF # endif # define machine_is_pxa_cerf() (machine_arch_type == MACH_TYPE_PXA_CERF) #else # define machine_is_pxa_cerf() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ARM7TEVB # endif # define machine_is_arm7tevb() (machine_arch_type == MACH_TYPE_ARM7TEVB) #else # define machine_is_arm7tevb() (0) #endif #ifdef CONFIG_SA1100_D7400 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_D7400 # endif # define machine_is_d7400() (machine_arch_type == MACH_TYPE_D7400) #else # define machine_is_d7400() (0) #endif #ifdef CONFIG_ARCH_PIRANHA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PIRANHA # endif # define machine_is_piranha() (machine_arch_type == MACH_TYPE_PIRANHA) #else # define machine_is_piranha() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SBCAMELOT # endif # define <API key>() (machine_arch_type == MACH_TYPE_SBCAMELOT) #else # define <API key>() (0) #endif #ifdef CONFIG_SA1100_KINGS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KINGS # endif # define machine_is_kings() (machine_arch_type == MACH_TYPE_KINGS) #else # define machine_is_kings() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SMDK2400 # endif # define machine_is_smdk2400() (machine_arch_type == MACH_TYPE_SMDK2400) #else # define machine_is_smdk2400() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_COLLIE # endif # define machine_is_collie() (machine_arch_type == MACH_TYPE_COLLIE) #else # define machine_is_collie() (0) #endif #ifdef CONFIG_ARCH_IDR # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IDR # endif # define machine_is_idr() (machine_arch_type == MACH_TYPE_IDR) #else # define machine_is_idr() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BADGE4 # endif # define machine_is_badge4() (machine_arch_type == MACH_TYPE_BADGE4) #else # define machine_is_badge4() (0) #endif #ifdef CONFIG_ARCH_WEBNET # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WEBNET # endif # define machine_is_webnet() (machine_arch_type == MACH_TYPE_WEBNET) #else # define machine_is_webnet() (0) #endif #ifdef CONFIG_SA1100_D7300 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_D7300 # endif # define machine_is_d7300() (machine_arch_type == MACH_TYPE_D7300) #else # define machine_is_d7300() (0) #endif #ifdef CONFIG_SA1100_CEP # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CEP # endif # define machine_is_cep() (machine_arch_type == MACH_TYPE_CEP) #else # define machine_is_cep() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FORTUNET # endif # define machine_is_fortunet() (machine_arch_type == MACH_TYPE_FORTUNET) #else # define machine_is_fortunet() (0) #endif #ifdef CONFIG_ARCH_VC547X # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VC547X # endif # define machine_is_vc547x() (machine_arch_type == MACH_TYPE_VC547X) #else # define machine_is_vc547x() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_SA1100_SUNS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SUNS # endif # define machine_is_suns() (machine_arch_type == MACH_TYPE_SUNS) #else # define machine_is_suns() (0) #endif #ifdef CONFIG_SA1100_FRODO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FRODO # endif # define machine_is_frodo() (machine_arch_type == MACH_TYPE_FRODO) #else # define machine_is_frodo() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define machine_is_ms301() (machine_arch_type == <API key>) #else # define machine_is_ms301() (0) #endif #ifdef CONFIG_ARCH_MX1ADS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX1ADS # endif # define machine_is_mx1ads() (machine_arch_type == MACH_TYPE_MX1ADS) #else # define machine_is_mx1ads() (0) #endif #ifdef CONFIG_ARCH_H7201 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_H7201 # endif # define machine_is_h7201() (machine_arch_type == MACH_TYPE_H7201) #else # define machine_is_h7201() (0) #endif #ifdef CONFIG_ARCH_H7202 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_H7202 # endif # define machine_is_h7202() (machine_arch_type == MACH_TYPE_H7202) #else # define machine_is_h7202() (0) #endif #ifdef CONFIG_ARCH_AMICO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AMICO # endif # define machine_is_amico() (machine_arch_type == MACH_TYPE_AMICO) #else # define machine_is_amico() (0) #endif #ifdef CONFIG_SA1100_IAM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IAM # endif # define machine_is_iam() (machine_arch_type == MACH_TYPE_IAM) #else # define machine_is_iam() (0) #endif #ifdef CONFIG_SA1100_TT530 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TT530 # endif # define machine_is_tt530() (machine_arch_type == MACH_TYPE_TT530) #else # define machine_is_tt530() (0) #endif #ifdef CONFIG_ARCH_SAM2400 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SAM2400 # endif # define machine_is_sam2400() (machine_arch_type == MACH_TYPE_SAM2400) #else # define machine_is_sam2400() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ACTIVE # endif # define machine_is_active() (machine_arch_type == MACH_TYPE_ACTIVE) #else # define machine_is_active() (0) #endif #ifdef CONFIG_ARCH_IQ80321 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IQ80321 # endif # define machine_is_iq80321() (machine_arch_type == MACH_TYPE_IQ80321) #else # define machine_is_iq80321() (0) #endif #ifdef CONFIG_SA1100_WID # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WID # endif # define machine_is_wid() (machine_arch_type == MACH_TYPE_WID) #else # define machine_is_wid() (0) #endif #ifdef CONFIG_ARCH_SABINAL # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SABINAL # endif # define machine_is_sabinal() (machine_arch_type == MACH_TYPE_SABINAL) #else # define machine_is_sabinal() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MINIPRINT # endif # define <API key>() (machine_arch_type == MACH_TYPE_MINIPRINT) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_ADM510X # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ADM510X # endif # define machine_is_adm510x() (machine_arch_type == MACH_TYPE_ADM510X) #else # define machine_is_adm510x() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SVS200 # endif # define machine_is_svs200() (machine_arch_type == MACH_TYPE_SVS200) #else # define machine_is_svs200() (0) #endif #ifdef CONFIG_ARCH_ATG_TCU # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ATG_TCU # endif # define machine_is_atg_tcu() (machine_arch_type == MACH_TYPE_ATG_TCU) #else # define machine_is_atg_tcu() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_S3C44B0 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_S3C44B0 # endif # define machine_is_s3c44b0() (machine_arch_type == MACH_TYPE_S3C44B0) #else # define machine_is_s3c44b0() (0) #endif #ifdef CONFIG_ARCH_MARGIS2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MARGIS2 # endif # define machine_is_margis2() (machine_arch_type == MACH_TYPE_MARGIS2) #else # define machine_is_margis2() (0) #endif #ifdef CONFIG_ARCH_KS8695 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KS8695 # endif # define machine_is_ks8695() (machine_arch_type == MACH_TYPE_KS8695) #else # define machine_is_ks8695() (0) #endif #ifdef CONFIG_ARCH_BRH # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BRH # endif # define machine_is_brh() (machine_arch_type == MACH_TYPE_BRH) #else # define machine_is_brh() (0) #endif #ifdef CONFIG_ARCH_S3C2410 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_S3C2410 # endif # define machine_is_s3c2410() (machine_arch_type == MACH_TYPE_S3C2410) #else # define machine_is_s3c2410() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_S3C2800 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_S3C2800 # endif # define machine_is_s3c2800() (machine_arch_type == MACH_TYPE_S3C2800) #else # define machine_is_s3c2800() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FLEETWOOD # endif # define <API key>() (machine_arch_type == MACH_TYPE_FLEETWOOD) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_OMAHA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OMAHA # endif # define machine_is_omaha() (machine_arch_type == MACH_TYPE_OMAHA) #else # define machine_is_omaha() (0) #endif #ifdef CONFIG_ARCH_TA7 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TA7 # endif # define machine_is_ta7() (machine_arch_type == MACH_TYPE_TA7) #else # define machine_is_ta7() (0) #endif #ifdef CONFIG_SA1100_NOVA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NOVA # endif # define machine_is_nova() (machine_arch_type == MACH_TYPE_NOVA) #else # define machine_is_nova() (0) #endif #ifdef CONFIG_ARCH_HMK # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HMK # endif # define machine_is_hmk() (machine_arch_type == MACH_TYPE_HMK) #else # define machine_is_hmk() (0) #endif #ifdef CONFIG_ARCH_KARO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KARO # endif # define machine_is_karo() (machine_arch_type == MACH_TYPE_KARO) #else # define machine_is_karo() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FESTER # endif # define machine_is_fester() (machine_arch_type == MACH_TYPE_FESTER) #else # define machine_is_fester() (0) #endif #ifdef CONFIG_ARCH_GPI # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GPI # endif # define machine_is_gpi() (machine_arch_type == MACH_TYPE_GPI) #else # define machine_is_gpi() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SMDK2410 # endif # define machine_is_smdk2410() (machine_arch_type == MACH_TYPE_SMDK2410) #else # define machine_is_smdk2410() (0) #endif #ifdef CONFIG_ARCH_I519 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_I519 # endif # define machine_is_i519() (machine_arch_type == MACH_TYPE_I519) #else # define machine_is_i519() (0) #endif #ifdef CONFIG_SA1100_NEXIO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NEXIO # endif # define machine_is_nexio() (machine_arch_type == MACH_TYPE_NEXIO) #else # define machine_is_nexio() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BITBOX # endif # define machine_is_bitbox() (machine_arch_type == MACH_TYPE_BITBOX) #else # define machine_is_bitbox() (0) #endif #ifdef CONFIG_SA1100_G200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_G200 # endif # define machine_is_g200() (machine_arch_type == MACH_TYPE_G200) #else # define machine_is_g200() (0) #endif #ifdef CONFIG_SA1100_GILL # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GILL # endif # define machine_is_gill() (machine_arch_type == MACH_TYPE_GILL) #else # define machine_is_gill() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_CEIVA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CEIVA # endif # define machine_is_ceiva() (machine_arch_type == MACH_TYPE_CEIVA) #else # define machine_is_ceiva() (0) #endif #ifdef CONFIG_SA1100_FRET # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FRET # endif # define machine_is_fret() (machine_arch_type == MACH_TYPE_FRET) #else # define machine_is_fret() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_H3900 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_H3900 # endif # define machine_is_h3900() (machine_arch_type == MACH_TYPE_H3900) #else # define machine_is_h3900() (0) #endif #ifdef CONFIG_ARCH_PXA1 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PXA1 # endif # define machine_is_pxa1() (machine_arch_type == MACH_TYPE_PXA1) #else # define machine_is_pxa1() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KOAN369 # endif # define machine_is_koan369() (machine_arch_type == MACH_TYPE_KOAN369) #else # define machine_is_koan369() (0) #endif #ifdef CONFIG_ARCH_COGENT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_COGENT # endif # define machine_is_cogent() (machine_arch_type == MACH_TYPE_COGENT) #else # define machine_is_cogent() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_HE500 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HE500 # endif # define machine_is_he500() (machine_arch_type == MACH_TYPE_HE500) #else # define machine_is_he500() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DNP1110 # endif # define machine_is_dnp1110() (machine_arch_type == MACH_TYPE_DNP1110) #else # define machine_is_dnp1110() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PNP1110 # endif # define machine_is_pnp1110() (machine_arch_type == MACH_TYPE_PNP1110) #else # define machine_is_pnp1110() (0) #endif #ifdef CONFIG_ARCH_CSB226 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CSB226 # endif # define machine_is_csb226() (machine_arch_type == MACH_TYPE_CSB226) #else # define machine_is_csb226() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ARNOLD # endif # define machine_is_arnold() (machine_arch_type == MACH_TYPE_ARNOLD) #else # define machine_is_arnold() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VOICEBLUE # endif # define <API key>() (machine_arch_type == MACH_TYPE_VOICEBLUE) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_JZ8028 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_JZ8028 # endif # define machine_is_jz8028() (machine_arch_type == MACH_TYPE_JZ8028) #else # define machine_is_jz8028() (0) #endif #ifdef CONFIG_ARCH_H5400 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_H5400 # endif # define machine_is_h5400() (machine_arch_type == MACH_TYPE_H5400) #else # define machine_is_h5400() (0) #endif #ifdef CONFIG_SA1100_FORTE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FORTE # endif # define machine_is_forte() (machine_arch_type == MACH_TYPE_FORTE) #else # define machine_is_forte() (0) #endif #ifdef CONFIG_SA1100_ACAM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ACAM # endif # define machine_is_acam() (machine_arch_type == MACH_TYPE_ACAM) #else # define machine_is_acam() (0) #endif #ifdef CONFIG_SA1100_ABOX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ABOX # endif # define machine_is_abox() (machine_arch_type == MACH_TYPE_ABOX) #else # define machine_is_abox() (0) #endif #ifdef CONFIG_ARCH_ATMEL # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ATMEL # endif # define machine_is_atmel() (machine_arch_type == MACH_TYPE_ATMEL) #else # define machine_is_atmel() (0) #endif #ifdef CONFIG_ARCH_SITSANG # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SITSANG # endif # define machine_is_sitsang() (machine_arch_type == MACH_TYPE_SITSANG) #else # define machine_is_sitsang() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MPL_VCMA9 # endif # define <API key>() (machine_arch_type == MACH_TYPE_MPL_VCMA9) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_OPUS_A1 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OPUS_A1 # endif # define machine_is_opus_a1() (machine_arch_type == MACH_TYPE_OPUS_A1) #else # define machine_is_opus_a1() (0) #endif #ifdef CONFIG_ARCH_DAYTONA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DAYTONA # endif # define machine_is_daytona() (machine_arch_type == MACH_TYPE_DAYTONA) #else # define machine_is_daytona() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KILLBEAR # endif # define machine_is_killbear() (machine_arch_type == MACH_TYPE_KILLBEAR) #else # define machine_is_killbear() (0) #endif #ifdef CONFIG_ARCH_YOHO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_YOHO # endif # define machine_is_yoho() (machine_arch_type == MACH_TYPE_YOHO) #else # define machine_is_yoho() (0) #endif #ifdef CONFIG_ARCH_JASPER # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_JASPER # endif # define machine_is_jasper() (machine_arch_type == MACH_TYPE_JASPER) #else # define machine_is_jasper() (0) #endif #ifdef CONFIG_ARCH_DSC25 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DSC25 # endif # define machine_is_dsc25() (machine_arch_type == MACH_TYPE_DSC25) #else # define machine_is_dsc25() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_RAMSES # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RAMSES # endif # define machine_is_mnci() (machine_arch_type == MACH_TYPE_RAMSES) #else # define machine_is_mnci() (0) #endif #ifdef CONFIG_ARCH_S28X # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_S28X # endif # define machine_is_s28x() (machine_arch_type == MACH_TYPE_S28X) #else # define machine_is_s28x() (0) #endif #ifdef CONFIG_ARCH_MPORT3 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MPORT3 # endif # define machine_is_mport3() (machine_arch_type == MACH_TYPE_MPORT3) #else # define machine_is_mport3() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_PDB # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PDB # endif # define machine_is_pdb() (machine_arch_type == MACH_TYPE_PDB) #else # define machine_is_pdb() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BLUE_2G # endif # define machine_is_blue_2g() (machine_arch_type == MACH_TYPE_BLUE_2G) #else # define machine_is_blue_2g() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BLUEARCH # endif # define machine_is_bluearch() (machine_arch_type == MACH_TYPE_BLUEARCH) #else # define machine_is_bluearch() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IXDP2400 # endif # define machine_is_ixdp2400() (machine_arch_type == MACH_TYPE_IXDP2400) #else # define machine_is_ixdp2400() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IXDP2800 # endif # define machine_is_ixdp2800() (machine_arch_type == MACH_TYPE_IXDP2800) #else # define machine_is_ixdp2800() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EXPLORER # endif # define machine_is_explorer() (machine_arch_type == MACH_TYPE_EXPLORER) #else # define machine_is_explorer() (0) #endif #ifdef CONFIG_ARCH_IXDP425 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IXDP425 # endif # define machine_is_ixdp425() (machine_arch_type == MACH_TYPE_IXDP425) #else # define machine_is_ixdp425() (0) #endif #ifdef CONFIG_ARCH_CHIMP # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CHIMP # endif # define machine_is_chimp() (machine_arch_type == MACH_TYPE_CHIMP) #else # define machine_is_chimp() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_STORK_EGG # endif # define <API key>() (machine_arch_type == MACH_TYPE_STORK_EGG) #else # define <API key>() (0) #endif #ifdef CONFIG_SA1100_WISMO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WISMO # endif # define machine_is_wismo() (machine_arch_type == MACH_TYPE_WISMO) #else # define machine_is_wismo() (0) #endif #ifdef CONFIG_ARCH_EZLINX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EZLINX # endif # define machine_is_ezlinx() (machine_arch_type == MACH_TYPE_EZLINX) #else # define machine_is_ezlinx() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_NEPTUNE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NEPTUNE # endif # define machine_is_neptune() (machine_arch_type == MACH_TYPE_NEPTUNE) #else # define machine_is_neptune() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HACKKIT # endif # define machine_is_hackkit() (machine_arch_type == MACH_TYPE_HACKKIT) #else # define machine_is_hackkit() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LAVINNA # endif # define machine_is_lavinna() (machine_arch_type == MACH_TYPE_LAVINNA) #else # define machine_is_lavinna() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_INNOKOM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_INNOKOM # endif # define machine_is_innokom() (machine_arch_type == MACH_TYPE_INNOKOM) #else # define machine_is_innokom() (0) #endif #ifdef CONFIG_ARCH_BMS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BMS # endif # define machine_is_bms() (machine_arch_type == MACH_TYPE_BMS) #else # define machine_is_bms() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IXCDP1100 # endif # define <API key>() (machine_arch_type == MACH_TYPE_IXCDP1100) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PRPMC1100 # endif # define <API key>() (machine_arch_type == MACH_TYPE_PRPMC1100) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ARMSTICK # endif # define machine_is_armstick() (machine_arch_type == MACH_TYPE_ARMSTICK) #else # define machine_is_armstick() (0) #endif #ifdef CONFIG_ARCH_ARMONIE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ARMONIE # endif # define machine_is_armonie() (machine_arch_type == MACH_TYPE_ARMONIE) #else # define machine_is_armonie() (0) #endif #ifdef CONFIG_ARCH_MPORT1 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MPORT1 # endif # define machine_is_mport1() (machine_arch_type == MACH_TYPE_MPORT1) #else # define machine_is_mport1() (0) #endif #ifdef CONFIG_ARCH_S3C5410 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_S3C5410 # endif # define machine_is_s3c5410() (machine_arch_type == MACH_TYPE_S3C5410) #else # define machine_is_s3c5410() (0) #endif #ifdef CONFIG_ARCH_ZCP320A # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ZCP320A # endif # define machine_is_zcp320a() (machine_arch_type == MACH_TYPE_ZCP320A) #else # define machine_is_zcp320a() (0) #endif #ifdef CONFIG_ARCH_I_BOX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_I_BOX # endif # define machine_is_i_box() (machine_arch_type == MACH_TYPE_I_BOX) #else # define machine_is_i_box() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_STLC1502 # endif # define machine_is_stlc1502() (machine_arch_type == MACH_TYPE_STLC1502) #else # define machine_is_stlc1502() (0) #endif #ifdef CONFIG_ARCH_SIREN # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SIREN # endif # define machine_is_siren() (machine_arch_type == MACH_TYPE_SIREN) #else # define machine_is_siren() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GREENLAKE # endif # define <API key>() (machine_arch_type == MACH_TYPE_GREENLAKE) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_ARGUS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ARGUS # endif # define machine_is_argus() (machine_arch_type == MACH_TYPE_ARGUS) #else # define machine_is_argus() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_COMBADGE # endif # define machine_is_combadge() (machine_arch_type == MACH_TYPE_COMBADGE) #else # define machine_is_combadge() (0) #endif #ifdef CONFIG_ARCH_ROKEPXA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ROKEPXA # endif # define machine_is_rokepxa() (machine_arch_type == MACH_TYPE_ROKEPXA) #else # define machine_is_rokepxa() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GUIDEA07 # endif # define machine_is_guidea07() (machine_arch_type == MACH_TYPE_GUIDEA07) #else # define machine_is_guidea07() (0) #endif #ifdef CONFIG_ARCH_TAT257 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TAT257 # endif # define machine_is_tat257() (machine_arch_type == MACH_TYPE_TAT257) #else # define machine_is_tat257() (0) #endif #ifdef CONFIG_ARCH_IGP2425 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IGP2425 # endif # define machine_is_igp2425() (machine_arch_type == MACH_TYPE_IGP2425) #else # define machine_is_igp2425() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_IPOD # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IPOD # endif # define machine_is_ipod() (machine_arch_type == MACH_TYPE_IPOD) #else # define machine_is_ipod() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ADSBITSYX # endif # define <API key>() (machine_arch_type == MACH_TYPE_ADSBITSYX) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TRIZEPS2 # endif # define machine_is_trizeps2() (machine_arch_type == MACH_TYPE_TRIZEPS2) #else # define machine_is_trizeps2() (0) #endif #ifdef CONFIG_ARCH_VIPER # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VIPER # endif # define machine_is_viper() (machine_arch_type == MACH_TYPE_VIPER) #else # define machine_is_viper() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ADSAGC # endif # define machine_is_adsagc() (machine_arch_type == MACH_TYPE_ADSAGC) #else # define machine_is_adsagc() (0) #endif #ifdef CONFIG_ARCH_STP7312 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_STP7312 # endif # define machine_is_stp7312() (machine_arch_type == MACH_TYPE_STP7312) #else # define machine_is_stp7312() (0) #endif #ifdef CONFIG_MACH_NX_PHNX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NX_PHNX # endif # define machine_is_nx_phnx() (machine_arch_type == MACH_TYPE_NX_PHNX) #else # define machine_is_nx_phnx() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WEP_EP250 # endif # define <API key>() (machine_arch_type == MACH_TYPE_WEP_EP250) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_IYONIX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IYONIX # endif # define machine_is_iyonix() (machine_arch_type == MACH_TYPE_IYONIX) #else # define machine_is_iyonix() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define machine_is_damicam1() (machine_arch_type == <API key>) #else # define machine_is_damicam1() (0) #endif #ifdef CONFIG_ARCH_MEG03 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MEG03 # endif # define machine_is_meg03() (machine_arch_type == MACH_TYPE_MEG03) #else # define machine_is_meg03() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_NWSC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NWSC # endif # define machine_is_nwsc() (machine_arch_type == MACH_TYPE_NWSC) #else # define machine_is_nwsc() (0) #endif #ifdef CONFIG_ARCH_NWLARM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NWLARM # endif # define machine_is_nwlarm() (machine_arch_type == MACH_TYPE_NWLARM) #else # define machine_is_nwlarm() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IXDP2401 # endif # define machine_is_ixdp2401() (machine_arch_type == MACH_TYPE_IXDP2401) #else # define machine_is_ixdp2401() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IXDP2801 # endif # define machine_is_ixdp2801() (machine_arch_type == MACH_TYPE_IXDP2801) #else # define machine_is_ixdp2801() (0) #endif #ifdef CONFIG_ARCH_ZODIAC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ZODIAC # endif # define machine_is_zodiac() (machine_arch_type == MACH_TYPE_ZODIAC) #else # define machine_is_zodiac() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ARMMODUL # endif # define machine_is_armmodul() (machine_arch_type == MACH_TYPE_ARMMODUL) #else # define machine_is_armmodul() (0) #endif #ifdef CONFIG_SA1100_KETOP # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KETOP # endif # define machine_is_ketop() (machine_arch_type == MACH_TYPE_KETOP) #else # define machine_is_ketop() (0) #endif #ifdef CONFIG_ARCH_AV7200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AV7200 # endif # define machine_is_av7200() (machine_arch_type == MACH_TYPE_AV7200) #else # define machine_is_av7200() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_ACQ200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ACQ200 # endif # define machine_is_acq200() (machine_arch_type == MACH_TYPE_ACQ200) #else # define machine_is_acq200() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PT_DAFIT # endif # define machine_is_pt_dafit() (machine_arch_type == MACH_TYPE_PT_DAFIT) #else # define machine_is_pt_dafit() (0) #endif #ifdef CONFIG_ARCH_IHBA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IHBA # endif # define machine_is_ihba() (machine_arch_type == MACH_TYPE_IHBA) #else # define machine_is_ihba() (0) #endif #ifdef CONFIG_ARCH_QUINQUE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_QUINQUE # endif # define machine_is_quinque() (machine_arch_type == MACH_TYPE_QUINQUE) #else # define machine_is_quinque() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NIMBRAONE # endif # define <API key>() (machine_arch_type == MACH_TYPE_NIMBRAONE) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NIMBRA29X # endif # define <API key>() (machine_arch_type == MACH_TYPE_NIMBRA29X) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NIMBRA210 # endif # define <API key>() (machine_arch_type == MACH_TYPE_NIMBRA210) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HHP_D95XX # endif # define <API key>() (machine_arch_type == MACH_TYPE_HHP_D95XX) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_LABARM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LABARM # endif # define machine_is_labarm() (machine_arch_type == MACH_TYPE_LABARM) #else # define machine_is_labarm() (0) #endif #ifdef CONFIG_ARCH_M825XX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_M825XX # endif # define machine_is_m825xx() (machine_arch_type == MACH_TYPE_M825XX) #else # define machine_is_m825xx() (0) #endif #ifdef CONFIG_SA1100_M7100 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_M7100 # endif # define machine_is_m7100() (machine_arch_type == MACH_TYPE_M7100) #else # define machine_is_m7100() (0) #endif #ifdef CONFIG_ARCH_NIPC2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NIPC2 # endif # define machine_is_nipc2() (machine_arch_type == MACH_TYPE_NIPC2) #else # define machine_is_nipc2() (0) #endif #ifdef CONFIG_ARCH_FU7202 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FU7202 # endif # define machine_is_fu7202() (machine_arch_type == MACH_TYPE_FU7202) #else # define machine_is_fu7202() (0) #endif #ifdef CONFIG_ARCH_ADSAGX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ADSAGX # endif # define machine_is_adsagx() (machine_arch_type == MACH_TYPE_ADSAGX) #else # define machine_is_adsagx() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PXA_POOH # endif # define machine_is_pxa_pooh() (machine_arch_type == MACH_TYPE_PXA_POOH) #else # define machine_is_pxa_pooh() (0) #endif #ifdef CONFIG_ARCH_BANDON # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BANDON # endif # define machine_is_bandon() (machine_arch_type == MACH_TYPE_BANDON) #else # define machine_is_bandon() (0) #endif #ifdef CONFIG_ARCH_PCM7210 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PCM7210 # endif # define machine_is_pcm7210() (machine_arch_type == MACH_TYPE_PCM7210) #else # define machine_is_pcm7210() (0) #endif #ifdef CONFIG_ARCH_NMS9200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NMS9200 # endif # define machine_is_nms9200() (machine_arch_type == MACH_TYPE_NMS9200) #else # define machine_is_nms9200() (0) #endif #ifdef CONFIG_ARCH_LOGODL # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LOGODL # endif # define machine_is_logodl() (machine_arch_type == MACH_TYPE_LOGODL) #else # define machine_is_logodl() (0) #endif #ifdef CONFIG_SA1100_M7140 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_M7140 # endif # define machine_is_m7140() (machine_arch_type == MACH_TYPE_M7140) #else # define machine_is_m7140() (0) #endif #ifdef CONFIG_ARCH_KOREBOT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KOREBOT # endif # define machine_is_korebot() (machine_arch_type == MACH_TYPE_KOREBOT) #else # define machine_is_korebot() (0) #endif #ifdef CONFIG_ARCH_IQ31244 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IQ31244 # endif # define machine_is_iq31244() (machine_arch_type == MACH_TYPE_IQ31244) #else # define machine_is_iq31244() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KOAN393 # endif # define machine_is_koan393() (machine_arch_type == MACH_TYPE_KOAN393) #else # define machine_is_koan393() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_GONZO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GONZO # endif # define machine_is_gonzo() (machine_arch_type == MACH_TYPE_GONZO) #else # define machine_is_gonzo() (0) #endif #ifdef CONFIG_ARCH_BAST # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BAST # endif # define machine_is_bast() (machine_arch_type == MACH_TYPE_BAST) #else # define machine_is_bast() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SCANPASS # endif # define machine_is_scanpass() (machine_arch_type == MACH_TYPE_SCANPASS) #else # define machine_is_scanpass() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_TA7S # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TA7S # endif # define machine_is_ta7s() (machine_arch_type == MACH_TYPE_TA7S) #else # define machine_is_ta7s() (0) #endif #ifdef CONFIG_ARCH_TA7V # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TA7V # endif # define machine_is_ta7v() (machine_arch_type == MACH_TYPE_TA7V) #else # define machine_is_ta7v() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ICARUS # endif # define machine_is_icarus() (machine_arch_type == MACH_TYPE_ICARUS) #else # define machine_is_icarus() (0) #endif #ifdef CONFIG_ARCH_H1900 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_H1900 # endif # define machine_is_h1900() (machine_arch_type == MACH_TYPE_H1900) #else # define machine_is_h1900() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GEMINI # endif # define machine_is_gemini() (machine_arch_type == MACH_TYPE_GEMINI) #else # define machine_is_gemini() (0) #endif #ifdef CONFIG_ARCH_AXIM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AXIM # endif # define machine_is_axim() (machine_arch_type == MACH_TYPE_AXIM) #else # define machine_is_axim() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AUDIOTRON # endif # define <API key>() (machine_arch_type == MACH_TYPE_AUDIOTRON) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_H2200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_H2200 # endif # define machine_is_h2200() (machine_arch_type == MACH_TYPE_H2200) #else # define machine_is_h2200() (0) #endif #ifdef CONFIG_ARCH_LOOX600 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LOOX600 # endif # define machine_is_loox600() (machine_arch_type == MACH_TYPE_LOOX600) #else # define machine_is_loox600() (0) #endif #ifdef CONFIG_ARCH_NIOP # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NIOP # endif # define machine_is_niop() (machine_arch_type == MACH_TYPE_NIOP) #else # define machine_is_niop() (0) #endif #ifdef CONFIG_ARCH_DM310 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DM310 # endif # define machine_is_dm310() (machine_arch_type == MACH_TYPE_DM310) #else # define machine_is_dm310() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_H1940 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_H1940 # endif # define machine_is_h1940() (machine_arch_type == MACH_TYPE_H1940) #else # define machine_is_h1940() (0) #endif #ifdef CONFIG_ARCH_SCORPIO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SCORPIO # endif # define machine_is_scorpio() (machine_arch_type == MACH_TYPE_SCORPIO) #else # define machine_is_scorpio() (0) #endif #ifdef CONFIG_ARCH_VIVA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VIVA # endif # define machine_is_viva() (machine_arch_type == MACH_TYPE_VIVA) #else # define machine_is_viva() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PXA_XCARD # endif # define <API key>() (machine_arch_type == MACH_TYPE_PXA_XCARD) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_CSB335 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CSB335 # endif # define machine_is_csb335() (machine_arch_type == MACH_TYPE_CSB335) #else # define machine_is_csb335() (0) #endif #ifdef CONFIG_ARCH_IXRD425 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IXRD425 # endif # define machine_is_ixrd425() (machine_arch_type == MACH_TYPE_IXRD425) #else # define machine_is_ixrd425() (0) #endif #ifdef CONFIG_ARCH_IQ80315 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IQ80315 # endif # define machine_is_iq80315() (machine_arch_type == MACH_TYPE_IQ80315) #else # define machine_is_iq80315() (0) #endif #ifdef CONFIG_ARCH_NMP7312 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NMP7312 # endif # define machine_is_nmp7312() (machine_arch_type == MACH_TYPE_NMP7312) #else # define machine_is_nmp7312() (0) #endif #ifdef CONFIG_ARCH_CX861XX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CX861XX # endif # define machine_is_cx861xx() (machine_arch_type == MACH_TYPE_CX861XX) #else # define machine_is_cx861xx() (0) #endif #ifdef CONFIG_ARCH_ENP2611 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ENP2611 # endif # define machine_is_enp2611() (machine_arch_type == MACH_TYPE_ENP2611) #else # define machine_is_enp2611() (0) #endif #ifdef CONFIG_SA1100_XDA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_XDA # endif # define machine_is_xda() (machine_arch_type == MACH_TYPE_XDA) #else # define machine_is_xda() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CSIR_IMS # endif # define machine_is_csir_ims() (machine_arch_type == MACH_TYPE_CSIR_IMS) #else # define machine_is_csir_ims() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_TOTO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TOTO # endif # define machine_is_toto() (machine_arch_type == MACH_TYPE_TOTO) #else # define machine_is_toto() (0) #endif #ifdef CONFIG_ARCH_S3C2440 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_S3C2440 # endif # define machine_is_s3c2440() (machine_arch_type == MACH_TYPE_S3C2440) #else # define machine_is_s3c2440() (0) #endif #ifdef CONFIG_ARCH_KS8695P # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KS8695P # endif # define machine_is_ks8695p() (machine_arch_type == MACH_TYPE_KS8695P) #else # define machine_is_ks8695p() (0) #endif #ifdef CONFIG_ARCH_SE4000 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SE4000 # endif # define machine_is_se4000() (machine_arch_type == MACH_TYPE_SE4000) #else # define machine_is_se4000() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_BRONCO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BRONCO # endif # define machine_is_bronco() (machine_arch_type == MACH_TYPE_BRONCO) #else # define machine_is_bronco() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_S5C7375 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_S5C7375 # endif # define machine_is_s5c7375() (machine_arch_type == MACH_TYPE_S5C7375) #else # define machine_is_s5c7375() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SPEARHEAD # endif # define <API key>() (machine_arch_type == MACH_TYPE_SPEARHEAD) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_PANTERA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PANTERA # endif # define machine_is_pantera() (machine_arch_type == MACH_TYPE_PANTERA) #else # define machine_is_pantera() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_GUMSTIX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GUMSTIX # endif # define machine_is_gumstix() (machine_arch_type == MACH_TYPE_GUMSTIX) #else # define machine_is_gumstix() (0) #endif #ifdef CONFIG_ARCH_RCUBE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RCUBE # endif # define machine_is_rcube() (machine_arch_type == MACH_TYPE_RCUBE) #else # define machine_is_rcube() (0) #endif #ifdef CONFIG_ARCH_REA_OLV # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_REA_OLV # endif # define machine_is_rea_olv() (machine_arch_type == MACH_TYPE_REA_OLV) #else # define machine_is_rea_olv() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_S3C3410 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_S3C3410 # endif # define machine_is_s3c3410() (machine_arch_type == MACH_TYPE_S3C3410) #else # define machine_is_s3c3410() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_MP1X # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MP1X # endif # define machine_is_mp1x() (machine_arch_type == MACH_TYPE_MP1X) #else # define machine_is_mp1x() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_ADSVGX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ADSVGX # endif # define machine_is_adsvgx() (machine_arch_type == MACH_TYPE_ADSVGX) #else # define machine_is_adsvgx() (0) #endif #ifdef CONFIG_MACH_OMAP_H2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OMAP_H2 # endif # define machine_is_omap_h2() (machine_arch_type == MACH_TYPE_OMAP_H2) #else # define machine_is_omap_h2() (0) #endif #ifdef CONFIG_ARCH_PELEE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PELEE # endif # define machine_is_pelee() (machine_arch_type == MACH_TYPE_PELEE) #else # define machine_is_pelee() (0) #endif #ifdef CONFIG_MACH_E740 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_E740 # endif # define machine_is_e740() (machine_arch_type == MACH_TYPE_E740) #else # define machine_is_e740() (0) #endif #ifdef CONFIG_ARCH_IQ80331 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IQ80331 # endif # define machine_is_iq80331() (machine_arch_type == MACH_TYPE_IQ80331) #else # define machine_is_iq80331() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KEV7A400 # endif # define machine_is_kev7a400() (machine_arch_type == MACH_TYPE_KEV7A400) #else # define machine_is_kev7a400() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LPD7A400 # endif # define machine_is_lpd7a400() (machine_arch_type == MACH_TYPE_LPD7A400) #else # define machine_is_lpd7a400() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LPD7A404 # endif # define machine_is_lpd7a404() (machine_arch_type == MACH_TYPE_LPD7A404) #else # define machine_is_lpd7a404() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_ARCH_JANUS2M # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_JANUS2M # endif # define machine_is_janus2m() (machine_arch_type == MACH_TYPE_JANUS2M) #else # define machine_is_janus2m() (0) #endif #ifdef CONFIG_MACH_EMBTF # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EMBTF # endif # define machine_is_embtf() (machine_arch_type == MACH_TYPE_EMBTF) #else # define machine_is_embtf() (0) #endif #ifdef CONFIG_MACH_HPM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HPM # endif # define machine_is_hpm() (machine_arch_type == MACH_TYPE_HPM) #else # define machine_is_hpm() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_EFRAME # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EFRAME # endif # define machine_is_eframe() (machine_arch_type == MACH_TYPE_EFRAME) #else # define machine_is_eframe() (0) #endif #ifdef CONFIG_MACH_CSB337 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CSB337 # endif # define machine_is_csb337() (machine_arch_type == MACH_TYPE_CSB337) #else # define machine_is_csb337() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PXA_LARK # endif # define machine_is_pxa_lark() (machine_arch_type == MACH_TYPE_PXA_LARK) #else # define machine_is_pxa_lark() (0) #endif #ifdef CONFIG_MACH_PNP2110 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PNP2110 # endif # define <API key>() (machine_arch_type == MACH_TYPE_PNP2110) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_TCC72X # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TCC72X # endif # define machine_is_tcc72x() (machine_arch_type == MACH_TYPE_TCC72X) #else # define machine_is_tcc72x() (0) #endif #ifdef CONFIG_MACH_ALTAIR # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ALTAIR # endif # define machine_is_altair() (machine_arch_type == MACH_TYPE_ALTAIR) #else # define machine_is_altair() (0) #endif #ifdef CONFIG_MACH_KC3 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KC3 # endif # define machine_is_kc3() (machine_arch_type == MACH_TYPE_KC3) #else # define machine_is_kc3() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SINTEFTD # endif # define machine_is_sinteftd() (machine_arch_type == MACH_TYPE_SINTEFTD) #else # define machine_is_sinteftd() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MAINSTONE # endif # define <API key>() (machine_arch_type == MACH_TYPE_MAINSTONE) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ADAY4X # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ADAY4X # endif # define machine_is_aday4x() (machine_arch_type == MACH_TYPE_ADAY4X) #else # define machine_is_aday4x() (0) #endif #ifdef CONFIG_MACH_LITE300 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LITE300 # endif # define machine_is_lite300() (machine_arch_type == MACH_TYPE_LITE300) #else # define machine_is_lite300() (0) #endif #ifdef CONFIG_MACH_S5C7376 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_S5C7376 # endif # define machine_is_s5c7376() (machine_arch_type == MACH_TYPE_S5C7376) #else # define machine_is_s5c7376() (0) #endif #ifdef CONFIG_MACH_MT02 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MT02 # endif # define machine_is_mt02() (machine_arch_type == MACH_TYPE_MT02) #else # define machine_is_mt02() (0) #endif #ifdef CONFIG_MACH_MPORT3S # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MPORT3S # endif # define machine_is_mport3s() (machine_arch_type == MACH_TYPE_MPORT3S) #else # define machine_is_mport3s() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RA_ALPHA # endif # define machine_is_ra_alpha() (machine_arch_type == MACH_TYPE_RA_ALPHA) #else # define machine_is_ra_alpha() (0) #endif #ifdef CONFIG_MACH_XCEP # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_XCEP # endif # define machine_is_xcep() (machine_arch_type == MACH_TYPE_XCEP) #else # define machine_is_xcep() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_STARGATE # endif # define machine_is_stargate() (machine_arch_type == MACH_TYPE_STARGATE) #else # define machine_is_stargate() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_BACKEND # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BACKEND # endif # define machine_is_backend() (machine_arch_type == MACH_TYPE_BACKEND) #else # define machine_is_backend() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_S5LINBOX # endif # define machine_is_s5linbox() (machine_arch_type == MACH_TYPE_S5LINBOX) #else # define machine_is_s5linbox() (0) #endif #ifdef CONFIG_MACH_NOMADIK # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NOMADIK # endif # define machine_is_nomadik() (machine_arch_type == MACH_TYPE_NOMADIK) #else # define machine_is_nomadik() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AT91_BJA1 # endif # define <API key>() (machine_arch_type == MACH_TYPE_AT91_BJA1) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_CORGI # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CORGI # endif # define machine_is_corgi() (machine_arch_type == MACH_TYPE_CORGI) #else # define machine_is_corgi() (0) #endif #ifdef CONFIG_MACH_POODLE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_POODLE # endif # define machine_is_poodle() (machine_arch_type == MACH_TYPE_POODLE) #else # define machine_is_poodle() (0) #endif #ifdef CONFIG_MACH_TEN # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TEN # endif # define machine_is_ten() (machine_arch_type == MACH_TYPE_TEN) #else # define machine_is_ten() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ROVERP5P # endif # define machine_is_roverp5p() (machine_arch_type == MACH_TYPE_ROVERP5P) #else # define machine_is_roverp5p() (0) #endif #ifdef CONFIG_MACH_SC2700 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SC2700 # endif # define machine_is_sc2700() (machine_arch_type == MACH_TYPE_SC2700) #else # define machine_is_sc2700() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EX_EAGLE # endif # define machine_is_ex_eagle() (machine_arch_type == MACH_TYPE_EX_EAGLE) #else # define machine_is_ex_eagle() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NX_PXA12 # endif # define machine_is_nx_pxa12() (machine_arch_type == MACH_TYPE_NX_PXA12) #else # define machine_is_nx_pxa12() (0) #endif #ifdef CONFIG_MACH_NX_PXA5 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NX_PXA5 # endif # define machine_is_nx_pxa5() (machine_arch_type == MACH_TYPE_NX_PXA5) #else # define machine_is_nx_pxa5() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_I819 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_I819 # endif # define machine_is_i819() (machine_arch_type == MACH_TYPE_I819) #else # define machine_is_i819() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IXMB995E # endif # define machine_is_ixmb995e() (machine_arch_type == MACH_TYPE_IXMB995E) #else # define machine_is_ixmb995e() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SKYRIDER # endif # define machine_is_skyrider() (machine_arch_type == MACH_TYPE_SKYRIDER) #else # define machine_is_skyrider() (0) #endif #ifdef CONFIG_MACH_SKYHAWK # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SKYHAWK # endif # define machine_is_skyhawk() (machine_arch_type == MACH_TYPE_SKYHAWK) #else # define machine_is_skyhawk() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_DEP2410 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DEP2410 # endif # define machine_is_dep2410() (machine_arch_type == MACH_TYPE_DEP2410) #else # define machine_is_dep2410() (0) #endif #ifdef CONFIG_MACH_ARMCORE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ARMCORE # endif # define machine_is_armcore() (machine_arch_type == MACH_TYPE_ARMCORE) #else # define machine_is_armcore() (0) #endif #ifdef CONFIG_MACH_HOBBIT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HOBBIT # endif # define machine_is_hobbit() (machine_arch_type == MACH_TYPE_HOBBIT) #else # define machine_is_hobbit() (0) #endif #ifdef CONFIG_MACH_H7210 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_H7210 # endif # define machine_is_h7210() (machine_arch_type == MACH_TYPE_H7210) #else # define machine_is_h7210() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ACC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ACC # endif # define machine_is_acc() (machine_arch_type == MACH_TYPE_ACC) #else # define machine_is_acc() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ESL_SARVA # endif # define <API key>() (machine_arch_type == MACH_TYPE_ESL_SARVA) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_XM250 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_XM250 # endif # define machine_is_xm250() (machine_arch_type == MACH_TYPE_XM250) #else # define machine_is_xm250() (0) #endif #ifdef CONFIG_MACH_T6TC1XB # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_T6TC1XB # endif # define machine_is_t6tc1xb() (machine_arch_type == MACH_TYPE_T6TC1XB) #else # define machine_is_t6tc1xb() (0) #endif #ifdef CONFIG_MACH_ESS710 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ESS710 # endif # define machine_is_ess710() (machine_arch_type == MACH_TYPE_ESS710) #else # define machine_is_ess710() (0) #endif #ifdef CONFIG_MACH_MX31ADS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX31ADS # endif # define machine_is_mx31ads() (machine_arch_type == MACH_TYPE_MX31ADS) #else # define machine_is_mx31ads() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HIMALAYA # endif # define machine_is_himalaya() (machine_arch_type == MACH_TYPE_HIMALAYA) #else # define machine_is_himalaya() (0) #endif #ifdef CONFIG_MACH_BOLFENK # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BOLFENK # endif # define machine_is_bolfenk() (machine_arch_type == MACH_TYPE_BOLFENK) #else # define machine_is_bolfenk() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_EDB9312 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EDB9312 # endif # define machine_is_edb9312() (machine_arch_type == MACH_TYPE_EDB9312) #else # define machine_is_edb9312() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_AXIMX3 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AXIMX3 # endif # define machine_is_aximx3() (machine_arch_type == MACH_TYPE_AXIMX3) #else # define machine_is_aximx3() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EB67XDIP # endif # define machine_is_eb67xdip() (machine_arch_type == MACH_TYPE_EB67XDIP) #else # define machine_is_eb67xdip() (0) #endif #ifdef CONFIG_MACH_WEBTXS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WEBTXS # endif # define machine_is_webtxs() (machine_arch_type == MACH_TYPE_WEBTXS) #else # define machine_is_webtxs() (0) #endif #ifdef CONFIG_MACH_HAWK # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HAWK # endif # define machine_is_hawk() (machine_arch_type == MACH_TYPE_HAWK) #else # define machine_is_hawk() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EXPRESSO # endif # define machine_is_expresso() (machine_arch_type == MACH_TYPE_EXPRESSO) #else # define machine_is_expresso() (0) #endif #ifdef CONFIG_MACH_H4000 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_H4000 # endif # define machine_is_h4000() (machine_arch_type == MACH_TYPE_H4000) #else # define machine_is_h4000() (0) #endif #ifdef CONFIG_MACH_DINO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DINO # endif # define machine_is_dino() (machine_arch_type == MACH_TYPE_DINO) #else # define machine_is_dino() (0) #endif #ifdef CONFIG_MACH_ML675K # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ML675K # endif # define machine_is_ml675k() (machine_arch_type == MACH_TYPE_ML675K) #else # define machine_is_ml675k() (0) #endif #ifdef CONFIG_MACH_EDB9301 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EDB9301 # endif # define machine_is_edb9301() (machine_arch_type == MACH_TYPE_EDB9301) #else # define machine_is_edb9301() (0) #endif #ifdef CONFIG_MACH_EDB9315 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EDB9315 # endif # define machine_is_edb9315() (machine_arch_type == MACH_TYPE_EDB9315) #else # define machine_is_edb9315() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RECIVA_TT # endif # define <API key>() (machine_arch_type == MACH_TYPE_RECIVA_TT) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_CSTCB01 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CSTCB01 # endif # define machine_is_cstcb01() (machine_arch_type == MACH_TYPE_CSTCB01) #else # define machine_is_cstcb01() (0) #endif #ifdef CONFIG_MACH_CSTCB1 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CSTCB1 # endif # define machine_is_cstcb1() (machine_arch_type == MACH_TYPE_CSTCB1) #else # define machine_is_cstcb1() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SHADWELL # endif # define machine_is_shadwell() (machine_arch_type == MACH_TYPE_SHADWELL) #else # define machine_is_shadwell() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GOEPEL263 # endif # define <API key>() (machine_arch_type == MACH_TYPE_GOEPEL263) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ACQ100 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ACQ100 # endif # define machine_is_acq100() (machine_arch_type == MACH_TYPE_ACQ100) #else # define machine_is_acq100() (0) #endif #ifdef CONFIG_MACH_MX1FS2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX1FS2 # endif # define machine_is_mx1fs2() (machine_arch_type == MACH_TYPE_MX1FS2) #else # define machine_is_mx1fs2() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HIPTOP_G1 # endif # define <API key>() (machine_arch_type == MACH_TYPE_HIPTOP_G1) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SPARKY # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SPARKY # endif # define machine_is_sparky() (machine_arch_type == MACH_TYPE_SPARKY) #else # define machine_is_sparky() (0) #endif #ifdef CONFIG_MACH_NS9750 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NS9750 # endif # define machine_is_ns9750() (machine_arch_type == MACH_TYPE_NS9750) #else # define machine_is_ns9750() (0) #endif #ifdef CONFIG_MACH_PHOENIX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PHOENIX # endif # define machine_is_phoenix() (machine_arch_type == MACH_TYPE_PHOENIX) #else # define machine_is_phoenix() (0) #endif #ifdef CONFIG_MACH_VR1000 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VR1000 # endif # define machine_is_vr1000() (machine_arch_type == MACH_TYPE_VR1000) #else # define machine_is_vr1000() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_BCM1160 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BCM1160 # endif # define machine_is_bcm1160() (machine_arch_type == MACH_TYPE_BCM1160) #else # define machine_is_bcm1160() (0) #endif #ifdef CONFIG_MACH_PCM022 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PCM022 # endif # define machine_is_pcm022() (machine_arch_type == MACH_TYPE_PCM022) #else # define machine_is_pcm022() (0) #endif #ifdef CONFIG_MACH_ADSGCX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ADSGCX # endif # define machine_is_adsgcx() (machine_arch_type == MACH_TYPE_ADSGCX) #else # define machine_is_adsgcx() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_DM320 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DM320 # endif # define machine_is_dm320() (machine_arch_type == MACH_TYPE_DM320) #else # define machine_is_dm320() (0) #endif #ifdef CONFIG_MACH_MARKOV # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MARKOV # endif # define machine_is_markov() (machine_arch_type == MACH_TYPE_MARKOV) #else # define machine_is_markov() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_COS7A400 # endif # define machine_is_cos7a400() (machine_arch_type == MACH_TYPE_COS7A400) #else # define machine_is_cos7a400() (0) #endif #ifdef CONFIG_MACH_MILANO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MILANO # endif # define machine_is_milano() (machine_arch_type == MACH_TYPE_MILANO) #else # define machine_is_milano() (0) #endif #ifdef CONFIG_MACH_UE9328 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_UE9328 # endif # define machine_is_ue9328() (machine_arch_type == MACH_TYPE_UE9328) #else # define machine_is_ue9328() (0) #endif #ifdef CONFIG_MACH_UEX255 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_UEX255 # endif # define machine_is_uex255() (machine_arch_type == MACH_TYPE_UEX255) #else # define machine_is_uex255() (0) #endif #ifdef CONFIG_MACH_UE2410 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_UE2410 # endif # define machine_is_ue2410() (machine_arch_type == MACH_TYPE_UE2410) #else # define machine_is_ue2410() (0) #endif #ifdef CONFIG_MACH_A620 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_A620 # endif # define machine_is_a620() (machine_arch_type == MACH_TYPE_A620) #else # define machine_is_a620() (0) #endif #ifdef CONFIG_MACH_OCELOT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OCELOT # endif # define machine_is_ocelot() (machine_arch_type == MACH_TYPE_OCELOT) #else # define machine_is_ocelot() (0) #endif #ifdef CONFIG_MACH_CHEETAH # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CHEETAH # endif # define machine_is_cheetah() (machine_arch_type == MACH_TYPE_CHEETAH) #else # define machine_is_cheetah() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ZVUE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ZVUE # endif # define machine_is_zvue() (machine_arch_type == MACH_TYPE_ZVUE) #else # define machine_is_zvue() (0) #endif #ifdef CONFIG_MACH_ROVERP1 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ROVERP1 # endif # define machine_is_roverp1() (machine_arch_type == MACH_TYPE_ROVERP1) #else # define machine_is_roverp1() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ASIDIAL2 # endif # define machine_is_asidial2() (machine_arch_type == MACH_TYPE_ASIDIAL2) #else # define machine_is_asidial2() (0) #endif #ifdef CONFIG_MACH_S3C24A0 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_S3C24A0 # endif # define machine_is_s3c24a0() (machine_arch_type == MACH_TYPE_S3C24A0) #else # define machine_is_s3c24a0() (0) #endif #ifdef CONFIG_MACH_E800 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_E800 # endif # define machine_is_e800() (machine_arch_type == MACH_TYPE_E800) #else # define machine_is_e800() (0) #endif #ifdef CONFIG_MACH_E750 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_E750 # endif # define machine_is_e750() (machine_arch_type == MACH_TYPE_E750) #else # define machine_is_e750() (0) #endif #ifdef CONFIG_MACH_S3C5500 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_S3C5500 # endif # define machine_is_s3c5500() (machine_arch_type == MACH_TYPE_S3C5500) #else # define machine_is_s3c5500() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SMDK5500 # endif # define machine_is_smdk5500() (machine_arch_type == MACH_TYPE_SMDK5500) #else # define machine_is_smdk5500() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_NBC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NBC # endif # define machine_is_nbc() (machine_arch_type == MACH_TYPE_NBC) #else # define machine_is_nbc() (0) #endif #ifdef CONFIG_MACH_KODIAK # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KODIAK # endif # define machine_is_kodiak() (machine_arch_type == MACH_TYPE_KODIAK) #else # define machine_is_kodiak() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_HW90200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HW90200 # endif # define machine_is_hw90200() (machine_arch_type == MACH_TYPE_HW90200) #else # define machine_is_hw90200() (0) #endif #ifdef CONFIG_MACH_CONDOR # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CONDOR # endif # define machine_is_condor() (machine_arch_type == MACH_TYPE_CONDOR) #else # define machine_is_condor() (0) #endif #ifdef CONFIG_MACH_CUP # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CUP # endif # define machine_is_cup() (machine_arch_type == MACH_TYPE_CUP) #else # define machine_is_cup() (0) #endif #ifdef CONFIG_MACH_KITE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KITE # endif # define machine_is_kite() (machine_arch_type == MACH_TYPE_KITE) #else # define machine_is_kite() (0) #endif #ifdef CONFIG_MACH_SCB9328 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SCB9328 # endif # define machine_is_scb9328() (machine_arch_type == MACH_TYPE_SCB9328) #else # define machine_is_scb9328() (0) #endif #ifdef CONFIG_MACH_OMAP_H3 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OMAP_H3 # endif # define machine_is_omap_h3() (machine_arch_type == MACH_TYPE_OMAP_H3) #else # define machine_is_omap_h3() (0) #endif #ifdef CONFIG_MACH_OMAP_H4 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OMAP_H4 # endif # define machine_is_omap_h4() (machine_arch_type == MACH_TYPE_OMAP_H4) #else # define machine_is_omap_h4() (0) #endif #ifdef CONFIG_MACH_N10 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_N10 # endif # define machine_is_n10() (machine_arch_type == MACH_TYPE_N10) #else # define machine_is_n10() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MONTAJADE # endif # define <API key>() (machine_arch_type == MACH_TYPE_MONTAJADE) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SG560 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SG560 # endif # define machine_is_sg560() (machine_arch_type == MACH_TYPE_SG560) #else # define machine_is_sg560() (0) #endif #ifdef CONFIG_MACH_DP1000 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DP1000 # endif # define machine_is_dp1000() (machine_arch_type == MACH_TYPE_DP1000) #else # define machine_is_dp1000() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OMAP_OSK # endif # define machine_is_omap_osk() (machine_arch_type == MACH_TYPE_OMAP_OSK) #else # define machine_is_omap_osk() (0) #endif #ifdef CONFIG_MACH_RG100V3 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RG100V3 # endif # define machine_is_rg100v3() (machine_arch_type == MACH_TYPE_RG100V3) #else # define machine_is_rg100v3() (0) #endif #ifdef CONFIG_MACH_MX2ADS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX2ADS # endif # define machine_is_mx2ads() (machine_arch_type == MACH_TYPE_MX2ADS) #else # define machine_is_mx2ads() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PXA_KILO # endif # define machine_is_pxa_kilo() (machine_arch_type == MACH_TYPE_PXA_KILO) #else # define machine_is_pxa_kilo() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_TOSA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TOSA # endif # define machine_is_tosa() (machine_arch_type == MACH_TYPE_TOSA) #else # define machine_is_tosa() (0) #endif #ifdef CONFIG_MACH_MB2520F # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MB2520F # endif # define machine_is_mb2520f() (machine_arch_type == MACH_TYPE_MB2520F) #else # define machine_is_mb2520f() (0) #endif #ifdef CONFIG_MACH_EMC1000 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EMC1000 # endif # define machine_is_emc1000() (machine_arch_type == MACH_TYPE_EMC1000) #else # define machine_is_emc1000() (0) #endif #ifdef CONFIG_MACH_TIDSC25 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TIDSC25 # endif # define machine_is_tidsc25() (machine_arch_type == MACH_TYPE_TIDSC25) #else # define machine_is_tidsc25() (0) #endif #ifdef CONFIG_MACH_AKCPMXL # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AKCPMXL # endif # define machine_is_akcpmxl() (machine_arch_type == MACH_TYPE_AKCPMXL) #else # define machine_is_akcpmxl() (0) #endif #ifdef CONFIG_MACH_AV3XX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AV3XX # endif # define machine_is_av3xx() (machine_arch_type == MACH_TYPE_AV3XX) #else # define machine_is_av3xx() (0) #endif #ifdef CONFIG_MACH_AVILA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AVILA # endif # define machine_is_avila() (machine_arch_type == MACH_TYPE_AVILA) #else # define machine_is_avila() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PXA_MPM10 # endif # define <API key>() (machine_arch_type == MACH_TYPE_PXA_MPM10) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SGOLD # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SGOLD # endif # define machine_is_sgold() (machine_arch_type == MACH_TYPE_SGOLD) #else # define machine_is_sgold() (0) #endif #ifdef CONFIG_MACH_OSCAR # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OSCAR # endif # define machine_is_oscar() (machine_arch_type == MACH_TYPE_OSCAR) #else # define machine_is_oscar() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EPXA4USB2 # endif # define <API key>() (machine_arch_type == MACH_TYPE_EPXA4USB2) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_XSENGINE # endif # define machine_is_xsengine() (machine_arch_type == MACH_TYPE_XSENGINE) #else # define machine_is_xsengine() (0) #endif #ifdef CONFIG_MACH_IP600 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IP600 # endif # define machine_is_ip600() (machine_arch_type == MACH_TYPE_IP600) #else # define machine_is_ip600() (0) #endif #ifdef CONFIG_MACH_MCAN2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MCAN2 # endif # define machine_is_mcan2() (machine_arch_type == MACH_TYPE_MCAN2) #else # define machine_is_mcan2() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SKYMINDER # endif # define <API key>() (machine_arch_type == MACH_TYPE_SKYMINDER) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LPD79520 # endif # define machine_is_lpd79520() (machine_arch_type == MACH_TYPE_LPD79520) #else # define machine_is_lpd79520() (0) #endif #ifdef CONFIG_MACH_EDB9302 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EDB9302 # endif # define machine_is_edb9302() (machine_arch_type == MACH_TYPE_EDB9302) #else # define machine_is_edb9302() (0) #endif #ifdef CONFIG_MACH_HW90340 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HW90340 # endif # define machine_is_hw90340() (machine_arch_type == MACH_TYPE_HW90340) #else # define machine_is_hw90340() (0) #endif #ifdef CONFIG_MACH_CIP_BOX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CIP_BOX # endif # define machine_is_cip_box() (machine_arch_type == MACH_TYPE_CIP_BOX) #else # define machine_is_cip_box() (0) #endif #ifdef CONFIG_MACH_IVPN # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IVPN # endif # define machine_is_ivpn() (machine_arch_type == MACH_TYPE_IVPN) #else # define machine_is_ivpn() (0) #endif #ifdef CONFIG_MACH_RSOC2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RSOC2 # endif # define machine_is_rsoc2() (machine_arch_type == MACH_TYPE_RSOC2) #else # define machine_is_rsoc2() (0) #endif #ifdef CONFIG_MACH_HUSKY # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HUSKY # endif # define machine_is_husky() (machine_arch_type == MACH_TYPE_HUSKY) #else # define machine_is_husky() (0) #endif #ifdef CONFIG_MACH_BOXER # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BOXER # endif # define machine_is_boxer() (machine_arch_type == MACH_TYPE_BOXER) #else # define machine_is_boxer() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SHEPHERD # endif # define machine_is_shepherd() (machine_arch_type == MACH_TYPE_SHEPHERD) #else # define machine_is_shepherd() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_LPC2294 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LPC2294 # endif # define machine_is_lpc2294() (machine_arch_type == MACH_TYPE_LPC2294) #else # define machine_is_lpc2294() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ENS_CMU # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ENS_CMU # endif # define machine_is_ens_cmu() (machine_arch_type == MACH_TYPE_ENS_CMU) #else # define machine_is_ens_cmu() (0) #endif #ifdef CONFIG_MACH_MM6_SDB # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MM6_SDB # endif # define machine_is_mm6_sdb() (machine_arch_type == MACH_TYPE_MM6_SDB) #else # define machine_is_mm6_sdb() (0) #endif #ifdef CONFIG_MACH_SATURN # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SATURN # endif # define machine_is_saturn() (machine_arch_type == MACH_TYPE_SATURN) #else # define machine_is_saturn() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_I30030EVB # endif # define <API key>() (machine_arch_type == MACH_TYPE_I30030EVB) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SMDK2800 # endif # define machine_is_smdk2800() (machine_arch_type == MACH_TYPE_SMDK2800) #else # define machine_is_smdk2800() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MTWILSON # endif # define machine_is_mtwilson() (machine_arch_type == MACH_TYPE_MTWILSON) #else # define machine_is_mtwilson() (0) #endif #ifdef CONFIG_MACH_ZITI # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ZITI # endif # define machine_is_ziti() (machine_arch_type == MACH_TYPE_ZITI) #else # define machine_is_ziti() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_TENGINE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TENGINE # endif # define machine_is_tengine() (machine_arch_type == MACH_TYPE_TENGINE) #else # define machine_is_tengine() (0) #endif #ifdef CONFIG_MACH_S3C2460 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_S3C2460 # endif # define machine_is_s3c2460() (machine_arch_type == MACH_TYPE_S3C2460) #else # define machine_is_s3c2460() (0) #endif #ifdef CONFIG_MACH_PDM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PDM # endif # define machine_is_pdm() (machine_arch_type == MACH_TYPE_PDM) #else # define machine_is_pdm() (0) #endif #ifdef CONFIG_MACH_H4700 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_H4700 # endif # define machine_is_h4700() (machine_arch_type == MACH_TYPE_H4700) #else # define machine_is_h4700() (0) #endif #ifdef CONFIG_MACH_H6300 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_H6300 # endif # define machine_is_h6300() (machine_arch_type == MACH_TYPE_H6300) #else # define machine_is_h6300() (0) #endif #ifdef CONFIG_MACH_RZ1700 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RZ1700 # endif # define machine_is_rz1700() (machine_arch_type == MACH_TYPE_RZ1700) #else # define machine_is_rz1700() (0) #endif #ifdef CONFIG_MACH_A716 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_A716 # endif # define machine_is_a716() (machine_arch_type == MACH_TYPE_A716) #else # define machine_is_a716() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ESTK2440A # endif # define <API key>() (machine_arch_type == MACH_TYPE_ESTK2440A) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ATWIXP425 # endif # define <API key>() (machine_arch_type == MACH_TYPE_ATWIXP425) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_CSB336 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CSB336 # endif # define machine_is_csb336() (machine_arch_type == MACH_TYPE_CSB336) #else # define machine_is_csb336() (0) #endif #ifdef CONFIG_MACH_RIRM2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RIRM2 # endif # define machine_is_rirm2() (machine_arch_type == MACH_TYPE_RIRM2) #else # define machine_is_rirm2() (0) #endif #ifdef CONFIG_MACH_CX23518 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CX23518 # endif # define machine_is_cx23518() (machine_arch_type == MACH_TYPE_CX23518) #else # define machine_is_cx23518() (0) #endif #ifdef CONFIG_MACH_CX2351X # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CX2351X # endif # define machine_is_cx2351x() (machine_arch_type == MACH_TYPE_CX2351X) #else # define machine_is_cx2351x() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_COMPUTIME # endif # define <API key>() (machine_arch_type == MACH_TYPE_COMPUTIME) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_IZARUS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IZARUS # endif # define machine_is_izarus() (machine_arch_type == MACH_TYPE_IZARUS) #else # define machine_is_izarus() (0) #endif #ifdef CONFIG_MACH_RTS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RTS # endif # define machine_is_pxa_rts() (machine_arch_type == MACH_TYPE_RTS) #else # define machine_is_pxa_rts() (0) #endif #ifdef CONFIG_MACH_SE5100 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SE5100 # endif # define machine_is_se5100() (machine_arch_type == MACH_TYPE_SE5100) #else # define machine_is_se5100() (0) #endif #ifdef CONFIG_MACH_S3C2510 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_S3C2510 # endif # define machine_is_s3c2510() (machine_arch_type == MACH_TYPE_S3C2510) #else # define machine_is_s3c2510() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CSB437TL # endif # define machine_is_csb437tl() (machine_arch_type == MACH_TYPE_CSB437TL) #else # define machine_is_csb437tl() (0) #endif #ifdef CONFIG_MACH_SLAUSON # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SLAUSON # endif # define machine_is_slauson() (machine_arch_type == MACH_TYPE_SLAUSON) #else # define machine_is_slauson() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TDC_P210 # endif # define machine_is_tdc_p210() (machine_arch_type == MACH_TYPE_TDC_P210) #else # define machine_is_tdc_p210() (0) #endif #ifdef CONFIG_MACH_SG580 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SG580 # endif # define machine_is_sg580() (machine_arch_type == MACH_TYPE_SG580) #else # define machine_is_sg580() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WRSBCARM7 # endif # define <API key>() (machine_arch_type == MACH_TYPE_WRSBCARM7) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_IPD # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IPD # endif # define machine_is_ipd() (machine_arch_type == MACH_TYPE_IPD) #else # define machine_is_ipd() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_XAENIAX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_XAENIAX # endif # define machine_is_xaeniax() (machine_arch_type == MACH_TYPE_XAENIAX) #else # define machine_is_xaeniax() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SOMN4250 # endif # define machine_is_somn4250() (machine_arch_type == MACH_TYPE_SOMN4250) #else # define machine_is_somn4250() (0) #endif #ifdef CONFIG_MACH_PLEB2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PLEB2 # endif # define machine_is_pleb2() (machine_arch_type == MACH_TYPE_PLEB2) #else # define machine_is_pleb2() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_CHAFFEE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CHAFFEE # endif # define machine_is_chaffee() (machine_arch_type == MACH_TYPE_CHAFFEE) #else # define machine_is_chaffee() (0) #endif #ifdef CONFIG_MACH_RMS101 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RMS101 # endif # define machine_is_rms101() (machine_arch_type == MACH_TYPE_RMS101) #else # define machine_is_rms101() (0) #endif #ifdef CONFIG_MACH_RX3715 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RX3715 # endif # define machine_is_rx3715() (machine_arch_type == MACH_TYPE_RX3715) #else # define machine_is_rx3715() (0) #endif #ifdef CONFIG_MACH_SWIFT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SWIFT # endif # define machine_is_swift() (machine_arch_type == MACH_TYPE_SWIFT) #else # define machine_is_swift() (0) #endif #ifdef CONFIG_MACH_ROVERP7 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ROVERP7 # endif # define machine_is_roverp7() (machine_arch_type == MACH_TYPE_ROVERP7) #else # define machine_is_roverp7() (0) #endif #ifdef CONFIG_MACH_PR818S # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PR818S # endif # define machine_is_pr818s() (machine_arch_type == MACH_TYPE_PR818S) #else # define machine_is_pr818s() (0) #endif #ifdef CONFIG_MACH_TRXPRO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TRXPRO # endif # define machine_is_trxpro() (machine_arch_type == MACH_TYPE_TRXPRO) #else # define machine_is_trxpro() (0) #endif #ifdef CONFIG_MACH_NSLU2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NSLU2 # endif # define machine_is_nslu2() (machine_arch_type == MACH_TYPE_NSLU2) #else # define machine_is_nslu2() (0) #endif #ifdef CONFIG_MACH_E400 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_E400 # endif # define machine_is_e400() (machine_arch_type == MACH_TYPE_E400) #else # define machine_is_e400() (0) #endif #ifdef CONFIG_MACH_TRAB # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TRAB # endif # define machine_is_trab() (machine_arch_type == MACH_TYPE_TRAB) #else # define machine_is_trab() (0) #endif #ifdef CONFIG_MACH_CMC_PU2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CMC_PU2 # endif # define machine_is_cmc_pu2() (machine_arch_type == MACH_TYPE_CMC_PU2) #else # define machine_is_cmc_pu2() (0) #endif #ifdef CONFIG_MACH_FULCRUM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FULCRUM # endif # define machine_is_fulcrum() (machine_arch_type == MACH_TYPE_FULCRUM) #else # define machine_is_fulcrum() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_STR710 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_STR710 # endif # define machine_is_str710() (machine_arch_type == MACH_TYPE_STR710) #else # define machine_is_str710() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IXDPG425 # endif # define machine_is_ixdpg425() (machine_arch_type == MACH_TYPE_IXDPG425) #else # define machine_is_ixdpg425() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TOMTOMGO # endif # define machine_is_tomtomgo() (machine_arch_type == MACH_TYPE_TOMTOMGO) #else # define machine_is_tomtomgo() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_EDB9307 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EDB9307 # endif # define machine_is_edb9307() (machine_arch_type == MACH_TYPE_EDB9307) #else # define machine_is_edb9307() (0) #endif #ifdef CONFIG_MACH_SG565 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SG565 # endif # define machine_is_sg565() (machine_arch_type == MACH_TYPE_SG565) #else # define machine_is_sg565() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LPD79524 # endif # define machine_is_lpd79524() (machine_arch_type == MACH_TYPE_LPD79524) #else # define machine_is_lpd79524() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LPD79525 # endif # define machine_is_lpd79525() (machine_arch_type == MACH_TYPE_LPD79525) #else # define machine_is_lpd79525() (0) #endif #ifdef CONFIG_MACH_RMS100 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RMS100 # endif # define machine_is_rms100() (machine_arch_type == MACH_TYPE_RMS100) #else # define machine_is_rms100() (0) #endif #ifdef CONFIG_MACH_KB9200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KB9200 # endif # define machine_is_kb9200() (machine_arch_type == MACH_TYPE_KB9200) #else # define machine_is_kb9200() (0) #endif #ifdef CONFIG_MACH_SX1 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SX1 # endif # define machine_is_sx1() (machine_arch_type == MACH_TYPE_SX1) #else # define machine_is_sx1() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ARMADILLO # endif # define <API key>() (machine_arch_type == MACH_TYPE_ARMADILLO) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_IPCU # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IPCU # endif # define machine_is_ipcu() (machine_arch_type == MACH_TYPE_IPCU) #else # define machine_is_ipcu() (0) #endif #ifdef CONFIG_MACH_LOOX720 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LOOX720 # endif # define machine_is_loox720() (machine_arch_type == MACH_TYPE_LOOX720) #else # define machine_is_loox720() (0) #endif #ifdef CONFIG_MACH_IXDP465 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IXDP465 # endif # define machine_is_ixdp465() (machine_arch_type == MACH_TYPE_IXDP465) #else # define machine_is_ixdp465() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IXDP2351 # endif # define machine_is_ixdp2351() (machine_arch_type == MACH_TYPE_IXDP2351) #else # define machine_is_ixdp2351() (0) #endif #ifdef CONFIG_MACH_ADSVIX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ADSVIX # endif # define machine_is_adsvix() (machine_arch_type == MACH_TYPE_ADSVIX) #else # define machine_is_adsvix() (0) #endif #ifdef CONFIG_MACH_DM270 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DM270 # endif # define machine_is_dm270() (machine_arch_type == MACH_TYPE_DM270) #else # define machine_is_dm270() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SOCLTPLUS # endif # define <API key>() (machine_arch_type == MACH_TYPE_SOCLTPLUS) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ECIA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ECIA # endif # define machine_is_ecia() (machine_arch_type == MACH_TYPE_ECIA) #else # define machine_is_ecia() (0) #endif #ifdef CONFIG_MACH_CM4008 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CM4008 # endif # define machine_is_cm4008() (machine_arch_type == MACH_TYPE_CM4008) #else # define machine_is_cm4008() (0) #endif #ifdef CONFIG_MACH_P2001 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_P2001 # endif # define machine_is_p2001() (machine_arch_type == MACH_TYPE_P2001) #else # define machine_is_p2001() (0) #endif #ifdef CONFIG_MACH_TWISTER # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TWISTER # endif # define machine_is_twister() (machine_arch_type == MACH_TYPE_TWISTER) #else # define machine_is_twister() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MUDSHARK # endif # define machine_is_mudshark() (machine_arch_type == MACH_TYPE_MUDSHARK) #else # define machine_is_mudshark() (0) #endif #ifdef CONFIG_MACH_HB2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HB2 # endif # define machine_is_hb2() (machine_arch_type == MACH_TYPE_HB2) #else # define machine_is_hb2() (0) #endif #ifdef CONFIG_MACH_IQ80332 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IQ80332 # endif # define machine_is_iq80332() (machine_arch_type == MACH_TYPE_IQ80332) #else # define machine_is_iq80332() (0) #endif #ifdef CONFIG_MACH_SENDT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SENDT # endif # define machine_is_sendt() (machine_arch_type == MACH_TYPE_SENDT) #else # define machine_is_sendt() (0) #endif #ifdef CONFIG_MACH_MX2JAZZ # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX2JAZZ # endif # define machine_is_mx2jazz() (machine_arch_type == MACH_TYPE_MX2JAZZ) #else # define machine_is_mx2jazz() (0) #endif #ifdef CONFIG_MACH_MULTIIO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MULTIIO # endif # define machine_is_multiio() (machine_arch_type == MACH_TYPE_MULTIIO) #else # define machine_is_multiio() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HRDISPLAY # endif # define <API key>() (machine_arch_type == MACH_TYPE_HRDISPLAY) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TRIZEPS3 # endif # define machine_is_trizeps3() (machine_arch_type == MACH_TYPE_TRIZEPS3) #else # define machine_is_trizeps3() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ZEFEERDZA # endif # define <API key>() (machine_arch_type == MACH_TYPE_ZEFEERDZA) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ZEFEERDZB # endif # define <API key>() (machine_arch_type == MACH_TYPE_ZEFEERDZB) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ZEFEERDZG # endif # define <API key>() (machine_arch_type == MACH_TYPE_ZEFEERDZG) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ZEFEERDZN # endif # define <API key>() (machine_arch_type == MACH_TYPE_ZEFEERDZN) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ZEFEERDZQ # endif # define <API key>() (machine_arch_type == MACH_TYPE_ZEFEERDZQ) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GTWX5715 # endif # define machine_is_gtwx5715() (machine_arch_type == MACH_TYPE_GTWX5715) #else # define machine_is_gtwx5715() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_TIP03 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TIP03 # endif # define machine_is_tip03() (machine_arch_type == MACH_TYPE_TIP03) #else # define machine_is_tip03() (0) #endif #ifdef CONFIG_MACH_A9200EC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_A9200EC # endif # define machine_is_a9200ec() (machine_arch_type == MACH_TYPE_A9200EC) #else # define machine_is_a9200ec() (0) #endif #ifdef CONFIG_MACH_PNX0105 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PNX0105 # endif # define machine_is_pnx0105() (machine_arch_type == MACH_TYPE_PNX0105) #else # define machine_is_pnx0105() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ADCPOECPU # endif # define <API key>() (machine_arch_type == MACH_TYPE_ADCPOECPU) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_CSB637 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CSB637 # endif # define machine_is_csb637() (machine_arch_type == MACH_TYPE_CSB637) #else # define machine_is_csb637() (0) #endif #ifdef CONFIG_MACH_MB9200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MB9200 # endif # define machine_is_mb9200() (machine_arch_type == MACH_TYPE_MB9200) #else # define machine_is_mb9200() (0) #endif #ifdef CONFIG_MACH_KULUN # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KULUN # endif # define machine_is_kulun() (machine_arch_type == MACH_TYPE_KULUN) #else # define machine_is_kulun() (0) #endif #ifdef CONFIG_MACH_SNAPPER # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SNAPPER # endif # define machine_is_snapper() (machine_arch_type == MACH_TYPE_SNAPPER) #else # define machine_is_snapper() (0) #endif #ifdef CONFIG_MACH_OPTIMA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OPTIMA # endif # define machine_is_optima() (machine_arch_type == MACH_TYPE_OPTIMA) #else # define machine_is_optima() (0) #endif #ifdef CONFIG_MACH_DLHSBC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DLHSBC # endif # define machine_is_dlhsbc() (machine_arch_type == MACH_TYPE_DLHSBC) #else # define machine_is_dlhsbc() (0) #endif #ifdef CONFIG_MACH_X30 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_X30 # endif # define machine_is_x30() (machine_arch_type == MACH_TYPE_X30) #else # define machine_is_x30() (0) #endif #ifdef CONFIG_MACH_N30 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_N30 # endif # define machine_is_n30() (machine_arch_type == MACH_TYPE_N30) #else # define machine_is_n30() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_AJAX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AJAX # endif # define machine_is_ajax() (machine_arch_type == MACH_TYPE_AJAX) #else # define machine_is_ajax() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NEC_MP900 # endif # define <API key>() (machine_arch_type == MACH_TYPE_NEC_MP900) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VVTK1000 # endif # define machine_is_vvtk1000() (machine_arch_type == MACH_TYPE_VVTK1000) #else # define machine_is_vvtk1000() (0) #endif #ifdef CONFIG_MACH_KAFA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KAFA # endif # define machine_is_kafa() (machine_arch_type == MACH_TYPE_KAFA) #else # define machine_is_kafa() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VVTK3000 # endif # define machine_is_vvtk3000() (machine_arch_type == MACH_TYPE_VVTK3000) #else # define machine_is_vvtk3000() (0) #endif #ifdef CONFIG_MACH_PIMX1 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PIMX1 # endif # define machine_is_pimx1() (machine_arch_type == MACH_TYPE_PIMX1) #else # define machine_is_pimx1() (0) #endif #ifdef CONFIG_MACH_OLLIE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OLLIE # endif # define machine_is_ollie() (machine_arch_type == MACH_TYPE_OLLIE) #else # define machine_is_ollie() (0) #endif #ifdef CONFIG_MACH_SKYMAX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SKYMAX # endif # define machine_is_skymax() (machine_arch_type == MACH_TYPE_SKYMAX) #else # define machine_is_skymax() (0) #endif #ifdef CONFIG_MACH_JAZZ # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_JAZZ # endif # define machine_is_jazz() (machine_arch_type == MACH_TYPE_JAZZ) #else # define machine_is_jazz() (0) #endif #ifdef CONFIG_MACH_TEL_T3 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TEL_T3 # endif # define machine_is_tel_t3() (machine_arch_type == MACH_TYPE_TEL_T3) #else # define machine_is_tel_t3() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_BTWEB # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BTWEB # endif # define machine_is_btweb() (machine_arch_type == MACH_TYPE_BTWEB) #else # define machine_is_btweb() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_CM41XX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CM41XX # endif # define machine_is_cm41xx() (machine_arch_type == MACH_TYPE_CM41XX) #else # define machine_is_cm41xx() (0) #endif #ifdef CONFIG_MACH_TS72XX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TS72XX # endif # define machine_is_ts72xx() (machine_arch_type == MACH_TYPE_TS72XX) #else # define machine_is_ts72xx() (0) #endif #ifdef CONFIG_MACH_NGGPXA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NGGPXA # endif # define machine_is_nggpxa() (machine_arch_type == MACH_TYPE_NGGPXA) #else # define machine_is_nggpxa() (0) #endif #ifdef CONFIG_MACH_CSB535 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CSB535 # endif # define machine_is_csb535() (machine_arch_type == MACH_TYPE_CSB535) #else # define machine_is_csb535() (0) #endif #ifdef CONFIG_MACH_CSB536 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CSB536 # endif # define machine_is_csb536() (machine_arch_type == MACH_TYPE_CSB536) #else # define machine_is_csb536() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_PRAXIS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PRAXIS # endif # define machine_is_praxis() (machine_arch_type == MACH_TYPE_PRAXIS) #else # define machine_is_praxis() (0) #endif #ifdef CONFIG_MACH_LH75411 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LH75411 # endif # define machine_is_lh75411() (machine_arch_type == MACH_TYPE_LH75411) #else # define machine_is_lh75411() (0) #endif #ifdef CONFIG_MACH_OTOM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OTOM # endif # define machine_is_otom() (machine_arch_type == MACH_TYPE_OTOM) #else # define machine_is_otom() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_LOOX410 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LOOX410 # endif # define machine_is_loox410() (machine_arch_type == MACH_TYPE_LOOX410) #else # define machine_is_loox410() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WESTLAKE # endif # define machine_is_westlake() (machine_arch_type == MACH_TYPE_WESTLAKE) #else # define machine_is_westlake() (0) #endif #ifdef CONFIG_MACH_NSB # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NSB # endif # define machine_is_nsb() (machine_arch_type == MACH_TYPE_NSB) #else # define machine_is_nsb() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_TYPHOON # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TYPHOON # endif # define machine_is_typhoon() (machine_arch_type == MACH_TYPE_TYPHOON) #else # define machine_is_typhoon() (0) #endif #ifdef CONFIG_MACH_CNAV # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CNAV # endif # define machine_is_cnav() (machine_arch_type == MACH_TYPE_CNAV) #else # define machine_is_cnav() (0) #endif #ifdef CONFIG_MACH_A730 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_A730 # endif # define machine_is_a730() (machine_arch_type == MACH_TYPE_A730) #else # define machine_is_a730() (0) #endif #ifdef CONFIG_MACH_NETSTAR # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NETSTAR # endif # define machine_is_netstar() (machine_arch_type == MACH_TYPE_NETSTAR) #else # define machine_is_netstar() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define machine_is_supercon() (machine_arch_type == <API key>) #else # define machine_is_supercon() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SHIVA1100 # endif # define <API key>() (machine_arch_type == MACH_TYPE_SHIVA1100) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ETEXSC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ETEXSC # endif # define machine_is_etexsc() (machine_arch_type == MACH_TYPE_ETEXSC) #else # define machine_is_etexsc() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IXDPG465 # endif # define machine_is_ixdpg465() (machine_arch_type == MACH_TYPE_IXDPG465) #else # define machine_is_ixdpg465() (0) #endif #ifdef CONFIG_MACH_A9M2410 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_A9M2410 # endif # define machine_is_a9m2410() (machine_arch_type == MACH_TYPE_A9M2410) #else # define machine_is_a9m2410() (0) #endif #ifdef CONFIG_MACH_A9M2440 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_A9M2440 # endif # define machine_is_a9m2440() (machine_arch_type == MACH_TYPE_A9M2440) #else # define machine_is_a9m2440() (0) #endif #ifdef CONFIG_MACH_A9M9750 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_A9M9750 # endif # define machine_is_a9m9750() (machine_arch_type == MACH_TYPE_A9M9750) #else # define machine_is_a9m9750() (0) #endif #ifdef CONFIG_MACH_A9M9360 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_A9M9360 # endif # define machine_is_a9m9360() (machine_arch_type == MACH_TYPE_A9M9360) #else # define machine_is_a9m9360() (0) #endif #ifdef CONFIG_MACH_UNC90 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_UNC90 # endif # define machine_is_unc90() (machine_arch_type == MACH_TYPE_UNC90) #else # define machine_is_unc90() (0) #endif #ifdef CONFIG_MACH_ECO920 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ECO920 # endif # define machine_is_eco920() (machine_arch_type == MACH_TYPE_ECO920) #else # define machine_is_eco920() (0) #endif #ifdef CONFIG_MACH_SATVIEW # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SATVIEW # endif # define machine_is_satview() (machine_arch_type == MACH_TYPE_SATVIEW) #else # define machine_is_satview() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_GP32 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GP32 # endif # define machine_is_gp32() (machine_arch_type == MACH_TYPE_GP32) #else # define machine_is_gp32() (0) #endif #ifdef CONFIG_MACH_GEM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GEM # endif # define machine_is_gem() (machine_arch_type == MACH_TYPE_GEM) #else # define machine_is_gem() (0) #endif #ifdef CONFIG_MACH_I858 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_I858 # endif # define machine_is_i858() (machine_arch_type == MACH_TYPE_I858) #else # define machine_is_i858() (0) #endif #ifdef CONFIG_MACH_HX2750 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HX2750 # endif # define machine_is_hx2750() (machine_arch_type == MACH_TYPE_HX2750) #else # define machine_is_hx2750() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_P700 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_P700 # endif # define machine_is_p700() (machine_arch_type == MACH_TYPE_P700) #else # define machine_is_p700() (0) #endif #ifdef CONFIG_MACH_CPE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CPE # endif # define machine_is_cpe() (machine_arch_type == MACH_TYPE_CPE) #else # define machine_is_cpe() (0) #endif #ifdef CONFIG_MACH_SPITZ # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SPITZ # endif # define machine_is_spitz() (machine_arch_type == MACH_TYPE_SPITZ) #else # define machine_is_spitz() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NIMBRA340 # endif # define <API key>() (machine_arch_type == MACH_TYPE_NIMBRA340) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_LPC22XX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LPC22XX # endif # define machine_is_lpc22xx() (machine_arch_type == MACH_TYPE_LPC22XX) #else # define machine_is_lpc22xx() (0) #endif #ifdef CONFIG_MACH_COMET3 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_COMET3 # endif # define <API key>() (machine_arch_type == MACH_TYPE_COMET3) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_COMET4 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_COMET4 # endif # define <API key>() (machine_arch_type == MACH_TYPE_COMET4) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_CSB625 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CSB625 # endif # define machine_is_csb625() (machine_arch_type == MACH_TYPE_CSB625) #else # define machine_is_csb625() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FORTUNET2 # endif # define <API key>() (machine_arch_type == MACH_TYPE_FORTUNET2) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_S5H2200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_S5H2200 # endif # define machine_is_s5h2200() (machine_arch_type == MACH_TYPE_S5H2200) #else # define machine_is_s5h2200() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OPTORM920 # endif # define <API key>() (machine_arch_type == MACH_TYPE_OPTORM920) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ADSSPHERE # endif # define <API key>() (machine_arch_type == MACH_TYPE_ADSSPHERE) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ADSPORTAL # endif # define <API key>() (machine_arch_type == MACH_TYPE_ADSPORTAL) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LN2410SBC # endif # define <API key>() (machine_arch_type == MACH_TYPE_LN2410SBC) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_CB3RUFC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CB3RUFC # endif # define machine_is_cb3rufc() (machine_arch_type == MACH_TYPE_CB3RUFC) #else # define machine_is_cb3rufc() (0) #endif #ifdef CONFIG_MACH_MP2USB # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MP2USB # endif # define machine_is_mp2usb() (machine_arch_type == MACH_TYPE_MP2USB) #else # define machine_is_mp2usb() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NTNP425C # endif # define machine_is_ntnp425c() (machine_arch_type == MACH_TYPE_NTNP425C) #else # define machine_is_ntnp425c() (0) #endif #ifdef CONFIG_MACH_COLIBRI # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_COLIBRI # endif # define machine_is_colibri() (machine_arch_type == MACH_TYPE_COLIBRI) #else # define machine_is_colibri() (0) #endif #ifdef CONFIG_MACH_PCM7220 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PCM7220 # endif # define machine_is_pcm7220() (machine_arch_type == MACH_TYPE_PCM7220) #else # define machine_is_pcm7220() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_PCM027 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PCM027 # endif # define machine_is_pcm027() (machine_arch_type == MACH_TYPE_PCM027) #else # define machine_is_pcm027() (0) #endif #ifdef CONFIG_MACH_CMPXA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CMPXA # endif # define machine_is_cmpxa() (machine_arch_type == MACH_TYPE_CMPXA) #else # define machine_is_cmpxa() (0) #endif #ifdef CONFIG_MACH_ANUBIS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ANUBIS # endif # define machine_is_anubis() (machine_arch_type == MACH_TYPE_ANUBIS) #else # define machine_is_anubis() (0) #endif #ifdef CONFIG_MACH_ITE8152 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ITE8152 # endif # define machine_is_ite8152() (machine_arch_type == MACH_TYPE_ITE8152) #else # define machine_is_ite8152() (0) #endif #ifdef CONFIG_MACH_LPC3XXX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LPC3XXX # endif # define machine_is_lpc3xxx() (machine_arch_type == MACH_TYPE_LPC3XXX) #else # define machine_is_lpc3xxx() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PUPPETEER # endif # define <API key>() (machine_arch_type == MACH_TYPE_PUPPETEER) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_E570 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_E570 # endif # define machine_is_e570() (machine_arch_type == MACH_TYPE_E570) #else # define machine_is_e570() (0) #endif #ifdef CONFIG_MACH_X50 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_X50 # endif # define machine_is_x50() (machine_arch_type == MACH_TYPE_X50) #else # define machine_is_x50() (0) #endif #ifdef CONFIG_MACH_RECON # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RECON # endif # define machine_is_recon() (machine_arch_type == MACH_TYPE_RECON) #else # define machine_is_recon() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_XBOARDGP8 # endif # define <API key>() (machine_arch_type == MACH_TYPE_XBOARDGP8) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_FPIC2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FPIC2 # endif # define machine_is_fpic2() (machine_arch_type == MACH_TYPE_FPIC2) #else # define machine_is_fpic2() (0) #endif #ifdef CONFIG_MACH_AKITA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AKITA # endif # define machine_is_akita() (machine_arch_type == MACH_TYPE_AKITA) #else # define machine_is_akita() (0) #endif #ifdef CONFIG_MACH_A81 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_A81 # endif # define machine_is_a81() (machine_arch_type == MACH_TYPE_A81) #else # define machine_is_a81() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SVM_SC25X # endif # define <API key>() (machine_arch_type == MACH_TYPE_SVM_SC25X) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define machine_is_vt020() (machine_arch_type == <API key>) #else # define machine_is_vt020() (0) #endif #ifdef CONFIG_MACH_TLI # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TLI # endif # define machine_is_tli() (machine_arch_type == MACH_TYPE_TLI) #else # define machine_is_tli() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EDB9315LC # endif # define <API key>() (machine_arch_type == MACH_TYPE_EDB9315LC) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_PASSEC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PASSEC # endif # define machine_is_passec() (machine_arch_type == MACH_TYPE_PASSEC) #else # define machine_is_passec() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DS_TIGER # endif # define machine_is_ds_tiger() (machine_arch_type == MACH_TYPE_DS_TIGER) #else # define machine_is_ds_tiger() (0) #endif #ifdef CONFIG_MACH_E310 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_E310 # endif # define machine_is_e310() (machine_arch_type == MACH_TYPE_E310) #else # define machine_is_e310() (0) #endif #ifdef CONFIG_MACH_E330 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_E330 # endif # define machine_is_e330() (machine_arch_type == MACH_TYPE_E330) #else # define machine_is_e330() (0) #endif #ifdef CONFIG_MACH_RT3000 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RT3000 # endif # define machine_is_rt3000() (machine_arch_type == MACH_TYPE_RT3000) #else # define machine_is_rt3000() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NOKIA770 # endif # define machine_is_nokia770() (machine_arch_type == MACH_TYPE_NOKIA770) #else # define machine_is_nokia770() (0) #endif #ifdef CONFIG_MACH_PNX0106 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PNX0106 # endif # define machine_is_pnx0106() (machine_arch_type == MACH_TYPE_PNX0106) #else # define machine_is_pnx0106() (0) #endif #ifdef CONFIG_MACH_HX21XX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HX21XX # endif # define machine_is_hx21xx() (machine_arch_type == MACH_TYPE_HX21XX) #else # define machine_is_hx21xx() (0) #endif #ifdef CONFIG_MACH_FARADAY # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FARADAY # endif # define machine_is_faraday() (machine_arch_type == MACH_TYPE_FARADAY) #else # define machine_is_faraday() (0) #endif #ifdef CONFIG_MACH_SBC9312 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SBC9312 # endif # define machine_is_sbc9312() (machine_arch_type == MACH_TYPE_SBC9312) #else # define machine_is_sbc9312() (0) #endif #ifdef CONFIG_MACH_BATMAN # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BATMAN # endif # define machine_is_batman() (machine_arch_type == MACH_TYPE_BATMAN) #else # define machine_is_batman() (0) #endif #ifdef CONFIG_MACH_JPD201 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_JPD201 # endif # define machine_is_jpd201() (machine_arch_type == MACH_TYPE_JPD201) #else # define machine_is_jpd201() (0) #endif #ifdef CONFIG_MACH_MIPSA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MIPSA # endif # define machine_is_mipsa() (machine_arch_type == MACH_TYPE_MIPSA) #else # define machine_is_mipsa() (0) #endif #ifdef CONFIG_MACH_KACOM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KACOM # endif # define machine_is_kacom() (machine_arch_type == MACH_TYPE_KACOM) #else # define machine_is_kacom() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SWARCOCPU # endif # define <API key>() (machine_arch_type == MACH_TYPE_SWARCOCPU) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SWARCODSL # endif # define <API key>() (machine_arch_type == MACH_TYPE_SWARCODSL) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BLUEANGEL # endif # define <API key>() (machine_arch_type == MACH_TYPE_BLUEANGEL) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_BANFF # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BANFF # endif # define machine_is_banff() (machine_arch_type == MACH_TYPE_BANFF) #else # define machine_is_banff() (0) #endif #ifdef CONFIG_MACH_CARMEVA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CARMEVA # endif # define machine_is_carmeva() (machine_arch_type == MACH_TYPE_CARMEVA) #else # define machine_is_carmeva() (0) #endif #ifdef CONFIG_MACH_SAM255 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SAM255 # endif # define machine_is_sam255() (machine_arch_type == MACH_TYPE_SAM255) #else # define machine_is_sam255() (0) #endif #ifdef CONFIG_MACH_PPM10 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PPM10 # endif # define machine_is_ppm10() (machine_arch_type == MACH_TYPE_PPM10) #else # define machine_is_ppm10() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EDB9315A # endif # define machine_is_edb9315a() (machine_arch_type == MACH_TYPE_EDB9315A) #else # define machine_is_edb9315a() (0) #endif #ifdef CONFIG_MACH_SUNSET # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SUNSET # endif # define machine_is_sunset() (machine_arch_type == MACH_TYPE_SUNSET) #else # define machine_is_sunset() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_STARGATE2 # endif # define <API key>() (machine_arch_type == MACH_TYPE_STARGATE2) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TRIZEPS4 # endif # define machine_is_trizeps4() (machine_arch_type == MACH_TYPE_TRIZEPS4) #else # define machine_is_trizeps4() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EZ_IXP42X # endif # define <API key>() (machine_arch_type == MACH_TYPE_EZ_IXP42X) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HICOARM9 # endif # define machine_is_hicoarm9() (machine_arch_type == MACH_TYPE_HICOARM9) #else # define machine_is_hicoarm9() (0) #endif #ifdef CONFIG_MACH_PNX4008 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PNX4008 # endif # define machine_is_pnx4008() (machine_arch_type == MACH_TYPE_PNX4008) #else # define machine_is_pnx4008() (0) #endif #ifdef CONFIG_MACH_KWS6000 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KWS6000 # endif # define machine_is_kws6000() (machine_arch_type == MACH_TYPE_KWS6000) #else # define machine_is_kws6000() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_EZ_X5 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EZ_X5 # endif # define machine_is_ez_x5() (machine_arch_type == MACH_TYPE_EZ_X5) #else # define machine_is_ez_x5() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_CPUAT91 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CPUAT91 # endif # define machine_is_cpuat91() (machine_arch_type == MACH_TYPE_CPUAT91) #else # define machine_is_cpuat91() (0) #endif #ifdef CONFIG_MACH_REA9200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_REA9200 # endif # define machine_is_rea9200() (machine_arch_type == MACH_TYPE_REA9200) #else # define machine_is_rea9200() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_IXP425 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IXP425 # endif # define machine_is_ixp425() (machine_arch_type == MACH_TYPE_IXP425) #else # define machine_is_ixp425() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_I30030ADS # endif # define <API key>() (machine_arch_type == MACH_TYPE_I30030ADS) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_PERCH # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PERCH # endif # define machine_is_perch() (machine_arch_type == MACH_TYPE_PERCH) #else # define machine_is_perch() (0) #endif #ifdef CONFIG_MACH_EIS05R1 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EIS05R1 # endif # define machine_is_eis05r1() (machine_arch_type == MACH_TYPE_EIS05R1) #else # define machine_is_eis05r1() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PEPPERPAD # endif # define <API key>() (machine_arch_type == MACH_TYPE_PEPPERPAD) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SB3010 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SB3010 # endif # define machine_is_sb3010() (machine_arch_type == MACH_TYPE_SB3010) #else # define machine_is_sb3010() (0) #endif #ifdef CONFIG_MACH_RM9200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RM9200 # endif # define machine_is_rm9200() (machine_arch_type == MACH_TYPE_RM9200) #else # define machine_is_rm9200() (0) #endif #ifdef CONFIG_MACH_DMA03 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DMA03 # endif # define machine_is_dma03() (machine_arch_type == MACH_TYPE_DMA03) #else # define machine_is_dma03() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ROAD_S101 # endif # define <API key>() (machine_arch_type == MACH_TYPE_ROAD_S101) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IQ81340SC # endif # define <API key>() (machine_arch_type == MACH_TYPE_IQ81340SC) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IQ81340MC # endif # define <API key>() (machine_arch_type == MACH_TYPE_IQ81340MC) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GESBC931X # endif # define <API key>() (machine_arch_type == MACH_TYPE_GESBC931X) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CENTIPAD # endif # define machine_is_centipad() (machine_arch_type == MACH_TYPE_CENTIPAD) #else # define machine_is_centipad() (0) #endif #ifdef CONFIG_MACH_ARMSOC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ARMSOC # endif # define machine_is_armsoc() (machine_arch_type == MACH_TYPE_ARMSOC) #else # define machine_is_armsoc() (0) #endif #ifdef CONFIG_MACH_SE4200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SE4200 # endif # define machine_is_se4200() (machine_arch_type == MACH_TYPE_SE4200) #else # define machine_is_se4200() (0) #endif #ifdef CONFIG_MACH_EMS197A # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EMS197A # endif # define machine_is_ems197a() (machine_arch_type == MACH_TYPE_EMS197A) #else # define machine_is_ems197a() (0) #endif #ifdef CONFIG_MACH_MICRO9 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MICRO9 # endif # define machine_is_micro9() (machine_arch_type == MACH_TYPE_MICRO9) #else # define machine_is_micro9() (0) #endif #ifdef CONFIG_MACH_MICRO9L # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MICRO9L # endif # define machine_is_micro9l() (machine_arch_type == MACH_TYPE_MICRO9L) #else # define machine_is_micro9l() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_UC5471DSP # endif # define <API key>() (machine_arch_type == MACH_TYPE_UC5471DSP) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SJ5471ENG # endif # define <API key>() (machine_arch_type == MACH_TYPE_SJ5471ENG) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CMPXA26X # endif # define machine_is_none() (machine_arch_type == MACH_TYPE_CMPXA26X) #else # define machine_is_none() (0) #endif #ifdef CONFIG_MACH_NC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NC # endif # define machine_is_nc1() (machine_arch_type == MACH_TYPE_NC) #else # define machine_is_nc1() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_AJAX52X # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AJAX52X # endif # define machine_is_ajax52x() (machine_arch_type == MACH_TYPE_AJAX52X) #else # define machine_is_ajax52x() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SIRIUSTAR # endif # define <API key>() (machine_arch_type == MACH_TYPE_SIRIUSTAR) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_BIOSAFE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BIOSAFE # endif # define machine_is_biosafe() (machine_arch_type == MACH_TYPE_BIOSAFE) #else # define machine_is_biosafe() (0) #endif #ifdef CONFIG_MACH_MP1000 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MP1000 # endif # define machine_is_mp1000() (machine_arch_type == MACH_TYPE_MP1000) #else # define machine_is_mp1000() (0) #endif #ifdef CONFIG_MACH_PARSY # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PARSY # endif # define machine_is_parsy() (machine_arch_type == MACH_TYPE_PARSY) #else # define machine_is_parsy() (0) #endif #ifdef CONFIG_MACH_CCXP # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CCXP # endif # define machine_is_ccxp270() (machine_arch_type == MACH_TYPE_CCXP) #else # define machine_is_ccxp270() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SAMOA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SAMOA # endif # define machine_is_samoa() (machine_arch_type == MACH_TYPE_SAMOA) #else # define machine_is_samoa() (0) #endif #ifdef CONFIG_MACH_PALMT3 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PALMT3 # endif # define machine_is_palmt3() (machine_arch_type == MACH_TYPE_PALMT3) #else # define machine_is_palmt3() (0) #endif #ifdef CONFIG_MACH_I878 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_I878 # endif # define machine_is_i878() (machine_arch_type == MACH_TYPE_I878) #else # define machine_is_i878() (0) #endif #ifdef CONFIG_MACH_BORZOI # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BORZOI # endif # define machine_is_borzoi() (machine_arch_type == MACH_TYPE_BORZOI) #else # define machine_is_borzoi() (0) #endif #ifdef CONFIG_MACH_GECKO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GECKO # endif # define machine_is_gecko() (machine_arch_type == MACH_TYPE_GECKO) #else # define machine_is_gecko() (0) #endif #ifdef CONFIG_MACH_DS101 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DS101 # endif # define machine_is_ds101() (machine_arch_type == MACH_TYPE_DS101) #else # define machine_is_ds101() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_PALMLD # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PALMLD # endif # define machine_is_palmld() (machine_arch_type == MACH_TYPE_PALMLD) #else # define machine_is_palmld() (0) #endif #ifdef CONFIG_MACH_CC9C # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CC9C # endif # define machine_is_cc9c() (machine_arch_type == MACH_TYPE_CC9C) #else # define machine_is_cc9c() (0) #endif #ifdef CONFIG_MACH_SBC1670 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SBC1670 # endif # define machine_is_sbc1670() (machine_arch_type == MACH_TYPE_SBC1670) #else # define machine_is_sbc1670() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IXDP28X5 # endif # define machine_is_ixdp28x5() (machine_arch_type == MACH_TYPE_IXDP28X5) #else # define machine_is_ixdp28x5() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ML696K # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ML696K # endif # define machine_is_ml696k() (machine_arch_type == MACH_TYPE_ML696K) #else # define machine_is_ml696k() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_OSIRIS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OSIRIS # endif # define machine_is_osiris() (machine_arch_type == MACH_TYPE_OSIRIS) #else # define machine_is_osiris() (0) #endif #ifdef CONFIG_MACH_MAESTRO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MAESTRO # endif # define machine_is_maestro() (machine_arch_type == MACH_TYPE_MAESTRO) #else # define machine_is_maestro() (0) #endif #ifdef CONFIG_MACH_PALMTE2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PALMTE2 # endif # define machine_is_palmte2() (machine_arch_type == MACH_TYPE_PALMTE2) #else # define machine_is_palmte2() (0) #endif #ifdef CONFIG_MACH_IXBBM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IXBBM # endif # define machine_is_ixbbm() (machine_arch_type == MACH_TYPE_IXBBM) #else # define machine_is_ixbbm() (0) #endif #ifdef CONFIG_MACH_MX27ADS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX27ADS # endif # define machine_is_mx27ads() (machine_arch_type == MACH_TYPE_MX27ADS) #else # define machine_is_mx27ads() (0) #endif #ifdef CONFIG_MACH_AX8004 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AX8004 # endif # define machine_is_ax8004() (machine_arch_type == MACH_TYPE_AX8004) #else # define machine_is_ax8004() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_LOFT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LOFT # endif # define machine_is_loft() (machine_arch_type == MACH_TYPE_LOFT) #else # define machine_is_loft() (0) #endif #ifdef CONFIG_MACH_MAGPIE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MAGPIE # endif # define machine_is_magpie() (machine_arch_type == MACH_TYPE_MAGPIE) #else # define machine_is_magpie() (0) #endif #ifdef CONFIG_MACH_MX21ADS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX21ADS # endif # define machine_is_mx21ads() (machine_arch_type == MACH_TYPE_MX21ADS) #else # define machine_is_mx21ads() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MB87M3400 # endif # define <API key>() (machine_arch_type == MACH_TYPE_MB87M3400) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_TPAD # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TPAD # endif # define machine_is_tpad() (machine_arch_type == MACH_TYPE_TPAD) #else # define machine_is_tpad() (0) #endif #ifdef CONFIG_MACH_ROVERP3 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ROVERP3 # endif # define machine_is_roverp3() (machine_arch_type == MACH_TYPE_ROVERP3) #else # define machine_is_roverp3() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MV88FXX81 # endif # define <API key>() (machine_arch_type == MACH_TYPE_MV88FXX81) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_STMP36XX # endif # define machine_is_stmp36xx() (machine_arch_type == MACH_TYPE_STMP36XX) #else # define machine_is_stmp36xx() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SXNI79524 # endif # define <API key>() (machine_arch_type == MACH_TYPE_SXNI79524) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AMS_DELTA # endif # define <API key>() (machine_arch_type == MACH_TYPE_AMS_DELTA) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_URANIUM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_URANIUM # endif # define machine_is_uranium() (machine_arch_type == MACH_TYPE_URANIUM) #else # define machine_is_uranium() (0) #endif #ifdef CONFIG_MACH_UCON # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_UCON # endif # define machine_is_ucon() (machine_arch_type == MACH_TYPE_UCON) #else # define machine_is_ucon() (0) #endif #ifdef CONFIG_MACH_NAS100D # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NAS100D # endif # define machine_is_nas100d() (machine_arch_type == MACH_TYPE_NAS100D) #else # define machine_is_nas100d() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_L083_1000 # endif # define machine_is_l083() (machine_arch_type == MACH_TYPE_L083_1000) #else # define machine_is_l083() (0) #endif #ifdef CONFIG_MACH_EZX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EZX # endif # define machine_is_ezx() (machine_arch_type == MACH_TYPE_EZX) #else # define machine_is_ezx() (0) #endif #ifdef CONFIG_MACH_PNX5220 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PNX5220 # endif # define machine_is_pnx5220() (machine_arch_type == MACH_TYPE_PNX5220) #else # define machine_is_pnx5220() (0) #endif #ifdef CONFIG_MACH_BUTTE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BUTTE # endif # define machine_is_butte() (machine_arch_type == MACH_TYPE_BUTTE) #else # define machine_is_butte() (0) #endif #ifdef CONFIG_MACH_SRM2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SRM2 # endif # define machine_is_srm2() (machine_arch_type == MACH_TYPE_SRM2) #else # define machine_is_srm2() (0) #endif #ifdef CONFIG_MACH_DSBR # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DSBR # endif # define machine_is_dsbr() (machine_arch_type == MACH_TYPE_DSBR) #else # define machine_is_dsbr() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_HERBIE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HERBIE # endif # define machine_is_herbie() (machine_arch_type == MACH_TYPE_HERBIE) #else # define machine_is_herbie() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MAGICIAN # endif # define machine_is_magician() (machine_arch_type == MACH_TYPE_MAGICIAN) #else # define machine_is_magician() (0) #endif #ifdef CONFIG_MACH_CM4002 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CM4002 # endif # define machine_is_cm4002() (machine_arch_type == MACH_TYPE_CM4002) #else # define machine_is_cm4002() (0) #endif #ifdef CONFIG_MACH_B4 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_B4 # endif # define machine_is_b4() (machine_arch_type == MACH_TYPE_B4) #else # define machine_is_b4() (0) #endif #ifdef CONFIG_MACH_MAUI # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MAUI # endif # define machine_is_maui() (machine_arch_type == MACH_TYPE_MAUI) #else # define machine_is_maui() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_NXDKN # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NXDKN # endif # define machine_is_nxdkn() (machine_arch_type == MACH_TYPE_NXDKN) #else # define machine_is_nxdkn() (0) #endif #ifdef CONFIG_MACH_MIO8390 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MIO8390 # endif # define machine_is_mio8390() (machine_arch_type == MACH_TYPE_MIO8390) #else # define machine_is_mio8390() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OMI_BOARD # endif # define <API key>() (machine_arch_type == MACH_TYPE_OMI_BOARD) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_MX21CIV # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX21CIV # endif # define machine_is_mx21civ() (machine_arch_type == MACH_TYPE_MX21CIV) #else # define machine_is_mx21civ() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MAHI_CDAC # endif # define <API key>() (machine_arch_type == MACH_TYPE_MAHI_CDAC) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_PALMTX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PALMTX # endif # define machine_is_palmtx() (machine_arch_type == MACH_TYPE_PALMTX) #else # define machine_is_palmtx() (0) #endif #ifdef CONFIG_MACH_S3C2413 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_S3C2413 # endif # define machine_is_s3c2413() (machine_arch_type == MACH_TYPE_S3C2413) #else # define machine_is_s3c2413() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_WG302V1 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WG302V1 # endif # define machine_is_wg302v1() (machine_arch_type == MACH_TYPE_WG302V1) #else # define machine_is_wg302v1() (0) #endif #ifdef CONFIG_MACH_WG302V2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WG302V2 # endif # define machine_is_wg302v2() (machine_arch_type == MACH_TYPE_WG302V2) #else # define machine_is_wg302v2() (0) #endif #ifdef CONFIG_MACH_EB42X # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EB42X # endif # define machine_is_eb42x() (machine_arch_type == MACH_TYPE_EB42X) #else # define machine_is_eb42x() (0) #endif #ifdef CONFIG_MACH_IQ331ES # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IQ331ES # endif # define machine_is_iq331es() (machine_arch_type == MACH_TYPE_IQ331ES) #else # define machine_is_iq331es() (0) #endif #ifdef CONFIG_MACH_COSYDSP # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_COSYDSP # endif # define machine_is_cosydsp() (machine_arch_type == MACH_TYPE_COSYDSP) #else # define machine_is_cosydsp() (0) #endif #ifdef CONFIG_MACH_UPLAT7D # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_UPLAT7D # endif # define <API key>() (machine_arch_type == MACH_TYPE_UPLAT7D) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PTDAVINCI # endif # define <API key>() (machine_arch_type == MACH_TYPE_PTDAVINCI) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_MBUS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MBUS # endif # define machine_is_mbus() (machine_arch_type == MACH_TYPE_MBUS) #else # define machine_is_mbus() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NADIA2VB # endif # define machine_is_nadia2vb() (machine_arch_type == MACH_TYPE_NADIA2VB) #else # define machine_is_nadia2vb() (0) #endif #ifdef CONFIG_MACH_R1000 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_R1000 # endif # define machine_is_r1000() (machine_arch_type == MACH_TYPE_R1000) #else # define machine_is_r1000() (0) #endif #ifdef CONFIG_MACH_HW90250 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HW90250 # endif # define machine_is_hw90250() (machine_arch_type == MACH_TYPE_HW90250) #else # define machine_is_hw90250() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OLOCREEK # endif # define machine_is_olocreek() (machine_arch_type == MACH_TYPE_OLOCREEK) #else # define machine_is_olocreek() (0) #endif #ifdef CONFIG_MACH_PALMZ72 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PALMZ72 # endif # define machine_is_palmz72() (machine_arch_type == MACH_TYPE_PALMZ72) #else # define machine_is_palmz72() (0) #endif #ifdef CONFIG_MACH_NXDB500 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NXDB500 # endif # define machine_is_nxdb500() (machine_arch_type == MACH_TYPE_NXDB500) #else # define machine_is_nxdb500() (0) #endif #ifdef CONFIG_MACH_APF9328 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_APF9328 # endif # define machine_is_apf9328() (machine_arch_type == MACH_TYPE_APF9328) #else # define machine_is_apf9328() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OMAP_TWIP # endif # define <API key>() (machine_arch_type == MACH_TYPE_OMAP_TWIP) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_TREO650 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TREO650 # endif # define machine_is_treo650() (machine_arch_type == MACH_TYPE_TREO650) #else # define machine_is_treo650() (0) #endif #ifdef CONFIG_MACH_ACUMEN # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ACUMEN # endif # define machine_is_acumen() (machine_arch_type == MACH_TYPE_ACUMEN) #else # define machine_is_acumen() (0) #endif #ifdef CONFIG_MACH_XP100 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_XP100 # endif # define machine_is_xp100() (machine_arch_type == MACH_TYPE_XP100) #else # define machine_is_xp100() (0) #endif #ifdef CONFIG_MACH_FS2410 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FS2410 # endif # define machine_is_fs2410() (machine_arch_type == MACH_TYPE_FS2410) #else # define machine_is_fs2410() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NETCLIENT # endif # define <API key>() (machine_arch_type == MACH_TYPE_NETCLIENT) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_PALMT5 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PALMT5 # endif # define machine_is_palmt5() (machine_arch_type == MACH_TYPE_PALMT5) #else # define machine_is_palmt5() (0) #endif #ifdef CONFIG_MACH_PALMTC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PALMTC # endif # define machine_is_palmtc() (machine_arch_type == MACH_TYPE_PALMTC) #else # define machine_is_palmtc() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_REA_2D # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_REA_2D # endif # define machine_is_rea_cpu2() (machine_arch_type == MACH_TYPE_REA_2D) #else # define machine_is_rea_cpu2() (0) #endif #ifdef CONFIG_MACH_TI3E524 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TI3E524 # endif # define machine_is_eti3e524() (machine_arch_type == MACH_TYPE_TI3E524) #else # define machine_is_eti3e524() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ATEB9200 # endif # define machine_is_ateb9200() (machine_arch_type == MACH_TYPE_ATEB9200) #else # define machine_is_ateb9200() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AUCKLAND # endif # define machine_is_auckland() (machine_arch_type == MACH_TYPE_AUCKLAND) #else # define machine_is_auckland() (0) #endif #ifdef CONFIG_MACH_AK3320M # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AK3320M # endif # define machine_is_ak3220m() (machine_arch_type == MACH_TYPE_AK3320M) #else # define machine_is_ak3220m() (0) #endif #ifdef CONFIG_MACH_DURAMAX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DURAMAX # endif # define machine_is_duramax() (machine_arch_type == MACH_TYPE_DURAMAX) #else # define machine_is_duramax() (0) #endif #ifdef CONFIG_MACH_N35 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_N35 # endif # define machine_is_n35() (machine_arch_type == MACH_TYPE_N35) #else # define machine_is_n35() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PRONGHORN # endif # define <API key>() (machine_arch_type == MACH_TYPE_PRONGHORN) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_FUNDY # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FUNDY # endif # define machine_is_fundy() (machine_arch_type == MACH_TYPE_FUNDY) #else # define machine_is_fundy() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_CPU777 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CPU777 # endif # define machine_is_cpu777() (machine_arch_type == MACH_TYPE_CPU777) #else # define machine_is_cpu777() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LEAP2_HPM # endif # define <API key>() (machine_arch_type == MACH_TYPE_LEAP2_HPM) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_PXA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PXA # endif # define machine_is_sandgate() (machine_arch_type == MACH_TYPE_PXA) #else # define machine_is_sandgate() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SANDGATE2 # endif # define <API key>() (machine_arch_type == MACH_TYPE_SANDGATE2) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FRED_JACK # endif # define <API key>() (machine_arch_type == MACH_TYPE_FRED_JACK) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_NETDCU8 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NETDCU8 # endif # define machine_is_netdcu8() (machine_arch_type == MACH_TYPE_NETDCU8) #else # define machine_is_netdcu8() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NG_FVX538 # endif # define <API key>() (machine_arch_type == MACH_TYPE_NG_FVX538) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NG_FVS338 # endif # define <API key>() (machine_arch_type == MACH_TYPE_NG_FVS338) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_PNX4103 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PNX4103 # endif # define machine_is_pnx4103() (machine_arch_type == MACH_TYPE_PNX4103) #else # define machine_is_pnx4103() (0) #endif #ifdef CONFIG_MACH_HESDB # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HESDB # endif # define machine_is_hesdb() (machine_arch_type == MACH_TYPE_HESDB) #else # define machine_is_hesdb() (0) #endif #ifdef CONFIG_MACH_XSILO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_XSILO # endif # define machine_is_xsilo() (machine_arch_type == MACH_TYPE_XSILO) #else # define machine_is_xsilo() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ESPRESSO # endif # define machine_is_espresso() (machine_arch_type == MACH_TYPE_ESPRESSO) #else # define machine_is_espresso() (0) #endif #ifdef CONFIG_MACH_EMLC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EMLC # endif # define machine_is_emlc() (machine_arch_type == MACH_TYPE_EMLC) #else # define machine_is_emlc() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SISTERON # endif # define machine_is_sisteron() (machine_arch_type == MACH_TYPE_SISTERON) #else # define machine_is_sisteron() (0) #endif #ifdef CONFIG_MACH_RX1950 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RX1950 # endif # define machine_is_rx1950() (machine_arch_type == MACH_TYPE_RX1950) #else # define machine_is_rx1950() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TSC_VENUS # endif # define <API key>() (machine_arch_type == MACH_TYPE_TSC_VENUS) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_DS101J # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DS101J # endif # define machine_is_ds101j() (machine_arch_type == MACH_TYPE_DS101J) #else # define machine_is_ds101j() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GESBC9312 # endif # define <API key>() (machine_arch_type == MACH_TYPE_GESBC9312) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HTCAPACHE # endif # define <API key>() (machine_arch_type == MACH_TYPE_HTCAPACHE) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_IXDP435 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IXDP435 # endif # define machine_is_ixdp435() (machine_arch_type == MACH_TYPE_IXDP435) #else # define machine_is_ixdp435() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_DSMG600 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DSMG600 # endif # define machine_is_dsmg600() (machine_arch_type == MACH_TYPE_DSMG600) #else # define machine_is_dsmg600() (0) #endif #ifdef CONFIG_MACH_EMPC2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EMPC2 # endif # define machine_is_empc2() (machine_arch_type == MACH_TYPE_EMPC2) #else # define machine_is_empc2() (0) #endif #ifdef CONFIG_MACH_VENTURA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VENTURA # endif # define machine_is_ventura() (machine_arch_type == MACH_TYPE_VENTURA) #else # define machine_is_ventura() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_IJ3K # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IJ3K # endif # define machine_is_ij3k() (machine_arch_type == MACH_TYPE_IJ3K) #else # define machine_is_ij3k() (0) #endif #ifdef CONFIG_MACH_PISGAH # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PISGAH # endif # define machine_is_pisgah() (machine_arch_type == MACH_TYPE_PISGAH) #else # define machine_is_pisgah() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SG720 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SG720 # endif # define machine_is_sg720() (machine_arch_type == MACH_TYPE_SG720) #else # define machine_is_sg720() (0) #endif #ifdef CONFIG_MACH_REDFOX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_REDFOX # endif # define machine_is_redfox() (machine_arch_type == MACH_TYPE_REDFOX) #else # define machine_is_redfox() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_TPF106 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TPF106 # endif # define machine_is_tpf106() (machine_arch_type == MACH_TYPE_TPF106) #else # define machine_is_tpf106() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SLEDB # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SLEDB # endif # define machine_is_rcmt2() (machine_arch_type == MACH_TYPE_SLEDB) #else # define machine_is_rcmt2() (0) #endif #ifdef CONFIG_MACH_ONTRACK # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ONTRACK # endif # define machine_is_ontrack() (machine_arch_type == MACH_TYPE_ONTRACK) #else # define machine_is_ontrack() (0) #endif #ifdef CONFIG_MACH_PM1200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PM1200 # endif # define machine_is_pm1200() (machine_arch_type == MACH_TYPE_PM1200) #else # define machine_is_pm1200() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ESS24XXX # endif # define machine_is_ess24562() (machine_arch_type == MACH_TYPE_ESS24XXX) #else # define machine_is_ess24562() (0) #endif #ifdef CONFIG_MACH_COREMP7 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_COREMP7 # endif # define machine_is_coremp7() (machine_arch_type == MACH_TYPE_COREMP7) #else # define machine_is_coremp7() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_STVC8380 # endif # define machine_is_stvc8380() (machine_arch_type == MACH_TYPE_STVC8380) #else # define machine_is_stvc8380() (0) #endif #ifdef CONFIG_MACH_TEKLYNX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TEKLYNX # endif # define machine_is_teklynx() (machine_arch_type == MACH_TYPE_TEKLYNX) #else # define machine_is_teklynx() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CARBONADO # endif # define <API key>() (machine_arch_type == MACH_TYPE_CARBONADO) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_PGIGIM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PGIGIM # endif # define machine_is_pgigim() (machine_arch_type == MACH_TYPE_PGIGIM) #else # define machine_is_pgigim() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PTX9160P2 # endif # define <API key>() (machine_arch_type == MACH_TYPE_PTX9160P2) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_DCORE1 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DCORE1 # endif # define machine_is_dcore1() (machine_arch_type == MACH_TYPE_DCORE1) #else # define machine_is_dcore1() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VICTORPXA # endif # define <API key>() (machine_arch_type == MACH_TYPE_VICTORPXA) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_MX2DTB # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX2DTB # endif # define machine_is_mx2dtb() (machine_arch_type == MACH_TYPE_MX2DTB) #else # define machine_is_mx2dtb() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_HW50251 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HW50251 # endif # define machine_is_hw50251() (machine_arch_type == MACH_TYPE_HW50251) #else # define machine_is_hw50251() (0) #endif #ifdef CONFIG_MACH_IBOX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IBOX # endif # define machine_is_ibox() (machine_arch_type == MACH_TYPE_IBOX) #else # define machine_is_ibox() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_PT2026 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PT2026 # endif # define machine_is_pt2026() (machine_arch_type == MACH_TYPE_PT2026) #else # define machine_is_pt2026() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HTCALPINE # endif # define <API key>() (machine_arch_type == MACH_TYPE_HTCALPINE) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_VCOREII # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VCOREII # endif # define machine_is_vcoreii() (machine_arch_type == MACH_TYPE_VCOREII) #else # define machine_is_vcoreii() (0) #endif #ifdef CONFIG_MACH_PDNB3 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PDNB3 # endif # define machine_is_pdnb3() (machine_arch_type == MACH_TYPE_PDNB3) #else # define machine_is_pdnb3() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_S3C6400 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_S3C6400 # endif # define machine_is_s3c6400() (machine_arch_type == MACH_TYPE_S3C6400) #else # define machine_is_s3c6400() (0) #endif #ifdef CONFIG_MACH_S3C2443 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_S3C2443 # endif # define machine_is_s3c2443() (machine_arch_type == MACH_TYPE_S3C2443) #else # define machine_is_s3c2443() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OMAP_LDK # endif # define machine_is_omap_ldk() (machine_arch_type == MACH_TYPE_OMAP_LDK) #else # define machine_is_omap_ldk() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SMDK2460 # endif # define machine_is_smdk2460() (machine_arch_type == MACH_TYPE_SMDK2460) #else # define machine_is_smdk2460() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SMDK2440 # endif # define machine_is_smdk2440() (machine_arch_type == MACH_TYPE_SMDK2440) #else # define machine_is_smdk2440() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SMDK2412 # endif # define machine_is_smdk2412() (machine_arch_type == MACH_TYPE_SMDK2412) #else # define machine_is_smdk2412() (0) #endif #ifdef CONFIG_MACH_WEBBOX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WEBBOX # endif # define machine_is_webbox() (machine_arch_type == MACH_TYPE_WEBBOX) #else # define machine_is_webbox() (0) #endif #ifdef CONFIG_MACH_CWWNDP # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CWWNDP # endif # define machine_is_cwwndp() (machine_arch_type == MACH_TYPE_CWWNDP) #else # define machine_is_cwwndp() (0) #endif #ifdef CONFIG_MACH_DRAGON # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DRAGON # endif # define machine_is_i839() (machine_arch_type == MACH_TYPE_DRAGON) #else # define machine_is_i839() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_CCM2200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CCM2200 # endif # define machine_is_ccm2200() (machine_arch_type == MACH_TYPE_CCM2200) #else # define machine_is_ccm2200() (0) #endif #ifdef CONFIG_MACH_ETWARM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ETWARM # endif # define machine_is_etwarm() (machine_arch_type == MACH_TYPE_ETWARM) #else # define machine_is_etwarm() (0) #endif #ifdef CONFIG_MACH_M93030 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_M93030 # endif # define machine_is_m93030() (machine_arch_type == MACH_TYPE_M93030) #else # define machine_is_m93030() (0) #endif #ifdef CONFIG_MACH_CC7U # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CC7U # endif # define machine_is_cc7u() (machine_arch_type == MACH_TYPE_CC7U) #else # define machine_is_cc7u() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_NEXUS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NEXUS # endif # define machine_is_nexus() (machine_arch_type == MACH_TYPE_NEXUS) #else # define machine_is_nexus() (0) #endif #ifdef CONFIG_MACH_DESMAN # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DESMAN # endif # define machine_is_desman() (machine_arch_type == MACH_TYPE_DESMAN) #else # define machine_is_desman() (0) #endif #ifdef CONFIG_MACH_BKDE303 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BKDE303 # endif # define machine_is_bkde303() (machine_arch_type == MACH_TYPE_BKDE303) #else # define machine_is_bkde303() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SMDK2413 # endif # define machine_is_smdk2413() (machine_arch_type == MACH_TYPE_SMDK2413) #else # define machine_is_smdk2413() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AML_M7200 # endif # define <API key>() (machine_arch_type == MACH_TYPE_AML_M7200) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AML_M5900 # endif # define <API key>() (machine_arch_type == MACH_TYPE_AML_M5900) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SG640 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SG640 # endif # define machine_is_sg640() (machine_arch_type == MACH_TYPE_SG640) #else # define machine_is_sg640() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EDG79524 # endif # define machine_is_edg79524() (machine_arch_type == MACH_TYPE_EDG79524) #else # define machine_is_edg79524() (0) #endif #ifdef CONFIG_MACH_AI2410 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AI2410 # endif # define machine_is_ai2410() (machine_arch_type == MACH_TYPE_AI2410) #else # define machine_is_ai2410() (0) #endif #ifdef CONFIG_MACH_IXP465 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IXP465 # endif # define machine_is_ixp465() (machine_arch_type == MACH_TYPE_IXP465) #else # define machine_is_ixp465() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BALLOON3 # endif # define machine_is_balloon3() (machine_arch_type == MACH_TYPE_BALLOON3) #else # define machine_is_balloon3() (0) #endif #ifdef CONFIG_MACH_HEINS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HEINS # endif # define machine_is_heins() (machine_arch_type == MACH_TYPE_HEINS) #else # define machine_is_heins() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MPLUSEVA # endif # define machine_is_mpluseva() (machine_arch_type == MACH_TYPE_MPLUSEVA) #else # define machine_is_mpluseva() (0) #endif #ifdef CONFIG_MACH_RT042 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RT042 # endif # define machine_is_rt042() (machine_arch_type == MACH_TYPE_RT042) #else # define machine_is_rt042() (0) #endif #ifdef CONFIG_MACH_CWIEM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CWIEM # endif # define machine_is_cwiem() (machine_arch_type == MACH_TYPE_CWIEM) #else # define machine_is_cwiem() (0) #endif #ifdef CONFIG_MACH_CM_X270 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CM_X270 # endif # define machine_is_cm_x270() (machine_arch_type == MACH_TYPE_CM_X270) #else # define machine_is_cm_x270() (0) #endif #ifdef CONFIG_MACH_CM_X255 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CM_X255 # endif # define machine_is_cm_x255() (machine_arch_type == MACH_TYPE_CM_X255) #else # define machine_is_cm_x255() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ESH_AT91 # endif # define machine_is_esh_at91() (machine_arch_type == MACH_TYPE_ESH_AT91) #else # define machine_is_esh_at91() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SANDGATE3 # endif # define <API key>() (machine_arch_type == MACH_TYPE_SANDGATE3) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_PRIMO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PRIMO # endif # define machine_is_primo() (machine_arch_type == MACH_TYPE_PRIMO) #else # define machine_is_primo() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GEMSTONE # endif # define machine_is_gemstone() (machine_arch_type == MACH_TYPE_GEMSTONE) #else # define machine_is_gemstone() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PICOMOD1 # endif # define machine_is_picomod1() (machine_arch_type == MACH_TYPE_PICOMOD1) #else # define machine_is_picomod1() (0) #endif #ifdef CONFIG_MACH_SG590 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SG590 # endif # define machine_is_sg590() (machine_arch_type == MACH_TYPE_SG590) #else # define machine_is_sg590() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AKAI9307 # endif # define machine_is_akai9307() (machine_arch_type == MACH_TYPE_AKAI9307) #else # define machine_is_akai9307() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FONTAINE # endif # define machine_is_fontaine() (machine_arch_type == MACH_TYPE_FONTAINE) #else # define machine_is_fontaine() (0) #endif #ifdef CONFIG_MACH_WOMBAT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WOMBAT # endif # define machine_is_wombat() (machine_arch_type == MACH_TYPE_WOMBAT) #else # define machine_is_wombat() (0) #endif #ifdef CONFIG_MACH_ACQ300 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ACQ300 # endif # define machine_is_acq300() (machine_arch_type == MACH_TYPE_ACQ300) #else # define machine_is_acq300() (0) #endif #ifdef CONFIG_MACH_MOD_270 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MOD_270 # endif # define machine_is_mod272() (machine_arch_type == MACH_TYPE_MOD_270) #else # define machine_is_mod272() (0) #endif #ifdef CONFIG_MACH_VC0820 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VC0820 # endif # define <API key>() (machine_arch_type == MACH_TYPE_VC0820) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ANI_AIM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ANI_AIM # endif # define machine_is_ani_aim() (machine_arch_type == MACH_TYPE_ANI_AIM) #else # define machine_is_ani_aim() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_JELLYFISH # endif # define <API key>() (machine_arch_type == MACH_TYPE_JELLYFISH) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_AMANITA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AMANITA # endif # define machine_is_amanita() (machine_arch_type == MACH_TYPE_AMANITA) #else # define machine_is_amanita() (0) #endif #ifdef CONFIG_MACH_VLINK # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VLINK # endif # define machine_is_vlink() (machine_arch_type == MACH_TYPE_VLINK) #else # define machine_is_vlink() (0) #endif #ifdef CONFIG_MACH_DEXFLEX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DEXFLEX # endif # define machine_is_dexflex() (machine_arch_type == MACH_TYPE_DEXFLEX) #else # define machine_is_dexflex() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EIGEN_TTQ # endif # define <API key>() (machine_arch_type == MACH_TYPE_EIGEN_TTQ) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_TABLA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TABLA # endif # define machine_is_tabla() (machine_arch_type == MACH_TYPE_TABLA) #else # define machine_is_tabla() (0) #endif #ifdef CONFIG_MACH_MDIRAC3 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MDIRAC3 # endif # define machine_is_mdirac3() (machine_arch_type == MACH_TYPE_MDIRAC3) #else # define machine_is_mdirac3() (0) #endif #ifdef CONFIG_MACH_MRHFBP2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MRHFBP2 # endif # define machine_is_mrhfbp2() (machine_arch_type == MACH_TYPE_MRHFBP2) #else # define machine_is_mrhfbp2() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ANI_APM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ANI_APM # endif # define machine_is_ani_apm() (machine_arch_type == MACH_TYPE_ANI_APM) #else # define machine_is_ani_apm() (0) #endif #ifdef CONFIG_MACH_ELLA1 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ELLA1 # endif # define machine_is_ella1() (machine_arch_type == MACH_TYPE_ELLA1) #else # define machine_is_ella1() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EMPOS_XM # endif # define machine_is_empos_xm() (machine_arch_type == MACH_TYPE_EMPOS_XM) #else # define machine_is_empos_xm() (0) #endif #ifdef CONFIG_MACH_EMPOS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EMPOS # endif # define machine_is_empos() (machine_arch_type == MACH_TYPE_EMPOS) #else # define machine_is_empos() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EMPOS_SM # endif # define machine_is_empos_sm() (machine_arch_type == MACH_TYPE_EMPOS_SM) #else # define machine_is_empos_sm() (0) #endif #ifdef CONFIG_MACH_EGRET # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EGRET # endif # define machine_is_egret() (machine_arch_type == MACH_TYPE_EGRET) #else # define machine_is_egret() (0) #endif #ifdef CONFIG_MACH_OSTRICH # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OSTRICH # endif # define machine_is_ostrich() (machine_arch_type == MACH_TYPE_OSTRICH) #else # define machine_is_ostrich() (0) #endif #ifdef CONFIG_MACH_N50 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_N50 # endif # define machine_is_n50() (machine_arch_type == MACH_TYPE_N50) #else # define machine_is_n50() (0) #endif #ifdef CONFIG_MACH_ECBAT91 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ECBAT91 # endif # define machine_is_ecbat91() (machine_arch_type == MACH_TYPE_ECBAT91) #else # define machine_is_ecbat91() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_STAREAST # endif # define machine_is_stareast() (machine_arch_type == MACH_TYPE_STAREAST) #else # define machine_is_stareast() (0) #endif #ifdef CONFIG_MACH_DSPG_DW # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DSPG_DW # endif # define machine_is_dspg_dw() (machine_arch_type == MACH_TYPE_DSPG_DW) #else # define machine_is_dspg_dw() (0) #endif #ifdef CONFIG_MACH_ONEARM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ONEARM # endif # define machine_is_onearm() (machine_arch_type == MACH_TYPE_ONEARM) #else # define machine_is_onearm() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MRG110_6 # endif # define machine_is_mrg110_6() (machine_arch_type == MACH_TYPE_MRG110_6) #else # define machine_is_mrg110_6() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WRT300NV2 # endif # define <API key>() (machine_arch_type == MACH_TYPE_WRT300NV2) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_MSM6100 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MSM6100 # endif # define machine_is_msm6100() (machine_arch_type == MACH_TYPE_MSM6100) #else # define machine_is_msm6100() (0) #endif #ifdef CONFIG_MACH_ETI_B1 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ETI_B1 # endif # define machine_is_eti_b1() (machine_arch_type == MACH_TYPE_ETI_B1) #else # define machine_is_eti_b1() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_BIT2440 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BIT2440 # endif # define machine_is_bit2440() (machine_arch_type == MACH_TYPE_BIT2440) #else # define machine_is_bit2440() (0) #endif #ifdef CONFIG_MACH_NBI # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NBI # endif # define machine_is_nbi() (machine_arch_type == MACH_TYPE_NBI) #else # define machine_is_nbi() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SMDK2443 # endif # define machine_is_smdk2443() (machine_arch_type == MACH_TYPE_SMDK2443) #else # define machine_is_smdk2443() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VDAVINCI # endif # define machine_is_vdavinci() (machine_arch_type == MACH_TYPE_VDAVINCI) #else # define machine_is_vdavinci() (0) #endif #ifdef CONFIG_MACH_ATC6 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ATC6 # endif # define machine_is_atc6() (machine_arch_type == MACH_TYPE_ATC6) #else # define machine_is_atc6() (0) #endif #ifdef CONFIG_MACH_MULTMDW # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MULTMDW # endif # define machine_is_multmdw() (machine_arch_type == MACH_TYPE_MULTMDW) #else # define machine_is_multmdw() (0) #endif #ifdef CONFIG_MACH_MBA2440 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MBA2440 # endif # define machine_is_mba2440() (machine_arch_type == MACH_TYPE_MBA2440) #else # define machine_is_mba2440() (0) #endif #ifdef CONFIG_MACH_ECSD # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ECSD # endif # define machine_is_ecsd() (machine_arch_type == MACH_TYPE_ECSD) #else # define machine_is_ecsd() (0) #endif #ifdef CONFIG_MACH_PALMZ31 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PALMZ31 # endif # define machine_is_palmz31() (machine_arch_type == MACH_TYPE_PALMZ31) #else # define machine_is_palmz31() (0) #endif #ifdef CONFIG_MACH_FSG # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FSG # endif # define machine_is_fsg() (machine_arch_type == MACH_TYPE_FSG) #else # define machine_is_fsg() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RAZOR101 # endif # define machine_is_razor101() (machine_arch_type == MACH_TYPE_RAZOR101) #else # define machine_is_razor101() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OPERA_TDM # endif # define <API key>() (machine_arch_type == MACH_TYPE_OPERA_TDM) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_COMCERTO # endif # define machine_is_comcerto() (machine_arch_type == MACH_TYPE_COMCERTO) #else # define machine_is_comcerto() (0) #endif #ifdef CONFIG_MACH_TB0319 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TB0319 # endif # define machine_is_tb0319() (machine_arch_type == MACH_TYPE_TB0319) #else # define machine_is_tb0319() (0) #endif #ifdef CONFIG_MACH_KWS8000 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KWS8000 # endif # define machine_is_kws8000() (machine_arch_type == MACH_TYPE_KWS8000) #else # define machine_is_kws8000() (0) #endif #ifdef CONFIG_MACH_B2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_B2 # endif # define machine_is_b2() (machine_arch_type == MACH_TYPE_B2) #else # define machine_is_b2() (0) #endif #ifdef CONFIG_MACH_LCL54 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LCL54 # endif # define machine_is_lcl54() (machine_arch_type == MACH_TYPE_LCL54) #else # define machine_is_lcl54() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GLANTANK # endif # define machine_is_glantank() (machine_arch_type == MACH_TYPE_GLANTANK) #else # define machine_is_glantank() (0) #endif #ifdef CONFIG_MACH_N2100 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_N2100 # endif # define machine_is_n2100() (machine_arch_type == MACH_TYPE_N2100) #else # define machine_is_n2100() (0) #endif #ifdef CONFIG_MACH_N4100 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_N4100 # endif # define machine_is_n4100() (machine_arch_type == MACH_TYPE_N4100) #else # define machine_is_n4100() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define machine_is_rsc4() (machine_arch_type == <API key>) #else # define machine_is_rsc4() (0) #endif #ifdef CONFIG_MACH_SG8100 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SG8100 # endif # define machine_is_sg8100() (machine_arch_type == MACH_TYPE_SG8100) #else # define machine_is_sg8100() (0) #endif #ifdef CONFIG_MACH_IM42XX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IM42XX # endif # define machine_is_im42xx() (machine_arch_type == MACH_TYPE_IM42XX) #else # define machine_is_im42xx() (0) #endif #ifdef CONFIG_MACH_FTXX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FTXX # endif # define machine_is_ftxx() (machine_arch_type == MACH_TYPE_FTXX) #else # define machine_is_ftxx() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LWFUSION # endif # define machine_is_lwfusion() (machine_arch_type == MACH_TYPE_LWFUSION) #else # define machine_is_lwfusion() (0) #endif #ifdef CONFIG_MACH_QT2410 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_QT2410 # endif # define machine_is_qt2410() (machine_arch_type == MACH_TYPE_QT2410) #else # define machine_is_qt2410() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KIXRP435 # endif # define machine_is_kixrp435() (machine_arch_type == MACH_TYPE_KIXRP435) #else # define machine_is_kixrp435() (0) #endif #ifdef CONFIG_MACH_CCW9C # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CCW9C # endif # define machine_is_ccw9c() (machine_arch_type == MACH_TYPE_CCW9C) #else # define machine_is_ccw9c() (0) #endif #ifdef CONFIG_MACH_DABHS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DABHS # endif # define machine_is_dabhs() (machine_arch_type == MACH_TYPE_DABHS) #else # define machine_is_dabhs() (0) #endif #ifdef CONFIG_MACH_GZMX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GZMX # endif # define machine_is_gzmx() (machine_arch_type == MACH_TYPE_GZMX) #else # define machine_is_gzmx() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IPNW100AP # endif # define <API key>() (machine_arch_type == MACH_TYPE_IPNW100AP) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_NX70V # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NX70V # endif # define machine_is_nx70v() (machine_arch_type == MACH_TYPE_NX70V) #else # define machine_is_nx70v() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SE_PILOT2 # endif # define <API key>() (machine_arch_type == MACH_TYPE_SE_PILOT2) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MTCN_T800 # endif # define <API key>() (machine_arch_type == MACH_TYPE_MTCN_T800) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_VCMX212 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VCMX212 # endif # define machine_is_vcmx212() (machine_arch_type == MACH_TYPE_VCMX212) #else # define machine_is_vcmx212() (0) #endif #ifdef CONFIG_MACH_LYNX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LYNX # endif # define machine_is_lynx() (machine_arch_type == MACH_TYPE_LYNX) #else # define machine_is_lynx() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_HW86052 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HW86052 # endif # define machine_is_hw86052() (machine_arch_type == MACH_TYPE_HW86052) #else # define machine_is_hw86052() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PILZ_PMI3 # endif # define <API key>() (machine_arch_type == MACH_TYPE_PILZ_PMI3) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EDB9302A # endif # define machine_is_edb9302a() (machine_arch_type == MACH_TYPE_EDB9302A) #else # define machine_is_edb9302a() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EDB9307A # endif # define machine_is_edb9307a() (machine_arch_type == MACH_TYPE_EDB9307A) #else # define machine_is_edb9307a() (0) #endif #ifdef CONFIG_MACH_CT_DFS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CT_DFS # endif # define machine_is_ct_dfs() (machine_arch_type == MACH_TYPE_CT_DFS) #else # define machine_is_ct_dfs() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PILZ_PMI4 # endif # define <API key>() (machine_arch_type == MACH_TYPE_PILZ_PMI4) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SMDK2442B # endif # define <API key>() (machine_arch_type == MACH_TYPE_SMDK2442B) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_XNODE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_XNODE # endif # define machine_is_xnode() (machine_arch_type == MACH_TYPE_XNODE) #else # define machine_is_xnode() (0) #endif #ifdef CONFIG_MACH_AIDX270 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AIDX270 # endif # define machine_is_aidx270() (machine_arch_type == MACH_TYPE_AIDX270) #else # define machine_is_aidx270() (0) #endif #ifdef CONFIG_MACH_REMA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_REMA # endif # define machine_is_rema() (machine_arch_type == MACH_TYPE_REMA) #else # define machine_is_rema() (0) #endif #ifdef CONFIG_MACH_BPS1000 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BPS1000 # endif # define machine_is_bps1000() (machine_arch_type == MACH_TYPE_BPS1000) #else # define machine_is_bps1000() (0) #endif #ifdef CONFIG_MACH_HW90350 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HW90350 # endif # define machine_is_hw90350() (machine_arch_type == MACH_TYPE_HW90350) #else # define machine_is_hw90350() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BLUETOUCH # endif # define <API key>() (machine_arch_type == MACH_TYPE_BLUETOUCH) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_VSTMS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VSTMS # endif # define machine_is_vstms() (machine_arch_type == MACH_TYPE_VSTMS) #else # define machine_is_vstms() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_XSBASE270 # endif # define <API key>() (machine_arch_type == MACH_TYPE_XSBASE270) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_OTI4110 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OTI4110 # endif # define machine_is_oti4110() (machine_arch_type == MACH_TYPE_OTI4110) #else # define machine_is_oti4110() (0) #endif #ifdef CONFIG_MACH_HME_PXA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HME_PXA # endif # define machine_is_hme_pxa() (machine_arch_type == MACH_TYPE_HME_PXA) #else # define machine_is_hme_pxa() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CES_SSEM2 # endif # define <API key>() (machine_arch_type == MACH_TYPE_CES_SSEM2) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_CES_MTR # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CES_MTR # endif # define machine_is_ces_mtr() (machine_arch_type == MACH_TYPE_CES_MTR) #else # define machine_is_ces_mtr() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_EVEREST # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EVEREST # endif # define machine_is_everest() (machine_arch_type == MACH_TYPE_EVEREST) #else # define machine_is_everest() (0) #endif #ifdef CONFIG_MACH_PNX4010 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PNX4010 # endif # define machine_is_pnx4010() (machine_arch_type == MACH_TYPE_PNX4010) #else # define machine_is_pnx4010() (0) #endif #ifdef CONFIG_MACH_OXNAS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OXNAS # endif # define machine_is_oxnas() (machine_arch_type == MACH_TYPE_OXNAS) #else # define machine_is_oxnas() (0) #endif #ifdef CONFIG_MACH_FIORI # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FIORI # endif # define machine_is_fiori() (machine_arch_type == MACH_TYPE_FIORI) #else # define machine_is_fiori() (0) #endif #ifdef CONFIG_MACH_ML1200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ML1200 # endif # define machine_is_ml1200() (machine_arch_type == MACH_TYPE_ML1200) #else # define machine_is_ml1200() (0) #endif #ifdef CONFIG_MACH_PECOS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PECOS # endif # define machine_is_pecos() (machine_arch_type == MACH_TYPE_PECOS) #else # define machine_is_pecos() (0) #endif #ifdef CONFIG_MACH_NB2XXX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NB2XXX # endif # define machine_is_nb2xxx() (machine_arch_type == MACH_TYPE_NB2XXX) #else # define machine_is_nb2xxx() (0) #endif #ifdef CONFIG_MACH_HW6900 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HW6900 # endif # define machine_is_hw6900() (machine_arch_type == MACH_TYPE_HW6900) #else # define machine_is_hw6900() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_UPLAT926 # endif # define machine_is_uplat926() (machine_arch_type == MACH_TYPE_UPLAT926) #else # define machine_is_uplat926() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_DTK2410 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DTK2410 # endif # define machine_is_dtk2410() (machine_arch_type == MACH_TYPE_DTK2410) #else # define machine_is_dtk2410() (0) #endif #ifdef CONFIG_MACH_CHILI # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CHILI # endif # define machine_is_chili() (machine_arch_type == MACH_TYPE_CHILI) #else # define machine_is_chili() (0) #endif #ifdef CONFIG_MACH_DEMETER # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DEMETER # endif # define machine_is_demeter() (machine_arch_type == MACH_TYPE_DEMETER) #else # define machine_is_demeter() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DIONYSUS # endif # define machine_is_dionysus() (machine_arch_type == MACH_TYPE_DIONYSUS) #else # define machine_is_dionysus() (0) #endif #ifdef CONFIG_MACH_AS352X # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AS352X # endif # define machine_is_as352x() (machine_arch_type == MACH_TYPE_AS352X) #else # define machine_is_as352x() (0) #endif #ifdef CONFIG_MACH_SERVICE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SERVICE # endif # define machine_is_service() (machine_arch_type == MACH_TYPE_SERVICE) #else # define machine_is_service() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CS_E9301 # endif # define machine_is_cs_e9301() (machine_arch_type == MACH_TYPE_CS_E9301) #else # define machine_is_cs_e9301() (0) #endif #ifdef CONFIG_MACH_MICRO9M # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MICRO9M # endif # define machine_is_micro9m() (machine_arch_type == MACH_TYPE_MICRO9M) #else # define machine_is_micro9m() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IA_MOSPCK # endif # define <API key>() (machine_arch_type == MACH_TYPE_IA_MOSPCK) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_QL201B # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_QL201B # endif # define machine_is_ql201b() (machine_arch_type == MACH_TYPE_QL201B) #else # define machine_is_ql201b() (0) #endif #ifdef CONFIG_MACH_BBM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BBM # endif # define machine_is_bbm() (machine_arch_type == MACH_TYPE_BBM) #else # define machine_is_bbm() (0) #endif #ifdef CONFIG_MACH_EXXX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EXXX # endif # define machine_is_exxx() (machine_arch_type == MACH_TYPE_EXXX) #else # define machine_is_exxx() (0) #endif #ifdef CONFIG_MACH_WMA11B # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WMA11B # endif # define machine_is_wma11b() (machine_arch_type == MACH_TYPE_WMA11B) #else # define machine_is_wma11b() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_G500 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_G500 # endif # define machine_is_g500() (machine_arch_type == MACH_TYPE_G500) #else # define machine_is_g500() (0) #endif #ifdef CONFIG_MACH_BUG # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BUG # endif # define machine_is_bug() (machine_arch_type == MACH_TYPE_BUG) #else # define machine_is_bug() (0) #endif #ifdef CONFIG_MACH_MX33ADS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX33ADS # endif # define machine_is_mx33ads() (machine_arch_type == MACH_TYPE_MX33ADS) #else # define machine_is_mx33ads() (0) #endif #ifdef CONFIG_MACH_CHUB # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CHUB # endif # define machine_is_chub() (machine_arch_type == MACH_TYPE_CHUB) #else # define machine_is_chub() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_W90N740 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_W90N740 # endif # define machine_is_w90n740() (machine_arch_type == MACH_TYPE_W90N740) #else # define machine_is_w90n740() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_PM9261 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PM9261 # endif # define machine_is_pm9261() (machine_arch_type == MACH_TYPE_PM9261) #else # define machine_is_pm9261() (0) #endif #ifdef CONFIG_MACH_ML7304 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ML7304 # endif # define machine_is_ml7304() (machine_arch_type == MACH_TYPE_ML7304) #else # define machine_is_ml7304() (0) #endif #ifdef CONFIG_MACH_UCP250 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_UCP250 # endif # define machine_is_ucp250() (machine_arch_type == MACH_TYPE_UCP250) #else # define machine_is_ucp250() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_INTBOARD # endif # define machine_is_intboard() (machine_arch_type == MACH_TYPE_INTBOARD) #else # define machine_is_intboard() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LABQUEST # endif # define machine_is_labquest() (machine_arch_type == MACH_TYPE_LABQUEST) #else # define machine_is_labquest() (0) #endif #ifdef CONFIG_MACH_VCMX313 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VCMX313 # endif # define machine_is_vcmx313() (machine_arch_type == MACH_TYPE_VCMX313) #else # define machine_is_vcmx313() (0) #endif #ifdef CONFIG_MACH_URG200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_URG200 # endif # define machine_is_urg200() (machine_arch_type == MACH_TYPE_URG200) #else # define machine_is_urg200() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_NETDCU9 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NETDCU9 # endif # define machine_is_netdcu9() (machine_arch_type == MACH_TYPE_NETDCU9) #else # define machine_is_netdcu9() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NETDCU10 # endif # define machine_is_netdcu10() (machine_arch_type == MACH_TYPE_NETDCU10) #else # define machine_is_netdcu10() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DSPG_DGA # endif # define machine_is_dspg_dga() (machine_arch_type == MACH_TYPE_DSPG_DGA) #else # define machine_is_dspg_dga() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DSPG_DVW # endif # define machine_is_dspg_dvw() (machine_arch_type == MACH_TYPE_DSPG_DVW) #else # define machine_is_dspg_dvw() (0) #endif #ifdef CONFIG_MACH_SOLOS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SOLOS # endif # define machine_is_solos() (machine_arch_type == MACH_TYPE_SOLOS) #else # define machine_is_solos() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_OSSTBOX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OSSTBOX # endif # define machine_is_osstbox() (machine_arch_type == MACH_TYPE_OSSTBOX) #else # define machine_is_osstbox() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KBAT9261 # endif # define machine_is_kbat9261() (machine_arch_type == MACH_TYPE_KBAT9261) #else # define machine_is_kbat9261() (0) #endif #ifdef CONFIG_MACH_CT1100 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CT1100 # endif # define machine_is_ct1100() (machine_arch_type == MACH_TYPE_CT1100) #else # define machine_is_ct1100() (0) #endif #ifdef CONFIG_MACH_AKCPPXA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AKCPPXA # endif # define machine_is_akcppxa() (machine_arch_type == MACH_TYPE_AKCPPXA) #else # define machine_is_akcppxa() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_HITRACK # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HITRACK # endif # define machine_is_hitrack() (machine_arch_type == MACH_TYPE_HITRACK) #else # define machine_is_hitrack() (0) #endif #ifdef CONFIG_MACH_SYME1 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SYME1 # endif # define machine_is_syme1() (machine_arch_type == MACH_TYPE_SYME1) #else # define machine_is_syme1() (0) #endif #ifdef CONFIG_MACH_SYHL1 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SYHL1 # endif # define machine_is_syhl1() (machine_arch_type == MACH_TYPE_SYHL1) #else # define machine_is_syhl1() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EMPCA400 # endif # define machine_is_empca400() (machine_arch_type == MACH_TYPE_EMPCA400) #else # define machine_is_empca400() (0) #endif #ifdef CONFIG_MACH_EM7210 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EM7210 # endif # define machine_is_em7210() (machine_arch_type == MACH_TYPE_EM7210) #else # define machine_is_em7210() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HTCHERMES # endif # define <API key>() (machine_arch_type == MACH_TYPE_HTCHERMES) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ETI_C1 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ETI_C1 # endif # define machine_is_eti_c1() (machine_arch_type == MACH_TYPE_ETI_C1) #else # define machine_is_eti_c1() (0) #endif #ifdef CONFIG_MACH_AC100 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AC100 # endif # define machine_is_ac100() (machine_arch_type == MACH_TYPE_AC100) #else # define machine_is_ac100() (0) #endif #ifdef CONFIG_MACH_SNEETCH # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SNEETCH # endif # define machine_is_sneetch() (machine_arch_type == MACH_TYPE_SNEETCH) #else # define machine_is_sneetch() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ZIR2410 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ZIR2410 # endif # define machine_is_zir2410() (machine_arch_type == MACH_TYPE_ZIR2410) #else # define machine_is_zir2410() (0) #endif #ifdef CONFIG_MACH_ZIR2413 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ZIR2413 # endif # define machine_is_zir2413() (machine_arch_type == MACH_TYPE_ZIR2413) #else # define machine_is_zir2413() (0) #endif #ifdef CONFIG_MACH_DLONIP3 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DLONIP3 # endif # define machine_is_dlonip3() (machine_arch_type == MACH_TYPE_DLONIP3) #else # define machine_is_dlonip3() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_INSTREAM # endif # define machine_is_instream() (machine_arch_type == MACH_TYPE_INSTREAM) #else # define machine_is_instream() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AMBARELLA # endif # define <API key>() (machine_arch_type == MACH_TYPE_AMBARELLA) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_NEVIS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NEVIS # endif # define machine_is_nevis() (machine_arch_type == MACH_TYPE_NEVIS) #else # define machine_is_nevis() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_QL202B # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_QL202B # endif # define machine_is_ql202b() (machine_arch_type == MACH_TYPE_QL202B) #else # define machine_is_ql202b() (0) #endif #ifdef CONFIG_MACH_VPAC270 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VPAC270 # endif # define machine_is_vpac270() (machine_arch_type == MACH_TYPE_VPAC270) #else # define machine_is_vpac270() (0) #endif #ifdef CONFIG_MACH_RD129 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RD129 # endif # define machine_is_rd129() (machine_arch_type == MACH_TYPE_RD129) #else # define machine_is_rd129() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HTCWIZARD # endif # define <API key>() (machine_arch_type == MACH_TYPE_HTCWIZARD) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_TREO680 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TREO680 # endif # define machine_is_treo680() (machine_arch_type == MACH_TYPE_TREO680) #else # define machine_is_treo680() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ZYLONITE # endif # define machine_is_zylonite() (machine_arch_type == MACH_TYPE_ZYLONITE) #else # define machine_is_zylonite() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GENE1270 # endif # define machine_is_gene1270() (machine_arch_type == MACH_TYPE_GENE1270) #else # define machine_is_gene1270() (0) #endif #ifdef CONFIG_MACH_ZIR2412 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ZIR2412 # endif # define machine_is_zir2412() (machine_arch_type == MACH_TYPE_ZIR2412) #else # define machine_is_zir2412() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX31LITE # endif # define machine_is_mx31lite() (machine_arch_type == MACH_TYPE_MX31LITE) #else # define machine_is_mx31lite() (0) #endif #ifdef CONFIG_MACH_T700WX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_T700WX # endif # define machine_is_t700wx() (machine_arch_type == MACH_TYPE_T700WX) #else # define machine_is_t700wx() (0) #endif #ifdef CONFIG_MACH_VF100 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VF100 # endif # define machine_is_vf100() (machine_arch_type == MACH_TYPE_VF100) #else # define machine_is_vf100() (0) #endif #ifdef CONFIG_MACH_NSB2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NSB2 # endif # define machine_is_nsb2() (machine_arch_type == MACH_TYPE_NSB2) #else # define machine_is_nsb2() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NXHMI_BB # endif # define machine_is_nxhmi_bb() (machine_arch_type == MACH_TYPE_NXHMI_BB) #else # define machine_is_nxhmi_bb() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NXHMI_RE # endif # define machine_is_nxhmi_re() (machine_arch_type == MACH_TYPE_NXHMI_RE) #else # define machine_is_nxhmi_re() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_N4100PRO # endif # define machine_is_n4100pro() (machine_arch_type == MACH_TYPE_N4100PRO) #else # define machine_is_n4100pro() (0) #endif #ifdef CONFIG_MACH_SAM9260 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SAM9260 # endif # define machine_is_sam9260() (machine_arch_type == MACH_TYPE_SAM9260) #else # define machine_is_sam9260() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_INDY2410 # endif # define machine_is_indy2410() (machine_arch_type == MACH_TYPE_INDY2410) #else # define machine_is_indy2410() (0) #endif #ifdef CONFIG_MACH_NELT_A # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NELT_A # endif # define machine_is_nelt_a() (machine_arch_type == MACH_TYPE_NELT_A) #else # define machine_is_nelt_a() (0) #endif #ifdef CONFIG_MACH_N311 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_N311 # endif # define machine_is_n311() (machine_arch_type == MACH_TYPE_N311) #else # define machine_is_n311() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AT91LEPPE # endif # define <API key>() (machine_arch_type == MACH_TYPE_AT91LEPPE) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_APC7100 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_APC7100 # endif # define machine_is_apc7100() (machine_arch_type == MACH_TYPE_APC7100) #else # define machine_is_apc7100() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_STARGAZER # endif # define <API key>() (machine_arch_type == MACH_TYPE_STARGAZER) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SONATA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SONATA # endif # define machine_is_sonata() (machine_arch_type == MACH_TYPE_SONATA) #else # define machine_is_sonata() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SCHMOOGIE # endif # define <API key>() (machine_arch_type == MACH_TYPE_SCHMOOGIE) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_AZTOOL # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AZTOOL # endif # define machine_is_aztool() (machine_arch_type == MACH_TYPE_AZTOOL) #else # define machine_is_aztool() (0) #endif #ifdef CONFIG_MACH_MIOA701 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MIOA701 # endif # define machine_is_mioa701() (machine_arch_type == MACH_TYPE_MIOA701) #else # define machine_is_mioa701() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SXNI9260 # endif # define machine_is_sxni9260() (machine_arch_type == MACH_TYPE_SXNI9260) #else # define machine_is_sxni9260() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_MB9260 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MB9260 # endif # define machine_is_mb9260() (machine_arch_type == MACH_TYPE_MB9260) #else # define machine_is_mb9260() (0) #endif #ifdef CONFIG_MACH_MB9263 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MB9263 # endif # define machine_is_mb9263() (machine_arch_type == MACH_TYPE_MB9263) #else # define machine_is_mb9263() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IPAC9302 # endif # define machine_is_ipac9302() (machine_arch_type == MACH_TYPE_IPAC9302) #else # define machine_is_ipac9302() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_GALLIUM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GALLIUM # endif # define machine_is_gallium() (machine_arch_type == MACH_TYPE_GALLIUM) #else # define machine_is_gallium() (0) #endif #ifdef CONFIG_MACH_MSC2410 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MSC2410 # endif # define machine_is_msc2410() (machine_arch_type == MACH_TYPE_MSC2410) #else # define machine_is_msc2410() (0) #endif #ifdef CONFIG_MACH_GHI270 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GHI270 # endif # define machine_is_ghi270() (machine_arch_type == MACH_TYPE_GHI270) #else # define machine_is_ghi270() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_OIAB # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OIAB # endif # define machine_is_oiab() (machine_arch_type == MACH_TYPE_OIAB) #else # define machine_is_oiab() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SMDK6400 # endif # define machine_is_smdk6400() (machine_arch_type == MACH_TYPE_SMDK6400) #else # define machine_is_smdk6400() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_XMATE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_XMATE # endif # define machine_is_xmate() (machine_arch_type == MACH_TYPE_XMATE) #else # define machine_is_xmate() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ENERGIZER # endif # define <API key>() (machine_arch_type == MACH_TYPE_ENERGIZER) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_IME1 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IME1 # endif # define machine_is_ime1() (machine_arch_type == MACH_TYPE_IME1) #else # define machine_is_ime1() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SWEDATMS # endif # define <API key>() (machine_arch_type == MACH_TYPE_SWEDATMS) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NTNP435C # endif # define machine_is_ntnp435c() (machine_arch_type == MACH_TYPE_NTNP435C) #else # define machine_is_ntnp435c() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SPECTRO2 # endif # define machine_is_spectro2() (machine_arch_type == MACH_TYPE_SPECTRO2) #else # define machine_is_spectro2() (0) #endif #ifdef CONFIG_MACH_H6039 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_H6039 # endif # define machine_is_h6039() (machine_arch_type == MACH_TYPE_H6039) #else # define machine_is_h6039() (0) #endif #ifdef CONFIG_MACH_EP80219 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EP80219 # endif # define machine_is_ep80219() (machine_arch_type == MACH_TYPE_EP80219) #else # define machine_is_ep80219() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SAMOA_II # endif # define machine_is_samoa_ii() (machine_arch_type == MACH_TYPE_SAMOA_II) #else # define machine_is_samoa_ii() (0) #endif #ifdef CONFIG_MACH_CWMXL # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CWMXL # endif # define machine_is_cwmxl() (machine_arch_type == MACH_TYPE_CWMXL) #else # define machine_is_cwmxl() (0) #endif #ifdef CONFIG_MACH_AS9200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AS9200 # endif # define machine_is_as9200() (machine_arch_type == MACH_TYPE_AS9200) #else # define machine_is_as9200() (0) #endif #ifdef CONFIG_MACH_SFX1149 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SFX1149 # endif # define machine_is_sfx1149() (machine_arch_type == MACH_TYPE_SFX1149) #else # define machine_is_sfx1149() (0) #endif #ifdef CONFIG_MACH_NAVI010 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NAVI010 # endif # define machine_is_navi010() (machine_arch_type == MACH_TYPE_NAVI010) #else # define machine_is_navi010() (0) #endif #ifdef CONFIG_MACH_MULTMDP # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MULTMDP # endif # define machine_is_multmdp() (machine_arch_type == MACH_TYPE_MULTMDP) #else # define machine_is_multmdp() (0) #endif #ifdef CONFIG_MACH_SCB9520 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SCB9520 # endif # define machine_is_scb9520() (machine_arch_type == MACH_TYPE_SCB9520) #else # define machine_is_scb9520() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HTCATHENA # endif # define <API key>() (machine_arch_type == MACH_TYPE_HTCATHENA) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_XP179 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_XP179 # endif # define machine_is_xp179() (machine_arch_type == MACH_TYPE_XP179) #else # define machine_is_xp179() (0) #endif #ifdef CONFIG_MACH_H4300 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_H4300 # endif # define machine_is_h4300() (machine_arch_type == MACH_TYPE_H4300) #else # define machine_is_h4300() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MMSP2PLUS # endif # define <API key>() (machine_arch_type == MACH_TYPE_MMSP2PLUS) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_EM_X270 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EM_X270 # endif # define machine_is_em_x270() (machine_arch_type == MACH_TYPE_EM_X270) #else # define machine_is_em_x270() (0) #endif #ifdef CONFIG_MACH_TPP302 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TPP302 # endif # define machine_is_tpp302() (machine_arch_type == MACH_TYPE_TPP302) #else # define machine_is_tpp302() (0) #endif #ifdef CONFIG_MACH_TPM104 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TPM104 # endif # define machine_is_tpp104() (machine_arch_type == MACH_TYPE_TPM104) #else # define machine_is_tpp104() (0) #endif #ifdef CONFIG_MACH_TPM102 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TPM102 # endif # define machine_is_tpm102() (machine_arch_type == MACH_TYPE_TPM102) #else # define machine_is_tpm102() (0) #endif #ifdef CONFIG_MACH_TPM109 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TPM109 # endif # define machine_is_tpm109() (machine_arch_type == MACH_TYPE_TPM109) #else # define machine_is_tpm109() (0) #endif #ifdef CONFIG_MACH_FBXO1 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FBXO1 # endif # define machine_is_fbxo1() (machine_arch_type == MACH_TYPE_FBXO1) #else # define machine_is_fbxo1() (0) #endif #ifdef CONFIG_MACH_HXD8 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HXD8 # endif # define machine_is_hxd8() (machine_arch_type == MACH_TYPE_HXD8) #else # define machine_is_hxd8() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_EMTEST # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EMTEST # endif # define machine_is_emtest() (machine_arch_type == MACH_TYPE_EMTEST) #else # define machine_is_emtest() (0) #endif #ifdef CONFIG_MACH_AD6900 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AD6900 # endif # define machine_is_ad6900() (machine_arch_type == MACH_TYPE_AD6900) #else # define machine_is_ad6900() (0) #endif #ifdef CONFIG_MACH_EUROPA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EUROPA # endif # define machine_is_europa() (machine_arch_type == MACH_TYPE_EUROPA) #else # define machine_is_europa() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EZ_S2410 # endif # define machine_is_ez_s2410() (machine_arch_type == MACH_TYPE_EZ_S2410) #else # define machine_is_ez_s2410() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EZ_S2440 # endif # define machine_is_ez_s2440() (machine_arch_type == MACH_TYPE_EZ_S2440) #else # define machine_is_ez_s2440() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EZ_EP9312 # endif # define <API key>() (machine_arch_type == MACH_TYPE_EZ_EP9312) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EZ_EP9315 # endif # define <API key>() (machine_arch_type == MACH_TYPE_EZ_EP9315) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_EZ_X7 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EZ_X7 # endif # define machine_is_ez_x7() (machine_arch_type == MACH_TYPE_EZ_X7) #else # define machine_is_ez_x7() (0) #endif #ifdef CONFIG_MACH_GODOTDB # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GODOTDB # endif # define machine_is_godotdb() (machine_arch_type == MACH_TYPE_GODOTDB) #else # define machine_is_godotdb() (0) #endif #ifdef CONFIG_MACH_MISTRAL # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MISTRAL # endif # define machine_is_mistral() (machine_arch_type == MACH_TYPE_MISTRAL) #else # define machine_is_mistral() (0) #endif #ifdef CONFIG_MACH_MSM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MSM # endif # define machine_is_msm() (machine_arch_type == MACH_TYPE_MSM) #else # define machine_is_msm() (0) #endif #ifdef CONFIG_MACH_CT5910 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CT5910 # endif # define machine_is_ct5910() (machine_arch_type == MACH_TYPE_CT5910) #else # define machine_is_ct5910() (0) #endif #ifdef CONFIG_MACH_CT5912 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CT5912 # endif # define machine_is_ct5912() (machine_arch_type == MACH_TYPE_CT5912) #else # define machine_is_ct5912() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HYNET_INE # endif # define <API key>() (machine_arch_type == MACH_TYPE_HYNET_INE) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HYNET_APP # endif # define <API key>() (machine_arch_type == MACH_TYPE_HYNET_APP) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_MSM7200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MSM7200 # endif # define machine_is_msm7200() (machine_arch_type == MACH_TYPE_MSM7200) #else # define machine_is_msm7200() (0) #endif #ifdef CONFIG_MACH_MSM7600 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MSM7600 # endif # define machine_is_msm7600() (machine_arch_type == MACH_TYPE_MSM7600) #else # define machine_is_msm7600() (0) #endif #ifdef CONFIG_MACH_CEB255 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CEB255 # endif # define machine_is_ceb255() (machine_arch_type == MACH_TYPE_CEB255) #else # define machine_is_ceb255() (0) #endif #ifdef CONFIG_MACH_CIEL # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CIEL # endif # define machine_is_ciel() (machine_arch_type == MACH_TYPE_CIEL) #else # define machine_is_ciel() (0) #endif #ifdef CONFIG_MACH_SLM5650 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SLM5650 # endif # define machine_is_slm5650() (machine_arch_type == MACH_TYPE_SLM5650) #else # define machine_is_slm5650() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SBC2410X # endif # define machine_is_sbc2410x() (machine_arch_type == MACH_TYPE_SBC2410X) #else # define machine_is_sbc2410x() (0) #endif #ifdef CONFIG_MACH_AT4X0BD # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AT4X0BD # endif # define machine_is_at4x0bd() (machine_arch_type == MACH_TYPE_AT4X0BD) #else # define machine_is_at4x0bd() (0) #endif #ifdef CONFIG_MACH_CBIFR # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CBIFR # endif # define machine_is_cbifr() (machine_arch_type == MACH_TYPE_CBIFR) #else # define machine_is_cbifr() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MATRIX520 # endif # define <API key>() (machine_arch_type == MACH_TYPE_MATRIX520) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MATRIX510 # endif # define <API key>() (machine_arch_type == MACH_TYPE_MATRIX510) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MATRIX500 # endif # define <API key>() (machine_arch_type == MACH_TYPE_MATRIX500) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_M501 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_M501 # endif # define machine_is_m501() (machine_arch_type == MACH_TYPE_M501) #else # define machine_is_m501() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AAEON1270 # endif # define <API key>() (machine_arch_type == MACH_TYPE_AAEON1270) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_PAC500 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PAC500 # endif # define machine_is_pac500() (machine_arch_type == MACH_TYPE_PAC500) #else # define machine_is_pac500() (0) #endif #ifdef CONFIG_MACH_PNX8181 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PNX8181 # endif # define machine_is_pnx8181() (machine_arch_type == MACH_TYPE_PNX8181) #else # define machine_is_pnx8181() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AZTOOLBB # endif # define machine_is_aztoolbb() (machine_arch_type == MACH_TYPE_AZTOOLBB) #else # define machine_is_aztoolbb() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AZTOOLG2 # endif # define machine_is_aztoolg2() (machine_arch_type == MACH_TYPE_AZTOOLG2) #else # define machine_is_aztoolg2() (0) #endif #ifdef CONFIG_MACH_DVLHOST # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DVLHOST # endif # define machine_is_dvlhost() (machine_arch_type == MACH_TYPE_DVLHOST) #else # define machine_is_dvlhost() (0) #endif #ifdef CONFIG_MACH_ZIR9200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ZIR9200 # endif # define machine_is_zir9200() (machine_arch_type == MACH_TYPE_ZIR9200) #else # define machine_is_zir9200() (0) #endif #ifdef CONFIG_MACH_ZIR9260 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ZIR9260 # endif # define machine_is_zir9260() (machine_arch_type == MACH_TYPE_ZIR9260) #else # define machine_is_zir9260() (0) #endif #ifdef CONFIG_MACH_COCOPAH # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_COCOPAH # endif # define machine_is_cocopah() (machine_arch_type == MACH_TYPE_COCOPAH) #else # define machine_is_cocopah() (0) #endif #ifdef CONFIG_MACH_NDS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NDS # endif # define machine_is_nds() (machine_arch_type == MACH_TYPE_NDS) #else # define machine_is_nds() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FTTX_ODSC # endif # define <API key>() (machine_arch_type == MACH_TYPE_FTTX_ODSC) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_CAM60 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CAM60 # endif # define machine_is_cam60() (machine_arch_type == MACH_TYPE_CAM60) #else # define machine_is_cam60() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DATACALL # endif # define machine_is_datacall() (machine_arch_type == MACH_TYPE_DATACALL) #else # define machine_is_datacall() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AT91EB01 # endif # define machine_is_at91eb01() (machine_arch_type == MACH_TYPE_AT91EB01) #else # define machine_is_at91eb01() (0) #endif #ifdef CONFIG_MACH_RTY # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RTY # endif # define machine_is_rty() (machine_arch_type == MACH_TYPE_RTY) #else # define machine_is_rty() (0) #endif #ifdef CONFIG_MACH_DWL2100 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DWL2100 # endif # define machine_is_dwl2100() (machine_arch_type == MACH_TYPE_DWL2100) #else # define machine_is_dwl2100() (0) #endif #ifdef CONFIG_MACH_VINSI # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VINSI # endif # define machine_is_vinsi() (machine_arch_type == MACH_TYPE_VINSI) #else # define machine_is_vinsi() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DB88F5281 # endif # define <API key>() (machine_arch_type == MACH_TYPE_DB88F5281) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_CSB726 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CSB726 # endif # define machine_is_csb726() (machine_arch_type == MACH_TYPE_CSB726) #else # define machine_is_csb726() (0) #endif #ifdef CONFIG_MACH_TIK27 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TIK27 # endif # define machine_is_tik27() (machine_arch_type == MACH_TYPE_TIK27) #else # define machine_is_tik27() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX_UC7420 # endif # define <API key>() (machine_arch_type == MACH_TYPE_MX_UC7420) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_RIRM3 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RIRM3 # endif # define machine_is_rirm3() (machine_arch_type == MACH_TYPE_RIRM3) #else # define machine_is_rirm3() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ADX_ABOX # endif # define machine_is_adx_abox() (machine_arch_type == MACH_TYPE_ADX_ABOX) #else # define machine_is_adx_abox() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ADX_TPID # endif # define machine_is_adx_tpid() (machine_arch_type == MACH_TYPE_ADX_TPID) #else # define machine_is_adx_tpid() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MINICHECK # endif # define <API key>() (machine_arch_type == MACH_TYPE_MINICHECK) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_IDAM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IDAM # endif # define machine_is_idam() (machine_arch_type == MACH_TYPE_IDAM) #else # define machine_is_idam() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MARIO_MX # endif # define machine_is_mario_mx() (machine_arch_type == MACH_TYPE_MARIO_MX) #else # define machine_is_mario_mx() (0) #endif #ifdef CONFIG_MACH_VI1888 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VI1888 # endif # define machine_is_vi1888() (machine_arch_type == MACH_TYPE_VI1888) #else # define machine_is_vi1888() (0) #endif #ifdef CONFIG_MACH_ZR4230 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ZR4230 # endif # define machine_is_zr4230() (machine_arch_type == MACH_TYPE_ZR4230) #else # define machine_is_zr4230() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SYHQ2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SYHQ2 # endif # define machine_is_syhq2() (machine_arch_type == MACH_TYPE_SYHQ2) #else # define machine_is_syhq2() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ORATIS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ORATIS # endif # define machine_is_oratis() (machine_arch_type == MACH_TYPE_ORATIS) #else # define machine_is_oratis() (0) #endif #ifdef CONFIG_MACH_MIKKO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MIKKO # endif # define machine_is_mikko() (machine_arch_type == MACH_TYPE_MIKKO) #else # define machine_is_mikko() (0) #endif #ifdef CONFIG_MACH_HOLON # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HOLON # endif # define machine_is_holon() (machine_arch_type == MACH_TYPE_HOLON) #else # define machine_is_holon() (0) #endif #ifdef CONFIG_MACH_OLIP8 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OLIP8 # endif # define machine_is_olip8() (machine_arch_type == MACH_TYPE_OLIP8) #else # define machine_is_olip8() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GHI270HG # endif # define machine_is_ghi270hg() (machine_arch_type == MACH_TYPE_GHI270HG) #else # define machine_is_ghi270hg() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CDOTBWSG # endif # define machine_is_cdotbwsg() (machine_arch_type == MACH_TYPE_CDOTBWSG) #else # define machine_is_cdotbwsg() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_QUARK963 # endif # define machine_is_quark963() (machine_arch_type == MACH_TYPE_QUARK963) #else # define machine_is_quark963() (0) #endif #ifdef CONFIG_MACH_CSB735 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CSB735 # endif # define machine_is_csb735() (machine_arch_type == MACH_TYPE_CSB735) #else # define machine_is_csb735() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LITTLETON # endif # define <API key>() (machine_arch_type == MACH_TYPE_LITTLETON) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MIO_P550 # endif # define machine_is_mio_p550() (machine_arch_type == MACH_TYPE_MIO_P550) #else # define machine_is_mio_p550() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_IMM500 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IMM500 # endif # define machine_is_imm500() (machine_arch_type == MACH_TYPE_IMM500) #else # define machine_is_imm500() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HOMEMATIC # endif # define <API key>() (machine_arch_type == MACH_TYPE_HOMEMATIC) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ERMINE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ERMINE # endif # define machine_is_ermine() (machine_arch_type == MACH_TYPE_ERMINE) #else # define machine_is_ermine() (0) #endif #ifdef CONFIG_MACH_KB9202B # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KB9202B # endif # define machine_is_kb9202b() (machine_arch_type == MACH_TYPE_KB9202B) #else # define machine_is_kb9202b() (0) #endif #ifdef CONFIG_MACH_HS1XX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HS1XX # endif # define machine_is_hs1xx() (machine_arch_type == MACH_TYPE_HS1XX) #else # define machine_is_hs1xx() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DEP2410K # endif # define machine_is_dep2410k() (machine_arch_type == MACH_TYPE_DEP2410K) #else # define machine_is_dep2410k() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_XXSVIDEO # endif # define machine_is_xxsvideo() (machine_arch_type == MACH_TYPE_XXSVIDEO) #else # define machine_is_xxsvideo() (0) #endif #ifdef CONFIG_MACH_IM4004 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IM4004 # endif # define machine_is_im4004() (machine_arch_type == MACH_TYPE_IM4004) #else # define machine_is_im4004() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_LEP9261 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LEP9261 # endif # define machine_is_lep9261() (machine_arch_type == MACH_TYPE_LEP9261) #else # define machine_is_lep9261() (0) #endif #ifdef CONFIG_MACH_SVENMEB # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SVENMEB # endif # define machine_is_svenmeb() (machine_arch_type == MACH_TYPE_SVENMEB) #else # define machine_is_svenmeb() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_NXHX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NXHX # endif # define machine_is_nxhx() (machine_arch_type == MACH_TYPE_NXHX) #else # define machine_is_nxhx() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_IDS500 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IDS500 # endif # define machine_is_ids500() (machine_arch_type == MACH_TYPE_IDS500) #else # define machine_is_ids500() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ORS_N725 # endif # define machine_is_ors_n725() (machine_arch_type == MACH_TYPE_ORS_N725) #else # define machine_is_ors_n725() (0) #endif #ifdef CONFIG_MACH_HSDARM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HSDARM # endif # define machine_is_hsdarm() (machine_arch_type == MACH_TYPE_HSDARM) #else # define machine_is_hsdarm() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_H6042 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_H6042 # endif # define machine_is_h6042() (machine_arch_type == MACH_TYPE_H6042) #else # define machine_is_h6042() (0) #endif #ifdef CONFIG_MACH_H6043 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_H6043 # endif # define machine_is_h6043() (machine_arch_type == MACH_TYPE_H6043) #else # define machine_is_h6043() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LOOXC550 # endif # define machine_is_looxc550() (machine_arch_type == MACH_TYPE_LOOXC550) #else # define machine_is_looxc550() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_APP3XX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_APP3XX # endif # define machine_is_app3xx() (machine_arch_type == MACH_TYPE_APP3XX) #else # define machine_is_app3xx() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TREO700P # endif # define machine_is_treo700p() (machine_arch_type == MACH_TYPE_TREO700P) #else # define machine_is_treo700p() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TREO700W # endif # define machine_is_treo700w() (machine_arch_type == MACH_TYPE_TREO700W) #else # define machine_is_treo700w() (0) #endif #ifdef CONFIG_MACH_TREO750 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TREO750 # endif # define machine_is_treo750() (machine_arch_type == MACH_TYPE_TREO750) #else # define machine_is_treo750() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TREO755P # endif # define machine_is_treo755p() (machine_arch_type == MACH_TYPE_TREO755P) #else # define machine_is_treo755p() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SARGE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SARGE # endif # define machine_is_sarge() (machine_arch_type == MACH_TYPE_SARGE) #else # define machine_is_sarge() (0) #endif #ifdef CONFIG_MACH_A696 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_A696 # endif # define machine_is_a696() (machine_arch_type == MACH_TYPE_A696) #else # define machine_is_a696() (0) #endif #ifdef CONFIG_MACH_TURTLE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TURTLE # endif # define <API key>() (machine_arch_type == MACH_TYPE_TURTLE) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX27_3DS # endif # define machine_is_mx27_3ds() (machine_arch_type == MACH_TYPE_MX27_3DS) #else # define machine_is_mx27_3ds() (0) #endif #ifdef CONFIG_MACH_BISHOP # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BISHOP # endif # define machine_is_bishop() (machine_arch_type == MACH_TYPE_BISHOP) #else # define machine_is_bishop() (0) #endif #ifdef CONFIG_MACH_PXX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PXX # endif # define machine_is_pxx() (machine_arch_type == MACH_TYPE_PXX) #else # define machine_is_pxx() (0) #endif #ifdef CONFIG_MACH_REDWOOD # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_REDWOOD # endif # define machine_is_redwood() (machine_arch_type == MACH_TYPE_REDWOOD) #else # define machine_is_redwood() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SARDINE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SARDINE # endif # define machine_is_sardine() (machine_arch_type == MACH_TYPE_SARDINE) #else # define machine_is_sardine() (0) #endif #ifdef CONFIG_MACH_HALIBUT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HALIBUT # endif # define machine_is_halibut() (machine_arch_type == MACH_TYPE_HALIBUT) #else # define machine_is_halibut() (0) #endif #ifdef CONFIG_MACH_TROUT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TROUT # endif # define machine_is_trout() (machine_arch_type == MACH_TYPE_TROUT) #else # define machine_is_trout() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GOLDFISH # endif # define machine_is_goldfish() (machine_arch_type == MACH_TYPE_GOLDFISH) #else # define machine_is_goldfish() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GESBC2440 # endif # define <API key>() (machine_arch_type == MACH_TYPE_GESBC2440) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_NOMAD # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NOMAD # endif # define machine_is_nomad() (machine_arch_type == MACH_TYPE_NOMAD) #else # define machine_is_nomad() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ROSALIND # endif # define machine_is_rosalind() (machine_arch_type == MACH_TYPE_ROSALIND) #else # define machine_is_rosalind() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CC9P9215 # endif # define machine_is_cc9p9215() (machine_arch_type == MACH_TYPE_CC9P9215) #else # define machine_is_cc9p9215() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CC9P9210 # endif # define machine_is_cc9p9210() (machine_arch_type == MACH_TYPE_CC9P9210) #else # define machine_is_cc9p9210() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_NASFFE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NASFFE # endif # define machine_is_nasffe() (machine_arch_type == MACH_TYPE_NASFFE) #else # define machine_is_nasffe() (0) #endif #ifdef CONFIG_MACH_TN2X0BD # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TN2X0BD # endif # define machine_is_tn2x0bd() (machine_arch_type == MACH_TYPE_TN2X0BD) #else # define machine_is_tn2x0bd() (0) #endif #ifdef CONFIG_MACH_GWMPXA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GWMPXA # endif # define machine_is_gwmpxa() (machine_arch_type == MACH_TYPE_GWMPXA) #else # define machine_is_gwmpxa() (0) #endif #ifdef CONFIG_MACH_EXYPLUS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EXYPLUS # endif # define machine_is_exyplus() (machine_arch_type == MACH_TYPE_EXYPLUS) #else # define machine_is_exyplus() (0) #endif #ifdef CONFIG_MACH_JADOO21 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_JADOO21 # endif # define machine_is_jadoo21() (machine_arch_type == MACH_TYPE_JADOO21) #else # define machine_is_jadoo21() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LOOXN560 # endif # define machine_is_looxn560() (machine_arch_type == MACH_TYPE_LOOXN560) #else # define machine_is_looxn560() (0) #endif #ifdef CONFIG_MACH_BONSAI # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BONSAI # endif # define machine_is_bonsai() (machine_arch_type == MACH_TYPE_BONSAI) #else # define machine_is_bonsai() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_GBA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GBA # endif # define machine_is_gba() (machine_arch_type == MACH_TYPE_GBA) #else # define machine_is_gba() (0) #endif #ifdef CONFIG_MACH_H6044 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_H6044 # endif # define machine_is_h6044() (machine_arch_type == MACH_TYPE_H6044) #else # define machine_is_h6044() (0) #endif #ifdef CONFIG_MACH_APP # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_APP # endif # define machine_is_app() (machine_arch_type == MACH_TYPE_APP) #else # define machine_is_app() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_HERALD # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HERALD # endif # define machine_is_herald() (machine_arch_type == MACH_TYPE_HERALD) #else # define machine_is_herald() (0) #endif #ifdef CONFIG_MACH_ARTEMIS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ARTEMIS # endif # define machine_is_artemis() (machine_arch_type == MACH_TYPE_ARTEMIS) #else # define machine_is_artemis() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HTCTITAN # endif # define machine_is_htctitan() (machine_arch_type == MACH_TYPE_HTCTITAN) #else # define machine_is_htctitan() (0) #endif #ifdef CONFIG_MACH_QRANIUM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_QRANIUM # endif # define machine_is_qranium() (machine_arch_type == MACH_TYPE_QRANIUM) #else # define machine_is_qranium() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ADX_WSC2 # endif # define machine_is_adx_wsc2() (machine_arch_type == MACH_TYPE_ADX_WSC2) #else # define machine_is_adx_wsc2() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_BBOARD # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BBOARD # endif # define machine_is_bboard() (machine_arch_type == MACH_TYPE_BBOARD) #else # define machine_is_bboard() (0) #endif #ifdef CONFIG_MACH_CAMBRIA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CAMBRIA # endif # define machine_is_cambria() (machine_arch_type == MACH_TYPE_CAMBRIA) #else # define machine_is_cambria() (0) #endif #ifdef CONFIG_MACH_MT7XXX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MT7XXX # endif # define machine_is_mt7xxx() (machine_arch_type == MACH_TYPE_MT7XXX) #else # define machine_is_mt7xxx() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MATRIX512 # endif # define <API key>() (machine_arch_type == MACH_TYPE_MATRIX512) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MATRIX522 # endif # define <API key>() (machine_arch_type == MACH_TYPE_MATRIX522) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IPAC5010 # endif # define machine_is_ipac5010() (machine_arch_type == MACH_TYPE_IPAC5010) #else # define machine_is_ipac5010() (0) #endif #ifdef CONFIG_MACH_SAKURA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SAKURA # endif # define machine_is_sakura() (machine_arch_type == MACH_TYPE_SAKURA) #else # define machine_is_sakura() (0) #endif #ifdef CONFIG_MACH_GROCX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GROCX # endif # define machine_is_grocx() (machine_arch_type == MACH_TYPE_GROCX) #else # define machine_is_grocx() (0) #endif #ifdef CONFIG_MACH_PM9263 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PM9263 # endif # define machine_is_pm9263() (machine_arch_type == MACH_TYPE_PM9263) #else # define machine_is_pm9263() (0) #endif #ifdef CONFIG_MACH_SIM_ONE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SIM_ONE # endif # define machine_is_sim_one() (machine_arch_type == MACH_TYPE_SIM_ONE) #else # define machine_is_sim_one() (0) #endif #ifdef CONFIG_MACH_ACQ132 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ACQ132 # endif # define machine_is_acq132() (machine_arch_type == MACH_TYPE_ACQ132) #else # define machine_is_acq132() (0) #endif #ifdef CONFIG_MACH_DATR # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DATR # endif # define machine_is_datr() (machine_arch_type == MACH_TYPE_DATR) #else # define machine_is_datr() (0) #endif #ifdef CONFIG_MACH_ACTUX1 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ACTUX1 # endif # define machine_is_actux1() (machine_arch_type == MACH_TYPE_ACTUX1) #else # define machine_is_actux1() (0) #endif #ifdef CONFIG_MACH_ACTUX2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ACTUX2 # endif # define machine_is_actux2() (machine_arch_type == MACH_TYPE_ACTUX2) #else # define machine_is_actux2() (0) #endif #ifdef CONFIG_MACH_ACTUX3 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ACTUX3 # endif # define machine_is_actux3() (machine_arch_type == MACH_TYPE_ACTUX3) #else # define machine_is_actux3() (0) #endif #ifdef CONFIG_MACH_FLEXIT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FLEXIT # endif # define machine_is_flexit() (machine_arch_type == MACH_TYPE_FLEXIT) #else # define machine_is_flexit() (0) #endif #ifdef CONFIG_MACH_BH2X0BD # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BH2X0BD # endif # define machine_is_bh2x0bd() (machine_arch_type == MACH_TYPE_BH2X0BD) #else # define machine_is_bh2x0bd() (0) #endif #ifdef CONFIG_MACH_ATB2002 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ATB2002 # endif # define machine_is_atb2002() (machine_arch_type == MACH_TYPE_ATB2002) #else # define machine_is_atb2002() (0) #endif #ifdef CONFIG_MACH_XENON # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_XENON # endif # define machine_is_xenon() (machine_arch_type == MACH_TYPE_XENON) #else # define machine_is_xenon() (0) #endif #ifdef CONFIG_MACH_FM607 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FM607 # endif # define machine_is_fm607() (machine_arch_type == MACH_TYPE_FM607) #else # define machine_is_fm607() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MATRIX514 # endif # define <API key>() (machine_arch_type == MACH_TYPE_MATRIX514) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MATRIX524 # endif # define <API key>() (machine_arch_type == MACH_TYPE_MATRIX524) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_INPOD # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_INPOD # endif # define machine_is_inpod() (machine_arch_type == MACH_TYPE_INPOD) #else # define machine_is_inpod() (0) #endif #ifdef CONFIG_MACH_JIVE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_JIVE # endif # define machine_is_jive() (machine_arch_type == MACH_TYPE_JIVE) #else # define machine_is_jive() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TLL_MX21 # endif # define machine_is_tll_mx21() (machine_arch_type == MACH_TYPE_TLL_MX21) #else # define machine_is_tll_mx21() (0) #endif #ifdef CONFIG_MACH_SBC2800 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SBC2800 # endif # define machine_is_sbc2800() (machine_arch_type == MACH_TYPE_SBC2800) #else # define machine_is_sbc2800() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CC7UCAMRY # endif # define <API key>() (machine_arch_type == MACH_TYPE_CC7UCAMRY) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AML_M8000 # endif # define <API key>() (machine_arch_type == MACH_TYPE_AML_M8000) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OMAP_BBX # endif # define machine_is_omap_bbx() (machine_arch_type == MACH_TYPE_OMAP_BBX) #else # define machine_is_omap_bbx() (0) #endif #ifdef CONFIG_MACH_UCN2410 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_UCN2410 # endif # define machine_is_ucn2410() (machine_arch_type == MACH_TYPE_UCN2410) #else # define machine_is_ucn2410() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ETI_C2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ETI_C2 # endif # define machine_is_eti_c2() (machine_arch_type == MACH_TYPE_ETI_C2) #else # define machine_is_eti_c2() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AVALANCHE # endif # define <API key>() (machine_arch_type == MACH_TYPE_AVALANCHE) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_DP1500 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DP1500 # endif # define machine_is_dp1500() (machine_arch_type == MACH_TYPE_DP1500) #else # define machine_is_dp1500() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_YL9200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_YL9200 # endif # define machine_is_yl9200() (machine_arch_type == MACH_TYPE_YL9200) #else # define machine_is_yl9200() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RD88F5182 # endif # define <API key>() (machine_arch_type == MACH_TYPE_RD88F5182) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SE_POET # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SE_POET # endif # define machine_is_se_poet() (machine_arch_type == MACH_TYPE_SE_POET) #else # define machine_is_se_poet() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX31_3DS # endif # define machine_is_mx31_3ds() (machine_arch_type == MACH_TYPE_MX31_3DS) #else # define machine_is_mx31_3ds() (0) #endif #ifdef CONFIG_MACH_R270 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_R270 # endif # define machine_is_r270() (machine_arch_type == MACH_TYPE_R270) #else # define machine_is_r270() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ARMOUR21 # endif # define machine_is_armour21() (machine_arch_type == MACH_TYPE_ARMOUR21) #else # define machine_is_armour21() (0) #endif #ifdef CONFIG_MACH_DT2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DT2 # endif # define machine_is_dt2() (machine_arch_type == MACH_TYPE_DT2) #else # define machine_is_dt2() (0) #endif #ifdef CONFIG_MACH_VT4 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VT4 # endif # define machine_is_vt4() (machine_arch_type == MACH_TYPE_VT4) #else # define machine_is_vt4() (0) #endif #ifdef CONFIG_MACH_TYCO320 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TYCO320 # endif # define machine_is_tyco320() (machine_arch_type == MACH_TYPE_TYCO320) #else # define machine_is_tyco320() (0) #endif #ifdef CONFIG_MACH_ADMA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ADMA # endif # define machine_is_adma() (machine_arch_type == MACH_TYPE_ADMA) #else # define machine_is_adma() (0) #endif #ifdef CONFIG_MACH_WP188 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WP188 # endif # define machine_is_wp188() (machine_arch_type == MACH_TYPE_WP188) #else # define machine_is_wp188() (0) #endif #ifdef CONFIG_MACH_CORSICA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CORSICA # endif # define machine_is_corsica() (machine_arch_type == MACH_TYPE_CORSICA) #else # define machine_is_corsica() (0) #endif #ifdef CONFIG_MACH_BIGEYE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BIGEYE # endif # define machine_is_bigeye() (machine_arch_type == MACH_TYPE_BIGEYE) #else # define machine_is_bigeye() (0) #endif #ifdef CONFIG_MACH_TLL5000 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TLL5000 # endif # define machine_is_tll5000() (machine_arch_type == MACH_TYPE_TLL5000) #else # define machine_is_tll5000() (0) #endif #ifdef CONFIG_MACH_BEBOT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BEBOT # endif # define machine_is_bebot() (machine_arch_type == MACH_TYPE_BEBOT) #else # define machine_is_bebot() (0) #endif #ifdef CONFIG_MACH_QONG # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_QONG # endif # define machine_is_qong() (machine_arch_type == MACH_TYPE_QONG) #else # define machine_is_qong() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TCOMPACT # endif # define machine_is_tcompact() (machine_arch_type == MACH_TYPE_TCOMPACT) #else # define machine_is_tcompact() (0) #endif #ifdef CONFIG_MACH_PUMA5 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PUMA5 # endif # define machine_is_puma5() (machine_arch_type == MACH_TYPE_PUMA5) #else # define machine_is_puma5() (0) #endif #ifdef CONFIG_MACH_ELARA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ELARA # endif # define machine_is_elara() (machine_arch_type == MACH_TYPE_ELARA) #else # define machine_is_elara() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ELLINGTON # endif # define <API key>() (machine_arch_type == MACH_TYPE_ELLINGTON) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_XDA_ATOM # endif # define machine_is_xda_atom() (machine_arch_type == MACH_TYPE_XDA_ATOM) #else # define machine_is_xda_atom() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ODIN # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ODIN # endif # define machine_is_odin() (machine_arch_type == MACH_TYPE_ODIN) #else # define machine_is_odin() (0) #endif #ifdef CONFIG_MACH_ACTUX4 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ACTUX4 # endif # define machine_is_actux4() (machine_arch_type == MACH_TYPE_ACTUX4) #else # define machine_is_actux4() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ESL_OMAP # endif # define machine_is_esl_omap() (machine_arch_type == MACH_TYPE_ESL_OMAP) #else # define machine_is_esl_omap() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OMAP2EVM # endif # define machine_is_omap2evm() (machine_arch_type == MACH_TYPE_OMAP2EVM) #else # define machine_is_omap2evm() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OMAP3EVM # endif # define machine_is_omap3evm() (machine_arch_type == MACH_TYPE_OMAP3EVM) #else # define machine_is_omap3evm() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ADX_PCU57 # endif # define <API key>() (machine_arch_type == MACH_TYPE_ADX_PCU57) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_MONACO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MONACO # endif # define machine_is_monaco() (machine_arch_type == MACH_TYPE_MONACO) #else # define machine_is_monaco() (0) #endif #ifdef CONFIG_MACH_LEVANTE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LEVANTE # endif # define machine_is_levante() (machine_arch_type == MACH_TYPE_LEVANTE) #else # define machine_is_levante() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TMXIPX425 # endif # define <API key>() (machine_arch_type == MACH_TYPE_TMXIPX425) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_LEEP # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LEEP # endif # define machine_is_leep() (machine_arch_type == MACH_TYPE_LEEP) #else # define machine_is_leep() (0) #endif #ifdef CONFIG_MACH_RAAD # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RAAD # endif # define machine_is_raad() (machine_arch_type == MACH_TYPE_RAAD) #else # define machine_is_raad() (0) #endif #ifdef CONFIG_MACH_DNS323 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DNS323 # endif # define machine_is_dns323() (machine_arch_type == MACH_TYPE_DNS323) #else # define machine_is_dns323() (0) #endif #ifdef CONFIG_MACH_AP1000 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AP1000 # endif # define machine_is_ap1000() (machine_arch_type == MACH_TYPE_AP1000) #else # define machine_is_ap1000() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_A9SAM6432 # endif # define <API key>() (machine_arch_type == MACH_TYPE_A9SAM6432) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SHINY # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SHINY # endif # define machine_is_shiny() (machine_arch_type == MACH_TYPE_SHINY) #else # define machine_is_shiny() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CSR_BDB2 # endif # define machine_is_csr_bdb2() (machine_arch_type == MACH_TYPE_CSR_BDB2) #else # define machine_is_csr_bdb2() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_C270 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_C270 # endif # define machine_is_c270() (machine_arch_type == MACH_TYPE_C270) #else # define machine_is_c270() (0) #endif #ifdef CONFIG_MACH_SENTRY # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SENTRY # endif # define machine_is_sentry() (machine_arch_type == MACH_TYPE_SENTRY) #else # define machine_is_sentry() (0) #endif #ifdef CONFIG_MACH_PCM038 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PCM038 # endif # define machine_is_pcm038() (machine_arch_type == MACH_TYPE_PCM038) #else # define machine_is_pcm038() (0) #endif #ifdef CONFIG_MACH_ANC300 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ANC300 # endif # define machine_is_anc300() (machine_arch_type == MACH_TYPE_ANC300) #else # define machine_is_anc300() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HTCKAISER # endif # define <API key>() (machine_arch_type == MACH_TYPE_HTCKAISER) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SBAT100 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SBAT100 # endif # define machine_is_sbat100() (machine_arch_type == MACH_TYPE_SBAT100) #else # define machine_is_sbat100() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MODUNORM # endif # define machine_is_modunorm() (machine_arch_type == MACH_TYPE_MODUNORM) #else # define machine_is_modunorm() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_FLANK # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FLANK # endif # define machine_is_flank() (machine_arch_type == MACH_TYPE_FLANK) #else # define machine_is_flank() (0) #endif #ifdef CONFIG_MACH_SIRLOIN # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SIRLOIN # endif # define machine_is_sirloin() (machine_arch_type == MACH_TYPE_SIRLOIN) #else # define machine_is_sirloin() (0) #endif #ifdef CONFIG_MACH_BRISKET # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BRISKET # endif # define machine_is_brisket() (machine_arch_type == MACH_TYPE_BRISKET) #else # define machine_is_brisket() (0) #endif #ifdef CONFIG_MACH_CHUCK # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CHUCK # endif # define machine_is_chuck() (machine_arch_type == MACH_TYPE_CHUCK) #else # define machine_is_chuck() (0) #endif #ifdef CONFIG_MACH_OTTER # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OTTER # endif # define machine_is_otter() (machine_arch_type == MACH_TYPE_OTTER) #else # define machine_is_otter() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PHREEDOM # endif # define machine_is_phreedom() (machine_arch_type == MACH_TYPE_PHREEDOM) #else # define machine_is_phreedom() (0) #endif #ifdef CONFIG_MACH_SG310 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SG310 # endif # define machine_is_sg310() (machine_arch_type == MACH_TYPE_SG310) #else # define machine_is_sg310() (0) #endif #ifdef CONFIG_MACH_TS209 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TS209 # endif # define machine_is_ts_x09() (machine_arch_type == MACH_TYPE_TS209) #else # define machine_is_ts_x09() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TION9315 # endif # define machine_is_tion9315() (machine_arch_type == MACH_TYPE_TION9315) #else # define machine_is_tion9315() (0) #endif #ifdef CONFIG_MACH_MAST # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MAST # endif # define machine_is_mast() (machine_arch_type == MACH_TYPE_MAST) #else # define machine_is_mast() (0) #endif #ifdef CONFIG_MACH_PFW # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PFW # endif # define machine_is_pfw() (machine_arch_type == MACH_TYPE_PFW) #else # define machine_is_pfw() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_YL_P2440 # endif # define machine_is_yl_p2440() (machine_arch_type == MACH_TYPE_YL_P2440) #else # define machine_is_yl_p2440() (0) #endif #ifdef CONFIG_MACH_ZSBC32 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ZSBC32 # endif # define machine_is_zsbc32() (machine_arch_type == MACH_TYPE_ZSBC32) #else # define machine_is_zsbc32() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IMX_PACE2 # endif # define <API key>() (machine_arch_type == MACH_TYPE_IMX_PACE2) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX37_3DS # endif # define machine_is_mx37_3ds() (machine_arch_type == MACH_TYPE_MX37_3DS) #else # define machine_is_mx37_3ds() (0) #endif #ifdef CONFIG_MACH_RCC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RCC # endif # define machine_is_rcc() (machine_arch_type == MACH_TYPE_RCC) #else # define machine_is_rcc() (0) #endif #ifdef CONFIG_MACH_ARM9 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ARM9 # endif # define machine_is_dmp() (machine_arch_type == MACH_TYPE_ARM9) #else # define machine_is_dmp() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SCLY1000 # endif # define machine_is_scly1000() (machine_arch_type == MACH_TYPE_SCLY1000) #else # define machine_is_scly1000() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FONTEL_EP # endif # define <API key>() (machine_arch_type == MACH_TYPE_FONTEL_EP) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_TT9200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TT9200 # endif # define machine_is_tt9200() (machine_arch_type == MACH_TYPE_TT9200) #else # define machine_is_tt9200() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DIGI2410 # endif # define machine_is_digi2410() (machine_arch_type == MACH_TYPE_DIGI2410) #else # define machine_is_digi2410() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_UR2410 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_UR2410 # endif # define machine_is_ur2410() (machine_arch_type == MACH_TYPE_UR2410) #else # define machine_is_ur2410() (0) #endif #ifdef CONFIG_MACH_TAS9261 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TAS9261 # endif # define machine_is_tas9261() (machine_arch_type == MACH_TYPE_TAS9261) #else # define machine_is_tas9261() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HERMES_HD # endif # define <API key>() (machine_arch_type == MACH_TYPE_HERMES_HD) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PERSEO_HD # endif # define <API key>() (machine_arch_type == MACH_TYPE_PERSEO_HD) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_E350 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_E350 # endif # define machine_is_e350() (machine_arch_type == MACH_TYPE_E350) #else # define machine_is_e350() (0) #endif #ifdef CONFIG_MACH_WPCM450 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WPCM450 # endif # define machine_is_wpcm450() (machine_arch_type == MACH_TYPE_WPCM450) #else # define machine_is_wpcm450() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CARTESIO # endif # define machine_is_cartesio() (machine_arch_type == MACH_TYPE_CARTESIO) #else # define machine_is_cartesio() (0) #endif #ifdef CONFIG_MACH_TOYBOX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TOYBOX # endif # define machine_is_toybox() (machine_arch_type == MACH_TYPE_TOYBOX) #else # define machine_is_toybox() (0) #endif #ifdef CONFIG_MACH_TX27 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TX27 # endif # define machine_is_tx27() (machine_arch_type == MACH_TYPE_TX27) #else # define machine_is_tx27() (0) #endif #ifdef CONFIG_MACH_TS409 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TS409 # endif # define machine_is_ts409() (machine_arch_type == MACH_TYPE_TS409) #else # define machine_is_ts409() (0) #endif #ifdef CONFIG_MACH_P300 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_P300 # endif # define machine_is_p300() (machine_arch_type == MACH_TYPE_P300) #else # define machine_is_p300() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_XDACOMET # endif # define machine_is_xdacomet() (machine_arch_type == MACH_TYPE_XDACOMET) #else # define machine_is_xdacomet() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DEXFLEX2 # endif # define machine_is_dexflex2() (machine_arch_type == MACH_TYPE_DEXFLEX2) #else # define machine_is_dexflex2() (0) #endif #ifdef CONFIG_MACH_OW # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OW # endif # define machine_is_ow() (machine_arch_type == MACH_TYPE_OW) #else # define machine_is_ow() (0) #endif #ifdef CONFIG_MACH_ARMEBS3 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ARMEBS3 # endif # define machine_is_armebs3() (machine_arch_type == MACH_TYPE_ARMEBS3) #else # define machine_is_armebs3() (0) #endif #ifdef CONFIG_MACH_U3 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_U3 # endif # define machine_is_u3() (machine_arch_type == MACH_TYPE_U3) #else # define machine_is_u3() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SMDK2450 # endif # define machine_is_smdk2450() (machine_arch_type == MACH_TYPE_SMDK2450) #else # define machine_is_smdk2450() (0) #endif #ifdef CONFIG_MACH_RSI_EWS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RSI_EWS # endif # define machine_is_rsi_ews() (machine_arch_type == MACH_TYPE_RSI_EWS) #else # define machine_is_rsi_ews() (0) #endif #ifdef CONFIG_MACH_TNB # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TNB # endif # define machine_is_tnb() (machine_arch_type == MACH_TYPE_TNB) #else # define machine_is_tnb() (0) #endif #ifdef CONFIG_MACH_TOEPATH # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TOEPATH # endif # define machine_is_toepath() (machine_arch_type == MACH_TYPE_TOEPATH) #else # define machine_is_toepath() (0) #endif #ifdef CONFIG_MACH_KB9263 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KB9263 # endif # define machine_is_kb9263() (machine_arch_type == MACH_TYPE_KB9263) #else # define machine_is_kb9263() (0) #endif #ifdef CONFIG_MACH_MT7108 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MT7108 # endif # define machine_is_mt7108() (machine_arch_type == MACH_TYPE_MT7108) #else # define machine_is_mt7108() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SMTR2440 # endif # define machine_is_smtr2440() (machine_arch_type == MACH_TYPE_SMTR2440) #else # define machine_is_smtr2440() (0) #endif #ifdef CONFIG_MACH_MANAO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MANAO # endif # define machine_is_manao() (machine_arch_type == MACH_TYPE_MANAO) #else # define machine_is_manao() (0) #endif #ifdef CONFIG_MACH_CM_X300 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CM_X300 # endif # define machine_is_cm_x300() (machine_arch_type == MACH_TYPE_CM_X300) #else # define machine_is_cm_x300() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ARMA37 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ARMA37 # endif # define machine_is_arma37() (machine_arch_type == MACH_TYPE_ARMA37) #else # define machine_is_arma37() (0) #endif #ifdef CONFIG_MACH_MENDEL # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MENDEL # endif # define machine_is_mendel() (machine_arch_type == MACH_TYPE_MENDEL) #else # define machine_is_mendel() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_UNIT2P # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_UNIT2P # endif # define machine_is_unit2p() (machine_arch_type == MACH_TYPE_UNIT2P) #else # define machine_is_unit2p() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define machine_is_sc_ge2() (machine_arch_type == <API key>) #else # define machine_is_sc_ge2() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SMDK6410 # endif # define machine_is_smdk6410() (machine_arch_type == MACH_TYPE_SMDK6410) #else # define machine_is_smdk6410() (0) #endif #ifdef CONFIG_MACH_U300 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_U300 # endif # define machine_is_u300() (machine_arch_type == MACH_TYPE_U300) #else # define machine_is_u300() (0) #endif #ifdef CONFIG_MACH_U500 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_U500 # endif # define machine_is_u500() (machine_arch_type == MACH_TYPE_U500) #else # define machine_is_u500() (0) #endif #ifdef CONFIG_MACH_DS9260 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DS9260 # endif # define machine_is_ds9260() (machine_arch_type == MACH_TYPE_DS9260) #else # define machine_is_ds9260() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RIVERROCK # endif # define <API key>() (machine_arch_type == MACH_TYPE_RIVERROCK) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SCIBATH # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SCIBATH # endif # define machine_is_scibath() (machine_arch_type == MACH_TYPE_SCIBATH) #else # define machine_is_scibath() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_MARVIN # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MARVIN # endif # define machine_is_marvin() (machine_arch_type == MACH_TYPE_MARVIN) #else # define machine_is_marvin() (0) #endif #ifdef CONFIG_MACH_X500 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_X500 # endif # define machine_is_x500() (machine_arch_type == MACH_TYPE_X500) #else # define machine_is_x500() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AWLUG4LCU # endif # define <API key>() (machine_arch_type == MACH_TYPE_AWLUG4LCU) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PALERMOC # endif # define machine_is_palermoc() (machine_arch_type == MACH_TYPE_PALERMOC) #else # define machine_is_palermoc() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OMAP_LDP # endif # define machine_is_omap_ldp() (machine_arch_type == MACH_TYPE_OMAP_LDP) #else # define machine_is_omap_ldp() (0) #endif #ifdef CONFIG_MACH_IP500 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IP500 # endif # define machine_is_ip500() (machine_arch_type == MACH_TYPE_IP500) #else # define machine_is_ip500() (0) #endif #ifdef CONFIG_MACH_ASE2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ASE2 # endif # define machine_is_ase2() (machine_arch_type == MACH_TYPE_ASE2) #else # define machine_is_ase2() (0) #endif #ifdef CONFIG_MACH_MX35EVB # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX35EVB # endif # define machine_is_mx35evb() (machine_arch_type == MACH_TYPE_MX35EVB) #else # define machine_is_mx35evb() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AML_M8050 # endif # define <API key>() (machine_arch_type == MACH_TYPE_AML_M8050) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX35_3DS # endif # define machine_is_mx35_3ds() (machine_arch_type == MACH_TYPE_MX35_3DS) #else # define machine_is_mx35_3ds() (0) #endif #ifdef CONFIG_MACH_MARS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MARS # endif # define machine_is_mars() (machine_arch_type == MACH_TYPE_MARS) #else # define machine_is_mars() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_BADGER # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BADGER # endif # define machine_is_badger() (machine_arch_type == MACH_TYPE_BADGER) #else # define machine_is_badger() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TRIZEPS5 # endif # define machine_is_trizeps5() (machine_arch_type == MACH_TYPE_TRIZEPS5) #else # define machine_is_trizeps5() (0) #endif #ifdef CONFIG_MACH_MARLIN # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MARLIN # endif # define machine_is_marlin() (machine_arch_type == MACH_TYPE_MARLIN) #else # define machine_is_marlin() (0) #endif #ifdef CONFIG_MACH_TS78XX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TS78XX # endif # define machine_is_ts78xx() (machine_arch_type == MACH_TYPE_TS78XX) #else # define machine_is_ts78xx() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HPIPAQ214 # endif # define <API key>() (machine_arch_type == MACH_TYPE_HPIPAQ214) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NE1BOARD # endif # define machine_is_ne1board() (machine_arch_type == MACH_TYPE_NE1BOARD) #else # define machine_is_ne1board() (0) #endif #ifdef CONFIG_MACH_ZANTE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ZANTE # endif # define machine_is_zante() (machine_arch_type == MACH_TYPE_ZANTE) #else # define machine_is_zante() (0) #endif #ifdef CONFIG_MACH_SFFSDR # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SFFSDR # endif # define machine_is_sffsdr() (machine_arch_type == MACH_TYPE_SFFSDR) #else # define machine_is_sffsdr() (0) #endif #ifdef CONFIG_MACH_TW2662 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TW2662 # endif # define machine_is_tw2662() (machine_arch_type == MACH_TYPE_TW2662) #else # define machine_is_tw2662() (0) #endif #ifdef CONFIG_MACH_VF10XX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VF10XX # endif # define machine_is_vf10xx() (machine_arch_type == MACH_TYPE_VF10XX) #else # define machine_is_vf10xx() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ZORAN43XX # endif # define <API key>() (machine_arch_type == MACH_TYPE_ZORAN43XX) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SONIX926 # endif # define machine_is_sonix926() (machine_arch_type == MACH_TYPE_SONIX926) #else # define machine_is_sonix926() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_TW5334 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TW5334 # endif # define machine_is_tw5334() (machine_arch_type == MACH_TYPE_TW5334) #else # define machine_is_tw5334() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NAL_HLITE # endif # define <API key>() (machine_arch_type == MACH_TYPE_NAL_HLITE) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HTCVOGUE # endif # define machine_is_htcvogue() (machine_arch_type == MACH_TYPE_HTCVOGUE) #else # define machine_is_htcvogue() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SMARTWEB # endif # define machine_is_smartweb() (machine_arch_type == MACH_TYPE_SMARTWEB) #else # define machine_is_smartweb() (0) #endif #ifdef CONFIG_MACH_MV86XX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MV86XX # endif # define machine_is_mv86xx() (machine_arch_type == MACH_TYPE_MV86XX) #else # define machine_is_mv86xx() (0) #endif #ifdef CONFIG_MACH_MV87XX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MV87XX # endif # define machine_is_mv87xx() (machine_arch_type == MACH_TYPE_MV87XX) #else # define machine_is_mv87xx() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_PCM037 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PCM037 # endif # define machine_is_pcm037() (machine_arch_type == MACH_TYPE_PCM037) #else # define machine_is_pcm037() (0) #endif #ifdef CONFIG_MACH_MMVP # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MMVP # endif # define machine_is_mmvp() (machine_arch_type == MACH_TYPE_MMVP) #else # define machine_is_mmvp() (0) #endif #ifdef CONFIG_MACH_MMAP # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MMAP # endif # define machine_is_mmap() (machine_arch_type == MACH_TYPE_MMAP) #else # define machine_is_mmap() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PTID2410 # endif # define machine_is_ptid2410() (machine_arch_type == MACH_TYPE_PTID2410) #else # define machine_is_ptid2410() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_JAMES_926 # endif # define <API key>() (machine_arch_type == MACH_TYPE_JAMES_926) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_FM6000 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FM6000 # endif # define machine_is_fm6000() (machine_arch_type == MACH_TYPE_FM6000) #else # define machine_is_fm6000() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RD88F6281 # endif # define <API key>() (machine_arch_type == MACH_TYPE_RD88F6281) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SMDK2416 # endif # define machine_is_smdk2416() (machine_arch_type == MACH_TYPE_SMDK2416) #else # define machine_is_smdk2416() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ROVERN6 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ROVERN6 # endif # define machine_is_rovern6() (machine_arch_type == MACH_TYPE_ROVERN6) #else # define machine_is_rovern6() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_WBD111 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WBD111 # endif # define machine_is_wbd111() (machine_arch_type == MACH_TYPE_WBD111) #else # define machine_is_wbd111() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ELARACPE # endif # define machine_is_elaracpe() (machine_arch_type == MACH_TYPE_ELARACPE) #else # define machine_is_elaracpe() (0) #endif #ifdef CONFIG_MACH_MABV3 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MABV3 # endif # define machine_is_mabv3() (machine_arch_type == MACH_TYPE_MABV3) #else # define machine_is_mabv3() (0) #endif #ifdef CONFIG_MACH_MV2120 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MV2120 # endif # define machine_is_mv2120() (machine_arch_type == MACH_TYPE_MV2120) #else # define machine_is_mv2120() (0) #endif #ifdef CONFIG_MACH_CSB737 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CSB737 # endif # define machine_is_csb737() (machine_arch_type == MACH_TYPE_CSB737) #else # define machine_is_csb737() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX51_3DS # endif # define machine_is_mx51_3ds() (machine_arch_type == MACH_TYPE_MX51_3DS) #else # define machine_is_mx51_3ds() (0) #endif #ifdef CONFIG_MACH_G900 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_G900 # endif # define machine_is_g900() (machine_arch_type == MACH_TYPE_G900) #else # define machine_is_g900() (0) #endif #ifdef CONFIG_MACH_APF27 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_APF27 # endif # define machine_is_apf27() (machine_arch_type == MACH_TYPE_APF27) #else # define machine_is_apf27() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GGUS2000 # endif # define machine_is_ggus2000() (machine_arch_type == MACH_TYPE_GGUS2000) #else # define machine_is_ggus2000() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IMX27LITE # endif # define <API key>() (machine_arch_type == MACH_TYPE_IMX27LITE) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ALMEX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ALMEX # endif # define machine_is_almex() (machine_arch_type == MACH_TYPE_ALMEX) #else # define machine_is_almex() (0) #endif #ifdef CONFIG_MACH_CONTROL # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CONTROL # endif # define machine_is_control() (machine_arch_type == MACH_TYPE_CONTROL) #else # define machine_is_control() (0) #endif #ifdef CONFIG_MACH_MBA2410 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MBA2410 # endif # define machine_is_mba2410() (machine_arch_type == MACH_TYPE_MBA2410) #else # define machine_is_mba2410() (0) #endif #ifdef CONFIG_MACH_VOLCANO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VOLCANO # endif # define machine_is_volcano() (machine_arch_type == MACH_TYPE_VOLCANO) #else # define machine_is_volcano() (0) #endif #ifdef CONFIG_MACH_ZENITH # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ZENITH # endif # define machine_is_zenith() (machine_arch_type == MACH_TYPE_ZENITH) #else # define machine_is_zenith() (0) #endif #ifdef CONFIG_MACH_MUCHIP # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MUCHIP # endif # define machine_is_muchip() (machine_arch_type == MACH_TYPE_MUCHIP) #else # define machine_is_muchip() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MAGELLAN # endif # define machine_is_magellan() (machine_arch_type == MACH_TYPE_MAGELLAN) #else # define machine_is_magellan() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_USB_A9260 # endif # define <API key>() (machine_arch_type == MACH_TYPE_USB_A9260) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_USB_A9263 # endif # define <API key>() (machine_arch_type == MACH_TYPE_USB_A9263) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_QIL_A9260 # endif # define <API key>() (machine_arch_type == MACH_TYPE_QIL_A9260) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_CME9210 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CME9210 # endif # define machine_is_cme9210() (machine_arch_type == MACH_TYPE_CME9210) #else # define machine_is_cme9210() (0) #endif #ifdef CONFIG_MACH_HCZH4 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HCZH4 # endif # define machine_is_hczh4() (machine_arch_type == MACH_TYPE_HCZH4) #else # define machine_is_hczh4() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_DEP2440 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DEP2440 # endif # define machine_is_dep2440() (machine_arch_type == MACH_TYPE_DEP2440) #else # define machine_is_dep2440() (0) #endif #ifdef CONFIG_MACH_HDL_GXR # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HDL_GXR # endif # define machine_is_hdl_gxr() (machine_arch_type == MACH_TYPE_HDL_GXR) #else # define machine_is_hdl_gxr() (0) #endif #ifdef CONFIG_MACH_HDL_GT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HDL_GT # endif # define machine_is_hdl_gt() (machine_arch_type == MACH_TYPE_HDL_GT) #else # define machine_is_hdl_gt() (0) #endif #ifdef CONFIG_MACH_HDL_4G # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HDL_4G # endif # define machine_is_hdl_4g() (machine_arch_type == MACH_TYPE_HDL_4G) #else # define machine_is_hdl_4g() (0) #endif #ifdef CONFIG_MACH_S3C6000 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_S3C6000 # endif # define machine_is_s3c6000() (machine_arch_type == MACH_TYPE_S3C6000) #else # define machine_is_s3c6000() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MMSP2_MDK # endif # define <API key>() (machine_arch_type == MACH_TYPE_MMSP2_MDK) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_MPX220 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MPX220 # endif # define machine_is_mpx220() (machine_arch_type == MACH_TYPE_MPX220) #else # define machine_is_mpx220() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_LG_KS20 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LG_KS20 # endif # define machine_is_lg_ks20() (machine_arch_type == MACH_TYPE_LG_KS20) #else # define machine_is_lg_ks20() (0) #endif #ifdef CONFIG_MACH_HHGPS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HHGPS # endif # define machine_is_hhgps() (machine_arch_type == MACH_TYPE_HHGPS) #else # define machine_is_hhgps() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_INSIGHT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_INSIGHT # endif # define machine_is_insight() (machine_arch_type == MACH_TYPE_INSIGHT) #else # define machine_is_insight() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SAPPHIRE # endif # define machine_is_sapphire() (machine_arch_type == MACH_TYPE_SAPPHIRE) #else # define machine_is_sapphire() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CSB637XO # endif # define machine_is_csb637xo() (machine_arch_type == MACH_TYPE_CSB637XO) #else # define machine_is_csb637xo() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EVISIONG # endif # define machine_is_evisiong() (machine_arch_type == MACH_TYPE_EVISIONG) #else # define machine_is_evisiong() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_STMP37XX # endif # define machine_is_stmp37xx() (machine_arch_type == MACH_TYPE_STMP37XX) #else # define machine_is_stmp37xx() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_STMP378X # endif # define machine_is_stmp378x() (machine_arch_type == MACH_TYPE_STMP378X) #else # define machine_is_stmp378x() (0) #endif #ifdef CONFIG_MACH_TNT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TNT # endif # define machine_is_tnt() (machine_arch_type == MACH_TYPE_TNT) #else # define machine_is_tnt() (0) #endif #ifdef CONFIG_MACH_TBXT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TBXT # endif # define machine_is_tbxt() (machine_arch_type == MACH_TYPE_TBXT) #else # define machine_is_tbxt() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PLAYMATE # endif # define machine_is_playmate() (machine_arch_type == MACH_TYPE_PLAYMATE) #else # define machine_is_playmate() (0) #endif #ifdef CONFIG_MACH_PNS10 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PNS10 # endif # define machine_is_pns10() (machine_arch_type == MACH_TYPE_PNS10) #else # define machine_is_pns10() (0) #endif #ifdef CONFIG_MACH_EZNAVI # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EZNAVI # endif # define machine_is_eznavi() (machine_arch_type == MACH_TYPE_EZNAVI) #else # define machine_is_eznavi() (0) #endif #ifdef CONFIG_MACH_PS4000 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PS4000 # endif # define machine_is_ps4000() (machine_arch_type == MACH_TYPE_PS4000) #else # define machine_is_ps4000() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EZX_A780 # endif # define machine_is_ezx_a780() (machine_arch_type == MACH_TYPE_EZX_A780) #else # define machine_is_ezx_a780() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EZX_E680 # endif # define machine_is_ezx_e680() (machine_arch_type == MACH_TYPE_EZX_E680) #else # define machine_is_ezx_e680() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EZX_A1200 # endif # define <API key>() (machine_arch_type == MACH_TYPE_EZX_A1200) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_EZX_E6 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EZX_E6 # endif # define machine_is_ezx_e6() (machine_arch_type == MACH_TYPE_EZX_E6) #else # define machine_is_ezx_e6() (0) #endif #ifdef CONFIG_MACH_EZX_E2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EZX_E2 # endif # define machine_is_ezx_e2() (machine_arch_type == MACH_TYPE_EZX_E2) #else # define machine_is_ezx_e2() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EZX_A910 # endif # define machine_is_ezx_a910() (machine_arch_type == MACH_TYPE_EZX_A910) #else # define machine_is_ezx_a910() (0) #endif #ifdef CONFIG_MACH_CWMX31 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CWMX31 # endif # define machine_is_cwmx31() (machine_arch_type == MACH_TYPE_CWMX31) #else # define machine_is_cwmx31() (0) #endif #ifdef CONFIG_MACH_SL2312 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SL2312 # endif # define machine_is_sl2312() (machine_arch_type == MACH_TYPE_SL2312) #else # define machine_is_sl2312() (0) #endif #ifdef CONFIG_MACH_BLENNY # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BLENNY # endif # define machine_is_blenny() (machine_arch_type == MACH_TYPE_BLENNY) #else # define machine_is_blenny() (0) #endif #ifdef CONFIG_MACH_DS107 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DS107 # endif # define machine_is_ds107() (machine_arch_type == MACH_TYPE_DS107) #else # define machine_is_ds107() (0) #endif #ifdef CONFIG_MACH_DSX07 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DSX07 # endif # define machine_is_dsx07() (machine_arch_type == MACH_TYPE_DSX07) #else # define machine_is_dsx07() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PICOCOM1 # endif # define machine_is_picocom1() (machine_arch_type == MACH_TYPE_PICOCOM1) #else # define machine_is_picocom1() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_M700 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_M700 # endif # define machine_is_m700() (machine_arch_type == MACH_TYPE_M700) #else # define machine_is_m700() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EDMINI_V2 # endif # define <API key>() (machine_arch_type == MACH_TYPE_EDMINI_V2) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ZIPIT2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ZIPIT2 # endif # define machine_is_zipit2() (machine_arch_type == MACH_TYPE_ZIPIT2) #else # define machine_is_zipit2() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SG560USB # endif # define machine_is_sg560usb() (machine_arch_type == MACH_TYPE_SG560USB) #else # define machine_is_sg560usb() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_USR8200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_USR8200 # endif # define machine_is_usr8200() (machine_arch_type == MACH_TYPE_USR8200) #else # define machine_is_usr8200() (0) #endif #ifdef CONFIG_MACH_S1S65K # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_S1S65K # endif # define machine_is_s1s65k() (machine_arch_type == MACH_TYPE_S1S65K) #else # define machine_is_s1s65k() (0) #endif #ifdef CONFIG_MACH_S2S65A # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_S2S65A # endif # define machine_is_s2s65a() (machine_arch_type == MACH_TYPE_S2S65A) #else # define machine_is_s2s65a() (0) #endif #ifdef CONFIG_MACH_ICORE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ICORE # endif # define machine_is_icore() (machine_arch_type == MACH_TYPE_ICORE) #else # define machine_is_icore() (0) #endif #ifdef CONFIG_MACH_MSS2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MSS2 # endif # define machine_is_mss2() (machine_arch_type == MACH_TYPE_MSS2) #else # define machine_is_mss2() (0) #endif #ifdef CONFIG_MACH_BELMONT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BELMONT # endif # define machine_is_belmont() (machine_arch_type == MACH_TYPE_BELMONT) #else # define machine_is_belmont() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ASUSP525 # endif # define machine_is_asusp525() (machine_arch_type == MACH_TYPE_ASUSP525) #else # define machine_is_asusp525() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_HIPXA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HIPXA # endif # define machine_is_hipxa() (machine_arch_type == MACH_TYPE_HIPXA) #else # define machine_is_hipxa() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX25_3DS # endif # define machine_is_mx25_3ds() (machine_arch_type == MACH_TYPE_MX25_3DS) #else # define machine_is_mx25_3ds() (0) #endif #ifdef CONFIG_MACH_M800 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_M800 # endif # define machine_is_m800() (machine_arch_type == MACH_TYPE_M800) #else # define machine_is_m800() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PRIMA_EVB # endif # define <API key>() (machine_arch_type == MACH_TYPE_PRIMA_EVB) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_MX31BT1 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX31BT1 # endif # define machine_is_mx31bt1() (machine_arch_type == MACH_TYPE_MX31BT1) #else # define machine_is_mx31bt1() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_MI424WR # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MI424WR # endif # define machine_is_mi424wr() (machine_arch_type == MACH_TYPE_MI424WR) #else # define machine_is_mi424wr() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_EP9302 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EP9302 # endif # define machine_is_ep9302() (machine_arch_type == MACH_TYPE_EP9302) #else # define machine_is_ep9302() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_CYBOOK3 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CYBOOK3 # endif # define machine_is_cybook3() (machine_arch_type == MACH_TYPE_CYBOOK3) #else # define machine_is_cybook3() (0) #endif #ifdef CONFIG_MACH_WDG002 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WDG002 # endif # define machine_is_wdg002() (machine_arch_type == MACH_TYPE_WDG002) #else # define machine_is_wdg002() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SG560ADSL # endif # define <API key>() (machine_arch_type == MACH_TYPE_SG560ADSL) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_DOVE_DB # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DOVE_DB # endif # define machine_is_dove_db() (machine_arch_type == MACH_TYPE_DOVE_DB) #else # define machine_is_dove_db() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VANDIHUD # endif # define machine_is_vandihud() (machine_arch_type == MACH_TYPE_VANDIHUD) #else # define machine_is_vandihud() (0) #endif #ifdef CONFIG_MACH_MAGX_E8 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MAGX_E8 # endif # define machine_is_magx_e8() (machine_arch_type == MACH_TYPE_MAGX_E8) #else # define machine_is_magx_e8() (0) #endif #ifdef CONFIG_MACH_MAGX_Z6 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MAGX_Z6 # endif # define machine_is_magx_z6() (machine_arch_type == MACH_TYPE_MAGX_Z6) #else # define machine_is_magx_z6() (0) #endif #ifdef CONFIG_MACH_MAGX_V8 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MAGX_V8 # endif # define machine_is_magx_v8() (machine_arch_type == MACH_TYPE_MAGX_V8) #else # define machine_is_magx_v8() (0) #endif #ifdef CONFIG_MACH_MAGX_U9 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MAGX_U9 # endif # define machine_is_magx_u9() (machine_arch_type == MACH_TYPE_MAGX_U9) #else # define machine_is_magx_u9() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TOUGHCF08 # endif # define <API key>() (machine_arch_type == MACH_TYPE_TOUGHCF08) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ZW4400 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ZW4400 # endif # define machine_is_zw4400() (machine_arch_type == MACH_TYPE_ZW4400) #else # define machine_is_zw4400() (0) #endif #ifdef CONFIG_MACH_MARAT91 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MARAT91 # endif # define machine_is_marat91() (machine_arch_type == MACH_TYPE_MARAT91) #else # define machine_is_marat91() (0) #endif #ifdef CONFIG_MACH_OVERO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OVERO # endif # define machine_is_overo() (machine_arch_type == MACH_TYPE_OVERO) #else # define machine_is_overo() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AT2440EVB # endif # define <API key>() (machine_arch_type == MACH_TYPE_AT2440EVB) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_WNR854T # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WNR854T # endif # define machine_is_wnr854t() (machine_arch_type == MACH_TYPE_WNR854T) #else # define machine_is_wnr854t() (0) #endif #ifdef CONFIG_MACH_IMX27 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IMX27 # endif # define machine_is_imx27() (machine_arch_type == MACH_TYPE_IMX27) #else # define machine_is_imx27() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MOOSE_DB # endif # define machine_is_moose_db() (machine_arch_type == MACH_TYPE_MOOSE_DB) #else # define machine_is_moose_db() (0) #endif #ifdef CONFIG_MACH_FAB4 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FAB4 # endif # define machine_is_fab4() (machine_arch_type == MACH_TYPE_FAB4) #else # define machine_is_fab4() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_FIONA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FIONA # endif # define machine_is_fiona() (machine_arch_type == MACH_TYPE_FIONA) #else # define machine_is_fiona() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_BMP1000 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BMP1000 # endif # define machine_is_bmp1000() (machine_arch_type == MACH_TYPE_BMP1000) #else # define machine_is_bmp1000() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LOGI9200 # endif # define machine_is_logi9200() (machine_arch_type == MACH_TYPE_LOGI9200) #else # define machine_is_logi9200() (0) #endif #ifdef CONFIG_MACH_TQMA31 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TQMA31 # endif # define machine_is_tqma31() (machine_arch_type == MACH_TYPE_TQMA31) #else # define machine_is_tqma31() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SIFMAIN # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SIFMAIN # endif # define machine_is_sifmain() (machine_arch_type == MACH_TYPE_SIFMAIN) #else # define machine_is_sifmain() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CC9M2443 # endif # define machine_is_cc9m2443() (machine_arch_type == MACH_TYPE_CC9M2443) #else # define machine_is_cc9m2443() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_XARIA300 # endif # define machine_is_xaria300() (machine_arch_type == MACH_TYPE_XARIA300) #else # define machine_is_xaria300() (0) #endif #ifdef CONFIG_MACH_IT9200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IT9200 # endif # define machine_is_it9200() (machine_arch_type == MACH_TYPE_IT9200) #else # define machine_is_it9200() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PILZ_PMI5 # endif # define <API key>() (machine_arch_type == MACH_TYPE_PILZ_PMI5) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_JADE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_JADE # endif # define machine_is_jade() (machine_arch_type == MACH_TYPE_JADE) #else # define machine_is_jade() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_GPRISC3 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GPRISC3 # endif # define machine_is_gprisc3() (machine_arch_type == MACH_TYPE_GPRISC3) #else # define machine_is_gprisc3() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_STAMP9G20 # endif # define <API key>() (machine_arch_type == MACH_TYPE_STAMP9G20) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SMDK6430 # endif # define machine_is_smdk6430() (machine_arch_type == MACH_TYPE_SMDK6430) #else # define machine_is_smdk6430() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SMDKC100 # endif # define machine_is_smdkc100() (machine_arch_type == MACH_TYPE_SMDKC100) #else # define machine_is_smdkc100() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TAVOREVB # endif # define machine_is_tavorevb() (machine_arch_type == MACH_TYPE_TAVOREVB) #else # define machine_is_tavorevb() (0) #endif #ifdef CONFIG_MACH_SAAR # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SAAR # endif # define machine_is_saar() (machine_arch_type == MACH_TYPE_SAAR) #else # define machine_is_saar() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_HIT_B0 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HIT_B0 # endif # define machine_is_hit_b0() (machine_arch_type == MACH_TYPE_HIT_B0) #else # define machine_is_hit_b0() (0) #endif #ifdef CONFIG_MACH_ADX_RMU # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ADX_RMU # endif # define machine_is_adx_rmu() (machine_arch_type == MACH_TYPE_ADX_RMU) #else # define machine_is_adx_rmu() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EDB9407A # endif # define machine_is_edb9407a() (machine_arch_type == MACH_TYPE_EDB9407A) #else # define machine_is_edb9407a() (0) #endif #ifdef CONFIG_MACH_DTB9608 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DTB9608 # endif # define machine_is_dtb9608() (machine_arch_type == MACH_TYPE_DTB9608) #else # define machine_is_dtb9608() (0) #endif #ifdef CONFIG_MACH_EM104V1 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EM104V1 # endif # define machine_is_em104v1() (machine_arch_type == MACH_TYPE_EM104V1) #else # define machine_is_em104v1() (0) #endif #ifdef CONFIG_MACH_DEMO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DEMO # endif # define machine_is_demo() (machine_arch_type == MACH_TYPE_DEMO) #else # define machine_is_demo() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LOGI9260 # endif # define machine_is_logi9260() (machine_arch_type == MACH_TYPE_LOGI9260) #else # define machine_is_logi9260() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_USB_A9G20 # endif # define <API key>() (machine_arch_type == MACH_TYPE_USB_A9G20) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CS_E9315 # endif # define machine_is_cs_e9315() (machine_arch_type == MACH_TYPE_CS_E9315) #else # define machine_is_cs_e9315() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_QIL_A9G20 # endif # define <API key>() (machine_arch_type == MACH_TYPE_QIL_A9G20) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_NAD # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NAD # endif # define machine_is_nad() (machine_arch_type == MACH_TYPE_NAD) #else # define machine_is_nad() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_UWC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_UWC # endif # define machine_is_uwc() (machine_arch_type == MACH_TYPE_UWC) #else # define machine_is_uwc() (0) #endif #ifdef CONFIG_MACH_MXLADS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MXLADS # endif # define machine_is_mxlads() (machine_arch_type == MACH_TYPE_MXLADS) #else # define machine_is_mxlads() (0) #endif #ifdef CONFIG_MACH_HTCNIKE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HTCNIKE # endif # define machine_is_htcnike() (machine_arch_type == MACH_TYPE_HTCNIKE) #else # define machine_is_htcnike() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CME9210JS # endif # define <API key>() (machine_arch_type == MACH_TYPE_CME9210JS) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CC9P9360 # endif # define machine_is_cc9p9360() (machine_arch_type == MACH_TYPE_CC9P9360) #else # define machine_is_cc9p9360() (0) #endif #ifdef CONFIG_MACH_MOCHA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MOCHA # endif # define machine_is_mocha() (machine_arch_type == MACH_TYPE_MOCHA) #else # define machine_is_mocha() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WAPD170AG # endif # define <API key>() (machine_arch_type == MACH_TYPE_WAPD170AG) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AFEB9260 # endif # define machine_is_afeb9260() (machine_arch_type == MACH_TYPE_AFEB9260) #else # define machine_is_afeb9260() (0) #endif #ifdef CONFIG_MACH_W90X900 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_W90X900 # endif # define machine_is_w90x900() (machine_arch_type == MACH_TYPE_W90X900) #else # define machine_is_w90x900() (0) #endif #ifdef CONFIG_MACH_W90X700 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_W90X700 # endif # define machine_is_w90x700() (machine_arch_type == MACH_TYPE_W90X700) #else # define machine_is_w90x700() (0) #endif #ifdef CONFIG_MACH_KT300IP # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KT300IP # endif # define machine_is_kt300ip() (machine_arch_type == MACH_TYPE_KT300IP) #else # define machine_is_kt300ip() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SRCM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SRCM # endif # define machine_is_srcm() (machine_arch_type == MACH_TYPE_SRCM) #else # define machine_is_srcm() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WLNX_9260 # endif # define <API key>() (machine_arch_type == MACH_TYPE_WLNX_9260) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_OSPREY2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OSPREY2 # endif # define machine_is_osprey2() (machine_arch_type == MACH_TYPE_OSPREY2) #else # define machine_is_osprey2() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KBIO9260 # endif # define machine_is_kbio9260() (machine_arch_type == MACH_TYPE_KBIO9260) #else # define machine_is_kbio9260() (0) #endif #ifdef CONFIG_MACH_GINZA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GINZA # endif # define machine_is_ginza() (machine_arch_type == MACH_TYPE_GINZA) #else # define machine_is_ginza() (0) #endif #ifdef CONFIG_MACH_A636N # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_A636N # endif # define machine_is_a636n() (machine_arch_type == MACH_TYPE_A636N) #else # define machine_is_a636n() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_NEMOC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NEMOC # endif # define machine_is_nemoc() (machine_arch_type == MACH_TYPE_NEMOC) #else # define machine_is_nemoc() (0) #endif #ifdef CONFIG_MACH_GENEVA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GENEVA # endif # define machine_is_geneva() (machine_arch_type == MACH_TYPE_GENEVA) #else # define machine_is_geneva() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HTCPHAROS # endif # define <API key>() (machine_arch_type == MACH_TYPE_HTCPHAROS) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_NEONC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NEONC # endif # define machine_is_neonc() (machine_arch_type == MACH_TYPE_NEONC) #else # define machine_is_neonc() (0) #endif #ifdef CONFIG_MACH_NAS7100 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NAS7100 # endif # define machine_is_nas7100() (machine_arch_type == MACH_TYPE_NAS7100) #else # define machine_is_nas7100() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TEUPHONE # endif # define machine_is_teuphone() (machine_arch_type == MACH_TYPE_TEUPHONE) #else # define machine_is_teuphone() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_CSB733 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CSB733 # endif # define machine_is_csb733() (machine_arch_type == MACH_TYPE_CSB733) #else # define machine_is_csb733() (0) #endif #ifdef CONFIG_MACH_BK3 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BK3 # endif # define machine_is_bk3() (machine_arch_type == MACH_TYPE_BK3) #else # define machine_is_bk3() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OMAP_EM32 # endif # define <API key>() (machine_arch_type == MACH_TYPE_OMAP_EM32) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ET9261CP # endif # define machine_is_et9261cp() (machine_arch_type == MACH_TYPE_ET9261CP) #else # define machine_is_et9261cp() (0) #endif #ifdef CONFIG_MACH_JASPERC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_JASPERC # endif # define machine_is_jasperc() (machine_arch_type == MACH_TYPE_JASPERC) #else # define machine_is_jasperc() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ISSI_ARM9 # endif # define <API key>() (machine_arch_type == MACH_TYPE_ISSI_ARM9) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_UED # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_UED # endif # define machine_is_ued() (machine_arch_type == MACH_TYPE_UED) #else # define machine_is_ued() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ESIBLADE # endif # define machine_is_esiblade() (machine_arch_type == MACH_TYPE_ESIBLADE) #else # define machine_is_esiblade() (0) #endif #ifdef CONFIG_MACH_EYE02 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EYE02 # endif # define machine_is_eye02() (machine_arch_type == MACH_TYPE_EYE02) #else # define machine_is_eye02() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IMX27KBD # endif # define machine_is_imx27kbd() (machine_arch_type == MACH_TYPE_IMX27KBD) #else # define machine_is_imx27kbd() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KIXVP435 # endif # define machine_is_kixvp435() (machine_arch_type == MACH_TYPE_KIXVP435) #else # define machine_is_kixvp435() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KIXNP435 # endif # define machine_is_kixnp435() (machine_arch_type == MACH_TYPE_KIXNP435) #else # define machine_is_kixnp435() (0) #endif #ifdef CONFIG_MACH_AFRICA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AFRICA # endif # define machine_is_africa() (machine_arch_type == MACH_TYPE_AFRICA) #else # define machine_is_africa() (0) #endif #ifdef CONFIG_MACH_NH233 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NH233 # endif # define machine_is_nh233() (machine_arch_type == MACH_TYPE_NH233) #else # define machine_is_nh233() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_BCM4760 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BCM4760 # endif # define machine_is_bcm4760() (machine_arch_type == MACH_TYPE_BCM4760) #else # define machine_is_bcm4760() (0) #endif #ifdef CONFIG_MACH_EDDY_V2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EDDY_V2 # endif # define machine_is_eddy_v2() (machine_arch_type == MACH_TYPE_EDDY_V2) #else # define machine_is_eddy_v2() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_HID_A7 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HID_A7 # endif # define machine_is_hid_a7() (machine_arch_type == MACH_TYPE_HID_A7) #else # define machine_is_hid_a7() (0) #endif #ifdef CONFIG_MACH_HERO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HERO # endif # define machine_is_hero() (machine_arch_type == MACH_TYPE_HERO) #else # define machine_is_hero() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_MICRO9S # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MICRO9S # endif # define machine_is_micro9s() (machine_arch_type == MACH_TYPE_MICRO9S) #else # define machine_is_micro9s() (0) #endif #ifdef CONFIG_MACH_MAKO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MAKO # endif # define machine_is_mako() (machine_arch_type == MACH_TYPE_MAKO) #else # define machine_is_mako() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_XDAFLAME # endif # define machine_is_xdaflame() (machine_arch_type == MACH_TYPE_XDAFLAME) #else # define machine_is_xdaflame() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LIMESTONE # endif # define <API key>() (machine_arch_type == MACH_TYPE_LIMESTONE) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_RUT100 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RUT100 # endif # define machine_is_rut100() (machine_arch_type == MACH_TYPE_RUT100) #else # define machine_is_rut100() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ASUSP535 # endif # define machine_is_asusp535() (machine_arch_type == MACH_TYPE_ASUSP535) #else # define machine_is_asusp535() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SYGDG1 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SYGDG1 # endif # define machine_is_sygdg1() (machine_arch_type == MACH_TYPE_SYGDG1) #else # define machine_is_sygdg1() (0) #endif #ifdef CONFIG_MACH_SYGDG2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SYGDG2 # endif # define machine_is_sygdg2() (machine_arch_type == MACH_TYPE_SYGDG2) #else # define machine_is_sygdg2() (0) #endif #ifdef CONFIG_MACH_SEOUL # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SEOUL # endif # define machine_is_seoul() (machine_arch_type == MACH_TYPE_SEOUL) #else # define machine_is_seoul() (0) #endif #ifdef CONFIG_MACH_SALERNO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SALERNO # endif # define machine_is_salerno() (machine_arch_type == MACH_TYPE_SALERNO) #else # define machine_is_salerno() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MSM7201A # endif # define machine_is_msm7201a() (machine_arch_type == MACH_TYPE_MSM7201A) #else # define machine_is_msm7201a() (0) #endif #ifdef CONFIG_MACH_LPR1 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LPR1 # endif # define machine_is_lpr1() (machine_arch_type == MACH_TYPE_LPR1) #else # define machine_is_lpr1() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_G3EVM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_G3EVM # endif # define machine_is_g3evm() (machine_arch_type == MACH_TYPE_G3EVM) #else # define machine_is_g3evm() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_Z3_DM355 # endif # define machine_is_z3_dm355() (machine_arch_type == MACH_TYPE_Z3_DM355) #else # define machine_is_z3_dm355() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_CAMHD # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CAMHD # endif # define machine_is_camhd() (machine_arch_type == MACH_TYPE_CAMHD) #else # define machine_is_camhd() (0) #endif #ifdef CONFIG_MACH_MVC100 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MVC100 # endif # define machine_is_mvc100() (machine_arch_type == MACH_TYPE_MVC100) #else # define machine_is_mvc100() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_HTCJADE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HTCJADE # endif # define machine_is_htcjade() (machine_arch_type == MACH_TYPE_HTCJADE) #else # define machine_is_htcjade() (0) #endif #ifdef CONFIG_MACH_MEMPHIS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MEMPHIS # endif # define machine_is_memphis() (machine_arch_type == MACH_TYPE_MEMPHIS) #else # define machine_is_memphis() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IMX27SBC # endif # define machine_is_imx27sbc() (machine_arch_type == MACH_TYPE_IMX27SBC) #else # define machine_is_imx27sbc() (0) #endif #ifdef CONFIG_MACH_LEXTAR # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LEXTAR # endif # define machine_is_lextar() (machine_arch_type == MACH_TYPE_LEXTAR) #else # define machine_is_lextar() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_NCP # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NCP # endif # define machine_is_ncp() (machine_arch_type == MACH_TYPE_NCP) #else # define machine_is_ncp() (0) #endif #ifdef CONFIG_MACH_Z32AN # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_Z32AN # endif # define <API key>() (machine_arch_type == MACH_TYPE_Z32AN) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TMQ_CAPD # endif # define machine_is_tmq_capd() (machine_arch_type == MACH_TYPE_TMQ_CAPD) #else # define machine_is_tmq_capd() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OMAP3_WL # endif # define machine_is_omap3_wl() (machine_arch_type == MACH_TYPE_OMAP3_WL) #else # define machine_is_omap3_wl() (0) #endif #ifdef CONFIG_MACH_CHUMBY # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CHUMBY # endif # define machine_is_chumby() (machine_arch_type == MACH_TYPE_CHUMBY) #else # define machine_is_chumby() (0) #endif #ifdef CONFIG_MACH_ATSARM9 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ATSARM9 # endif # define machine_is_atsarm9() (machine_arch_type == MACH_TYPE_ATSARM9) #else # define machine_is_atsarm9() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_BAHAMAS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BAHAMAS # endif # define machine_is_bahamas() (machine_arch_type == MACH_TYPE_BAHAMAS) #else # define machine_is_bahamas() (0) #endif #ifdef CONFIG_MACH_DAS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DAS # endif # define machine_is_das() (machine_arch_type == MACH_TYPE_DAS) #else # define machine_is_das() (0) #endif #ifdef CONFIG_MACH_MINIDAS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MINIDAS # endif # define machine_is_minidas() (machine_arch_type == MACH_TYPE_MINIDAS) #else # define machine_is_minidas() (0) #endif #ifdef CONFIG_MACH_VK1000 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VK1000 # endif # define machine_is_vk1000() (machine_arch_type == MACH_TYPE_VK1000) #else # define machine_is_vk1000() (0) #endif #ifdef CONFIG_MACH_CENTRO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CENTRO # endif # define machine_is_centro() (machine_arch_type == MACH_TYPE_CENTRO) #else # define machine_is_centro() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ND27000 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ND27000 # endif # define machine_is_nd27000() (machine_arch_type == MACH_TYPE_ND27000) #else # define machine_is_nd27000() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define machine_is_cobra() (machine_arch_type == <API key>) #else # define machine_is_cobra() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_TOPAZ # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TOPAZ # endif # define machine_is_topaz() (machine_arch_type == MACH_TYPE_TOPAZ) #else # define machine_is_topaz() (0) #endif #ifdef CONFIG_MACH_AIXLE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AIXLE # endif # define machine_is_aixle() (machine_arch_type == MACH_TYPE_AIXLE) #else # define machine_is_aixle() (0) #endif #ifdef CONFIG_MACH_MW998 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MW998 # endif # define machine_is_mw998() (machine_arch_type == MACH_TYPE_MW998) #else # define machine_is_mw998() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VSC5605EV # endif # define <API key>() (machine_arch_type == MACH_TYPE_VSC5605EV) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NT98700DK # endif # define <API key>() (machine_arch_type == MACH_TYPE_NT98700DK) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ICONTACT # endif # define machine_is_icontact() (machine_arch_type == MACH_TYPE_ICONTACT) #else # define machine_is_icontact() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BBOX_P16 # endif # define machine_is_bbox_p16() (machine_arch_type == MACH_TYPE_BBOX_P16) #else # define machine_is_bbox_p16() (0) #endif #ifdef CONFIG_MACH_BSTD # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BSTD # endif # define machine_is_bstd() (machine_arch_type == MACH_TYPE_BSTD) #else # define machine_is_bstd() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SBC2440II # endif # define <API key>() (machine_arch_type == MACH_TYPE_SBC2440II) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_PCM034 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PCM034 # endif # define machine_is_pcm034() (machine_arch_type == MACH_TYPE_PCM034) #else # define machine_is_pcm034() (0) #endif #ifdef CONFIG_MACH_NESO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NESO # endif # define machine_is_neso() (machine_arch_type == MACH_TYPE_NESO) #else # define machine_is_neso() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WLNX_9G20 # endif # define <API key>() (machine_arch_type == MACH_TYPE_WLNX_9G20) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TOTEMNOVA # endif # define <API key>() (machine_arch_type == MACH_TYPE_TOTEMNOVA) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_C5000 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_C5000 # endif # define machine_is_c5000() (machine_arch_type == MACH_TYPE_C5000) #else # define machine_is_c5000() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ETHERNUT5 # endif # define <API key>() (machine_arch_type == MACH_TYPE_ETHERNUT5) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ARM11 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ARM11 # endif # define machine_is_arm11() (machine_arch_type == MACH_TYPE_ARM11) #else # define machine_is_arm11() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CPUAT9260 # endif # define <API key>() (machine_arch_type == MACH_TYPE_CPUAT9260) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CPUPXA255 # endif # define <API key>() (machine_arch_type == MACH_TYPE_CPUPXA255) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CPUIMX27 # endif # define <API key>() (machine_arch_type == MACH_TYPE_CPUIMX27) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_CHEFLUX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CHEFLUX # endif # define machine_is_cheflux() (machine_arch_type == MACH_TYPE_CHEFLUX) #else # define machine_is_cheflux() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_OPCOTEC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OPCOTEC # endif # define machine_is_opcotec() (machine_arch_type == MACH_TYPE_OPCOTEC) #else # define machine_is_opcotec() (0) #endif #ifdef CONFIG_MACH_YT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_YT # endif # define machine_is_yt() (machine_arch_type == MACH_TYPE_YT) #else # define machine_is_yt() (0) #endif #ifdef CONFIG_MACH_MOTOQ # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MOTOQ # endif # define machine_is_motoq() (machine_arch_type == MACH_TYPE_MOTOQ) #else # define machine_is_motoq() (0) #endif #ifdef CONFIG_MACH_BSB1 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BSB1 # endif # define machine_is_bsb1() (machine_arch_type == MACH_TYPE_BSB1) #else # define machine_is_bsb1() (0) #endif #ifdef CONFIG_MACH_ACS5K # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ACS5K # endif # define machine_is_acs5k() (machine_arch_type == MACH_TYPE_ACS5K) #else # define machine_is_acs5k() (0) #endif #ifdef CONFIG_MACH_MILAN # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MILAN # endif # define machine_is_milan() (machine_arch_type == MACH_TYPE_MILAN) #else # define machine_is_milan() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_QUARTZV2 # endif # define machine_is_quartzv2() (machine_arch_type == MACH_TYPE_QUARTZV2) #else # define machine_is_quartzv2() (0) #endif #ifdef CONFIG_MACH_RSVP # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RSVP # endif # define machine_is_rsvp() (machine_arch_type == MACH_TYPE_RSVP) #else # define machine_is_rsvp() (0) #endif #ifdef CONFIG_MACH_RMP200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RMP200 # endif # define machine_is_rmp200() (machine_arch_type == MACH_TYPE_RMP200) #else # define machine_is_rmp200() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_DSM320 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DSM320 # endif # define machine_is_dsm320() (machine_arch_type == MACH_TYPE_DSM320) #else # define machine_is_dsm320() (0) #endif #ifdef CONFIG_MACH_ADSGCM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ADSGCM # endif # define machine_is_adsgcm() (machine_arch_type == MACH_TYPE_ADSGCM) #else # define machine_is_adsgcm() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ASE2_400 # endif # define machine_is_ase2_400() (machine_arch_type == MACH_TYPE_ASE2_400) #else # define machine_is_ase2_400() (0) #endif #ifdef CONFIG_MACH_PIZZA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PIZZA # endif # define machine_is_pizza() (machine_arch_type == MACH_TYPE_PIZZA) #else # define machine_is_pizza() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SPOT_NGPL # endif # define <API key>() (machine_arch_type == MACH_TYPE_SPOT_NGPL) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ARMATA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ARMATA # endif # define machine_is_armata() (machine_arch_type == MACH_TYPE_ARMATA) #else # define machine_is_armata() (0) #endif #ifdef CONFIG_MACH_EXEDA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EXEDA # endif # define machine_is_exeda() (machine_arch_type == MACH_TYPE_EXEDA) #else # define machine_is_exeda() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX31SF005 # endif # define <API key>() (machine_arch_type == MACH_TYPE_MX31SF005) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_Q2440 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_Q2440 # endif # define machine_is_q2440() (machine_arch_type == MACH_TYPE_Q2440) #else # define machine_is_q2440() (0) #endif #ifdef CONFIG_MACH_QQ2440 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_QQ2440 # endif # define machine_is_qq2440() (machine_arch_type == MACH_TYPE_QQ2440) #else # define machine_is_qq2440() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MINI2440 # endif # define machine_is_mini2440() (machine_arch_type == MACH_TYPE_MINI2440) #else # define machine_is_mini2440() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_JADES # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_JADES # endif # define machine_is_jades() (machine_arch_type == MACH_TYPE_JADES) #else # define machine_is_jades() (0) #endif #ifdef CONFIG_MACH_SPARK # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SPARK # endif # define machine_is_spark() (machine_arch_type == MACH_TYPE_SPARK) #else # define machine_is_spark() (0) #endif #ifdef CONFIG_MACH_BENZINA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BENZINA # endif # define machine_is_benzina() (machine_arch_type == MACH_TYPE_BENZINA) #else # define machine_is_benzina() (0) #endif #ifdef CONFIG_MACH_BLAZE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BLAZE # endif # define machine_is_blaze() (machine_arch_type == MACH_TYPE_BLAZE) #else # define machine_is_blaze() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HTCVENUS # endif # define <API key>() (machine_arch_type == MACH_TYPE_HTCVENUS) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HANLIN_V3 # endif # define <API key>() (machine_arch_type == MACH_TYPE_HANLIN_V3) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SAPPHIRA # endif # define machine_is_sapphira() (machine_arch_type == MACH_TYPE_SAPPHIRA) #else # define machine_is_sapphira() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ARMBOX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ARMBOX # endif # define machine_is_armbox() (machine_arch_type == MACH_TYPE_ARMBOX) #else # define machine_is_armbox() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_RIBALDO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RIBALDO # endif # define machine_is_ribaldo() (machine_arch_type == MACH_TYPE_RIBALDO) #else # define machine_is_ribaldo() (0) #endif #ifdef CONFIG_MACH_AGORA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AGORA # endif # define machine_is_agora() (machine_arch_type == MACH_TYPE_AGORA) #else # define machine_is_agora() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_USG2410 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_USG2410 # endif # define machine_is_usg2410() (machine_arch_type == MACH_TYPE_USG2410) #else # define machine_is_usg2410() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TOPAS910 # endif # define machine_is_topas910() (machine_arch_type == MACH_TYPE_TOPAS910) #else # define machine_is_topas910() (0) #endif #ifdef CONFIG_MACH_HYENA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HYENA # endif # define machine_is_hyena() (machine_arch_type == MACH_TYPE_HYENA) #else # define machine_is_hyena() (0) #endif #ifdef CONFIG_MACH_POSPAX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_POSPAX # endif # define machine_is_pospax() (machine_arch_type == MACH_TYPE_POSPAX) #else # define machine_is_pospax() (0) #endif #ifdef CONFIG_MACH_HDL_GX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HDL_GX # endif # define machine_is_hdl_gx() (machine_arch_type == MACH_TYPE_HDL_GX) #else # define machine_is_hdl_gx() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_EGAUGE2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EGAUGE2 # endif # define machine_is_egauge2() (machine_arch_type == MACH_TYPE_EGAUGE2) #else # define machine_is_egauge2() (0) #endif #ifdef CONFIG_MACH_DIDJ # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DIDJ # endif # define machine_is_didj() (machine_arch_type == MACH_TYPE_DIDJ) #else # define machine_is_didj() (0) #endif #ifdef CONFIG_MACH_MEISTER # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MEISTER # endif # define <API key>() (machine_arch_type == MACH_TYPE_MEISTER) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CPUAT9G20 # endif # define <API key>() (machine_arch_type == MACH_TYPE_CPUAT9G20) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SMDK6440 # endif # define machine_is_smdk6440() (machine_arch_type == MACH_TYPE_SMDK6440) #else # define machine_is_smdk6440() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_PVG610 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PVG610 # endif # define <API key>() (machine_arch_type == MACH_TYPE_PVG610) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HPRW6815 # endif # define machine_is_hprw6815() (machine_arch_type == MACH_TYPE_HPRW6815) #else # define machine_is_hprw6815() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NAS4220B # endif # define machine_is_nas4220b() (machine_arch_type == MACH_TYPE_NAS4220B) #else # define machine_is_nas4220b() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SCALER # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SCALER # endif # define machine_is_scaler() (machine_arch_type == MACH_TYPE_SCALER) #else # define machine_is_scaler() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ZYLONITE2 # endif # define <API key>() (machine_arch_type == MACH_TYPE_ZYLONITE2) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ASPENITE # endif # define machine_is_aspenite() (machine_arch_type == MACH_TYPE_ASPENITE) #else # define machine_is_aspenite() (0) #endif #ifdef CONFIG_MACH_TETON # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TETON # endif # define machine_is_teton() (machine_arch_type == MACH_TYPE_TETON) #else # define machine_is_teton() (0) #endif #ifdef CONFIG_MACH_TTC_DKB # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TTC_DKB # endif # define machine_is_ttc_dkb() (machine_arch_type == MACH_TYPE_TTC_DKB) #else # define machine_is_ttc_dkb() (0) #endif #ifdef CONFIG_MACH_BISHOP2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BISHOP2 # endif # define machine_is_bishop2() (machine_arch_type == MACH_TYPE_BISHOP2) #else # define machine_is_bishop2() (0) #endif #ifdef CONFIG_MACH_IPPV5 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IPPV5 # endif # define machine_is_ippv5() (machine_arch_type == MACH_TYPE_IPPV5) #else # define machine_is_ippv5() (0) #endif #ifdef CONFIG_MACH_FARM926 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FARM926 # endif # define machine_is_farm926() (machine_arch_type == MACH_TYPE_FARM926) #else # define machine_is_farm926() (0) #endif #ifdef CONFIG_MACH_MMCCPU # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MMCCPU # endif # define machine_is_mmccpu() (machine_arch_type == MACH_TYPE_MMCCPU) #else # define machine_is_mmccpu() (0) #endif #ifdef CONFIG_MACH_SGMSFL # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SGMSFL # endif # define machine_is_sgmsfl() (machine_arch_type == MACH_TYPE_SGMSFL) #else # define machine_is_sgmsfl() (0) #endif #ifdef CONFIG_MACH_TT8000 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TT8000 # endif # define machine_is_tt8000() (machine_arch_type == MACH_TYPE_TT8000) #else # define machine_is_tt8000() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ZRN4300LP # endif # define <API key>() (machine_arch_type == MACH_TYPE_ZRN4300LP) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_MPTC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MPTC # endif # define machine_is_mptc() (machine_arch_type == MACH_TYPE_MPTC) #else # define machine_is_mptc() (0) #endif #ifdef CONFIG_MACH_H6051 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_H6051 # endif # define machine_is_h6051() (machine_arch_type == MACH_TYPE_H6051) #else # define machine_is_h6051() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TNY_A9260 # endif # define <API key>() (machine_arch_type == MACH_TYPE_TNY_A9260) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TNY_A9G20 # endif # define <API key>() (machine_arch_type == MACH_TYPE_TNY_A9G20) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_DX900 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DX900 # endif # define machine_is_dx900() (machine_arch_type == MACH_TYPE_DX900) #else # define machine_is_dx900() (0) #endif #ifdef CONFIG_MACH_CPODC2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CPODC2 # endif # define machine_is_cpodc2() (machine_arch_type == MACH_TYPE_CPODC2) #else # define machine_is_cpodc2() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TILT_8925 # endif # define <API key>() (machine_arch_type == MACH_TYPE_TILT_8925) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SWORDFISH # endif # define <API key>() (machine_arch_type == MACH_TYPE_SWORDFISH) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_CORVUS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CORVUS # endif # define machine_is_corvus() (machine_arch_type == MACH_TYPE_CORVUS) #else # define machine_is_corvus() (0) #endif #ifdef CONFIG_MACH_TAURUS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TAURUS # endif # define machine_is_taurus() (machine_arch_type == MACH_TYPE_TAURUS) #else # define machine_is_taurus() (0) #endif #ifdef CONFIG_MACH_AXM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AXM # endif # define machine_is_axm() (machine_arch_type == MACH_TYPE_AXM) #else # define machine_is_axm() (0) #endif #ifdef CONFIG_MACH_AXC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AXC # endif # define machine_is_axc() (machine_arch_type == MACH_TYPE_AXC) #else # define machine_is_axc() (0) #endif #ifdef CONFIG_MACH_BABY # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BABY # endif # define machine_is_baby() (machine_arch_type == MACH_TYPE_BABY) #else # define machine_is_baby() (0) #endif #ifdef CONFIG_MACH_MP200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MP200 # endif # define machine_is_mp200() (machine_arch_type == MACH_TYPE_MP200) #else # define machine_is_mp200() (0) #endif #ifdef CONFIG_MACH_PCM043 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PCM043 # endif # define machine_is_pcm043() (machine_arch_type == MACH_TYPE_PCM043) #else # define machine_is_pcm043() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_KBK9G20 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KBK9G20 # endif # define machine_is_kbk9g20() (machine_arch_type == MACH_TYPE_KBK9G20) #else # define machine_is_kbk9g20() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SUC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SUC # endif # define machine_is_suc82x() (machine_arch_type == MACH_TYPE_SUC) #else # define machine_is_suc82x() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_MENDOZA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MENDOZA # endif # define machine_is_mendoza() (machine_arch_type == MACH_TYPE_MENDOZA) #else # define machine_is_mendoza() (0) #endif #ifdef CONFIG_MACH_KIRA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KIRA # endif # define machine_is_kira() (machine_arch_type == MACH_TYPE_KIRA) #else # define machine_is_kira() (0) #endif #ifdef CONFIG_MACH_MX1HBM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX1HBM # endif # define machine_is_mx1hbm() (machine_arch_type == MACH_TYPE_MX1HBM) #else # define machine_is_mx1hbm() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_NSB400 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NSB400 # endif # define machine_is_nsb400() (machine_arch_type == MACH_TYPE_NSB400) #else # define machine_is_nsb400() (0) #endif #ifdef CONFIG_MACH_DRP255 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DRP255 # endif # define machine_is_drp255() (machine_arch_type == MACH_TYPE_DRP255) #else # define machine_is_drp255() (0) #endif #ifdef CONFIG_MACH_THOTH # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_THOTH # endif # define machine_is_thoth() (machine_arch_type == MACH_TYPE_THOTH) #else # define machine_is_thoth() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FIRESTONE # endif # define <API key>() (machine_arch_type == MACH_TYPE_FIRESTONE) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ASUSP750 # endif # define machine_is_asusp750() (machine_arch_type == MACH_TYPE_ASUSP750) #else # define machine_is_asusp750() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CTERA_DL # endif # define machine_is_ctera_dl() (machine_arch_type == MACH_TYPE_CTERA_DL) #else # define machine_is_ctera_dl() (0) #endif #ifdef CONFIG_MACH_SOCR # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SOCR # endif # define machine_is_socr() (machine_arch_type == MACH_TYPE_SOCR) #else # define machine_is_socr() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HTCOXYGEN # endif # define <API key>() (machine_arch_type == MACH_TYPE_HTCOXYGEN) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_HEROC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HEROC # endif # define machine_is_heroc() (machine_arch_type == MACH_TYPE_HEROC) #else # define machine_is_heroc() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ZENO6800 # endif # define machine_is_zeno6800() (machine_arch_type == MACH_TYPE_ZENO6800) #else # define machine_is_zeno6800() (0) #endif #ifdef CONFIG_MACH_SC2MCS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SC2MCS # endif # define machine_is_sc2mcs() (machine_arch_type == MACH_TYPE_SC2MCS) #else # define machine_is_sc2mcs() (0) #endif #ifdef CONFIG_MACH_GENE100 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GENE100 # endif # define machine_is_gene100() (machine_arch_type == MACH_TYPE_GENE100) #else # define machine_is_gene100() (0) #endif #ifdef CONFIG_MACH_AS353X # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AS353X # endif # define machine_is_as353x() (machine_arch_type == MACH_TYPE_AS353X) #else # define machine_is_as353x() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_CC9200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CC9200 # endif # define machine_is_cc9200() (machine_arch_type == MACH_TYPE_CC9200) #else # define machine_is_cc9200() (0) #endif #ifdef CONFIG_MACH_SM9200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SM9200 # endif # define machine_is_sm9200() (machine_arch_type == MACH_TYPE_SM9200) #else # define machine_is_sm9200() (0) #endif #ifdef CONFIG_MACH_TP9200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TP9200 # endif # define machine_is_tp9200() (machine_arch_type == MACH_TYPE_TP9200) #else # define machine_is_tp9200() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SNAPPERDV # endif # define <API key>() (machine_arch_type == MACH_TYPE_SNAPPERDV) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OMAP3AXON # endif # define <API key>() (machine_arch_type == MACH_TYPE_OMAP3AXON) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_MA8XX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MA8XX # endif # define machine_is_ma8xx() (machine_arch_type == MACH_TYPE_MA8XX) #else # define machine_is_ma8xx() (0) #endif #ifdef CONFIG_MACH_MP201EK # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MP201EK # endif # define machine_is_mp201ek() (machine_arch_type == MACH_TYPE_MP201EK) #else # define machine_is_mp201ek() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_MPA1600 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MPA1600 # endif # define machine_is_mpa1600() (machine_arch_type == MACH_TYPE_MPA1600) #else # define machine_is_mpa1600() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_NSB667 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NSB667 # endif # define machine_is_nsb667() (machine_arch_type == MACH_TYPE_NSB667) #else # define machine_is_nsb667() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_TWOCOM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TWOCOM # endif # define machine_is_twocom() (machine_arch_type == MACH_TYPE_TWOCOM) #else # define machine_is_twocom() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_AFEUSB # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AFEUSB # endif # define machine_is_afeusb() (machine_arch_type == MACH_TYPE_AFEUSB) #else # define machine_is_afeusb() (0) #endif #ifdef CONFIG_MACH_T830 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_T830 # endif # define machine_is_t830() (machine_arch_type == MACH_TYPE_T830) #else # define machine_is_t830() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_OM_3D7K # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OM_3D7K # endif # define machine_is_om_3d7k() (machine_arch_type == MACH_TYPE_OM_3D7K) #else # define machine_is_om_3d7k() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PICOCOM2 # endif # define machine_is_picocom2() (machine_arch_type == MACH_TYPE_PICOCOM2) #else # define machine_is_picocom2() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_UWG4MX27 # endif # define machine_is_uwg4mx27() (machine_arch_type == MACH_TYPE_UWG4MX27) #else # define machine_is_uwg4mx27() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_UWG4MX31 # endif # define machine_is_uwg4mx31() (machine_arch_type == MACH_TYPE_UWG4MX31) #else # define machine_is_uwg4mx31() (0) #endif #ifdef CONFIG_MACH_CHERRY # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CHERRY # endif # define machine_is_cherry() (machine_arch_type == MACH_TYPE_CHERRY) #else # define machine_is_cherry() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_TX37 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TX37 # endif # define machine_is_tx37() (machine_arch_type == MACH_TYPE_TX37) #else # define machine_is_tx37() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_BENZGLB # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BENZGLB # endif # define machine_is_benzglb() (machine_arch_type == MACH_TYPE_BENZGLB) #else # define machine_is_benzglb() (0) #endif #ifdef CONFIG_MACH_BENZTD # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BENZTD # endif # define machine_is_benztd() (machine_arch_type == MACH_TYPE_BENZTD) #else # define machine_is_benztd() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CCW9P9215 # endif # define <API key>() (machine_arch_type == MACH_TYPE_CCW9P9215) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_TS219 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TS219 # endif # define machine_is_ts219() (machine_arch_type == MACH_TYPE_TS219) #else # define machine_is_ts219() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TNY_A9263 # endif # define <API key>() (machine_arch_type == MACH_TYPE_TNY_A9263) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_APOLLO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_APOLLO # endif # define machine_is_apollo() (machine_arch_type == MACH_TYPE_APOLLO) #else # define machine_is_apollo() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SPC300 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SPC300 # endif # define machine_is_spc300() (machine_arch_type == MACH_TYPE_SPC300) #else # define machine_is_spc300() (0) #endif #ifdef CONFIG_MACH_EKO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EKO # endif # define machine_is_eko() (machine_arch_type == MACH_TYPE_EKO) #else # define machine_is_eko() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CCW9M2443 # endif # define <API key>() (machine_arch_type == MACH_TYPE_CCW9M2443) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_PCA100 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PCA100 # endif # define machine_is_pca100() (machine_arch_type == MACH_TYPE_PCA100) #else # define machine_is_pca100() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_HIPOX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HIPOX # endif # define machine_is_hipox() (machine_arch_type == MACH_TYPE_HIPOX) #else # define machine_is_hipox() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_BM150R # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BM150R # endif # define machine_is_bm150r() (machine_arch_type == MACH_TYPE_BM150R) #else # define machine_is_bm150r() (0) #endif #ifdef CONFIG_MACH_TBONE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TBONE # endif # define machine_is_tbone() (machine_arch_type == MACH_TYPE_TBONE) #else # define machine_is_tbone() (0) #endif #ifdef CONFIG_MACH_MERLIN # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MERLIN # endif # define machine_is_merlin() (machine_arch_type == MACH_TYPE_MERLIN) #else # define machine_is_merlin() (0) #endif #ifdef CONFIG_MACH_FALCON # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FALCON # endif # define machine_is_falcon() (machine_arch_type == MACH_TYPE_FALCON) #else # define machine_is_falcon() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_S5P6440 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_S5P6440 # endif # define machine_is_s5p6440() (machine_arch_type == MACH_TYPE_S5P6440) #else # define machine_is_s5p6440() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_LPC313X # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LPC313X # endif # define machine_is_lpc313x() (machine_arch_type == MACH_TYPE_LPC313X) #else # define machine_is_lpc313x() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MAGX_ZN5 # endif # define machine_is_magx_zn5() (machine_arch_type == MACH_TYPE_MAGX_ZN5) #else # define machine_is_magx_zn5() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MAGX_EM30 # endif # define <API key>() (machine_arch_type == MACH_TYPE_MAGX_EM30) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MAGX_VE66 # endif # define <API key>() (machine_arch_type == MACH_TYPE_MAGX_VE66) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_MEESC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MEESC # endif # define machine_is_meesc() (machine_arch_type == MACH_TYPE_MEESC) #else # define machine_is_meesc() (0) #endif #ifdef CONFIG_MACH_OTC570 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OTC570 # endif # define machine_is_otc570() (machine_arch_type == MACH_TYPE_OTC570) #else # define machine_is_otc570() (0) #endif #ifdef CONFIG_MACH_BCU2412 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BCU2412 # endif # define machine_is_bcu2412() (machine_arch_type == MACH_TYPE_BCU2412) #else # define machine_is_bcu2412() (0) #endif #ifdef CONFIG_MACH_BEACON # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BEACON # endif # define machine_is_beacon() (machine_arch_type == MACH_TYPE_BEACON) #else # define machine_is_beacon() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ACTIA_TGW # endif # define <API key>() (machine_arch_type == MACH_TYPE_ACTIA_TGW) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_E4430 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_E4430 # endif # define machine_is_e4430() (machine_arch_type == MACH_TYPE_E4430) #else # define machine_is_e4430() (0) #endif #ifdef CONFIG_MACH_QL300 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_QL300 # endif # define machine_is_ql300() (machine_arch_type == MACH_TYPE_QL300) #else # define machine_is_ql300() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BTMAVB101 # endif # define <API key>() (machine_arch_type == MACH_TYPE_BTMAVB101) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BTMAWB101 # endif # define <API key>() (machine_arch_type == MACH_TYPE_BTMAWB101) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SQ201 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SQ201 # endif # define machine_is_sq201() (machine_arch_type == MACH_TYPE_SQ201) #else # define machine_is_sq201() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_OPENPAD # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OPENPAD # endif # define machine_is_openpad() (machine_arch_type == MACH_TYPE_OPENPAD) #else # define machine_is_openpad() (0) #endif #ifdef CONFIG_MACH_TX25 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TX25 # endif # define machine_is_tx25() (machine_arch_type == MACH_TYPE_TX25) #else # define machine_is_tx25() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_LAL43 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LAL43 # endif # define machine_is_lal43() (machine_arch_type == MACH_TYPE_LAL43) #else # define machine_is_lal43() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ANW6410 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ANW6410 # endif # define machine_is_anw6410() (machine_arch_type == MACH_TYPE_ANW6410) #else # define machine_is_anw6410() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CFA_10022 # endif # define <API key>() (machine_arch_type == MACH_TYPE_CFA_10022) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PX2IMX27 # endif # define machine_is_px2imx27() (machine_arch_type == MACH_TYPE_PX2IMX27) #else # define machine_is_px2imx27() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_DVS10 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DVS10 # endif # define machine_is_dvs10() (machine_arch_type == MACH_TYPE_DVS10) #else # define machine_is_dvs10() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PORTUXG20 # endif # define <API key>() (machine_arch_type == MACH_TYPE_PORTUXG20) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ARM_SPV # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ARM_SPV # endif # define machine_is_arm_spv() (machine_arch_type == MACH_TYPE_ARM_SPV) #else # define machine_is_arm_spv() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SMDKC110 # endif # define machine_is_smdkc110() (machine_arch_type == MACH_TYPE_SMDKC110) #else # define machine_is_smdkc110() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_HMC800 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HMC800 # endif # define machine_is_hmc800() (machine_arch_type == MACH_TYPE_HMC800) #else # define machine_is_hmc800() (0) #endif #ifdef CONFIG_MACH_SHOLES # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SHOLES # endif # define machine_is_sholes() (machine_arch_type == MACH_TYPE_SHOLES) #else # define machine_is_sholes() (0) #endif #ifdef CONFIG_MACH_BTMXC31 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BTMXC31 # endif # define machine_is_btmxc31() (machine_arch_type == MACH_TYPE_BTMXC31) #else # define machine_is_btmxc31() (0) #endif #ifdef CONFIG_MACH_DT501 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DT501 # endif # define machine_is_dt501() (machine_arch_type == MACH_TYPE_DT501) #else # define machine_is_dt501() (0) #endif #ifdef CONFIG_MACH_KTX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KTX # endif # define machine_is_ktx() (machine_arch_type == MACH_TYPE_KTX) #else # define machine_is_ktx() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_D2NET_V2 # endif # define machine_is_d2net_v2() (machine_arch_type == MACH_TYPE_D2NET_V2) #else # define machine_is_d2net_v2() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ENDB2443 # endif # define machine_is_endb2443() (machine_arch_type == MACH_TYPE_ENDB2443) #else # define machine_is_endb2443() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_TROS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TROS # endif # define machine_is_tros() (machine_arch_type == MACH_TYPE_TROS) #else # define machine_is_tros() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_OFSP8 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OFSP8 # endif # define machine_is_ofsp8() (machine_arch_type == MACH_TYPE_OFSP8) #else # define machine_is_ofsp8() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GUF_CUPID # endif # define <API key>() (machine_arch_type == MACH_TYPE_GUF_CUPID) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_EAB1R # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EAB1R # endif # define machine_is_eab1r() (machine_arch_type == MACH_TYPE_EAB1R) #else # define machine_is_eab1r() (0) #endif #ifdef CONFIG_MACH_DESIREC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DESIREC # endif # define machine_is_desirec() (machine_arch_type == MACH_TYPE_DESIREC) #else # define machine_is_desirec() (0) #endif #ifdef CONFIG_MACH_CORDOBA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CORDOBA # endif # define machine_is_cordoba() (machine_arch_type == MACH_TYPE_CORDOBA) #else # define machine_is_cordoba() (0) #endif #ifdef CONFIG_MACH_IRVINE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IRVINE # endif # define machine_is_irvine() (machine_arch_type == MACH_TYPE_IRVINE) #else # define machine_is_irvine() (0) #endif #ifdef CONFIG_MACH_SFF772 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SFF772 # endif # define machine_is_sff772() (machine_arch_type == MACH_TYPE_SFF772) #else # define machine_is_sff772() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_PC7302 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PC7302 # endif # define machine_is_pc7302() (machine_arch_type == MACH_TYPE_PC7302) #else # define machine_is_pc7302() (0) #endif #ifdef CONFIG_MACH_BIP6000 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BIP6000 # endif # define machine_is_bip6000() (machine_arch_type == MACH_TYPE_BIP6000) #else # define machine_is_bip6000() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_VC0830 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VC0830 # endif # define machine_is_vc0830() (machine_arch_type == MACH_TYPE_VC0830) #else # define machine_is_vc0830() (0) #endif #ifdef CONFIG_MACH_DT430 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DT430 # endif # define machine_is_dt430() (machine_arch_type == MACH_TYPE_DT430) #else # define machine_is_dt430() (0) #endif #ifdef CONFIG_MACH_JI42PF # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_JI42PF # endif # define machine_is_ji42pf() (machine_arch_type == MACH_TYPE_JI42PF) #else # define machine_is_ji42pf() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GNET_KSM # endif # define machine_is_gnet_ksm() (machine_arch_type == MACH_TYPE_GNET_KSM) #else # define machine_is_gnet_ksm() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GNET_SGM # endif # define machine_is_gnet_sgm() (machine_arch_type == MACH_TYPE_GNET_SGM) #else # define machine_is_gnet_sgm() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GNET_SGR # endif # define machine_is_gnet_sgr() (machine_arch_type == MACH_TYPE_GNET_SGR) #else # define machine_is_gnet_sgr() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_PNP # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PNP # endif # define machine_is_pnp() (machine_arch_type == MACH_TYPE_PNP) #else # define machine_is_pnp() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SAS_C # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SAS_C # endif # define machine_is_sas_c() (machine_arch_type == MACH_TYPE_SAS_C) #else # define machine_is_sas_c() (0) #endif #ifdef CONFIG_MACH_VMA2315 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VMA2315 # endif # define machine_is_vma2315() (machine_arch_type == MACH_TYPE_VMA2315) #else # define machine_is_vma2315() (0) #endif #ifdef CONFIG_MACH_VCS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VCS # endif # define machine_is_vcs() (machine_arch_type == MACH_TYPE_VCS) #else # define machine_is_vcs() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SPEAR600 # endif # define machine_is_spear600() (machine_arch_type == MACH_TYPE_SPEAR600) #else # define machine_is_spear600() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SPEAR300 # endif # define machine_is_spear300() (machine_arch_type == MACH_TYPE_SPEAR300) #else # define machine_is_spear300() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SPEAR1300 # endif # define <API key>() (machine_arch_type == MACH_TYPE_SPEAR1300) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LILLY1131 # endif # define <API key>() (machine_arch_type == MACH_TYPE_LILLY1131) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MAPPHONE # endif # define machine_is_mapphone() (machine_arch_type == MACH_TYPE_MAPPHONE) #else # define machine_is_mapphone() (0) #endif #ifdef CONFIG_MACH_LEGEND # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LEGEND # endif # define machine_is_legend() (machine_arch_type == MACH_TYPE_LEGEND) #else # define machine_is_legend() (0) #endif #ifdef CONFIG_MACH_SALSA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SALSA # endif # define machine_is_salsa() (machine_arch_type == MACH_TYPE_SALSA) #else # define machine_is_salsa() (0) #endif #ifdef CONFIG_MACH_LOUNGE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LOUNGE # endif # define machine_is_lounge() (machine_arch_type == MACH_TYPE_LOUNGE) #else # define machine_is_lounge() (0) #endif #ifdef CONFIG_MACH_VISION # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VISION # endif # define machine_is_vision() (machine_arch_type == MACH_TYPE_VISION) #else # define machine_is_vision() (0) #endif #ifdef CONFIG_MACH_VMB20 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VMB20 # endif # define machine_is_vmb20() (machine_arch_type == MACH_TYPE_VMB20) #else # define machine_is_vmb20() (0) #endif #ifdef CONFIG_MACH_HY2410 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HY2410 # endif # define machine_is_hy2410() (machine_arch_type == MACH_TYPE_HY2410) #else # define machine_is_hy2410() (0) #endif #ifdef CONFIG_MACH_HY9315 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HY9315 # endif # define machine_is_hy9315() (machine_arch_type == MACH_TYPE_HY9315) #else # define machine_is_hy9315() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_VS_V210 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VS_V210 # endif # define machine_is_vs_v210() (machine_arch_type == MACH_TYPE_VS_V210) #else # define machine_is_vs_v210() (0) #endif #ifdef CONFIG_MACH_VS_V212 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VS_V212 # endif # define machine_is_vs_v212() (machine_arch_type == MACH_TYPE_VS_V212) #else # define machine_is_vs_v212() (0) #endif #ifdef CONFIG_MACH_HMT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HMT # endif # define machine_is_hmt() (machine_arch_type == MACH_TYPE_HMT) #else # define machine_is_hmt() (0) #endif #ifdef CONFIG_MACH_SUEN3 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SUEN3 # endif # define machine_is_suen3() (machine_arch_type == MACH_TYPE_SUEN3) #else # define machine_is_suen3() (0) #endif #ifdef CONFIG_MACH_VESPER # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VESPER # endif # define machine_is_vesper() (machine_arch_type == MACH_TYPE_VESPER) #else # define machine_is_vesper() (0) #endif #ifdef CONFIG_MACH_STR9 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_STR9 # endif # define machine_is_str9() (machine_arch_type == MACH_TYPE_STR9) #else # define machine_is_str9() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SIMCOM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SIMCOM # endif # define machine_is_simcom() (machine_arch_type == MACH_TYPE_SIMCOM) #else # define machine_is_simcom() (0) #endif #ifdef CONFIG_MACH_MCWEBIO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MCWEBIO # endif # define machine_is_mcwebio() (machine_arch_type == MACH_TYPE_MCWEBIO) #else # define machine_is_mcwebio() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_DARWIN # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DARWIN # endif # define machine_is_darwin() (machine_arch_type == MACH_TYPE_DARWIN) #else # define machine_is_darwin() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_RTSBC20 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RTSBC20 # endif # define machine_is_rtsbc20() (machine_arch_type == MACH_TYPE_RTSBC20) #else # define machine_is_rtsbc20() (0) #endif #ifdef CONFIG_MACH_I780 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_I780 # endif # define machine_is_sgh_i780() (machine_arch_type == MACH_TYPE_I780) #else # define machine_is_sgh_i780() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GEMINI324 # endif # define <API key>() (machine_arch_type == MACH_TYPE_GEMINI324) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ORATISLAN # endif # define <API key>() (machine_arch_type == MACH_TYPE_ORATISLAN) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VEXPRESS # endif # define machine_is_vexpress() (machine_arch_type == MACH_TYPE_VEXPRESS) #else # define machine_is_vexpress() (0) #endif #ifdef CONFIG_MACH_SINTEXO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SINTEXO # endif # define machine_is_sintexo() (machine_arch_type == MACH_TYPE_SINTEXO) #else # define machine_is_sintexo() (0) #endif #ifdef CONFIG_MACH_CM3389 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CM3389 # endif # define machine_is_cm3389() (machine_arch_type == MACH_TYPE_CM3389) #else # define machine_is_cm3389() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OMAP3_CIO # endif # define <API key>() (machine_arch_type == MACH_TYPE_OMAP3_CIO) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SGH_I900 # endif # define machine_is_sgh_i900() (machine_arch_type == MACH_TYPE_SGH_I900) #else # define machine_is_sgh_i900() (0) #endif #ifdef CONFIG_MACH_BST100 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BST100 # endif # define machine_is_bst100() (machine_arch_type == MACH_TYPE_BST100) #else # define machine_is_bst100() (0) #endif #ifdef CONFIG_MACH_PASSION # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PASSION # endif # define machine_is_passion() (machine_arch_type == MACH_TYPE_PASSION) #else # define machine_is_passion() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_C4_BADGER # endif # define <API key>() (machine_arch_type == MACH_TYPE_C4_BADGER) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_C4_VIPER # endif # define machine_is_c4_viper() (machine_arch_type == MACH_TYPE_C4_VIPER) #else # define machine_is_c4_viper() (0) #endif #ifdef CONFIG_MACH_D2NET # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_D2NET # endif # define machine_is_d2net() (machine_arch_type == MACH_TYPE_D2NET) #else # define machine_is_d2net() (0) #endif #ifdef CONFIG_MACH_BIGDISK # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BIGDISK # endif # define machine_is_bigdisk() (machine_arch_type == MACH_TYPE_BIGDISK) #else # define machine_is_bigdisk() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_CYCLONE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CYCLONE # endif # define machine_is_cyclone() (machine_arch_type == MACH_TYPE_CYCLONE) #else # define machine_is_cyclone() (0) #endif #ifdef CONFIG_MACH_NINJA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NINJA # endif # define machine_is_ninja() (machine_arch_type == MACH_TYPE_NINJA) #else # define machine_is_ninja() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_BCMRING # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BCMRING # endif # define machine_is_bcmring() (machine_arch_type == MACH_TYPE_BCMRING) #else # define machine_is_bcmring() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RESOL_DL2 # endif # define <API key>() (machine_arch_type == MACH_TYPE_RESOL_DL2) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_IFOSW # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IFOSW # endif # define machine_is_ifosw() (machine_arch_type == MACH_TYPE_IFOSW) #else # define machine_is_ifosw() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HTCTOPAZ # endif # define machine_is_htctopaz() (machine_arch_type == MACH_TYPE_HTCTOPAZ) #else # define machine_is_htctopaz() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MATRIX504 # endif # define <API key>() (machine_arch_type == MACH_TYPE_MATRIX504) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_MRFSA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MRFSA # endif # define machine_is_mrfsa() (machine_arch_type == MACH_TYPE_MRFSA) #else # define machine_is_mrfsa() (0) #endif #ifdef CONFIG_MACH_SC_P270 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SC_P270 # endif # define machine_is_sc_p270() (machine_arch_type == MACH_TYPE_SC_P270) #else # define machine_is_sc_p270() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LEONARDO # endif # define machine_is_leonardo() (machine_arch_type == MACH_TYPE_LEONARDO) #else # define machine_is_leonardo() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_DP6XX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DP6XX # endif # define machine_is_dp6xx() (machine_arch_type == MACH_TYPE_DP6XX) #else # define machine_is_dp6xx() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MAHIMAHI # endif # define machine_is_mahimahi() (machine_arch_type == MACH_TYPE_MAHIMAHI) #else # define machine_is_mahimahi() (0) #endif #ifdef CONFIG_MACH_CLICKC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CLICKC # endif # define machine_is_clickc() (machine_arch_type == MACH_TYPE_CLICKC) #else # define machine_is_clickc() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_TAZCARD # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TAZCARD # endif # define machine_is_tazcard() (machine_arch_type == MACH_TYPE_TAZCARD) #else # define machine_is_tazcard() (0) #endif #ifdef CONFIG_MACH_TAZDEV # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TAZDEV # endif # define machine_is_tazdev() (machine_arch_type == MACH_TYPE_TAZDEV) #else # define machine_is_tazdev() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ANNAX_DM3 # endif # define <API key>() (machine_arch_type == MACH_TYPE_ANNAX_DM3) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CEREBRIC # endif # define machine_is_cerebric() (machine_arch_type == MACH_TYPE_CEREBRIC) #else # define machine_is_cerebric() (0) #endif #ifdef CONFIG_MACH_ORCA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ORCA # endif # define machine_is_orca() (machine_arch_type == MACH_TYPE_ORCA) #else # define machine_is_orca() (0) #endif #ifdef CONFIG_MACH_PC9260 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PC9260 # endif # define machine_is_pc9260() (machine_arch_type == MACH_TYPE_PC9260) #else # define machine_is_pc9260() (0) #endif #ifdef CONFIG_MACH_EMS285A # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EMS285A # endif # define machine_is_ems285a() (machine_arch_type == MACH_TYPE_EMS285A) #else # define machine_is_ems285a() (0) #endif #ifdef CONFIG_MACH_GEC2410 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GEC2410 # endif # define machine_is_gec2410() (machine_arch_type == MACH_TYPE_GEC2410) #else # define machine_is_gec2410() (0) #endif #ifdef CONFIG_MACH_GEC2440 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GEC2440 # endif # define machine_is_gec2440() (machine_arch_type == MACH_TYPE_GEC2440) #else # define machine_is_gec2440() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define machine_is_mw903() (machine_arch_type == <API key>) #else # define machine_is_mw903() (0) #endif #ifdef CONFIG_MACH_MW2440 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MW2440 # endif # define machine_is_mw2440() (machine_arch_type == MACH_TYPE_MW2440) #else # define machine_is_mw2440() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ECAC2378 # endif # define machine_is_ecac2378() (machine_arch_type == MACH_TYPE_ECAC2378) #else # define machine_is_ecac2378() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TAZKIOSK # endif # define machine_is_tazkiosk() (machine_arch_type == MACH_TYPE_TAZKIOSK) #else # define machine_is_tazkiosk() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SBOX9263 # endif # define machine_is_sbox9263() (machine_arch_type == MACH_TYPE_SBOX9263) #else # define machine_is_sbox9263() (0) #endif #ifdef CONFIG_MACH_OREO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OREO # endif # define <API key>() (machine_arch_type == MACH_TYPE_OREO) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SMDK6442 # endif # define machine_is_smdk6442() (machine_arch_type == MACH_TYPE_SMDK6442) #else # define machine_is_smdk6442() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_HEROCT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HEROCT # endif # define machine_is_heroct() (machine_arch_type == MACH_TYPE_HEROCT) #else # define machine_is_heroct() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MMNET1000 # endif # define <API key>() (machine_arch_type == MACH_TYPE_MMNET1000) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX31TXTR # endif # define machine_is_mx31txtr() (machine_arch_type == MACH_TYPE_MX31TXTR) #else # define machine_is_mx31txtr() (0) #endif #ifdef CONFIG_MACH_U380 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_U380 # endif # define machine_is_u380() (machine_arch_type == MACH_TYPE_U380) #else # define machine_is_u380() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_NPCMX50 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NPCMX50 # endif # define machine_is_npcmx50() (machine_arch_type == MACH_TYPE_NPCMX50) #else # define machine_is_npcmx50() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_RIOM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RIOM # endif # define machine_is_riom() (machine_arch_type == MACH_TYPE_RIOM) #else # define machine_is_riom() (0) #endif #ifdef CONFIG_MACH_COMCAS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_COMCAS # endif # define machine_is_comcas() (machine_arch_type == MACH_TYPE_COMCAS) #else # define machine_is_comcas() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WSI_MX27 # endif # define machine_is_wsi_mx27() (machine_arch_type == MACH_TYPE_WSI_MX27) #else # define machine_is_wsi_mx27() (0) #endif #ifdef CONFIG_MACH_CM_T35 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CM_T35 # endif # define machine_is_cm_t35() (machine_arch_type == MACH_TYPE_CM_T35) #else # define machine_is_cm_t35() (0) #endif #ifdef CONFIG_MACH_NET2BIG # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NET2BIG # endif # define machine_is_net2big() (machine_arch_type == MACH_TYPE_NET2BIG) #else # define machine_is_net2big() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IGEP0020 # endif # define machine_is_igep0020() (machine_arch_type == MACH_TYPE_IGEP0020) #else # define machine_is_igep0020() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IGEP0010 # endif # define machine_is_igep0010() (machine_arch_type == MACH_TYPE_IGEP0010) #else # define machine_is_igep0010() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SCAT100 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SCAT100 # endif # define machine_is_scat100() (machine_arch_type == MACH_TYPE_SCAT100) #else # define machine_is_scat100() (0) #endif #ifdef CONFIG_MACH_SANMINA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SANMINA # endif # define machine_is_sanmina() (machine_arch_type == MACH_TYPE_SANMINA) #else # define machine_is_sanmina() (0) #endif #ifdef CONFIG_MACH_MOMENTO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MOMENTO # endif # define machine_is_momento() (machine_arch_type == MACH_TYPE_MOMENTO) #else # define machine_is_momento() (0) #endif #ifdef CONFIG_MACH_NUC9XX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NUC9XX # endif # define machine_is_nuc9xx() (machine_arch_type == MACH_TYPE_NUC9XX) #else # define machine_is_nuc9xx() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NUC910EVB # endif # define <API key>() (machine_arch_type == MACH_TYPE_NUC910EVB) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NUC920EVB # endif # define <API key>() (machine_arch_type == MACH_TYPE_NUC920EVB) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NUC950EVB # endif # define <API key>() (machine_arch_type == MACH_TYPE_NUC950EVB) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NUC945EVB # endif # define <API key>() (machine_arch_type == MACH_TYPE_NUC945EVB) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NUC960EVB # endif # define <API key>() (machine_arch_type == MACH_TYPE_NUC960EVB) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NUC932EVB # endif # define <API key>() (machine_arch_type == MACH_TYPE_NUC932EVB) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_NUC900 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NUC900 # endif # define machine_is_nuc900() (machine_arch_type == MACH_TYPE_NUC900) #else # define machine_is_nuc900() (0) #endif #ifdef CONFIG_MACH_SD1SOC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SD1SOC # endif # define machine_is_sd1soc() (machine_arch_type == MACH_TYPE_SD1SOC) #else # define machine_is_sd1soc() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LN2440BC # endif # define machine_is_ln2440bc() (machine_arch_type == MACH_TYPE_LN2440BC) #else # define machine_is_ln2440bc() (0) #endif #ifdef CONFIG_MACH_RSBC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RSBC # endif # define machine_is_rsbc() (machine_arch_type == MACH_TYPE_RSBC) #else # define machine_is_rsbc() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HPIPAQ11X # endif # define <API key>() (machine_arch_type == MACH_TYPE_HPIPAQ11X) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_WAYLAND # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WAYLAND # endif # define machine_is_wayland() (machine_arch_type == MACH_TYPE_WAYLAND) #else # define machine_is_wayland() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ACNBSX102 # endif # define <API key>() (machine_arch_type == MACH_TYPE_ACNBSX102) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_HWAT91 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HWAT91 # endif # define machine_is_hwat91() (machine_arch_type == MACH_TYPE_HWAT91) #else # define machine_is_hwat91() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_CSB732 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CSB732 # endif # define machine_is_csb732() (machine_arch_type == MACH_TYPE_CSB732) #else # define machine_is_csb732() (0) #endif #ifdef CONFIG_MACH_U8500 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_U8500 # endif # define machine_is_u8500() (machine_arch_type == MACH_TYPE_U8500) #else # define machine_is_u8500() (0) #endif #ifdef CONFIG_MACH_HUQIU # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HUQIU # endif # define machine_is_huqiu() (machine_arch_type == MACH_TYPE_HUQIU) #else # define machine_is_huqiu() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_PMT1G # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PMT1G # endif # define machine_is_pmt1g() (machine_arch_type == MACH_TYPE_PMT1G) #else # define machine_is_pmt1g() (0) #endif #ifdef CONFIG_MACH_HTCELF # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HTCELF # endif # define machine_is_htcelf() (machine_arch_type == MACH_TYPE_HTCELF) #else # define machine_is_htcelf() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CSR_BDB3 # endif # define machine_is_csr_bdb3() (machine_arch_type == MACH_TYPE_CSR_BDB3) #else # define machine_is_csr_bdb3() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_HY9307 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HY9307 # endif # define machine_is_hy9307() (machine_arch_type == MACH_TYPE_HY9307) #else # define machine_is_hy9307() (0) #endif #ifdef CONFIG_MACH_A_ES # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_A_ES # endif # define <API key>() (machine_arch_type == MACH_TYPE_A_ES) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AGAMA9263 # endif # define <API key>() (machine_arch_type == MACH_TYPE_AGAMA9263) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_FLINT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FLINT # endif # define machine_is_flint() (machine_arch_type == MACH_TYPE_FLINT) #else # define machine_is_flint() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TAVOREVB3 # endif # define <API key>() (machine_arch_type == MACH_TYPE_TAVOREVB3) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SCH_M490 # endif # define machine_is_sch_m490() (machine_arch_type == MACH_TYPE_SCH_M490) #else # define machine_is_sch_m490() (0) #endif #ifdef CONFIG_MACH_RBL01 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RBL01 # endif # define machine_is_rbl01() (machine_arch_type == MACH_TYPE_RBL01) #else # define machine_is_rbl01() (0) #endif #ifdef CONFIG_MACH_OMNIFI # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OMNIFI # endif # define machine_is_omnifi() (machine_arch_type == MACH_TYPE_OMNIFI) #else # define machine_is_omnifi() (0) #endif #ifdef CONFIG_MACH_OTAVALO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OTAVALO # endif # define machine_is_otavalo() (machine_arch_type == MACH_TYPE_OTAVALO) #else # define machine_is_otavalo() (0) #endif #ifdef CONFIG_MACH_SIENNA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SIENNA # endif # define machine_is_siena() (machine_arch_type == MACH_TYPE_SIENNA) #else # define machine_is_siena() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HTC_OPAL # endif # define machine_is_htc_opal() (machine_arch_type == MACH_TYPE_HTC_OPAL) #else # define machine_is_htc_opal() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TOUCHBOOK # endif # define <API key>() (machine_arch_type == MACH_TYPE_TOUCHBOOK) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_LATTE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LATTE # endif # define machine_is_latte() (machine_arch_type == MACH_TYPE_LATTE) #else # define machine_is_latte() (0) #endif #ifdef CONFIG_MACH_XA200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_XA200 # endif # define machine_is_xa200() (machine_arch_type == MACH_TYPE_XA200) #else # define machine_is_xa200() (0) #endif #ifdef CONFIG_MACH_NIMROD # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NIMROD # endif # define machine_is_nimrod() (machine_arch_type == MACH_TYPE_NIMROD) #else # define machine_is_nimrod() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_TK71 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TK71 # endif # define machine_is_tk71() (machine_arch_type == MACH_TYPE_TK71) #else # define machine_is_tk71() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MCARDMX27 # endif # define <API key>() (machine_arch_type == MACH_TYPE_MCARDMX27) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PARADISE # endif # define machine_is_paradise() (machine_arch_type == MACH_TYPE_PARADISE) #else # define machine_is_paradise() (0) #endif #ifdef CONFIG_MACH_TIDE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TIDE # endif # define machine_is_tide() (machine_arch_type == MACH_TYPE_TIDE) #else # define machine_is_tide() (0) #endif #ifdef CONFIG_MACH_WZL2440 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WZL2440 # endif # define machine_is_wzl2440() (machine_arch_type == MACH_TYPE_WZL2440) #else # define machine_is_wzl2440() (0) #endif #ifdef CONFIG_MACH_SDRDEMO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SDRDEMO # endif # define machine_is_sdrdemo() (machine_arch_type == MACH_TYPE_SDRDEMO) #else # define machine_is_sdrdemo() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ETHERCAN2 # endif # define <API key>() (machine_arch_type == MACH_TYPE_ETHERCAN2) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ECMIMG20 # endif # define machine_is_ecmimg20() (machine_arch_type == MACH_TYPE_ECMIMG20) #else # define machine_is_ecmimg20() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_HALO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HALO # endif # define machine_is_halo() (machine_arch_type == MACH_TYPE_HALO) #else # define machine_is_halo() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HUANGSHAN # endif # define <API key>() (machine_arch_type == MACH_TYPE_HUANGSHAN) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VL_MA2SC # endif # define machine_is_vl_ma2sc() (machine_arch_type == MACH_TYPE_VL_MA2SC) #else # define machine_is_vl_ma2sc() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TNETV107X # endif # define <API key>() (machine_arch_type == MACH_TYPE_TNETV107X) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SNAKE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SNAKE # endif # define machine_is_snake() (machine_arch_type == MACH_TYPE_SNAKE) #else # define machine_is_snake() (0) #endif #ifdef CONFIG_MACH_CWMX27 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CWMX27 # endif # define machine_is_cwmx27() (machine_arch_type == MACH_TYPE_CWMX27) #else # define machine_is_cwmx27() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SCH_M480 # endif # define machine_is_sch_m480() (machine_arch_type == MACH_TYPE_SCH_M480) #else # define machine_is_sch_m480() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PLATYPUS # endif # define machine_is_platypus() (machine_arch_type == MACH_TYPE_PLATYPUS) #else # define machine_is_platypus() (0) #endif #ifdef CONFIG_MACH_PSS2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PSS2 # endif # define machine_is_pss2() (machine_arch_type == MACH_TYPE_PSS2) #else # define machine_is_pss2() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_STR9100 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_STR9100 # endif # define machine_is_str9100() (machine_arch_type == MACH_TYPE_STR9100) #else # define machine_is_str9100() (0) #endif #ifdef CONFIG_MACH_NET5BIG # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NET5BIG # endif # define machine_is_net5big() (machine_arch_type == MACH_TYPE_NET5BIG) #else # define machine_is_net5big() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX51_M2ID # endif # define <API key>() (machine_arch_type == MACH_TYPE_MX51_M2ID) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_LIBERTY # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LIBERTY # endif # define machine_is_liberty() (machine_arch_type == MACH_TYPE_LIBERTY) #else # define machine_is_liberty() (0) #endif #ifdef CONFIG_MACH_MH355 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MH355 # endif # define machine_is_mh355() (machine_arch_type == MACH_TYPE_MH355) #else # define machine_is_mh355() (0) #endif #ifdef CONFIG_MACH_PC7802 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PC7802 # endif # define machine_is_pc7802() (machine_arch_type == MACH_TYPE_PC7802) #else # define machine_is_pc7802() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GNET_SGC # endif # define machine_is_gnet_sgc() (machine_arch_type == MACH_TYPE_GNET_SGC) #else # define machine_is_gnet_sgc() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_CMPD # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CMPD # endif # define machine_is_cmpd() (machine_arch_type == MACH_TYPE_CMPD) #else # define machine_is_cmpd() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_EA313X # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EA313X # endif # define machine_is_ea313x() (machine_arch_type == MACH_TYPE_EA313X) #else # define machine_is_ea313x() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PELCO_MOE # endif # define <API key>() (machine_arch_type == MACH_TYPE_PELCO_MOE) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MINIMIX27 # endif # define <API key>() (machine_arch_type == MACH_TYPE_MINIMIX27) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PASSIONC # endif # define machine_is_passionc() (machine_arch_type == MACH_TYPE_PASSIONC) #else # define machine_is_passionc() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX27AMATA # endif # define <API key>() (machine_arch_type == MACH_TYPE_MX27AMATA) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_BGAT1 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BGAT1 # endif # define machine_is_bgat1() (machine_arch_type == MACH_TYPE_BGAT1) #else # define machine_is_bgat1() (0) #endif #ifdef CONFIG_MACH_BUZZ # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BUZZ # endif # define machine_is_buzz() (machine_arch_type == MACH_TYPE_BUZZ) #else # define machine_is_buzz() (0) #endif #ifdef CONFIG_MACH_MB9G20 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MB9G20 # endif # define machine_is_mb9g20() (machine_arch_type == MACH_TYPE_MB9G20) #else # define machine_is_mb9g20() (0) #endif #ifdef CONFIG_MACH_YUSHAN # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_YUSHAN # endif # define machine_is_yushan() (machine_arch_type == MACH_TYPE_YUSHAN) #else # define machine_is_yushan() (0) #endif #ifdef CONFIG_MACH_LIZARD # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LIZARD # endif # define machine_is_lizard() (machine_arch_type == MACH_TYPE_LIZARD) #else # define machine_is_lizard() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SMDKV210 # endif # define machine_is_smdkv210() (machine_arch_type == MACH_TYPE_SMDKV210) #else # define machine_is_smdkv210() (0) #endif #ifdef CONFIG_MACH_BRAVO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BRAVO # endif # define machine_is_bravo() (machine_arch_type == MACH_TYPE_BRAVO) #else # define machine_is_bravo() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SM3K # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SM3K # endif # define machine_is_sm3k() (machine_arch_type == MACH_TYPE_SM3K) #else # define machine_is_sm3k() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TORINO_S # endif # define machine_is_torino_s() (machine_arch_type == MACH_TYPE_TORINO_S) #else # define machine_is_torino_s() (0) #endif #ifdef CONFIG_MACH_HAVANA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HAVANA # endif # define machine_is_havana() (machine_arch_type == MACH_TYPE_HAVANA) #else # define machine_is_havana() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VANGUARD # endif # define machine_is_vanguard() (machine_arch_type == MACH_TYPE_VANGUARD) #else # define machine_is_vanguard() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ASTER # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ASTER # endif # define machine_is_aster() (machine_arch_type == MACH_TYPE_ASTER) #else # define machine_is_aster() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ACM500X # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ACM500X # endif # define machine_is_acm500x() (machine_arch_type == MACH_TYPE_ACM500X) #else # define machine_is_acm500x() (0) #endif #ifdef CONFIG_MACH_KM9260 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KM9260 # endif # define machine_is_km9260() (machine_arch_type == MACH_TYPE_KM9260) #else # define machine_is_km9260() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SMARTQ7 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SMARTQ7 # endif # define machine_is_smartq7() (machine_arch_type == MACH_TYPE_SMARTQ7) #else # define machine_is_smartq7() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ASUSP527 # endif # define machine_is_asusp527() (machine_arch_type == MACH_TYPE_ASUSP527) #else # define machine_is_asusp527() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TOPASA900 # endif # define <API key>() (machine_arch_type == MACH_TYPE_TOPASA900) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_MX51GRB # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX51GRB # endif # define machine_is_mx51grb() (machine_arch_type == MACH_TYPE_MX51GRB) #else # define machine_is_mx51grb() (0) #endif #ifdef CONFIG_MACH_XEA300 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_XEA300 # endif # define machine_is_xea300() (machine_arch_type == MACH_TYPE_XEA300) #else # define machine_is_xea300() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_LIMA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LIMA # endif # define machine_is_lima() (machine_arch_type == MACH_TYPE_LIMA) #else # define machine_is_lima() (0) #endif #ifdef CONFIG_MACH_CSB740 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CSB740 # endif # define machine_is_csb740() (machine_arch_type == MACH_TYPE_CSB740) #else # define machine_is_csb740() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_USB_S8815 # endif # define <API key>() (machine_arch_type == MACH_TYPE_USB_S8815) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MILKYWAY # endif # define machine_is_milkyway() (machine_arch_type == MACH_TYPE_MILKYWAY) #else # define machine_is_milkyway() (0) #endif #ifdef CONFIG_MACH_G4EVM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_G4EVM # endif # define machine_is_g4evm() (machine_arch_type == MACH_TYPE_G4EVM) #else # define machine_is_g4evm() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PICOMOD6 # endif # define machine_is_picomod6() (machine_arch_type == MACH_TYPE_PICOMOD6) #else # define machine_is_picomod6() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_IP6000 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IP6000 # endif # define machine_is_ip6000() (machine_arch_type == MACH_TYPE_IP6000) #else # define machine_is_ip6000() (0) #endif #ifdef CONFIG_MACH_IP6010 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IP6010 # endif # define machine_is_ip6010() (machine_arch_type == MACH_TYPE_IP6010) #else # define machine_is_ip6010() (0) #endif #ifdef CONFIG_MACH_UTM400 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_UTM400 # endif # define machine_is_utm400() (machine_arch_type == MACH_TYPE_UTM400) #else # define machine_is_utm400() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SX560 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SX560 # endif # define machine_is_sx560() (machine_arch_type == MACH_TYPE_SX560) #else # define machine_is_sx560() (0) #endif #ifdef CONFIG_MACH_TS41X # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TS41X # endif # define machine_is_ts41x() (machine_arch_type == MACH_TYPE_TS41X) #else # define machine_is_ts41x() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_RHOBOT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RHOBOT # endif # define machine_is_rhobot() (machine_arch_type == MACH_TYPE_RHOBOT) #else # define machine_is_rhobot() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_LS9260 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LS9260 # endif # define machine_is_ls9260() (machine_arch_type == MACH_TYPE_LS9260) #else # define machine_is_ls9260() (0) #endif #ifdef CONFIG_MACH_SHANK # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SHANK # endif # define machine_is_shank() (machine_arch_type == MACH_TYPE_SHANK) #else # define machine_is_shank() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_HIRAM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HIRAM # endif # define machine_is_hiram() (machine_arch_type == MACH_TYPE_HIRAM) #else # define machine_is_hiram() (0) #endif #ifdef CONFIG_MACH_PHY3250 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PHY3250 # endif # define machine_is_phy3250() (machine_arch_type == MACH_TYPE_PHY3250) #else # define machine_is_phy3250() (0) #endif #ifdef CONFIG_MACH_EA3250 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EA3250 # endif # define machine_is_ea3250() (machine_arch_type == MACH_TYPE_EA3250) #else # define machine_is_ea3250() (0) #endif #ifdef CONFIG_MACH_FDI3250 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FDI3250 # endif # define machine_is_fdi3250() (machine_arch_type == MACH_TYPE_FDI3250) #else # define machine_is_fdi3250() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_CCMX51 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CCMX51 # endif # define machine_is_ccmx51() (machine_arch_type == MACH_TYPE_CCMX51) #else # define machine_is_ccmx51() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CCMX51JS # endif # define machine_is_ccmx51js() (machine_arch_type == MACH_TYPE_CCMX51JS) #else # define machine_is_ccmx51js() (0) #endif #ifdef CONFIG_MACH_CCWMX51 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CCWMX51 # endif # define machine_is_ccwmx51() (machine_arch_type == MACH_TYPE_CCWMX51) #else # define machine_is_ccwmx51() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CCWMX51JS # endif # define <API key>() (machine_arch_type == MACH_TYPE_CCWMX51JS) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MINI6410 # endif # define machine_is_mini6410() (machine_arch_type == MACH_TYPE_MINI6410) #else # define machine_is_mini6410() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TINY6410 # endif # define machine_is_tiny6410() (machine_arch_type == MACH_TYPE_TINY6410) #else # define machine_is_tiny6410() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NANO6410 # endif # define machine_is_nano6410() (machine_arch_type == MACH_TYPE_NANO6410) #else # define machine_is_nano6410() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_HTCLEO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HTCLEO # endif # define machine_is_htcleo() (machine_arch_type == MACH_TYPE_HTCLEO) #else # define machine_is_htcleo() (0) #endif #ifdef CONFIG_MACH_AVP13 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AVP13 # endif # define machine_is_avp13() (machine_arch_type == MACH_TYPE_AVP13) #else # define machine_is_avp13() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_XXSVIDEOD # endif # define <API key>() (machine_arch_type == MACH_TYPE_XXSVIDEOD) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_VPNEXT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VPNEXT # endif # define machine_is_vpnext() (machine_arch_type == MACH_TYPE_VPNEXT) #else # define machine_is_vpnext() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_TX51 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TX51 # endif # define machine_is_tx51() (machine_arch_type == MACH_TYPE_TX51) #else # define machine_is_tx51() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_MX28EVK # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX28EVK # endif # define machine_is_mx28evk() (machine_arch_type == MACH_TYPE_MX28EVK) #else # define machine_is_mx28evk() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SMARTQ5 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SMARTQ5 # endif # define machine_is_smartq5() (machine_arch_type == MACH_TYPE_SMARTQ5) #else # define machine_is_smartq5() (0) #endif #ifdef CONFIG_MACH_ALL3078 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ALL3078 # endif # define machine_is_all3078() (machine_arch_type == MACH_TYPE_ALL3078) #else # define machine_is_all3078() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_EPB5000 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EPB5000 # endif # define machine_is_epb5000() (machine_arch_type == MACH_TYPE_EPB5000) #else # define machine_is_epb5000() (0) #endif #ifdef CONFIG_MACH_HY9263 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HY9263 # endif # define machine_is_hy9263() (machine_arch_type == MACH_TYPE_HY9263) #else # define machine_is_hy9263() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_BONNELL # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BONNELL # endif # define machine_is_bonnell() (machine_arch_type == MACH_TYPE_BONNELL) #else # define machine_is_bonnell() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OHT_MX27 # endif # define machine_is_oht_mx27() (machine_arch_type == MACH_TYPE_OHT_MX27) #else # define machine_is_oht_mx27() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HTCQUARTZ # endif # define <API key>() (machine_arch_type == MACH_TYPE_HTCQUARTZ) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_C3AX03 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_C3AX03 # endif # define machine_is_c3ax03() (machine_arch_type == MACH_TYPE_C3AX03) #else # define machine_is_c3ax03() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MXT_TD60 # endif # define machine_is_mxt_td60() (machine_arch_type == MACH_TYPE_MXT_TD60) #else # define machine_is_mxt_td60() (0) #endif #ifdef CONFIG_MACH_ESYX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ESYX # endif # define machine_is_esyx() (machine_arch_type == MACH_TYPE_ESYX) #else # define machine_is_esyx() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DOVE_DB2 # endif # define machine_is_dove_db2() (machine_arch_type == MACH_TYPE_DOVE_DB2) #else # define machine_is_dove_db2() (0) #endif #ifdef CONFIG_MACH_BULLDOG # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BULLDOG # endif # define machine_is_bulldog() (machine_arch_type == MACH_TYPE_BULLDOG) #else # define machine_is_bulldog() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ACER_S200 # endif # define <API key>() (machine_arch_type == MACH_TYPE_ACER_S200) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_BT270 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BT270 # endif # define machine_is_bt270() (machine_arch_type == MACH_TYPE_BT270) #else # define machine_is_bt270() (0) #endif #ifdef CONFIG_MACH_ISEO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ISEO # endif # define machine_is_iseo() (machine_arch_type == MACH_TYPE_ISEO) #else # define machine_is_iseo() (0) #endif #ifdef CONFIG_MACH_CEZANNE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CEZANNE # endif # define machine_is_cezanne() (machine_arch_type == MACH_TYPE_CEZANNE) #else # define machine_is_cezanne() (0) #endif #ifdef CONFIG_MACH_LUCCA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LUCCA # endif # define machine_is_lucca() (machine_arch_type == MACH_TYPE_LUCCA) #else # define machine_is_lucca() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CS_MISANO # endif # define <API key>() (machine_arch_type == MACH_TYPE_CS_MISANO) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MAGNOLIA2 # endif # define <API key>() (machine_arch_type == MACH_TYPE_MAGNOLIA2) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_EMXX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EMXX # endif # define machine_is_emxx() (machine_arch_type == MACH_TYPE_EMXX) #else # define machine_is_emxx() (0) #endif #ifdef CONFIG_MACH_OUTLAW # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OUTLAW # endif # define machine_is_outlaw() (machine_arch_type == MACH_TYPE_OUTLAW) #else # define machine_is_outlaw() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RIOT_BEI2 # endif # define <API key>() (machine_arch_type == MACH_TYPE_RIOT_BEI2) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RIOT_VOX # endif # define machine_is_riot_vox() (machine_arch_type == MACH_TYPE_RIOT_VOX) #else # define machine_is_riot_vox() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RIOT_X37 # endif # define machine_is_riot_x37() (machine_arch_type == MACH_TYPE_RIOT_X37) #else # define machine_is_riot_x37() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MEGA25MX # endif # define machine_is_mega25mx() (machine_arch_type == MACH_TYPE_MEGA25MX) #else # define machine_is_mega25mx() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BENZINA2 # endif # define machine_is_benzina2() (machine_arch_type == MACH_TYPE_BENZINA2) #else # define machine_is_benzina2() (0) #endif #ifdef CONFIG_MACH_IGNITE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IGNITE # endif # define machine_is_ignite() (machine_arch_type == MACH_TYPE_IGNITE) #else # define machine_is_ignite() (0) #endif #ifdef CONFIG_MACH_FOGGIA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FOGGIA # endif # define machine_is_foggia() (machine_arch_type == MACH_TYPE_FOGGIA) #else # define machine_is_foggia() (0) #endif #ifdef CONFIG_MACH_AREZZO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AREZZO # endif # define machine_is_arezzo() (machine_arch_type == MACH_TYPE_AREZZO) #else # define machine_is_arezzo() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GTS_NOVA # endif # define machine_is_gts_nova() (machine_arch_type == MACH_TYPE_GTS_NOVA) #else # define machine_is_gts_nova() (0) #endif #ifdef CONFIG_MACH_P3600 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_P3600 # endif # define machine_is_p3600() (machine_arch_type == MACH_TYPE_P3600) #else # define machine_is_p3600() (0) #endif #ifdef CONFIG_MACH_DLT2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DLT2 # endif # define machine_is_dlt2() (machine_arch_type == MACH_TYPE_DLT2) #else # define machine_is_dlt2() (0) #endif #ifdef CONFIG_MACH_DF3120 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DF3120 # endif # define machine_is_df3120() (machine_arch_type == MACH_TYPE_DF3120) #else # define machine_is_df3120() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_GLACIER # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GLACIER # endif # define machine_is_glacier() (machine_arch_type == MACH_TYPE_GLACIER) #else # define machine_is_glacier() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_PCA101 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PCA101 # endif # define machine_is_pca101() (machine_arch_type == MACH_TYPE_PCA101) #else # define machine_is_pca101() (0) #endif #ifdef CONFIG_MACH_BUZZC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BUZZC # endif # define machine_is_buzzc() (machine_arch_type == MACH_TYPE_BUZZC) #else # define machine_is_buzzc() (0) #endif #ifdef CONFIG_MACH_SASIE2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SASIE2 # endif # define machine_is_sasie2() (machine_arch_type == MACH_TYPE_SASIE2) #else # define machine_is_sasie2() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_WZL6410 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WZL6410 # endif # define machine_is_wzl6410() (machine_arch_type == MACH_TYPE_WZL6410) #else # define machine_is_wzl6410() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WZL6410M # endif # define machine_is_wzl6410m() (machine_arch_type == MACH_TYPE_WZL6410M) #else # define machine_is_wzl6410m() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WZL6410F # endif # define machine_is_wzl6410f() (machine_arch_type == MACH_TYPE_WZL6410F) #else # define machine_is_wzl6410f() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WZL6410I # endif # define machine_is_wzl6410i() (machine_arch_type == MACH_TYPE_WZL6410I) #else # define machine_is_wzl6410i() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SPACECOM1 # endif # define <API key>() (machine_arch_type == MACH_TYPE_SPACECOM1) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PINGU920 # endif # define machine_is_pingu920() (machine_arch_type == MACH_TYPE_PINGU920) #else # define machine_is_pingu920() (0) #endif #ifdef CONFIG_MACH_BRAVOC # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BRAVOC # endif # define machine_is_bravoc() (machine_arch_type == MACH_TYPE_BRAVOC) #else # define machine_is_bravoc() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CYBO2440 # endif # define machine_is_cybo2440() (machine_arch_type == MACH_TYPE_CYBO2440) #else # define machine_is_cybo2440() (0) #endif #ifdef CONFIG_MACH_VDSSW # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VDSSW # endif # define machine_is_vdssw() (machine_arch_type == MACH_TYPE_VDSSW) #else # define machine_is_vdssw() (0) #endif #ifdef CONFIG_MACH_ROMULUS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ROMULUS # endif # define machine_is_romulus() (machine_arch_type == MACH_TYPE_ROMULUS) #else # define machine_is_romulus() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ELTD100 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ELTD100 # endif # define machine_is_eltd100() (machine_arch_type == MACH_TYPE_ELTD100) #else # define machine_is_eltd100() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CAPC7117 # endif # define machine_is_capc7117() (machine_arch_type == MACH_TYPE_CAPC7117) #else # define machine_is_capc7117() (0) #endif #ifdef CONFIG_MACH_SWAN # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SWAN # endif # define machine_is_swan() (machine_arch_type == MACH_TYPE_SWAN) #else # define machine_is_swan() (0) #endif #ifdef CONFIG_MACH_VEU # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VEU # endif # define machine_is_veu() (machine_arch_type == MACH_TYPE_VEU) #else # define machine_is_veu() (0) #endif #ifdef CONFIG_MACH_RM2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RM2 # endif # define machine_is_rm2() (machine_arch_type == MACH_TYPE_RM2) #else # define machine_is_rm2() (0) #endif #ifdef CONFIG_MACH_TT2100 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TT2100 # endif # define machine_is_tt2100() (machine_arch_type == MACH_TYPE_TT2100) #else # define machine_is_tt2100() (0) #endif #ifdef CONFIG_MACH_VENICE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VENICE # endif # define machine_is_venice() (machine_arch_type == MACH_TYPE_VENICE) #else # define machine_is_venice() (0) #endif #ifdef CONFIG_MACH_PC7323 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PC7323 # endif # define machine_is_pc7323() (machine_arch_type == MACH_TYPE_PC7323) #else # define machine_is_pc7323() (0) #endif #ifdef CONFIG_MACH_MASP # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MASP # endif # define machine_is_masp() (machine_arch_type == MACH_TYPE_MASP) #else # define machine_is_masp() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_LEXIKON # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LEXIKON # endif # define machine_is_lexikon() (machine_arch_type == MACH_TYPE_LEXIKON) #else # define machine_is_lexikon() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ICONTROL # endif # define machine_is_icontrol() (machine_arch_type == MACH_TYPE_ICONTROL) #else # define machine_is_icontrol() (0) #endif #ifdef CONFIG_MACH_SHEEVAD # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SHEEVAD # endif # define machine_is_sheevad() (machine_arch_type == MACH_TYPE_SHEEVAD) #else # define machine_is_sheevad() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_BEE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BEE # endif # define machine_is_bee() (machine_arch_type == MACH_TYPE_BEE) #else # define machine_is_bee() (0) #endif #ifdef CONFIG_MACH_MX23EVK # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX23EVK # endif # define machine_is_mx23evk() (machine_arch_type == MACH_TYPE_MX23EVK) #else # define machine_is_mx23evk() (0) #endif #ifdef CONFIG_MACH_AP4EVB # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AP4EVB # endif # define machine_is_ap4evb() (machine_arch_type == MACH_TYPE_AP4EVB) #else # define machine_is_ap4evb() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_STOCKHOLM # endif # define <API key>() (machine_arch_type == MACH_TYPE_STOCKHOLM) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LPC_H3131 # endif # define <API key>() (machine_arch_type == MACH_TYPE_LPC_H3131) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_STINGRAY # endif # define machine_is_stingray() (machine_arch_type == MACH_TYPE_STINGRAY) #else # define machine_is_stingray() (0) #endif #ifdef CONFIG_MACH_KRAKEN # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KRAKEN # endif # define machine_is_kraken() (machine_arch_type == MACH_TYPE_KRAKEN) #else # define machine_is_kraken() (0) #endif #ifdef CONFIG_MACH_GW2388 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GW2388 # endif # define machine_is_gw2388() (machine_arch_type == MACH_TYPE_GW2388) #else # define machine_is_gw2388() (0) #endif #ifdef CONFIG_MACH_JADECPU # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_JADECPU # endif # define machine_is_jadecpu() (machine_arch_type == MACH_TYPE_JADECPU) #else # define machine_is_jadecpu() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CARLISLE # endif # define machine_is_carlisle() (machine_arch_type == MACH_TYPE_CARLISLE) #else # define machine_is_carlisle() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LUX_SFT9 # endif # define machine_is_lux_sf9() (machine_arch_type == MACH_TYPE_LUX_SFT9) #else # define machine_is_lux_sf9() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NEMID_TB # endif # define machine_is_nemid_tb() (machine_arch_type == MACH_TYPE_NEMID_TB) #else # define machine_is_nemid_tb() (0) #endif #ifdef CONFIG_MACH_TERRIER # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TERRIER # endif # define machine_is_terrier() (machine_arch_type == MACH_TYPE_TERRIER) #else # define machine_is_terrier() (0) #endif #ifdef CONFIG_MACH_TURBOT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TURBOT # endif # define machine_is_turbot() (machine_arch_type == MACH_TYPE_TURBOT) #else # define machine_is_turbot() (0) #endif #ifdef CONFIG_MACH_SANDDAB # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SANDDAB # endif # define machine_is_sanddab() (machine_arch_type == MACH_TYPE_SANDDAB) #else # define machine_is_sanddab() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GHI2703D # endif # define machine_is_ghi2703d() (machine_arch_type == MACH_TYPE_GHI2703D) #else # define machine_is_ghi2703d() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LUX_SFX9 # endif # define machine_is_lux_sfx9() (machine_arch_type == MACH_TYPE_LUX_SFX9) #else # define machine_is_lux_sfx9() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LUX_SF9G # endif # define machine_is_lux_sf9g() (machine_arch_type == MACH_TYPE_LUX_SF9G) #else # define machine_is_lux_sf9g() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LUX_EDK9 # endif # define machine_is_lux_edk9() (machine_arch_type == MACH_TYPE_LUX_EDK9) #else # define machine_is_lux_edk9() (0) #endif #ifdef CONFIG_MACH_HW90240 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HW90240 # endif # define machine_is_hw90240() (machine_arch_type == MACH_TYPE_HW90240) #else # define machine_is_hw90240() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SCAT110 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SCAT110 # endif # define machine_is_scat110() (machine_arch_type == MACH_TYPE_SCAT110) #else # define machine_is_scat110() (0) #endif #ifdef CONFIG_MACH_ACER_A1 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ACER_A1 # endif # define machine_is_acer_a1() (machine_arch_type == MACH_TYPE_ACER_A1) #else # define machine_is_acer_a1() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CMCONTROL # endif # define <API key>() (machine_arch_type == MACH_TYPE_CMCONTROL) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_RFP43 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RFP43 # endif # define machine_is_rfp43() (machine_arch_type == MACH_TYPE_RFP43) #else # define machine_is_rfp43() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SK86R0301 # endif # define <API key>() (machine_arch_type == MACH_TYPE_SK86R0301) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_CTPXA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CTPXA # endif # define machine_is_ctpxa() (machine_arch_type == MACH_TYPE_CTPXA) #else # define machine_is_ctpxa() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GURUPLUG # endif # define machine_is_guruplug() (machine_arch_type == MACH_TYPE_GURUPLUG) #else # define machine_is_guruplug() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SPEAR310 # endif # define machine_is_spear310() (machine_arch_type == MACH_TYPE_SPEAR310) #else # define machine_is_spear310() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SPEAR320 # endif # define machine_is_spear320() (machine_arch_type == MACH_TYPE_SPEAR320) #else # define machine_is_spear320() (0) #endif #ifdef CONFIG_MACH_ROBOTX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ROBOTX # endif # define machine_is_robotx() (machine_arch_type == MACH_TYPE_ROBOTX) #else # define machine_is_robotx() (0) #endif #ifdef CONFIG_MACH_LSXHL # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LSXHL # endif # define machine_is_lsxhl() (machine_arch_type == MACH_TYPE_LSXHL) #else # define machine_is_lsxhl() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SMARTLITE # endif # define <API key>() (machine_arch_type == MACH_TYPE_SMARTLITE) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_CWS2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CWS2 # endif # define machine_is_cws2() (machine_arch_type == MACH_TYPE_CWS2) #else # define machine_is_cws2() (0) #endif #ifdef CONFIG_MACH_M619 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_M619 # endif # define machine_is_m619() (machine_arch_type == MACH_TYPE_M619) #else # define machine_is_m619() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SMARTVIEW # endif # define <API key>() (machine_arch_type == MACH_TYPE_SMARTVIEW) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LSA_SALSA # endif # define <API key>() (machine_arch_type == MACH_TYPE_LSA_SALSA) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_KIZBOX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_KIZBOX # endif # define machine_is_kizbox() (machine_arch_type == MACH_TYPE_KIZBOX) #else # define machine_is_kizbox() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_PM9G45 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PM9G45 # endif # define machine_is_pm9g45() (machine_arch_type == MACH_TYPE_PM9G45) #else # define machine_is_pm9g45() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_REB01 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_REB01 # endif # define machine_is_reb01() (machine_arch_type == MACH_TYPE_REB01) #else # define machine_is_reb01() (0) #endif #ifdef CONFIG_MACH_AQUILA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AQUILA # endif # define machine_is_aquila() (machine_arch_type == MACH_TYPE_AQUILA) #else # define machine_is_aquila() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MICRO2440 # endif # define <API key>() (machine_arch_type == MACH_TYPE_MICRO2440) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_AM2440 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AM2440 # endif # define machine_is_am2440() (machine_arch_type == MACH_TYPE_AM2440) #else # define machine_is_am2440() (0) #endif #ifdef CONFIG_MACH_TQ2440 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TQ2440 # endif # define machine_is_tq2440() (machine_arch_type == MACH_TYPE_TQ2440) #else # define machine_is_tq2440() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_AK880X # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AK880X # endif # define machine_is_ak880x() (machine_arch_type == MACH_TYPE_AK880X) #else # define machine_is_ak880x() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_COBRA3530 # endif # define <API key>() (machine_arch_type == MACH_TYPE_COBRA3530) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_PMPPB # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PMPPB # endif # define machine_is_pmppb() (machine_arch_type == MACH_TYPE_PMPPB) #else # define machine_is_pmppb() (0) #endif #ifdef CONFIG_MACH_U6715 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_U6715 # endif # define machine_is_u6715() (machine_arch_type == MACH_TYPE_U6715) #else # define machine_is_u6715() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_G30_DVB # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_G30_DVB # endif # define machine_is_g30_dvb() (machine_arch_type == MACH_TYPE_G30_DVB) #else # define machine_is_g30_dvb() (0) #endif #ifdef CONFIG_MACH_VC088X # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VC088X # endif # define machine_is_vc088x() (machine_arch_type == MACH_TYPE_VC088X) #else # define machine_is_vc088x() (0) #endif #ifdef CONFIG_MACH_MIOA702 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MIOA702 # endif # define machine_is_mioa702() (machine_arch_type == MACH_TYPE_MIOA702) #else # define machine_is_mioa702() (0) #endif #ifdef CONFIG_MACH_HPMIN # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HPMIN # endif # define machine_is_hpmin() (machine_arch_type == MACH_TYPE_HPMIN) #else # define machine_is_hpmin() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AK880XAK # endif # define machine_is_ak880xak() (machine_arch_type == MACH_TYPE_AK880XAK) #else # define machine_is_ak880xak() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_LKEVM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LKEVM # endif # define machine_is_lkevm() (machine_arch_type == MACH_TYPE_LKEVM) #else # define machine_is_lkevm() (0) #endif #ifdef CONFIG_MACH_MW6410 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MW6410 # endif # define machine_is_mw6410() (machine_arch_type == MACH_TYPE_MW6410) #else # define machine_is_mw6410() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CPU8000E # endif # define machine_is_cpu8000e() (machine_arch_type == MACH_TYPE_CPU8000E) #else # define machine_is_cpu8000e() (0) #endif #ifdef CONFIG_MACH_CATANIA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CATANIA # endif # define machine_is_catania() (machine_arch_type == MACH_TYPE_CATANIA) #else # define machine_is_catania() (0) #endif #ifdef CONFIG_MACH_TOKYO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TOKYO # endif # define machine_is_tokyo() (machine_arch_type == MACH_TYPE_TOKYO) #else # define machine_is_tokyo() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_MOBIKT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MOBIKT # endif # define machine_is_mobikt() (machine_arch_type == MACH_TYPE_MOBIKT) #else # define machine_is_mobikt() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX53_EVK # endif # define machine_is_mx53_evk() (machine_arch_type == MACH_TYPE_MX53_EVK) #else # define machine_is_mx53_evk() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_IGEP0030 # endif # define machine_is_igep0030() (machine_arch_type == MACH_TYPE_IGEP0030) #else # define machine_is_igep0030() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DTCOMMOD # endif # define machine_is_dtcommod() (machine_arch_type == MACH_TYPE_DTCOMMOD) #else # define machine_is_dtcommod() (0) #endif #ifdef CONFIG_MACH_GOULD # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GOULD # endif # define machine_is_gould() (machine_arch_type == MACH_TYPE_GOULD) #else # define machine_is_gould() (0) #endif #ifdef CONFIG_MACH_SIBERIA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SIBERIA # endif # define machine_is_siberia() (machine_arch_type == MACH_TYPE_SIBERIA) #else # define machine_is_siberia() (0) #endif #ifdef CONFIG_MACH_SBC3530 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SBC3530 # endif # define machine_is_sbc3530() (machine_arch_type == MACH_TYPE_SBC3530) #else # define machine_is_sbc3530() (0) #endif #ifdef CONFIG_MACH_QARM # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_QARM # endif # define machine_is_qarm() (machine_arch_type == MACH_TYPE_QARM) #else # define machine_is_qarm() (0) #endif #ifdef CONFIG_MACH_MIPS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MIPS # endif # define machine_is_mips() (machine_arch_type == MACH_TYPE_MIPS) #else # define machine_is_mips() (0) #endif #ifdef CONFIG_MACH_MX27GRB # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX27GRB # endif # define machine_is_mx27grb() (machine_arch_type == MACH_TYPE_MX27GRB) #else # define machine_is_mx27grb() (0) #endif #ifdef CONFIG_MACH_SBC8100 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SBC8100 # endif # define machine_is_sbc8100() (machine_arch_type == MACH_TYPE_SBC8100) #else # define machine_is_sbc8100() (0) #endif #ifdef CONFIG_MACH_SAARB # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SAARB # endif # define machine_is_saarb() (machine_arch_type == MACH_TYPE_SAARB) #else # define machine_is_saarb() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OMAP3MINI # endif # define <API key>() (machine_arch_type == MACH_TYPE_OMAP3MINI) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_CATAN # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CATAN # endif # define machine_is_catan() (machine_arch_type == MACH_TYPE_CATAN) #else # define machine_is_catan() (0) #endif #ifdef CONFIG_MACH_HARMONY # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HARMONY # endif # define machine_is_harmony() (machine_arch_type == MACH_TYPE_HARMONY) #else # define machine_is_harmony() (0) #endif #ifdef CONFIG_MACH_TONGA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TONGA # endif # define machine_is_tonga() (machine_arch_type == MACH_TYPE_TONGA) #else # define machine_is_tonga() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_EPC_G45 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EPC_G45 # endif # define machine_is_epc_g45() (machine_arch_type == MACH_TYPE_EPC_G45) #else # define machine_is_epc_g45() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_RTW1000 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_RTW1000 # endif # define machine_is_rtw1000() (machine_arch_type == MACH_TYPE_RTW1000) #else # define machine_is_rtw1000() (0) #endif #ifdef CONFIG_MACH_BOBCAT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BOBCAT # endif # define machine_is_bobcat() (machine_arch_type == MACH_TYPE_BOBCAT) #else # define machine_is_bobcat() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TRIZEPS6 # endif # define machine_is_trizeps6() (machine_arch_type == MACH_TYPE_TRIZEPS6) #else # define machine_is_trizeps6() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NEDAP9263 # endif # define <API key>() (machine_arch_type == MACH_TYPE_NEDAP9263) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_BMX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BMX # endif # define machine_is_bmx() (machine_arch_type == MACH_TYPE_BMX) #else # define machine_is_bmx() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NETSTREAM # endif # define <API key>() (machine_arch_type == MACH_TYPE_NETSTREAM) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SGARM10 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SGARM10 # endif # define machine_is_sgarm10() (machine_arch_type == MACH_TYPE_SGARM10) #else # define machine_is_sgarm10() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CM_T3517 # endif # define machine_is_cm_t3517() (machine_arch_type == MACH_TYPE_CM_T3517) #else # define machine_is_cm_t3517() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OMAP3_CPS # endif # define <API key>() (machine_arch_type == MACH_TYPE_OMAP3_CPS) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_WBD222 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WBD222 # endif # define machine_is_wbd222() (machine_arch_type == MACH_TYPE_WBD222) #else # define machine_is_wbd222() (0) #endif #ifdef CONFIG_MACH_MT65XX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MT65XX # endif # define machine_is_mt65xx() (machine_arch_type == MACH_TYPE_MT65XX) #else # define machine_is_mt65xx() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_VMC300 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VMC300 # endif # define machine_is_vmc300() (machine_arch_type == MACH_TYPE_VMC300) #else # define machine_is_vmc300() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_NANOS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NANOS # endif # define machine_is_nanos() (machine_arch_type == MACH_TYPE_NANOS) #else # define machine_is_nanos() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_STAMP9G10 # endif # define <API key>() (machine_arch_type == MACH_TYPE_STAMP9G10) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_STAMP9G45 # endif # define <API key>() (machine_arch_type == MACH_TYPE_STAMP9G45) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_H6053 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_H6053 # endif # define machine_is_h6053() (machine_arch_type == MACH_TYPE_H6053) #else # define machine_is_h6053() (0) #endif #ifdef CONFIG_MACH_SMINT01 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SMINT01 # endif # define machine_is_smint01() (machine_arch_type == MACH_TYPE_SMINT01) #else # define machine_is_smint01() (0) #endif #ifdef CONFIG_MACH_PRTLVT2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PRTLVT2 # endif # define machine_is_prtlvt2() (machine_arch_type == MACH_TYPE_PRTLVT2) #else # define machine_is_prtlvt2() (0) #endif #ifdef CONFIG_MACH_AP420 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AP420 # endif # define machine_is_ap420() (machine_arch_type == MACH_TYPE_AP420) #else # define machine_is_ap420() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HTCSHIFT # endif # define machine_is_htcclio() (machine_arch_type == MACH_TYPE_HTCSHIFT) #else # define machine_is_htcclio() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SBC35 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SBC35 # endif # define machine_is_sbc35() (machine_arch_type == MACH_TYPE_SBC35) #else # define machine_is_sbc35() (0) #endif #ifdef CONFIG_MACH_MPX6446 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MPX6446 # endif # define machine_is_mpx6446() (machine_arch_type == MACH_TYPE_MPX6446) #else # define machine_is_mpx6446() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CNS3420VB # endif # define <API key>() (machine_arch_type == MACH_TYPE_CNS3420VB) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_LPC2 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LPC2 # endif # define machine_is_lpc_evo() (machine_arch_type == MACH_TYPE_LPC2) #else # define machine_is_lpc_evo() (0) #endif #ifdef CONFIG_MACH_OLYMPUS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_OLYMPUS # endif # define machine_is_olympus() (machine_arch_type == MACH_TYPE_OLYMPUS) #else # define machine_is_olympus() (0) #endif #ifdef CONFIG_MACH_VORTEX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VORTEX # endif # define machine_is_vortex() (machine_arch_type == MACH_TYPE_VORTEX) #else # define machine_is_vortex() (0) #endif #ifdef CONFIG_MACH_S5PC200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_S5PC200 # endif # define machine_is_s5pc200() (machine_arch_type == MACH_TYPE_S5PC200) #else # define machine_is_s5pc200() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SMDKC200 # endif # define machine_is_smdkc200() (machine_arch_type == MACH_TYPE_SMDKC200) #else # define machine_is_smdkc200() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SONGSHAN # endif # define machine_is_songshan() (machine_arch_type == MACH_TYPE_SONGSHAN) #else # define machine_is_songshan() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TIANSHAN # endif # define machine_is_tianshan() (machine_arch_type == MACH_TYPE_TIANSHAN) #else # define machine_is_tianshan() (0) #endif #ifdef CONFIG_MACH_VPX500 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_VPX500 # endif # define machine_is_vpx500() (machine_arch_type == MACH_TYPE_VPX500) #else # define machine_is_vpx500() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AM3517SAM # endif # define <API key>() (machine_arch_type == MACH_TYPE_AM3517SAM) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_DF7220 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DF7220 # endif # define machine_is_df7220() (machine_arch_type == MACH_TYPE_DF7220) #else # define machine_is_df7220() (0) #endif #ifdef CONFIG_MACH_NEMINI # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_NEMINI # endif # define machine_is_nemini() (machine_arch_type == MACH_TYPE_NEMINI) #else # define machine_is_nemini() (0) #endif #ifdef CONFIG_MACH_T8200 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_T8200 # endif # define machine_is_t8200() (machine_arch_type == MACH_TYPE_T8200) #else # define machine_is_t8200() (0) #endif #ifdef CONFIG_MACH_APF51 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_APF51 # endif # define machine_is_apf51() (machine_arch_type == MACH_TYPE_APF51) #else # define machine_is_apf51() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BORDEAUX # endif # define machine_is_bordeaux() (machine_arch_type == MACH_TYPE_BORDEAUX) #else # define machine_is_bordeaux() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CATANIA_B # endif # define <API key>() (machine_arch_type == MACH_TYPE_CATANIA_B) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TI8168EVM # endif # define <API key>() (machine_arch_type == MACH_TYPE_TI8168EVM) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_DBPS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DBPS # endif # define machine_is_dbps() (machine_arch_type == MACH_TYPE_DBPS) #else # define machine_is_dbps() (0) #endif #ifdef CONFIG_MACH_SBC9261 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SBC9261 # endif # define <API key>() (machine_arch_type == MACH_TYPE_SBC9261) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PCBFP0001 # endif # define <API key>() (machine_arch_type == MACH_TYPE_PCBFP0001) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SPEEDY # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SPEEDY # endif # define machine_is_speedy() (machine_arch_type == MACH_TYPE_SPEEDY) #else # define machine_is_speedy() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CHRYSAOR # endif # define machine_is_chrysaor() (machine_arch_type == MACH_TYPE_CHRYSAOR) #else # define machine_is_chrysaor() (0) #endif #ifdef CONFIG_MACH_TANGO # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TANGO # endif # define machine_is_tango() (machine_arch_type == MACH_TYPE_TANGO) #else # define machine_is_tango() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HANLIN_V5 # endif # define <API key>() (machine_arch_type == MACH_TYPE_HANLIN_V5) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TETON_BGA # endif # define <API key>() (machine_arch_type == MACH_TYPE_TETON_BGA) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_TAM3517 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TAM3517 # endif # define machine_is_tam3517() (machine_arch_type == MACH_TYPE_TAM3517) #else # define machine_is_tam3517() (0) #endif #ifdef CONFIG_MACH_PDC100 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PDC100 # endif # define machine_is_pdc100() (machine_arch_type == MACH_TYPE_PDC100) #else # define machine_is_pdc100() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_P565 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_P565 # endif # define machine_is_p565() (machine_arch_type == MACH_TYPE_P565) #else # define machine_is_p565() (0) #endif #ifdef CONFIG_MACH_ACER_A4 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ACER_A4 # endif # define machine_is_acer_a4() (machine_arch_type == MACH_TYPE_ACER_A4) #else # define machine_is_acer_a4() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_ESHARE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ESHARE # endif # define machine_is_eshare() (machine_arch_type == MACH_TYPE_ESHARE) #else # define machine_is_eshare() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_WLBARGN # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_WLBARGN # endif # define machine_is_wlbargn() (machine_arch_type == MACH_TYPE_WLBARGN) #else # define machine_is_wlbargn() (0) #endif #ifdef CONFIG_MACH_BM170 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BM170 # endif # define machine_is_bm170() (machine_arch_type == MACH_TYPE_BM170) #else # define machine_is_bm170() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ELV_LCU1 # endif # define machine_is_elv_lcu1() (machine_arch_type == MACH_TYPE_ELV_LCU1) #else # define machine_is_elv_lcu1() (0) #endif #ifdef CONFIG_MACH_MCU1 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MCU1 # endif # define machine_is_mcu1() (machine_arch_type == MACH_TYPE_MCU1) #else # define machine_is_mcu1() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SMDKC210 # endif # define machine_is_smdkc210() (machine_arch_type == MACH_TYPE_SMDKC210) #else # define machine_is_smdkc210() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_SPYPLUG # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SPYPLUG # endif # define machine_is_spyplug() (machine_arch_type == MACH_TYPE_SPYPLUG) #else # define machine_is_spyplug() (0) #endif #ifdef CONFIG_MACH_GINGER # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GINGER # endif # define machine_is_ginger() (machine_arch_type == MACH_TYPE_GINGER) #else # define machine_is_ginger() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TNY_T3530 # endif # define <API key>() (machine_arch_type == MACH_TYPE_TNY_T3530) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_PCA102 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PCA102 # endif # define machine_is_pca102() (machine_arch_type == MACH_TYPE_PCA102) #else # define machine_is_pca102() (0) #endif #ifdef CONFIG_MACH_SPADE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SPADE # endif # define machine_is_spade() (machine_arch_type == MACH_TYPE_SPADE) #else # define machine_is_spade() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_T5325 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_T5325 # endif # define machine_is_t5325() (machine_arch_type == MACH_TYPE_T5325) #else # define machine_is_t5325() (0) #endif #ifdef CONFIG_MACH_GW2361 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GW2361 # endif # define machine_is_gw2361() (machine_arch_type == MACH_TYPE_GW2361) #else # define machine_is_gw2361() (0) #endif #ifdef CONFIG_MACH_ELOG # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ELOG # endif # define machine_is_elog() (machine_arch_type == MACH_TYPE_ELOG) #else # define machine_is_elog() (0) #endif #ifdef CONFIG_MACH_INCOME # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_INCOME # endif # define machine_is_income() (machine_arch_type == MACH_TYPE_INCOME) #else # define machine_is_income() (0) #endif #ifdef CONFIG_MACH_BCM589X # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_BCM589X # endif # define machine_is_bcm589x() (machine_arch_type == MACH_TYPE_BCM589X) #else # define machine_is_bcm589x() (0) #endif #ifdef CONFIG_MACH_ETNA # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ETNA # endif # define machine_is_etna() (machine_arch_type == MACH_TYPE_ETNA) #else # define machine_is_etna() (0) #endif #ifdef CONFIG_MACH_HAWKS # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_HAWKS # endif # define machine_is_hawks() (machine_arch_type == MACH_TYPE_HAWKS) #else # define machine_is_hawks() (0) #endif #ifdef CONFIG_MACH_MESON # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MESON # endif # define machine_is_meson() (machine_arch_type == MACH_TYPE_MESON) #else # define machine_is_meson() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_XSBASE255 # endif # define <API key>() (machine_arch_type == MACH_TYPE_XSBASE255) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_PVM2030 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_PVM2030 # endif # define machine_is_pvm2030() (machine_arch_type == MACH_TYPE_PVM2030) #else # define machine_is_pvm2030() (0) #endif #ifdef CONFIG_MACH_MIOA502 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MIOA502 # endif # define machine_is_mioa502() (machine_arch_type == MACH_TYPE_MIOA502) #else # define machine_is_mioa502() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_MX257SX # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MX257SX # endif # define machine_is_mx257sx() (machine_arch_type == MACH_TYPE_MX257SX) #else # define machine_is_mx257sx() (0) #endif #ifdef CONFIG_MACH_GONI # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_GONI # endif # define machine_is_goni() (machine_arch_type == MACH_TYPE_GONI) #else # define machine_is_goni() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_QUICKSTEP # endif # define <API key>() (machine_arch_type == MACH_TYPE_QUICKSTEP) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_DMW96 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DMW96 # endif # define machine_is_dmw96() (machine_arch_type == MACH_TYPE_DMW96) #else # define machine_is_dmw96() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_TRIDENT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_TRIDENT # endif # define machine_is_trident() (machine_arch_type == MACH_TYPE_TRIDENT) #else # define machine_is_trident() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_LIGHTNING # endif # define <API key>() (machine_arch_type == MACH_TYPE_LIGHTNING) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_ICONNECT # endif # define machine_is_iconnect() (machine_arch_type == MACH_TYPE_ICONNECT) #else # define machine_is_iconnect() (0) #endif #ifdef CONFIG_MACH_AUTOBOT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_AUTOBOT # endif # define machine_is_autobot() (machine_arch_type == MACH_TYPE_AUTOBOT) #else # define machine_is_autobot() (0) #endif #ifdef CONFIG_MACH_COCONUT # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_COCONUT # endif # define machine_is_coconut() (machine_arch_type == MACH_TYPE_COCONUT) #else # define machine_is_coconut() (0) #endif #ifdef CONFIG_MACH_DURIAN # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_DURIAN # endif # define machine_is_durian() (machine_arch_type == MACH_TYPE_DURIAN) #else # define machine_is_durian() (0) #endif #ifdef CONFIG_MACH_CAYENNE # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_CAYENNE # endif # define machine_is_cayenne() (machine_arch_type == MACH_TYPE_CAYENNE) #else # define machine_is_cayenne() (0) #endif #ifdef CONFIG_MACH_FUJI # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_FUJI # endif # define machine_is_fuji() (machine_arch_type == MACH_TYPE_FUJI) #else # define machine_is_fuji() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef CONFIG_MACH_EM1SY # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_EM1SY # endif # define machine_is_em1sy() (machine_arch_type == MACH_TYPE_EM1SY) #else # define machine_is_em1sy() (0) #endif #ifdef CONFIG_MACH_M502 # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_M502 # endif # define machine_is_m502() (machine_arch_type == MACH_TYPE_M502) #else # define machine_is_m502() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_MATRIX518 # endif # define <API key>() (machine_arch_type == MACH_TYPE_MATRIX518) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type <API key> # endif # define <API key>() (machine_arch_type == <API key>) #else # define <API key>() (0) #endif #ifdef <API key> # ifdef machine_arch_type # undef machine_arch_type # define machine_arch_type __machine_arch_type # else # define machine_arch_type MACH_TYPE_SPEAR1310 # endif # define <API key>() (machine_arch_type == MACH_TYPE_SPEAR1310) #else # define <API key>() (0) #endif /* * These have not yet been registered */ #ifndef machine_arch_type #define machine_arch_type __machine_arch_type #endif #endif
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ #include "unix-stream-factory.hpp" #include <boost/filesystem.hpp> // for canonical() namespace nfd { shared_ptr<UnixStreamChannel> UnixStreamFactory::createChannel(const std::string& unixSocketPath) { boost::filesystem::path p(unixSocketPath); p = boost::filesystem::canonical(p.parent_path()) / p.filename(); unix_stream::Endpoint endpoint(p.string()); auto channel = findChannel(endpoint); if (channel) return channel; channel = make_shared<UnixStreamChannel>(endpoint); m_channels[endpoint] = channel; return channel; } void UnixStreamFactory::createFace(const FaceUri& uri, ndn::nfd::FacePersistency persistency, bool <API key>, const FaceCreatedCallback& onCreated, const <API key>& onFailure) { onFailure(406, "Unsupported protocol"); } std::vector<shared_ptr<const Channel>> UnixStreamFactory::getChannels() const { std::vector<shared_ptr<const Channel>> channels; channels.reserve(m_channels.size()); for (const auto& i : m_channels) channels.push_back(i.second); return channels; } shared_ptr<UnixStreamChannel> UnixStreamFactory::findChannel(const unix_stream::Endpoint& endpoint) const { auto i = m_channels.find(endpoint); if (i != m_channels.end()) return i->second; else return nullptr; } } // namespace nfd
<?php // If this file is called directly, abort. if ( ! defined( 'WPINC' ) ) { die; } function <API key>() { // If user can't edit theme options, exit if ( !current_user_can( 'edit_theme_options' ) ) return; // Loads the required Options Framework classes. require <API key>.'includes/<API key>.php'; require <API key>.'includes/<API key>.php'; require <API key>.'includes/<API key>.php'; require <API key>.'includes/<API key>.php'; require <API key>.'includes/<API key>.php'; // Instantiate the main plugin class. $options_framework = new Options_Framework; $options_framework->init(); // Instantiate the options page. $<API key> = new <API key>; $<API key>->init(); // Instantiate the media uploader class $<API key> = new <API key>; $<API key>->init(); } add_action( 'init', '<API key>', 20 ); /** * Helper function to return the theme option value. * If no value has been saved, it returns $default. * Needed because options are saved as serialized strings. * * Not in a class to support backwards compatibility in themes. */ if ( ! function_exists( 'cubby_of_get_option' ) ) : function cubby_of_get_option( $name, $default = false ) { $config = get_option( <API key>.'optionsframework' ); if ( ! isset( $config['id'] ) ) { return $default; } $options = get_option( $config['id'] ); if ( isset( $options[$name] ) ) { return $options[$name]; } return $default; } endif;
import aima.core.search.framework.GoalTest; public class RetoAtascoGoalTest implements GoalTest { public boolean isGoalState(Object state) { EstadoRetoAtasco estado = (EstadoRetoAtasco) state; if(estado.getTablero()[EstadoRetoAtasco.n-1][EstadoRetoAtasco.fin]==1)return true; return false; } }
<?php // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) { exit; } add_filter( 'cmb2_meta_boxes', '<API key>' ); /** * Define the metabox and field configurations. * * @param array $meta_boxes * * @return array */ function <API key>( array $meta_boxes ) { $post_id = <API key>(); $price = give_get_form_price( $post_id ); $goal = give_get_form_goal( $post_id ); $variable_pricing = <API key>( $post_id ); $prices = <API key>( $post_id ); //No empty prices - min. 1.00 for new forms if ( empty( $price ) ) { $price = esc_attr( give_format_amount( '1.00' ) ); } // Start with an underscore to hide fields from custom fields list $prefix = '_give_'; /** * Repeatable Field Groups */ $meta_boxes['form_field_options'] = apply_filters( '<API key>', array( 'id' => 'form_field_options', 'title' => __( 'Donation Options', 'give' ), 'object_types' => array( 'give_forms' ), 'context' => 'normal', 'priority' => 'high', //Show above Content WYSIWYG 'fields' => apply_filters( '<API key>', array( //Donation Option array( 'name' => __( 'Donation Option', 'give' ), 'description' => __( 'Would you like this form to have one set donation price or multiple levels (for example, $10 silver, $20 gold, $50 platinum)?', 'give' ), 'id' => $prefix . 'price_option', 'type' => 'radio_inline', 'default' => 'set', 'options' => apply_filters( '<API key>', array( 'set' => __( 'Set Donation', 'give' ), 'multi' => __( 'Multi-level Donation', 'give' ), ) ), ), array( 'name' => __( 'Set Donation', 'give' ), 'description' => __( 'This is the set donation amount for this form.', 'give' ), 'id' => $prefix . 'set_price', 'type' => 'text_small', 'row_classes' => 'give-subfield', 'before_field' => give_get_option( 'currency_position' ) == 'before' ? '<span class="give-money-symbol <API key>">' . <API key>() . '</span>' : '', 'after_field' => give_get_option( 'currency_position' ) == 'after' ? '<span class="give-money-symbol <API key>">' . <API key>() . '</span>' : '', 'attributes' => array( 'placeholder' => give_format_amount( '1.00' ), 'value' => $price, 'class' => 'cmb-type-text-small give-money-field', ), ), //Donation levels: Header array( 'id' => $prefix . 'levels_header', 'type' => '<API key>', ), //Donation Levels: Repeatable CMB2 Group array( 'id' => $prefix . 'donation_levels', 'type' => 'group', 'row_classes' => 'give-subfield', 'options' => array( 'add_button' => __( 'Add Level', 'give' ), 'remove_button' => __( '<span class="dashicons dashicons-no"></span>', 'give' ), 'sortable' => true, // beta ), // Fields array works the same, except id's only need to be unique for this group. Prefix is not needed. 'fields' => apply_filters( '<API key>', array( array( 'name' => __( 'ID', 'give' ), 'id' => $prefix . 'id', 'type' => 'levels_id', ), array( 'name' => __( 'Amount', 'give' ), 'id' => $prefix . 'amount', 'type' => 'text_small', 'before_field' => give_get_option( 'currency_position' ) == 'before' ? '<span class="give-money-symbol <API key>">' . <API key>() . '</span>' : '', 'after_field' => give_get_option( 'currency_position' ) == 'after' ? '<span class="give-money-symbol <API key>">' . <API key>() . '</span>' : '', 'attributes' => array( 'placeholder' => give_format_amount( '1.00' ), 'class' => 'cmb-type-text-small give-money-field', ), 'before' => '<API key>', ), array( 'name' => __( 'Text', 'give' ), 'id' => $prefix . 'text', 'type' => 'text', 'attributes' => array( 'placeholder' => __( 'Donation Level', 'give' ), 'rows' => 3, ), ), array( 'name' => __( 'Default', 'give' ), 'id' => $prefix . 'default', 'type' => '<API key>' ), ) ), ), //Display Style array( 'name' => __( 'Display Style', 'give' ), 'description' => __( 'Set how the donations levels will display on the form.', 'give' ), 'id' => $prefix . 'display_style', 'type' => 'radio_inline', 'default' => 'buttons', 'options' => array( 'buttons' => __( 'Buttons', 'give' ), 'radios' => __( 'Radios', 'give' ), 'dropdown' => __( 'Dropdown', 'give' ), ), ), //Custom Amount array( 'name' => __( 'Custom Amount', 'give' ), 'description' => __( 'Do you want the user to be able to input their own donation amount?', 'give' ), 'id' => $prefix . 'custom_amount', 'type' => 'radio_inline', 'default' => 'no', 'options' => array( 'yes' => __( 'Yes', 'give' ), 'no' => __( 'No', 'give' ), ), ), array( 'name' => __( 'Custom Amount Text', 'give' ), 'description' => __( 'This text appears as a label next to the custom amount field for single level forms. For multi-level forms the text will appear as it\'s own level (ie button, radio, or select option). Add your own message or leave this field blank to prevent it from displaying within your form.', 'give' ), 'id' => $prefix . 'custom_amount_text', 'type' => 'text', 'row_classes' => 'give-subfield', 'attributes' => array( 'rows' => 3, 'placeholder' => __( 'Give a Custom Amount', 'give' ), ), ), //Goals array( 'name' => __( 'Set Goal?', 'give' ), 'description' => __( 'Do you want to set a donation goal for this form?', 'give' ), 'id' => $prefix . 'goal_option', 'type' => 'radio_inline', 'default' => 'no', 'options' => array( 'yes' => __( 'Yes', 'give' ), 'no' => __( 'No', 'give' ), ), ), array( 'name' => __( 'Set Goal', 'give' ), 'description' => __( 'This is the goal you want to achieve for this form.', 'give' ), 'id' => $prefix . 'set_goal', 'type' => 'text_small', 'row_classes' => 'give-subfield', 'before_field' => give_get_option( 'currency_position' ) == 'before' ? '<span class="give-money-symbol <API key>">' . <API key>() . '</span>' : '', 'after_field' => give_get_option( 'currency_position' ) == 'after' ? '<span class="give-money-symbol <API key>">' . <API key>() . '</span>' : '', 'attributes' => array( 'placeholder' => give_format_amount( '0.00' ), 'value' => isset( $goal ) ? esc_attr( give_format_amount( $goal ) ) : '', 'class' => 'cmb-type-text-small give-money-field', ), ), array( 'name' => __( 'Goal Progress Bar Color', 'give' ), 'id' => $prefix . 'goal_color', 'type' => 'colorpicker', 'row_classes' => 'give-subfield', 'default' => '#2bc253', ), ) ) ) ); /** * Content Field */ $meta_boxes['<API key>'] = apply_filters( '<API key>', array( 'id' => '<API key>', 'title' => __( 'Form Content', 'give' ), 'object_types' => array( 'give_forms' ), 'context' => 'normal', 'priority' => 'high', //Show above Content WYSIWYG 'fields' => apply_filters( '<API key>', array( //Donation Option array( 'name' => __( 'Display Content', 'give' ), 'description' => __( 'Do you want to display content? If you select "Yes" a WYSIWYG editor will appear which you will be able to enter content to display above or below the form.', 'give' ), 'id' => $prefix . 'content_option', 'type' => 'select', 'options' => apply_filters( '<API key>', array( 'none' => __( 'No content', 'give' ), 'give_pre_form' => __( 'Yes, display content ABOVE the form fields', 'give' ), 'give_post_form' => __( 'Yes, display content BELOW the form fields', 'give' ), ) ), 'default' => 'none', ), array( 'name' => __( 'Content', 'give' ), 'description' => __( 'This content will display on the single give form page.', 'give' ), 'id' => $prefix . 'form_content', 'row_classes' => 'give-subfield', 'type' => 'wysiwyg' ), ) ) ) ); /** * Display Options */ $meta_boxes['<API key>'] = apply_filters( '<API key>', array( 'id' => '<API key>', 'title' => __( 'Form Display Options', 'give' ), 'object_types' => array( 'give_forms' ), 'context' => 'normal', // 'normal', 'advanced', or 'side' 'priority' => 'high', //Show above Content WYSIWYG 'show_names' => true, // Show field names on the left 'fields' => apply_filters( '<API key>', array( array( 'name' => __( 'Payment Fields', 'give' ), 'desc' => __( 'How would you like to display payment information for this form? The "Show on Page" option will display the entire form when the page loads. "Reveal Upon Click" places a button below the donation fields and upon clicks slides into view the rest of the fields. "Modal Window Upon Click" is a similar option, rather than sliding into view the fields they will open in a shadow box or "modal" window.', 'give' ), 'id' => $prefix . 'payment_display', 'type' => 'select', 'options' => array( 'onpage' => __( 'Show on Page', 'give' ), 'reveal' => __( 'Reveal Upon Click', 'give' ), 'modal' => __( 'Modal Window Upon Click', 'give' ), ), 'default' => 'onpage', ), array( 'id' => $prefix . 'reveal_label', 'name' => __( 'Reveal / Modal Open Text', 'give' ), 'desc' => __( 'The button label for completing the donation.', 'give' ), 'type' => 'text_small', 'row_classes' => 'give-subfield', 'attributes' => array( 'placeholder' => __( 'Donate Now', 'give' ), ), ), array( 'id' => $prefix . 'checkout_label', 'name' => __( 'Complete Donation Text', 'give' ), 'desc' => __( 'The button label for completing a donation.', 'give' ), 'type' => 'text_small', 'attributes' => array( 'placeholder' => __( 'Donate Now', 'give' ), ), ), array( 'name' => __( 'Default Gateway', 'give' ), 'desc' => __( 'By default, the gateway for this form will inherit the global default gateway (set under Give > Settings > Payment Gateways). This option allows you to customize the default gateway for this form only.', 'give' ), 'id' => $prefix . 'default_gateway', 'type' => 'default_gateway' ), array( 'name' => __( 'Disable Guest Donations', 'give' ), 'desc' => __( 'Do you want to require users be logged-in to make donations?', 'give' ), 'id' => $prefix . 'logged_in_only', 'type' => 'checkbox' ), array( 'name' => __( 'Register / Login Form', 'give' ), 'desc' => __( 'Display the registration and login forms in the checkout section for non-logged-in users. Note: this option will not require users to register or log in prior to completing a donation. It simply determines whether the login and/or registration form are displayed on the checkout page.', 'give' ), 'id' => $prefix . 'show_register_form', 'type' => 'select', 'options' => array( 'both' => __( 'Registration and Login Forms', 'give' ), 'registration' => __( 'Registration Form Only', 'give' ), 'login' => __( 'Login Form Only', 'give' ), 'none' => __( 'None', 'give' ), ), 'default' => 'none', ), array( 'name' => __( 'Floating Labels', 'give' ), 'desc' => sprintf( __( 'Select the <a href="%s" target="_blank">floating labels</a> setting for this Give form.<br>Be aware that if you have the "Disable CSS" option enabled, you will need to style the floating labels yourself.', 'give' ), esc_url( "http://bradfrost.com/blog/post/float-label-pattern/" ) ), 'id' => $prefix . '<API key>', 'type' => 'select', 'options' => array( '' => __( 'Use the global setting', 'give' ), 'enabled' => __( 'Enabled', 'give' ), 'disabled' => __( 'Disabled', 'give' ), ), 'default' => 'none', ) ) ) ) ); /** * Terms & Conditions */ $meta_boxes['form_terms_options'] = apply_filters( '<API key>', array( 'id' => 'form_terms_options', 'title' => __( 'Terms and Conditions', 'give' ), 'object_types' => array( 'give_forms' ), 'context' => 'normal', 'priority' => 'high', //Show above Content WYSIWYG 'fields' => apply_filters( '<API key>', array( //Donation Option array( 'name' => __( 'Terms and Conditions', 'give' ), 'description' => __( 'Do you want to require the user to agree to terms and conditions prior to being able to complete their donation?', 'give' ), 'id' => $prefix . 'terms_option', 'type' => 'select', 'options' => apply_filters( '<API key>', array( 'none' => __( 'No', 'give' ), 'yes' => __( 'Yes', 'give' ), ) ), 'default' => 'none', ), array( 'id' => $prefix . 'agree_label', 'name' => __( 'Agree to Terms Label', 'give' ), 'desc' => __( 'The label shown next to the agree to terms check box. Add your own to customize or leave blank to use the default text placeholder.', 'give' ), 'type' => 'text', 'row_classes' => 'give-subfield', 'size' => 'regular', 'attributes' => array( 'placeholder' => __( 'Agree to Terms?', 'give' ), ), ), array( 'id' => $prefix . 'agree_text', 'row_classes' => 'give-subfield', 'name' => __( 'Agreement Text', 'give' ), 'desc' => __( 'This is the actual text which the user will have to agree to in order to make a donation.', 'give' ), 'type' => 'wysiwyg' ), ) ) ) ); return $meta_boxes; } /** * Repeatable Levels Custom Field */ add_action( '<API key>', '<API key>', 10 ); function <API key>() { ?> <div class="table-container"> <div class="table-row"> <div class="table-cell col-id"><?php _e( 'ID', 'give' ); ?></div> <div class="table-cell col-amount"><?php _e( 'Amount', 'give' ); ?></div> <div class="table-cell col-text"><?php _e( 'Text', 'give' ); ?></div> <div class="table-cell col-default"><?php _e( 'Default', 'give' ); ?></div> <?php do_action( '<API key>' ); ?> <div class="table-cell col-sort"><?php _e( 'Sort', 'give' ); ?></div> </div> </div> <?php } /** * CMB2 Repeatable ID Field * * @description: Custom CMB2 incremental Levels ID Field * @since 1.0 */ add_action( '<API key>', '<API key>', 10, 5 ); function <API key>( $field_object, $escaped_value, $object_id, $object_type, $field_type_object ) { $escaped_value = ( isset( $escaped_value['level_id'] ) ? $escaped_value['level_id'] : '' ); $field_options_array = array( 'class' => 'give-hidden give-level-id-input', 'name' => $field_type_object->_name( '[level_id]' ), 'id' => $field_type_object->_id( '_level_id' ), 'value' => $escaped_value, 'type' => 'number', 'desc' => '', ); echo '<p class="give-level-id">' . $escaped_value . '</p>'; echo $field_type_object->input( $field_options_array ); } /** * CMB2 Repeatable Default ID Field */ add_action( '<API key>', '<API key>', 10, 5 ); function <API key>( $field_object, $escaped_value, $object_id, $object_type, $field_type_object ) { echo '<input type="radio" class="cmb2-option <API key>" name="' . $field_object->args['_name'] . '" id="' . $field_object->args['id'] . '" value="default" ' . checked( 'default', $escaped_value, false ) . '>'; echo '<label for="' . $field_object->args['id'] . '">Default</label>'; } /** * Add Shortcode Copy Field to Publish Metabox * * @since: 1.0 */ function <API key>() { if ( 'give_forms' !== get_post_type() ) { return false; } global $post; //Only enqueue scripts for CPT on post type screen if ( 'give_forms' === $post->post_type ) { //Shortcode column with select all input $shortcode = htmlentities( '[give_form id="' . $post->ID . '"]' ); echo '<div class="shortcode-wrap box-sizing"><label>' . __( 'Give Form Shortcode:', 'give' ) . '</label><input onClick="this.setSelectionRange(0, this.value.length)" type="text" class="shortcode-input" readonly value="' . $shortcode . '"></div>'; } } add_action( '<API key>', '<API key>' );
<!DOCTYPE html PUBLIC "- <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <script src="js/jquery.min.js"></script> <script type="text/javascript" src="js/js.cookie.js"></script> <title>BenchmarkTest00045</title> </head> <body> <form action="/benchmark/BenchmarkTest00045" method="POST" id="<API key>"> <p>Please make your car selection, and edit the value to be sent [value]:</p> <select name="vector" multiple> <option value="FileName" selected>Audi. [FileName]</option> <option value="Ford">Ford. [Ford]</option> <option value="Opel">Opel. [Opel]</option> <option value="Subaru">Subaru. [Subaru]</option> </select><br/><br/> <input type="submit" value="Submit"> </form> </body> </html>
#include <vector> #include <zlib.h> #include "Common/CommonPaths.h" #include "Common/CommonTypes.h" #include "Common/FileUtil.h" #include "Common/MathUtil.h" #include "Common/StringUtil.h" #include "Core/ConfigManager.h" #include "Core/Core.h" #include "Core/Host.h" #include "Core/PatchEngine.h" #include "Core/Boot/Boot.h" #include "Core/Boot/Boot_DOL.h" #include "Core/Debugger/Debugger_SymbolMap.h" #include "Core/HLE/HLE.h" #include "Core/HW/DVDInterface.h" #include "Core/HW/EXI_DeviceIPL.h" #include "Core/HW/Memmap.h" #include "Core/HW/ProcessorInterface.h" #include "Core/HW/VideoInterface.h" #include "Core/IPC_HLE/WII_IPC_HLE.h" #include "Core/PowerPC/PowerPC.h" #include "Core/PowerPC/PPCAnalyst.h" #include "Core/PowerPC/PPCSymbolDB.h" #include "Core/PowerPC/SignatureDB.h" #include "DiscIO/NANDContentLoader.h" #include "DiscIO/VolumeCreator.h" bool CBoot::DVDRead(u64 dvd_offset, u32 output_address, u32 length, bool decrypt) { std::vector<u8> buffer(length); if (!DVDInterface::GetVolume().Read(dvd_offset, length, buffer.data(), decrypt)) return false; Memory::CopyToEmu(output_address, buffer.data(), length); return true; } void CBoot::Load_FST(bool _bIsWii) { if (!DVDInterface::VolumeIsValid()) return; const DiscIO::IVolume& volume = DVDInterface::GetVolume(); // copy first 20 bytes of disc to start of Mem 1 DVDRead(/*offset*/0, /*address*/0, /*length*/0x20, false); // copy of game id Memory::Write_U32(Memory::Read_U32(0x0000), 0x3180); u32 shift = 0; if (_bIsWii) shift = 2; u32 fst_offset, fst_size, max_fst_size; volume.ReadSwapped(0x0424, &fst_offset, _bIsWii); volume.ReadSwapped(0x0428, &fst_size, _bIsWii); volume.ReadSwapped(0x042c, &max_fst_size, _bIsWii); u32 arena_high = ROUND_DOWN(0x817FFFFF - (max_fst_size << shift), 0x20); Memory::Write_U32(arena_high, 0x00000034); // load FST DVDRead(fst_offset << shift, arena_high, fst_size << shift, _bIsWii); Memory::Write_U32(arena_high, 0x00000038); Memory::Write_U32(max_fst_size << shift, 0x0000003c); } void CBoot::<API key>() { <API key>(); } bool CBoot::FindMapFile(std::string* existing_map_file, std::string* writable_map_file, std::string* title_id) { std::string title_id_str; size_t name_begin_index; SConfig& _StartupPara = SConfig::GetInstance(); switch (_StartupPara.m_BootType) { case SConfig::BOOT_WII_NAND: { const DiscIO::CNANDContentLoader& Loader = DiscIO::CNANDContentManager::Access().GetNANDLoader(_StartupPara.m_strFilename); if (Loader.IsValid()) { u64 TitleID = Loader.GetTitleID(); title_id_str = StringFromFormat("%08X_%08X", (u32)(TitleID >> 32) & 0xFFFFFFFF, (u32)TitleID & 0xFFFFFFFF); } break; } case SConfig::BOOT_ELF: case SConfig::BOOT_DOL: // Strip the .elf/.dol file extension and directories before the name name_begin_index = _StartupPara.m_strFilename.find_last_of("/") + 1; if ((_StartupPara.m_strFilename.find_last_of("\\") + 1) > name_begin_index) { name_begin_index = _StartupPara.m_strFilename.find_last_of("\\") + 1; } title_id_str = _StartupPara.m_strFilename.substr( name_begin_index, _StartupPara.m_strFilename.size() - 4 - name_begin_index); break; default: title_id_str = _StartupPara.GetUniqueID(); break; } if (writable_map_file) *writable_map_file = File::GetUserPath(D_MAPS_IDX) + title_id_str + ".map"; if (title_id) *title_id = title_id_str; bool found = false; static const std::string maps_directories[] = { File::GetUserPath(D_MAPS_IDX), File::GetSysDirectory() + MAPS_DIR DIR_SEP }; for (size_t i = 0; !found && i < ArraySize(maps_directories); ++i) { std::string path = maps_directories[i] + title_id_str + ".map"; if (File::Exists(path)) { found = true; if (existing_map_file) *existing_map_file = path; } } return found; } bool CBoot::LoadMapFromFilename() { std::string strMapFilename; bool found = FindMapFile(&strMapFilename, nullptr); if (found && g_symbolDB.LoadMap(strMapFilename)) { <API key>(); return true; } return false; } // If ipl.bin is not found, this function does *some* of what BS1 does: // loading IPL(BS2) and jumping to it. // It does not initialize the hardware or anything else like BS1 does. bool CBoot::Load_BS2(const std::string& _rBootROMFilename) { // CRC32 const u32 USA_v1_0 = 0x6D740AE7; // https://forums.dolphin-emu.org/<API key>?pid=385344#pid385344 const u32 USA_v1_1 = 0xD5E6FEEA; // https://forums.dolphin-emu.org/<API key>?pid=385334#pid385334 const u32 USA_v1_2 = 0x86573808; // https://forums.dolphin-emu.org/<API key>?pid=385399#pid385399 const u32 JAP_v1_0 = 0x6DAC1F2A; // Redump const u32 JAP_v1_1 = 0xD235E3F9; const u32 PAL_v1_0 = 0x4F319F43; // Redump const u32 PAL_v1_2 = 0xAD1B7F16; // Redump // Load the whole ROM dump std::string data; if (!File::ReadFileToString(_rBootROMFilename, data)) return false; // Use zlibs crc32 implementation to compute the hash u32 ipl_hash = crc32(0L, Z_NULL, 0); ipl_hash = crc32(ipl_hash, (const Bytef*)data.data(), (u32)data.size()); std::string ipl_region; switch (ipl_hash) { case USA_v1_0: case USA_v1_1: case USA_v1_2: ipl_region = USA_DIR; break; case JAP_v1_0: case JAP_v1_1: ipl_region = JAP_DIR; break; case PAL_v1_0: case PAL_v1_2: ipl_region = EUR_DIR; break; default: PanicAlertT("IPL with unknown hash %x", ipl_hash); break; } std::string BootRegion = _rBootROMFilename.substr(_rBootROMFilename.find_last_of(DIR_SEP) - 3, 3); if (BootRegion != ipl_region) PanicAlertT("%s IPL found in %s directory. The disc might not be recognized", ipl_region.c_str(), BootRegion.c_str()); // Run the descrambler over the encrypted section containing BS1/BS2 CEXIIPL::Descrambler((u8*)data.data() + 0x100, 0x1AFE00); // TODO: Execution is supposed to start at 0xFFF00000, not 0x81200000; // copying the initial boot code to 0x81200000 is a hack. // For now, HLE the first few instructions and start at 0x81200150 // to work around this. Memory::CopyToEmu(0x01200000, data.data() + 0x100, 0x700); Memory::CopyToEmu(0x01300000, data.data() + 0x820, 0x1AFE00); PowerPC::ppcState.gpr[3] = 0xfff0001f; PowerPC::ppcState.gpr[4] = 0x00002030; PowerPC::ppcState.gpr[5] = 0x0000009c; PowerPC::ppcState.msr = 0x00002030; PowerPC::ppcState.spr[SPR_HID0] = 0x0011c464; PowerPC::ppcState.spr[SPR_IBAT0U] = 0x80001fff; PowerPC::ppcState.spr[SPR_IBAT0L] = 0x00000002; PowerPC::ppcState.spr[SPR_IBAT3U] = 0xfff0001f; PowerPC::ppcState.spr[SPR_IBAT3L] = 0xfff00001; PowerPC::ppcState.spr[SPR_DBAT0U] = 0x80001fff; PowerPC::ppcState.spr[SPR_DBAT0L] = 0x00000002; PowerPC::ppcState.spr[SPR_DBAT1U] = 0xc0001fff; PowerPC::ppcState.spr[SPR_DBAT1L] = 0x0000002a; PowerPC::ppcState.spr[SPR_DBAT3U] = 0xfff0001f; PowerPC::ppcState.spr[SPR_DBAT3L] = 0xfff00001; PC = 0x81200150; return true; } // Third boot step after BootManager and Core. See Call schedule in BootManager.cpp bool CBoot::BootUp() { SConfig& _StartupPara = SConfig::GetInstance(); NOTICE_LOG(BOOT, "Booting %s", _StartupPara.m_strFilename.c_str()); g_symbolDB.Clear(); // PAL Wii uses NTSC framerate and linecount in 60Hz modes VideoInterface::Preset(_StartupPara.bNTSC || (_StartupPara.bWii && _StartupPara.bPAL60)); switch (_StartupPara.m_BootType) { // GCM and Wii case SConfig::BOOT_ISO: { DVDInterface::SetVolumeName(_StartupPara.m_strFilename); DVDInterface::SetDiscInside(DVDInterface::VolumeIsValid()); if (!DVDInterface::VolumeIsValid()) return false; const DiscIO::IVolume& pVolume = DVDInterface::GetVolume(); if ((pVolume.GetVolumeType() == DiscIO::IVolume::WII_DISC) != _StartupPara.bWii) { PanicAlertT("Warning - starting ISO in wrong console mode!"); } std::string unique_id = DVDInterface::GetVolume().GetUniqueID(); if (unique_id.size() >= 4) VideoInterface::SetRegionReg(unique_id.at(3)); u32 tmd_size; std::unique_ptr<u8[]> tmd_buf = pVolume.GetTMD(&tmd_size); if (tmd_size) { <API key>::ES_DIVerify(tmd_buf.get(), tmd_size); } _StartupPara.bWii = pVolume.GetVolumeType() == DiscIO::IVolume::WII_DISC; // HLE BS2 or not if (_StartupPara.bHLE_BS2) { EmulatedBS2(_StartupPara.bWii); } else if (!Load_BS2(_StartupPara.m_strBootROM)) { // If we can't load the bootrom file we HLE it instead EmulatedBS2(_StartupPara.bWii); } else { // Load patches if they weren't already PatchEngine::LoadPatches(); } // Scan for common HLE functions if (_StartupPara.bSkipIdle && _StartupPara.bHLE_BS2 && !_StartupPara.bEnableDebugging) { PPCAnalyst::FindFunctions(0x80004000, 0x811fffff, &g_symbolDB); SignatureDB db; if (db.Load(File::GetSysDirectory() + TOTALDB)) { db.Apply(&g_symbolDB); HLE::PatchFunctions(); db.Clear(); } } // Try to load the symbol map if there is one, and then scan it for // and eventually replace code if (LoadMapFromFilename()) HLE::PatchFunctions(); break; } // DOL case SConfig::BOOT_DOL: { CDolLoader dolLoader(_StartupPara.m_strFilename); if (!dolLoader.IsValid()) return false; // Check if we have gotten a Wii file or not bool dolWii = dolLoader.IsWii(); if (dolWii != _StartupPara.bWii) { PanicAlertT("Warning - starting DOL in wrong console mode!"); } bool BS2Success = false; if (dolWii) { BS2Success = EmulatedBS2(dolWii); } else if ((!DVDInterface::VolumeIsValid() || DVDInterface::GetVolume().GetVolumeType() != DiscIO::IVolume::WII_DISC) && !_StartupPara.m_strDefaultISO.empty()) { DVDInterface::SetVolumeName(_StartupPara.m_strDefaultISO); BS2Success = EmulatedBS2(dolWii); } if (!_StartupPara.m_strDVDRoot.empty()) { NOTICE_LOG(BOOT, "Setting DVDRoot %s", _StartupPara.m_strDVDRoot.c_str()); DVDInterface::SetVolumeDirectory(_StartupPara.m_strDVDRoot, dolWii, _StartupPara.m_strApploader, _StartupPara.m_strFilename); BS2Success = EmulatedBS2(dolWii); } DVDInterface::SetDiscInside(DVDInterface::VolumeIsValid()); if (!BS2Success) { // Set up MSR and the BAT SPR registers. UReg_MSR& m_MSR = ((UReg_MSR&)PowerPC::ppcState.msr); m_MSR.FP = 1; m_MSR.DR = 1; m_MSR.IR = 1; m_MSR.EE = 1; PowerPC::ppcState.spr[SPR_IBAT0U] = 0x80001fff; PowerPC::ppcState.spr[SPR_IBAT0L] = 0x00000002; PowerPC::ppcState.spr[SPR_IBAT4U] = 0x90001fff; PowerPC::ppcState.spr[SPR_IBAT4L] = 0x10000002; PowerPC::ppcState.spr[SPR_DBAT0U] = 0x80001fff; PowerPC::ppcState.spr[SPR_DBAT0L] = 0x00000002; PowerPC::ppcState.spr[SPR_DBAT1U] = 0xc0001fff; PowerPC::ppcState.spr[SPR_DBAT1L] = 0x0000002a; PowerPC::ppcState.spr[SPR_DBAT4U] = 0x90001fff; PowerPC::ppcState.spr[SPR_DBAT4L] = 0x10000002; PowerPC::ppcState.spr[SPR_DBAT5U] = 0xd0001fff; PowerPC::ppcState.spr[SPR_DBAT5L] = 0x1000002a; dolLoader.Load(); PC = dolLoader.GetEntryPoint(); } if (LoadMapFromFilename()) HLE::PatchFunctions(); break; } // ELF case SConfig::BOOT_ELF: { // load image or create virtual drive from directory if (!_StartupPara.m_strDVDRoot.empty()) { NOTICE_LOG(BOOT, "Setting DVDRoot %s", _StartupPara.m_strDVDRoot.c_str()); DVDInterface::SetVolumeDirectory(_StartupPara.m_strDVDRoot, _StartupPara.bWii); } else if (!_StartupPara.m_strDefaultISO.empty()) { NOTICE_LOG(BOOT, "Loading default ISO %s", _StartupPara.m_strDefaultISO.c_str()); DVDInterface::SetVolumeName(_StartupPara.m_strDefaultISO); } else { DVDInterface::SetVolumeDirectory(_StartupPara.m_strFilename, _StartupPara.bWii); } DVDInterface::SetDiscInside(DVDInterface::VolumeIsValid()); // Poor man's bootup if(_StartupPara.bWii) SetupWiiMemory(DiscIO::IVolume::COUNTRY_UNKNOWN); else EmulatedBS2_GC(true); Load_FST(_StartupPara.bWii); if(!Boot_ELF(_StartupPara.m_strFilename)) return false; <API key>(); Dolphin_Debugger::AddAutoBreakpoints(); break; } // Wii WAD case SConfig::BOOT_WII_NAND: Boot_WiiWAD(_StartupPara.m_strFilename); if (LoadMapFromFilename()) HLE::PatchFunctions(); // load default image or create virtual drive from directory if (!_StartupPara.m_strDVDRoot.empty()) DVDInterface::SetVolumeDirectory(_StartupPara.m_strDVDRoot, true); else if (!_StartupPara.m_strDefaultISO.empty()) DVDInterface::SetVolumeName(_StartupPara.m_strDefaultISO); DVDInterface::SetDiscInside(DVDInterface::VolumeIsValid()); break; // Bootstrap 2 (AKA: Initial Program Loader, "BIOS") case SConfig::BOOT_BS2: { DVDInterface::SetDiscInside(DVDInterface::VolumeIsValid()); if (Load_BS2(_StartupPara.m_strBootROM)) { if (LoadMapFromFilename()) HLE::PatchFunctions(); } else { return false; } break; } case SConfig::BOOT_DFF: // do nothing break; default: { PanicAlertT("Tried to load an unknown file type."); return false; } } // HLE jump to loader (homebrew). Disabled when Gecko is active as it interferes with the code handler if (!SConfig::GetInstance().bEnableCheats) { HLE::Patch(0x80001800, "HBReload"); Memory::CopyToEmu(0x00001804, "STUBHAXX", 8); } // Not part of the binary itself, but either we or Gecko OS might insert // this, and it doesn't clear the icache properly. HLE::Patch(0x800018a8, "GeckoCodehandler"); return true; }
#ifndef <API key> #define <API key> #include "tglobal.h" #include <QString> #include <QSize> #include <QColor> /** * @author David Cuadrado */ class TUPI_EXPORT <API key> { public: <API key>(); virtual ~<API key>(); void setProjectName(const QString &name); QString projectName() const; void setAuthor(const QString &author); QString author() const; void setDescription(const QString &description); QString description() const; void setBgColor(const QColor color); QColor bgColor(); void setDimension(const QSize &dimension); QSize dimension() const; void setFPS(const int fps); int fps() const; private: struct Private; Private *const k; }; #endif
// clang-format off #include "bond_table.h" #include "atom.h" #include "comm.h" #include "error.h" #include "force.h" #include "memory.h" #include "neighbor.h" #include "table_file_reader.h" #include "tokenizer.h" #include <cmath> #include <cstring> using namespace LAMMPS_NS; enum{NONE,LINEAR,SPLINE}; #define BIGNUM 1.0e300 BondTable::BondTable(LAMMPS *lmp) : Bond(lmp) { writedata = 0; ntables = 0; tables = nullptr; } BondTable::~BondTable() { for (int m = 0; m < ntables; m++) free_table(&tables[m]); memory->sfree(tables); if (allocated) { memory->destroy(setflag); memory->destroy(r0); memory->destroy(tabindex); } } void BondTable::compute(int eflag, int vflag) { int i1,i2,n,type; double delx,dely,delz,ebond,fbond; double rsq,r; double u,mdu; ebond = 0.0; ev_init(eflag,vflag); double **x = atom->x; double **f = atom->f; int **bondlist = neighbor->bondlist; int nbondlist = neighbor->nbondlist; int nlocal = atom->nlocal; int newton_bond = force->newton_bond; for (n = 0; n < nbondlist; n++) { i1 = bondlist[n][0]; i2 = bondlist[n][1]; type = bondlist[n][2]; delx = x[i1][0] - x[i2][0]; dely = x[i1][1] - x[i2][1]; delz = x[i1][2] - x[i2][2]; rsq = delx*delx + dely*dely + delz*delz; r = sqrt(rsq); // force & energy uf_lookup(type,r,u,mdu); fbond = mdu/r; ebond = u; // apply force to each of 2 atoms if (newton_bond || i1 < nlocal) { f[i1][0] += delx*fbond; f[i1][1] += dely*fbond; f[i1][2] += delz*fbond; } if (newton_bond || i2 < nlocal) { f[i2][0] -= delx*fbond; f[i2][1] -= dely*fbond; f[i2][2] -= delz*fbond; } if (evflag) ev_tally(i1,i2,nlocal,newton_bond,ebond,fbond,delx,dely,delz); } } void BondTable::allocate() { allocated = 1; int n = atom->nbondtypes; memory->create(tabindex,n+1,"bond:tabindex"); memory->create(r0,n+1,"bond:r0"); memory->create(setflag,n+1,"bond:setflag"); for (int i = 1; i <= n; i++) setflag[i] = 0; } void BondTable::settings(int narg, char **arg) { if (narg != 2) error->all(FLERR,"Illegal bond_style command"); tabstyle = NONE; if (strcmp(arg[0],"linear") == 0) tabstyle = LINEAR; else if (strcmp(arg[0],"spline") == 0) tabstyle = SPLINE; else error->all(FLERR,"Unknown table style in bond style table"); tablength = utils::inumeric(FLERR,arg[1],false,lmp); if (tablength < 2) error->all(FLERR,"Illegal number of bond table entries"); // delete old tables, since cannot just change settings for (int m = 0; m < ntables; m++) free_table(&tables[m]); memory->sfree(tables); if (allocated) { memory->destroy(setflag); memory->destroy(tabindex); } allocated = 0; ntables = 0; tables = nullptr; } void BondTable::coeff(int narg, char **arg) { if (narg != 3) error->all(FLERR,"Illegal bond_coeff command"); if (!allocated) allocate(); int ilo,ihi; utils::bounds(FLERR,arg[0],1,atom->nbondtypes,ilo,ihi,error); int me; MPI_Comm_rank(world,&me); tables = (Table *) memory->srealloc(tables,(ntables+1)*sizeof(Table),"bond:tables"); Table *tb = &tables[ntables]; null_table(tb); if (me == 0) read_table(tb,arg[1],arg[2]); bcast_table(tb); // error check on table parameters if (tb->ninput <= 1) error->one(FLERR,"Invalid bond table length"); tb->lo = tb->rfile[0]; tb->hi = tb->rfile[tb->ninput-1]; if (tb->lo >= tb->hi) error->all(FLERR,"Bond table values are not increasing"); // spline read-in and compute r,e,f vectors within table spline_table(tb); compute_table(tb); // store ptr to table in tabindex int count = 0; for (int i = ilo; i <= ihi; i++) { tabindex[i] = ntables; r0[i] = tb->r0; setflag[i] = 1; count++; } ntables++; if (count == 0) error->all(FLERR,"Illegal bond_coeff command"); } double BondTable::<API key>(int i) { return r0[i]; } void BondTable::write_restart(FILE *fp) { <API key>(fp); } void BondTable::read_restart(FILE *fp) { <API key>(fp); allocate(); } void BondTable::<API key>(FILE *fp) { fwrite(&tabstyle,sizeof(int),1,fp); fwrite(&tablength,sizeof(int),1,fp); } void BondTable::<API key>(FILE *fp) { if (comm->me == 0) { utils::sfread(FLERR,&tabstyle,sizeof(int),1,fp,nullptr,error); utils::sfread(FLERR,&tablength,sizeof(int),1,fp,nullptr,error); } MPI_Bcast(&tabstyle,1,MPI_INT,0,world); MPI_Bcast(&tablength,1,MPI_INT,0,world); } double BondTable::single(int type, double rsq, int , int , double &fforce) { double r = sqrt(rsq); double u; double mdu; uf_lookup(type,r,u,mdu); fforce = mdu/r; return u; } void BondTable::null_table(Table *tb) { tb->rfile = tb->efile = tb->ffile = nullptr; tb->e2file = tb->f2file = nullptr; tb->r = tb->e = tb->de = nullptr; tb->f = tb->df = tb->e2 = tb->f2 = nullptr; } void BondTable::free_table(Table *tb) { memory->destroy(tb->rfile); memory->destroy(tb->efile); memory->destroy(tb->ffile); memory->destroy(tb->e2file); memory->destroy(tb->f2file); memory->destroy(tb->r); memory->destroy(tb->e); memory->destroy(tb->de); memory->destroy(tb->f); memory->destroy(tb->df); memory->destroy(tb->e2); memory->destroy(tb->f2); } void BondTable::read_table(Table *tb, char *file, char *keyword) { TableFileReader reader(lmp, file, "bond"); double emin = BIGNUM; char * line = reader.find_section_start(keyword); if (!line) { error->one(FLERR,"Did not find keyword in table file"); } // read args on 2nd line of section // allocate table arrays for file values line = reader.next_line(); param_extract(tb,line); memory->create(tb->rfile,tb->ninput,"bond:rfile"); memory->create(tb->efile,tb->ninput,"bond:efile"); memory->create(tb->ffile,tb->ninput,"bond:ffile"); // read r,e,f table values from file int cerror = 0; int r0idx = -1; reader.skip_line(); for (int i = 0; i < tb->ninput; i++) { line = reader.next_line(4); try { ValueTokenizer values(line); values.next_int(); tb->rfile[i] = values.next_double(); tb->efile[i] = values.next_double(); tb->ffile[i] = values.next_double(); } catch (TokenizerException &) { ++cerror; } if (tb->efile[i] < emin) { emin = tb->efile[i]; r0idx = i; } } // infer r0 from minimum of potential, if not given explicitly if ((tb->r0 == 0.0) && (r0idx >= 0)) tb->r0 = tb->rfile[r0idx]; // warn if force != dE/dr at any point that is not an inflection point // check via secant approximation to dE/dr // skip two end points since do not have surrounding secants // inflection point is where curvature changes sign double r,e,f,rprev,rnext,eprev,enext,fleft,fright; int ferror = 0; for (int i = 1; i < tb->ninput-1; i++) { r = tb->rfile[i]; rprev = tb->rfile[i-1]; rnext = tb->rfile[i+1]; e = tb->efile[i]; eprev = tb->efile[i-1]; enext = tb->efile[i+1]; f = tb->ffile[i]; fleft = - (e-eprev) / (r-rprev); fright = - (enext-e) / (rnext-r); if (f < fleft && f < fright) ferror++; if (f > fleft && f > fright) ferror++; } if (ferror) { error->warning(FLERR, "{} of {} force values in table are inconsistent with -dE/dr.\n" "WARNING: Should only be flagged at inflection points",ferror,tb->ninput); } // warn if data was read incompletely, e.g. columns were missing if (cerror) { error->warning(FLERR, "{} of {} lines in table were incomplete or could not be" " parsed completely",cerror,tb->ninput); } } void BondTable::spline_table(Table *tb) { memory->create(tb->e2file,tb->ninput,"bond:e2file"); memory->create(tb->f2file,tb->ninput,"bond:f2file"); double ep0 = - tb->ffile[0]; double epn = - tb->ffile[tb->ninput-1]; spline(tb->rfile,tb->efile,tb->ninput,ep0,epn,tb->e2file); if (tb->fpflag == 0) { tb->fplo = (tb->ffile[1] - tb->ffile[0]) / (tb->rfile[1] - tb->rfile[0]); tb->fphi = (tb->ffile[tb->ninput-1] - tb->ffile[tb->ninput-2]) / (tb->rfile[tb->ninput-1] - tb->rfile[tb->ninput-2]); } double fp0 = tb->fplo; double fpn = tb->fphi; spline(tb->rfile,tb->ffile,tb->ninput,fp0,fpn,tb->f2file); } void BondTable::compute_table(Table *tb) { // delta = table spacing for N-1 bins int tlm1 = tablength-1; tb->delta = (tb->hi - tb->lo)/ tlm1; tb->invdelta = 1.0/tb->delta; tb->deltasq6 = tb->delta*tb->delta / 6.0; // N-1 evenly spaced bins in r from min to max // r,e,f = value at lower edge of bin // de,df values = delta values of e,f // r,e,f are N in length so de,df arrays can compute difference memory->create(tb->r,tablength,"bond:r"); memory->create(tb->e,tablength,"bond:e"); memory->create(tb->de,tlm1,"bond:de"); memory->create(tb->f,tablength,"bond:f"); memory->create(tb->df,tlm1,"bond:df"); memory->create(tb->e2,tablength,"bond:e2"); memory->create(tb->f2,tablength,"bond:f2"); double a; for (int i = 0; i < tablength; i++) { a = tb->lo + i*tb->delta; tb->r[i] = a; tb->e[i] = splint(tb->rfile,tb->efile,tb->e2file,tb->ninput,a); tb->f[i] = splint(tb->rfile,tb->ffile,tb->f2file,tb->ninput,a); } for (int i = 0; i < tlm1; i++) { tb->de[i] = tb->e[i+1] - tb->e[i]; tb->df[i] = tb->f[i+1] - tb->f[i]; } double ep0 = - tb->f[0]; double epn = - tb->f[tlm1]; spline(tb->r,tb->e,tablength,ep0,epn,tb->e2); spline(tb->r,tb->f,tablength,tb->fplo,tb->fphi,tb->f2); } void BondTable::param_extract(Table *tb, char *line) { tb->ninput = 0; tb->fpflag = 0; tb->r0 = 0.0; try { ValueTokenizer values(line); while (values.has_next()) { std::string word = values.next_string(); if (word == "N") { tb->ninput = values.next_int(); } else if (word == "FP") { tb->fpflag = 1; tb->fplo = values.next_double(); tb->fphi = values.next_double(); } else if (word == "EQ") { tb->r0 = values.next_double(); } else { error->one(FLERR,"Invalid keyword in bond table parameters"); } } } catch(TokenizerException &e) { error->one(FLERR, e.what()); } if (tb->ninput == 0) error->one(FLERR,"Bond table parameters did not set N"); } void BondTable::bcast_table(Table *tb) { MPI_Bcast(&tb->ninput,1,MPI_INT,0,world); MPI_Bcast(&tb->r0,1,MPI_DOUBLE,0,world); int me; MPI_Comm_rank(world,&me); if (me > 0) { memory->create(tb->rfile,tb->ninput,"angle:rfile"); memory->create(tb->efile,tb->ninput,"angle:efile"); memory->create(tb->ffile,tb->ninput,"angle:ffile"); } MPI_Bcast(tb->rfile,tb->ninput,MPI_DOUBLE,0,world); MPI_Bcast(tb->efile,tb->ninput,MPI_DOUBLE,0,world); MPI_Bcast(tb->ffile,tb->ninput,MPI_DOUBLE,0,world); MPI_Bcast(&tb->fpflag,1,MPI_INT,0,world); if (tb->fpflag) { MPI_Bcast(&tb->fplo,1,MPI_DOUBLE,0,world); MPI_Bcast(&tb->fphi,1,MPI_DOUBLE,0,world); } } void BondTable::spline(double *x, double *y, int n, double yp1, double ypn, double *y2) { int i,k; double p,qn,sig,un; double *u = new double[n]; if (yp1 > 0.99e30) y2[0] = u[0] = 0.0; else { y2[0] = -0.5; u[0] = (3.0/(x[1]-x[0])) * ((y[1]-y[0]) / (x[1]-x[0]) - yp1); } for (i = 1; i < n-1; i++) { sig = (x[i]-x[i-1]) / (x[i+1]-x[i-1]); p = sig*y2[i-1] + 2.0; y2[i] = (sig-1.0) / p; u[i] = (y[i+1]-y[i]) / (x[i+1]-x[i]) - (y[i]-y[i-1]) / (x[i]-x[i-1]); u[i] = (6.0*u[i] / (x[i+1]-x[i-1]) - sig*u[i-1]) / p; } if (ypn > 0.99e30) qn = un = 0.0; else { qn = 0.5; un = (3.0/(x[n-1]-x[n-2])) * (ypn - (y[n-1]-y[n-2]) / (x[n-1]-x[n-2])); } y2[n-1] = (un-qn*u[n-2]) / (qn*y2[n-2] + 1.0); for (k = n-2; k >= 0; k--) y2[k] = y2[k]*y2[k+1] + u[k]; delete [] u; } double BondTable::splint(double *xa, double *ya, double *y2a, int n, double x) { int klo,khi,k; double h,b,a,y; klo = 0; khi = n-1; while (khi-klo > 1) { k = (khi+klo) >> 1; if (xa[k] > x) khi = k; else klo = k; } h = xa[khi]-xa[klo]; a = (xa[khi]-x) / h; b = (x-xa[klo]) / h; y = a*ya[klo] + b*ya[khi] + ((a*a*a-a)*y2a[klo] + (b*b*b-b)*y2a[khi]) * (h*h)/6.0; return y; } void BondTable::uf_lookup(int type, double x, double &u, double &f) { if (!std::isfinite(x)) { error->one(FLERR,"Illegal bond in bond style table"); } double fraction,a,b; const Table *tb = &tables[tabindex[type]]; const int itable = static_cast<int> ((x - tb->lo) * tb->invdelta); if (itable < 0) error->one(FLERR,"Bond length < table inner cutoff: " "type {} length {:.8}",type,x); else if (itable >= tablength) error->one(FLERR,"Bond length > table outer cutoff: " "type {} length {:.8}",type,x); if (tabstyle == LINEAR) { fraction = (x - tb->r[itable]) * tb->invdelta; u = tb->e[itable] + fraction*tb->de[itable]; f = tb->f[itable] + fraction*tb->df[itable]; } else if (tabstyle == SPLINE) { fraction = (x - tb->r[itable]) * tb->invdelta; b = (x - tb->r[itable]) * tb->invdelta; a = 1.0 - b; u = a * tb->e[itable] + b * tb->e[itable+1] + ((a*a*a-a)*tb->e2[itable] + (b*b*b-b)*tb->e2[itable+1]) * tb->deltasq6; f = a * tb->f[itable] + b * tb->f[itable+1] + ((a*a*a-a)*tb->f2[itable] + (b*b*b-b)*tb->f2[itable+1]) * tb->deltasq6; } }
<?php namespace VuFindConsole\Command\Util; use Interop\Container\ContainerInterface; use Laminas\ServiceManager\Factory\FactoryInterface; class <API key> implements FactoryInterface { /** * Create an object * * @param ContainerInterface $container Service manager * @param string $requestedName Service being created * @param null|array $options Extra options (optional) * * @return object * * @throws <API key> if unable to resolve the service. * @throws <API key> if an exception is raised when * creating a service. * @throws ContainerException if any other error occurs */ public function __invoke(ContainerInterface $container, $requestedName, array $options = null ) { return new $requestedName( $container->get(\VuFind\Solr\Writer::class), ($options ?? []) ); } }
<?php /** * Widget: Contact * * @package WebMan Amplifier * @subpackage Widgets * * @since 1.0.9.9 * @version 1.1 * * CONTENT: * - 10) Actions and filters * - 20) Helpers * - 30) Widget class */ //Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; /** * 10) Actions and filters */ /** * Actions */ add_action( 'widgets_init', '<API key>' ); /** * 20) Helpers */ /** * Widget registration */ function <API key>() { register_widget( 'WM_Contact_Info' ); } // /<API key> /** * 30) Widget class */ class WM_Contact_Info extends WP_Widget { /** * Constructor */ function __construct() { //Helper variables $atts = array(); $atts['name'] = ( defined( 'WM_THEME_NAME' ) ) ? ( WM_THEME_NAME . ' ' ) : ( '' ); $atts['id'] = 'wm-contact-info'; $atts['name'] .= _x( 'Contact', 'Widget name.', 'wm_domain' ); $atts['widget_ops'] = array( 'classname' => 'wm-contact-info', 'description' => _x( 'Contact information', 'Widget description.', 'wm_domain' ) ); $atts['control_ops'] = array(); $atts = apply_filters( <API key> . 'wm_contact_info' . '_atts', $atts ); //Register widget attributes parent::__construct( $atts['id'], $atts['name'], $atts['widget_ops'], $atts['control_ops'] ); } // /__construct /** * Options form */ function form( $instance ) { //Helper variables $instance = wp_parse_args( $instance, array( 'address' => '', 'email' => '', 'hours' => '', 'name' => '', 'phone' => '', 'title' => '', ) ); //Output ?> <p class="wm-desc"><?php _ex( 'Displays specially styled contact information. JavaScript anti-spam protection will be applied on the email address (also, email will not be displayed when JavaScript is turned off).', 'Widget description.', 'wm_domain' ) ?></p> <p> <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:', 'wm_domain' ) ?></label> <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $instance['title'] ); ?>" /> </p> <p> <label for="<?php echo $this->get_field_id( 'name' ); ?>"><?php _ex( 'Name:', 'In address.', 'wm_domain' ) ?></label> <input class="widefat" id="<?php echo $this->get_field_id( 'name' ); ?>" name="<?php echo $this->get_field_name( 'name' ); ?>" type="text" value="<?php echo esc_attr( $instance['name'] ); ?>" /> </p> <p> <label for="<?php echo $this->get_field_id( 'address' ); ?>"><?php _e( 'Address:', 'wm_domain' ) ?></label><br /> <textarea cols="50" rows="5" id="<?php echo $this->get_field_id( 'address' ); ?>" name="<?php echo $this->get_field_name( 'address' ); ?>"><?php echo esc_textarea( $instance['address'] ); ?></textarea> </p> <p> <label for="<?php echo $this->get_field_id( 'hours' ); ?>"><?php _e( 'Business hours:', 'wm_domain' ) ?></label><br /> <textarea cols="50" rows="3" id="<?php echo $this->get_field_id( 'hours' ); ?>" name="<?php echo $this->get_field_name( 'hours' ); ?>"><?php echo esc_textarea( $instance['hours'] ); ?></textarea> <small><?php _e( 'Use comma to separate days and times<br />(such as "Friday, 9:00 - 17:00")', 'wm_domain' ) ?></small> </p> <p> <label for="<?php echo $this->get_field_id( 'phone' ); ?>"><?php _e( 'Phone number:', 'wm_domain' ) ?></label> <textarea cols="50" rows="2" id="<?php echo $this->get_field_id( 'phone' ); ?>" name="<?php echo $this->get_field_name( 'phone' ); ?>"><?php echo esc_textarea( $instance['phone'] ); ?></textarea> </p> <p> <label for="<?php echo $this->get_field_id( 'email' ); ?>"><?php _e( 'Email address:', 'wm_domain' ) ?></label> <textarea cols="50" rows="2" id="<?php echo $this->get_field_id( 'email' ); ?>" name="<?php echo $this->get_field_name( 'email' ); ?>"><?php echo esc_textarea( $instance['email'] ); ?></textarea> <small><?php _e( 'JavaScript anti-spam protection applied', 'wm_domain' ); ?></small> </p> <?php do_action( <API key> . 'wm_contact_info' . '_form', $instance ); } // /form /** * Save the options */ function update( $new_instance, $old_instance ) { //Helper variables $instance = $old_instance; //Preparing output $instance['address'] = $new_instance['address']; $instance['email'] = $new_instance['email']; $instance['hours'] = $new_instance['hours']; $instance['name'] = $new_instance['name']; $instance['phone'] = $new_instance['phone']; $instance['title'] = $new_instance['title']; //Output return apply_filters( <API key> . 'wm_contact_info' . '_instance', $instance, $new_instance, $old_instance ); } // /update /** * Widget HTML */ function widget( $args, $instance ) { //Helper variables $output = ''; $address = array(); $instance = wp_parse_args( $instance, array( 'address' => '', 'email' => '', 'hours' => '', 'name' => '', 'phone' => '', 'title' => '', ) ); //Preparing output if ( trim( $instance['title'] ) ) { $output .= $args['before_title'] . apply_filters( 'widget_title', $instance['title'] ) . $args['after_title']; } //Address if ( trim( $instance['name'] ) || trim( $instance['address'] ) ) { $address[10] = '<div class="address contact-info"' . wma_schema_org( 'itemprop="address"' ) . '><strong' . wma_schema_org( 'itemprop="name"' ) . '>' . $instance['name'] . '</strong><br />' . str_replace( "\r\n", '<br />', $instance['address'] ) . '</div>'; } //Business hours if ( trim( $instance['hours'] ) ) { $instance['hours'] = trim( $instance['hours'] ); if ( false === strpos( $instance['hours'], ',' ) ) { $instance['hours'] .= '&ndash;,0:00 &ndash; 0:00'; } $instance['hours'] = str_replace( array( "\r\n", "\r", "\n" ), '</td></tr><tr><td>', $instance['hours'] ); $instance['hours'] = str_replace( array( ',', ', ' ), '</td><td>', $instance['hours'] ); $instance['hours'] = str_replace( '-', '&ndash;', $instance['hours'] ); $instance['hours'] = '<table><tr><td>' . $instance['hours'] . '</td></tr></table>'; $address[20] = '<div class="hours contact-info"' . wma_schema_org( 'itemprop="openingHours"' ) . '>' . $instance['hours'] . '</div>'; } //Phone numbers if ( trim( $instance['phone'] ) ) { $address[30] = '<div class="phone contact-info"' . wma_schema_org( 'itemprop="telephone"' ) . '>' . $instance['phone'] . '</div>'; } //Email addresses if ( trim( $instance['email'] ) ) { preg_match_all( '/(\S+@\S+\.\S+)/i', $instance['email'], $matches ); if ( $matches && is_array( $matches ) ) { foreach ( $matches[0] as $email ) { $email_nospam = ( function_exists( 'wm_nospam' ) ) ? ( wm_nospam( $email ) ) : ( $email ); $instance['email'] = str_replace( $email, '<a href="#" data-address="' . $email_nospam . '" class="email-nospam">' . $email_nospam . '</a>', $instance['email'] ); } } $address[40] = '<div class="email contact-info"' . wma_schema_org( 'itemprop="email"' ) . '>' . $instance['email'] . '</div>'; } //Filter the $address and prepare it for output $address = apply_filters( <API key> . 'wm_contact_info' . '_address', $address, $args, $instance ); $address = implode( '', $address ); //Output wrapper if ( $address ) { $output .= '<div class="address-container"' . wma_schema_org( 'itemprop="sourceOrganization" itemscope itemtype="http://schema.org/LocalBusiness"' ) . '>' . apply_filters( '<API key>', $address ) . '</div>'; } //Output if ( $output ) { echo apply_filters( <API key> . 'wm_contact_info' . '_output', $args['before_widget'] . $output . $args['after_widget'], $args, $instance ); } } // /widget } // /WM_Contact_Info ?>
#include <iostream> #include <SDL_mutex.h> #include "action_handler.h" #include "character/character.h" #include "character/body.h" #include "character/move.h" #include "game/game_mode.h" #include "game/game_loop.h" #include "game/game.h" #include "game/time.h" #include "include/constant.h" #include "interface/game_msg.h" #include "network/chat.h" #include "network/network.h" #include "map/camera.h" #include "map/map.h" #include "map/maps_list.h" #include "map/wind.h" #include "menu/network_menu.h" #include "network/distant_cpu.h" #include "network/randomsync.h" #include "network/network.h" #include "network/network_server.h" #include "team/macro.h" #include "team/team.h" #include "team/team_config.h" #include "tool/debug.h" #include "tool/i18n.h" #include "tool/vector2.h" #include "sound/jukebox.h" #include "weapon/construct.h" #include "weapon/weapon_launcher.h" #include "weapon/grapple.h" #include "weapon/supertux.h" #include "weapon/weapon.h" #include "weapon/weapons_list.h" #include "weapon/explosion.h" ActionHandler * ActionHandler::singleton = NULL; ActionHandler * ActionHandler::GetInstance() { if (singleton == NULL) singleton = new ActionHandler(); return singleton; } // // void Action_Nickname(Action *a) { if(Network::GetInstance()->IsServer() && a->creator) { std::string nickname = a->PopString(); std::cout<<"New nickname: " + nickname<< std::endl; a->creator->nickname = nickname; } } void <API key> (Action *a) { MSG_DEBUG("action_handler", "ChangeState"); if (Network::GetInstance()->IsServer()) { Network::network_state_t client_state = (Network::network_state_t)a->PopInt(); switch (Network::GetInstance()->GetState()) { case Network::NO_NETWORK: a->creator->SetState(DistantComputer::STATE_INITIALIZED); ASSERT(client_state == Network::NETWORK_MENU_OK); break; case Network::<API key>: a->creator->SetState(DistantComputer::STATE_READY); ASSERT(client_state == Network::<API key>); break; default: NET_ASSERT(false) { if(a->creator) a->creator->force_disconnect = true; return; } break; } } if (Network::GetInstance()->IsClient()) { Network::network_state_t server_state = (Network::network_state_t)a->PopInt(); switch (Network::GetInstance()->GetState()) { case Network::NETWORK_MENU_OK: Network::GetInstance()->SetState(Network::<API key>); ASSERT(server_state == Network::<API key>); break; case Network::<API key>: Network::GetInstance()->SetState(Network::NETWORK_PLAYING); ASSERT(server_state == Network::NETWORK_PLAYING); break; default: NET_ASSERT(false) { if(a->creator) a->creator->force_disconnect = true; return; } } } } void <API key> (Action *) { // Client receives information request from the server if (Network::GetInstance()->IsServer()) return; Action b(Action::<API key>); b.Push(ActiveMap().GetRawName()); TeamsList::iterator it = teams_list.playing_list.begin(); for (; it != teams_list.playing_list.end() ; ++it) { b.Push((*it)->GetId()); } // send information to the server Network::GetInstance()->SendAction(&b); } static void <API key> (Action *a) { a->creator->force_disconnect = true; std::string str = Format("Error initializing network: Client %s does not agree with you!!\n", a->creator->GetAddress().c_str()); std::cerr << str << std::endl; // this client has been checked, it is NOT ok, it will be disconnected a->creator->SetState(DistantComputer::STATE_CHECKED); // If not, it creates a deadlock. } void <API key> (Action *a) { // Server receives information from the client if (Network::GetInstance()->IsClient()) return; // Check the map std::string map = a->PopString(); if (map != ActiveMap().GetRawName()) { <API key>(a); return; } // Check the teams std::string team; TeamsList::iterator it = teams_list.playing_list.begin(); for (; it != teams_list.playing_list.end() ; ++it) { team = a->PopString(); if (team != (*it)->GetId()) { <API key>(a); return; } } // this client has been checked, it's ok :-) a->creator->SetState(DistantComputer::STATE_CHECKED); } // void <API key> (Action *a) { jukebox.Play("share", "change_weapon"); ActiveTeam().SetWeapon(static_cast<Weapon::Weapon_type>(a->PopInt())); } void <API key> (Action *a) { jukebox.Play("share", "character/change_in_same_team"); a->RetrieveCharacter(); // Retrieve current character's informations a->RetrieveCharacter(); // Retrieve next character information Camera::GetInstance()->GetInstance()->FollowObject(&ActiveCharacter(), true, true); } void <API key> (Action *a) { jukebox.Play("share", "character/change_in_same_team"); a->RetrieveCharacter(); // Retrieve current character's informations a->RetrieveCharacter(); // Retrieve previous character's information Camera::GetInstance()->GetInstance()->FollowObject(&ActiveCharacter(), true, true); } void <API key> (Action *a) { a->RetrieveCharacter(); Camera::GetInstance()->GetInstance()->FollowObject(&ActiveCharacter(), true, true); } void <API key> (Action *a) { teams_list.SetActive (a->PopString()); ASSERT (!ActiveCharacter().IsDead()); // Are we turn master for next turn ? if (ActiveTeam().IsLocal() || ActiveTeam().IsLocalAI()) Network::GetInstance()->SetTurnMaster(true); else Network::GetInstance()->SetTurnMaster(false); } void <API key> (Action *a) { GameLoop::GetInstance()->Really_SetState(GameLoop::game_loop_state_t(a->PopInt())); } // void <API key> (Action *a) { NET_ASSERT(Network::GetInstance()->IsClient()) { if (a->creator) a->creator->force_disconnect = true; return; } std::string game_mode_name = a->PopString(); std::string game_mode = a->PopString(); std::string game_mode_objects = a->PopString(); GameMode::GetInstance()->LoadFromString(game_mode_name, game_mode, game_mode_objects); } void SendGameMode() { ASSERT(Network::GetInstance()->IsServer()); Action a(Action::<API key>); std::string game_mode_name = "network("; game_mode_name += GameMode::GetInstance()->GetName(); game_mode_name += ")"; a.Push(game_mode_name); std::string game_mode; std::string game_mode_objects; GameMode::GetInstance()->ExportToString(game_mode, game_mode_objects); a.Push(game_mode); a.Push(game_mode_objects); Network::GetInstance()->SendAction(&a); } void <API key> (Action *) { if (!Network::GetInstance()->IsClient()) return; ActionHandler::GetInstance()->NewAction(new Action(Action::<API key>, Constants::VERSION)); } void <API key> (Action *a) { if (!Network::GetInstance()->IsServer()) return; std::string version= a->PopString(); ASSERT(a->creator != NULL); if (version != Constants::VERSION) { a->creator->force_disconnect = true; std::string str = Format(_("%s tries to connect with a different version : client=%s, me=%s."), a->creator->GetAddress().c_str(), version.c_str(), Constants::VERSION.c_str()); Network::GetInstance()->network_menu->ReceiveMsgCallback(str); std::cerr << str << std::endl; return; } ActionHandler::GetInstance()->NewAction(new Action(Action::<API key>, a->creator->GetAddress())); a->creator->version_checked = true; } // void Action_ChatMessage (Action *a) { if(Network::GetInstance()->IsServer() && a->creator) { a->creator->SendChatMessage(a); } else { if(Game::GetInstance()->IsGameLaunched()) //Add message to chat session in Game GameLoop::GetInstance()->chatsession.NewMessage(a->PopString()); else if (Network::GetInstance()->network_menu != NULL) { //Network Menu Network::GetInstance()->network_menu->ReceiveMsgCallback(a->PopString()); } } } void Action_Menu_SetMap (Action *a) { if (!Network::GetInstance()->IsClient()) return; MapsList::GetInstance()->SelectMapByName(a->PopString()); if (Network::GetInstance()->network_menu != NULL) { Network::GetInstance()->network_menu->ChangeMapCallback(); } } void Action_Menu_AddTeam (Action *a) { if(Network::GetInstance()->IsServer() && a->creator) { a->creator->ManageTeam(a); return; } ConfigTeam the_team; the_team.id = a->PopString(); the_team.player_name = a->PopString(); the_team.nb_characters = uint(a->PopInt()); MSG_DEBUG("action_handler.menu", "+ %s", the_team.id.c_str()); teams_list.AddTeam (the_team); if (Network::GetInstance()->network_menu != NULL) Network::GetInstance()->network_menu->AddTeamCallback(the_team.id); } void <API key> (Action *a) { ConfigTeam the_team; the_team.id = a->PopString(); the_team.player_name = a->PopString(); the_team.nb_characters = uint(a->PopInt()); teams_list.UpdateTeam (the_team); if (Network::GetInstance()->network_menu != NULL) Network::GetInstance()->network_menu->UpdateTeamCallback(the_team.id); } void Action_Menu_DelTeam (Action *a) { if (Network::GetInstance()->IsServer() && a->creator) { a->creator->ManageTeam(a); return; } std::string team = a->PopString(); MSG_DEBUG("action_handler.menu", "- %s", team.c_str()); if (Game::GetInstance()->IsGameLaunched() && Network::GetInstance()->IsServer()) { int i; Team* t = teams_list.FindById(team, i); if (t == &ActiveTeam()) // we have loose the turn master!! Network::GetInstance()->SetTurnMaster(true); } teams_list.DelTeam (team); if (Network::GetInstance()->network_menu != NULL) Network::GetInstance()->network_menu->DelTeamCallback(team); } // // Send information about energy and the position of every character void SyncCharacters() { ASSERT(Network::GetInstance()->IsTurnMaster()); Action a_begin_sync(Action::<API key>); Network::GetInstance()->SendAction(&a_begin_sync); TeamsList::iterator it=teams_list.playing_list.begin(), end=teams_list.playing_list.end(); for (int team_no = 0; it != end; ++it, ++team_no) { Team& team = **it; Team::iterator tit = team.begin(), tend = team.end(); for (int char_no = 0; tit != tend; ++tit, ++char_no) { // Sync the character's position, energy, ... SendCharacterInfo(team_no, char_no); } } Action a_sync_end(Action::<API key>); Network::GetInstance()->SendAction(&a_sync_end); } void <API key> (Action *) { GameLoop::GetInstance()-><API key> = true; ActiveCharacter().Jump(); } void <API key> (Action *) { GameLoop::GetInstance()-><API key> = true; ActiveCharacter().HighJump(); } void <API key> (Action *) { GameLoop::GetInstance()-><API key> = true; ActiveCharacter().BackJump(); } void <API key> (Action *a) { while(!a->IsEmpty()) a->RetrieveCharacter(); } // Send character information over the network (it's totally stupid to send it locally ;-) void SendCharacterInfo(int team_no, int char_no) { Action a(Action::<API key>); a.StoreCharacter(team_no, char_no); Network::GetInstance()->SendAction(&a); } uint last_time = 0; // Send active character information over the network (it's totally stupid to send it locally ;-) void <API key>(bool can_be_dropped) { uint current_time = Time::GetInstance()->Read(); if (!can_be_dropped || last_time + 50 < Time::GetInstance()->Read()) { last_time = current_time; SendCharacterInfo(ActiveCharacter().GetTeamIndex(), ActiveCharacter().GetCharacterIndex()); } } // void Action_Weapon_Shoot (Action *a) { if (GameLoop::GetInstance()->ReadState() != GameLoop::PLAYING) return; // hack related to bug 8656 double strength = a->PopDouble(); double angle = a->PopDouble(); ActiveTeam().AccessWeapon().PrepareShoot(strength, angle); } void <API key>(Action *) { ActiveTeam().AccessWeapon().ActionStopUse(); } void <API key> (Action *a) { MSG_DEBUG("action_handler", "Set target by clicking"); ActiveTeam().AccessWeapon().ChooseTarget (a->PopPoint2i()); } void <API key> (Action *a) { WeaponLauncher* launcher = dynamic_cast<WeaponLauncher*>(&(ActiveTeam().AccessWeapon())); NET_ASSERT(launcher != NULL) { return; } launcher->GetProjectile()->m_timeout_modifier = a->PopInt(); } void <API key> (Action *a) { NET_ASSERT(ActiveTeam().GetWeaponType() == Weapon::WEAPON_SUPERTUX) { return; } TuxLauncher* launcher = static_cast<TuxLauncher*>(&(ActiveTeam().AccessWeapon())); double angle = a->PopDouble(); Point2d pos(a->PopPoint2d()); launcher->RefreshFromNetwork(angle, pos); } void <API key> (Action *a) { Construct* construct_weapon = dynamic_cast<Construct*>(&(ActiveTeam().AccessWeapon())); NET_ASSERT(construct_weapon != NULL) { return; } construct_weapon->SetAngle(a->PopDouble()); } void <API key> (Action *a) { Grapple* grapple = dynamic_cast<Grapple*>(&(ActiveTeam().AccessWeapon())); NET_ASSERT(grapple != NULL) { return; } int subaction = a->PopInt(); switch (subaction) { case Grapple::ATTACH_ROPE: {// attach rope Point2i contact_point = a->PopPoint2i(); grapple->AttachRope(contact_point); } break; case Grapple::ATTACH_NODE: // attach node { Point2i contact_point = a->PopPoint2i(); double angle = a->PopDouble(); int sense = a->PopInt(); grapple->AttachNode(contact_point, angle, sense); } break; case Grapple::DETACH_NODE: // detach last node grapple->DetachNode(); break; case Grapple::SET_ROPE_SIZE: // update rope size grapple->SetRopeSize(a->PopDouble()); break; default: ASSERT(false); } } // void Action_Wind (Action *a) { wind.SetVal (a->PopInt()); } void <API key> (Action *a) { ASSERT(Network::GetInstance()->IsClient()) randomSync.AddToTable(a->PopDouble()); } void <API key> (Action *a) { ASSERT(Network::GetInstance()->IsClient()); randomSync.SetRandMax(a->PopDouble()); } void <API key> (Action *) { ASSERT(!Network::GetInstance()->sync_lock); Network::GetInstance()->sync_lock = true; } void <API key> (Action *) { ASSERT(Network::GetInstance()->sync_lock); Network::GetInstance()->sync_lock = false; } // Nothing to do here. Just for time synchronisation static void Action_Network_Ping(Action *) { } // Only used to notify clients that someone connected to the server void <API key>(Action *a) { std::string msg = Format("%s just connected", a->PopString().c_str()); if(Game::GetInstance()->IsGameLaunched()) GameMessages::GetInstance()->Add(msg); else if (Network::GetInstance()->network_menu != NULL) //Network Menu Network::GetInstance()->network_menu->ReceiveMsgCallback(msg); } // Only used to notify clients that someone disconnected from the server void <API key>(Action *a) { std::string msg = Format("%s just disconnected", a->PopString().c_str()); if (Game::GetInstance()->IsGameLaunched()) { GameMessages::GetInstance()->Add(msg); } else if (Network::GetInstance()->network_menu != NULL) //Network Menu Network::GetInstance()->network_menu->ReceiveMsgCallback(msg); } void Action_Explosion (Action *a) { <API key> config; MSG_DEBUG("action_handler","-> Begin"); Point2i pos = a->PopPoint2i(); config.explosion_range = a->PopInt(); config.particle_range = a->PopInt(); config.damage = a->PopInt(); config.blast_range = a->PopInt(); config.blast_force = a->PopInt(); std::string son = a->PopString(); bool fire_particle = !!a->PopInt(); ParticleEngine::ESmokeStyle smoke = (ParticleEngine::ESmokeStyle)a->PopInt(); std::string unique_id = a->PopString(); <API key>(pos, config, son, fire_particle, smoke, unique_id); MSG_DEBUG("action_handler","<- End"); } // // // void ActionHandler::Flush() { std::list<Action*>::iterator it; SDL_LockMutex(mutex); for (it = queue.begin(); it != queue.end() ;) { MSG_DEBUG("action_handler","remove action %s", GetActionName((*it)->GetType()).c_str()); delete *it; it = queue.erase(it); } SDL_UnlockMutex(mutex); } void ActionHandler::ExecActions() { Action * a; std::list<Action*>::iterator it; ASSERT(mutex!=NULL); for (it = queue.begin(); it != queue.end() ;) { SDL_LockMutex(mutex); a = (*it); //Time::GetInstance()->RefreshMaxTime((*it)->GetTimestamp()); // If action is in the future, wait for next refresh if (a->GetTimestamp() > Time::GetInstance()->Read()) { SDL_UnlockMutex(mutex); it++; continue; } SDL_UnlockMutex(mutex); Exec (a); delete *it; it = queue.erase(it); } } void ActionHandler::NewAction(Action* a, bool repeat_to_network) { ASSERT(mutex!=NULL); SDL_LockMutex(mutex); MSG_DEBUG("action_handler","New action : %s", GetActionName(a->GetType()).c_str()); // std::cout << "New action " << a->GetType() << std::endl ; queue.push_back(a); // std::cout << " queue_size " << queue.size() << std::endl; SDL_UnlockMutex(mutex); if (repeat_to_network) Network::GetInstance()->SendAction(a); } void ActionHandler::<API key>(Action* a) { ASSERT(ActiveTeam().IsLocal() || ActiveTeam().IsLocalAI()); Action a_begin_sync(Action::<API key>); Network::GetInstance()->SendAction(&a_begin_sync); <API key>(); NewAction(a); Action a_end_sync(Action::<API key>); Network::GetInstance()->SendAction(&a_end_sync); } void ActionHandler::Register (Action::Action_t action, const std::string &name, callback_t fct) { handler[action] = fct; action_name[action] = name; } void ActionHandler::Exec(Action *a) { #ifdef DEBUG int id=rand(); #endif MSG_DEBUG("action_handler", "-> (%d) Executing action %s", id, GetActionName(a->GetType()).c_str()); handler_it it=handler.find(a->GetType()); NET_ASSERT(it != handler.end()) { if(a->creator) a->creator->force_disconnect = true; return; } (*it->second) (a); MSG_DEBUG("action_handler", "<- (%d) Executing action %s", id, GetActionName(a->GetType()).c_str()); } const std::string &ActionHandler::GetActionName (Action::Action_t action) const { ASSERT(mutex!=NULL); SDL_LockMutex(mutex); name_it it=action_name.find(action); ASSERT(it != action_name.end()); SDL_UnlockMutex(mutex); return it->second; } ActionHandler::ActionHandler(): handler(), action_name(), queue() { mutex = SDL_CreateMutex(); SDL_LockMutex(mutex); // Register (Action::ACTION_NICKNAME, "nickname", Action_Nickname); Register (Action::<API key>, "<API key>", &<API key>); Register (Action::<API key>, "NETWORK_check", &<API key>); Register (Action::<API key>, "NETWORK_check", &<API key>); // Register (Action::<API key>, "<API key>", &<API key>); Register (Action::<API key>, "<API key>", &<API key>); Register (Action::<API key>, "<API key>", &<API key>); Register (Action::<API key>, "<API key>", &<API key>); Register (Action::<API key>, "<API key>", &<API key>); Register (Action::<API key>, "GAMELOOP_set_state", &<API key>); // // To be sure that rules will be the same on each computer Register (Action::<API key>, "RULES_ask_version", &<API key>); Register (Action::<API key>, "RULES_send_version", &<API key>); Register (Action::<API key>, "RULES_set_game_mode", &<API key>); // // Chat message Register (Action::ACTION_CHAT_MESSAGE, "chat_message", Action_ChatMessage); // Map selection in network menu Register (Action::ACTION_MENU_SET_MAP, "MENU_set_map", &Action_Menu_SetMap); // Teams selection in network menu Register (Action::<API key>, "MENU_add_team", &Action_Menu_AddTeam); Register (Action::<API key>, "MENU_del_team", &Action_Menu_DelTeam); Register (Action::<API key>, "MENU_update_team", &<API key>); // // Character's move Register (Action::<API key>, "CHARACTER_jump", &<API key>); Register (Action::<API key>, "<API key>", &<API key>); Register (Action::<API key>, "CHARACTER_back_jump", &<API key>); Register (Action::<API key>, "<API key>", &<API key>); // // Using Weapon Register (Action::ACTION_WEAPON_SHOOT, "WEAPON_shoot", &Action_Weapon_Shoot); Register (Action::<API key>, "WEAPON_stop_use", &<API key>); // Quite standard weapon options Register (Action::<API key>, "WEAPON_set_timeout", &<API key>); Register (Action::<API key>, "WEAPON_set_target", &<API key>); // Special weapon options Register (Action::<API key>, "WEAPON_supertux", &<API key>); Register (Action::<API key>, "WEAPON_construction", &<API key>); Register (Action::<API key>, "WEAPON_grapple", &<API key>); // Register (Action::<API key>, "NETWORK_sync_begin", &<API key>); Register (Action::<API key>, "NETWORK_sync_end", &<API key>); Register (Action::ACTION_NETWORK_PING, "NETWORK_ping", &Action_Network_Ping); Register (Action::ACTION_EXPLOSION, "explosion", &Action_Explosion); Register (Action::ACTION_WIND, "wind", &Action_Wind); Register (Action::<API key>, "NETWORK_random_init", &<API key>); Register (Action::<API key>, "NETWORK_random_add", &<API key>); Register (Action::<API key>, "NETWORK_disconnect", &<API key>); Register (Action::<API key>, "NETWORK_connect", &<API key>); // SDL_UnlockMutex(mutex); }
#ifndef VICE_VIC20CART_H #define VICE_VIC20CART_H #include "types.h" extern void reset_try_flags(void); extern int <API key>(int c); #define <API key> (1 << 0) #define <API key> (1 << 1) #define <API key> (1 << 2) extern int <API key>; struct snapshot_s; /* FIXME: rename functions to cartridge_... and remove these prototypes (they are in cartridge.h) */ extern int <API key>(struct snapshot_s *s); extern int <API key>(struct snapshot_s *s); /* used internally, don't call from UI or other non cart related code */ extern void cartridge_attach(int type, BYTE *rawcart); extern void cartridge_detach(int type); #endif
#include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include "summary.h" int main( int argc, char *argv[] ) { if (argc<2) { // printf( "Usage: %s <filename> <filename>\n\n", argv[0] ); printf( "Usage: %s <filename>\n\n", argv[0] ); exit(-1); } FILE *file = fopen( argv[1], "r" ); if (!file) { fprintf( stderr, "Could not open %s.\n", argv[1] ); return -1; } // Get filesize: struct stat fileinfo; fstat( fileno( file ), &fileinfo ); printf("Reading %i bytes...\n", fileinfo.st_size); int size = fileinfo.st_size; char *buf = (char*)malloc(sizeof(char)*size); int i; for (i=0; i<size;) { i+= fread( (void*)&(buf[i]), sizeof(char), size-i, file ); printf("%i...\n", i); } /* for (i=0; i<fileinfo.st_size; i++) printf("%c", buf[i]); printf("\n"); */ char *title, *body, *metakeyw, *metadesc; generate_summary( buf, size, &title, &body, &metakeyw, &metadesc ); // struct summary *S = generate_summary( text, sizeof(text) ); printf("Title: { %s }\n", title); printf("Body: { %s }\n", body); printf("Meta Keywords: { %s }\n", metakeyw); printf("Meta Description: { %s }\n", metadesc); free(buf); free(title); free(body); free(metakeyw); free(metadesc); fclose(file); /* file = fopen( argv[2], "r" ); if (!file) { fprintf( stderr, "Could not open %s.\n", argv[2] ); return -1; } // Get filesize: fstat( fileno( file ), &fileinfo ); printf("Reading %i bytes...\n", fileinfo.st_size); size = fileinfo.st_size; buf = (char*)malloc(sizeof(char)*size); for (i=0; i<size;) { i+= fread( (void*)&(buf[i]), sizeof(char), size-i, file ); printf("%i...\n", i); } // for (i=0; i<fileinfo.st_size; i++) // printf("%c", buf[i]); // printf("\n"); generate_summary( buf, size, &title, &body ); // struct summary *S = generate_summary( text, sizeof(text) ); printf("Title: { %s }\n", title); printf("Body: { %s }\n", body); */ }
#ifndef <API key> #define <API key> #include "gcharset.h" G_BEGIN_DECLS const char ** <API key> (const char *canonical_name); G_END_DECLS #endif
# Makefile.in generated by automake 1.9.5 from Makefile.am. # src/Makefile. Generated from Makefile.in by configure. # 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # PARTICULAR PURPOSE. SOURCES = $(<API key>) srcdir = . top_srcdir = .. pkgdatadir = $(datadir)/libraw1394 pkglibdir = $(libdir)/libraw1394 pkgincludedir = $(includedir)/libraw1394 top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = /usr/bin/install -c install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(<API key>) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = <API key> host_triplet = <API key> subdir = src DIST_COMMON = $(pkginclude_HEADERS) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(<API key>) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgincludedir)" <API key> = $(INSTALL) LTLIBRARIES = $(lib_LTLIBRARIES) <API key> = <API key> = main.lo eventloop.lo errors.lo readwrite.lo \ iso.lo fcp.lo arm.lo version.lo <API key> = $(<API key>) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(<API key>) DIST_SOURCES = $(<API key>) <API key> = $(INSTALL_HEADER) HEADERS = $(pkginclude_HEADERS) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = ${SHELL} /root/hvirtual/thirdparty/libraw1394-1.2.0/missing --run aclocal-1.9 AMDEP_FALSE = AMDEP_TRUE = AMTAR = ${SHELL} /root/hvirtual/thirdparty/libraw1394-1.2.0/missing --run tar AR = ar AUTOCONF = ${SHELL} /root/hvirtual/thirdparty/libraw1394-1.2.0/missing --run autoconf AUTOHEADER = ${SHELL} /root/hvirtual/thirdparty/libraw1394-1.2.0/missing --run autoheader AUTOMAKE = ${SHELL} /root/hvirtual/thirdparty/libraw1394-1.2.0/missing --run automake-1.9 AWK = gawk CC = gcc CCDEPMODE = depmode=gcc3 CFLAGS = -g -O2 CPP = gcc -E CPPFLAGS = CXX = g++ CXXCPP = g++ -E CXXDEPMODE = depmode=gcc3 CXXFLAGS = -g -O2 CYGPATH_W = echo DEFS = -DHAVE_CONFIG_H DEPDIR = .deps ECHO = echo ECHO_C = ECHO_N = -n ECHO_T = EGREP = /bin/grep -E EXEEXT = F77 = FFLAGS = INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_SCRIPT = ${INSTALL} <API key> = ${SHELL} $(install_sh) -c -s LDFLAGS = LIBOBJS = LIBS = LIBTOOL = $(SHELL) $(top_builddir)/libtool LN_S = ln -s LTLIBOBJS = MAKEINFO = ${SHELL} /root/hvirtual/thirdparty/libraw1394-1.2.0/missing --run makeinfo OBJEXT = o PACKAGE = libraw1394 PACKAGE_BUGREPORT = PACKAGE_NAME = libraw1394 PACKAGE_STRING = libraw1394 1.2.0 PACKAGE_TARNAME = libraw1394 PACKAGE_VERSION = 1.2.0 PATH_SEPARATOR = : RANLIB = ranlib SET_MAKE = SHELL = /bin/sh STRIP = strip VERSION = 1.2.0 ac_ct_AR = @ac_ct_AR@ ac_ct_CC = gcc ac_ct_CXX = g++ ac_ct_F77 = ac_ct_RANLIB = @ac_ct_RANLIB@ ac_ct_STRIP = @ac_ct_STRIP@ am__fastdepCC_FALSE = am__fastdepCC_TRUE = <API key> = am__fastdepCXX_TRUE = am__include = include am__leading_dot = . am__quote = am__tar = ${AMTAR} chof - "$$tardir" am__untar = ${AMTAR} xf - bindir = ${exec_prefix}/bin build = <API key> build_alias = build_cpu = x86_64 build_os = linux-gnu build_vendor = unknown datadir = ${prefix}/share exec_prefix = ${prefix} host = <API key> host_alias = host_cpu = x86_64 host_os = linux-gnu host_vendor = unknown includedir = ${prefix}/include infodir = ${prefix}/share/info install_sh = /root/hvirtual/thirdparty/libraw1394-1.2.0/install-sh libdir = ${exec_prefix}/lib libexecdir = ${exec_prefix}/libexec localstatedir = ${prefix}/var lt_age = 1 lt_major = 9 lt_revision = 0 mandir = ${prefix}/share/man mkdir_p = mkdir -p oldincludedir = /usr/include prefix = /usr/local <API key> = s,x,x, sbindir = ${exec_prefix}/sbin sharedstatedir = ${prefix}/com sysconfdir = ${prefix}/etc target_alias = <API key> = Makefile.in # the libraw1394 itself lib_LTLIBRARIES = libraw1394.la <API key> = -version-info 9:0:1 <API key> = \ main.c \ eventloop.c \ errors.c \ readwrite.c \ iso.c \ fcp.c \ arm.c \ version.c \ kernel-raw1394.h \ raw1394_private.h \ ieee1394-ioctl.h # headers to be installed pkginclude_HEADERS = raw1394.h csr.h ieee1394.h all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu src/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(<API key>) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh <API key>: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)" @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ if test -f $$p; then \ f=$(am__strip_dir) \ echo " $(LIBTOOL) --mode=install $(<API key>) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ $(LIBTOOL) --mode=install $(<API key>) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ else :; fi; \ done <API key>: @$(NORMAL_UNINSTALL) @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \ p=$(am__strip_dir) \ echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ done <API key>: -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done libraw1394.la: $(<API key>) $(<API key>) $(LINK) -rpath $(libdir) $(<API key>) $(<API key>) $(<API key>) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c include ./$(DEPDIR)/arm.Plo include ./$(DEPDIR)/errors.Plo include ./$(DEPDIR)/eventloop.Plo include ./$(DEPDIR)/fcp.Plo include ./$(DEPDIR)/iso.Plo include ./$(DEPDIR)/main.Plo include ./$(DEPDIR)/readwrite.Plo include ./$(DEPDIR)/version.Plo .c.o: if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi # source='$<' object='$@' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(COMPILE) -c $< .c.obj: if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi # source='$<' object='$@' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi # source='$<' object='$@' libtool=yes \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: <API key>: $(pkginclude_HEADERS) @$(NORMAL_INSTALL) test -z "$(pkgincludedir)" || $(mkdir_p) "$(DESTDIR)$(pkgincludedir)" @list='$(pkginclude_HEADERS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(<API key>) '$$d$$p' '$(DESTDIR)$(pkgincludedir)/$$f'"; \ $(<API key>) "$$d$$p" "$(DESTDIR)$(pkgincludedir)/$$f"; \ done <API key>: @$(NORMAL_UNINSTALL) @list='$(pkginclude_HEADERS)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(pkgincludedir)/$$f'"; \ rm -f "$(DESTDIR)$(pkgincludedir)/$$f"; \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \
require File.expand_path('../../test_helper', __FILE__) require '<API key>' # Re-raise errors caught by the controller. class <API key>; def rescue_action(e) raise e end; end class <API key> < ActionController::TestCase fixtures :issue_statuses, :issues def setup @controller = <API key>.new @request = ActionController::TestRequest.new @response = ActionController::TestResponse.new User.current = nil @request.session[:user_id] = 1 # admin end def test_index get :index assert_response :success assert_template 'index' end def <API key> @request.session[:user_id] = nil get :index <API key> '/login?back_url=http%3A%2F%2Ftest.host%2Fissue_statuses' end def <API key> @request.session[:user_id] = 2 get :index assert_response 406 end def test_new get :new assert_response :success assert_template 'new' end def test_create assert_difference 'IssueStatus.count' do post :create, :issue_status => {:name => 'New status'} end <API key> :action => 'index' status = IssueStatus.find(:first, :order => 'id DESC') assert_equal 'New status', status.name end def <API key> post :create, :issue_status => {:name => ''} assert_response :success assert_template 'new' assert_error_tag :content => /name can't be blank/i end def test_edit get :edit, :id => '3' assert_response :success assert_template 'edit' end def test_update put :update, :id => '3', :issue_status => {:name => 'Renamed status'} <API key> :action => 'index' status = IssueStatus.find(3) assert_equal 'Renamed status', status.name end def <API key> put :update, :id => '3', :issue_status => {:name => ''} assert_response :success assert_template 'edit' assert_error_tag :content => /name can't be blank/i end def test_destroy Issue.delete_all("status_id = 1") assert_difference 'IssueStatus.count', -1 do delete :destroy, :id => '1' end <API key> :action => 'index' assert_nil IssueStatus.find_by_id(1) end def <API key> assert_not_nil Issue.find_by_status_id(1) <API key> 'IssueStatus.count' do delete :destroy, :id => '1' end <API key> :action => 'index' assert_not_nil IssueStatus.find_by_id(1) end def <API key> with_settings :issue_done_ratio => 'issue_field' do post :<API key> assert_match /not updated/, flash[:error].to_s <API key> '/issue_statuses' end end def <API key> with_settings :issue_done_ratio => 'issue_status' do post :<API key> assert_match /Issue done ratios updated/, flash[:notice].to_s <API key> '/issue_statuses' end end end
/** \file * LPE <parallel> implementation */ #include <glibmm/i18n.h> #include "live_effects/lpe-parallel.h" #include "sp-shape.h" #include "display/curve.h" #include <2geom/path.h> #include <2geom/transforms.h> #include "knot-holder-entity.h" #include "knotholder.h" namespace Inkscape { namespace LivePathEffect { namespace Pl { class <API key> : public LPEKnotHolderEntity { public: <API key>(LPEParallel *effect) : LPEKnotHolderEntity(effect) {}; virtual void knot_set(Geom::Point const &p, Geom::Point const &origin, guint state); virtual Geom::Point knot_get(); }; class <API key> : public LPEKnotHolderEntity { public: <API key>(LPEParallel *effect) : LPEKnotHolderEntity(effect) {}; virtual void knot_set(Geom::Point const &p, Geom::Point const &origin, guint state); virtual Geom::Point knot_get(); }; } // namespace Pl LPEParallel::LPEParallel(<API key> *lpeobject) : Effect(lpeobject), // initialise your parameters here: offset_pt(_("Offset"), _("Adjust the offset"), "offset_pt", &wr, this), length_left(_("Length left:"), _("Specifies the left end of the parallel"), "length-left", &wr, this, 150), length_right(_("Length right:"), _("Specifies the right end of the parallel"), "length-right", &wr, this, 150) { show_orig_path = true; <API key> = true; registerParameter(dynamic_cast<Parameter *>(&offset_pt)); registerParameter( dynamic_cast<Parameter *>(&length_left) ); registerParameter( dynamic_cast<Parameter *>(&length_right) ); } LPEParallel::~LPEParallel() { } void LPEParallel::doOnApply (SPLPEItem *lpeitem) { SPCurve const *curve = SP_SHAPE(lpeitem)->_curve; A = *(curve->first_point()); B = *(curve->last_point()); dir = unit_vector(B - A); offset_pt.<API key>((A + B)/2 + dir.ccw() * 100); } Geom::Piecewise<Geom::D2<Geom::SBasis> > LPEParallel::doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_in) { using namespace Geom; Piecewise<D2<SBasis> > output; A = pwd2_in.firstValue(); B = pwd2_in.lastValue(); dir = unit_vector(B - A); C = offset_pt - dir * length_left; D = offset_pt + dir * length_right; output = Piecewise<D2<SBasis> >(D2<SBasis>(Linear(C[X], D[X]), Linear(C[Y], D[Y]))); return output + dir; } void LPEParallel::<API key>(KnotHolder *knotholder, SPDesktop *desktop, SPItem *item) { { KnotHolderEntity *e = new Pl::<API key>(this); e->create( desktop, item, knotholder, Inkscape::CTRL_TYPE_UNKNOWN, _("Adjust the \"left\" end of the parallel") ); knotholder->add(e); } { KnotHolderEntity *e = new Pl::<API key>(this); e->create( desktop, item, knotholder, Inkscape::CTRL_TYPE_UNKNOWN, _("Adjust the \"right\" end of the parallel") ); knotholder->add(e); } }; namespace Pl { void <API key>::knot_set(Geom::Point const &p, Geom::Point const &/*origin*/, guint state) { using namespace Geom; LPEParallel *lpe = dynamic_cast<LPEParallel *>(_effect); Geom::Point const s = snap_knot_position(p, state); double lambda = L2(s - lpe->offset_pt) * sgn(dot(s - lpe->offset_pt, lpe->dir)); lpe->length_left.param_set_value(-lambda); <API key> (SP_LPE_ITEM(item), false, true); } void <API key>::knot_set(Geom::Point const &p, Geom::Point const &/*origin*/, guint state) { using namespace Geom; LPEParallel *lpe = dynamic_cast<LPEParallel *>(_effect); Geom::Point const s = snap_knot_position(p, state); double lambda = L2(s - lpe->offset_pt) * sgn(dot(s - lpe->offset_pt, lpe->dir)); lpe->length_right.param_set_value(lambda); <API key> (SP_LPE_ITEM(item), false, true); } Geom::Point <API key>::knot_get() { LPEParallel *lpe = dynamic_cast<LPEParallel *>(_effect); return lpe->C; } Geom::Point <API key>::knot_get() { LPEParallel *lpe = dynamic_cast<LPEParallel *>(_effect); return lpe->D; } } // namespace Pl } //namespace LivePathEffect } /* namespace Inkscape */ /* Local Variables: mode:c++ c-file-style:"stroustrup" c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) indent-tabs-mode:nil fill-column:99 End: */ // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :
include $(TOPDIR)/rules.mk PKG_NAME:=transmission PKG_VERSION:=2.94 PKG_RELEASE:=16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@GITHUB/transmission/<API key>/master PKG_HASH:=<SHA256-like> PKG_MAINTAINER:=Rosen Penev <rosenp@gmail.com> PKG_LICENSE:=GPL-2.0-or-later PKG_LICENSE_FILES:=COPYING PKG_CPE_ID:=cpe:/a:transmissionbt:transmission PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package-seccomp.mk define Package/transmission/template SUBMENU:=BitTorrent SECTION:=net CATEGORY:=Network TITLE:=BitTorrent client URL:=https: DEPENDS:=+libcurl +libevent2 +libminiupnpc +libnatpmp +libpthread +librt +zlib endef define Package/transmission-daemon/Default $(call Package/transmission/template) USERID:=transmission=224:transmission=224 endef define Package/<API key> $(call Package/transmission-daemon/Default) TITLE+= (with OpenSSL) DEPENDS+=+libopenssl VARIANT:=openssl endef define Package/<API key> $(call Package/transmission-daemon/Default) TITLE+= (with mbed TLS) DEPENDS+=+libmbedtls VARIANT:=mbedtls endef define Package/<API key> $(call Package/transmission/template) TITLE+= (with OpenSSL) DEPENDS+=+libopenssl VARIANT:=openssl endef define Package/<API key> $(call Package/transmission/template) TITLE+= (with mbed TLS) DEPENDS+=+libmbedtls VARIANT:=mbedtls endef define Package/<API key> $(call Package/transmission/template) TITLE+= (with OpenSSL) DEPENDS+=+libopenssl VARIANT:=openssl endef define Package/<API key> $(call Package/transmission/template) TITLE+= (with mbed TLS) DEPENDS+=+libmbedtls VARIANT:=mbedtls endef define Package/transmission-web $(call Package/transmission/template) TITLE+= (webinterface) DEPENDS:=@(<API key>||<API key>) PKGARCH:=all endef define Package/transmission-daemon/Default/description Transmission is a simple BitTorrent client. It features a very simple, intuitive interface on top on an efficient, cross-platform back-end. This package contains the daemon itself. endef Package/<API key>/description = $(Package/transmission-daemon/Default/description) Package/<API key>/description = $(Package/transmission-daemon/Default/description) define Package/transmission-cli/Default/description CLI utilities for transmission. endef Package/<API key>/description = $(Package/transmission-cli/Default/description) Package/<API key>/description = $(Package/transmission-cli/Default/description) define Package/transmission-remote/Default/description CLI remote interface for transmission. endef Package/<API key>/description = $(Package/transmission-remote/Default/description) Package/<API key>/description = $(Package/transmission-remote/Default/description) define Package/transmission-web/description Webinterface resources for transmission. endef define Package/<API key>/conffiles /etc/config/transmission endef Package/<API key>/conffiles = $(Package/<API key>/conffiles) TARGET_CFLAGS += -ffunction-sections -fdata-sections -flto TARGET_LDFLAGS += -Wl,--gc-sections -Wl,--as-needed CONFIGURE_ARGS += \ --enable-cli \ --enable-daemon \ --<API key> \ --enable-largefile \ --enable-lightweight \ --without-gtk \ --without-kqueue \ --<API key> ifeq ($(BUILD_VARIANT),mbedtls) CONFIGURE_ARGS += --with-crypto=polarssl CONFIGURE_VARS += \ MBEDTLS_CFLAGS="-I$(STAGING_DIR)/usr/include/mbedtls" \ MBEDTLS_LIBS="-lmbedtls -lmbedcrypto" else CONFIGURE_ARGS += --with-crypto=openssl endif define Package/<API key>/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/transmission-daemon $(1)/usr/bin/ $(INSTALL_DIR) $(1)/etc/init.d/ $(INSTALL_BIN) files/transmission.init $(1)/etc/init.d/transmission $(INSTALL_DIR) $(1)/etc/config $(INSTALL_CONF) files/transmission.config $(1)/etc/config/transmission $(INSTALL_DIR) $(1)/etc/sysctl.d/ $(INSTALL_CONF) files/transmission.sysctl $(1)/etc/sysctl.d/20-transmission.conf $(call InstallSeccomp,$(1),./files/transmission-daemon.json) endef Package/<API key>/install = $(Package/<API key>/install) define Package/<API key>/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/transmission-cli \ $(PKG_INSTALL_DIR)/usr/bin/transmission-create \ $(PKG_INSTALL_DIR)/usr/bin/transmission-edit \ $(PKG_INSTALL_DIR)/usr/bin/transmission-show \ $(1)/usr/bin/ endef Package/<API key>/install = $(Package/<API key>/install) define Package/<API key>/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/transmission-remote $(1)/usr/bin/ endef Package/<API key>/install = $(Package/<API key>/install) define Package/transmission-web/install $(INSTALL_DIR) $(1)/usr/share/transmission $(CP) $(PKG_INSTALL_DIR)/usr/share/transmission/web $(1)/usr/share/transmission/ endef $(eval $(call BuildPackage,<API key>)) $(eval $(call BuildPackage,<API key>)) $(eval $(call BuildPackage,<API key>)) $(eval $(call BuildPackage,<API key>)) $(eval $(call BuildPackage,<API key>)) $(eval $(call BuildPackage,<API key>)) $(eval $(call BuildPackage,transmission-web))
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Helper for multi submit forms * * @package PhpMyAdmin */ use PMA\libraries\Message; use PMA\libraries\Response; if (! defined('PHPMYADMIN')) { exit; } require_once 'libraries/transformations.lib.php'; require_once 'libraries/sql.lib.php'; require_once 'libraries/mult_submits.lib.php'; $request_params = array( 'clause_is_unique', 'from_prefix', 'goto', 'mult_btn', 'original_sql_query', 'query_type', 'reload', 'selected', 'selected_fld', '<API key>', 'sql_query', 'submit_mult', 'table_type', 'to_prefix', 'url_query' ); foreach ($request_params as $one_request_param) { if (isset($_REQUEST[$one_request_param])) { $GLOBALS[$one_request_param] = $_REQUEST[$one_request_param]; } } global $db, $table, $clause_is_unique, $from_prefix, $goto, $mult_btn, $original_sql_query, $query_type, $reload, $selected, $selected_fld, $<API key>, $sql_query, $submit_mult, $table_type, $to_prefix, $url_query, $pmaThemeImage; /** * Prepares the work and runs some other scripts if required */ if (! empty($submit_mult) && $submit_mult != __('With selected:') && (! empty($_REQUEST['selected_dbs']) || ! empty($_POST['selected_tbl']) || ! empty($selected_fld) || ! empty($_REQUEST['rows_to_delete'])) ) { define('PMA_SUBMIT_MULT', 1); if (! empty($_REQUEST['selected_dbs'])) { // coming from server database view - do something with // selected databases $selected = $_REQUEST['selected_dbs']; $query_type = 'drop_db'; } elseif (! empty($_POST['selected_tbl'])) { // coming from database structure view - do something with // selected tables $selected = $_POST['selected_tbl']; switch ($submit_mult) { case 'add_prefix_tbl': case 'replace_prefix_tbl': case '<API key>': case 'drop_db': case 'drop_tbl': case 'empty_tbl': $what = $submit_mult; break; case 'check_tbl': case 'optimize_tbl': case 'repair_tbl': case 'analyze_tbl': case 'checksum_tbl': $query_type = $submit_mult; unset($submit_mult); $mult_btn = __('Yes'); break; case 'export': unset($submit_mult); include 'db_export.php'; exit; case 'copy_tbl': $views = $GLOBALS['dbi']->getVirtualTables($db); list($full_query, $reload, $full_query_views) = <API key>( $submit_mult, $table, $selected, $views ); $_url_params = PMA_getUrlParams( $submit_mult, $reload, $action, $db, $table, $selected, $views, isset($original_sql_query)? $original_sql_query : null, isset($original_url_query)? $original_url_query : null ); $response = PMA\libraries\Response::getInstance(); $response->disable(); $response->addHTML( <API key>($action, $_url_params) ); exit; case 'show_create': $show_create = PMA\libraries\Template::get( 'database/structure/show_create' ) ->render( array( 'db' => $GLOBALS['db'], 'db_objects' => $selected, ) ); // Send response to client. $response = PMA\libraries\Response::getInstance(); $response->addJSON('message', $show_create); exit; case '<API key>': include_once 'libraries/central_columns.lib.php'; $centralColsError = <API key>($selected); break; case '<API key>': include_once 'libraries/central_columns.lib.php'; $centralColsError = <API key>($selected); break; case '<API key>': include_once 'libraries/central_columns.lib.php'; $centralColsError = <API key>( $GLOBALS['db'], $selected ); break; } // end switch } elseif (isset($selected_fld) && !empty($selected_fld)) { // coming from table structure view - do something with // selected columns // handled in StructrueController } else { // coming from browsing - do something with selected rows $what = 'row_delete'; $selected = $_REQUEST['rows_to_delete']; } } // end if if (empty($db)) { $db = ''; } if (empty($table)) { $table = ''; } $views = $GLOBALS['dbi']->getVirtualTables($db); /** * Displays the confirmation form if required */ if (!empty($submit_mult) && !empty($what)) { unset($message); if (strlen($table) > 0) { include './libraries/tbl_common.inc.php'; $url_query .= '&amp;goto=tbl_sql.php&amp;back=tbl_sql.php'; include './libraries/tbl_info.inc.php'; } elseif (strlen($db) > 0) { include './libraries/db_common.inc.php'; list( $tables, $num_tables, $total_num_tables, $sub_part, $is_show_stats, $db_is_system_schema, $tooltip_truename, $tooltip_aliasname, $pos ) = PMA\libraries\Util::getDbInfo($db, isset($sub_part) ? $sub_part : ''); } else { include_once './libraries/server_common.inc.php'; } // Builds the query list($full_query, $reload, $full_query_views) = <API key>( $what, $table, $selected, $views ); // Displays the confirmation form $_url_params = PMA_getUrlParams( $what, $reload, $action, $db, $table, $selected, $views, isset($original_sql_query)? $original_sql_query : null, isset($original_url_query)? $original_url_query : null ); $response = PMA\libraries\Response::getInstance(); if ($what == 'replace_prefix_tbl' || $what == '<API key>') { $response->disable(); $response->addHTML( <API key>($action, $_url_params) ); } elseif ($what == 'add_prefix_tbl') { $response->disable(); $response->addHTML(<API key>($action, $_url_params)); } else { $response->addHTML( <API key>($what, $action, $_url_params, $full_query) ); } exit; } elseif (! empty($mult_btn) && $mult_btn == __('Yes')) { /** * Executes the query - dropping rows, columns/fields, tables or dbs */ if ($query_type == 'drop_db' || $query_type == 'drop_tbl' || $query_type == 'drop_fld' ) { include_once './libraries/relation_cleanup.lib.php'; } if ($query_type == 'primary_fld') { // Gets table primary key $GLOBALS['dbi']->selectDb($db); $result = $GLOBALS['dbi']->query( 'SHOW KEYS FROM ' . PMA\libraries\Util::backquote($table) . ';' ); $primary = ''; while ($row = $GLOBALS['dbi']->fetchAssoc($result)) { // Backups the list of primary keys if ($row['Key_name'] == 'PRIMARY') { $primary .= $row['Column_name'] . ', '; } } // end while $GLOBALS['dbi']->freeResult($result); } if ($query_type == 'drop_tbl' || $query_type == 'empty_tbl' || $query_type == 'row_delete' ) { $<API key> = PMA\libraries\Util::<API key>(); } list( $result, $<API key>, $reload_ret, $run_parts, $execute_query_later, $sql_query, $sql_query_views ) = <API key>( $query_type, $selected, $db, $table, $views, isset($primary) ? $primary : null, isset($from_prefix) ? $from_prefix : null, isset($to_prefix) ? $to_prefix : null ); //update the existed variable if (isset($reload_ret)) { $reload = $reload_ret; } if ($query_type == 'drop_tbl') { if (!empty($sql_query)) { $sql_query .= ';'; } elseif (!empty($sql_query_views)) { $sql_query = $sql_query_views . ';'; unset($sql_query_views); } } if ($execute_query_later) { <API key>( null, // <API key> false, // is_gotofile $db, $table, // table null, // find_real_end null, // <API key> null, // extra_data null, // message_to_show null, // message null, // sql_data $goto, // goto $pmaThemeImage, // pmaThemeImage null, // disp_query null, // disp_message $query_type, // query_type $sql_query, // sql_query $selected, // selectedTables null // complete_query ); } elseif (!$run_parts) { $GLOBALS['dbi']->selectDb($db); $result = $GLOBALS['dbi']->tryQuery($sql_query); if ($result && !empty($sql_query_views)) { $sql_query .= ' ' . $sql_query_views . ';'; $result = $GLOBALS['dbi']->tryQuery($sql_query_views); unset($sql_query_views); } if (! $result) { $message = Message::error($GLOBALS['dbi']->getError()); } } if ($query_type == 'drop_tbl' || $query_type == 'empty_tbl' || $query_type == 'row_delete' ) { PMA\libraries\Util::<API key>($<API key>); } if ($<API key>) { // avoid a problem with the database list navigator // when dropping a db from server_databases $GLOBALS['dblist']->databases->build(); } } else { if (isset($submit_mult) && ($submit_mult == '<API key>' || $submit_mult == '<API key>' || $submit_mult == '<API key>' || $submit_mult == '<API key>' || $submit_mult == '<API key>') ) { if (isset($centralColsError) && $centralColsError !== true) { $message = $centralColsError; } else { $message = Message::success(__('Success!')); } } else { $message = Message::success(__('No change')); } }
#ifndef __LXMUSIC_UTILS_H__ #define __LXMUSIC_UTILS_H__ #include <gtk/gtk.h> #include <glib.h> #include <xmmsclient/xmmsclient.h> G_BEGIN_DECLS void kf_get_bool(GKeyFile* kf, const char* grp, const char* key, gboolean* val); void kf_get_int(GKeyFile* kf, const char* grp, const char* key, int* val); gchar* utf8_strcasestr( const gchar* s1, const gchar* s2 ); const char* timeval_to_str( guint timeval, char* buf, guint buf_len ); void show_error(GtkWindow* parent, const char* title, const char* msg); gchar* <API key> (const char *url); GString* create_window_title( const gchar* artist, const gchar* title, gboolean is_playing ); void <API key> (xmmsc_result_t *res, <API key> func, void *user_data); G_END_DECLS #endif
// * proj : OpenXDK // * desc : Open Source XBox Development Kit // * file : hal.h // * note : XBox Kernel *Hardware Abstraction Layer* Declarations #ifndef XBOXKRNL_HAL_H #define XBOXKRNL_HAL_H XBSYSAPI VOID *HalReadSMCTrayState; XBSYSAPI VOID *<API key>; XBSYSAPI VOID *<API key>; XBSYSAPI VOID *<API key>; XBSYSAPI VOID *HalDiskModelNumber; XBSYSAPI VOID *HalDiskSerialNumber; XBSYSAPI VOID *<API key>; XBSYSAPI VOID *<API key>; // * HalReadSMBusValue XBSYSAPI EXPORTNUM(45) VOID NTAPI HalReadSMBusValue ( ULONG BusNumber, ULONG SlotNumber, ULONG RegisterNumber, PVOID Buffer, ULONG Length, BOOLEAN WritePCISpace ); // * <API key> XBSYSAPI EXPORTNUM(46) VOID NTAPI <API key> ( IN ULONG BusNumber, IN ULONG SlotNumber, IN ULONG RegisterNumber, IN PVOID Buffer, IN ULONG Length, IN BOOLEAN WritePCISpace ); XBSYSAPI VOID *<API key>; XBSYSAPI VOID *<API key>; // * HalReturnToFirmware // * Reboot / Shutdown / Etc XBSYSAPI EXPORTNUM(49) VOID DECLSPEC_NORETURN HalReturnToFirmware ( RETURN_FIRMWARE Routine ); // * HalWriteSMBusValue XBSYSAPI EXPORTNUM(50) ULONG NTAPI HalWriteSMBusValue ( UCHAR Address, UCHAR Command, BOOLEAN WordFlag, ULONG Value ); // * HalBootSMCVideoMode XBSYSAPI EXPORTNUM(356) DWORD HalBootSMCVideoMode; XBSYSAPI VOID *<API key>; XBSYSAPI VOID *HalInitiateShutdown; XBSYSAPI VOID *<API key>; XBSYSAPI VOID *<API key>; // * <API key> XBSYSAPI EXPORTNUM(329) VOID NTAPI <API key> ( IN PUCHAR Port, IN PUCHAR Buffer, IN ULONG Count ); // * <API key> XBSYSAPI EXPORTNUM(330) VOID NTAPI <API key> ( IN PUSHORT Port, IN PUSHORT Buffer, IN ULONG Count ); // * <API key> XBSYSAPI EXPORTNUM(331) VOID NTAPI <API key> ( IN PULONG Port, IN PULONG Buffer, IN ULONG Count ); // * <API key> XBSYSAPI EXPORTNUM(332) VOID NTAPI <API key> ( IN PUCHAR Port, IN PUCHAR Buffer, IN ULONG Count ); // * <API key> XBSYSAPI EXPORTNUM(333) VOID NTAPI <API key> ( IN PUSHORT Port, IN PUSHORT Buffer, IN ULONG Count ); // * <API key> XBSYSAPI EXPORTNUM(334) VOID NTAPI <API key> ( IN PULONG Port, IN PULONG Buffer, IN ULONG Count ); #endif
package org.opennms.netmgt.snmp; public abstract class AbstractSnmpValue implements SnmpValue { /** * <p>If the value is in the unprintable ASCII range (< 32) and is not a:</p> * <ul> * <li>Tab (9)</li> * <li>Linefeed (10)</li> * <li>Carriage return (13)</li> * <ul> * <p>or the byte is Delete (127) then this method will return false. Also, if the byte * array has a NULL byte (0) that occurs anywhere besides the last character, return false. * We will allow the NULL byte as a special case at the end of the string.</p> */ protected boolean allBytesDisplayable(byte[] bytes) { for (int i = 0; i < bytes.length; i++) { byte b = bytes[i]; // Null (0) if (b == 0) { if (i != (bytes.length - 1)) { return false; } } // Low or high ASCII (excluding Tab, Carriage Return, and Linefeed) else if (b < 32 && b != 9 && b != 10 && b != 13) { return false; } // Delete (127) else if (b == 127) { return false; } } return true; } }
#include <linux/platform_device.h> #include <linux/dma-mapping.h> #include <linux/errno.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/mc146818rtc.h> #include <linux/module.h> #include <linux/reboot.h> #include <linux/sched.h> #include <linux/smp.h> #include <linux/spinlock.h> #include <linux/string.h> #include <linux/types.h> #include <asm/io.h> #include <asm/semaphore.h> #include "dcdbas.h" #define DRIVER_NAME "dcdbas" #define DRIVER_VERSION "5.6.0-1" #define DRIVER_DESCRIPTION "Dell Systems Management Base Driver" static struct platform_device *dcdbas_pdev; static u8 *smi_data_buf; static dma_addr_t smi_data_buf_handle; static unsigned long smi_data_buf_size; static u32 <API key>; static DECLARE_MUTEX(smi_data_lock); static unsigned int host_control_action; static unsigned int <API key>; static unsigned int <API key>; /** * smi_data_buf_free: free SMI data buffer */ static void smi_data_buf_free(void) { if (!smi_data_buf) return; dev_dbg(&dcdbas_pdev->dev, "%s: phys: %x size: %lu\n", __FUNCTION__, <API key>, smi_data_buf_size); dma_free_coherent(&dcdbas_pdev->dev, smi_data_buf_size, smi_data_buf, smi_data_buf_handle); smi_data_buf = NULL; smi_data_buf_handle = 0; <API key> = 0; smi_data_buf_size = 0; } /** * <API key>: grow SMI data buffer if needed */ static int <API key>(unsigned long size) { void *buf; dma_addr_t handle; if (smi_data_buf_size >= size) return 0; if (size > <API key>) return -EINVAL; /* new buffer is needed */ buf = dma_alloc_coherent(&dcdbas_pdev->dev, size, &handle, GFP_KERNEL); if (!buf) { dev_dbg(&dcdbas_pdev->dev, "%s: failed to allocate memory size %lu\n", __FUNCTION__, size); return -ENOMEM; } /* memory zeroed by dma_alloc_coherent */ if (smi_data_buf) memcpy(buf, smi_data_buf, smi_data_buf_size); /* free any existing buffer */ smi_data_buf_free(); /* set up new buffer for use */ smi_data_buf = buf; smi_data_buf_handle = handle; <API key> = (u32) virt_to_phys(buf); smi_data_buf_size = size; dev_dbg(&dcdbas_pdev->dev, "%s: phys: %x size: %lu\n", __FUNCTION__, <API key>, smi_data_buf_size); return 0; } static ssize_t <API key>(struct device *dev, struct device_attribute *attr, char *buf) { return sprintf(buf, "%x\n", <API key>); } static ssize_t <API key>(struct device *dev, struct device_attribute *attr, char *buf) { return sprintf(buf, "%lu\n", smi_data_buf_size); } static ssize_t <API key>(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) { unsigned long buf_size; ssize_t ret; buf_size = simple_strtoul(buf, NULL, 10); /* make sure SMI data buffer is at least buf_size */ down(&smi_data_lock); ret = <API key>(buf_size); up(&smi_data_lock); if (ret) return ret; return count; } static ssize_t smi_data_read(struct kobject *kobj, char *buf, loff_t pos, size_t count) { size_t max_read; ssize_t ret; down(&smi_data_lock); if (pos >= smi_data_buf_size) { ret = 0; goto out; } max_read = smi_data_buf_size - pos; ret = min(max_read, count); memcpy(buf, smi_data_buf + pos, ret); out: up(&smi_data_lock); return ret; } static ssize_t smi_data_write(struct kobject *kobj, char *buf, loff_t pos, size_t count) { ssize_t ret; down(&smi_data_lock); ret = <API key>(pos + count); if (ret) goto out; memcpy(smi_data_buf + pos, buf, count); ret = count; out: up(&smi_data_lock); return ret; } static ssize_t <API key>(struct device *dev, struct device_attribute *attr, char *buf) { return sprintf(buf, "%u\n", host_control_action); } static ssize_t <API key>(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) { ssize_t ret; /* make sure buffer is available for host control command */ down(&smi_data_lock); ret = <API key>(sizeof(struct apm_cmd)); up(&smi_data_lock); if (ret) return ret; host_control_action = simple_strtoul(buf, NULL, 10); return count; } static ssize_t <API key>(struct device *dev, struct device_attribute *attr, char *buf) { return sprintf(buf, "%u\n", <API key>); } static ssize_t <API key>(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) { <API key> = simple_strtoul(buf, NULL, 10); return count; } static ssize_t <API key>(struct device *dev, struct device_attribute *attr, char *buf) { return sprintf(buf, "%u\n", <API key>); } static ssize_t <API key>(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) { <API key> = simple_strtoul(buf, NULL, 10); return count; } /** * smi_request: generate SMI request * * Called with smi_data_lock. */ static int smi_request(struct smi_cmd *smi_cmd) { cpumask_t old_mask; int ret = 0; if (smi_cmd->magic != SMI_CMD_MAGIC) { dev_info(&dcdbas_pdev->dev, "%s: invalid magic value\n", __FUNCTION__); return -EBADR; } /* SMI requires CPU 0 */ old_mask = current->cpus_allowed; set_cpus_allowed(current, cpumask_of_cpu(0)); if (smp_processor_id() != 0) { dev_dbg(&dcdbas_pdev->dev, "%s: failed to get CPU 0\n", __FUNCTION__); ret = -EBUSY; goto out; } /* generate SMI */ asm volatile ( "outb %b0,%w1" : /* no output args */ : "a" (smi_cmd->command_code), "d" (smi_cmd->command_address), "b" (smi_cmd->ebx), "c" (smi_cmd->ecx) : "memory" ); out: set_cpus_allowed(current, old_mask); return ret; } /** * smi_request_store: * * The valid values are: * 0: zero SMI data buffer * 1: generate calling interface SMI * 2: generate raw SMI * * User application writes smi_cmd to smi_data before telling driver * to generate SMI. */ static ssize_t smi_request_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) { struct smi_cmd *smi_cmd; unsigned long val = simple_strtoul(buf, NULL, 10); ssize_t ret; down(&smi_data_lock); if (smi_data_buf_size < sizeof(struct smi_cmd)) { ret = -ENODEV; goto out; } smi_cmd = (struct smi_cmd *)smi_data_buf; switch (val) { case 2: /* Raw SMI */ ret = smi_request(smi_cmd); if (!ret) ret = count; break; case 1: /* Calling Interface SMI */ smi_cmd->ebx = (u32) virt_to_phys(smi_cmd->command_buffer); ret = smi_request(smi_cmd); if (!ret) ret = count; break; case 0: memset(smi_data_buf, 0, smi_data_buf_size); ret = count; break; default: ret = -EINVAL; break; } out: up(&smi_data_lock); return ret; } /** * host_control_smi: generate host control SMI * * Caller must set up the host control command in smi_data_buf. */ static int host_control_smi(void) { struct apm_cmd *apm_cmd; u8 *data; unsigned long flags; u32 num_ticks; s8 cmd_status; u8 index; apm_cmd = (struct apm_cmd *)smi_data_buf; apm_cmd->status = <API key>; switch (<API key>) { case HC_SMITYPE_TYPE1: spin_lock_irqsave(&rtc_lock, flags); /* write SMI data buffer physical address */ data = (u8 *)&<API key>; for (index = <API key>; index < (<API key> + 4); index++, data++) { outb(index, (CMOS_BASE_PORT + <API key>)); outb(*data, (CMOS_BASE_PORT + <API key>)); } /* first set status to -1 as called by spec */ cmd_status = <API key>; outb((u8) cmd_status, <API key>); /* generate SMM call */ outb(ESM_APM_CMD, <API key>); <API key>(&rtc_lock, flags); /* wait a few to see if it executed */ num_ticks = <API key>; while ((cmd_status = inb(<API key>)) == <API key>) { num_ticks if (num_ticks == EXPIRED_TIMER) return -ETIME; } break; case HC_SMITYPE_TYPE2: case HC_SMITYPE_TYPE3: spin_lock_irqsave(&rtc_lock, flags); /* write SMI data buffer physical address */ data = (u8 *)&<API key>; for (index = <API key>; index < (<API key> + 4); index++, data++) { outb(index, (CMOS_BASE_PORT + <API key>)); outb(*data, (CMOS_BASE_PORT + <API key>)); } /* generate SMM call */ if (<API key> == HC_SMITYPE_TYPE3) outb(ESM_APM_CMD, <API key>); else outb(ESM_APM_CMD, <API key>); /* restore RTC index pointer since it was written to above */ CMOS_READ(RTC_REG_C); <API key>(&rtc_lock, flags); /* read control port back to serialize write */ cmd_status = inb(<API key>); /* wait a few to see if it executed */ num_ticks = <API key>; while (apm_cmd->status == <API key>) { num_ticks if (num_ticks == EXPIRED_TIMER) return -ETIME; } break; default: dev_dbg(&dcdbas_pdev->dev, "%s: invalid SMI type %u\n", __FUNCTION__, <API key>); return -ENOSYS; } return 0; } /** * dcdbas_host_control: initiate host control * * This function is called by the driver after the system has * finished shutting down if the user application specified a * host control action to perform on shutdown. It is safe to * use smi_data_buf at this point because the system has finished * shutting down and no userspace apps are running. */ static void dcdbas_host_control(void) { struct apm_cmd *apm_cmd; u8 action; if (host_control_action == HC_ACTION_NONE) return; action = host_control_action; host_control_action = HC_ACTION_NONE; if (!smi_data_buf) { dev_dbg(&dcdbas_pdev->dev, "%s: no SMI buffer\n", __FUNCTION__); return; } if (smi_data_buf_size < sizeof(struct apm_cmd)) { dev_dbg(&dcdbas_pdev->dev, "%s: SMI buffer too small\n", __FUNCTION__); return; } apm_cmd = (struct apm_cmd *)smi_data_buf; /* power off takes precedence */ if (action & <API key>) { apm_cmd->command = ESM_APM_POWER_CYCLE; apm_cmd->reserved = 0; *((s16 *)&apm_cmd->parameters.shortreq.parm[0]) = (s16) 0; host_control_smi(); } else if (action & <API key>) { apm_cmd->command = ESM_APM_POWER_CYCLE; apm_cmd->reserved = 0; *((s16 *)&apm_cmd->parameters.shortreq.parm[0]) = (s16) 20; host_control_smi(); } } /** * <API key>: handle reboot notification for host control */ static int <API key>(struct notifier_block *nb, unsigned long code, void *unused) { static unsigned int notify_cnt = 0; switch (code) { case SYS_DOWN: case SYS_HALT: case SYS_POWER_OFF: if (<API key>) { /* firmware is going to perform host control action */ if (++notify_cnt == 2) { printk(KERN_WARNING "Please wait for shutdown " "action to complete...\n"); dcdbas_host_control(); } /* * register again and initiate the host control * action on the second notification to allow * everyone that registered to be notified */ <API key>(nb); } break; } return NOTIFY_DONE; } static struct notifier_block dcdbas_reboot_nb = { .notifier_call = <API key>, .next = NULL, .priority = 0 }; static DCDBAS_BIN_ATTR_RW(smi_data); static struct bin_attribute *dcdbas_bin_attrs[] = { &bin_attr_smi_data, NULL }; static DCDBAS_DEV_ATTR_RW(smi_data_buf_size); static DCDBAS_DEV_ATTR_RO(<API key>); static DCDBAS_DEV_ATTR_WO(smi_request); static DCDBAS_DEV_ATTR_RW(host_control_action); static DCDBAS_DEV_ATTR_RW(<API key>); static DCDBAS_DEV_ATTR_RW(<API key>); static struct device_attribute *dcdbas_dev_attrs[] = { &<API key>, &<API key>, &<API key>, &<API key>, &<API key>, &<API key>, NULL }; /** * dcdbas_init: initialize driver */ static int __init dcdbas_init(void) { int i; host_control_action = HC_ACTION_NONE; <API key> = HC_SMITYPE_NONE; dcdbas_pdev = <API key>(DRIVER_NAME, -1, NULL, 0); if (IS_ERR(dcdbas_pdev)) return PTR_ERR(dcdbas_pdev); /* * BIOS SMI calls require buffer addresses be in 32-bit address space. * This is done by setting the DMA mask below. */ dcdbas_pdev->dev.coherent_dma_mask = DMA_32BIT_MASK; dcdbas_pdev->dev.dma_mask = &dcdbas_pdev->dev.coherent_dma_mask; <API key>(&dcdbas_reboot_nb); for (i = 0; dcdbas_bin_attrs[i]; i++) <API key>(&dcdbas_pdev->dev.kobj, dcdbas_bin_attrs[i]); for (i = 0; dcdbas_dev_attrs[i]; i++) device_create_file(&dcdbas_pdev->dev, dcdbas_dev_attrs[i]); dev_info(&dcdbas_pdev->dev, "%s (version %s)\n", DRIVER_DESCRIPTION, DRIVER_VERSION); return 0; } /** * dcdbas_exit: perform driver cleanup */ static void __exit dcdbas_exit(void) { <API key>(dcdbas_pdev); <API key>(&dcdbas_reboot_nb); smi_data_buf_free(); } module_init(dcdbas_init); module_exit(dcdbas_exit); MODULE_DESCRIPTION(DRIVER_DESCRIPTION " (version " DRIVER_VERSION ")"); MODULE_VERSION(DRIVER_VERSION); MODULE_AUTHOR("Dell Inc."); MODULE_LICENSE("GPL");
$data.Class.define('$data.JayService.OData.BatchProcessor', null, null, { constructor: function (context, baseUrl) { <signature> <summary>Process OData standard batch requests</summary> <description>Process OData standard batch requests</description> <param name="context" type="$data.EntityContext">Context instance</param> <param name="baseUrl" type="String">Service url</param> </signature> this.context = context; this.baseUrl = baseUrl; this.Q = require('q'); this.queryHelper = require('qs'); }, process: function (request, response) { <signature> <summary>Process OData standard batch requests</summary> <description>Process OData standard batch requests</description> <param name="request" type="Object"/> <param name="response" type="Object"/> <return type="function" /> </signature> //processRequest var self = this; var reqWrapper = { body: request.body, headers: request.headers } OData.batchServerHandler.read(reqWrapper, {}); var idx = -1; var pHandler = new $data.PromiseHandler(); var cbWrapper = pHandler.createCallback(); if (reqWrapper.data) { var batchRequests = reqWrapper.data.__batchRequests; var batchResult = []; var saveSuccess = function () { idx++; if (idx < batchRequests.length) { if (batchRequests[idx].__changeRequests) { self._processBatch(batchRequests[idx].__changeRequests, request, { success: function (result) { if (result) batchResult.push({ __changeRequests: result }); saveSuccess(); }, error: function (e) { cbWrapper.error(e === 'Authorization failed' ? e : batchResult) } }); } else { self._processBatchRead(batchRequests[idx], request, response, { success: function (result) { if (result) batchResult.push(result); saveSuccess(); }, error: function (e) { cbWrapper.error(e === 'Authorization failed' ? e : batchResult) } }); } } else { cbWrapper.success(batchResult); } } saveSuccess(); } else { cbWrapper.error(new Exception('Parse request failed', 'Bad Request')); } //processResponse return function (success, error) { var responseData = { headers: { 'Content-Type': $data.JayService.OData.Defaults.<API key> }, data: { __batchRequests: [] } }; self.Q.when(pHandler.getPromise()).then(function (batchRes) { //buildResponse for (var i = 0; i < batchRes.length; i++) { var refData = batchRes[i]; if (refData.__changeRequests) { responseData.data.__batchRequests.push({ __changeRequests: self._prepareBatch(refData.__changeRequests, request) }); } else { responseData.data.__batchRequests.push(self._prepareBatchRead(refData, request)); } } OData.batchServerHandler.write(responseData, {}); //writeheaders for (var name in responseData.headers) { if (name.toLowerCase() !== 'content-type') { response.setHeader(name, responseData.headers[name]); } } response.statusCode = 202; var res = new $data.<API key>(responseData.body, responseData.batchBoundary); success(res); }).fail(function(err){ error(err); }); } }, <API key>: function(changeRequest, referenceData, itemType){ for (var ni in changeRequest.data){ var d = changeRequest.data; if (d.hasOwnProperty(ni)){ var o = d[ni]; if (Array.isArray(o)){ //console.log('ooooooooo', o); o.forEach(function(it, i, arr){ var uri = it.__metadata.uri; var ref; if (uri.indexOf('$') >= 0){ ref = referenceData[uri.slice(1)].resultObject; }else{ var urlPart = $data.JayService.OData.Utils.parseUrlPart(uri, this.context); ref = new urlPart.set.elementType(urlPart.idObj); ref.entityState = $data.EntityState.Unchanged; //console.log('URLPART', $data.JayService.OData.Utils.parseUrlPart(uri, this.context)); } o[i] = ref;// new (Container.resolveType(itemType.memberDefinitions.getMember(ni).type))(ref.data); /*switch (ref.method){ case 'MERGE': case 'PATCH': o[i].entityState = $data.EntityState.Modified; break; case 'POST': o[i].entityState = $data.EntityState.Added; break; }*/ }); }else{ if (typeof o === 'object' && o && o.__metadata && o.__metadata.uri){ var uri = o.__metadata.uri; var ref; if (uri.indexOf('$') >= 0){ ref = referenceData[uri.slice(1)].resultObject; }else{ var urlPart = $data.JayService.OData.Utils.parseUrlPart(uri, this.context); ref = new urlPart.set.elementType(urlPart.idObj); ref.entityState = $data.EntityState.Unchanged; //console.log('URLPART', $data.JayService.OData.Utils.parseUrlPart(uri, this.context)); } d[ni] = ref; //new (Container.resolveType(itemType.memberDefinitions.getMember(ni).type))(ref.data); /*switch (ref.method){ case 'MERGE': case 'PATCH': d[ni].entityState = $data.EntityState.Modified; break; case 'POST': d[ni].entityState = $data.EntityState.Added; break; }*/ } } } } }, _processBatch: function (changeRequests, request, callback) { var referenceData = {}; for (var j = 0, l2 = changeRequests.length; j < l2; j++) { var changeRequest = changeRequests[j]; //Refactor var setInfo = $data.JayService.OData.Utils.parseUrlPart(changeRequest.urlPart.replace(request.fullRoute, ''), this.context); var itemType = setInfo.set.elementType; var refId = changeRequest.headers['Content-Id'] || changeRequest.headers['content-id'] || changeRequest.headers['Content-ID'] || $data.JayService.OData.Utils.getRandom(itemType.name); referenceData[refId] = { requestObject: changeRequest }; switch (changeRequest.method) { case 'POST': //discover navigations (__metadata.uri: "$n") this.<API key>(changeRequest, referenceData, itemType); var entity = new itemType(changeRequest.data); referenceData[refId].resultObject = entity; setInfo.set.add(entity); break; case 'MERGE': case 'PATCH': //discover navigations (__metadata.uri: "$n") this.<API key>(changeRequest, referenceData, itemType); var entity = new itemType(changeRequest.data); referenceData[refId].resultObject = entity; setInfo.set.attach(entity); entity.changedProperties = entity.getType().memberDefinitions.<API key>().filter(function(p){ if (entity[p.name] === undefined) return false; if (p.computed) return false; return p; }); entity.entityState = $data.EntityState.Modified; break; case 'DELETE': var entity = new itemType(setInfo.idObj); referenceData[refId].resultObject = entity; setInfo.set.remove(entity); break; default: break; } } //console.log(changeRequests.map(function(it){ return JSON.stringify(it.data); })); return this.context.saveChanges({ success: function () { callback.success(referenceData); }, error: function (e) { callback.error(e); } }); }, _processBatchRead: function (getBatchrequest, req, res, callback) { var getProcessor = new $data.JayService.OData.EntitySetProcessor('', this.context, { top: this.context.storageProvider.<API key>.responseLimit || $data.JayService.OData.Defaults.<API key> }); var batchUrl = getBatchrequest.urlPart.replace(req.fullRoute, ''); var subReq = { url: batchUrl, method: 'GET', query: this._getQueryObject(batchUrl), headers: getBatchrequest.headers }; var config = { version: 'V2', baseUrl: req.fullRoute, request: subReq, response: res, context: this.context.getType(), simpleResult: batchUrl.toLowerCase().indexOf('/$count') > 0, isCountResult: batchUrl.toLowerCase().indexOf('/$count') > 0 }; if (getProcessor.isSupported(subReq)) { getProcessor.ReadFromEntitySet(subReq, config, { success: function (result) { callback.success({ requestObject: getBatchrequest, resultObject: result, elementType: getProcessor.entitySet.elementType }); }, error: callback.error }); } else { callback.error(); } }, _getQueryObject: function (url) { var paramIdx; if ((paramIdx = url.indexOf('?')) >= 0) { return this.queryHelper.parse(url.slice(paramIdx + 1)); } else { return {}; } }, _prepareBatch: function (changedElements, request) { var responseData = []; var entityTransformer = new $data.oDataServer.EntityTransform(this.context.getType(), this.baseUrl); var <API key> = new $data.oDataServer.EntityXmlTransform(this.context.getType(), this.baseUrl, { headers: request.headers }); for (var contentId in changedElements) { var resItem = changedElements[contentId]; var response = { headers: { 'Content-Id': contentId, '<API key>': 'nosniff', 'Cache-Control': 'no-cache' } }; switch (resItem.requestObject.method) { case "POST": response.statusName = 'Created'; response.statusCode = 201; var requestContentType = $data.JayService.OData.Utils.getHeaderValue(resItem.requestObject.headers, 'Accept') || $data.JayService.OData.Utils.getHeaderValue(resItem.requestObject.headers, 'Content-Type'); if (requestContentType.indexOf($data.JayService.OData.Defaults.xmlContentType) >= 0) { this._transformItem(<API key>, response, resItem, resItem.resultObject.getType()); } else { this._transformItem(entityTransformer, response, resItem, resItem.resultObject.getType()); } break; case "MERGE": case "PATCH": case "DELETE": response.statusName = 'No Content'; response.statusCode = 204; break; default: continue; } responseData.push(response); } return responseData; }, _prepareBatchRead: function (data, request) { var entityTransformer = new $data.oDataServer.EntityTransform(this.context.getType(), this.baseUrl); var <API key> = new $data.oDataServer.EntityXmlTransform(this.context.getType(), this.baseUrl, { headers: request.headers }); var response = { headers: { '<API key>': 'nosniff', 'Cache-Control': 'no-cache' }, statusName: 'Ok', statusCode: 200 } if (data.resultObject instanceof $data.ServiceResult) { response.headers['Content-Type'] = data.resultObject.contentType; response.data = data.resultObject.getData(); } else { var requestContentType = $data.JayService.OData.Utils.getHeaderValue(data.requestObject.headers, 'Accept') || $data.JayService.OData.Utils.getHeaderValue(data.requestObject.headers, 'Content-Type'); if (requestContentType.indexOf($data.JayService.OData.Defaults.jsonContentType) >= 0) { this._transformItem(entityTransformer, response, data, data.elementType); } else { this._transformItem(<API key>, response, data, data.elementType); } } return response; }, _transformItem: function (entityTransformer, responseObj, resItem, elementType) { var isSingle = !Array.isArray(resItem.resultObject); if (entityTransformer instanceof $data.oDataServer.EntityXmlTransform) { responseObj.data = entityTransformer.convertToResponse(resItem.resultObject, elementType); responseObj.headers['Content-Type'] = $data.JayService.OData.Defaults.xmlContentType; if (isSingle) responseObj.headers['Location'] = entityTransformer.generateUri(resItem.resultObject, entityTransformer.<API key>(elementType)); } else { if (isSingle) { responseObj.data = { d: entityTransformer.convertToResponse([resItem.resultObject], elementType)[0] }; responseObj.headers['Location'] = responseObj.data.d.__metadata.url; } else { responseObj.data = { d: entityTransformer.convertToResponse(resItem.resultObject, elementType) }; } responseObj.headers['Content-Type'] = $data.JayService.OData.Defaults.<API key>; } } }, { connectBodyReader: function (req, res, next) { console.log("OBSOLATE: do not use '$data.JayService.OData.BatchProcessor.connectBodyReader' as connect middleware\r\nUse: '$data.JayService.OData.Utils.simpleBodyReader()'"); $data.JayService.OData.Utils.simpleBodyReader()(req, res, next); } });
// <API key>: GPL-2.0+ /* * Minimal serial functions needed to use one of the uart ports * as serial console interface. */ #include <common.h> #include <dm.h> #include <dm/platform_data/serial_coldfire.h> #include <serial.h> #include <linux/compiler.h> #include <asm/immap.h> #include <asm/uart.h> <API key>; extern void uart_port_conf(int port); static int <API key>(uart_t *uart, int port_idx, int baudrate) { u32 counter; uart_port_conf(port_idx); /* write to SICR: SIM2 = uart mode,dcd does not affect rx */ writeb(UART_UCR_RESET_RX, &uart->ucr); writeb(UART_UCR_RESET_TX, &uart->ucr); writeb(<API key>, &uart->ucr); writeb(UART_UCR_RESET_MR, &uart->ucr); __asm__("nop"); writeb(0, &uart->uimr); /* write to CSR: RX/TX baud rate from timers */ writeb(<API key> | <API key>, &uart->ucsr); writeb(UART_UMR_BC_8 | UART_UMR_PM_NONE, &uart->umr); writeb(<API key>, &uart->umr); /* Setting up BaudRate */ counter = (u32) ((gd->bus_clk / 32) + (baudrate / 2)); counter = counter / baudrate; /* write to CTUR: divide counter upper byte */ writeb((u8)((counter & 0xff00) >> 8), &uart->ubg1); /* write to CTLR: divide counter lower byte */ writeb((u8)(counter & 0x00ff), &uart->ubg2); writeb(UART_UCR_RX_ENABLED | UART_UCR_TX_ENABLED, &uart->ucr); return (0); } static void <API key>(uart_t *uart, int baudrate) { u32 counter; /* Setting up BaudRate */ counter = (u32) ((gd->bus_clk / 32) + (baudrate / 2)); counter = counter / baudrate; /* write to CTUR: divide counter upper byte */ writeb(((counter & 0xff00) >> 8), &uart->ubg1); /* write to CTLR: divide counter lower byte */ writeb((counter & 0x00ff), &uart->ubg2); writeb(UART_UCR_RESET_RX, &uart->ucr); writeb(UART_UCR_RESET_TX, &uart->ucr); writeb(UART_UCR_RX_ENABLED | UART_UCR_TX_ENABLED, &uart->ucr); } #ifndef CONFIG_DM_SERIAL static int mcf_serial_init(void) { uart_t *uart_base; int port_idx; uart_base = (uart_t *)<API key>; port_idx = <API key>; return <API key>(uart_base, port_idx, gd->baudrate); } static void mcf_serial_putc(const char c) { uart_t *uart = (uart_t *)<API key>; if (c == '\n') serial_putc('\r'); /* Wait for last character to go. */ while (!(readb(&uart->usr) & UART_USR_TXRDY)) ; writeb(c, &uart->utb); } static int mcf_serial_getc(void) { uart_t *uart = (uart_t *)<API key>; /* Wait for a character to arrive. */ while (!(readb(&uart->usr) & UART_USR_RXRDY)) ; return readb(&uart->urb); } static void mcf_serial_setbrg(void) { uart_t *uart = (uart_t *)<API key>; <API key>(uart, gd->baudrate); } static int mcf_serial_tstc(void) { uart_t *uart = (uart_t *)<API key>; return readb(&uart->usr) & UART_USR_RXRDY; } static struct serial_device mcf_serial_drv = { .name = "mcf_serial", .start = mcf_serial_init, .stop = NULL, .setbrg = mcf_serial_setbrg, .putc = mcf_serial_putc, .puts = default_serial_puts, .getc = mcf_serial_getc, .tstc = mcf_serial_tstc, }; void <API key>(void) { serial_register(&mcf_serial_drv); } __weak struct serial_device *<API key>(void) { return &mcf_serial_drv; } #endif #ifdef CONFIG_DM_SERIAL static int <API key>(struct udevice *dev) { struct <API key> *plat = dev->platdata; return <API key>((uart_t *)plat->base, plat->port, plat->baudrate); } static int <API key>(struct udevice *dev, const char ch) { struct <API key> *plat = dev->platdata; uart_t *uart = (uart_t *)plat->base; /* Wait for last character to go. */ if (!(readb(&uart->usr) & UART_USR_TXRDY)) return -EAGAIN; writeb(ch, &uart->utb); return 0; } static int <API key>(struct udevice *dev) { struct <API key> *plat = dev->platdata; uart_t *uart = (uart_t *)(plat->base); /* Wait for a character to arrive. */ if (!(readb(&uart->usr) & UART_USR_RXRDY)) return -EAGAIN; return readb(&uart->urb); } int <API key>(struct udevice *dev, int baudrate) { struct <API key> *plat = dev->platdata; uart_t *uart = (uart_t *)(plat->base); <API key>(uart, baudrate); return 0; } static int <API key>(struct udevice *dev, bool input) { struct <API key> *plat = dev->platdata; uart_t *uart = (uart_t *)(plat->base); if (input) return readb(&uart->usr) & UART_USR_RXRDY ? 1 : 0; else return readb(&uart->usr) & UART_USR_TXRDY ? 0 : 1; return 0; } static const struct dm_serial_ops coldfire_serial_ops = { .putc = <API key>, .pending = <API key>, .getc = <API key>, .setbrg = <API key>, }; U_BOOT_DRIVER(serial_coldfire) = { .name = "serial_coldfire", .id = UCLASS_SERIAL, .probe = <API key>, .ops = &coldfire_serial_ops, .flags = DM_FLAG_PRE_RELOC, }; #endif
#include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/interrupt.h> #include <linux/input.h> #include <linux/platform_device.h> #include <linux/i2c/twl.h> #include <linux/slab.h> /* * The TWL4030 family chips include a keypad controller that supports * up to an 8x8 switch matrix. The controller can issue system wakeup * events, since it uses only the always-on 32KiHz oscillator, and has * an internal state machine that decodes pressed keys, including * multi-key combinations. * * This driver lets boards define what keycodes they wish to report for * which scancodes, as part of the "struct twl4030_keypad_data" used in * the probe() routine. * * See the TPS65950 documentation; that's the general availability * version of the TWL5030 second generation part. */ #define TWL4030_MAX_ROWS 8 /* TWL4030 hard limit */ #define TWL4030_MAX_COLS 8 /* * Note that we add space for an extra column so that we can handle * row lines connected to the gnd (see twl4030_col_xlate()). */ #define TWL4030_ROW_SHIFT 4 #define TWL4030_KEYMAP_SIZE (TWL4030_MAX_ROWS << TWL4030_ROW_SHIFT) struct twl4030_keypad { unsigned short keymap[TWL4030_KEYMAP_SIZE]; u16 kp_state[TWL4030_MAX_ROWS]; unsigned n_rows; unsigned n_cols; unsigned irq; struct device *dbg_dev; struct input_dev *input; }; /* arbitrary prescaler value 0..7 */ #define PTV_PRESCALER 4 /* Register Offsets */ #define KEYP_CTRL 0x00 #define KEYP_DEB 0x01 #define KEYP_LONG_KEY 0x02 #define KEYP_LK_PTV 0x03 #define KEYP_TIMEOUT_L 0x04 #define KEYP_TIMEOUT_H 0x05 #define KEYP_KBC 0x06 #define KEYP_KBR 0x07 #define KEYP_SMS 0x08 #define KEYP_FULL_CODE_7_0 0x09 /* row 0 column status */ #define KEYP_FULL_CODE_15_8 0x0a /* ... row 1 ... */ #define <API key> 0x0b #define <API key> 0x0c #define <API key> 0x0d #define <API key> 0x0e #define <API key> 0x0f #define <API key> 0x10 #define KEYP_ISR1 0x11 #define KEYP_IMR1 0x12 #define KEYP_ISR2 0x13 #define KEYP_IMR2 0x14 #define KEYP_SIR 0x15 #define KEYP_EDR 0x16 /* edge triggers */ #define KEYP_SIH_CTRL 0x17 /* KEYP_CTRL_REG Fields */ #define KEYP_CTRL_SOFT_NRST BIT(0) #define KEYP_CTRL_SOFTMODEN BIT(1) #define KEYP_CTRL_LK_EN BIT(2) #define KEYP_CTRL_TOE_EN BIT(3) #define KEYP_CTRL_TOLE_EN BIT(4) #define KEYP_CTRL_RP_EN BIT(5) #define KEYP_CTRL_KBD_ON BIT(6) /* KEYP_DEB, KEYP_LONG_KEY, KEYP_TIMEOUT_x*/ #define KEYP_PERIOD_US(t, prescale) ((t) / (31 << (prescale + 1)) - 1) /* KEYP_LK_PTV_REG Fields */ #define <API key> 5 /* KEYP_{IMR,ISR,SIR} Fields */ #define KEYP_IMR1_MIS BIT(3) #define KEYP_IMR1_TO BIT(2) #define KEYP_IMR1_LK BIT(1) #define KEYP_IMR1_KP BIT(0) /* KEYP_EDR Fields */ #define KEYP_EDR_KP_FALLING 0x01 #define KEYP_EDR_KP_RISING 0x02 #define KEYP_EDR_KP_BOTH 0x03 #define KEYP_EDR_LK_FALLING 0x04 #define KEYP_EDR_LK_RISING 0x08 #define KEYP_EDR_TO_FALLING 0x10 #define KEYP_EDR_TO_RISING 0x20 #define <API key> 0x40 #define KEYP_EDR_MIS_RISING 0x80 static int twl4030_kpread(struct twl4030_keypad *kp, u8 *data, u32 reg, u8 num_bytes) { int ret = twl_i2c_read(<API key>, data, reg, num_bytes); if (ret < 0) dev_warn(kp->dbg_dev, "Couldn't read TWL4030: %X - ret %d[%x]\n", reg, ret, ret); return ret; } static int twl4030_kpwrite_u8(struct twl4030_keypad *kp, u8 data, u32 reg) { int ret = twl_i2c_write_u8(<API key>, data, reg); if (ret < 0) dev_warn(kp->dbg_dev, "Could not write TWL4030: %X - ret %d[%x]\n", reg, ret, ret); return ret; } static inline u16 twl4030_col_xlate(struct twl4030_keypad *kp, u8 col) { /* If all bits in a row are active for all coloumns then * we have that row line connected to gnd. Mark this * key on as if it was on matrix position n_cols (ie * one higher than the size of the matrix). */ if (col == 0xFF) return 1 << kp->n_cols; else return col & ((1 << kp->n_cols) - 1); } static int <API key>(struct twl4030_keypad *kp, u16 *state) { u8 new_state[TWL4030_MAX_ROWS]; int row; int ret = twl4030_kpread(kp, new_state, KEYP_FULL_CODE_7_0, kp->n_rows); if (ret >= 0) for (row = 0; row < kp->n_rows; row++) state[row] = twl4030_col_xlate(kp, new_state[row]); return ret; } static bool <API key>(struct twl4030_keypad *kp, u16 *key_state) { int i; u16 check = 0; for (i = 0; i < kp->n_rows; i++) { u16 col = key_state[i]; if ((col & check) && hweight16(col) > 1) return true; check |= col; } return false; } static void twl4030_kp_scan(struct twl4030_keypad *kp, bool release_all) { struct input_dev *input = kp->input; u16 new_state[TWL4030_MAX_ROWS]; int col, row; if (release_all) memset(new_state, 0, sizeof(new_state)); else { /* check for any changes */ int ret = <API key>(kp, new_state); if (ret < 0) /* panic ... */ return; if (<API key>(kp, new_state)) return; } /* check for changes and print those */ for (row = 0; row < kp->n_rows; row++) { int changed = new_state[row] ^ kp->kp_state[row]; if (!changed) continue; /* Extra column handles "all gnd" rows */ for (col = 0; col < kp->n_cols + 1; col++) { int code; if (!(changed & (1 << col))) continue; dev_dbg(kp->dbg_dev, "key [%d:%d] %s\n", row, col, (new_state[row] & (1 << col)) ? "press" : "release"); code = MATRIX_SCAN_CODE(row, col, TWL4030_ROW_SHIFT); input_event(input, EV_MSC, MSC_SCAN, code); input_report_key(input, kp->keymap[code], new_state[row] & (1 << col)); } kp->kp_state[row] = new_state[row]; } input_sync(input); } /* * Keypad interrupt handler */ static irqreturn_t do_kp_irq(int irq, void *_kp) { struct twl4030_keypad *kp = _kp; u8 reg; int ret; /* Read & Clear TWL4030 pending interrupt */ ret = twl4030_kpread(kp, &reg, KEYP_ISR1, 1); /* Release all keys if I2C has gone bad or * the KEYP has gone to idle state */ if (ret >= 0 && (reg & KEYP_IMR1_KP)) twl4030_kp_scan(kp, false); else twl4030_kp_scan(kp, true); return IRQ_HANDLED; } static int __devinit twl4030_kp_program(struct twl4030_keypad *kp) { u8 reg; int i; /* Enable controller, with hardware decoding but not autorepeat */ reg = KEYP_CTRL_SOFT_NRST | KEYP_CTRL_SOFTMODEN | KEYP_CTRL_TOE_EN | KEYP_CTRL_KBD_ON; if (twl4030_kpwrite_u8(kp, reg, KEYP_CTRL) < 0) return -EIO; /* NOTE: we could use sih_setup() here to package keypad * event sources as four different IRQs ... but we don't. */ /* Enable TO rising and KP rising and falling edge detection */ reg = KEYP_EDR_KP_BOTH | KEYP_EDR_TO_RISING; if (twl4030_kpwrite_u8(kp, reg, KEYP_EDR) < 0) return -EIO; /* Set PTV prescaler Field */ reg = (PTV_PRESCALER << <API key>); if (twl4030_kpwrite_u8(kp, reg, KEYP_LK_PTV) < 0) return -EIO; /* Set key debounce time to 20 ms */ i = KEYP_PERIOD_US(20000, PTV_PRESCALER); if (twl4030_kpwrite_u8(kp, i, KEYP_DEB) < 0) return -EIO; /* Set timeout period to 100 ms */ i = KEYP_PERIOD_US(200000, PTV_PRESCALER); if (twl4030_kpwrite_u8(kp, (i & 0xFF), KEYP_TIMEOUT_L) < 0) return -EIO; if (twl4030_kpwrite_u8(kp, (i >> 8), KEYP_TIMEOUT_H) < 0) return -EIO; /* * Enable Clear-on-Read; disable remembering events that fire * after the IRQ but before our handler acks (reads) them, */ reg = <API key> | <API key>; if (twl4030_kpwrite_u8(kp, reg, KEYP_SIH_CTRL) < 0) return -EIO; /* initialize key state; irqs update it from here on */ if (<API key>(kp, kp->kp_state) < 0) return -EIO; return 0; } /* * Registers keypad device with input subsystem * and configures TWL4030 keypad registers */ static int __devinit twl4030_kp_probe(struct platform_device *pdev) { struct twl4030_keypad_data *pdata = pdev->dev.platform_data; const struct matrix_keymap_data *keymap_data = pdata->keymap_data; struct twl4030_keypad *kp; struct input_dev *input; u8 reg; int error; if (!pdata || !pdata->rows || !pdata->cols || pdata->rows > TWL4030_MAX_ROWS || pdata->cols > TWL4030_MAX_COLS) { dev_err(&pdev->dev, "Invalid platform_data\n"); return -EINVAL; } kp = kzalloc(sizeof(*kp), GFP_KERNEL); input = <API key>(); if (!kp || !input) { error = -ENOMEM; goto err1; } /* Get the debug Device */ kp->dbg_dev = &pdev->dev; kp->input = input; kp->n_rows = pdata->rows; kp->n_cols = pdata->cols; kp->irq = platform_get_irq(pdev, 0); /* setup input device */ __set_bit(EV_KEY, input->evbit); /* Enable auto repeat feature of Linux input subsystem */ if (pdata->rep) __set_bit(EV_REP, input->evbit); <API key>(input, EV_MSC, MSC_SCAN); input->name = "TWL4030 Keypad"; input->phys = "twl4030_keypad/input0"; input->dev.parent = &pdev->dev; input->id.bustype = BUS_HOST; input->id.vendor = 0x0001; input->id.product = 0x0001; input->id.version = 0x0003; input->keycode = kp->keymap; input->keycodesize = sizeof(kp->keymap[0]); input->keycodemax = ARRAY_SIZE(kp->keymap); <API key>(keymap_data, TWL4030_ROW_SHIFT, input->keycode, input->keybit); error = <API key>(input); if (error) { dev_err(kp->dbg_dev, "Unable to register twl4030 keypad device\n"); goto err1; } error = twl4030_kp_program(kp); if (error) goto err2; /* * This ISR will always execute in kernel thread context because of * the need to access the TWL4030 over the I2C bus. * * NOTE: we assume this host is wired to TWL4040 INT1, not INT2 ... */ error = <API key>(kp->irq, NULL, do_kp_irq, 0, pdev->name, kp); if (error) { dev_info(kp->dbg_dev, "request_irq failed for irq no=%d\n", kp->irq); goto err2; } /* Enable KP and TO interrupts now. */ reg = (u8) ~(KEYP_IMR1_KP | KEYP_IMR1_TO); if (twl4030_kpwrite_u8(kp, reg, KEYP_IMR1)) { error = -EIO; goto err3; } <API key>(pdev, kp); return 0; err3: /* mask all events - we don't care about the result */ (void) twl4030_kpwrite_u8(kp, 0xff, KEYP_IMR1); free_irq(kp->irq, NULL); err2: <API key>(input); input = NULL; err1: input_free_device(input); kfree(kp); return error; } static int __devexit twl4030_kp_remove(struct platform_device *pdev) { struct twl4030_keypad *kp = <API key>(pdev); free_irq(kp->irq, kp); <API key>(kp->input); <API key>(pdev, NULL); kfree(kp); return 0; } /* * NOTE: twl4030 are multi-function devices connected via I2C. * So this device is a child of an I2C parent, thus it needs to * support unplug/replug (which most platform devices don't). */ static struct platform_driver twl4030_kp_driver = { .probe = twl4030_kp_probe, .remove = __devexit_p(twl4030_kp_remove), .driver = { .name = "twl4030_keypad", .owner = THIS_MODULE, }, }; static int __init twl4030_kp_init(void) { return <API key>(&twl4030_kp_driver); } module_init(twl4030_kp_init); static void __exit twl4030_kp_exit(void) { <API key>(&twl4030_kp_driver); } module_exit(twl4030_kp_exit); MODULE_AUTHOR("Texas Instruments"); MODULE_DESCRIPTION("TWL4030 Keypad Driver"); MODULE_LICENSE("GPL"); MODULE_ALIAS("platform:twl4030_keypad");
<?php defined('JPATH_BASE') or die; $title = $this->escape($displayData['item']->parent_title); $url = '<a href="'.JRoute::_(ContentHelperRoute::getCategoryRoute($displayData['item']->parent_slug)).'">'.$title.'</a>'; ?> <dd class="<API key>" title="<?php echo JText::sprintf('COM_CONTENT_PARENT', $title); ?>"> <?php if ($displayData['params']->get('<API key>') && !empty($displayData['item']->parent_slug)) : ?> <?php echo $url ?> <?php else : ?> <?php echo $title ?> <?php endif; ?> </dd>
package android.support.v4.p004h; import android.graphics.Paint; import android.view.View; /* renamed from: android.support.v4.h.by */ class by extends bx { by() { } public int m1084a(int i, int i2, int i3) { return ck.m1142a(i, i2, i3); } long m1085a() { return ck.m1144a(); } public void m1086a(View view, float f) { ck.m1145a(view, f); } public void m1087a(View view, int i, Paint paint) { ck.m1146a(view, i, paint); } public void m1088a(View view, boolean z) { ck.m1147a(view, z); } public void m1089b(View view, float f) { ck.m1149b(view, f); } public void m1090b(View view, boolean z) { ck.m1150b(view, z); } public int m1091c(View view) { return ck.m1143a(view); } public int m1092e(View view) { return ck.m1148b(view); } public int m1093f(View view) { return ck.m1151c(view); } public float m1094h(View view) { return ck.m1152d(view); } public void m1095m(View view) { ck.m1153e(view); } }
ALTER TABLE #__extrawatch ENGINE=InnoDB; ALTER TABLE #<API key> ENGINE=InnoDB; ALTER TABLE #__extrawatch_uri ENGINE=InnoDB; ALTER TABLE #<API key> ENGINE=InnoDB;
[!Req:=News/Nouvelle!] [!Limit:=5!] [COUNT [!Req!]|Total] [IF [!Page!]=][!Page:=1!][/IF] [!Start:=[!Page:-1!]!][!Start*=10!] [!NbPages:=[!Total:/[!Limit!]!]!] [IF [!Math::Floor([!NbPages!])!]!=[!NbPages!]] [!NbPages:=[!Math::Floor([!NbPages!])!]!] [!NbPages+=1!] [/IF] <div class="ListeNews"> <div class=" TitreActus" style="overflow:hidden;"> <h1>Nos actualités</h1> </div> [STORPROC [!Query!]|Ne|0|1] <div class="News Pair UneNews"> <div class="Titre">Le [DATE d/m/Y][!Ne::tmsCreate!][/DATE]</div> <div class="ContenuNews"> [IF [!Ne::Image!]!=] <div class="ImageNews"> <img src="/[!Ne::Image!].limit.150x90.jpg" alt="[!Ne::Titre!]" /> </div> [/IF] <div [IF [!Ne::Image!]!=] style ="display:block;float:left;overflow:hidden"[/IF]> <h2>[!Ne::Titre!]</h2> <p class="Chapo">[!Ne::Chapo!]</p> <div> <p>[!Ne::Contenu!]</p> </div> [STORPROC News/Nouvelle/[!Ne::Id!]/Lien|NeL] <div> <a href="/[!NeL::URL!]" alt="[!NeL::Titre!]" target="_blank" class="lienfichenews">[!NeL::Titre!]</a> </div> [/STORPROC] [STORPROC News/Nouvelle/[!Ne::Id!]/Fichier|NeF] <div> <a href="/[!NeF::URL!]" alt="[!NeF::Titre!]" target="_blank" class="lienfichenews">[!NeF::Titre!]</a> </div> [/STORPROC] </div> </div> </div> [/STORPROC] <a class="listeactus" href="/Actualites" >Retour à la liste des actus</a> </div>
.ngg-pro-masonry { max-width: 100%; height: auto; line-height: 0; margin: 0 auto; } .<API key> { margin: 0; padding: 0; height: auto; } .<API key> a { margin: 0; padding: 0; } .<API key> a img { margin: 0; padding: 0; max-width: 100%; width: 100%; height: auto; border: none; }
/* Written by Bruno Haible <bruno@clisp.org>, 2005. Based on GCC's gthr-posix.h, gthr-posix95.h, gthr-solaris.h, gthr-win32.h. */ #include <config.h> #include "glthread/lock.h" #if USE_POSIX_THREADS # if HAVE_PTHREAD_RWLOCK && (<API key> || (defined <API key> && (__GNU_LIBRARY__ > 1))) # ifdef <API key> # if !<API key> int <API key> (pthread_rwlock_t *lock) { <API key> attributes; int err; err = <API key> (&attributes); if (err != 0) return err; err = <API key> (&attributes, <API key>); if (err == 0) err = pthread_rwlock_init(lock, &attributes); /* <API key> always returns 0. It cannot influence the return value. */ <API key> (&attributes); return err; } # endif # else int <API key> (gl_rwlock_t *lock) { int err; err = pthread_rwlock_init (&lock->rwlock, NULL); if (err != 0) return err; lock->initialized = 1; return 0; } int <API key> (gl_rwlock_t *lock) { if (!lock->initialized) { int err; err = pthread_mutex_lock (&lock->guard); if (err != 0) return err; if (!lock->initialized) { err = <API key> (lock); if (err != 0) { <API key> (&lock->guard); return err; } } err = <API key> (&lock->guard); if (err != 0) return err; } return <API key> (&lock->rwlock); } int <API key> (gl_rwlock_t *lock) { if (!lock->initialized) { int err; err = pthread_mutex_lock (&lock->guard); if (err != 0) return err; if (!lock->initialized) { err = <API key> (lock); if (err != 0) { <API key> (&lock->guard); return err; } } err = <API key> (&lock->guard); if (err != 0) return err; } return <API key> (&lock->rwlock); } int <API key> (gl_rwlock_t *lock) { if (!lock->initialized) return EINVAL; return <API key> (&lock->rwlock); } int <API key> (gl_rwlock_t *lock) { int err; if (!lock->initialized) return EINVAL; err = <API key> (&lock->rwlock); if (err != 0) return err; lock->initialized = 0; return 0; } # endif # else int <API key> (gl_rwlock_t *lock) { int err; err = pthread_mutex_init (&lock->lock, NULL); if (err != 0) return err; err = pthread_cond_init (&lock->waiting_readers, NULL); if (err != 0) return err; err = pthread_cond_init (&lock->waiting_writers, NULL); if (err != 0) return err; lock-><API key> = 0; lock->runcount = 0; return 0; } int <API key> (gl_rwlock_t *lock) { int err; err = pthread_mutex_lock (&lock->lock); if (err != 0) return err; /* Test whether only readers are currently running, and whether the runcount field will not overflow, and whether no writer is waiting. The latter condition is because POSIX recommends that "write locks shall take precedence over read locks", to avoid "writer starvation". */ while (!(lock->runcount + 1 > 0 && lock-><API key> == 0)) { /* This thread has to wait for a while. Enqueue it among the waiting_readers. */ err = pthread_cond_wait (&lock->waiting_readers, &lock->lock); if (err != 0) { <API key> (&lock->lock); return err; } } lock->runcount++; return <API key> (&lock->lock); } int <API key> (gl_rwlock_t *lock) { int err; err = pthread_mutex_lock (&lock->lock); if (err != 0) return err; /* Test whether no readers or writers are currently running. */ while (!(lock->runcount == 0)) { /* This thread has to wait for a while. Enqueue it among the waiting_writers. */ lock-><API key>++; err = pthread_cond_wait (&lock->waiting_writers, &lock->lock); if (err != 0) { lock-><API key> <API key> (&lock->lock); return err; } lock-><API key> } lock->runcount--; /* runcount becomes -1 */ return <API key> (&lock->lock); } int <API key> (gl_rwlock_t *lock) { int err; err = pthread_mutex_lock (&lock->lock); if (err != 0) return err; if (lock->runcount < 0) { /* Drop a writer lock. */ if (!(lock->runcount == -1)) { <API key> (&lock->lock); return EINVAL; } lock->runcount = 0; } else { /* Drop a reader lock. */ if (!(lock->runcount > 0)) { <API key> (&lock->lock); return EINVAL; } lock->runcount } if (lock->runcount == 0) { /* POSIX recommends that "write locks shall take precedence over read locks", to avoid "writer starvation". */ if (lock-><API key> > 0) { /* Wake up one of the waiting writers. */ err = pthread_cond_signal (&lock->waiting_writers); if (err != 0) { <API key> (&lock->lock); return err; } } else { /* Wake up all waiting readers. */ err = <API key> (&lock->waiting_readers); if (err != 0) { <API key> (&lock->lock); return err; } } } return <API key> (&lock->lock); } int <API key> (gl_rwlock_t *lock) { int err; err = <API key> (&lock->lock); if (err != 0) return err; err = <API key> (&lock->waiting_readers); if (err != 0) return err; err = <API key> (&lock->waiting_writers); if (err != 0) return err; return 0; } # endif # if <API key> # if defined <API key> || defined <API key> int <API key> (gl_recursive_lock_t *lock) { pthread_mutexattr_t attributes; int err; err = <API key> (&attributes); if (err != 0) return err; err = <API key> (&attributes, <API key>); if (err != 0) { <API key> (&attributes); return err; } err = pthread_mutex_init (lock, &attributes); if (err != 0) { <API key> (&attributes); return err; } err = <API key> (&attributes); if (err != 0) return err; return 0; } # else int <API key> (gl_recursive_lock_t *lock) { pthread_mutexattr_t attributes; int err; err = <API key> (&attributes); if (err != 0) return err; err = <API key> (&attributes, <API key>); if (err != 0) { <API key> (&attributes); return err; } err = pthread_mutex_init (&lock->recmutex, &attributes); if (err != 0) { <API key> (&attributes); return err; } err = <API key> (&attributes); if (err != 0) return err; lock->initialized = 1; return 0; } int <API key> (gl_recursive_lock_t *lock) { if (!lock->initialized) { int err; err = pthread_mutex_lock (&lock->guard); if (err != 0) return err; if (!lock->initialized) { err = <API key> (lock); if (err != 0) { <API key> (&lock->guard); return err; } } err = <API key> (&lock->guard); if (err != 0) return err; } return pthread_mutex_lock (&lock->recmutex); } int <API key> (gl_recursive_lock_t *lock) { if (!lock->initialized) return EINVAL; return <API key> (&lock->recmutex); } int <API key> (gl_recursive_lock_t *lock) { int err; if (!lock->initialized) return EINVAL; err = <API key> (&lock->recmutex); if (err != 0) return err; lock->initialized = 0; return 0; } # endif # else int <API key> (gl_recursive_lock_t *lock) { int err; err = pthread_mutex_init (&lock->mutex, NULL); if (err != 0) return err; lock->owner = (pthread_t) 0; lock->depth = 0; return 0; } int <API key> (gl_recursive_lock_t *lock) { pthread_t self = pthread_self (); if (lock->owner != self) { int err; err = pthread_mutex_lock (&lock->mutex); if (err != 0) return err; lock->owner = self; } if (++(lock->depth) == 0) /* wraparound? */ { lock->depth return EAGAIN; } return 0; } int <API key> (gl_recursive_lock_t *lock) { if (lock->owner != pthread_self ()) return EPERM; if (lock->depth == 0) return EINVAL; if (--(lock->depth) == 0) { lock->owner = (pthread_t) 0; return <API key> (&lock->mutex); } else return 0; } int <API key> (gl_recursive_lock_t *lock) { if (lock->owner != (pthread_t) 0) return EBUSY; return <API key> (&lock->mutex); } # endif static const pthread_once_t fresh_once = PTHREAD_ONCE_INIT; int <API key> (pthread_once_t *once_control) { /* We don't know whether pthread_once_t is an integer type, a floating-point type, a pointer type, or a structure type. */ char *firstbyte = (char *)once_control; if (*firstbyte == *(const char *)&fresh_once) { /* First time use of once_control. Invert the first byte. */ *firstbyte = ~ *(const char *)&fresh_once; return 1; } else return 0; } #endif #if USE_PTH_THREADS /* Use the GNU Pth threads library. */ # if !<API key> int <API key> (gl_rwlock_t *lock) { if (!pth_mutex_init (&lock->lock)) return errno; if (!pth_cond_init (&lock->waiting_readers)) return errno; if (!pth_cond_init (&lock->waiting_writers)) return errno; lock-><API key> = 0; lock->runcount = 0; lock->initialized = 1; return 0; } int <API key> (gl_rwlock_t *lock) { if (!lock->initialized) <API key> (lock); if (!pth_mutex_acquire (&lock->lock, 0, NULL)) return errno; /* Test whether only readers are currently running, and whether the runcount field will not overflow, and whether no writer is waiting. The latter condition is because POSIX recommends that "write locks shall take precedence over read locks", to avoid "writer starvation". */ while (!(lock->runcount + 1 > 0 && lock-><API key> == 0)) { /* This thread has to wait for a while. Enqueue it among the waiting_readers. */ if (!pth_cond_await (&lock->waiting_readers, &lock->lock, NULL)) { int err = errno; pth_mutex_release (&lock->lock); return err; } } lock->runcount++; return (!pth_mutex_release (&lock->lock) ? errno : 0); } int <API key> (gl_rwlock_t *lock) { if (!lock->initialized) <API key> (lock); if (!pth_mutex_acquire (&lock->lock, 0, NULL)) return errno; /* Test whether no readers or writers are currently running. */ while (!(lock->runcount == 0)) { /* This thread has to wait for a while. Enqueue it among the waiting_writers. */ lock-><API key>++; if (!pth_cond_await (&lock->waiting_writers, &lock->lock, NULL)) { int err = errno; lock-><API key> pth_mutex_release (&lock->lock); return err; } lock-><API key> } lock->runcount--; /* runcount becomes -1 */ return (!pth_mutex_release (&lock->lock) ? errno : 0); } int <API key> (gl_rwlock_t *lock) { int err; if (!lock->initialized) return EINVAL; if (!pth_mutex_acquire (&lock->lock, 0, NULL)) return errno; if (lock->runcount < 0) { /* Drop a writer lock. */ if (!(lock->runcount == -1)) { pth_mutex_release (&lock->lock); return EINVAL; } lock->runcount = 0; } else { /* Drop a reader lock. */ if (!(lock->runcount > 0)) { pth_mutex_release (&lock->lock); return EINVAL; } lock->runcount } if (lock->runcount == 0) { /* POSIX recommends that "write locks shall take precedence over read locks", to avoid "writer starvation". */ if (lock-><API key> > 0) { /* Wake up one of the waiting writers. */ if (!pth_cond_notify (&lock->waiting_writers, FALSE)) { int err = errno; pth_mutex_release (&lock->lock); return err; } } else { /* Wake up all waiting readers. */ if (!pth_cond_notify (&lock->waiting_readers, TRUE)) { int err = errno; pth_mutex_release (&lock->lock); return err; } } } return (!pth_mutex_release (&lock->lock) ? errno : 0); } int <API key> (gl_rwlock_t *lock) { lock->initialized = 0; return 0; } # endif static void glthread_once_call (void *arg) { void (**gl_once_temp_addr) (void) = (void (**) (void)) arg; void (*initfunction) (void) = *gl_once_temp_addr; initfunction (); } int <API key> (pth_once_t *once_control, void (*initfunction) (void)) { void (*temp) (void) = initfunction; return (!pth_once (once_control, glthread_once_call, &temp) ? errno : 0); } int <API key> (pth_once_t *once_control) { /* We know that pth_once_t is an integer type. */ if (*once_control == PTH_ONCE_INIT) { /* First time use of once_control. Invert the marker. */ *once_control = ~ PTH_ONCE_INIT; return 1; } else return 0; } #endif #if USE_SOLARIS_THREADS /* Use the old Solaris threads library. */ int <API key> (gl_recursive_lock_t *lock) { int err; err = mutex_init (&lock->mutex, USYNC_THREAD, NULL); if (err != 0) return err; lock->owner = (thread_t) 0; lock->depth = 0; return 0; } int <API key> (gl_recursive_lock_t *lock) { thread_t self = thr_self (); if (lock->owner != self) { int err; err = mutex_lock (&lock->mutex); if (err != 0) return err; lock->owner = self; } if (++(lock->depth) == 0) /* wraparound? */ { lock->depth return EAGAIN; } return 0; } int <API key> (gl_recursive_lock_t *lock) { if (lock->owner != thr_self ()) return EPERM; if (lock->depth == 0) return EINVAL; if (--(lock->depth) == 0) { lock->owner = (thread_t) 0; return mutex_unlock (&lock->mutex); } else return 0; } int <API key> (gl_recursive_lock_t *lock) { if (lock->owner != (thread_t) 0) return EBUSY; return mutex_destroy (&lock->mutex); } int <API key> (gl_once_t *once_control, void (*initfunction) (void)) { if (!once_control->inited) { int err; /* Use the mutex to guarantee that if another thread is already calling the initfunction, this thread waits until it's finished. */ err = mutex_lock (&once_control->mutex); if (err != 0) return err; if (!once_control->inited) { once_control->inited = 1; initfunction (); } return mutex_unlock (&once_control->mutex); } else return 0; } int <API key> (gl_once_t *once_control) { /* We know that gl_once_t contains an integer type. */ if (!once_control->inited) { /* First time use of once_control. Invert the marker. */ once_control->inited = ~ 0; return 1; } else return 0; } #endif #if USE_WINDOWS_THREADS void <API key> (gl_lock_t *lock) { <API key> (&lock->lock); lock->guard.done = 1; } int <API key> (gl_lock_t *lock) { if (!lock->guard.done) { if (<API key> (&lock->guard.started) == 0) /* This thread is the first one to need this lock. Initialize it. */ glthread_lock_init (lock); else /* Yield the CPU while waiting for another thread to finish initializing this lock. */ while (!lock->guard.done) Sleep (0); } <API key> (&lock->lock); return 0; } int <API key> (gl_lock_t *lock) { if (!lock->guard.done) return EINVAL; <API key> (&lock->lock); return 0; } int <API key> (gl_lock_t *lock) { if (!lock->guard.done) return EINVAL; <API key> (&lock->lock); lock->guard.done = 0; return 0; } /* In this file, the waitqueues are implemented as circular arrays. */ #define gl_waitqueue_t <API key> static void gl_waitqueue_init (gl_waitqueue_t *wq) { wq->array = NULL; wq->count = 0; wq->alloc = 0; wq->offset = 0; } /* Enqueues the current thread, represented by an event, in a wait queue. Returns <API key> if an allocation failure occurs. */ static HANDLE gl_waitqueue_add (gl_waitqueue_t *wq) { HANDLE event; unsigned int index; if (wq->count == wq->alloc) { unsigned int new_alloc = 2 * wq->alloc + 1; HANDLE *new_array = (HANDLE *) realloc (wq->array, new_alloc * sizeof (HANDLE)); if (new_array == NULL) /* No more memory. */ return <API key>; /* Now is a good opportunity to rotate the array so that its contents starts at offset 0. */ if (wq->offset > 0) { unsigned int old_count = wq->count; unsigned int old_alloc = wq->alloc; unsigned int old_offset = wq->offset; unsigned int i; if (old_offset + old_count > old_alloc) { unsigned int limit = old_offset + old_count - old_alloc; for (i = 0; i < limit; i++) new_array[old_alloc + i] = new_array[i]; } for (i = 0; i < old_count; i++) new_array[i] = new_array[old_offset + i]; wq->offset = 0; } wq->array = new_array; wq->alloc = new_alloc; } /* Whether the created event is a manual-reset one or an auto-reset one, does not matter, since we will wait on it only once. */ event = CreateEvent (NULL, TRUE, FALSE, NULL); if (event == <API key>) /* No way to allocate an event. */ return <API key>; index = wq->offset + wq->count; if (index >= wq->alloc) index -= wq->alloc; wq->array[index] = event; wq->count++; return event; } /* Notifies the first thread from a wait queue and dequeues it. */ static void <API key> (gl_waitqueue_t *wq) { SetEvent (wq->array[wq->offset + 0]); wq->offset++; wq->count if (wq->count == 0 || wq->offset == wq->alloc) wq->offset = 0; } /* Notifies all threads from a wait queue and dequeues them all. */ static void <API key> (gl_waitqueue_t *wq) { unsigned int i; for (i = 0; i < wq->count; i++) { unsigned int index = wq->offset + i; if (index >= wq->alloc) index -= wq->alloc; SetEvent (wq->array[index]); } wq->count = 0; wq->offset = 0; } void <API key> (gl_rwlock_t *lock) { <API key> (&lock->lock); gl_waitqueue_init (&lock->waiting_readers); gl_waitqueue_init (&lock->waiting_writers); lock->runcount = 0; lock->guard.done = 1; } int <API key> (gl_rwlock_t *lock) { if (!lock->guard.done) { if (<API key> (&lock->guard.started) == 0) /* This thread is the first one to need this lock. Initialize it. */ <API key> (lock); else /* Yield the CPU while waiting for another thread to finish initializing this lock. */ while (!lock->guard.done) Sleep (0); } <API key> (&lock->lock); /* Test whether only readers are currently running, and whether the runcount field will not overflow, and whether no writer is waiting. The latter condition is because POSIX recommends that "write locks shall take precedence over read locks", to avoid "writer starvation". */ if (!(lock->runcount + 1 > 0 && lock->waiting_writers.count == 0)) { /* This thread has to wait for a while. Enqueue it among the waiting_readers. */ HANDLE event = gl_waitqueue_add (&lock->waiting_readers); if (event != <API key>) { DWORD result; <API key> (&lock->lock); /* Wait until another thread signals this event. */ result = WaitForSingleObject (event, INFINITE); if (result == WAIT_FAILED || result == WAIT_TIMEOUT) abort (); CloseHandle (event); /* The thread which signalled the event already did the bookkeeping: removed us from the waiting_readers, incremented lock->runcount. */ if (!(lock->runcount > 0)) abort (); return 0; } else { /* Allocation failure. Weird. */ do { <API key> (&lock->lock); Sleep (1); <API key> (&lock->lock); } while (!(lock->runcount + 1 > 0)); } } lock->runcount++; <API key> (&lock->lock); return 0; } int <API key> (gl_rwlock_t *lock) { if (!lock->guard.done) { if (<API key> (&lock->guard.started) == 0) /* This thread is the first one to need this lock. Initialize it. */ <API key> (lock); else /* Yield the CPU while waiting for another thread to finish initializing this lock. */ while (!lock->guard.done) Sleep (0); } <API key> (&lock->lock); /* Test whether no readers or writers are currently running. */ if (!(lock->runcount == 0)) { /* This thread has to wait for a while. Enqueue it among the waiting_writers. */ HANDLE event = gl_waitqueue_add (&lock->waiting_writers); if (event != <API key>) { DWORD result; <API key> (&lock->lock); /* Wait until another thread signals this event. */ result = WaitForSingleObject (event, INFINITE); if (result == WAIT_FAILED || result == WAIT_TIMEOUT) abort (); CloseHandle (event); /* The thread which signalled the event already did the bookkeeping: removed us from the waiting_writers, set lock->runcount = -1. */ if (!(lock->runcount == -1)) abort (); return 0; } else { /* Allocation failure. Weird. */ do { <API key> (&lock->lock); Sleep (1); <API key> (&lock->lock); } while (!(lock->runcount == 0)); } } lock->runcount--; /* runcount becomes -1 */ <API key> (&lock->lock); return 0; } int <API key> (gl_rwlock_t *lock) { if (!lock->guard.done) return EINVAL; <API key> (&lock->lock); if (lock->runcount < 0) { /* Drop a writer lock. */ if (!(lock->runcount == -1)) abort (); lock->runcount = 0; } else { /* Drop a reader lock. */ if (!(lock->runcount > 0)) { <API key> (&lock->lock); return EPERM; } lock->runcount } if (lock->runcount == 0) { /* POSIX recommends that "write locks shall take precedence over read locks", to avoid "writer starvation". */ if (lock->waiting_writers.count > 0) { /* Wake up one of the waiting writers. */ lock->runcount <API key> (&lock->waiting_writers); } else { /* Wake up all waiting readers. */ lock->runcount += lock->waiting_readers.count; <API key> (&lock->waiting_readers); } } <API key> (&lock->lock); return 0; } int <API key> (gl_rwlock_t *lock) { if (!lock->guard.done) return EINVAL; if (lock->runcount != 0) return EBUSY; <API key> (&lock->lock); if (lock->waiting_readers.array != NULL) free (lock->waiting_readers.array); if (lock->waiting_writers.array != NULL) free (lock->waiting_writers.array); lock->guard.done = 0; return 0; } void <API key> (gl_recursive_lock_t *lock) { lock->owner = 0; lock->depth = 0; <API key> (&lock->lock); lock->guard.done = 1; } int <API key> (gl_recursive_lock_t *lock) { if (!lock->guard.done) { if (<API key> (&lock->guard.started) == 0) /* This thread is the first one to need this lock. Initialize it. */ <API key> (lock); else /* Yield the CPU while waiting for another thread to finish initializing this lock. */ while (!lock->guard.done) Sleep (0); } { DWORD self = GetCurrentThreadId (); if (lock->owner != self) { <API key> (&lock->lock); lock->owner = self; } if (++(lock->depth) == 0) /* wraparound? */ { lock->depth return EAGAIN; } } return 0; } int <API key> (gl_recursive_lock_t *lock) { if (lock->owner != GetCurrentThreadId ()) return EPERM; if (lock->depth == 0) return EINVAL; if (--(lock->depth) == 0) { lock->owner = 0; <API key> (&lock->lock); } return 0; } int <API key> (gl_recursive_lock_t *lock) { if (lock->owner != 0) return EBUSY; <API key> (&lock->lock); lock->guard.done = 0; return 0; } void glthread_once_func (gl_once_t *once_control, void (*initfunction) (void)) { if (once_control->inited <= 0) { if (<API key> (&once_control->started) == 0) { /* This thread is the first one to come to this once_control. */ <API key> (&once_control->lock); <API key> (&once_control->lock); once_control->inited = 0; initfunction (); once_control->inited = 1; <API key> (&once_control->lock); } else { /* Undo last operation. */ <API key> (&once_control->started); /* Some other thread has already started the initialization. Yield the CPU while waiting for the other thread to finish initializing and taking the lock. */ while (once_control->inited < 0) Sleep (0); if (once_control->inited <= 0) { /* Take the lock. This blocks until the other thread has finished calling the initfunction. */ <API key> (&once_control->lock); <API key> (&once_control->lock); if (!(once_control->inited > 0)) abort (); } } } } #endif
#ifndef ATALK_EA_H #define ATALK_EA_H #ifdef HAVE_CONFIG_H #include <config.h> #endif #if HAVE_ATTR_XATTR_H #include <attr/xattr.h> #elif HAVE_SYS_XATTR_H #include <sys/xattr.h> #endif #ifdef HAVE_SYS_EA_H #include <sys/ea.h> #endif #ifdef HAVE_SYS_EXTATTR_H #include <sys/extattr.h> #endif #ifdef SOLARIS #include <sys/attr.h> #endif /* FIXME: are the ACL includes really neccessary here ? */ #ifdef HAVE_SOLARIS_ACLS #include <sys/acl.h> #endif #ifdef HAVE_FREEBSD_SUNACL #include <sunacl.h> #endif #ifndef ENOATTR #define ENOATTR ENODATA #endif #include <atalk/vfs.h> /* * This seems to be the current limit fo HFS+, we arbitrarily force that * which also safes us from buffer overflows */ #define MAX_EA_SIZE 3802 /* * At time of writing the 10.5.6 client adds 8 bytes to the * length of the EA that we send him */ #define <API key> 8 /* * Library user must provide a static buffer of size ATTRNAMEBUFSIZ. * It's used when listing EAs as intermediate buffer. For afpd it's * defined in extattrs.c. */ #define ATTRNAMEBUFSIZ 4096 enum { kXAttrNoFollow = 0x1, kXAttrCreate = 0x2, kXAttrReplace = 0x4 }; #if !defined(HAVE_SETXATTR) #define XATTR_CREATE 0x1 /* set value, fail if attr already exists */ #define XATTR_REPLACE 0x2 /* set value, fail if attr does not exist */ #endif #ifdef SOLARIS #define SMB_ATTR_PREFIX "SUNWsmb:" #define SMB_ATTR_PREFIX_LEN (sizeof (SMB_ATTR_PREFIX) - 1) #endif /* Names for our Extended Attributes adouble data */ #define AD_EA_META "org.netatalk.Metadata" #define AD_EA_RESO "org.netatalk.ResourceFork" #define NOT_NETATALK_EA(a) (strcmp((a), AD_EA_META) != 0) && (strcmp((a), AD_EA_RESO) != 0) ssize_t sys_getxattr (const char *path, const char *name, void *value, size_t size); ssize_t sys_lgetxattr (const char *path, const char *name, void *value, size_t size); ssize_t sys_fgetxattr (int filedes, const char *name, void *value, size_t size); ssize_t sys_listxattr (const char *path, char *list, size_t size); ssize_t sys_llistxattr (const char *path, char *list, size_t size); /* ssize_t sys_flistxattr (int filedes, char *list, size_t size); */ ssize_t sys_flistxattr (int filedes, const char *path, char *list, size_t size); int sys_removexattr (const char *path, const char *name); int sys_lremovexattr (const char *path, const char *name); /* int sys_fremovexattr (int filedes, const char *name); */ int sys_fremovexattr (int filedes, const char *path, const char *name); int sys_setxattr (const char *path, const char *name, const void *value, size_t size, int flags); int sys_lsetxattr (const char *path, const char *name, const void *value, size_t size, int flags); int sys_fsetxattr (int filedes, const char *name, const void *value, size_t size, int flags); int sys_copyxattr (const char *src, const char *dst); int sys_getxattrfd(int fd, const char *uname, int oflag, ...); #define EA_INITED 0xea494e54 /* ea"INT", for interfacing ea_open w. ea_close */ #define EA_MAGIC 0x61644541 /* "adEA" */ #define EA_VERSION1 0x01 #define EA_VERSION EA_VERSION1 typedef enum { /* ea_open flags */ EA_CREATE = (1<<1), /* create if not existing on ea_open */ EA_RDONLY = (1<<2), /* open read only */ EA_RDWR = (1<<3), /* open read/write */ /* ea_open internal flags */ EA_DIR = (1<<4) /* ea header file is for a dir, ea_open adds it as appropiate */ } eaflags_t; #define EA_MAGIC_OFF 0 #define EA_MAGIC_LEN 4 #define EA_VERSION_OFF (EA_MAGIC_OFF + EA_MAGIC_LEN) #define EA_VERSION_LEN 2 #define EA_COUNT_OFF (EA_VERSION_OFF + EA_VERSION_LEN) #define EA_COUNT_LEN 2 #define EA_HEADER_SIZE (EA_MAGIC_LEN + EA_VERSION_LEN + EA_COUNT_LEN) /* * structs describing the layout of the Extended Attributes bookkeeping file. * This isn't really an AppleDouble structure, it's just a binary blob that * lives in our .AppleDouble directory too. */ struct ea_entry { size_t ea_namelen; /* len of ea_name without terminating 0 ie. strlen(ea_name)*/ size_t ea_size; /* size of EA*/ char *ea_name; /* name of the EA */ }; /* We read the on-disk data into *ea_data and parse it into this*/ struct ea { uint32_t ea_inited; /* needed for interfacing ea_open w. ea_close */ const struct vol *vol; /* vol handle, ea_close needs it */ int dirfd; /* for *at (cf openat) semantics, -1 means ignore */ char *filename; /* name of file, needed by ea_close too */ unsigned int ea_count; /* number of EAs in ea_entries array */ struct ea_entry (*ea_entries)[]; /* malloced and realloced as needed by ea_count*/ int ea_fd; /* open fd for ea_data */ eaflags_t ea_flags; /* flags */ size_t ea_size; /* size of header file = size of ea_data buffer */ char *ea_data; /* pointer to buffer into that we actually * * read the disc file into */ }; /* On-disk format, just for reference ! */ #if 0 struct ea_entry_ondisk { uint32_t ea_size; char ea_name[]; /* zero terminated string */ }; struct ea_ondisk { u_int32_t ea_magic; u_int16_t ea_version; u_int16_t ea_count; struct ea_entry_ondisk ea_entries[ea_count]; }; #endif /* VFS inderected funcs ... : */ /* Default adouble EAs */ extern int get_easize(<API key>); extern int get_eacontent(<API key>); extern int list_eas(<API key>); extern int set_ea(<API key>); extern int remove_ea(<API key>); /* ... EA VFS funcs that deal with file/dir cp/mv/rm */ extern int ea_deletefile(<API key>); extern int ea_renamefile(<API key>); extern int ea_copyfile(<API key>); extern int ea_chown(VFS_FUNC_ARGS_CHOWN); extern int ea_chmod_file(<API key>); extern int ea_chmod_dir(<API key>); /* native EAs */ extern int sys_get_easize(<API key>); extern int sys_get_eacontent(<API key>); extern int sys_list_eas(<API key>); extern int sys_set_ea(<API key>); extern int sys_remove_ea(<API key>); /* native EA VFSfile/dir cp/mv/rm */ extern int sys_ea_copyfile(<API key>); /* dbd needs access to these */ extern int ea_open(const struct vol * restrict vol, const char * restrict uname, eaflags_t eaflags, struct ea * restrict ea); extern int ea_openat(const struct vol * restrict vol, int dirfd, const char * restrict uname, eaflags_t eaflags, struct ea * restrict ea); extern int ea_close(struct ea * restrict ea); extern char *ea_path(const struct ea * restrict ea, const char * restrict eaname, int macname); #endif /* ATALK_EA_H */
/* A Bison parser, made by GNU Bison 1.875. */ /* As a special exception, when this file is copied by Bison into a Bison output file, you may use that output file without restriction. This special exception was added by the Free Software Foundation in version 1.24 of Bison. */ /* Written by Richard Stallman by simplifying the original so called ``semantic'' parser. */ /* All symbols defined below should begin with yy or YY, to avoid infringing on user name space. This should be done even for local variables, as they might otherwise be expanded by user macros. There are some unavoidable exceptions within include files to define necessary library symbols; they are noted "INFRINGES ON USER NAME SPACE" below. */ /* Identify Bison output. */ #define YYBISON 1 /* Skeleton name. */ #define YYSKELETON_NAME "yacc.c" /* Pure parsers. */ #define YYPURE 1 /* Using locations. */ #define YYLSP_NEEDED 0 /* Tokens. */ #ifndef YYTOKENTYPE # define YYTOKENTYPE /* Put the tokens into the symbol table, so that GDB and other debuggers know about them. */ enum yytokentype { SEL_TOKEN = 258, SEL_ID = 259, SEL_AS = 260, SEL_AVG = 261, SEL_MAX = 262, SEL_MIN = 263, SEL_SUM = 264, SEL_COUNT = 265, SEL_WEIGHT = 266, SEL_DISTINCT = 267, TOK_NEG = 268, TOK_LTE = 269, TOK_GTE = 270, TOK_EQ = 271, TOK_NE = 272, TOK_CONST_STRING = 273, TOK_OR = 274, TOK_AND = 275, TOK_NOT = 276 }; #endif #define SEL_TOKEN 258 #define SEL_ID 259 #define SEL_AS 260 #define SEL_AVG 261 #define SEL_MAX 262 #define SEL_MIN 263 #define SEL_SUM 264 #define SEL_COUNT 265 #define SEL_WEIGHT 266 #define SEL_DISTINCT 267 #define TOK_NEG 268 #define TOK_LTE 269 #define TOK_GTE 270 #define TOK_EQ 271 #define TOK_NE 272 #define TOK_CONST_STRING 273 #define TOK_OR 274 #define TOK_AND 275 #define TOK_NOT 276 /* Copy the first part of user declarations. */ #if USE_WINDOWS #pragma warning(push,1) #pragma warning(disable:4702) // unreachable code #endif /* Enabling traces. */ #ifndef YYDEBUG # define YYDEBUG 0 #endif /* Enabling verbose error messages. */ #ifdef YYERROR_VERBOSE # undef YYERROR_VERBOSE # define YYERROR_VERBOSE 1 #else # define YYERROR_VERBOSE 1 #endif #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) typedef int YYSTYPE; # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_TRIVIAL 1 #endif /* Copy the second part of user declarations. */ /* Line 214 of yacc.c. */ #if ! defined (yyoverflow) || YYERROR_VERBOSE /* The parser invokes alloca or malloc; define the necessary symbols. */ # if YYSTACK_USE_ALLOCA # define YYSTACK_ALLOC alloca # else # ifndef YYSTACK_USE_ALLOCA # if defined (alloca) || defined (_ALLOCA_H) # define YYSTACK_ALLOC alloca # else # ifdef __GNUC__ # define YYSTACK_ALLOC __builtin_alloca # endif # endif # endif # endif # ifdef YYSTACK_ALLOC /* Pacify GCC's `empty if-body' warning. */ # define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) # else # if defined (__STDC__) || defined (__cplusplus) # include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ # define YYSIZE_T size_t # endif # define YYSTACK_ALLOC malloc # define YYSTACK_FREE free # endif #endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */ #if (! defined (yyoverflow) \ && (! defined (__cplusplus) \ || (YYSTYPE_IS_TRIVIAL))) /* A type that is properly aligned for any stack member. */ union yyalloc { short yyss; YYSTYPE yyvs; }; /* The size of the maximum gap between one aligned stack and the next. */ # define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) /* The size of an array large to enough to hold all stacks, each with N elements. */ # define YYSTACK_BYTES(N) \ ((N) * (sizeof (short) + sizeof (YYSTYPE)) \ + YYSTACK_GAP_MAXIMUM) /* Copy COUNT objects from FROM to TO. The source and destination do not overlap. */ # ifndef YYCOPY # if 1 < __GNUC__ # define YYCOPY(To, From, Count) \ __builtin_memcpy (To, From, (Count) * sizeof (*(From))) # else # define YYCOPY(To, From, Count) \ do \ { \ register YYSIZE_T yyi; \ for (yyi = 0; yyi < (Count); yyi++) \ (To)[yyi] = (From)[yyi]; \ } \ while (0) # endif # endif /* Relocate STACK from its old location to the new one. The local variables YYSIZE and YYSTACKSIZE give the old and new number of elements in the stack, and YYPTR gives the new location of the stack. Advance YYPTR to a properly aligned location for the next stack. */ # define YYSTACK_RELOCATE(Stack) \ do \ { \ YYSIZE_T yynewbytes; \ YYCOPY (&yyptr->Stack, Stack, yysize); \ Stack = &yyptr->Stack; \ yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ yyptr += yynewbytes / sizeof (*yyptr); \ } \ while (0) #endif #if defined (__STDC__) || defined (__cplusplus) typedef signed char yysigned_char; #else typedef short yysigned_char; #endif /* YYFINAL -- State number of the termination state. */ #define YYFINAL 31 /* YYLAST -- Last index in YYTABLE. */ #define YYLAST 360 /* YYNTOKENS -- Number of terminals. */ #define YYNTOKENS 33 /* YYNNTS -- Number of nonterminals. */ #define YYNNTS 10 /* YYNRULES -- Number of rules. */ #define YYNRULES 45 /* YYNRULES -- Number of states. */ #define YYNSTATES 99 /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ #define YYUNDEFTOK 2 #define YYMAXUTOK 276 #define YYTRANSLATE(YYX) \ ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) /* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */ static const unsigned char yytranslate[] = { 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 22, 2, 31, 32, 27, 25, 30, 26, 2, 28, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 23, 2, 24, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 21, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 29 }; #if YYDEBUG /* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in YYRHS. */ static const unsigned char yyprhs[] = { 0, 0, 3, 5, 9, 11, 14, 15, 17, 20, 22, 27, 32, 37, 42, 47, 51, 57, 59, 62, 65, 69, 73, 77, 81, 85, 89, 93, 97, 101, 105, 109, 113, 117, 121, 125, 127, 129, 131, 136, 140, 147, 154, 156, 160, 162 }; /* YYRHS -- A `-1'-separated list of the rules' RHS. */ static const yysigned_char yyrhs[] = { 34, 0, -1, 35, -1, 34, 30, 35, -1, 27, -1, 37, 36, -1, -1, 3, -1, 5, 3, -1, 38, -1, 6, 31, 38, 32, -1, 7, 31, 38, 32, -1, 8, 31, 38, 32, -1, 9, 31, 38, 32, -1, 10, 31, 27, 32, -1, 11, 31, 32, -1, 10, 31, 12, 3, 32, -1, 39, -1, 26, 38, -1, 29, 38, -1, 38, 25, 38, -1, 38, 26, 38, -1, 38, 27, 38, -1, 38, 28, 38, -1, 38, 23, 38, -1, 38, 24, 38, -1, 38, 21, 38, -1, 38, 22, 38, -1, 38, 14, 38, -1, 38, 15, 38, -1, 38, 16, 38, -1, 38, 17, 38, -1, 38, 20, 38, -1, 38, 19, 38, -1, 31, 38, 32, -1, 40, -1, 4, -1, 3, -1, 3, 31, 41, 32, -1, 3, 31, 32, -1, 8, 31, 38, 30, 38, 32, -1, 7, 31, 38, 30, 38, 32, -1, 42, -1, 41, 30, 42, -1, 38, -1, 18, -1 }; /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ static const unsigned char yyrline[] = { 0, 45, 45, 46, 50, 51, 53, 55, 56, 60, 61, 62, 63, 64, 65, 66, 67, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 95, 96, 99, 100, 101, 102, 106, 107, 111, 112 }; #endif #if YYDEBUG || YYERROR_VERBOSE /* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. First, the terminals, then, starting at YYNTOKENS, nonterminals. */ static const char *const yytname[] = { "$end", "error", "$undefined", "SEL_TOKEN", "SEL_ID", "SEL_AS", "SEL_AVG", "SEL_MAX", "SEL_MIN", "SEL_SUM", "SEL_COUNT", "SEL_WEIGHT", "SEL_DISTINCT", "TOK_NEG", "TOK_LTE", "TOK_GTE", "TOK_EQ", "TOK_NE", "TOK_CONST_STRING", "TOK_OR", "TOK_AND", "'|'", "'&'", "'<'", "'>'", "'+'", "'-'", "'*'", "'/'", "TOK_NOT", "','", "'('", "')'", "$accept", "select_list", "select_item", "opt_alias", "select_expr", "expr", "select_atom", "function", "arglist", "arg", 0 }; #endif # ifdef YYPRINT /* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to token YYLEX-NUM. */ static const unsigned short yytoknum[] = { 0, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 124, 38, 60, 62, 43, 45, 42, 47, 276, 44, 40, 41 }; # endif /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ static const unsigned char yyr1[] = { 0, 33, 34, 34, 35, 35, 36, 36, 36, 37, 37, 37, 37, 37, 37, 37, 37, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 39, 39, 40, 40, 40, 40, 41, 41, 42, 42 }; /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ static const unsigned char yyr2[] = { 0, 2, 1, 3, 1, 2, 0, 1, 2, 1, 4, 4, 4, 4, 4, 3, 5, 1, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1, 1, 1, 4, 3, 6, 6, 1, 3, 1, 1 }; /* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state STATE-NUM when YYTABLE doesn't specify something else to do. Zero means the default is an error. */ static const unsigned char yydefact[] = { 0, 37, 36, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 2, 6, 9, 17, 35, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, 19, 0, 1, 0, 7, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 45, 39, 44, 0, 42, 0, 0, 0, 0, 0, 0, 15, 0, 0, 34, 3, 8, 28, 29, 30, 31, 33, 32, 26, 27, 24, 25, 20, 21, 22, 23, 0, 38, 10, 0, 11, 0, 12, 13, 0, 14, 0, 0, 43, 0, 0, 16, 41, 40 }; /* YYDEFGOTO[NTERM-NUM]. */ static const yysigned_char yydefgoto[] = { -1, 13, 14, 35, 15, 16, 17, 18, 53, 54 }; /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing STATE-NUM. */ #define YYPACT_NINF -22 static const short yypact[] = { 52, -7, -22, -5, 10, 13, 33, 35, 36, 87, -22, 87, 87, 15, -22, 20, 272, -22, -22, 39, 87, 87, 87, 87, -11, 17, 38, 42, -22, -22, 143, -22, 52, -22, 71, -22, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, -22, -22, 272, 18, -22, 162, 105, 124, 181, 73, 48, -22, 87, 87, -22, -22, -22, -21, -21, -6, -6, 287, 302, 317, 332, -21, -21, 24, 24, -22, -22, 81, -22, -22, 87, -22, 87, -22, -22, 50, -22, 238, 255, -22, 200, 219, -22, -22, -22 }; /* YYPGOTO[NTERM-NUM]. */ static const yysigned_char yypgoto[] = { -22, -22, 54, -22, -22, -9, -22, -22, -22, 6 }; /* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If positive, shift that token. If negative, reduce the rule which number is the opposite. If zero, do what YYDEFACT says. If YYTABLE_NINF, syntax error. */ #define YYTABLE_NINF -1 static const unsigned char yytable[] = { 28, 59, 29, 30, 46, 47, 48, 49, 36, 37, 52, 55, 56, 57, 58, 31, 60, 44, 45, 46, 47, 48, 49, 33, 19, 34, 20, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 21, 1, 2, 22, 32, 26, 27, 81, 61, 82, 48, 49, 91, 92, 1, 2, 50, 3, 4, 5, 6, 7, 8, 23, 9, 24, 25, 11, 62, 12, 51, 52, 63, 66, 94, 89, 95, 9, 10, 90, 11, 96, 12, 1, 2, 65, 93, 26, 27, 1, 2, 0, 0, 26, 27, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 11, 0, 12, 9, 0, 0, 11, 0, 12, 36, 37, 38, 39, 0, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 0, 84, 0, 85, 36, 37, 38, 39, 0, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 0, 86, 0, 87, 36, 37, 38, 39, 0, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 0, 0, 0, 64, 36, 37, 38, 39, 0, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 0, 0, 0, 83, 36, 37, 38, 39, 0, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 0, 0, 0, 88, 36, 37, 38, 39, 0, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 0, 0, 0, 97, 36, 37, 38, 39, 0, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 0, 0, 0, 98, 36, 37, 38, 39, 0, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 0, 84, 36, 37, 38, 39, 0, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 0, 86, 36, 37, 38, 39, 0, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 36, 37, 38, 39, 0, 0, 41, 42, 43, 44, 45, 46, 47, 48, 49, 36, 37, 38, 39, 0, 0, 0, 42, 43, 44, 45, 46, 47, 48, 49, 36, 37, 38, 39, 0, 0, 0, 0, 43, 44, 45, 46, 47, 48, 49, 36, 37, 38, 39, 0, 0, 0, 0, 0, 44, 45, 46, 47, 48, 49 }; static const yysigned_char yycheck[] = { 9, 12, 11, 12, 25, 26, 27, 28, 14, 15, 19, 20, 21, 22, 23, 0, 27, 23, 24, 25, 26, 27, 28, 3, 31, 5, 31, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 31, 3, 4, 31, 30, 7, 8, 30, 32, 32, 27, 28, 62, 63, 3, 4, 18, 6, 7, 8, 9, 10, 11, 31, 26, 31, 31, 29, 31, 31, 32, 81, 31, 3, 84, 3, 86, 26, 27, 32, 29, 32, 31, 3, 4, 32, 81, 7, 8, 3, 4, -1, -1, 7, 8, -1, -1, -1, 18, -1, -1, -1, -1, -1, -1, -1, 26, -1, -1, 29, -1, 31, 26, -1, -1, 29, -1, 31, 14, 15, 16, 17, -1, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, -1, 30, -1, 32, 14, 15, 16, 17, -1, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, -1, 30, -1, 32, 14, 15, 16, 17, -1, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, -1, -1, -1, 32, 14, 15, 16, 17, -1, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, -1, -1, -1, 32, 14, 15, 16, 17, -1, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, -1, -1, -1, 32, 14, 15, 16, 17, -1, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, -1, -1, -1, 32, 14, 15, 16, 17, -1, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, -1, -1, -1, 32, 14, 15, 16, 17, -1, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, -1, 30, 14, 15, 16, 17, -1, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, -1, 30, 14, 15, 16, 17, -1, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 14, 15, 16, 17, -1, -1, 20, 21, 22, 23, 24, 25, 26, 27, 28, 14, 15, 16, 17, -1, -1, -1, 21, 22, 23, 24, 25, 26, 27, 28, 14, 15, 16, 17, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 14, 15, 16, 17, -1, -1, -1, -1, -1, 23, 24, 25, 26, 27, 28 }; /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing symbol of state STATE-NUM. */ static const unsigned char yystos[] = { 0, 3, 4, 6, 7, 8, 9, 10, 11, 26, 27, 29, 31, 34, 35, 37, 38, 39, 40, 31, 31, 31, 31, 31, 31, 31, 7, 8, 38, 38, 38, 0, 30, 3, 5, 36, 14, 15, 16, 17, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 18, 32, 38, 41, 42, 38, 38, 38, 38, 12, 27, 32, 31, 31, 32, 35, 3, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 30, 32, 32, 30, 32, 30, 32, 32, 3, 32, 38, 38, 42, 38, 38, 32, 32, 32 }; #if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__) # define YYSIZE_T __SIZE_TYPE__ #endif #if ! defined (YYSIZE_T) && defined (size_t) # define YYSIZE_T size_t #endif #if ! defined (YYSIZE_T) # if defined (__STDC__) || defined (__cplusplus) # include <stddef.h> /* INFRINGES ON USER NAME SPACE */ # define YYSIZE_T size_t # endif #endif #if ! defined (YYSIZE_T) # define YYSIZE_T unsigned int #endif #define yyerrok (yyerrstatus = 0) #define yyclearin (yychar = YYEMPTY) #define YYEMPTY (-2) #define YYEOF 0 #define YYACCEPT goto yyacceptlab #define YYABORT goto yyabortlab #define YYERROR goto yyerrlab1 /* Like YYERROR except do call yyerror. This remains here temporarily to ease the transition to the new meaning of YYERROR, for GCC. Once GCC version 2 has supplanted version 1, this can go. */ #define YYFAIL goto yyerrlab #define YYRECOVERING() (!!yyerrstatus) #define YYBACKUP(Token, Value) \ do \ if (yychar == YYEMPTY && yylen == 1) \ { \ yychar = (Token); \ yylval = (Value); \ yytoken = YYTRANSLATE (yychar); \ YYPOPSTACK; \ goto yybackup; \ } \ else \ { \ yyerror (pParser, "syntax error: cannot back up");\ YYERROR; \ } \ while (0) #define YYTERROR 1 #define YYERRCODE 256 /* YYLLOC_DEFAULT -- Compute the default location (before the actions are run). */ #ifndef YYLLOC_DEFAULT # define YYLLOC_DEFAULT(Current, Rhs, N) \ Current.first_line = Rhs[1].first_line; \ Current.first_column = Rhs[1].first_column; \ Current.last_line = Rhs[N].last_line; \ Current.last_column = Rhs[N].last_column; #endif /* YYLEX -- calling `yylex' with the right arguments. */ #ifdef YYLEX_PARAM # define YYLEX yylex (&yylval, YYLEX_PARAM) #else # define YYLEX yylex (&yylval, pParser) #endif /* Enable debugging if requested. */ #if YYDEBUG # ifndef YYFPRINTF # include <stdio.h> /* INFRINGES ON USER NAME SPACE */ # define YYFPRINTF fprintf # endif # define YYDPRINTF(Args) \ do { \ if (yydebug) \ YYFPRINTF Args; \ } while (0) # define YYDSYMPRINT(Args) \ do { \ if (yydebug) \ yysymprint Args; \ } while (0) # define YYDSYMPRINTF(Title, Token, Value, Location) \ do { \ if (yydebug) \ { \ YYFPRINTF (stderr, "%s ", Title); \ yysymprint (stderr, \ Token, Value); \ YYFPRINTF (stderr, "\n"); \ } \ } while (0) #if defined (__STDC__) || defined (__cplusplus) static void yy_stack_print (short *bottom, short *top) #else static void yy_stack_print (bottom, top) short *bottom; short *top; #endif { YYFPRINTF (stderr, "Stack now"); for (/* Nothing. */; bottom <= top; ++bottom) YYFPRINTF (stderr, " %d", *bottom); YYFPRINTF (stderr, "\n"); } # define YY_STACK_PRINT(Bottom, Top) \ do { \ if (yydebug) \ yy_stack_print ((Bottom), (Top)); \ } while (0) #if defined (__STDC__) || defined (__cplusplus) static void yy_reduce_print (int yyrule) #else static void yy_reduce_print (yyrule) int yyrule; #endif { int yyi; unsigned int yylineno = yyrline[yyrule]; YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ", yyrule - 1, yylineno); /* Print the symbols being reduced, and their result. */ for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++) YYFPRINTF (stderr, "%s ", yytname [yyrhs[yyi]]); YYFPRINTF (stderr, "-> %s\n", yytname [yyr1[yyrule]]); } # define YY_REDUCE_PRINT(Rule) \ do { \ if (yydebug) \ yy_reduce_print (Rule); \ } while (0) /* Nonzero means print parse trace. It is left uninitialized so that multiple parsers can coexist. */ int yydebug; #else /* !YYDEBUG */ # define YYDPRINTF(Args) # define YYDSYMPRINT(Args) # define YYDSYMPRINTF(Title, Token, Value, Location) # define YY_STACK_PRINT(Bottom, Top) # define YY_REDUCE_PRINT(Rule) #endif /* !YYDEBUG */ /* YYINITDEPTH -- initial size of the parser's stacks. */ #ifndef YYINITDEPTH # define YYINITDEPTH 200 #endif /* YYMAXDEPTH -- maximum size the stacks can grow to (effective only if the built-in stack extension method is used). Do not make this value too large; the results are undefined if SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH) evaluated with infinite-precision integer arithmetic. */ #if YYMAXDEPTH == 0 # undef YYMAXDEPTH #endif #ifndef YYMAXDEPTH # define YYMAXDEPTH 10000 #endif #if YYERROR_VERBOSE # ifndef yystrlen # if defined (__GLIBC__) && defined (_STRING_H) # define yystrlen strlen # else /* Return the length of YYSTR. */ static YYSIZE_T # if defined (__STDC__) || defined (__cplusplus) yystrlen (const char *yystr) # else yystrlen (yystr) const char *yystr; # endif { register const char *yys = yystr; while (*yys++ != '\0') continue; return yys - yystr - 1; } # endif # endif # ifndef yystpcpy # if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE) # define yystpcpy stpcpy # else /* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in YYDEST. */ static char * # if defined (__STDC__) || defined (__cplusplus) yystpcpy (char *yydest, const char *yysrc) # else yystpcpy (yydest, yysrc) char *yydest; const char *yysrc; # endif { register char *yyd = yydest; register const char *yys = yysrc; while ((*yyd++ = *yys++) != '\0') continue; return yyd - 1; } # endif # endif #endif /* !YYERROR_VERBOSE */ #if YYDEBUG #if defined (__STDC__) || defined (__cplusplus) static void yysymprint (FILE *yyoutput, int yytype, YYSTYPE *yyvaluep) #else static void yysymprint (yyoutput, yytype, yyvaluep) FILE *yyoutput; int yytype; YYSTYPE *yyvaluep; #endif { /* Pacify ``unused variable'' warnings. */ (void) yyvaluep; if (yytype < YYNTOKENS) { YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); # ifdef YYPRINT YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); # endif } else YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); switch (yytype) { default: break; } YYFPRINTF (yyoutput, ")"); } #endif /* ! YYDEBUG */ #if defined (__STDC__) || defined (__cplusplus) static void yydestruct (int yytype, YYSTYPE *yyvaluep) #else static void yydestruct (yytype, yyvaluep) int yytype; YYSTYPE *yyvaluep; #endif { /* Pacify ``unused variable'' warnings. */ (void) yyvaluep; switch (yytype) { default: break; } } /* Prevent warnings from -Wmissing-prototypes. */ #ifdef YYPARSE_PARAM # if defined (__STDC__) || defined (__cplusplus) int yyparse (void *YYPARSE_PARAM); # else int yyparse (); # endif #else /* ! YYPARSE_PARAM */ #if defined (__STDC__) || defined (__cplusplus) int yyparse ( SelectParser_t * pParser ); #else int yyparse (); #endif #endif /* ! YYPARSE_PARAM */ #ifdef YYPARSE_PARAM # if defined (__STDC__) || defined (__cplusplus) int yyparse (void *YYPARSE_PARAM) # else int yyparse (YYPARSE_PARAM) void *YYPARSE_PARAM; # endif #else /* ! YYPARSE_PARAM */ #if defined (__STDC__) || defined (__cplusplus) int yyparse ( SelectParser_t * pParser ) #else int yyparse (pParser) SelectParser_t * pParser ; #endif #endif { /* The lookahead symbol. */ int yychar; /* The semantic value of the lookahead symbol. */ YYSTYPE yylval; /* Number of syntax errors so far. */ int yynerrs; register int yystate; register int yyn; int yyresult; /* Number of tokens to shift before error messages enabled. */ int yyerrstatus; /* Lookahead token as an internal (translated) token number. */ int yytoken = 0; /* Three stacks and their tools: `yyss': related to states, `yyvs': related to semantic values, `yyls': related to locations. Refer to the stacks thru separate pointers, to allow yyoverflow to reallocate them elsewhere. */ /* The state stack. */ short yyssa[YYINITDEPTH]; short *yyss = yyssa; register short *yyssp; /* The semantic value stack. */ YYSTYPE yyvsa[YYINITDEPTH]; YYSTYPE *yyvs = yyvsa; register YYSTYPE *yyvsp; #define YYPOPSTACK (yyvsp--, yyssp--) YYSIZE_T yystacksize = YYINITDEPTH; /* The variables used to return semantic value and location from the action routines. */ YYSTYPE yyval; /* When reducing, the number of symbols on the RHS of the reduced rule. */ int yylen; YYDPRINTF ((stderr, "Starting parse\n")); yystate = 0; yyerrstatus = 0; yynerrs = 0; yychar = YYEMPTY; /* Cause a token to be read. */ /* Initialize stack pointers. Waste one element of value and location stack so that they stay on the same level as the state stack. The wasted elements are never initialized. */ yyssp = yyss; yyvsp = yyvs; goto yysetstate; yynewstate: /* In all cases, when you get here, the value and location stacks have just been pushed. so pushing a state here evens the stacks. */ yyssp++; yysetstate: *yyssp = yystate; if (yyss + yystacksize - 1 <= yyssp) { /* Get the current used size of the three stacks, in elements. */ YYSIZE_T yysize = yyssp - yyss + 1; #ifdef yyoverflow { /* Give user a chance to reallocate the stack. Use copies of these so that the &'s don't force the real ones into memory. */ YYSTYPE *yyvs1 = yyvs; short *yyss1 = yyss; /* Each stack pointer address is followed by the size of the data in use in that stack, in bytes. This used to be a conditional around just the two extra args, but that might be undefined if yyoverflow is a macro. */ yyoverflow ("parser stack overflow", &yyss1, yysize * sizeof (*yyssp), &yyvs1, yysize * sizeof (*yyvsp), &yystacksize); yyss = yyss1; yyvs = yyvs1; } #else /* no yyoverflow */ # ifndef YYSTACK_RELOCATE goto yyoverflowlab; # else /* Extend the stack our own way. */ if (YYMAXDEPTH <= yystacksize) goto yyoverflowlab; yystacksize *= 2; if (YYMAXDEPTH < yystacksize) yystacksize = YYMAXDEPTH; { short *yyss1 = yyss; union yyalloc *yyptr = (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); if (! yyptr) goto yyoverflowlab; YYSTACK_RELOCATE (yyss); YYSTACK_RELOCATE (yyvs); # undef YYSTACK_RELOCATE if (yyss1 != yyssa) YYSTACK_FREE (yyss1); } # endif #endif /* no yyoverflow */ yyssp = yyss + yysize - 1; yyvsp = yyvs + yysize - 1; YYDPRINTF ((stderr, "Stack size increased to %lu\n", (unsigned long int) yystacksize)); if (yyss + yystacksize - 1 <= yyssp) YYABORT; } YYDPRINTF ((stderr, "Entering state %d\n", yystate)); goto yybackup; yybackup: /* Do appropriate processing given the current state. */ /* Read a lookahead token if we need one and don't already have one. */ /* yyresume: */ /* First try to decide what to do without reference to lookahead token. */ yyn = yypact[yystate]; if (yyn == YYPACT_NINF) goto yydefault; /* Not known => get a lookahead token if don't already have one. */ /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */ if (yychar == YYEMPTY) { YYDPRINTF ((stderr, "Reading a token: ")); yychar = YYLEX; } if (yychar <= YYEOF) { yychar = yytoken = YYEOF; YYDPRINTF ((stderr, "Now at end of input.\n")); } else { yytoken = YYTRANSLATE (yychar); YYDSYMPRINTF ("Next token is", yytoken, &yylval, &yylloc); } /* If the proper action on seeing token YYTOKEN is to reduce or to detect an error, take that action. */ yyn += yytoken; if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) goto yydefault; yyn = yytable[yyn]; if (yyn <= 0) { if (yyn == 0 || yyn == YYTABLE_NINF) goto yyerrlab; yyn = -yyn; goto yyreduce; } if (yyn == YYFINAL) YYACCEPT; /* Shift the lookahead token. */ YYDPRINTF ((stderr, "Shifting token %s, ", yytname[yytoken])); /* Discard the token being shifted unless it is eof. */ if (yychar != YYEOF) yychar = YYEMPTY; *++yyvsp = yylval; /* Count tokens shifted since error; after three, turn off error status. */ if (yyerrstatus) yyerrstatus yystate = yyn; goto yynewstate; yydefault: yyn = yydefact[yystate]; if (yyn == 0) goto yyerrlab; goto yyreduce; yyreduce: /* yyn is the number of a rule to reduce with. */ yylen = yyr2[yyn]; /* If YYLEN is nonzero, implement the default value of the action: `$$ = $1'. Otherwise, the following line sets YYVAL to garbage. This behavior is undocumented and Bison users should not rely upon it. Assigning to YYVAL unconditionally makes the parser a bit smaller, and it avoids a GCC warning that YYVAL may be used uninitialized. */ yyval = yyvsp[1-yylen]; YY_REDUCE_PRINT (yyn); switch (yyn) { case 4: { pParser->AddItem ( &yyvsp[0] ); ;} break; case 7: { pParser->AliasLastItem ( &yyvsp[0] ); ;} break; case 8: { pParser->AliasLastItem ( &yyvsp[0] ); ;} break; case 9: { pParser->AddItem ( &yyvsp[0] ); ;} break; case 10: { pParser->AddItem ( &yyvsp[-1], SPH_AGGR_AVG, &yyvsp[-3], &yyvsp[0] ); ;} break; case 11: { pParser->AddItem ( &yyvsp[-1], SPH_AGGR_MAX, &yyvsp[-3], &yyvsp[0] ); ;} break; case 12: { pParser->AddItem ( &yyvsp[-1], SPH_AGGR_MIN, &yyvsp[-3], &yyvsp[0] ); ;} break; case 13: { pParser->AddItem ( &yyvsp[-1], SPH_AGGR_SUM, &yyvsp[-3], &yyvsp[0] ); ;} break; case 14: { pParser->AddItem ( "count(*)", &yyvsp[-3], &yyvsp[0] ); ;} break; case 15: { pParser->AddItem ( "weight()", &yyvsp[-2], &yyvsp[0] ); ;} break; case 16: { pParser->AddItem ( "@distinct", &yyvsp[-4], &yyvsp[0] ); ;} break; case 18: { yyval = yyvsp[-1]; yyval.m_iEnd = yyvsp[0].m_iEnd; ;} break; case 19: { yyval = yyvsp[-1]; yyval.m_iEnd = yyvsp[0].m_iEnd; ;} break; case 20: { yyval = yyvsp[-2]; yyval.m_iEnd = yyvsp[0].m_iEnd; ;} break; case 21: { yyval = yyvsp[-2]; yyval.m_iEnd = yyvsp[0].m_iEnd; ;} break; case 22: { yyval = yyvsp[-2]; yyval.m_iEnd = yyvsp[0].m_iEnd; ;} break; case 23: { yyval = yyvsp[-2]; yyval.m_iEnd = yyvsp[0].m_iEnd; ;} break; case 24: { yyval = yyvsp[-2]; yyval.m_iEnd = yyvsp[0].m_iEnd; ;} break; case 25: { yyval = yyvsp[-2]; yyval.m_iEnd = yyvsp[0].m_iEnd; ;} break; case 26: { yyval = yyvsp[-2]; yyval.m_iEnd = yyvsp[0].m_iEnd; ;} break; case 27: { yyval = yyvsp[-2]; yyval.m_iEnd = yyvsp[0].m_iEnd; ;} break; case 28: { yyval = yyvsp[-2]; yyval.m_iEnd = yyvsp[0].m_iEnd; ;} break; case 29: { yyval = yyvsp[-2]; yyval.m_iEnd = yyvsp[0].m_iEnd; ;} break; case 30: { yyval = yyvsp[-2]; yyval.m_iEnd = yyvsp[0].m_iEnd; ;} break; case 31: { yyval = yyvsp[-2]; yyval.m_iEnd = yyvsp[0].m_iEnd; ;} break; case 32: { yyval = yyvsp[-2]; yyval.m_iEnd = yyvsp[0].m_iEnd; ;} break; case 33: { yyval = yyvsp[-2]; yyval.m_iEnd = yyvsp[0].m_iEnd; ;} break; case 34: { yyval = yyvsp[-2]; yyval.m_iEnd = yyvsp[0].m_iEnd; ;} break; case 38: { yyval = yyvsp[-3]; yyval.m_iEnd = yyvsp[0].m_iEnd; ;} break; case 39: { yyval = yyvsp[-2]; yyval.m_iEnd = yyvsp[0].m_iEnd; ;} break; case 40: { yyval = yyvsp[-5]; yyval.m_iEnd = yyvsp[0].m_iEnd; ;} break; case 41: { yyval = yyvsp[-5]; yyval.m_iEnd = yyvsp[0].m_iEnd; ;} break; } /* Line 991 of yacc.c. */ yyvsp -= yylen; yyssp -= yylen; YY_STACK_PRINT (yyss, yyssp); *++yyvsp = yyval; /* Now `shift' the result of the reduction. Determine what state that goes to, based on the state we popped back to and the rule number reduced by. */ yyn = yyr1[yyn]; yystate = yypgoto[yyn - YYNTOKENS] + *yyssp; if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp) yystate = yytable[yystate]; else yystate = yydefgoto[yyn - YYNTOKENS]; goto yynewstate; yyerrlab: /* If not already recovering from an error, report this error. */ if (!yyerrstatus) { ++yynerrs; #if YYERROR_VERBOSE yyn = yypact[yystate]; if (YYPACT_NINF < yyn && yyn < YYLAST) { YYSIZE_T yysize = 0; int yytype = YYTRANSLATE (yychar); char *yymsg; int yyx, yycount; yycount = 0; /* Start YYX at -YYN if negative to avoid negative indexes in YYCHECK. */ for (yyx = yyn < 0 ? -yyn : 0; yyx < (int) (sizeof (yytname) / sizeof (char *)); yyx++) if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) yysize += yystrlen (yytname[yyx]) + 15, yycount++; yysize += yystrlen ("syntax error, unexpected ") + 1; yysize += yystrlen (yytname[yytype]); yymsg = (char *) YYSTACK_ALLOC (yysize); if (yymsg != 0) { char *yyp = yystpcpy (yymsg, "syntax error, unexpected "); yyp = yystpcpy (yyp, yytname[yytype]); if (yycount < 5) { yycount = 0; for (yyx = yyn < 0 ? -yyn : 0; yyx < (int) (sizeof (yytname) / sizeof (char *)); yyx++) if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) { const char *yyq = ! yycount ? ", expecting " : " or "; yyp = yystpcpy (yyp, yyq); yyp = yystpcpy (yyp, yytname[yyx]); yycount++; } } yyerror (pParser, yymsg); YYSTACK_FREE (yymsg); } else yyerror (pParser, "syntax error; also virtual memory exhausted"); } else #endif /* YYERROR_VERBOSE */ yyerror (pParser, "syntax error"); } if (yyerrstatus == 3) { /* If just tried and failed to reuse lookahead token after an error, discard it. */ /* Return failure if at end of input. */ if (yychar == YYEOF) { /* Pop the error token. */ YYPOPSTACK; /* Pop the rest of the stack. */ while (yyss < yyssp) { YYDSYMPRINTF ("Error: popping", yystos[*yyssp], yyvsp, yylsp); yydestruct (yystos[*yyssp], yyvsp); YYPOPSTACK; } YYABORT; } YYDSYMPRINTF ("Error: discarding", yytoken, &yylval, &yylloc); yydestruct (yytoken, &yylval); yychar = YYEMPTY; } /* Else will try to reuse lookahead token after shifting the error token. */ goto yyerrlab2; //yyerrlab1: /* Suppress GCC warning that yyerrlab1 is unused when no action invokes YYERROR. */ #if defined (__GNUC_MINOR__) && 2093 <= (__GNUC__ * 1000 + __GNUC_MINOR__) // __attribute__ ((__unused__)) #endif goto yyerrlab2; yyerrlab2: yyerrstatus = 3; /* Each real token shifted decrements this. */ for (;;) { yyn = yypact[yystate]; if (yyn != YYPACT_NINF) { yyn += YYTERROR; if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) { yyn = yytable[yyn]; if (0 < yyn) break; } } /* Pop the current state because it cannot handle the error token. */ if (yyssp == yyss) YYABORT; YYDSYMPRINTF ("Error: popping", yystos[*yyssp], yyvsp, yylsp); yydestruct (yystos[yystate], yyvsp); yyvsp yystate = *--yyssp; YY_STACK_PRINT (yyss, yyssp); } if (yyn == YYFINAL) YYACCEPT; YYDPRINTF ((stderr, "Shifting error token, ")); *++yyvsp = yylval; yystate = yyn; goto yynewstate; yyacceptlab: yyresult = 0; goto yyreturn; yyabortlab: yyresult = 1; goto yyreturn; #ifndef yyoverflow yyoverflowlab: yyerror (pParser, "parser stack overflow"); yyresult = 2; /* Fall through. */ #endif yyreturn: #ifndef yyoverflow if (yyss != yyssa) YYSTACK_FREE (yyss); #endif return yyresult; } #if USE_WINDOWS #pragma warning(pop) #endif
<?php class <API key> { public static function init() { self::register_shortcodes(); } public static function register_shortcodes() { add_shortcode( 'cc_product', array( '<API key>', 'cc_product' ) ); add_shortcode( 'cc_product_link', array( '<API key>', 'cc_product_link' ) ); add_shortcode( 'cc_product_price', array( '<API key>', 'cc_product_price' ) ); add_shortcode( 'cc_cart_item_count', array( '<API key>', 'cc_cart_item_count' ) ); add_shortcode( 'cc_cart_subtotal', array( '<API key>', 'cc_cart_subtotal' ) ); add_shortcode( 'cc_product_catalog', array( '<API key>', 'cc_product_catalog' ) ); } public static function cc_product( $args, $content ) { $product_loader = CC_Admin_Setting::get_option( '<API key>', 'product_loader' ); $subdomain = CC_Cloud_Subdomain::load_from_wp(); $id = cc_rand_string(12, 'lower'); $product_form = ''; $client_loading = 'true'; $product_id = isset($args['id']) ? $args['id'] : false; $product_sku = isset($args['sku']) ? $args['sku'] : false; $display_quantity = isset($args['quantity']) ? $args['quantity'] : 'true'; $display_price = isset($args['price']) ? $args['price'] : 'true'; $display_mode = isset($args['display']) ? $args['display'] : ''; CC_Log::write( "cc_product shortcode: subdomain: $subdomain :: product loader: $product_loader" ); if($product_loader == 'server' || preg_match( '/(?i)msie [2-9]/', $_SERVER['HTTP_USER_AGENT'] ) ) { // if IE<=9 do not use the ajax product form method $product_form = self::cc_product_via_api($args, $content); $client_loading = 'false'; } $out = "<div class=\"cc_product_wrapper\"><div id='" . $id . "' class='cc_product' data-subdomain='$subdomain' data-sku='$product_sku' data-quantity='$display_quantity' data-price='$display_price' data-display='$display_mode' data-client='$client_loading'>$product_form</div></div>"; // Enqueue client side script when needed $product_loader = CC_Admin_Setting::get_option( '<API key>', 'product_loader' ); if ( 'client' == $product_loader ) { CC_Log::write( 'Force load client add to cart scripts' ); <API key>( true ); } return $out; } /** * Return a buy now link for the product with the given sku * * $args['sku'] => The sku for the product * * @param array $args * @param string $content The link text * @return string Buy now anchor link */ public static function cc_product_link( $args, $content ) { $product_sku = isset($args['sku']) ? $args['sku'] : false; $css_class = isset($args['class']) ? $args['sku'] : ''; $link = "link not available for product with sku: $product_sku"; if ( $product_sku ) { $subdomain = CC_Cloud_Subdomain::load_from_wp(); if ( $subdomain ) { $url = 'https://' . $subdomain . '.cart66.com/buy/' . $product_sku; $link = '<a href="' . $url . '" class="' . $css_class . '">' . $content . '</a>'; } } return $link; } public static function cc_product_via_api( $args, $content ) { $form = ''; if($error_message = CC_Flash_Data::get( 'api_error' )) { $form .= "<p class=\"cc_error\">$error_message</p>"; } $product_id = isset( $args['id'] ) ? $args['id'] : false; $product_sku = isset( $args['sku'] ) ? $args['sku'] : false; $display_quantity = isset( $args['quantity'] ) ? $args['quantity'] : 'true'; $display_price = isset( $args['price'] ) ? $args['price'] : 'true'; $display_mode = isset( $args['display'] ) ? $args['display'] : null; if ( $form_with_errors = CC_Flash_Data::get( $product_sku ) ) { $form .= $form_with_errors; } else { $product = new CC_Product(); if ( $product_sku ) { $product->sku = $product_sku; } elseif ( $product_id ) { $product->id = $product_id; } else { throw new <API key>( 'Unable to add product to cart without know the product sku or id' ); } try { $form .= $product->get_order_form( $display_quantity, $display_price, $display_mode ); } catch ( <API key> $e ) { $form = "Product order form unavailable"; CC_Log::write( 'Failed to get product order form: ' . $e->getMessage() ); } } return $form; } public static function cc_product_price( $args, $content ) { $product_sku = isset( $args['sku'] ) ? $args['sku'] : false; return CC::product_price( $product_sku ); } /** * Show the product catalog * * Params: * - category: Limit the list to a certain product category slug (default "all") * - max: The max number of products to list per page. (default 6) * - sort: How to sort the products * - price_asc * - price_desc * - name_asc * - name_desc * - menu */ public static function cc_product_catalog( $args, $content ) { // Look for limit $no_paging = false; $limit = null; if ( isset( $args['limit'] ) && is_numeric( $args['limit'] ) && $args['limit'] >= 1 ) { $no_paging = true; $limit = $args['limit']; } // Look for page $page = (get_query_var('paged')) ? get_query_var('paged') : 1; if ( $page == 1 ) { $page = (get_query_var('page')) ? get_query_var('page') : 1; } // Look for number of posts to show per page $per_page = ( isset( $args['max'] ) ) ? (int) $args['max'] : 6; if ( $per_page < 1 ) { $per_page = 6; } // Look for catalog title $title = null; if ( isset( $args['title'] ) ) { $title = $args['title']; } $params = array( 'post_type' => 'cc_product', 'posts_per_page' => $per_page, 'post_status' => 'publish', 'paged' => $page, 'nopaging' => $no_paging ); // Limit by category if ( isset( $args['category'] ) ) { $category = strtolower( $args['category'] ); if ( 'all' != $category ) { $params['product-category'] = $category; } } // Order the posts $params['orderby'] = 'menu_order'; if ( isset( $args['sort'] ) ) { switch( $args['sort'] ) { case 'price_asc': $params['orderby'] = array( 'meta_value_num' => 'ASC', 'menu_order' => 'ASC' ); $params['meta_key'] = '_cc_product_price'; break; case 'price_desc': $params['orderby'] = array( 'meta_value_num' => 'DESC', 'menu_order' => 'ASC' ); $params['meta_key'] = '_cc_product_price'; break; case 'name_asc': $params['orderby'] = 'title'; $params['order'] = 'ASC'; break; case 'name_desc': $params['orderby'] = 'title'; $params['order'] = 'DESC'; break; case 'menu': $params['orderby'] = 'menu_order'; break; } } // $products = get_posts( $params ); global $post; $wp_query = new WP_Query( $params ); $product_count = 0; $out = ''; if ( $wp_query->have_posts() ) { if ( isset( $title ) ) { $out .= '<h3 class="cc-catalog-title">' . $title . '</h3>'; } // Include title in output if provided $out .= '<ul class="cc-product-list">'; while( $wp_query->have_posts() ) { $wp_query->the_post(); $src = <API key>( $post->ID ); $out .= CC_View::get( CC_PATH . 'templates/partials/grid-item.php', array('post' => $post, 'thumbnail_src' => $src ) ); if ( isset( $limit ) ) { $product_count += 1; if ( $product_count >= $limit) { break; } } } $out .= '</ul>'; // Include catalog pagination $out .= CC_View::get( CC_PATH . 'templates/partials/pagination.php', array( 'query' => $wp_query, 'page' => $page ) ); } return $out; } public static function cc_cart_item_count( $args, $content ) { $cart = new CC_Cloud_Cart(); return $cart->item_count(); } public static function cc_cart_subtotal( $args, $content ) { $cart = new CC_Cloud_Cart(); return $cart->subtotal(); } }
@CHARSET "ISO-8859-1"; #<API key> { width : 94%; height : auto; padding : 3%; float : left; position : relative; background : #EAEAEA; margin : 15px 0 15px 0; } .amount { position : realtive; float : left; width : 100%; height :auto; margin : 8px 0 10px 0; } .amount_min { position : realtive; float : left; width : auto; height :auto; color: #1C94C4; font-weight: bold; } .amount_max { position : realtive; float : right; width : auto; height :auto; color: #1C94C4; font-weight: bold; } .<API key> { position: relative; height: 20px; width: 20px; background-image : url('../medias/icones/loading.gif'); background-repeat : no-repeat; margin : 20px 0 0 0; }
// LOS // Libre Octave Studio #ifndef <API key> #define <API key> #include "song.h" #include "canvas.h" #include <QHash> #include <QList> #include <QIcon> #include <QPixmap> #include <QRect> #include <QPainter> class QDragMoveEvent; class QDropEvent; class QDragLeaveEvent; class QMouseEvent; class QKeyEvent; class QEvent; class QDragEnterEvent; class QPoint; #define beats 4 // NPart // ''visual'' Part // wraps Parts with additional information needed // for displaying class NPart : public CItem { public: NPart(Part* e); const QString name() const { return part()->name(); } void setName(const QString& s) { part()->setName(s); } MidiTrack* track() const { return part()->track(); } }; enum ControllerVals { doNothing, movingController, addNewController }; class QLineEdit; class MidiEditor; class QMenu; class Xml; class CtrlVal; class CtrlList; class CurveNodeSelection; // ArrangerCanvas class ArrangerCanvas : public Canvas { Q_OBJECT int* _raster; MidiTrackList* tracks; Part* resizePart; QLineEdit* lineEditor; NPart* editPart; int curColorIndex; int trackOffset; bool editMode; bool unselectNodes; bool show_tip; bool build_icons; CItemList getSelectedItems(); virtual void keyPress(QKeyEvent*); virtual void mousePress(QMouseEvent*); virtual void mouseMove(QMouseEvent* event); virtual void mouseRelease(const QPoint&); virtual void <API key>(QMouseEvent*); virtual void leaveEvent(QEvent*e); virtual void drawItem(QPainter&, const CItem*, const QRect&); virtual void drawMoving(QPainter&, const CItem*, const QRect&); virtual void updateSelection(); virtual QPoint raster(const QPoint&) const; virtual int y2pitch(int y) const; virtual int pitch2y(int p) const; virtual void moveCanvasItems(CItemList&, int, int, DragType, int*); // Changed by T356. //virtual bool moveItem(CItem*, const QPoint&, DragType, int*); virtual bool moveItem(CItem*, const QPoint&, DragType); virtual CItem* newItem(const QPoint&, int); virtual void resizeItem(CItem*, bool); virtual void resizeItemLeft(CItem*, QPoint, bool); virtual bool deleteItem(CItem*); virtual void startUndo(DragType); virtual void endUndo(DragType, int); virtual void startDrag(CItem*, DragType); virtual void dragEnterEvent(QDragEnterEvent*); virtual void dragMoveEvent(QDragMoveEvent*); virtual void dragLeaveEvent(QDragLeaveEvent*); virtual void viewDropEvent(QDropEvent*); virtual QMenu* genItemPopup(CItem*); virtual void itemPopup(CItem*, int, const QPoint&); void glueItem(CItem* item); void splitItem(CItem* item, const QPoint&); void copy(PartList*); void paste(bool clone = false, bool toTrack = true, bool doInsert = false); int pasteAt(const QString&, MidiTrack*, unsigned int, bool clone = false, bool toTrack = true); void movePartsTotheRight(unsigned int startTick, int length); void drawMidiPart(QPainter&, const QRect& rect, EventList* events, MidiTrack *mt, const QRect& r, int pTick, int from, int to, QColor c); MidiTrack* y2Track(int) const; void drawTopItem(QPainter& p, const QRect& rect); void drawTooltipText(QPainter& p, const QRect& rr, int height, double lazySelNodeVal, double lazySelNodePrevVal, int lazySelNodeFrame, bool paintAsDb, CtrlList*); #if 0 void checkAutomation(Track * t, const QPoint& pointer, bool addNewCtrl); bool <API key>(Track * t, const QPoint &pointer, bool addNewCtrl, Track *rt = 0); void selectAutomation(Track * t, const QPoint& pointer); bool <API key>(Track * t, const QPoint& pointer, Track* realTrack = 0); void <API key>(QMouseEvent *event); void addNewAutomation(QMouseEvent *event); double getControlValue(CtrlList*, double); #endif protected: virtual void drawCanvas(QPainter&, const QRect&); signals: void timeChanged(unsigned); void tracklistChanged(); void dclickPart(MidiTrack*); void selectionChanged(); void dropSongFile(const QString&); void dropMidiFile(const QString&); void setUsedTool(int); void trackChanged(MidiTrack*); void selectTrackAbove(); void selectTrackBelow(); void renameTrack(MidiTrack*); void moveSelectedTracks(int); void trackHeightChanged(); void startEditor(PartList*, int); //private slots: public: enum { CMD_CUT_PART, CMD_COPY_PART, CMD_PASTE_PART, <API key>, <API key>, <API key>, CMD_INSERT_PART, <API key>, <API key>, <API key>, <API key>, <API key> }; ArrangerCanvas(int* raster, QWidget* parent, int, int); void partsChanged(); void cmd(int); int track2Y(MidiTrack*) const; bool isEditing() { return editMode; } CItem* addPartAtCursor(MidiTrack*); virtual void newItem(CItem*, bool); Part* currentCanvasPart(); public slots: void returnPressed(); void redirKeypress(QKeyEvent* e) { keyPress(e); } void trackViewChanged(); }; #endif
package org.owasp.benchmark.testcode; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @WebServlet("/BenchmarkTest18474") public class BenchmarkTest18474 extends HttpServlet { private static final long serialVersionUID = 1L; @Override public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { doPost(request, response); } @Override public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String param = ""; java.util.Enumeration<String> names = request.getParameterNames(); if (names.hasMoreElements()) { param = names.nextElement(); // just grab first element } String bar = doSomething(param); String sql = "SELECT * from USERS where USERNAME='foo' and PASSWORD='"+ bar +"'"; try { java.sql.Statement statement = org.owasp.benchmark.helpers.DatabaseHelper.getSqlStatement(); java.sql.ResultSet rs = statement.executeQuery( sql ); } catch (java.sql.SQLException e) { throw new ServletException(e); } } // end doPost private static String doSomething(String param) throws ServletException, IOException { String bar = org.owasp.esapi.ESAPI.encoder().encodeForHTML(param); return bar; } }
require 'master_manipulator' require 'lvm_helper' require 'securerandom' test_name "FM-4614 - C96593 - create physical volume with parameter 'unless_vg'" # initilize pv = ['/dev/sdc', '/dev/sdd'] vg = 'VolumeGroup_' + SecureRandom.hex(3) # Teardown teardown do confine_block(:except, roles: ['master', 'dashboard', 'database']) do agents.each do |agent| remove_all(agent, pv, vg) end end end pp = <<-MANIFEST physical_volume {'#{pv[0]}': ensure => present, } -> volume_group {' ensure => present, physical_volumes => '#{pv[0]}', } -> physical_volume {'#{pv[1]}': ensure => present, unless_vg => ' } MANIFEST pp2 = <<-MANIFEST physical_volume {'#{pv[1]}': ensure => present, unless_vg => '<API key>' } MANIFEST step 'Inject "site.pp" on Master' site_pp = create_site_pp(master, manifest: pp) inject_site_pp(master, get_site_pp_path(master), site_pp) confine_block(:except, roles: ['master', 'dashboard', 'database']) do agents.each do |agent| # Run Puppet Agent with manifest pp step "Run Puppet Agent to create volume group '#{vg}' on physical volume '#{pv[0]}'" on(agent, puppet('agent -t --environment production'), <API key>: [0, 2]) do |result| assert_no_match(%r{Error:}, result.stderr, 'Unexpected error was detected!') end step "Verify the volume group is created: verify_if_created?(agent, 'volume_group', vg) step "Verify physical volume '#{pv[1]}' is NOT created since volume group '#{vg}' DOES exist" on(agent, 'pvdisplay') do |result| assert_no_match(%r{#{pv[1]}}, result.stdout, 'Unexpected error was detected') end end end # Run Puppet Agent again with manifest pp2 step 'Inject "site.pp" on Master with new manifest' site_pp = create_site_pp(master, manifest: pp2) inject_site_pp(master, get_site_pp_path(master), site_pp) confine_block(:except, roles: ['master', 'dashboard', 'database']) do agents.each do |agent| step "Run Puppet Agent to create the physical volume '#{pv[1]}':" on(agent, puppet('agent -t --environment production'), <API key>: [0, 2]) do |result| assert_no_match(%r{Error:}, result.stderr, 'Unexpected error was detected!') end step "Verify physical volume '#{pv[1]}' is created since volume group '<API key>' DOES NOT exist" verify_if_created?(agent, 'physical_volume', pv[1]) end end
import logging, time, os, sys, re from autotest.client.shared import error from autotest.client import utils from autotest.client.shared.syncdata import SyncData from virttest import data_dir, env_process, utils_test, aexpect @error.context_aware def run_floppy(test, params, env): """ Test virtual floppy of guest: 1) Create a floppy disk image on host 2) Start the guest with this floppy image. 3) Make a file system on guest virtual floppy. 4) Calculate md5sum value of a file and copy it into floppy. 5) Verify whether the md5sum does match. @param test: QEMU test object. @param params: Dictionary with the test parameters. @param env: Dictionary with test environment. """ source_file = params["source_file"] dest_file = params["dest_file"] login_timeout = int(params.get("login_timeout", 360)) <API key> = int(params.get("<API key>", 360)) guest_floppy_path = params["guest_floppy_path"] def create_floppy(params, prepare=True): """ Creates 'new' floppy with one file on it @param params: paramters for test @param preapre: if True then it prepare cd images. @return: path to new floppy file. """ error.context("creating test floppy") floppy = params["floppy_name"] if not os.path.isabs(floppy): floppy = os.path.join(data_dir.get_data_dir(), floppy) if prepare: utils.run("dd if=/dev/zero of=%s bs=512 count=2880" % floppy) return floppy def cleanup_floppy(path): """ Removes created floppy """ error.context("cleaning up temp floppy images") os.remove("%s" % path) def lazy_copy(vm, dst_path, check_path, copy_timeout=None, dsize=None): """ Start disk load. Cyclic copy from src_path to dst_path. @param vm: VM where to find a disk. @param src_path: Source of data @param copy_timeout: Timeout for copy @param dsize: Size of data block which is periodically copied. """ if copy_timeout is None: copy_timeout = 120 session = vm.wait_for_login(timeout=login_timeout) cmd = ('nohup bash -c "while [ true ]; do echo \"1\" | ' 'tee -a %s >> %s; sleep 0.1; done" 2> /dev/null &' % (check_path, dst_path)) pid = re.search(r"\[.+\] (.+)", session.cmd_output(cmd, timeout=copy_timeout)) return pid.group(1) class MiniSubtest(object): def __new__(cls, *args, **kargs): self = super(MiniSubtest, cls).__new__(cls) ret = None exc_info = None if args is None: args = [] try: try: ret = self.test(*args, **kargs) except Exception: exc_info = sys.exc_info() finally: if hasattr(self, "clean"): try: self.clean() except Exception: if exc_info is None: raise if exc_info: raise exc_info[0], exc_info[1], exc_info[2] return ret class test_singlehost(MiniSubtest): def test(self): create_floppy(params) vm = env.get_vm(params["main_vm"]) vm.create() self.session = vm.wait_for_login(timeout=login_timeout) self.dest_dir = params["mount_dir"] # If mount_dir specified, treat guest as a Linux OS # Some Linux distribution does not load floppy at boot and Windows # needs time to load and init floppy driver if self.dest_dir: lsmod = self.session.cmd("lsmod") if not 'floppy' in lsmod: self.session.cmd("modprobe floppy") else: time.sleep(20) error.context("Formating floppy disk before using it") format_cmd = params["format_floppy_cmd"] self.session.cmd(format_cmd, timeout=120) logging.info("Floppy disk formatted successfully") if self.dest_dir: error.context("Mounting floppy") self.session.cmd("mount -t vfat %s %s" % (guest_floppy_path, self.dest_dir)) error.context("Testing floppy") self.session.cmd(params["test_floppy_cmd"]) error.context("Copying file to the floppy") md5_cmd = params.get("md5_cmd") if md5_cmd: md5_source = self.session.cmd("%s %s" % (params["md5_cmd"], source_file)) try: md5_source = md5_source.split(" ")[0] except IndexError: error.TestError("Failed to get md5 from source file," " output: '%s'" % md5_source) else: md5_source = None self.session.cmd("%s %s %s" % (params["copy_cmd"], source_file, dest_file)) logging.info("Succeed to copy file '%s' into floppy disk" % source_file) error.context("Checking if the file is unchanged after copy") if md5_cmd: md5_dest = self.session.cmd("%s %s" % (params["md5_cmd"], dest_file)) try: md5_dest = md5_dest.split(" ")[0] except IndexError: error.TestError("Failed to get md5 from dest file," " output: '%s'" % md5_dest) if md5_source != md5_dest: raise error.TestFail("File changed after copy to floppy") else: md5_dest = None self.session.cmd("%s %s %s" % (params["diff_file_cmd"], source_file, dest_file)) def clean(self): clean_cmd = "%s %s" % (params["clean_cmd"], dest_file) self.session.cmd(clean_cmd) if self.dest_dir: self.session.cmd("umount %s" % self.dest_dir) self.session.close() class Multihost(MiniSubtest): def test(self): error.context("Preparing migration env and floppies.") mig_protocol = params.get("mig_protocol", "tcp") self.mig_type = utils_test.MultihostMigration if mig_protocol == "fd": self.mig_type = utils_test.<API key> if mig_protocol == "exec": self.mig_type = utils_test.<API key> self.vms = params.get("vms").split(" ") self.srchost = params["hosts"][0] self.dsthost = params["hosts"][1] self.is_src = params["hostid"] == self.srchost self.mig = self.mig_type(test, params, env, False, ) if self.is_src: self.floppy = create_floppy(params) self.floppy_dir = os.path.dirname(self.floppy) params["start_vm"] = "yes" env_process.process(test, params, env, env_process.preprocess_image, env_process.preprocess_vm) vm = env.get_vm(self.vms[0]) vm.wait_for_login(timeout=login_timeout) else: self.floppy = create_floppy(params, False) self.floppy_dir = os.path.dirname(self.floppy) def clean(self): self.mig.cleanup() if self.is_src: cleanup_floppy(self.floppy) class <API key>(Multihost): def test(self): super(<API key>, self).test() copy_timeout = int(params.get("copy_timeout", 480)) self.mount_dir = params["mount_dir"] format_floppy_cmd = params["format_floppy_cmd"] check_copy_path = params["check_copy_path"] pid = None sync_id = {'src': self.srchost, 'dst': self.dsthost, "type": "file_trasfer"} filename = "orig" if self.is_src: # Starts in source vm = env.get_vm(self.vms[0]) session = vm.wait_for_login(timeout=login_timeout) if self.mount_dir: session.cmd("rm -f %s" % (os.path.join(self.mount_dir, filename))) session.cmd("rm -f %s" % (check_copy_path)) # If mount_dir specified, treat guest as a Linux OS # Some Linux distribution does not load floppy at boot # and Windows needs time to load and init floppy driver error.context("Prepare floppy for writing.") if self.mount_dir: lsmod = session.cmd("lsmod") if not 'floppy' in lsmod: session.cmd("modprobe floppy") else: time.sleep(20) session.cmd(format_floppy_cmd) error.context("Mount and copy data") if self.mount_dir: session.cmd("mount -t vfat %s %s" % (guest_floppy_path, self.mount_dir), timeout=30) error.context("File copying test") pid = lazy_copy(vm, os.path.join(self.mount_dir, filename), check_copy_path, copy_timeout) sync = SyncData(self.mig.master_id(), self.mig.hostid, self.mig.hosts, sync_id, self.mig.sync_server) pid = sync.sync(pid, timeout=<API key>)[self.srchost] self.mig.migrate_wait([self.vms[0]], self.srchost, self.dsthost) if not self.is_src: # Starts in destination vm = env.get_vm(self.vms[0]) session = vm.wait_for_login(timeout=login_timeout) error.context("Wait for copy finishing.") status = int(session.cmd_status("kill %s" % pid, timeout=copy_timeout)) if not status in [0]: raise error.TestFail("Copy process was terminatted with" " error code %s" % (status)) session.cmd_status("kill -s SIGINT %s" % (pid), timeout=copy_timeout) error.context("Check floppy file checksum.") md5_cmd = params.get("md5_cmd") if md5_cmd: md5_floppy = session.cmd("%s %s" % (params.get("md5_cmd"), os.path.join(self.mount_dir, filename))) try: md5_floppy = md5_floppy.split(" ")[0] except IndexError: error.TestError("Failed to get md5 from source file," " output: '%s'" % md5_floppy) md5_check = session.cmd("%s %s" % (params.get("md5_cmd"), check_copy_path)) try: md5_check = md5_check.split(" ")[0] except IndexError: error.TestError("Failed to get md5 from source file," " output: '%s'" % md5_floppy) if md5_check != md5_floppy: raise error.TestFail("There is mistake in copying," " it is possible to check file on vm.") session.cmd("rm -f %s" % (os.path.join(self.mount_dir, filename))) session.cmd("rm -f %s" % (check_copy_path)) self.mig._hosts_barrier(self.mig.hosts, self.mig.hosts, 'finish_floppy_test', login_timeout) def clean(self): super(<API key>, self).clean() class <API key>(Multihost): def test(self): super(<API key>, self).test() self.mount_dir = params.get("mount_dir", None) format_floppy_cmd = params["format_floppy_cmd"] floppy = params["floppy_name"] second_floppy = params["second_floppy_name"] if not os.path.isabs(floppy): floppy = os.path.join(data_dir.get_data_dir(), floppy) if not os.path.isabs(second_floppy): second_floppy = os.path.join(data_dir.get_data_dir(), second_floppy) if not self.is_src: self.floppy = create_floppy(params) pid = None sync_id = {'src': self.srchost, 'dst': self.dsthost, "type": "file_trasfer"} filename = "orig" if self.is_src: # Starts in source vm = env.get_vm(self.vms[0]) session = vm.wait_for_login(timeout=login_timeout) if self.mount_dir: # If linux session.cmd("rm -f %s" % (os.path.join(self.mount_dir, filename))) # If mount_dir specified, treat guest as a Linux OS # Some Linux distribution does not load floppy at boot # and Windows needs time to load and init floppy driver error.context("Prepare floppy for writing.") if self.mount_dir: # If linux lsmod = session.cmd("lsmod") if not 'floppy' in lsmod: session.cmd("modprobe floppy") else: time.sleep(20) if not floppy in vm.monitor.info("block"): raise error.TestFail("Wrong floppy image is placed in vm.") try: session.cmd(format_floppy_cmd) except aexpect.ShellCmdError, e: if e.status == 1: logging.error("First access to floppy failed, " " Trying a second time as a workaround") session.cmd(format_floppy_cmd) error.context("Check floppy") if self.mount_dir: # If linux session.cmd("mount -t vfat %s %s" % (guest_floppy_path, self.mount_dir), timeout=30) session.cmd("umount %s" % (self.mount_dir), timeout=30) written = None if self.mount_dir: filepath = os.path.join(self.mount_dir, "test.txt") session.cmd("echo 'test' > %s" % (filepath)) output = session.cmd("cat %s" % (filepath)) written = "test\n" else: # Windows version. filepath = "A:\\test.txt" session.cmd("echo test > %s" % (filepath)) output = session.cmd("type %s" % (filepath)) written = "test \n\n" if output != written: raise error.TestFail("Data read from the floppy differs" "from the data written to it." " EXPECTED: %s GOT: %s" % (repr(written), repr(output))) error.context("Change floppy.") vm.monitor.cmd("eject floppy0") vm.monitor.cmd("change floppy %s" % (second_floppy)) session.cmd(format_floppy_cmd) error.context("Mount and copy data") if self.mount_dir: # If linux session.cmd("mount -t vfat %s %s" % (guest_floppy_path, self.mount_dir), timeout=30) if not second_floppy in vm.monitor.info("block"): raise error.TestFail("Wrong floppy image is placed in vm.") sync = SyncData(self.mig.master_id(), self.mig.hostid, self.mig.hosts, sync_id, self.mig.sync_server) pid = sync.sync(pid, timeout=<API key>)[self.srchost] self.mig.migrate_wait([self.vms[0]], self.srchost, self.dsthost) if not self.is_src: # Starts in destination vm = env.get_vm(self.vms[0]) session = vm.wait_for_login(timeout=login_timeout) written = None if self.mount_dir: filepath = os.path.join(self.mount_dir, "test.txt") session.cmd("echo 'test' > %s" % (filepath)) output = session.cmd("cat %s" % (filepath)) written = "test\n" else: # Windows version. filepath = "A:\\test.txt" session.cmd("echo test > %s" % (filepath)) output = session.cmd("type %s" % (filepath)) written = "test \n\n" if output != written: raise error.TestFail("Data read from the floppy differs" "from the data written to it." " EXPECTED: %s GOT: %s" % (repr(written), repr(output))) self.mig._hosts_barrier(self.mig.hosts, self.mig.hosts, 'finish_floppy_test', login_timeout) def clean(self): super(<API key>, self).clean() test_type = params.get("test_type", "test_singlehost") if (test_type in locals()): tests_group = locals()[test_type] tests_group() else: raise error.TestFail("Test group '%s' is not defined in" " <API key> test" % test_type)
<?php # Default Flexslider if ( !function_exists( 'flexslider' ) ) { function flexslider() { global $theme_options, $lambda_meta_data; //overwrite option tree settings with meta panel settings on chosen page template if(is_page_template('template-blog.php') || is_page_template('<API key>.php')) { $theme_options = $lambda_meta_data->the_meta(); } //slider settings - $animation = (isset($theme_options['<API key>'])) ? $theme_options['<API key>'] : false; $slideDirection = (isset($theme_options['slidedirection'])) ? $theme_options['slidedirection'] : false; $slideshowSpeed = (isset($theme_options['animationduration'])) ? $theme_options['animationduration'] : false; $animationDuration = (isset($theme_options['slideshowspeed'])) ? $theme_options['slideshowspeed'] : false; $pauseOnHover = (isset($theme_options['<API key>'])) ? $theme_options['<API key>'] : false; //Option Tree only delivers Yes or No if($pauseOnHover == 'Yes') { $pauseOnHover = 'true'; } if($pauseOnHover == 'No') { $pauseOnHover = 'false'; } ?> <script type="text/javascript"> jQuery(document).ready(function($) { $('.flexslider').flexslider({ <?php echo ($animation) ? 'animation:"'.$animation.'",' : ''; ?> <?php echo ($slideDirection) ? 'slideDirection:"'.$slideDirection.'",' : ''; ?> <?php echo ($slideshowSpeed) ? 'slideshowSpeed:"'.$slideshowSpeed.'",' : ''; ?> <?php echo ($animationDuration) ? 'animationDuration:"'.$animationDuration.'",' : ''; ?> <?php echo ($pauseOnHover) ? 'pauseOnHover:'.$pauseOnHover.'' : ''; ?> }); }); </script> <?php } } # Widget Flexslider if ( !function_exists( 'widget_flexslider' ) ) { function widget_flexslider() { global $lambda_meta_data; ?> <script type="text/javascript"> jQuery(document).ready(function($) { $('.widget_flexslider').flexslider({ animation: "fade", controlNav: true }); }); </script> <?php } } # Lambda Audio Player if ( !function_exists( '<API key>' ) ) { function <API key>($audiometa, $postID) { //Audio Files $mp3 = $audiometa['mp3_url']; $ogg = $audiometa['ogg_url']; if(isset($audiometa['portfolio_mp3_url'])) { $mp3 = $audiometa['portfolio_mp3_url']; } if(isset($audiometa['single_mp3_url'])) { $mp3 = $audiometa['single_mp3_url']; } if(isset($audiometa['portfolio_ogg_url'])) { $ogg = $audiometa['portfolio_ogg_url']; } if(isset($audiometa['single_ogg_url'])) { $ogg = $audiometa['single_ogg_url']; } ?> <div class="thumb"> <div class="audiopost"> <audio controls="controls" preload> <?php if($mp3) { ?> <source src="<?php echo $mp3; ?>" type='audio/mpeg' /> <?php } ?> <?php if($ogg) { ?> <source src="<?php echo $ogg; ?>" type='audio/ogg' /> <?php } ?> Your browser does not support the audio element. </audio> </div> </div> <?php } } # Nonverbla Player if ( !function_exists( '<API key>' ) ) { function <API key>($videometa, $postID) { ?> <?php global $columns; //Player Colors $playerbgColor = get_option_tree('video_main_color'); $controlColor = get_option_tree('video_control_color'); $controlBackColor = get_option_tree('<API key>'); $controlColor = ereg_replace('#','0x', $controlColor); $controlBackColor = ereg_replace('#','0x', $controlBackColor); // Standard Video URL $videoURL = $videometa['nonverbla_url']; $videoHDURL = $videometa['nonverbla_hd_url']; if(isset($videometa['mp4_url'])) { $mp4 = $videometa['mp4_url']; } //Video Width Settings $videowidth = ($columns == 'sixteen') ? '934' : '632'; if(is_home() || is_front_page() || is_archive() || is_search()) { $videowidth = '328'; } //Poster Image if(isset($videometa['single_poster_image'])) { $posterurl = $videometa['single_poster_image']; } elseif(isset($videometa['poster_image'])) { $posterurl = $videometa['poster_image']; } else { $posterurl = <API key>(<API key>($postID)); } $posterimage = ($posterurl[0]) ? aq_resize( $posterurl , $videowidth , '' , true ) : $videometa['poster_image']; // Featured Slider if(isset($videometa['single_mp4_url'])) { $mp4 = $videometa['single_mp4_url']; } if(isset($videometa['<API key>'])) { $videoURL = $videometa['<API key>']; } if(isset($videometa['<API key>'])) { $videoHDURL = $videometa['<API key>']; } ?> <div class="<API key>"> <div class="elastic-video"> <div id="videoPlayer_<?php echo $postID; ?>" > <?php // Fallback for Ipad ?> <video controls="controls" width="<?php echo $width; ?>px"> <?php if($mp4) { ?> <source src="<?php echo $mp4; ?>" type='video/mp4' /> <?php } ?> </video> </div> <script type="text/javascript"> var flashvars = {}; flashvars.mediaURL = "<?php echo $videoURL; ?>"; <?php if(!empty($posterimage)) { ?> flashvars.teaserURL = "<?php echo $posterimage; ?>"; <?php } ?> <?php if(!empty($videoHDURL)) { ?> flashvars.hdURL = "<?php echo $videoHDURL; ?>"; flashvars.defaultHD = "true"; <?php } ?> flashvars.allowSmoothing = "true"; flashvars.autoPlay = "false"; flashvars.buffer = "6"; flashvars.showTimecode = "true"; flashvars.loop = "false"; flashvars.controlColor = "<?php echo $controlColor; ?>"; flashvars.controlBackColor = "<?php echo $controlBackColor; ?>"; flashvars.scaleIfFullScreen = "true"; flashvars.showScalingButton = "true"; flashvars.defaultVolume = "100"; flashvars.crop = "false"; //flashvars.onClick = "toggleFullScreen"; var params = {}; params.menu = "false"; params.allowFullScreen = "true"; params.allowScriptAccess = "always"; params.wmode = "transparent" var attributes = {}; attributes.id = "nonverblaster"; attributes.bgcolor = "<?php echo $playerbgColor; ?>" function embedSWF(){ swfobject.embedSWF("<?php echo <API key>(); ?>/javascripts/NonverBlaster.swf", "videoPlayer_<?php echo $postID; ?>", "<?php echo $videowidth; ?>", "320", "9", "<?php echo <API key>(); ?>/javascripts/expressinstall.swf", flashvars, params, attributes); } embedSWF(); </script> </div> </div> <?php } } # Infinite Scroll function infinite_scroll_js(){ wp_register_script( 'infinite_scroll', <API key>() . '/javascripts/jquery.infinitescroll.min.js', array('jquery'),null,true ); if( is_page_template('<API key>.php') ) { wp_enqueue_script('infinite_scroll'); } } add_action('wp_enqueue_scripts', 'infinite_scroll_js'); function lambda_needed_js() { global $theme_options; $columnset = 3; ?> <script type="text/javascript"> (function($){ <?php if( is_page_template('<API key>.php') ) { ?> var $container = $('#infinity-blog'); $(window).load(function(){ $container.isotope({ itemSelector : '.infinity-post', animationEngine : 'best-available', transformsEnabled: true }); }); $(window).smartresize(function(){ $container.isotope({ itemSelector : '.infinity-post', animationEngine : 'best-available', transformsEnabled: true }); }); var infinite_scroll = { loading: { img: "<?php echo <API key>(); ?>/images/ajax-loader.gif", msgText: "<?php _e( 'Loading the next set of posts...', UT_THEME_INITIAL ); ?>", finishedMsg: "<?php _e( 'All posts loaded.', UT_THEME_INITIAL ); ?>" }, "nextSelector":"#nav-below .nav-previous a", "navSelector":"#nav-below", "itemSelector":".infinity-post", "contentSelector":"#infinity-blog" }; jQuery( infinite_scroll.contentSelector ).infinitescroll( infinite_scroll, function(arrayOfNewElems){ $container.isotope( 'appended', $( arrayOfNewElems ) ); jQuery('.post-slider').each(function() { jQuery("#"+this.id).flexslider({ animation: "fade", slideshow: true, slideshowSpeed: 2500 }); }); jQuery(".lambda-video").fitVids(); $container.isotope('reLayout'); }); <?php } ?> <?php if(isset($theme_options['<API key>']) && $theme_options['<API key>'] == 'on') { ?> $("a[data-rel^='prettyPhoto']").prettyPhoto({ show_title: false }); <?php } ?> })(jQuery); </script> <?php } add_action( 'wp_footer', 'lambda_needed_js',100 ); ?>
=begin #(fold) ++ Copyright 2004-2007 Joyent Inc. Redistribution and/or modification of this code is governed by the GPLv2. Report issues and contribute at http://dev.joyent.com/ $Id$ =end #(end) require File.dirname(__FILE__) + '/../test_helper' require 'people_controller' # Re-raise errors caught by the controller. class PeopleController; def rescue_action(e) raise e end; end class <API key> < Test::Unit::TestCase fixtures all_fixtures def setup @controller = PeopleController.new @request = ActionController::TestRequest.new @response = ActionController::TestResponse.new end def test_index_works login_person(:ian) get :index assert_response :redirect <API key> people_list_url(:group => users(:ian).contact_list.id) end def <API key> login_person(:ian) get :create assert assigns(:person) assert assigns(:person).new_record? assert_response :success # assert_select 'input#person_account_type[value=?]', /admin|user|guest|contact/ assert_template 'edit' end def <API key> login_person(:ian) post :create, {:person => {:type => 'contact', :first_name => 'a'}, :<API key> => users(:ian).dom_id, :<API key> => users(:ian).dom_id, :new_item_tags => 'huh'} assert assigns(:person) assert_equal false, assigns(:person).new_record? assert_response :redirect assert_equal 1, assigns(:person).notifications.length assert_equal 1, assigns(:person).<API key>.length assert_equal 1, assigns(:person).tags.length end def <API key> login_person(:ian) post :create, {:<API key> => '', :<API key> => '', :new_item_tags => '', :person => {:type => 'contact', :first_name => 'New', :last_name => 'Contact', :phone_numbers => { '0' => {'phone_number_type' => 'Home', 'phone_number' => '555-1212'} }, :email_addresses => { '0' => {'email_type' => 'Home', 'email_address' => 'jill@joyent.com'} }, :addresses => { '0' => {'address_type' => 'Home', 'street' => 'wherever'} }, :im_addresses => { '0' => {'im_type' => 'Home', 'im_address' => 'joyent_jill'} }, :websites => { '0' => {'site_title' => 'Joyent Homepage', 'site_url' => 'http://joyent.com'} }, :special_dates => { '0' => {'description' => 'A new year', 'day' => '1', 'month' => '1', 'year' => '2007'} } } } assert assigns(:person) assert_equal false, assigns(:person).new_record? assert_equal 1, assigns(:person).phone_numbers.length assert_equal 1, assigns(:person).email_addresses.length assert_equal 1, assigns(:person).addresses.length assert_equal 1, assigns(:person).im_addresses.length assert_equal 1, assigns(:person).websites.length assert_equal 1, assigns(:person).special_dates.length end def <API key> login_person(:ian) get :list, {:group => User.current.contact_list.id} test_list_common assert_toolbar([:new, :copy, :delete, :import]) end def <API key> login_person(:ian) xhr :get, :list, {:group => User.current.contact_list.id} <API key> end def <API key> login_person(:ian) get :show, {:id => people(:stephen).id} test_show_common assert assigns(:<API key>) assert assigns(:toolbar)[:manage] # TODO: when GUI ready move to assert_toolbar method assert_template 'show' assert_toolbar([:new, :edit, :copy, :delete, :import]) end def <API key> login_person(:peter) get :show, {:id => people(:stephen).id} test_show_common assert_template 'show' assert_toolbar([:new, :copy, :import]) end def <API key> login_person(:ian) get :vcards, {:group => User.current.contact_list.id} test_vcards_common end def <API key> login_person(:ian) get :person_group_vcards, {:id => 1} test_vcards_common end def <API key> login_person(:ian) get :edit, {:id => 1} test_edit_common end def <API key> login_person(:ian) @request.env["HTTP_REFERER"] = '/people/' get :delete, {:ids => 1} test_delete_common end def <API key> login_person(:ian) get :list, :group => 'users' test_list_common assert_toolbar([:quota, :new, :copy, :delete, :import]) end def <API key> login_person(:ian) xhr :get, :list, :group => 'users' <API key> end def <API key> login_person(:ian) get :show, :id => people(:ian).id test_show_common assert assigns(:<API key>) assert assigns(:toolbar)[:manage] # TODO: when GUI ready move to assert_toolbar method assert_template 'show' # Delete button is not present for your own record assert_toolbar([:quota, :new, :edit, :copy, :import]) get :show, :id => people(:stephen).id test_show_common assert_template 'show' # Delete is present for other users when you are an admin assert_toolbar([:new, :edit, :delete, :copy, :import]) end def <API key> login_person(:ian) get :vcards, :group => 'users' test_vcards_common end def <API key> login_person(:ian) get :edit, :id => 1 test_edit_common end # def <API key> # @request.env["HTTP_REFERER"] = '/people/' # get :delete, :ids => 1 # test_delete_common # <API key> <API key>(:ids => '1') # end def <API key> login_person(:ian) get :notifications, {:all => ''} assert_response :success assert assigns(:notifications) assert_toolbar([:new_notifications]) end def test_notifications login_person(:ian) get :notifications assert assigns(:notifications) assert_toolbar([:all_notifications]) end def <API key> login_person(:ian) xhr :get, :notifications assert assigns(:notifications) assert :success end def test_show_works login_person(:ian) get :show, :id => people(:stephen).id test_show_common assert_template 'show' assert_toolbar([:new, :edit, :copy, :delete, :import]) end def <API key> login_person(:ian) xhr :get, :list, :group => 's9' <API key> end def <API key> login_person(:ian) get :vcards, :group => 'notifications' test_vcards_common end def <API key> login_person(:ian) get :list, :group => 's9' test_list_common assert_toolbar([:new, :copy, :delete, :import]) end # Regression for ticket 3368 def <API key> login_person(:ian) users(:ian).contact_list.people.create(:first_name => "Test", :organization_id => organizations(:joyent).id, :user_id => users(:ian).id) smart_groups(:ian_people_body_foo).update_attribute(:tags, 'foo') people(:stephen).update_attribute(:last_name, nil) get :list, :group => 's9' test_list_common assert_toolbar([:new, :copy, :delete, :import]) end def <API key> login_person(:ian) get :show, :id => people(:stephen).id test_show_common assert_template 'show' assert_toolbar([:new, :edit, :copy, :delete, :import]) end def <API key> login_person(:ian) get :vcards, :group => 's9' test_vcards_common end def test_edit_works login_person(:ian) get :edit, :id => 1 test_edit_common end def <API key> login_person(:ian) @request.env["HTTP_REFERER"] = '/people/' get :delete, :ids => 1 test_delete_common end def test_vcard_works login_person(:ian) get :vcard, :id => 1 assert assigns(:person) assert_response :success end def <API key> login_person(:ian) people(:ian).update_attribute(:last_name, nil) get :vcard, :id => 1 assert assigns(:person) assert_response :success end def test_icon_works login_person(:ian) get :icon, :id => 1 assert assigns(:person) assert_response :success end def test_comments_show login_person(:ian) get :show, {:id => people(:ian).id} assert_response :success assert @response.body =~ /<div id="comments" class="CommentsCollapsed">/ end def <API key> login_person(:ian) xml_http_request :post, :show, {:id => people(:ian).id} assert_response :success assert (@response.body =~ /<div id="comments" class="CommentsCollapsed">/).blank? end def <API key> login_person(:ian) assert Person.find(people(:notuser).id) @request.env["HTTP_REFERER"] = '/people/' get :delete, {:ids => people(:notuser).id} assert Person.find(people(:notuser).id) end def test_call call_count = users(:ian).calls.count login_person(:ian) xhr :get, :call, {:jajah_username => 'ian@ian.com', :jajah_password => 'ian', :jajah_from_number => '1231231234', :jajah_to_numbers => [4]} assert_response :success assert_equal "Dialing...", flash[:status] assert_equal call_count + 1, User.find(1).calls.count call = User.find(1).calls[0] assert call.successful? assert_equal 1, call.status_code assert_equal 1, call.callings.count assert_equal phone_numbers(:four).phone_number, call.callings.first.phone_number end def test_call_bad_name call_count = users(:ian).calls.count login_person(:ian) xhr :get, :call, {:jajah_username => 'badname', :jajah_password => 'ian', :jajah_from_number => '1231231234', :jajah_to_numbers => [4]} assert_response :success assert_equal "Could not complete call (Invalid username or password.)", flash[:status] assert_equal call_count + 1, User.find(1).calls.count call = User.find(1).calls[0] assert !call.successful? assert_equal -1, call.status_code assert_equal 1, call.callings.count assert_equal phone_numbers(:four).phone_number, call.callings.first.phone_number end def <API key> call_count = users(:ian).calls.count login_person(:ian) xhr :get, :call, {:jajah_username => 'ian', :jajah_password => 'ian', :jajah_from_number => '1231231234', :jajah_to_numbers => [4, 3]} assert_response :success assert_equal "Dialing...", flash[:status] assert_equal call_count + 1, User.find(1).calls.count call = User.find(1).calls[0] assert call.successful? assert_equal 1, call.status_code assert_equal 2, call.callings.count assert_equal phone_numbers(:four).phone_number, call.callings.last.phone_number assert_equal phone_numbers(:three).phone_number, call.callings.first.phone_number end def test_call_list login_person(:ian) xhr :get, :call_list, {:ids => "1,2"} assert_response :success end def test_call_list login_person(:ian) xhr :get, :call_list, {:id => "1"} assert_response :success end def test_jajah_info login_person(:ian) xhr :get, :get_jajah_info, {:jajah_username => 'ian', :jajah_password => 'ian'} assert_response :success assert_equal "Valid login.", flash[:status] xhr :get, :get_jajah_info, {:jajah_username => 'ian'} assert_response :success assert_equal "Empty Jajah credentials.", flash[:status] end # def <API key> # fake_id = 999999999 # assert Person.find_by_id(fake_id).blank? # get :show, {:item => fake_id} # <API key> people_home_url # end # person peek view wasn't in place yet def <API key> login_person(:ian) xml_http_request :post, :show, {:id => people(:ian).id} test_show_common assert_template '_peek' end # url to delete contact was wrong def <API key> login_person(:ian) get :list, {:group => users(:ian).contact_list.id} l = people_delete_url assert @response.body =~ / end # make sure deleting a person actually works def <API key> login_person(:ian) assert Person.find(people(:o1notuser).id) @request.env["HTTP_REFERER"] = '/people/' post :delete, {:ids => people(:o1notuser).id} assert Person.find_by_id(people(:o1notuser).id).blank? assert_response :redirect end def <API key> login_person(:ian) get :vcard, {:id=>people(:peter).id} assert_response :success peeps = VcardConverter.<API key>(@response.body) assert_equal 1, peeps.size assert_equal peeps.first.first_name, people(:peter).first_name end def <API key> login_person(:ian) get :edit, {:id => 1} test_edit_common # Not sure why this is commented out # assert_tag :input, :attributes => {:type => "submit", :value => "Save"} end # import vcard wasn't tested def <API key> login_person(:ian) @request.env["HTTP_REFERER"] = "/foo" get :list, {:group => User.current.contact_list.id} assert assigns(:people) assert 1, assigns(:people).size post :import, :vcard => fixture_file_upload('/vcards/<API key>.vcf', 'text/plain') assert_response :redirect assert assigns(:people) assert 3, assigns(:people).size end # make sure users can view other users' smart groups def <API key> login_person(:ian) assert_not_equal User.current, smart_groups(:<API key>).owner get :list, :group => smart_groups(:<API key>).url_id test_list_common assert_toolbar([:new, :copy, :import]) end # make sure form posting can toggle a user's admin status def <API key> login_person(:ian) assert ! users(:peter).admin? post :edit, {'id' => users(:peter).id, 'person' => {'first_name' => 'Peter', 'last_name' => 'Hook', 'password' => '', '<API key>' => '', 'admin' => 'on', 'time_zone' => 'America/New_York'}} users(:peter).reload assert_response :redirect assert users(:peter).admin? post :edit, {'id' => users(:peter).id, 'person' => {'first_name' => 'Peter', 'last_name' => 'Hook', 'password' => '', '<API key>' => '', 'time_zone' => 'America/New_York'}} users(:peter).reload assert ! users(:peter).admin? end # didn't have the form url correct def <API key> login_person(:ian) get :list, { :group => 'users' } assert @response.body =~ /#{people_import_url}/ end def <API key> login_person(:ian) get :list, :group => 'users' assert_response :success assert @response.body =~ /#{User.current.organization.users.length}\/100 Users Created/ assert @response.body =~ /<strong class="bar" style="width: #{User.current.organization.users.length}%;"><\/strong>/ end def <API key> login_person(:ian) get :list, :group => 'users' assert_response :success <API key> <API key>(:people) end def test_delete_people login_person(:ian) @request.env["HTTP_REFERER"] = '/people/' + User.current.contact_list.id.to_s ids = [people(:stephen).id, people(:o1notuser).id] * ',' post :delete, {:ids=>ids} <API key> people_list_url(:group => users(:ian).contact_list.id) end def test_copy_person login_person(:ian) get :list, {:group => User.current.contact_list.id} assert assigns(:people) assert 1, assigns(:people).size ids=[people(:stephen).id, people(:peter).id]*',' post :copy, {:ids => ids} assert_response :redirect assert assigns(:people) assert 3, assigns(:people).size end def test_peek login_person(:ian) xhr :get, :show, {:id => people(:ian).id} assert_response :success assert_template '_peek' end def test_preview_user login_person(:ian) xhr :post, :show, :id => 1 test_show_common assert_template '_peek' end def <API key> login_person(:ian) xhr :post, :show, {:id => 1} test_show_common assert_template '_peek' end # Regression for 2887 # Can't delete people you don't own def <API key> login_person(:peter) @request.env["HTTP_REFERER"] = '/people/' assert Person.find(people(:stephen).id) get :delete, {:ids => people(:stephen).id} assert Person.find(people(:stephen).id) end # Regression for 2887 # Can't delete people you don't own def <API key> login_person(:peter) @request.env["HTTP_REFERER"] = '/people/' assert Person.find(people(:stephen).id) get :delete, {:ids => people(:stephen).id} assert Person.find(people(:stephen).id) end # Regression for 3040 def test_edit_user login_person(:peter) u = users(:peter) u.admin = false u.save get :edit, :id => u.id test_edit_common end def test_set_sort_order login_person(:ian) @request.env["HTTP_REFERER"] = '/people/1' assert_nil User.current.get_option('People Sort Field') assert_nil User.current.get_option('People Sort Order') get :set_sort_order, :sort_field => @controller.send(:valid_sort_fields).first, :sort_order => 'ASC' assert_response :redirect assert_equal User.current.get_option('People Sort Field'), @controller.send(:valid_sort_fields).first assert_equal User.current.get_option('People Sort Order'), 'ASC' end def test_others_groups login_person(:ian) xhr :get, :others_groups, :user_id => users(:peter).id assert_response :success end def test_current_time login_person(:ian) get :current_time assert assigns(:people) assert_response :success assert_layout end def <API key> login_person(:ian) xhr :get, :current_time assert assigns(:people) assert_response :success assert_no_layout end # Copied from: def test_rjs_header login_person(:ian) xhr :get, :show, :id => 1 assert_equal @response.headers['Content-Type'], 'text/javascript; charset=UTF-8' end def test_normal_header login_person(:ian) get :show, :id => 1 assert_equal @response.headers['Content-Type'].downcase, 'text/html; charset=UTF-8'.downcase # huh end # Regression test for case: 4062 def <API key> login_person(:ian) post :delete, {:ids => 2} assert_nil User.find_by_username('peter') end def <API key> login_person(:ian) post(:list, {:group => "pg" + person_groups(:colleagues).id.to_s}) test_list_common assert assigns(:person_group) assert (person_groups(:colleagues).people - assigns(:people)).empty? assert assigns(:toolbar)[:remove] assert assigns(:toolbar)[:add] assert_template 'list' end def test_add login_person(:ian) assert !person_groups(:colleagues).people.include?(people(:peter)) assert !person_groups(:colleagues).people.include?(people(:stephen)) assert !person_groups(:colleagues).people.include?(people(:guest)) post(:add, {:new_group_id => person_groups(:colleagues).id, :ids => [people(:peter).id, people(:stephen).id, people(:guest).id].join(',')}) assert_response :success assert person_groups(:colleagues).people(true).include?(people(:peter)) assert person_groups(:colleagues).people(true).include?(people(:stephen)) assert person_groups(:colleagues).people(true).include?(people(:guest)) end def test_remove login_person(:ian) post(:add, {:new_group_id => person_groups(:colleagues).id, :ids => [people(:peter).id, people(:stephen).id, people(:guest).id].join(',')}) assert person_groups(:colleagues).people(true).include?(people(:peter)) assert person_groups(:colleagues).people(true).include?(people(:stephen)) assert person_groups(:colleagues).people(true).include?(people(:guest)) xhr(:post, :remove, {:group_id => person_groups(:colleagues).id, :ids => [people(:peter).id, people(:stephen).id, people(:guest).id].join(',')}) assert_response :success assert !person_groups(:colleagues).people(true).include?(people(:peter)) assert !person_groups(:colleagues).people(true).include?(people(:stephen)) assert !person_groups(:colleagues).people(true).include?(people(:guest)) end def test_manage login_person(:ian) person = people(:peter) person_group1 = person_groups(:empty) person_group2 = person_groups(:friends) person_group3 = person_groups(:colleagues) assert person.person_groups.empty? post(:manage, {:id => person.id, :manage_ids => [person_group1.id.to_s, person_group2.id.to_s]}) assert !person.person_groups(true).empty? assert person.person_groups(true).include?(person_group1) assert person.person_groups(true).include?(person_group2) assert_equal person.person_groups(true).length, 2 assert_response :redirect post(:manage, {:id => person.id, :manage_ids => [person_group3.id.to_s]}) assert !person.person_groups(true).include?(person_group1) assert !person.person_groups(true).include?(person_group2) assert person.person_groups(true).include?(person_group3) assert_equal person.person_groups(true).length, 1 assert_response :redirect end private def <API key> assert assigns(:group_name) assert assigns(:people) assert_template '_people' assert_response :success end def test_list_common assert assigns(:group_name) assert assigns(:people) assert_template 'list' assert_response :success end def test_show_common assert assigns(:group_name) assert assigns(:person) assert_response :success end def test_vcards_common assert assigns(:people) assert_response :success assert_equal @response.headers['Content-Type'], 'application/octet-stream' end def test_edit_common assert assigns(:group_name) assert assigns(:person) assert_response :success end def test_delete_common assert_response :redirect end end
/** * @defgroup <API key> */ // Create the modal namespace. jQuery.pkp.controllers.modal = jQuery.pkp.controllers.modal || { }; (function($) { /** * @constructor * * @extends $.pkp.classes.Handler * * @param {jQuery} $handledElement The modal. * @param {Object} options Non-default dialog options * to be passed into the dialog widget. * * Options are: * - dialogText string the content of the modal * - okButton string the name for the confirmation button * - all options documented for the jQueryUI dialog widget, * except for the buttons parameter which is not supported. */ $.pkp.controllers.modal.ModalHandler = function($handledElement, options) { this.parent($handledElement, options); // Check the options. if (!this.checkOptions(options)) { throw Error('Missing or invalid modal options!'); } // Clone the options object before we manipulate them. var internalOptions = $.extend(true, {}, options); // Merge user and default options. internalOptions = this.mergeOptions(internalOptions); // Open the modal. $handledElement.dialog(internalOptions); // Fix title bar and close button. this.fixTitleBar_($handledElement, internalOptions); this.fixCloseButton_($handledElement, internalOptions); // if our modal is too narrow ('auto' width, with small amounts // of content), resize to prevent title wrapping. if ($handledElement.width() < 400) { $handledElement.dialog('option', 'width', '400'); } // if the modal is too wide ('auto' width with large amounts // of content), resize to prevent modals that are too wide. if ($handledElement.width() > 710) { $handledElement.dialog('option', 'width', '710'); } $handledElement.dialog('option', 'position', ['center', 100]); // Bind the close event. this.bind('dialogclose', this.dialogClose); // Publish some otherwise private events triggered // by nested widgets so that they can be handled by // the element that opened the modal. this.publishEvent('redirectRequested'); this.publishEvent('dataChanged'); this.publishEvent('<API key>'); this.publishEvent('modalCanceled'); this.publishEvent('updateHeader'); this.publishEvent('updateSidebar'); // Bind notify user event. this.bind('notifyUser', this.<API key>); // Click outside to close. var canClose = options.canClose || '1'; if (canClose) { $handledElement.parent().next('.ui-widget-overlay'). click(this.callbackWrapper(this.outsideClick)); } }; $.pkp.classes.Helper.inherits($.pkp.controllers.modal.ModalHandler, $.pkp.classes.Handler); // Private static properties /** * Default options * @private * @type {Object} * @const */ $.pkp.controllers.modal.ModalHandler.DEFAULT_OPTIONS_ = { autoOpen: true, width: 710, modal: true, draggable: false, resizable: false, position: ['center', 100] }; // Protected methods /** * Check whether the correct options have been * given for this modal. * @protected * @param {Object} options Dialog options. * @return {boolean} True if options are ok. */ $.pkp.controllers.modal.ModalHandler.prototype.checkOptions = function(options) { // Check for basic configuration requirements. return typeof options === 'object' && options.buttons === undefined; }; /** * Determine the options based on * default options. * @protected * @param {Object} options Non-default dialog * options. * @return {Object} The default options merged * with the non-default options. */ $.pkp.controllers.modal.ModalHandler.prototype.mergeOptions = function(options) { // Merge the user options into the default options. var mergedOptions = $.extend(true, { }, this.self('DEFAULT_OPTIONS_'), options); return mergedOptions; }; // Public methods /** * Callback that will be activated when the modal's * close icon is clicked. * * @param {Object} callingContext The calling element or object. * @param {Event} event The triggering event (e.g. a click on * a close button. Not set if called via callback. * @return {boolean} Should return false to stop event processing. */ $.pkp.controllers.modal.ModalHandler.prototype.modalClose = function(callingContext, event) { if (event && event.currentTarget.id == 'cancelFormButton') { this.trigger('modalCanceled'); } // Close the modal dialog. var $modalElement = this.getHtmlElement(); // get the form from this modalElement so we can unregister it var $form = $modalElement.find('form').first(); // modalClose is called on both 'cancel' and 'close' events. With // callbacks both callingContext and event are undefined. So, // unregister this form with SiteHandler. if ($form.length == 1) { var handler = $.pkp.classes.Handler.getHandler($('#' + $form.attr('id'))); if (handler.formChangesTracked) { if (!confirm($.pkp.locale.form_dataHasChanged)) { return false; } else { this.trigger('unregisterAllForms'); } } } $modalElement.dialog('close'); return false; }; $.pkp.controllers.modal.ModalHandler.prototype.dialogClose = function(dialogElement) { // Remove the dialog including our button callbacks. var $dialogElement = $(dialogElement); $dialogElement.dialog('destroy'); // Remove the dialog content. this.getHtmlElement().empty(); // Return the handled DOM element to its // original state. this.remove(); }; /** * Callback that will be bound to the outside click event. * * @param {Object} callingContext The calling element or object. * @param {Event} event The outside click event. */ $.pkp.controllers.modal.ModalHandler.prototype.outsideClick = function(callingContext, event) { // Close the dialog. this.modalClose(callingContext, event); }; // Private methods $.pkp.controllers.modal.ModalHandler.prototype.fixTitleBar_ = function($handledElement, options) { // The new titlebar. var $titleBar = $('<div class="<API key>"></div>'); // Close icon. var canClose = options.canClose || '1'; if (canClose) { var $closeButton = $(['<a class="close ui-corner-all" href=" '<span class="xIcon">', 'close</span></a>"'].join('')); $closeButton.click(this.callbackWrapper(this.modalClose)); $titleBar.append($closeButton); } // Title text. var title = options.title || null; var iconClass = options.titleIcon || ''; if (title) { $titleBar.append(['<div class="large_sprite modal_title ' + iconClass + '"></div><h2>', title, '</h2>'].join('')); } // Replace the original title bar with our own implementation. $titleBar.append($('<span style="clear:both" />')); $handledElement.parent().find('.ui-dialog-titlebar').replaceWith($titleBar); }; $.pkp.controllers.modal.ModalHandler.prototype.fixCloseButton_ = function($handledElement, options) { // The new close button. var $closeButton = $('<a id="cancelFormButton" ' + 'class="cancelFormButton" href="#">Cancel</a>'); var $parentElement = $handledElement.parent(); // make changes to widen the button bar, and move the close button to the left $parentElement.find('.ui-dialog-buttonset'). css({'width': '90%', 'padding': '10px 20px'}); $parentElement.find('.ui-dialog-buttonset button:first'). css({'float': 'right', 'margin': '0px'}); // Replace the original close button with our own implementation. $parentElement.find('.ui-dialog-buttonset button:last'). replaceWith($closeButton); // bind modalClose to the new button $parentElement.find('.cancelFormButton'). bind('click', this.callbackWrapper(this.modalClose)); }; /** * Handler to redirect to the correct notification widget the * notify user event. * @param {HTMLElement} sourceElement The element that issued the * "notifyUser" event. * @param {Event} event The "notify user" event. * @param {HTMLElement} triggerElement The element that triggered * the "notifyUser" event. * @private */ $.pkp.controllers.modal.ModalHandler.prototype.<API key> = function(sourceElement, event, triggerElement) { // Use the notification helper to redirect the notify user event. $.pkp.classes.notification.NotificationHelper. <API key>(this, triggerElement); }; /** @param {jQuery} $ jQuery closure. */ })(jQuery);
#include <algorithm> #include <boost/bind.hpp> #include <boost/date_time/posix_time/posix_time.hpp> #include <cassert> #include "charset.h" #include "display.h" #include "global.h" #include "helpers.h" #include "playlist.h" #include "playlist_editor.h" #include "mpdpp.h" #include "status.h" #include "statusbar.h" #include "tag_editor.h" #include "utility/comparators.h" #include "title.h" #include "screen_switcher.h" using Global::MainHeight; using Global::MainStartY; PlaylistEditor *myPlaylistEditor; namespace { size_t LeftColumnStartX; size_t LeftColumnWidth; size_t RightColumnStartX; size_t RightColumnWidth; std::string SongToString(const MPD::Song &s); bool <API key>(const boost::regex &rx, const MPD::Playlist &playlist); bool SongEntryMatcher(const boost::regex &rx, const MPD::Song &s); } PlaylistEditor::PlaylistEditor() : m_timer(boost::posix_time::from_time_t(0)) , m_window_timeout(Config.data_fetching_delay ? 250 : 500) , m_fetching_delay(boost::posix_time::milliseconds(Config.data_fetching_delay ? 250 : -1)) { LeftColumnWidth = COLS/3-1; RightColumnStartX = LeftColumnWidth+1; RightColumnWidth = <API key>; Playlists = NC::Menu<MPD::Playlist>(0, MainStartY, LeftColumnWidth, MainHeight, Config.titles_visibility ? "Playlists" : "", Config.main_color, NC::Border()); Playlists.setHighlightColor(Config.active_column_color); Playlists.cyclicScrolling(Config.<API key>); Playlists.centeredCursor(Config.centered_cursor); Playlists.setSelectedPrefix(Config.<API key>); Playlists.setSelectedSuffix(Config.<API key>); Playlists.setItemDisplayer([](NC::Menu<MPD::Playlist> &menu) { menu << Charset::utf8ToLocale(menu.drawn()->value().path()); }); Content = NC::Menu<MPD::Song>(RightColumnStartX, MainStartY, RightColumnWidth, MainHeight, Config.titles_visibility ? "Playlist content" : "", Config.main_color, NC::Border()); Content.setHighlightColor(Config.<API key>); Content.cyclicScrolling(Config.<API key>); Content.centeredCursor(Config.centered_cursor); Content.setSelectedPrefix(Config.<API key>); Content.setSelectedSuffix(Config.<API key>); switch (Config.<API key>) { case DisplayMode::Classic: Content.setItemDisplayer( boost::bind(Display::Songs, _1, contentProxyList(), Config.song_list_format )); break; case DisplayMode::Columns: Content.setItemDisplayer( boost::bind(Display::SongsInColumns, _1, contentProxyList()) ); break; } w = &Playlists; } void PlaylistEditor::resize() { size_t x_offset, width; <API key>(x_offset, width); LeftColumnStartX = x_offset; LeftColumnWidth = width/3-1; RightColumnStartX = LeftColumnStartX+LeftColumnWidth+1; RightColumnWidth = <API key>; Playlists.resize(LeftColumnWidth, MainHeight); Content.resize(RightColumnWidth, MainHeight); Playlists.moveTo(LeftColumnStartX, MainStartY); Content.moveTo(RightColumnStartX, MainStartY); hasToBeResized = 0; } std::wstring PlaylistEditor::title() { return L"Playlist editor"; } void PlaylistEditor::refresh() { Playlists.display(); drawSeparator(RightColumnStartX-1); Content.display(); } void PlaylistEditor::switchTo() { SwitchTo::execute(this); markSongsInPlaylist(contentProxyList()); drawHeader(); refresh(); } void PlaylistEditor::update() { if (Playlists.empty() || <API key>) { <API key> = false; size_t idx = 0; for (MPD::PlaylistIterator it = Mpd.GetPlaylists(), end; it != end; ++it, ++idx) { if (idx < Playlists.size()) Playlists[idx].value() = std::move(*it); else Playlists.addItem(std::move(*it)); }; if (idx < Playlists.size()) Playlists.resizeList(idx); std::sort(Playlists.beginV(), Playlists.endV(), LocaleBasedSorting(std::locale(), Config.ignore_leading_the)); Playlists.refresh(); } if ((Content.empty() && Global::Timer - m_timer > m_fetching_delay) || <API key>) { <API key> = false; if (Playlists.empty()) Content.clear(); else { size_t idx = 0; MPD::SongIterator s = Mpd.GetPlaylistContent(Playlists.current()->value().path()), end; for (; s != end; ++s, ++idx) { bool is_bold = myPlaylist->checkForSong(*s); if (idx < Content.size()) { Content[idx].setBold(is_bold); Content[idx].value() = std::move(*s); } else Content.addItem(std::move(*s), is_bold); } if (idx < Content.size()) Content.resizeList(idx); std::string wtitle; if (Config.titles_visibility) { wtitle = (boost::format("Playlist content (%1%) %2%") % boost::lexical_cast<std::string>(Content.size()) % (Content.size() == 1 ? "item" : "items") ).str(); wtitle.resize(Content.getWidth()); } Content.setTitle(wtitle); } Content.display(); } if (isActiveWindow(Content) && Content.empty()) { Content.setHighlightColor(Config.<API key>); Playlists.setHighlightColor(Config.active_column_color); w = &Playlists; } if (Playlists.empty() && Content.empty()) { Content.Window::clear(); Content.Window::display(); } } int PlaylistEditor::windowTimeout() { if (Content.empty()) return m_window_timeout; else return Screen<WindowType>::windowTimeout(); } ProxySongList PlaylistEditor::contentProxyList() { return ProxySongList(Content, [](NC::Menu<MPD::Song>::Item &item) { return &item.value(); }); } void PlaylistEditor::AddToPlaylist(bool add_n_play) { if (isActiveWindow(Playlists) && !Playlists.empty()) { std::vector<MPD::Song> list( std::make_move_iterator(Mpd.GetPlaylistContent(Playlists.current()->value().path())), std::make_move_iterator(MPD::SongIterator()) ); bool success = addSongsToPlaylist(list.begin(), list.end(), add_n_play, -1); Statusbar::printf("Playlist \"%1%\" loaded%2%", Playlists.current()->value().path(), withErrors(success) ); } else if (isActiveWindow(Content) && !Content.empty()) addSongToPlaylist(Content.current()->value(), add_n_play); if (!add_n_play) w->scroll(NC::Scroll::Down); } void PlaylistEditor::enterPressed() { AddToPlaylist(true); } void PlaylistEditor::spacePressed() { if (Config.space_selects) { if (isActiveWindow(Playlists)) { if (!Playlists.empty()) { Playlists.current()->setSelected(!Playlists.current()->isSelected()); Playlists.scroll(NC::Scroll::Down); } } else if (isActiveWindow(Content)) { if (!Content.empty()) { Content.current()->setSelected(!Content.current()->isSelected()); Content.scroll(NC::Scroll::Down); } } } else AddToPlaylist(false); } void PlaylistEditor::mouseButtonPressed(MEVENT me) { if (!Playlists.empty() && Playlists.hasCoords(me.x, me.y)) { if (!isActiveWindow(Playlists)) { if (<API key>()) previousColumn(); else return; } if (size_t(me.y) < Playlists.size() && (me.bstate & (BUTTON1_PRESSED | BUTTON3_PRESSED))) { Playlists.Goto(me.y); if (me.bstate & BUTTON3_PRESSED) { size_t pos = Playlists.choice(); spacePressed(); if (pos < Playlists.size()-1) Playlists.scroll(NC::Scroll::Up); } } else Screen<WindowType>::mouseButtonPressed(me); Content.clear(); } else if (!Content.empty() && Content.hasCoords(me.x, me.y)) { if (!isActiveWindow(Content)) { if (nextColumnAvailable()) nextColumn(); else return; } if (size_t(me.y) < Content.size() && (me.bstate & (BUTTON1_PRESSED | BUTTON3_PRESSED))) { Content.Goto(me.y); if (me.bstate & BUTTON1_PRESSED) { size_t pos = Content.choice(); spacePressed(); if (pos < Content.size()-1) Content.scroll(NC::Scroll::Up); } else enterPressed(); } else Screen<WindowType>::mouseButtonPressed(me); } } bool PlaylistEditor::allowsSearching() { return true; } void PlaylistEditor::setSearchConstraint(const std::string &constraint) { if (isActiveWindow(Playlists)) { <API key> = RegexFilter<MPD::Playlist>( boost::regex(constraint, Config.regex_type), <API key> ); } else if (isActiveWindow(Content)) { <API key> = RegexFilter<MPD::Song>( boost::regex(constraint, Config.regex_type), SongEntryMatcher ); } } void PlaylistEditor::clearConstraint() { if (isActiveWindow(Playlists)) <API key>.clear(); else if (isActiveWindow(Content)) <API key>.clear(); } bool PlaylistEditor::find(SearchDirection direction, bool wrap, bool skip_current) { bool result = false; if (isActiveWindow(Playlists)) result = search(Playlists, <API key>, direction, wrap, skip_current); else if (isActiveWindow(Content)) result = search(Content, <API key>, direction, wrap, skip_current); return result; } ProxySongList PlaylistEditor::proxySongList() { auto ptr = ProxySongList(); if (isActiveWindow(Content)) ptr = contentProxyList(); return ptr; } bool PlaylistEditor::allowsSelection() { return true; } void PlaylistEditor::reverseSelection() { if (isActiveWindow(Playlists)) <API key>(Playlists.begin(), Playlists.end()); else if (isActiveWindow(Content)) <API key>(Content.begin(), Content.end()); } std::vector<MPD::Song> PlaylistEditor::getSelectedSongs() { std::vector<MPD::Song> result; if (isActiveWindow(Playlists)) { bool any_selected = false; for (auto &e : Playlists) { if (e.isSelected()) { any_selected = true; std::copy( std::make_move_iterator(Mpd.GetPlaylistContent(e.value().path())), std::make_move_iterator(MPD::SongIterator()), std::back_inserter(result) ); } } // if no item is selected, add songs from right column if (!any_selected && !Playlists.empty()) { std::copy( std::make_move_iterator(Mpd.GetPlaylistContent(Playlists.current()->value().path())), std::make_move_iterator(MPD::SongIterator()), std::back_inserter(result) ); } } else if (isActiveWindow(Content)) { for (auto &e : Content) if (e.isSelected()) result.push_back(e.value()); // if no item is selected, add current one if (result.empty() && !Content.empty()) result.push_back(Content.current()->value()); } return result; } bool PlaylistEditor::<API key>() { if (isActiveWindow(Content)) { if (!Playlists.empty()) return true; } return false; } void PlaylistEditor::previousColumn() { if (isActiveWindow(Content)) { Content.setHighlightColor(Config.<API key>); w->refresh(); w = &Playlists; Playlists.setHighlightColor(Config.active_column_color); } } bool PlaylistEditor::nextColumnAvailable() { if (isActiveWindow(Playlists)) { if (!Content.empty()) return true; } return false; } void PlaylistEditor::nextColumn() { if (isActiveWindow(Playlists)) { Playlists.setHighlightColor(Config.<API key>); w->refresh(); w = &Content; Content.setHighlightColor(Config.active_column_color); } } void PlaylistEditor::updateTimer() { m_timer = Global::Timer; } void PlaylistEditor::Locate(const MPD::Playlist &playlist) { update(); auto begin = Playlists.beginV(), end = Playlists.endV(); auto it = std::find(begin, end, playlist); if (it != end) { Playlists.highlight(it-begin); Content.clear(); switchTo(); } } namespace { std::string SongToString(const MPD::Song &s) { std::string result; switch (Config.<API key>) { case DisplayMode::Classic: result = Format::stringify<char>(Config.song_list_format, &s); break; case DisplayMode::Columns: result = Format::stringify<char>(Config.<API key>, &s); break; } return result; } bool <API key>(const boost::regex &rx, const MPD::Playlist &playlist) { return boost::regex_search(playlist.path(), rx); } bool SongEntryMatcher(const boost::regex &rx, const MPD::Song &s) { return boost::regex_search(SongToString(s), rx); } }
#include <stdio.h> #include <stdlib.h> #ifndef __GT_FILE # define __GT_FILE 0 #endif /* Generate a unique temporary file name from TEMPLATE. The last six characters of TEMPLATE must be "XXXXXX"; they are replaced with a string that makes the filename unique. Then open the file and return a fd. */ int mkstemp (char *template) { return __gen_tempname (template, 0, 0, __GT_FILE); } #if !defined O_LARGEFILE || O_LARGEFILE == 0 weak_alias (mkstemp, mkstemp64) #endif
<?php # This file is part of DotClear. # reserved. # DotClear is free software; you can redistribute it and/or modify # (at your option) any later version. # DotClear is distributed in the hope that it will be useful, # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # along with DotClear; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA require dirname(__FILE__).'/inc/prepend.php'; require_once dirname(__FILE__).'/../inc/classes/class.imgmanager.php'; require_once dirname(__FILE__).'/../inc/libs/lib.image.php'; $auth->check(5); include dirname(__FILE__).'/inc/connexion.php'; $page_title = __('Manage images'); $img_p = dc_img_root; $img_p = path::real($img_p); $p = !empty($_REQUEST['p']) ? $_REQUEST['p'] : ''; $mode = !isset($mode) ? '' : $mode; $pscript = ($mode == 'popup') ? 'images-popup.php' : 'images.php'; $imgM = new imgmanager($img_p,$p,dc_img_url,$pscript); $err = ''; # Upload d'image if (!$imgM->isExclude() && $imgM->isWritable() && !empty($_FILES['up_img'])) { $tmp_file = $_FILES['up_img']['tmp_name']; $img_name = $_FILES['up_img']['name']; $up_dir = $imgM->root.'/'.$imgM->base_path; if (version_compare(phpversion(),'4.2.0','>=')) { $upd_error = $_FILES['up_img']['error']; } else { $upd_error = 0; } if($upd_error != 0) { switch ($upd_error) { case 1: case 2: $err .= '<li>'.__('File size exceeds the authorized limit').'</li>'; break; case 3: $err .= '<li>'.__('File was only partially uploaded').'</li>'; break; case 4: $err .= '<li>'.__('No file').'</li>'; break; } } elseif(@move_uploaded_file($tmp_file,$up_dir.'/'.$img_name)) { $dest_img = $up_dir.'/'.$img_name; if(filesize($dest_img) > dc_upload_size) { $err .= '<li>'.__('File size exceeds the authorized limit').'</li>'; } else { if(($img_size = @getimagesize($dest_img)) === false) { $err .= '<li>'.sprintf(__('The file %s is not an image'), '<strong>'.$img_name.'</strong>').'</li>'; } else { $max_s = explode('x',dc_max_img_size); $max_w = (int) $max_s[0]; $max_h = isset($max_s[1]) ? (int) $max_s[1] : 0; if ($max_w > 0 && $img_size[0] > $max_w) { $err .= '<li>'.__('Image is too large').'</li>'; } elseif ($max_h > 0 && $img_size[1] > $max_h) { $err .= '<li>'.__('Image is too large').'</li>'; } } } if ($err != '') { unlink($dest_img); } else { chmod($up_dir.'/'.$img_name,fileperms($up_dir) & ~0111); # On fait le thumbnail if (($img_type = images::type($dest_img)) !== false) { $tn_file = preg_replace('/^(.*)([.]\\w+)$/','$1.TN__$2',$up_dir.'/'.$img_name); images::cropImg($dest_img,$tn_file,$img_type,140,140); } $msg = __('Image uploaded'); header('Location: '.$pscript.'?p='.$p.'&msg='.rawurlencode($msg)); exit(); } } else { $err .= '<li>'.__('An error occured while uploading the image').'</li>'; } } if (!$imgM->isExclude() && $imgM->isImg() && isset($_GET['tn'])) { $type = $imgM->getImgType(); if ($type != 'png' && $type != 'jpeg') { $err .= '<li>'.__('Wrong image type').'</li>'; } elseif (!$imgM->isParentWritable()) { $err .= '<li>'.__('This folder is not writable.').'</li>'; } else { $img_file = $imgM->root.'/'.$imgM->base_path; $tn_file = preg_replace('/^(.*)([.]\\w+)$/','$1.TN__$2',$img_file); if (images::cropImg($img_file,$tn_file,$type,140,140) !== false) { header('Location: '.$pscript.'?p='.dirname($p)); exit; } } } # Suppression if (!$imgM->isExclude() && $imgM->isDeletable() && isset($_POST['del'])) { if ($imgM->isImg()) { $img_tn = $imgM->getThumb(NULL,true); } if ($imgM->delete() === false) { $err .= '<li>'.__('Cannot delete.').'</li>'; } else { if (!empty($img_tn)) { @unlink($img_tn); } header('Location: '.$pscript.'?p='.dirname($p)); exit; } } if (!$imgM->isExclude() && $imgM->isWritable() && !empty($_POST['new_dir'])) { if ($imgM->newDir($_POST['new_dir']) !== false) { header('Location: '.$pscript.'?p='.$p); exit; } else { $err = '<li>'.__('Cannot create this directory.').'</li>'; } } # Affichage if ($mode == 'popup') { openPopup($page_title); echo '<script type="text/javascript" src="js/toolbar.js"></script>'; echo '<script type="text/javascript">'. "if (document.getElementById) { var tbImg = new dcToolBar(window.opener.document.getElementById('p_content'), window.opener.document.getElementById('p_format'),'images/'); } </script>"; } else { # Sous menu $mySubMenu->addItem( __('Back to list of entries'),'index.php','images/ico_retour.png',false); openPage($page_title); } echo '<h2>'.$page_title.'</h2>'; if ($err != '') { echo '<div class="erreur"><p><strong>'.__('Error(s)').' :</strong></p>'. '<ul>'.$err.'</ul></div>'; } echo '<h3>'.__('Your images').'</h3>'; echo '<p>'.$imgM->getNavBar().'</p>'; # Affichage des image if (!$imgM->isExclude() && $imgM->isDir() && ($f_list = $imgM->getDir()) !== false) { $redir_link = ''.$pscript.'?p='.$imgM->base_path; foreach ($f_list['dirs'] as $k => $v) { $action = ''; if ($v['del']) { $action .= '<form action="'.$pscript.'" method="post">'. '<p class="action">'. form::hidden('p',$imgM->base_path.'/%2$s'). form::hidden('del',1). dcNonce::form(). '<input type="image" src="images/delete.png" alt="'.__('delete').'" '. 'title="'.__('delete').'" '. 'onclick="return window.confirm(\''. addslashes(sprintf(__('Are you sure you want to delete this %s?'),__('directory'))).'\');" />'. '</p></form>'; } else { $action = '<p class="action">&nbsp;</p>'; } $dir_link = '<div class="imgBrowsedir">'. '<p class="thumbnail small">'. '<a href="%1$s">'. '<img src="images/directory.png" alt="" /></a>'. '<a href="%1$s">%2$s</a></p>'. $action. '</div>'; echo $imgM->listDir($k,$v,$dir_link); } foreach ($f_list['files'] as $k => $v) { $action = ''; if ($v['del']) { $action .= '<form action="'.$pscript.'" method="post">'. '<p class="action">'. form::hidden('p',$imgM->base_path.'/%2$s'). form::hidden('del',1). dcNonce::form(). '<input type="image" src="images/delete.png" alt="'.__('delete').'" '. 'title="'.__('delete').'" '. 'onclick="return window.confirm(\''. addslashes(sprintf(__('Are you sure you want to delete this %s?'),__('file'))).'\');" />'. '</p></form>'; } else { $action = '<p class="action">&nbsp;</p>'; } if ($mode != 'popup') { $img_href = '%1$s'; } else { $img_href = '%1$s" '. 'onclick="tbImg.insImg(\'%4$s\'); '. 'window.close(); return false;'; } $img_link = '<div class="imgBrowse">'. '<p class="thumbnail small">'. '<br /><a href="'.$img_href.'">%2$s</a>'. '<br /><br /> <a href="'.$pscript.'?p='.$imgM->base_path.'/%2$s&amp;tn=1">'. __('Try to create thumbnail').'</a></p>'. $action. '</div>'; $img_link_tn = '<div class="imgBrowse">'. '<p class="thumbnail small">'. '<a href="'.$img_href.'"><img src="%3$s" alt="%2$s" /></a>'. '<a href="'.$img_href.'">%2$s</a></p>'. $action. '</div>'; if (!preg_match('/TN__[.]\w+$/',$k)) { # Thumbnail ? if (($tn_url = $imgM->getThumb($k)) !== false) { echo $imgM->listImg($k,$v,$img_link_tn); } else { echo $imgM->listImg($k,$v,$img_link); } } } } # Formulaire if ($imgM->isWritable()) { echo '<form enctype="multipart/form-data" action="'.$pscript.'" method="post">'. '<fieldset class="clear"><legend>'.__('Upload an image').'</legend>'. '<p><label for="up_img">'. sprintf(__('Choose a file (max size %s)'),files::size(dc_upload_size)).'&nbsp;: </label>'. '<input name="up_img" id="up_img" type="file" />'. '<input type="hidden" name="MAX_FILE_SIZE" value="'.dc_upload_size.'" />'. '<input type="hidden" name="mode" value="'.$mode.'" />'. '<input type="hidden" name="p" value="'.$p.'" />'. dcNonce::form(). '&nbsp;<input class="submit" type="submit" value="'.__('send').'" /></p>'. '</fieldset>'. '</form>'; echo '<form action="'.$pscript.'" method="post">'. '<fieldset><legend>'.__('New directory').'</legend>'. '<p><label for="new_dir">'.__('Name').' : </label>'. form::field('new_dir',20,255,''). '<input type="hidden" name="mode" value="'.$mode.'" />'. '<input type="hidden" name="p" value="'.$p.'" />'. dcNonce::form(). '&nbsp;<input class="submit" type="submit" value="'.__('save').'" /></p>'. '</fieldset>'. '</form>'; } if ($mode == 'popup') { closePopup(); } else { closePage(); } ?>
/** \file ghost/intern/GHOST_ModifierKeys.cpp * \ingroup GHOST */ #include "GHOST_ModifierKeys.h" GHOST_ModifierKeys::GHOST_ModifierKeys() { clear(); } GHOST_ModifierKeys::~GHOST_ModifierKeys() {} GHOST_TKey GHOST_ModifierKeys::getModifierKeyCode(<API key> mask) { GHOST_TKey key; switch (mask) { case <API key>: key = GHOST_kKeyLeftShift; break; case <API key>: key = <API key>; break; case <API key>: key = GHOST_kKeyLeftAlt; break; case <API key>: key = GHOST_kKeyRightAlt; break; case <API key>: key = <API key>; break; case <API key>: key = <API key>; break; case <API key>: key = GHOST_kKeyOS; break; default: // Should not happen key = GHOST_kKeyUnknown; break; } return key; } bool GHOST_ModifierKeys::get(<API key> mask) const { switch (mask) { case <API key>: return m_LeftShift; case <API key>: return m_RightShift; case <API key>: return m_LeftAlt; case <API key>: return m_RightAlt; case <API key>: return m_LeftControl; case <API key>: return m_RightControl; case <API key>: return m_OS; default: return false; } } void GHOST_ModifierKeys::set(<API key> mask, bool down) { switch (mask) { case <API key>: m_LeftShift = down; break; case <API key>: m_RightShift = down; break; case <API key>: m_LeftAlt = down; break; case <API key>: m_RightAlt = down; break; case <API key>: m_LeftControl = down; break; case <API key>: m_RightControl = down; break; case <API key>: m_OS = down; break; default: break; } } void GHOST_ModifierKeys::clear() { m_LeftShift = false; m_RightShift = false; m_LeftAlt = false; m_RightAlt = false; m_LeftControl = false; m_RightControl = false; m_OS = false; } bool GHOST_ModifierKeys::equals(const GHOST_ModifierKeys& keys) const { return (m_LeftShift == keys.m_LeftShift) && (m_RightShift == keys.m_RightShift) && (m_LeftAlt == keys.m_LeftAlt) && (m_RightAlt == keys.m_RightAlt) && (m_LeftControl == keys.m_LeftControl) && (m_RightControl == keys.m_RightControl) && (m_OS == keys.m_OS); }
/* 2 column liquid layout */ #wpwrap { height: auto; min-height: 100%; width: 100%; position: relative; -<API key>: <API key>; } #wpcontent { height: 100%; padding-right: 20px; } #wpcontent, #wpfooter { margin-right: 160px; } .folded #wpcontent, .folded #wpfooter { margin-right: 36px; } #wpbody-content { padding-bottom: 65px; float: right; width: 100%; overflow: visible !important; } /* inner 2 column liquid layout */ .inner-sidebar { float: left; clear: left; display: none; width: 281px; position: relative; } .columns-2 .inner-sidebar { margin-left: auto; width: 286px; display: block; } .inner-sidebar #side-sortables, .columns-2 .inner-sidebar #side-sortables { min-height: 300px; width: 280px; padding: 0; } .has-right-sidebar .inner-sidebar { display: block; } .has-right-sidebar #post-body { float: right; clear: right; width: 100%; margin-left: -2000px; } .has-right-sidebar #post-body-content { margin-left: 300px; float: none; width: auto; } /* 2 columns main area */ #col-container, #col-left, #col-right { overflow: hidden; padding: 0; margin: 0; } #col-left { width: 35%; } #col-right { float: left; clear: left; width: 65%; } .col-wrap { padding: 0 7px; } /* utility classes */ .alignleft { float: right; } .alignright { float: left; } .textleft { text-align: right; } .textright { text-align: left; } .clear { clear: both; } /* modern clearfix */ .wp-clearfix:after { content: ""; display: table; clear: both; } /* Hide visually but not from screen readers */ .screen-reader-text, .screen-reader-text span, .<API key> { position: absolute; margin: -1px; padding: 0; height: 1px; width: 1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; word-wrap: normal !important; /* many screen reader and browser combinations announce broken words as they would appear visually */ } .<API key> { position: absolute; top: -1000em; } .<API key>:focus { right: 6px; top: -25px; height: auto; width: auto; display: block; font-size: 14px; font-weight: 600; padding: 15px 23px 14px; background: #f1f1f1; color: #0073aa; z-index: 100000; line-height: normal; -webkit-box-shadow: 0 0 2px 2px rgba(0,0,0,.6); box-shadow: 0 0 2px 2px rgba(0,0,0,.6); text-decoration: none; outline: none; } .hidden, .js .closed .inside, .js .hide-if-js, .no-js .hide-if-no-js, .js.wp-core-ui .hide-if-js, .js .wp-core-ui .hide-if-js, .no-js.wp-core-ui .hide-if-no-js, .no-js .wp-core-ui .hide-if-no-js { display: none; } /* @todo: Take a second look. Large chunks of shared color, from the colors.css merge */ .widget-top, .menu-item-handle, .widget-inside, #<API key> .accordion-container, #menu-management .menu-edit, .manage-menus, table.widefat, .stuffbox, p.popular-tags, .widgets-holder-wrap, .wp-editor-container, .popular-tags, .feature-filter, .imgedit-group, .comment-ays { border: 1px solid #e5e5e5; -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04); box-shadow: 0 1px 1px rgba(0,0,0,0.04); } table.widefat, .wp-editor-container, .stuffbox, p.popular-tags, .widgets-holder-wrap, .popular-tags, .feature-filter, .imgedit-group, .comment-ays { background: #fff; } /* general */ html, body { height: 100%; margin: 0; padding: 0; } html { background: #f1f1f1; } body { color: #444; font-family: "Open Sans", sans-serif; font-size: 13px; line-height: 1.4em; min-width: 600px; } body.iframe { min-width: 0; padding-top: 1px; } body.modal-open { overflow: hidden; } body.mobile.modal-open #wpwrap { overflow: hidden; position: fixed; height: 100%; } iframe, img { border: 0; } td { font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; } a { color: #0073aa; -<API key>: border, background, color; transition-property: border, background, color; -<API key>: .05s; transition-duration: .05s; -<API key>: ease-in-out; <API key>: ease-in-out; } a, div { outline: 0; } a:hover, a:active { color: #00a0d2; } a:focus, a:focus .media-icon img, .wp-person a:focus .gravatar { color: #124964; -webkit-box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); } .ie8 a:focus { outline: #5b9dd9 solid 1px; } #adminmenu a:focus, .screen-reader-text:focus { -webkit-box-shadow: none; box-shadow: none; outline: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ""; content: none; } p { font-size: 13px; line-height: 1.5; margin: 1em 0; } blockquote { margin: 1em; } li, dd { margin-bottom: 6px; } h1, h2, h3, h4, h5, h6 { display: block; font-weight: 600; } h1 { color: #23282d; font-size: 2em; margin: .67em 0; } h2, h3 { color: #23282d; font-size: 1.3em; margin: 1em 0; } .update-core-php h2 { margin-top: 2em; } .update-php h2, .update-messages h2, h4 { font-size: 1em; margin: 1.33em 0; } h5 { font-size: 0.83em; margin: 1.67em 0; } h6 { font-size: 0.67em; margin: 2.33em 0; } ul, ol { padding: 0; } ul { list-style: none; } ol { list-style-type: decimal; margin-right: 2em; } ul.ul-disc { list-style: disc outside; } ul.ul-square { list-style: square outside; } ol.ol-decimal { list-style: decimal outside; } ul.ul-disc, ul.ul-square, ol.ol-decimal { margin-right: 1.8em; } ul.ul-disc > li, ul.ul-square > li, ol.ol-decimal > li { margin: 0 0 0.5em; } /* rtl:ignore */ .ltr { direction: ltr; } /* rtl:ignore */ .code, code { font-family: Consolas, Monaco, monospace; direction: ltr; unicode-bidi: embed; } kbd, code { padding: 3px 5px 2px 5px; margin: 0 1px; background: #eaeaea; background: rgba(0,0,0,0.07); font-size: 13px; } .subsubsub { list-style: none; margin: 8px 0 0; padding: 0; font-size: 13px; float: right; color: #666; } .subsubsub a { line-height: 2; padding: .2em; text-decoration: none; } .subsubsub a .count, .subsubsub a.current .count { color: #555d66; /* #f1f1f1 background */ font-weight: normal; } .subsubsub a.current { font-weight: 600; border: none; } .subsubsub li { display: inline-block; margin: 0; padding: 0; white-space: nowrap; } /* .widefat - main style for tables */ .widefat { border-spacing: 0; width: 100%; clear: both; margin: 0; } .widefat * { word-wrap: break-word; } .widefat a { text-decoration: none; } .widefat td, .widefat th { padding: 8px 10px; } .widefat thead th, .widefat thead td { border-bottom: 1px solid #e1e1e1; } .widefat tfoot th, .widefat tfoot td { border-top: 1px solid #e1e1e1; border-bottom: none; } .widefat .no-items td { border-bottom-width: 0; } .widefat td { vertical-align: top; } .widefat td, .widefat td p, .widefat td ol, .widefat td ul { font-size: 13px; line-height: 1.5em; } .widefat th, .widefat thead td, .widefat tfoot td { text-align: right; line-height: 1.3em; font-size: 14px; } .widefat th input, .updates-table td input, .widefat thead td input, .widefat tfoot td input { margin: 0 8px 0 0; padding: 0; vertical-align: text-top; } .widefat .check-column { width: 2.2em; padding: 6px 0 25px; vertical-align: top; } .widefat tbody th.check-column { padding: 9px 0 22px; } .widefat thead td.check-column, .widefat tbody th.check-column, .updates-table tbody td.check-column, .widefat tfoot td.check-column { padding: 11px 3px 0 0; } .widefat thead td.check-column, .widefat tfoot td.check-column { padding-top: 4px; vertical-align: middle; } .update-php div.updated, .update-php div.error { margin-right: 0; } .no-js .widefat thead .check-column input, .no-js .widefat tfoot .check-column input { display: none; } .widefat .num, .column-comments, .column-links, .column-posts { text-align: center; } .widefat th#comments { vertical-align: middle; } .wrap { margin: 10px 2px 0 20px; } .wrap > h2:first-child, /* Back-compat for pre-4.4 */ .wrap [class$="icon32"] + h2, /* Back-compat for pre-4.4 */ .postbox .inside h2, /* Back-compat for pre-4.4 */ .wrap h1 { font-size: 23px; font-weight: 400; margin: 0; padding: 9px 0 4px 15px; line-height: 29px; } .subtitle { margin: 0; padding-right: 25px; color: #555d66; font-size: 14px; font-weight: normal; } .wrap .add-new-h2, /* deprecated */ .wrap .add-new-h2:active, /* deprecated */ .wrap .page-title-action, .wrap .page-title-action:active { margin-right: 4px; padding: 4px 8px; position: relative; top: -3px; text-decoration: none; border: none; border: 1px solid #ccc; -<API key>: 2px; border-radius: 2px; background: #f7f7f7; text-shadow: none; font-weight: 600; font-size: 13px; } .wrap .add-new-h2:hover, /* deprecated */ .wrap .page-title-action:hover { border-color: #008EC2; background: #00a0d2; color: #fff; } .wrap .page-title-action:focus { border-color: #5b9dd9; -webkit-box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 ); box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 ); } .wrap h1.long-header { padding-left: 0; } .wp-dialog { background-color: #fff; } .widgets-chooser ul, #widgets-left .widget-in-question .widget-top, #available-widgets .widget-top:hover, div#widgets-right .widget-top:hover, #widgets-left .widget-top:hover { border-color: #999; -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.1); box-shadow: 0 1px 2px rgba(0,0,0,0.1); } .sorthelper { background-color: #ccf3fa; } .ac_match, .subsubsub a.current { color: #000; } .striped > tbody > :nth-child(odd), ul.striped > :nth-child(odd), .alternate { background-color: #f9f9f9; } .bar { background-color: #e8e8e8; border-left-color: #99d; } /* Helper classes for plugins to leverage the active WordPress color scheme */ .highlight { background-color: #e4f2fd; color: #000; } .wp-ui-primary { color: #fff; background-color: #32373c; } .wp-ui-text-primary { color: #32373c; } .wp-ui-highlight { color: white; background-color: #1e8cbe; } .<API key> { color: #1e8cbe; } .wp-ui-notification { color: #fff; background-color: #d54e21; } .<API key> { color: #d54e21; } .wp-ui-text-icon { color: #82878c; /* same as new icons */ } /* For emoji replacement images */ img.emoji { display: inline !important; border: none !important; height: 1em !important; width: 1em !important; margin: 0 .07em !important; vertical-align: -0.1em !important; background: none !important; padding: 0 !important; -webkit-box-shadow: none !important; box-shadow: none !important; } .widget .widget-top, .postbox .hndle, .stuffbox .hndle, .control-section .<API key>, .sidebar-name, #nav-menu-header, #nav-menu-footer, .menu-item-handle, .checkbox, .side-info, #your-profile #rich_editing, .widefat thead th, .widefat thead td, .widefat tfoot th, .widefat tfoot td { line-height: 1.4em; } .widget .widget-top, .menu-item-handle { background: #fafafa; color: #23282d; } .postbox .hndle, .stuffbox .hndle { border-bottom: 1px solid #eee; } .quicktags, .search { background-color: #ccc; color: #000; font-size: 12px; } .icon32 { display: none; } /* @todo can we combine these into a class or use an existing dashicon one? */ .welcome-panel .welcome-panel-close:before, .tagchecklist span a:before, #bulk-titles div a:before, .notice-dismiss:before { background: none; color: #b4b9be; content: "\f153"; display: block; font: normal 16px/20px dashicons; speak: none; height: 20px; text-align: center; width: 20px; -<API key>: antialiased; -<API key>: grayscale; } .welcome-panel .welcome-panel-close:before { margin: 0; } .tagchecklist span a:before, #bulk-titles div a:before { margin: 1px 0; } .welcome-panel .welcome-panel-close:hover:before, .welcome-panel .welcome-panel-close:focus:before, .tagchecklist span a:hover:before, #bulk-titles div a:hover:before { color: #c00; } .key-labels label { line-height: 24px; } strong, b { font-weight: 600; } .pre { white-space: pre-wrap; /* css-3 */ word-wrap: break-word; /* IE 5.5 - 7 */ } .howto { color: #666; font-style: italic; display: block; } p.install-help { margin: 8px 0; font-style: italic; } .no-break { white-space: nowrap; } hr { border: 0; border-top: 1px solid #ddd; border-bottom: 1px solid #fafafa; } .row-actions span.delete a, .row-actions span.trash a, .row-actions span.spam a, .plugins a.delete, #all-plugins-table .plugins a.delete, #<API key> .plugins a.delete, .submitbox .submitdelete, #media-items a.delete, #media-items a.delete-permanently, #nav-menu-footer .menu-delete { color: #a00; } abbr.required, span.required, .file-error, .<API key>:hover, .row-actions .delete a:hover, .row-actions .trash a:hover, .row-actions .spam a:hover, .plugins a.delete:hover, #all-plugins-table .plugins a.delete:hover, #<API key> .plugins a.delete:hover, .submitbox .submitdelete:hover, #media-items a.delete:hover, #media-items a.delete-permanently:hover, #nav-menu-footer .menu-delete:hover { color: #f00; text-decoration: none; border: none; } #<API key> { padding: 10px; clear: both; border-top: 1px solid #ddd; background: #f5f5f5; } #delete-action { line-height: 28px; vertical-align: middle; text-align: right; float: right; } #publishing-action { text-align: left; float: left; line-height: 23px; } #publishing-action .spinner { float: right; } #<API key> { padding: 6px 0 0; } .misc-pub-section { padding: 6px 10px 8px; } .misc-pub-filename { word-wrap: break-word; } #<API key> { padding: 10px 10px 0 10px; text-align: left; } #save-post { float: right; } .preview { float: left; } #sticky-span { margin-right: 18px; } .approve, .unapproved .unapprove { display: none; } .unapproved .approve, .spam .approve, .trash .approve { display: inline; } td.action-links, th.action-links { text-align: left; } /* Filter bar */ .wp-filter { display: inline-block; position: relative; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 12px 0 25px; padding: 0 10px; width: 100%; -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04); box-shadow: 0 1px 1px rgba(0,0,0,0.04); border: 1px solid #e5e5e5; background: #fff; color: #555; font-size: 13px; } .wp-filter a { text-decoration: none; } .filter-count { display: inline-block; vertical-align: middle; min-width: 4em; } .title-count, .filter-count .count { display: inline-block; position: relative; top: -1px; padding: 4px 10px; -<API key>: 30px; border-radius: 30px; background: #72777c; color: #fff; font-size: 14px; font-weight: 600; } /* not a part of filter bar, but derived from it, so here for now */ .title-count { display: inline; top: -3px; margin-right: 5px; margin-left: 20px; } .filter-items { float: right; } .filter-links { display: inline-block; margin: 0; } .filter-links li { display: inline-block; margin: 0; } .filter-links li > a { display: inline-block; margin: 0 10px; padding: 15px 0; border-bottom: 4px solid #fff; color: #666; cursor: pointer; } .filter-links .current { -webkit-box-shadow: none; box-shadow: none; border-bottom: 4px solid #666; color: #23282d; } .filter-links li > a:hover, .filter-links li > a:focus, .show-filters .filter-links a.current:hover, .show-filters .filter-links a.current:focus { color: #00a0d2; } .wp-filter .search-form { float: left; margin: 10px 0; } .wp-filter .search-form input[type="search"] { margin: 0; padding: 3px 5px; width: 280px; max-width: 100%; font-size: 16px; font-weight: 300; line-height: 1.5; } .wp-filter .search-form select { margin: 0; height: 32px; vertical-align: top; } .wp-filter .search-form.search-plugins { display: inline-block; } .wp-filter .drawer-toggle { display: inline-block; margin: 0 10px; padding: 4px 6px; color: #666; cursor: pointer; } .wp-filter .drawer-toggle:before { display: inline-block; vertical-align: top; content: "\f111"; margin: 0 0 0 5px; width: 16px; height: 16px; color: #72777c; -webkit-transition: color .1s ease-in 0; transition: color .1s ease-in 0; font-family: dashicons; font-size: 16px; line-height: 1; text-align: center; text-decoration: inherit; font-weight: normal; font-style: normal; -<API key>: antialiased; } .wp-filter .drawer-toggle:hover, .wp-filter .drawer-toggle:hover:before { color: #00a0d2; } .wp-filter .drawer-toggle.current:before { color: #fff; } .wp-filter .favorites-form { display: none; margin: 0 -20px; padding: 20px; border-top: 1px solid #eee; background: #fafafa; overflow: hidden; width: 100%; } .show-favorites-form .wp-filter .favorites-form { display: block; } .filter-drawer { display: none; margin: 0 -20px; padding: 20px; border-top: 1px solid #eee; background: #fafafa; } .show-filters .filter-drawer { display: block; overflow: hidden; width: 100%; } .show-filters .wp-filter .drawer-toggle:hover, .show-filters .wp-filter .drawer-toggle:focus { background: rgb(46, 162, 204); } .show-filters .filter-links a.current { border-bottom: none; } .show-filters .wp-filter .drawer-toggle { -<API key>: 2px; border-radius: 2px; border: none; background: #72777c; color: #fff; } .show-filters .wp-filter .drawer-toggle:before { color: #fff; } .filter-group { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; position: relative; float: right; margin: 0 0 0 1%; padding: 20px 10px 10px; width: 24%; background: #fff; border: 1px solid #e5e5e5; -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04); box-shadow: 0 1px 1px rgba(0,0,0,0.04); } .filter-group legend { position: absolute; top: 10px; display: block; margin: 0; padding: 0; font-size: 1em; font-weight: 600; } .filter-drawer .<API key> { margin: 28px 0 0; list-style-type: none; font-size: 12px; } .filter-drawer .<API key> input, .filter-drawer .<API key> label { display: inline-block; margin: 7px 0 7px 4px; line-height: 16px; } .filter-drawer .buttons { margin-bottom: 20px; } .filter-drawer .buttons .button span { display: inline-block; opacity: 0.8; font-size: 12px; text-indent: 10px; } .wp-filter .button.clear-filters { display: none; margin-right: 10px; } .filtered-by { display: none; margin: 0; } .filtered-by > span { font-weight: 600; } .filtered-by a { margin-right: 10px; } .filtered-by .tags { display: inline; } .filtered-by .tag { margin: 0 5px; padding: 4px 8px; border: 1px solid #e5e5e5; -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04); box-shadow: 0 1px 1px rgba(0,0,0,0.04); background: #fff; font-size: 11px; } .filters-applied .filter-group, .filters-applied .filter-drawer .buttons, .filters-applied .filter-drawer br { display: none !important; } .filters-applied .filtered-by { display: block; } .filters-applied .filter-drawer { padding: 20px; } .show-filters .content-filterable, .show-filters.filters-applied.loading-content .content-filterable, .loading-content .content-filterable, .error .content-filterable { display: none; } .show-filters.filters-applied .content-filterable { display: block; } .loading-content .spinner { display: block; margin: 40px auto 0; float: none; } @media only screen and (max-width: 1120px) { .filter-drawer { border-bottom: 1px solid #eee; } .filter-group { margin-bottom: 0; margin-top: 5px; width: 100%; } .filter-group li { margin: 10px 0; } } @media only screen and (max-width: 1000px) { .filter-items { float: none; } .wp-filter .<API key>, .wp-filter .<API key>, .wp-filter .search-form { float: none; /* Remove float from media-views.css */ position: relative; max-width: 100%; } } @media only screen and (max-width: 782px) { .filter-group li { padding: 0; width: 50%; } } @media only screen and (max-width: 320px) { .filter-count { display: none; } .wp-filter .drawer-toggle { margin: 10px 0; } .filter-group li, .wp-filter .search-form input[type="search"] { width: 100%; } } .notice, div.updated, div.error { background: #fff; border-right: 4px solid #fff; -webkit-box-shadow: 0 1px 1px 0 rgba( 0, 0, 0, 0.1 ); box-shadow: 0 1px 1px 0 rgba( 0, 0, 0, 0.1 ); margin: 5px 15px 2px; padding: 1px 12px; } .notice p, .notice-title, div.updated p, div.error p, .form-table td .notice p { margin: 0.5em 0; padding: 2px; } .error a { text-decoration: underline; } .updated a { padding-bottom: 2px; } .notice-alt { -webkit-box-shadow: none; box-shadow: none; } .notice-large { padding: 10px 20px; } .notice-title { display: inline-block; color: #23282d; font-size: 18px; } .wp-core-ui .notice.is-dismissible { padding-left: 38px; position: relative; } .notice-dismiss { position: absolute; top: 0; left: 1px; border: none; margin: 0; padding: 9px; background: none; color: #b4b9be; cursor: pointer; } .notice-dismiss:hover:before, .notice-dismiss:active:before, .notice-dismiss:focus:before { color: #c00; } .notice-dismiss:focus { outline: none; -webkit-box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); } .ie8 .notice-dismiss:focus { outline: 1px solid #5b9dd9; } .notice-success, div.updated { border-right-color: #46b450; } .notice-success.notice-alt { background-color: #ecf7ed; } .notice-warning { border-right-color: #ffb900; } .notice-warning.notice-alt { background-color: #fff8e5; } .notice-error, div.error { border-right-color: #dc3232; } .notice-error.notice-alt { background-color: #fbeaea; } .notice-info { border-right-color: #00a0d2; } .notice-info.notice-alt { background-color: #e5f5fa; } .wrap .notice, .wrap div.updated, .wrap div.error, .media-upload-form .notice, .media-upload-form div.error { margin: 5px 0 15px; } #update-nag, .update-nag { display: inline-block; line-height: 19px; padding: 11px 15px; font-size: 14px; text-align: right; margin: 25px 2px 0 20px; background-color: #fff; border-right: 4px solid #ffba00; -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); } .update-message { color: #000; } ul#dismissed-updates { display: none; } form.upgrade { margin-top: 8px; } form.upgrade .hint { font-style: italic; font-size: 85%; margin: -0.5em 0 2em 0; } .update-php .spinner { float: none; margin: -4px 0; } #ajax-loading, .ajax-loading, .ajax-feedback, .imgedit-wait-spin, .list-ajax-loading { /* deprecated */ visibility: hidden; } #ajax-response.alignleft { margin-right: 2em; } /* @todo: this does not need its own section anymore */ #adminmenu a, #taglist a, #catlist a { text-decoration: none; } #screen-options-wrap, #<API key> { margin: 0; padding: 8px 20px 12px; position: relative; } #<API key> { overflow: auto; margin-right: 0 !important; } #screen-meta .screen-reader-text { visibility: hidden; } #screen-meta-links { margin: 0 0 0 20px; } /* screen options and help tabs revert */ #screen-meta { display: none; margin: 0 0px -1px 20px; position: relative; background-color: #fff; border: 1px solid #ddd; border-top: none; -webkit-box-shadow: 0 1px 0 rgba(0,0,0,.025); box-shadow: 0 1px 0 rgba(0,0,0,.025); } #<API key>, #<API key> { float: left; height: 28px; margin: 0 6px 0 0; border: 1px solid #ddd; border-top: none; background: #fff; -webkit-box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1); box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1); } #screen-meta-links .screen-meta-toggle { position: relative; top: 0; } #screen-meta-links .show-settings { border: 0; background: none; -<API key>: 0; border-radius: 0; color: #72777c; line-height: 1.7; padding: 3px 16px 3px 6px; } #screen-meta-links .show-settings:hover, #screen-meta-links .show-settings:active, #screen-meta-links .show-settings:focus { color: #32373c; } #screen-meta-links .show-settings:active { -webkit-box-shadow: none; box-shadow: none; -webkit-transform: none; -ms-transform: none; transform: none; } #screen-meta-links .show-settings:after { left: 0; content: "\f140"; font: normal 20px/1 dashicons; speak: none; display: inline-block; padding: 0 0 0 5px; bottom: 2px; position: relative; vertical-align: bottom; -<API key>: antialiased; -<API key>: grayscale; text-decoration: none !important; color: #72777c; } #screen-meta-links .screen-meta-active:after { content: "\f142"; } /* end screen options and help tabs */ .toggle-arrow { background-repeat: no-repeat; background-position: top left; background-color: transparent; height: 22px; line-height: 22px; display: block; } .toggle-arrow-active { background-position: bottom left; } #screen-options-wrap h5, /* Back-compat for old plugins */ #screen-options-wrap legend, #<API key> h5 { margin: 0; padding: 8px 0; font-size: 13px; font-weight: 600; } .ie8 #screen-options-wrap legend { color: inherit; } .metabox-prefs label { display: inline-block; padding-left: 15px; line-height: 30px; } #number-of-columns { display: inline-block; vertical-align: middle; line-height: 30px; } .metabox-prefs input[type=checkbox] { margin-top: 0; margin-left: 6px; } .metabox-prefs label input, .metabox-prefs label input[type=checkbox] { margin: -4px 0 0 5px; } .metabox-prefs .columns-prefs label input { margin: -1px 0 0 2px; } .metabox-prefs label a { display: none; } .metabox-prefs .screen-options input, .metabox-prefs .screen-options label { margin-top: 0; margin-bottom: 0; vertical-align: middle; } .metabox-prefs .screen-options .screen-per-page { margin-left: 15px; } .metabox-prefs .screen-options label { line-height: 28px; padding-left: 0; } .screen-options + .screen-options { margin-top: 10px; } .metabox-prefs .submit { margin-top: 1em; padding: 0; } #<API key> { padding: 0; } #<API key> { position: relative; } #<API key> { position: absolute; top: 0; bottom: 0; right: 150px; left: 170px; border: 1px solid #e1e1e1; border-top: none; border-bottom: none; background: #f6fbfd; } #<API key>.no-sidebar #<API key> { left: 0; border-left-width: 0; -<API key>: 2px; <API key>: 2px; } .<API key> { float: right; width: 150px; margin: 0; } .<API key> ul { margin: 1em 0; } .<API key> li { margin-bottom: 0; list-style-type: none; border-style: solid; border-width: 0 2px 0 0; border-color: transparent; } .<API key> a { display: block; padding: 5px 12px 5px 5px; line-height: 18px; text-decoration: none; border: 1px solid transparent; border-left: none; border-right: none; } .<API key> a:hover { color: #32373c; } .<API key> .active { padding: 0; margin: 0 0 0 -1px; border-right: 2px solid #00a0d2; background: #f6fbfd; -webkit-box-shadow: 0 2px 0 rgba(0,0,0,0.02), 0 1px 0 rgba(0,0,0,0.02); box-shadow: 0 2px 0 rgba(0,0,0,0.02), 0 1px 0 rgba(0,0,0,0.02); } .<API key> .active a { border-color: #e1e1e1; color: #32373c; } .<API key> { padding: 0 20px; overflow: auto; } .help-tab-content { display: none; margin: 0 0 12px 22px; line-height: 1.6em; } .help-tab-content.active { display: block; } .help-tab-content ul li { list-style-type: disc; margin-right: 18px; } .<API key> { width: 150px; float: left; padding: 0 12px 0 8px; overflow: auto; } html.wp-toolbar { padding-top: 32px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .widefat th, .widefat td { color: #555; } .widefat th, .widefat thead td, .widefat tfoot td { font-weight: normal; } .widefat thead tr th, .widefat thead tr td, .widefat tfoot tr th, .widefat tfoot tr td { color: #32373c; } .widefat td p { margin: 2px 0 0.8em; } .widefat p, .widefat ol, .widefat ul { color: #32373c; } .widefat .column-comment p { margin: 0.6em 0; } /* Screens with postboxes */ .postbox-container { float: right; } .postbox-container .meta-box-sortables { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } #wpbody-content .metabox-holder { padding-top: 10px; } .metabox-holder .postbox-container .empty-container { border: 3px dashed #b4b9be; height: 250px; position: relative; } .metabox-holder .postbox-container .empty-container:after { content: attr(data-emptystring); margin: auto; position: absolute; top: 0; right: 0; bottom: 0; left: 0; height: 1em; width: 200px; text-align: center; color: #ccc; font-size:18px; display: none; } .metabox-holder.columns-1 .postbox-container .empty-container, .columns-2 #postbox-container-3 .empty-container, .columns-2 #postbox-container-4 .empty-container, .columns-3 #postbox-container-4 .empty-container { border: 0 none; height: 0; min-height: 0; } #post-body-content { width: 100%; min-width: 463px; float: right; } #post-body.columns-2 #postbox-container-1 { float: left; margin-left: -300px; width: 280px; } #post-body.columns-2 #side-sortables { min-height: 250px; } /* one column on the dash */ @media only screen and (max-width: 799px) { #wpbody-content .metabox-holder .postbox-container .empty-container { border: 0 none; height: 0; min-height: 0; } } .js .widget .widget-top, .js .postbox .hndle { cursor: move; } .hndle a { font-size: 11px; font-weight: normal; } .postbox .handlediv { display: none; float: left; width: 36px; height: 36px; padding: 0; } .js .postbox .handlediv { display: block; } .<API key> { border: 1px dashed #b4b9be; margin-bottom: 20px; } .postbox, .stuffbox { margin-bottom: 20px; padding: 0; line-height: 1; } /* user-select is not a part of the CSS standard - may change behavior in the future */ .postbox .hndle, .stuffbox .hndle { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .postbox .inside, .stuffbox .inside { padding: 0 12px 12px; line-height: 1.4em; font-size: 13px; } .postbox .inside { margin: 11px 0; position: relative; } .postbox .inside > p:last-child, .rss-widget ul li:last-child { margin-bottom: 1px !important; } .postbox.closed h3 { border: none; -webkit-box-shadow: none; box-shadow: none; } .postbox table.form-table { margin-bottom: 0; } .postbox table.widefat { -webkit-box-shadow: none; box-shadow: none; } .temp-border { border: 1px dotted #ccc; } .columns-prefs label { padding: 0 0 0 10px; } /* @todo: what is this doing here */ #dashboard_right_now .versions .b, #post-status-display, #<API key>, #adminmenu .wp-submenu li.current, #adminmenu .wp-submenu li.current a, #adminmenu .wp-submenu li.current a:hover, .media-item .percent, .plugins .name, #<API key>.strong, #<API key>.short, #ed_reply_toolbar #ed_reply_strong, .item-controls .item-order a, .feature-filter .feature-name { font-weight: 600; } #wpfooter { position: absolute; bottom: 0; right: 0; left: 0; padding: 10px 20px; color: #555d66; } #wpfooter p { font-size: 13px; margin: 0; line-height: 20px; } #footer-thankyou { font-style: italic; } #wpfooter a { text-decoration: none; } #wpfooter a:hover { text-decoration: underline; } .nav-tab { float: right; border: 1px solid #ccc; border-bottom: none; margin-right: 0.5em; /* half the font size so set the font size properly */ padding: 5px 10px; font-size: 14px; line-height: 24px; font-weight: 600; background: #e5e5e5; color: #555; text-decoration: none; white-space: nowrap; } h3 .nav-tab, /* Back-compat for pre-4.4 */ .nav-tab-small .nav-tab { padding: 5px 14px; font-size: 12px; line-height: 16px; } .nav-tab:hover, .nav-tab:focus { background-color: #fff; color: #444; } .nav-tab-active, .nav-tab:focus:active { -webkit-box-shadow: none; box-shadow: none; } .nav-tab-active { margin-bottom: -1px; color: #444; } .nav-tab-active, .nav-tab-active:hover, .nav-tab-active:focus, .nav-tab-active:focus:active { border-bottom: 1px solid #f1f1f1; background: #f1f1f1; color: #000; } h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */ .wrap h2.nav-tab-wrapper, /* higher specificity to override .wrap > h2:first-child */ h3.nav-tab-wrapper { border-bottom: 1px solid #ccc; margin: 0; padding-top: 9px; padding-bottom: 0; line-height: inherit; } /* Back-compat for plugins. Deprecated. Use .wp-clearfix instead. */ .nav-tab-wrapper:not(.wp-clearfix):after { content: ""; display: table; clear: both; } .ie8 .nav-tab-wrapper { /* contain floats establishing a new block formatting context */ display: inline-block; width: 100%; vertical-align: top; } .spinner { background: url(../images/spinner.gif) no-repeat; -<API key>: 20px 20px; background-size: 20px 20px; display: inline-block; visibility: hidden; float: left; vertical-align: middle; opacity: 0.7; filter: alpha(opacity=70); width: 20px; height: 20px; margin: 4px 10px 0; } .spinner.is-active { visibility: visible; } #template div { margin-left: 190px; } .metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */ .metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */ .metabox-holder h3.hndle, /* Back-compat for pre-4.4 */ .metabox-holder h2.hndle { font-size: 14px; padding: 8px 12px; margin: 0; line-height: 1.4; } /* Back-compat for nav-menus screen */ .nav-menus-php .metabox-holder h3 { padding: 10px 14px 11px 10px; line-height: 21px; } #templateside ul li a { text-decoration: none; } .plugin-install #description, .<API key> #description { width: 60%; } table .vers, table .column-visible, table .column-rating { text-align: right; } .attention, .error-message { color: red; font-weight: 600; } /* Scrollbar fix for bulk upgrade iframe */ body.iframe { height: 98%; } /* Upgrader styles, Specific to Language Packs */ .lp-show-latest p { display: none; } .lp-show-latest p:last-child, .lp-show-latest .lp-error p { display: block; } .media-icon { width: 62px; /* icon + border */ text-align: center; } .media-icon img { border: 1px solid #e5e5e5; border: 1px solid rgba(0, 0, 0, 0.07); } #howto { font-size: 11px; margin: 0 5px; display: block; } .importers td { padding-left: 14px; } .importers { font-size: 16px; width: auto; } #post-body #post-body-content #namediv h3, /* Back-compat for pre-4.4 */ #post-body #post-body-content #namediv h2 { margin-top: 0; } .edit-comment-author { font-size: 14px; line-height: 1.4; font-weight: 600; color: #222; margin: 2px 9px 0 0; } #namediv h3 label, /* Back-compat for pre-4.4 */ #namediv h2 label { vertical-align: baseline; } #namediv table { width: 100%; } #namediv td.first { width: 10px; white-space: nowrap; } #namediv input { width: 98%; } #namediv p { margin: 10px 0; } #submitdiv h3 { margin-bottom: 0 !important; } .zerosize { height: 0; width: 0; margin: 0; border: 0; padding: 0; overflow: hidden; position: absolute; } br.clear { height: 2px; line-height: 2px; } .checkbox { border: none; margin: 0; padding: 0; } fieldset { border: 0; padding: 0; margin: 0; } .post-categories { display: inline; margin: 0; padding: 0; } .post-categories li { display: inline; } /* Star Ratings - Back-compat for pre-3.8 */ div.star-holder { position: relative; height: 17px; width: 100px; background: url(../images/stars.png?ver=20121108) repeat-x bottom left; } div.star-holder .star-rating { background: url(../images/stars.png?ver=20121108) repeat-x top left; height: 17px; float: right; } /* Star Ratings */ .star-rating { white-space: nowrap; } .star-rating .star { display: inline-block; width: 20px; height: 20px; -<API key>: antialiased; font-size: 20px; line-height: 1; font-family: dashicons; text-decoration: inherit; font-weight: normal; font-style: normal; vertical-align: top; -webkit-transition: color .1s ease-in 0; transition: color .1s ease-in 0; text-align: center; color: #ffb900; } .star-rating .star-full:before { content: "\f155"; } .star-rating .star-half:before { content: "\f459"; } .rtl .star-rating .star-half { -webkit-transform: rotateY(180deg); -ms-transform: rotateY(180deg); transform: rotateY(180deg); } .star-rating .star-empty:before { content: "\f154"; } div.action-links { font-weight: normal; margin: 6px 0 0; } /* Plugin install thickbox */ #plugin-information { background: #fff; position: fixed; top: 0; left: 0; bottom: 0; right: 0; height: 100%; padding: 0; } #<API key> { overflow: auto; -<API key>: touch; height: 100%; } #<API key> { padding: 0 20px; background: #f5f5f5; font-size: 22px; font-weight: 600; line-height: 56px; position: relative; top: 0; left: 0; right: 0; height: 56px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } #<API key>.with-banner { margin-left: 0; height: 250px; bottom: 250px; -<API key>: cover; background-size: cover; } #<API key> h2 { font-size: 1em; font-weight: bold; padding: 0; margin: 0; max-width: 680px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } #<API key>.with-banner h2 { font-family: "Helvetica Neue", sans-serif; display: inline-block; font-size: 30px; line-height: 50px; padding: 0 15px; margin: 174px 10px 0 0; color: #fff; background: rgba( 30, 30, 30, 0.9 ); text-shadow: 0 1px 3px rgba( 0, 0, 0, 0.4 ); -webkit-box-shadow: 0 0 30px rgba( 255, 255, 255, 0.1 ); box-shadow: 0 0 30px rgba( 255, 255, 255, 0.1 ); -<API key>: 8px; border-radius: 8px; } #<API key> div.vignette { display: none; } #<API key>.with-banner div.vignette { display: block; float: left; top: 0; height: 250px; width: 772px; margin: 0 -20px; background: transparent; -webkit-box-shadow: inset 0 0 50px 4px rgba( 0, 0, 0, 0.2 ), inset 0 -1px 0 rgba( 0, 0, 0, 0.1 ); box-shadow: inset 0 0 50px 4px rgba( 0, 0, 0, 0.2 ), inset 0 -1px 0 rgba( 0, 0, 0, 0.1 ); } #<API key> { padding: 0 16px; position: relative; left: 0; right: 0; min-height: 36px; font-size: 0; z-index: 1; border-bottom: 1px solid #ddd; background: #f3f3f3; } #<API key> a { position: relative; display: inline-block; padding: 9px 10px; margin: 0; height: 18px; line-height: 18px; font-size: 14px; text-decoration: none; -webkit-transition: none; transition: none; } #<API key> a.current { margin: 0 -1px -1px; background: #fff; border: 1px solid #ddd; border-bottom-color: #fff; padding-top: 8px; color: #32373c; } #<API key>.with-banner a.current { border-top: none; padding-top: 9px; } #<API key> a:active, #<API key> a:focus { outline: none; } #<API key> { overflow: hidden; /* equal height column trick */ background: #fff; position: relative; top: 0; left: 0; right: 0; min-height: 100%; /* Height of title + tabs + install now */ min-height: -webkit-calc( 100% - 152px ); min-height: calc( 100% - 152px ); } #<API key>.with-banner { /* Height of banner + tabs + install now */ min-height: -webkit-calc( 100% - 346px ); min-height: calc( 100% - 346px ); } #section-holder { position: relative; top: 0; left: 250px; bottom: 0; right: 0; margin-left: 250px; /* FYI box */ padding: 10px 26px; margin-bottom: -99939px; /* 60px less than the padding below to accommodate footer */ padding-bottom: 99999px; /* equal height column trick */ } #section-holder .updated { margin: 16px 0; } #plugin-information .fyi { float: left; position: relative; top: 0; left: 0; padding: 16px; margin-bottom: -99939px; /* 60px less than the padding below to accommodate footer */ padding-bottom: 99999px; /* equal height column trick */ width: 217px; border-right: 1px solid #ddd; background: #f3f3f3; color: #666; } #plugin-information .fyi strong { color: #444; } #plugin-information .fyi h3 { font-weight: bold; text-transform: uppercase; font-size: 12px; color: #666; margin: 24px 0 8px; } #plugin-information .fyi h2 { font-size: 0.9em; margin-bottom: 0; margin-left: 0; } #plugin-information .fyi ul { padding: 0; margin: 0; list-style: none; } #plugin-information .fyi li { margin: 0 0 10px; } #plugin-information .fyi-description { margin-top: 0; } #plugin-information .counter-container { margin: 3px 0; } #plugin-information .counter-label { float: right; margin-left: 5px; min-width: 55px; } #plugin-information .counter-back { height: 17px; width: 92px; background-color: #e5e5e5; float: right; } #plugin-information .counter-bar { height: 17px; background-color: #ffc733; /* slightly lighter than stars due to larger expanse */ float: right; } #plugin-information .counter-count { margin-right: 5px; } #plugin-information .fyi ul.contributors { margin-top: 10px; } #plugin-information .fyi ul.contributors li { display: inline-block; margin-left: 8px; vertical-align: middle; } #plugin-information .fyi ul.contributors li { display: inline-block; margin-left: 8px; vertical-align: middle; } #plugin-information .fyi ul.contributors li img { vertical-align: middle; margin-left: 4px; } #<API key> { padding: 13px 16px; position: absolute; left: 0; bottom: 0; right: 0; height: 33px; /* 33+13+13+1=60 */ border-top: 1px solid #ddd; background: #f3f3f3; } /* rtl:ignore */ #plugin-information .section { direction: ltr; } /* rtl:ignore */ #plugin-information .section ul, #plugin-information .section ol { list-style-type: disc; margin-left: 24px; } #plugin-information .section, #plugin-information .section p { font-size: 14px; line-height: 1.7; } #plugin-information #section-screenshots ol { list-style: none; margin: 0; } #plugin-information #section-screenshots li img { vertical-align: text-top; margin-top: 16px; max-width: 100%; width: auto; height: auto; -webkit-box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.3 ); box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.3 ); } /* rtl:ignore */ #plugin-information #section-screenshots li p { font-style: italic; padding-left: 20px; } #plugin-information pre { padding: 7px; overflow: auto; border: 1px solid #ccc; } /* rtl:ignore */ #plugin-information .review { overflow: hidden; /* clearfix */ width: 100%; margin-bottom: 20px; border-bottom: 1px solid #e5e5e5; } #plugin-information .<API key> { overflow: hidden; /* clearfix */ } /* rtl:ignore */ #plugin-information .<API key> h4 { display: inline-block; float: left; margin: 0 6px 0 0; } #plugin-information .reviewer-info p { clear: both; margin: 0; padding-top: 2px; } /* rtl:ignore */ #plugin-information .reviewer-info .avatar { float: left; margin: 4px 6px 0 0; } /* rtl:ignore */ #plugin-information .reviewer-info .star-rating { float: left; } /* rtl:ignore */ #plugin-information .review-meta { float: left; margin-left: 0.75em; } /* rtl:ignore */ #plugin-information .review-body { float: left; width: 100%; } .<API key> { font-size: 13px; } @media screen and ( max-width: 771px ) { #<API key>.with-banner { height: 100px; bottom: 100px; } #<API key>.with-banner h2 { margin-top: 30px; font-size: 20px; line-height: 40px; max-width: 85%; } #<API key>.with-banner div.vignette { height: 100px; bottom: 100px; width: 800%; } #<API key> { overflow: hidden; /* clearfix */ padding: 0; height: auto; /* let tabs wrap */ } #<API key> a.current { margin-bottom: 0; border-bottom: none; } #plugin-information .fyi { float: none; border: 1px solid #ddd; position: static; width: auto; margin: 26px 26px 0; padding-bottom: 0; /* reset from the two column height fix */ } #section-holder { position: static; margin: 0; padding-bottom: 70px; /* reset from the two column height fix, plus accomodate footer */ } #plugin-information .fyi h3, #plugin-information .fyi small { display: none; } #<API key> { padding: 12px 16px 0; height: 46px; } } /* Thickbox for Plugin Install screen */ body.about-php #TB_window, body.plugin-install-php #TB_window, body.import-php #TB_window, body.plugins-php #TB_window, body.update-core-php #TB_window, body.index-php #TB_window { background: #fcfcfc; } /* IE 8 needs a change in the pseudo element content */ .ie8 body.about-php #TB_window:before, .ie8 body.plugin-install-php #TB_window:before, .ie8 body.import-php #TB_window:before, .ie8 body.plugins-php #TB_window:before, .ie8 body.update-core-php #TB_window:before, .ie8 body.index-php #TB_window:before { content: " "; background: none; } body.about-php #TB_window.thickbox-loading:before, body.plugin-install-php #TB_window.thickbox-loading:before, body.import-php #TB_window.thickbox-loading:before, body.plugins-php #TB_window.thickbox-loading:before, body.update-core-php #TB_window.thickbox-loading:before, body.index-php #TB_window.thickbox-loading:before { content: ""; display: block; width: 20px; height: 20px; position: absolute; right: 50%; top: 50%; z-index: -1; margin: -10px -10px 0 0; background: #fcfcfc url(../images/spinner.gif) no-repeat center; -<API key>: 20px 20px; background-size: 20px 20px; -webkit-transform: translateZ(0); transform: translateZ(0); } @media print, (-<API key>: 1.25), (min-resolution: 120dpi) { body.about-php #TB_window.thickbox-loading:before, body.plugin-install-php #TB_window.thickbox-loading:before, body.import-php #TB_window.thickbox-loading:before, body.plugins-php #TB_window.thickbox-loading:before, body.update-core-php #TB_window.thickbox-loading:before, body.index-php #TB_window.thickbox-loading:before { background-image: url(../images/spinner-2x.gif); } } body.about-php #TB_title, body.plugin-install-php #TB_title, body.import-php #TB_title, body.plugins-php #TB_title, body.update-core-php #TB_title, body.index-php #TB_title { float: right; height: 1px; } body.about-php #TB_ajaxWindowTitle, body.plugin-install-php #TB_ajaxWindowTitle, body.import-php #TB_ajaxWindowTitle, body.plugins-php #TB_ajaxWindowTitle, body.update-core-php #TB_ajaxWindowTitle, body.index-php #TB_ajaxWindowTitle { display: none; } /* only on these screens */ .about-php #<API key>, .plugin-install-php #<API key>, .import-php #<API key>, .plugins-php #<API key>, .update-core-php #<API key>, .index-php #<API key> { right: auto; left: -30px; color: #eee; } body.about-php #<API key>:hover, body.about-php #<API key>:focus, body.plugin-install-php #<API key>:hover, body.plugin-install-php #<API key>:focus, body.import-php #<API key>:hover, body.import-php #<API key>:focus, body.plugins-php #<API key>:hover, body.plugins-php #<API key>:focus, body.update-core-php #<API key>:hover, body.update-core-php #<API key>:focus, body.index-php #<API key>:hover, body.index-php #<API key>:focus { color: #00a0d2; outline: none; -webkit-box-shadow: none; box-shadow: none; } body.about-php .tb-close-icon, body.plugin-install-php .tb-close-icon, body.import-php .tb-close-icon, body.plugins-php .tb-close-icon, body.update-core-php .tb-close-icon, body.index-php .tb-close-icon { display: none; } body.about-php #<API key>:after, body.plugin-install-php #<API key>:after, body.import-php #<API key>:after, body.plugins-php #<API key>:after, body.update-core-php #<API key>:after, body.index-php #<API key>:after { content: "\f335"; font: normal 32px/29px 'dashicons'; speak: none; -<API key>: antialiased; -<API key>: grayscale; } /* move plugin install close icon to top on narrow screens */ @media screen and ( max-width: 830px ) { body.about-php #<API key>, body.plugin-install-php #<API key>, body.import-php #<API key>, body.plugins-php #<API key>, body.update-core-php #<API key>, body.index-php #<API key> { left: 0; top: -30px; } } /* @todo: move this. */ img { border: none; } /* Metabox collapse arrow indicators */ .js .sidebar-name .sidebar-name-arrow:before, .js .meta-box-sortables .postbox .toggle-indicator:before { content: "\f142"; display: inline-block; font: normal 20px/1 dashicons; speak: none; -<API key>: antialiased; -<API key>: grayscale; text-decoration: none !important; } .js .widgets-holder-wrap.closed .sidebar-name-arrow:before, .js .meta-box-sortables .postbox.closed .handlediv .toggle-indicator:before { content: "\f140"; } .js .sidebar-name .sidebar-name-arrow:before { padding: 10px; right: 0; } .js #widgets-left .sidebar-name .sidebar-name-arrow { display: none; } .js #widgets-left .widgets-holder-wrap.closed .sidebar-name .sidebar-name-arrow, .js #widgets-left .sidebar-name:hover .sidebar-name-arrow { display: block; } .js .postbox .handlediv .toggle-indicator:before { margin-top: 4px; width: 20px; -<API key>: 50%; border-radius: 50%; text-indent: -1px; /* account for the dashicon alignment */ } .rtl.js .postbox .handlediv .toggle-indicator:before { text-indent: 1px; /* account for the dashicon alignment */ } .js .postbox .handlediv:focus { -webkit-box-shadow: none; box-shadow: none; outline: none; } .js .postbox .handlediv:focus .toggle-indicator:before { -webkit-box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); } /* @todo: appears to be Press This only and overridden */ #photo-add-url-div input[type="text"] { width: 300px; } /* Theme/Plugin Editor */ .alignleft h2 { margin: 0; } #template textarea { font-family: Consolas, Monaco, monospace; font-size: 13px; width: 97%; background: #f9f9f9; outline: none; } /* rtl:ignore */ #template textarea, #docs-list { direction: ltr; } #template p { width: 97%; } #templateside { float: left; width: 190px; word-wrap: break-word; } #templateside h2, #postcustomstuff p.submit { margin: 0; } #templateside h4 { margin: 1em 0 0; } #templateside ol, #templateside ul { margin: .5em 0; padding: 0; } #templateside li { margin: 4px 0; } #templateside li a, .theme-editor-php .highlight { display: block; padding: 3px 12px 3px 3px; text-decoration: none; } .theme-editor-php .highlight { margin: -3px -12px -3px 3px; } #templateside .highlight { border: none; font-weight: bold; } .nonessential { color: #666; font-size: 11px; font-style: italic; padding-right: 12px; } #documentation { margin-top: 10px; } #documentation label { line-height: 22px; vertical-align: baseline; font-weight: 600; } .fileedit-sub { padding: 10px 0 8px; line-height: 180%; } /* @todo: can we use a common class for these? */ .nav-menus-php .item-edit:before, .widget-top a.widget-action:after, .control-section .<API key>:after, .<API key>:after { left: 0; content: "\f140"; border: none; background: none; font: normal 20px/1 dashicons; speak: none; display: block; padding: 0; text-indent: 0; text-align: center; position: relative; -<API key>: antialiased; -<API key>: grayscale; text-decoration: none !important; } .handlediv, .item-edit, .sidebar-name-arrow, .<API key>:after { color: #72777c; } .widget-action { color: #555d66; /* #fafafa background in the Widgets screen */ } .widget-top:hover .widget-action, .widget-action:focus, .handlediv:hover, .handlediv:focus, .item-edit:hover, .item-edit:focus, .sidebar-name:hover .sidebar-name-arrow, .<API key>:hover:after { color: #23282d; } .widget-top a.widget-action:after { padding: 1px 0px 1px 2px; margin-top: 10px; margin-left: 10px; -<API key>: 50%; border-radius: 50%; } .widget-top a.widget-action:focus:after { -webkit-box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30,140,190,.8); box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30,140,190,.8); } .control-section .<API key>:after, .<API key>:after { float: left; left: 20px; top: -2px; } .control-section.open .<API key>:after, #customize-info.open .<API key>:after, .nav-menus-php .<API key> .item-edit:before, .widget.open .widget-top a.widget-action:after { content: "\f142"; } .ui-draggable-handle, .ui-sortable-handle { -ms-touch-action: none; touch-action: none; } /* Accordion */ .accordion-section { border-bottom: 1px solid #ddd; margin: 0; } .accordion-section.open .<API key>, .no-js .accordion-section .<API key> { display: block; } .accordion-section.open:hover { border-bottom-color: #ddd; } .<API key> { display: none; padding: 10px 20px 15px; overflow: hidden; background: #fff; } .<API key> { margin: 0; padding: 12px 15px 15px; position: relative; border-right: 1px solid #ddd; border-left: 1px solid #ddd; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .js .<API key> { cursor: pointer; } .js .<API key>:after { position: absolute; top: 12px; left: 10px; z-index: 1; } .<API key>:focus { outline: none; } .<API key>:hover:after, .<API key>:focus:after { border-color: #a0a5aa transparent; } .cannot-expand .<API key> { cursor: auto; } .cannot-expand .<API key>:after { display: none; } .control-section .<API key> { border-right: none; border-left: none; padding: 10px 14px 11px 10px; line-height: 21px; background: #fff; } .control-section .<API key>:after { top: 11px; } .js .control-section:hover .<API key>, .js .control-section .<API key>:hover, .js .control-section.open .<API key>, .js .control-section .<API key>:focus { color: #23282d; background: #f5f5f5; } .control-section.open .<API key> { /* When expanded */ border-bottom: 1px solid #ddd; } /* Edit Site */ .network-admin .edit-site-actions { margin-top: 0; } /* My Sites */ .my-sites { display: block; overflow: auto; zoom: 1; } .my-sites li { display: block; padding: 8px 3%; min-height: 130px; margin: 0; } @media only screen and (max-width: 599px) { .my-sites li { min-height: 0; } } @media only screen and (min-width: 600px) { .my-sites.striped li { background-color: #fff; position: relative; } .my-sites.striped li:after { content: ""; width: 1px; height: 100%; position: absolute; top: 0; left: 0; background: #ccc; } } @media only screen and (min-width: 600px) and (max-width: 699px) { .my-sites li{ float: right; width: 44%; } .my-sites.striped li { background-color: #fff; } .my-sites.striped li:nth-of-type(2n+1) { clear: right; } .my-sites.striped li:nth-of-type(2n+2):after { content: none; } .my-sites li:nth-of-type(4n+1), .my-sites li:nth-of-type(4n+2) { background-color: #f9f9f9; } } @media only screen and (min-width: 700px) and (max-width: 1199px) { .my-sites li { float: right; width: 27.333333%; background-color: #fff; } .my-sites.striped li:nth-of-type(3n+3):after { content: none; } .my-sites li:nth-of-type(6n+1), .my-sites li:nth-of-type(6n+2), .my-sites li:nth-of-type(6n+3) { background-color: #f9f9f9; } } @media only screen and (min-width: 1200px) and (max-width: 1399px) { .my-sites li { float: right; width: 21%; padding: 8px 2%; background-color: #fff; } .my-sites.striped li:nth-of-type(4n+1) { clear: right; } .my-sites.striped li:nth-of-type(4n+4):after { content: none; } .my-sites li:nth-of-type(8n+1), .my-sites li:nth-of-type(8n+2), .my-sites li:nth-of-type(8n+3), .my-sites li:nth-of-type(8n+4) { background-color: #f9f9f9; } } @media only screen and (min-width: 1400px) and (max-width: 1599px) { .my-sites li { float: right; width: 16%; padding: 8px 2%; background-color: #fff; } .my-sites.striped li:nth-of-type(5n+1) { clear: right; } .my-sites.striped li:nth-of-type(5n+5):after { content: none; } .my-sites li:nth-of-type(10n+1), .my-sites li:nth-of-type(10n+2), .my-sites li:nth-of-type(10n+3), .my-sites li:nth-of-type(10n+4), .my-sites li:nth-of-type(10n+5) { background-color: #f9f9f9; } } @media only screen and (min-width: 1600px) { .my-sites li { float: right; width: 12.666666%; padding: 8px 2%; background-color: #fff; } .my-sites.striped li:nth-of-type(6n+1) { clear: right; } .my-sites.striped li:nth-of-type(6n+6):after { content: none; } .my-sites li:nth-of-type(12n+1), .my-sites li:nth-of-type(12n+2), .my-sites li:nth-of-type(12n+3), .my-sites li:nth-of-type(12n+4), .my-sites li:nth-of-type(12n+5), .my-sites li:nth-of-type(12n+6) { background-color: #f9f9f9; } } .my-sites li a { text-decoration: none; } /* @todo: de-duplication */ @media only screen and (min-width: 769px) { /* categories */ #col-left { width: 35%; } #col-right { width: 65%; } } @media only screen and (max-width: 860px) { /* categories */ #col-left { width: 35%; } #col-right { width: 65%; } } @media only screen and (min-width: 980px) { /* categories */ #col-left { width: 35%; } #col-right { width: 65%; } } @media only screen and (max-width: 768px) { /* categories */ #col-left { width: 100%; } #col-right { width: 100%; } } /** * HiDPI Displays */ @media print, (-<API key>: 1.25), (min-resolution: 120dpi) { /* Back-compat for pre-3.8 */ div.star-holder, div.star-holder .star-rating { background: url(../images/stars-2x.png?ver=20121108) repeat-x bottom left; -<API key>: 21px 37px; background-size: 21px 37px; } .spinner { background-image: url(../images/spinner-2x.gif); } /* @todo: evaluate - most of these were likely replaced by dashicons */ .curtime #timestamp, #screen-meta-links a.show-settings, .widget-top a.widget-action, .widget-top a.widget-action:hover, .sidebar-name-arrow, .sidebar-name:hover .sidebar-name-arrow, .meta-box-sortables .postbox:hover .handlediv, .tagchecklist span a, #bulk-titles div a, .tagchecklist span a:hover, #bulk-titles div a:hover { background: none !important; } } @-ms-viewport { width: device-width; } @media screen and ( max-width: 782px ) { html.wp-toolbar { padding-top: 46px; } body { min-width: 240px; overflow-x: hidden; } body * { -<API key>: rgba(0, 0, 0, 0) !important; } #wpcontent { position: relative; margin-right: 0; padding-right: 10px; } #wpbody-content { padding-bottom: 100px; } .wrap { margin-left: 12px; margin-right: 0; } .col-wrap { padding: 0; } /* Hidden Elements */ #screen-meta, #screen-meta-links, #collapse-menu, .post-format-select { display: none !important; } .wrap .add-new-h2, /* deprecated */ .wrap .add-new-h2:active, /* deprecated */ .wrap .page-title-action, .wrap .page-title-action:active { padding: 10px 15px; font-size: 14px; white-space: nowrap; } .wp-color-result { height: auto; padding-right: 45px; } .wp-color-result:after { font-size: 14px; height: auto; padding: 6px 14px; } /* Feedback Messages */ .notice, .wrap div.updated, .wrap div.error, .media-upload-form div.error { margin: 20px 0 10px 0; padding: 5px 10px; font-size: 14px; line-height: 175%; } .wp-core-ui .notice.is-dismissible { padding-left: 46px; } .notice-dismiss { padding: 13px; } .wrap .icon32 + h2 { margin-top: -2px; } .wp-responsive-open #wpbody { left: -190px; } code { word-wrap: break-word; } /* General Metabox */ .postbox { font-size: 14px; } .metabox-holder h3.hndle, /* Back-compat for pre-4.4 */ .metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */ .metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */ .metabox-holder h2 { padding: 12px; } .postbox .handlediv { margin-top: 3px; } /* Subsubsub Nav */ .subsubsub { font-size: 16px; text-align: center; margin-bottom: 15px; } /* Theme/Plugin File Editor */ #templateside { float: none; width: auto; } #templateside li { margin: 0; } #templateside li a { display: block; padding: 5px; } #templateside .highlight { padding: 5px; margin-right: -5px; margin-top: -5px; } #template div { float: none; margin: 0; width: auto; } #template textarea { width: 100%; } .fileedit-sub .alignright { margin-top: 15px; } #wpfooter { display: none; } #comments-form .checkforspam { display: none; } .edit-comment-author { margin: 2px 0 0; } .filter-drawer .<API key> input, .filter-drawer .<API key> label { line-height: 25px; } } /* Smartphone */ @media screen and (max-width: 600px) { /* Disable horizontal scroll when responsive menu is open since we push the main content off to the right. */ #wpwrap.wp-responsive-open { overflow-x: hidden; } html.wp-toolbar { padding-top: 0; } #wpbody { padding-top: 46px; } /* Keep full-width boxes on Edit Post page from causing horizontal scroll */ div#post-body.metabox-holder.columns-1 { overflow-x: hidden; } h1.nav-tab-wrapper, .wrap h2.nav-tab-wrapper, h3.nav-tab-wrapper { border-bottom: 0; } h1 .nav-tab, h2 .nav-tab, h3 .nav-tab { margin: 10px 0 0 10px; border-bottom: 1px solid #ccc; } } @media screen and (max-width: 320px) { /* Prevent default center alignment and larger font for the Right Now widget when the network dashboard is viewed on a small mobile device. */ #<API key> .subsubsub { font-size: 14px; text-align: right; } }
<?php namespace Drupal\diff\Annotation; use Drupal\Component\Annotation\Plugin; /** * Defines a FieldDiffBuilder annotation object. * * Diff builders handle how fields are compared by the diff module. * * Additional annotation keys for diff builders can be defined in * <API key>(). * * @Annotation * * @see \Drupal\diff\<API key> * @see \Drupal\diff\<API key> */ class FieldDiffBuilder extends Plugin { /** * The plugin ID. * * @var string */ public $id; /** * The human-readable name of the diff builder. * * @ingroup plugin_translatable * * @var \Drupal\Core\Annotation\Translation */ public $label; /** * An array of field types the diff builder supports. * * @var array */ public $field_types = array(); /** * The weight of the plugin that defines its importance when applied. * * @var int */ public $weight = 0; }
/* * \brief Memory subsystem */ #pragma once #include <l4/sys/compiler.h> EXTERN_C_BEGIN struct ddekit_slab; /** * Store user pointer in slab cache * * \param slab pointer to slab cache * \param data user pointer */ void <API key>(struct ddekit_slab * slab, void *data); /** * Read user pointer from slab cache * * \param slab pointer to slab cache * * \return stored user pointer or 0 */ void *<API key>(struct ddekit_slab * slab); /** * Allocate slab in slab cache * * \param slab pointer to slab cache * * \return pointer to allocated slab */ void *ddekit_slab_alloc(struct ddekit_slab * slab); /** * Deallocate slab in slab cache * * \param slab pointer to slab cache * \param objp pointer to allocated slab */ void ddekit_slab_free(struct ddekit_slab * slab, void *objp); /** * Setup page cache for all slabs * * \param pages maximal number of memory pages * * If 'pages' is too low, memory pages may be given back to the memory server * (dm_phys) and just to be allocated again later. This hits performance (but * saves memory). Increase 'pages' to avoid this thrashing-like effect. * * If the maximal number of unused pages is exceeded, subsequent deallocation * will be freed at the memory server. This page cache caches pages from all * slabs. */ void <API key>(unsigned pages); /** * Destroy slab cache * * \param slab pointer to slab cache structure */ void ddekit_slab_destroy(struct ddekit_slab * slab); /** * Initialize slab cache * * \param size size of cache objects * \param contiguous make this slab use physically contiguous memory * * \return pointer to new slab cache or 0 on error */ struct ddekit_slab * ddekit_slab_init(unsigned size, int contiguous); /** * Allocate large memory block * * \param size block size * \return pointer to new memory block * * Allocations via this allocator may be slow (because memory servers are * involved) and should be used only for large (i.e., > page size) blocks. If * allocations/deallocations are relatively dynamic this may not be what you * want. * * Allocated blocks have valid virt->phys mappings and are physically * contiguous. */ void *ddekit_large_malloc(int size); /** * Free large memory block * * \param p pointer to memory block */ void ddekit_large_free(void *p); /** FIXME * contig_malloc() is the lowest-level allocator interface one could implement. * we should consider to provide vmalloc() too. */ void *<API key>( unsigned long size, unsigned long low, unsigned long high, unsigned long alignment, unsigned long boundary ); /** * Allocate memory block via simple allocator * * \param size block size * \return pointer to new memory block * * The blocks allocated via this allocator CANNOT be used for DMA or other * device operations, i.e., there exists no virt->phys mapping. */ void *<API key>(unsigned size); /** * Free memory block via simple allocator * * \param p pointer to memory block */ void ddekit_simple_free(void *p); EXTERN_C_END
# Makefile for the WatchDog device drivers. # The WatchDog Timer Driver Core. watchdog-objs += watchdog_core.o watchdog_dev.o obj-$(<API key>) += watchdog.o # Only one watchdog can succeed. We probe the ISA/PCI/USB based # watchdog-cards first, then the architecture specific watchdog # drivers and then the architecture independent "softdog" driver. # This means that if your ISA/PCI/USB card isn't detected that # you can fall back to an architecture specific driver and if # that also fails then you can fall back to the software watchdog # to give you some cover. # ISA-based Watchdog Cards obj-$(CONFIG_PCWATCHDOG) += pcwd.o obj-$(CONFIG_MIXCOMWD) += mixcomwd.o obj-$(CONFIG_WDT) += wdt.o # PCI-based Watchdog Cards obj-$(<API key>) += pcwd_pci.o obj-$(CONFIG_WDTPCI) += wdt_pci.o # USB-based Watchdog Cards obj-$(<API key>) += pcwd_usb.o # ALPHA Architecture # ARM Architecture obj-$(<API key>) += sp805_wdt.o obj-$(<API key>) += at91rm9200_wdt.o obj-$(<API key>) += at91sam9_wdt.o obj-$(<API key>) += omap_wdt.o obj-$(<API key>) += twl4030_wdt.o obj-$(<API key>) += wdt285.o obj-$(CONFIG_977_WATCHDOG) += wdt977.o obj-$(<API key>) += ixp2000_wdt.o obj-$(<API key>) += ixp4xx_wdt.o obj-$(<API key>) += ks8695_wdt.o obj-$(<API key>) += s3c2410_wdt.o obj-$(<API key>) += sa1100_wdt.o obj-$(CONFIG_DW_WATCHDOG) += dw_wdt.o obj-$(<API key>) += mpcore_wdt.o obj-$(<API key>) += ep93xx_wdt.o obj-$(<API key>) += pnx4008_wdt.o obj-$(CONFIG_IOP_WATCHDOG) += iop_wdt.o obj-$(<API key>) += davinci_wdt.o obj-$(<API key>) += orion_wdt.o obj-$(<API key>) += coh901327_wdt.o obj-$(<API key>) += stmp3xxx_wdt.o obj-$(<API key>) += nuc900_wdt.o obj-$(<API key>) += ts72xx_wdt.o obj-$(CONFIG_IMX2_WDT) += imx2_wdt.o obj-$(CONFIG_QCOM_WDT) += qcom-wdt.o # AVR32 Architecture obj-$(<API key>) += at32ap700x_wdt.o # BLACKFIN Architecture obj-$(CONFIG_BFIN_WDT) += bfin_wdt.o # CRIS Architecture # FRV Architecture # H8300 Architecture # X86 (i386 + ia64 + x86_64) Architecture obj-$(CONFIG_ACQUIRE_WDT) += acquirewdt.o obj-$(<API key>) += advantechwdt.o obj-$(CONFIG_ALIM1535_WDT) += alim1535_wdt.o obj-$(CONFIG_ALIM7101_WDT) += alim7101_wdt.o obj-$(CONFIG_F71808E_WDT) += f71808e_wdt.o obj-$(CONFIG_SP5100_TCO) += sp5100_tco.o obj-$(CONFIG_GEODE_WDT) += geodewdt.o obj-$(CONFIG_SC520_WDT) += sc520_wdt.o obj-$(<API key>) += sbc_fitpc2_wdt.o obj-$(CONFIG_EUROTECH_WDT) += eurotechwdt.o obj-$(CONFIG_IB700_WDT) += ib700wdt.o obj-$(CONFIG_IBMASR) += ibmasr.o obj-$(CONFIG_WAFER_WDT) += wafer5823wdt.o obj-$(CONFIG_I6300ESB_WDT) += i6300esb.o obj-$(CONFIG_ITCO_WDT) += iTCO_wdt.o ifeq ($(<API key>),y) obj-$(CONFIG_ITCO_WDT) += iTCO_vendor_support.o endif obj-$(CONFIG_IT8712F_WDT) += it8712f_wdt.o obj-$(CONFIG_IT87_WDT) += it87_wdt.o obj-$(CONFIG_HP_WATCHDOG) += hpwdt.o obj-$(CONFIG_SC1200_WDT) += sc1200wdt.o obj-$(CONFIG_SCx200_WDT) += scx200_wdt.o obj-$(CONFIG_PC87413_WDT) += pc87413_wdt.o obj-$(CONFIG_NV_TCO) += nv_tco.o obj-$(CONFIG_RDC321X_WDT) += rdc321x_wdt.o obj-$(CONFIG_60XX_WDT) += sbc60xxwdt.o obj-$(CONFIG_SBC8360_WDT) += sbc8360.o obj-$(CONFIG_SBC7240_WDT) += sbc7240_wdt.o obj-$(CONFIG_CPU5_WDT) += cpu5wdt.o obj-$(<API key>) += sch311x_wdt.o obj-$(<API key>) += smsc37b787_wdt.o obj-$(CONFIG_VIA_WDT) += via_wdt.o obj-$(CONFIG_W83627HF_WDT) += w83627hf_wdt.o obj-$(CONFIG_W83697HF_WDT) += w83697hf_wdt.o obj-$(CONFIG_W83697UG_WDT) += w83697ug_wdt.o obj-$(CONFIG_W83877F_WDT) += w83877f_wdt.o obj-$(CONFIG_W83977F_WDT) += w83977f_wdt.o obj-$(CONFIG_MACHZ_WDT) += machzwd.o obj-$(<API key>) += sbc_epx_c3.o obj-$(<API key>) += intel_scu_watchdog.o # M32R Architecture # M68K Architecture obj-$(<API key>) += m54xx_wdt.o # MicroBlaze Architecture obj-$(<API key>) += of_xilinx_wdt.o # MIPS Architecture obj-$(CONFIG_ATH79_WDT) += ath79_wdt.o obj-$(CONFIG_BCM47XX_WDT) += bcm47xx_wdt.o obj-$(CONFIG_BCM63XX_WDT) += bcm63xx_wdt.o obj-$(CONFIG_RC32434_WDT) += rc32434_wdt.o obj-$(CONFIG_INDYDOG) += indydog.o obj-$(CONFIG_JZ4740_WDT) += jz4740_wdt.o obj-$(CONFIG_WDT_MTX1) += mtx-1_wdt.o obj-$(CONFIG_PNX833X_WDT) += pnx833x_wdt.o obj-$(CONFIG_SIBYTE_WDOG) += sb_wdog.o obj-$(CONFIG_AR7_WDT) += ar7_wdt.o obj-$(CONFIG_TXX9_WDT) += txx9wdt.o obj-$(CONFIG_OCTEON_WDT) += octeon-wdt.o octeon-wdt-y := octeon-wdt-main.o octeon-wdt-nmi.o obj-$(CONFIG_LANTIQ_WDT) += lantiq_wdt.o # PARISC Architecture # POWERPC Architecture obj-$(CONFIG_GEF_WDT) += gef_wdt.o obj-$(CONFIG_8xxx_WDT) += mpc8xxx_wdt.o obj-$(CONFIG_MV64X60_WDT) += mv64x60_wdt.o obj-$(CONFIG_PIKA_WDT) += pika_wdt.o obj-$(CONFIG_BOOKE_WDT) += booke_wdt.o # PPC64 Architecture obj-$(<API key>) += wdrtas.o # S390 Architecture # SUPERH (sh + sh64) Architecture obj-$(CONFIG_SH_WDT) += shwdt.o # SPARC Architecture # SPARC64 Architecture obj-$(CONFIG_WATCHDOG_RIO) += riowd.o obj-$(<API key>) += cpwd.o # XTENSA Architecture # Xen obj-$(CONFIG_XEN_WDT) += xen_wdt.o # Architecture Independent obj-$(<API key>) += wm831x_wdt.o obj-$(<API key>) += wm8350_wdt.o obj-$(<API key>) += max63xx_wdt.o obj-$(<API key>) += softdog.o
package net.wisedream.jfiler.server.recv; import java.io.File; import java.io.FileOutputStream; import java.io.InputStream; import java.net.Socket; import net.wisedream.jfiler.Const; import net.wisedream.jfiler.ServerConfig; import net.wisedream.jfiler.util.StreamUtil; import net.wisedream.tasklet.Manager; import net.wisedream.tasklet.Task; /** * Receive file * * @author zxp * @Created Oct 21, 2014 */ public class Recv03 extends Task { @Override public void perform(Manager manager) { Socket connection = context.getAttrib("connection"); String fileName = context.getAttrib("fileName"); Long fileSize = context.getAttrib("fileSize"); ServerConfig config = context.getAttrib("config"); i("Receiving " + fileName + " ..."); InputStream in = null; FileOutputStream out = null; try { in = connection.getInputStream(); File file = new File(config.getDir(), fileName); int i = 1; while (file.exists()) { file = new File(config.getDir(), fileName + "(" + i++ + ")"); } i("Saving file [" + fileName + "]" + " as [" + file.getName() + "]"); out = new FileOutputStream(file); StreamUtil.writeData(in, out, Const.BUFFER_SIZE, fileSize); context.putAttrib("fileName", file.getName()); manager.addTask(new Recv04()); } catch (Exception e) { e.printStackTrace(); } finally { StreamUtil.closeStream(out); } } }
#!/bin/sh chown www-data:www-data -R /var/www # Remove the default apache index file rm -f /var/www/html/index.html # Enable services service apache2 start service mysql start # Enable SSH - Insecure Key! - For development only /sbin/my_init --enable-insecure-key # Show the access log tail -f /var/log/apache2/access.log
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * set of functions for the sql executor * * @package PhpMyAdmin */ if (!defined('PHPMYADMIN')) { exit; } /** * Get the database name inside a query * * @param string $sql SQL query * @param array $databases array with all databases * * @return string $db new database name */ function PMA_getNewDatabase($sql, $databases) { $db = ''; // loop through all the databases foreach ($databases as $database) { if (/*overload*/mb_strpos($sql, $database['SCHEMA_NAME']) !== false ) { $db = $database['SCHEMA_NAME']; break; } } return $db; } /** * Get the table name in a sql query * If there are several tables in the SQL query, * first table will return * * @param string $sql SQL query * @param array $tables array of names in current database * * @return string $table table name */ function <API key>($sql, $tables) { $table = ''; // loop through all the tables in the database foreach ($tables as $tbl) { if (/*overload*/mb_strpos($sql, $tbl)) { $table .= ' ' . $tbl; } } if (count(explode(' ', trim($table))) > 1) { $tmp_array = explode(' ', trim($table)); return $tmp_array[0]; } return trim($table); } /** * Handle remembered sorting order, only for single table query * * @param string $db database name * @param string $table table name * @param array &$<API key> the analyzed query results * @param string &$full_sql_query SQL query * * @return void */ function PMA_handleSortOrder( $db, $table, &$<API key>, &$full_sql_query ) { $pmatable = new PMA_Table($table, $db); if (empty($<API key>['order'])) { // Retrieving the name of the column we should sort after. $sortCol = $pmatable->getUiProp(PMA_Table::PROP_SORTED_COLUMN); if (empty($sortCol)) { return; } // Remove the name of the table from the retrieved field name. $sortCol = str_replace(PMA_Util::backquote($table) . '.', '', $sortCol); // Create the new query. $full_sql_query = SqlParser\Utils\Query::replaceClause( $<API key>['statement'], $<API key>['parser']->list, 'ORDER BY ' . $sortCol ); // TODO: Avoid reparsing the query. $<API key> = SqlParser\Utils\Query::getAll($full_sql_query); } else { // Store the remembered table into session. $pmatable->setUiProp( PMA_Table::PROP_SORTED_COLUMN, SqlParser\Utils\Query::getClause( $<API key>['statement'], $<API key>['parser']->list, 'ORDER BY' ) ); } } /** * Append limit clause to SQL query * * @param array &$<API key> the analyzed query results * * @return string limit clause appended SQL query */ function <API key>(&$<API key>) { return SqlParser\Utils\Query::replaceClause( $<API key>['statement'], $<API key>['parser']->list, 'LIMIT ' . $_SESSION['tmpval']['pos'] . ', ' . $_SESSION['tmpval']['max_rows'] ); } /** * Get column name from a drop SQL statement * * @param string $sql SQL query * * @return string $drop_column Name of the column */ function <API key>($sql) { $tmpArray1 = explode('DROP', $sql); $str_to_check = trim($tmpArray1[1]); if (/*overload*/mb_stripos($str_to_check, 'COLUMN') !== false) { $tmpArray2 = explode('COLUMN', $str_to_check); $str_to_check = trim($tmpArray2[1]); } $tmpArray3 = explode(' ', $str_to_check); $str_to_check = trim($tmpArray3[0]); $drop_column = str_replace(';', '', trim($str_to_check)); $drop_column = str_replace('`', '', $drop_column); return $drop_column; } /** * Verify whether the result set has columns from just one table * * @param array $fields_meta meta fields * * @return boolean whether the result set has columns from just one table */ function <API key>($fields_meta) { $just_one_table = true; $prev_table = ''; foreach ($fields_meta as $one_field_meta) { if ($one_field_meta->table != '' && $prev_table != '' && $one_field_meta->table != $prev_table ) { $just_one_table = false; } if ($one_field_meta->table != '') { $prev_table = $one_field_meta->table; } } return $just_one_table && $prev_table != ''; } /** * Verify whether the result set contains all the columns * of at least one unique key * * @param string $db database name * @param string $table table name * @param array $fields_meta meta fields * * @return boolean whether the result set contains a unique key */ function <API key>($db, $table, $fields_meta) { $<API key> = array(); foreach ($fields_meta as $oneMeta) { $<API key>[] = $oneMeta->name; } foreach (PMA_Index::getFromTable($table, $db) as $index) { if ($index->isUnique()) { $indexColumns = $index->getColumns(); $numberFound = 0; foreach ($indexColumns as $indexColumnName => $dummy) { if (in_array($indexColumnName, $<API key>)) { $numberFound++; } } if ($numberFound == count($indexColumns)) { return true; } } } return false; } /** * Get the HTML for relational column dropdown * During grid edit, if we have a relational field, returns the html for the * dropdown * * @param string $db current database * @param string $table current table * @param string $column current column * @param string $curr_value current selected value * * @return string $dropdown html for the dropdown */ function <API key>($db, $table, $column, $curr_value) { $foreigners = PMA_getForeigners($db, $table, $column); $foreignData = PMA_getForeignData($foreigners, $column, false, '', ''); if ($foreignData['disp_row'] == null) { //Handle the case when number of values //is more than $cfg['ForeignKeyMaxLimit'] $_url_params = array( 'db' => $db, 'table' => $table, 'field' => $column ); $dropdown = '<span class="curr_value">' . htmlspecialchars($_REQUEST['curr_value']) . '</span>' . '<a href="browse_foreigners.php' . PMA_URL_getCommon($_url_params) . '"' . 'class="ajax browse_foreign" ' . '>' . __('Browse foreign values') . '</a>'; } else { $dropdown = PMA_foreignDropdown( $foreignData['disp_row'], $foreignData['foreign_field'], $foreignData['foreign_display'], $curr_value, $GLOBALS['cfg']['ForeignKeyMaxLimit'] ); $dropdown = '<select>' . $dropdown . '</select>'; } return $dropdown; } /** * Get the HTML for the profiling table and accompanying chart if profiling is set. * Otherwise returns null * * @param string $url_query url query * @param string $db current database * @param array $profiling_results array containing the profiling info * * @return string $profiling_table html for the profiling table and chart */ function <API key>($url_query, $db, $profiling_results) { if (! empty($profiling_results)) { $pma_token = $_SESSION[' PMA_token ']; $url_query = isset($url_query) ? $url_query : PMA_URL_getCommon(array('db' => $db)); $profiling_table = ''; $profiling_table .= '<fieldset><legend>' . __('Profiling') . '</legend>' . "\n"; $profiling_table .= '<div class="floatleft">'; $profiling_table .= '<h3>' . __('Detailed profile') . '</h3>'; $profiling_table .= '<table id="profiletable"><thead>' . "\n"; $profiling_table .= ' <tr>' . "\n"; $profiling_table .= ' <th>' . __('Order') . '<div class="sorticon"></div></th>' . "\n"; $profiling_table .= ' <th>' . __('State') . PMA_Util::showMySQLDocu('<API key>') . '<div class="sorticon"></div></th>' . "\n"; $profiling_table .= ' <th>' . __('Time') . '<div class="sorticon"></div></th>' . "\n"; $profiling_table .= ' </tr></thead><tbody>' . "\n"; list($detailed_table, $chart_json, $profiling_stats) = <API key>($profiling_results); $profiling_table .= $detailed_table; $profiling_table .= '</tbody></table>' . "\n"; $profiling_table .= '</div>'; $profiling_table .= '<div class="floatleft">'; $profiling_table .= '<h3>' . __('Summary by state') . '</h3>'; $profiling_table .= '<table id="profilesummarytable"><thead>' . "\n"; $profiling_table .= ' <tr>' . "\n"; $profiling_table .= ' <th>' . __('State') . PMA_Util::showMySQLDocu('<API key>') . '<div class="sorticon"></div></th>' . "\n"; $profiling_table .= ' <th>' . __('Total Time') . '<div class="sorticon"></div></th>' . "\n"; $profiling_table .= ' <th>' . __('% Time') . '<div class="sorticon"></div></th>' . "\n"; $profiling_table .= ' <th>' . __('Calls') . '<div class="sorticon"></div></th>' . "\n"; $profiling_table .= ' <th>' . __('ø Time') . '<div class="sorticon"></div></th>' . "\n"; $profiling_table .= ' </tr></thead><tbody>' . "\n"; $profiling_table .= <API key>( $profiling_stats ); $profiling_table .= '</tbody></table>' . "\n"; $profiling_table .= <<<EOT <script type="text/javascript"> pma_token = '$pma_token'; url_query = '$url_query'; </script> EOT; $profiling_table .= "</div>"; $profiling_table .= "<div class='clearfloat'></div>"; //require_once 'libraries/chart.lib.php'; $profiling_table .= '<div id="profilingChartData" style="display:none;">'; $profiling_table .= json_encode($chart_json); $profiling_table .= '</div>'; $profiling_table .= '<div id="profilingchart" style="display:none;">'; $profiling_table .= '</div>'; $profiling_table .= '<script type="text/javascript">'; $profiling_table .= "AJAX.registerOnload('sql.js', function () {"; $profiling_table .= 'makeProfilingChart();'; $profiling_table .= 'initProfilingTables();'; $profiling_table .= '});'; $profiling_table .= '</script>'; $profiling_table .= '</fieldset>' . "\n"; } else { $profiling_table = null; } return $profiling_table; } /** * Function to get HTML for detailed profiling results table, profiling stats, and * $chart_json for displaying the chart. * * @param array $profiling_results profiling results * * @return mixed */ function <API key>( $profiling_results ) { $profiling_stats = array( 'total_time' => 0, 'states' => array(), ); $chart_json = Array(); $i = 1; $table = ''; foreach ($profiling_results as $one_result) { if (isset($profiling_stats['states'][ucwords($one_result['Status'])])) { $states = $profiling_stats['states']; $states[ucwords($one_result['Status'])]['total_time'] += $one_result['Duration']; $states[ucwords($one_result['Status'])]['calls']++; } else { $profiling_stats['states'][ucwords($one_result['Status'])] = array( 'total_time' => $one_result['Duration'], 'calls' => 1, ); } $profiling_stats['total_time'] += $one_result['Duration']; $table .= ' <tr>' . "\n"; $table .= '<td>' . $i++ . '</td>' . "\n"; $table .= '<td>' . ucwords($one_result['Status']) . '</td>' . "\n"; $table .= '<td class="right">' . (PMA_Util::formatNumber($one_result['Duration'], 3, 1)) . 's<span style="display:none;" class="rawvalue">' . $one_result['Duration'] . '</span></td>' . "\n"; if (isset($chart_json[ucwords($one_result['Status'])])) { $chart_json[ucwords($one_result['Status'])] += $one_result['Duration']; } else { $chart_json[ucwords($one_result['Status'])] = $one_result['Duration']; } } return array($table, $chart_json, $profiling_stats); } /** * Function to get HTML for summary by state table * * @param array $profiling_stats profiling stats * * @return string $table html for the table */ function <API key>($profiling_stats) { $table = ''; foreach ($profiling_stats['states'] as $name => $stats) { $table .= ' <tr>' . "\n"; $table .= '<td>' . $name . '</td>' . "\n"; $table .= '<td align="right">' . PMA_Util::formatNumber($stats['total_time'], 3, 1) . 's<span style="display:none;" class="rawvalue">' . $stats['total_time'] . '</span></td>' . "\n"; $table .= '<td align="right">' . PMA_Util::formatNumber( 100 * ($stats['total_time'] / $profiling_stats['total_time']), 0, 2 ) . '%</td>' . "\n"; $table .= '<td align="right">' . $stats['calls'] . '</td>' . "\n"; $table .= '<td align="right">' . PMA_Util::formatNumber( $stats['total_time'] / $stats['calls'], 3, 1 ) . 's<span style="display:none;" class="rawvalue">' . number_format($stats['total_time'] / $stats['calls'], 8, '.', '') . '</span></td>' . "\n"; $table .= ' </tr>' . "\n"; } return $table; } /** * Get the HTML for the enum column dropdown * During grid edit, if we have a enum field, returns the html for the * dropdown * * @param string $db current database * @param string $table current table * @param string $column current column * @param string $curr_value currently selected value * * @return string $dropdown html for the dropdown */ function <API key>($db, $table, $column, $curr_value) { $values = <API key>($db, $table, $column); $dropdown = '<option value="">&nbsp;</option>'; $dropdown .= <API key>($values, array($curr_value)); $dropdown = '<select>' . $dropdown . '</select>'; return $dropdown; } /** * Get the HTML for the set column dropdown * During grid edit, if we have a set field, returns the html for the * dropdown * * @param string $db current database * @param string $table current table * @param string $column current column * @param string $curr_value currently selected value * * @return string $dropdown html for the set column */ function <API key>($db, $table, $column, $curr_value) { $values = <API key>($db, $table, $column); $dropdown = ''; //converts characters of $curr_value to HTML entities $<API key> = htmlentities( $curr_value, ENT_COMPAT, "UTF-8" ); $selected_values = explode(',', $<API key>); $dropdown .= <API key>($values, $selected_values); $select_size = (sizeof($values) > 10) ? 10 : sizeof($values); $dropdown = '<select multiple="multiple" size="' . $select_size . '">' . $dropdown . '</select>'; return $dropdown; } /** * Get all the values for a enum column or set column in a table * * @param string $db current database * @param string $table current table * @param string $column current column * * @return array $values array containing the value list for the column */ function <API key>($db, $table, $column) { $field_info_query = $GLOBALS['dbi']->getColumnsSql($db, $table, $column); $field_info_result = $GLOBALS['dbi']->fetchResult( $field_info_query, null, null, null, <API key>::QUERY_STORE ); $values = PMA_Util::parseEnumSetValues($field_info_result[0]['Type']); return $values; } /** * Get HTML for options list * * @param array $values set of values * @param array $selected_values currently selected values * * @return string $options HTML for options list */ function <API key>($values, $selected_values) { $options = ''; foreach ($values as $value) { $options .= '<option value="' . $value . '"'; if (in_array($value, $selected_values, true)) { $options .= ' selected="selected" '; } $options .= '>' . $value . '</option>'; } return $options; } /** * Function to get html for bookmark support if bookmarks are enabled. Else will * return null * * @param array $displayParts the parts to display * @param bool $cfgBookmark configuration setting for bookmarking * @param string $sql_query sql query * @param string $db current database * @param string $table current table * @param string $complete_query complete query * @param string $bkm_user bookmarking user * * @return string $html */ function <API key>($displayParts, $cfgBookmark, $sql_query, $db, $table, $complete_query, $bkm_user ) { if ($displayParts['bkm_form'] == '1' && (! empty($cfgBookmark) && empty($_GET['id_bookmark'])) && ! empty($sql_query) ) { $goto = 'sql.php' . PMA_URL_getCommon( array( 'db' => $db, 'table' => $table, 'sql_query' => $sql_query, 'id_bookmark'=> 1, ) ); $bkm_sql_query = urlencode( isset($complete_query) ? $complete_query : $sql_query ); $html = '<form action="sql.php" method="post"' . ' onsubmit="return ! emptyCheckTheField(this,' . '\'bkm_fields[bkm_label]\');"' . ' class="bookmarkQueryForm print_ignore">'; $html .= <API key>(); $html .= '<input type="hidden" name="db"' . ' value="' . htmlspecialchars($db) . '" />'; $html .= '<input type="hidden" name="goto" value="' . $goto . '" />'; $html .= '<input type="hidden" name="bkm_fields[bkm_database]"' . ' value="' . htmlspecialchars($db) . '" />'; $html .= '<input type="hidden" name="bkm_fields[bkm_user]"' . ' value="' . $bkm_user . '" />'; $html .= '<input type="hidden" name="bkm_fields[bkm_sql_query]"' . ' value="' . $bkm_sql_query . '" />'; $html .= '<fieldset>'; $html .= '<legend>'; $html .= PMA_Util::getIcon( 'b_bookmark.png', __('Bookmark this SQL query'), true ); $html .= '</legend>'; $html .= '<div class="formelement">'; $html .= '<label>' . __('Label:') . '</label>'; $html .= '<input type="text" name="bkm_fields[bkm_label]" value="" />'; $html .= '</div>'; $html .= '<div class="formelement">'; $html .= '<input type="checkbox" name="bkm_all_users" value="true" />'; $html .= '<label>' . __('Let every user access this bookmark') . '</label>'; $html .= '</div>'; $html .= '<div class="clearfloat"></div>'; $html .= '</fieldset>'; $html .= '<fieldset class="tblFooters">'; $html .= '<input type="hidden" name="store_bkm" value="1" />'; $html .= '<input type="submit"' . ' value="' . __('Bookmark this SQL query') . '" />'; $html .= '</fieldset>'; $html .= '</form>'; } else { $html = null; } return $html; } /** * Function to check whether to remember the sorting order or not * * @param array $<API key> the analyzed query and other variables set * after analyzing the query * * @return boolean */ function <API key>($<API key>) { return $GLOBALS['cfg']['RememberSorting'] && ! ($<API key>['is_count'] || $<API key>['is_export'] || $<API key>['is_func'] || $<API key>['is_analyse']) && $<API key>['select_from'] && ((empty($<API key>['select_expr'])) || (count($<API key>['select_expr'] == 1) && ($<API key>['select_expr'][0] == '*'))) && count($<API key>['select_tables']) == 1; } /** * Function to check whether the LIMIT clause should be appended or not * * @param array $<API key> the analyzed query and other variables set * after analyzing the query * * @return boolean */ function <API key>($<API key>) { return ($_SESSION['tmpval']['max_rows'] != 'all') && ! ($<API key>['is_export'] || $<API key>['is_analyse']) && ($<API key>['select_from'] || $<API key>['is_subquery']) && empty($<API key>['limit']); } /** * Function to check whether this query is for just browsing * * @param array $<API key> the analyzed query and other variables set * after analyzing the query * @param boolean $find_real_end whether the real end should be found * * @return boolean */ function PMA_isJustBrowsing($<API key>, $find_real_end) { return ! $<API key>['is_group'] && ! $<API key>['is_func'] && empty($<API key>['union']) && empty($<API key>['distinct']) && $<API key>['select_from'] && count($<API key>['select_tables'] <= 1) && (empty($<API key>['statement']->where) || (count($<API key>['statement']->where) == 1 && $<API key>['statement']->where[0]->expr ==='1')) && empty($<API key>['group']) && ! isset($find_real_end) && ! $<API key>['is_subquery'] && empty($<API key>['having']); } /** * Function to check whether the related transformation information should be deleted * * @param array $<API key> the analyzed query and other variables set * after analyzing the query * * @return boolean */ function <API key>($<API key>) { return !empty($<API key>['querytype']) && (($<API key>['querytype'] == 'ALTER') || ($<API key>['querytype'] == 'DROP')); } /** * Function to check whether the user has rights to drop the database * * @param array $<API key> the analyzed query and other variables set * after analyzing the query * @param boolean $<API key> whether the user is allowed to drop db * @param boolean $is_superuser whether this user is a superuser * * @return boolean */ function <API key>($<API key>, $<API key>, $is_superuser ) { if (! defined('PMA_CHK_DROP') && ! $<API key> && isset ($<API key>['drop_database']) && $<API key>['drop_database'] == 1 && ! $is_superuser ) { return true; } else { return false; } } /** * Function to set a column property * * @param PMA_Table $pmatable PMA_Table instance * @param string $request_index col_order|col_visib * * @return boolean $retval */ function <API key>($pmatable, $request_index) { $property_value = explode(',', $_REQUEST[$request_index]); switch($request_index) { case 'col_order': $property_to_set = PMA_Table::PROP_COLUMN_ORDER; break; case 'col_visib': $property_to_set = PMA_Table::PROP_COLUMN_VISIB; break; default: $property_to_set = ''; } $retval = $pmatable->setUiProp( $property_to_set, $property_value, $_REQUEST['table_create_time'] ); if (gettype($retval) != 'boolean') { $response = PMA_Response::getInstance(); $response->isSuccess(false); $response->addJSON('message', $retval->getString()); exit; } return $retval; } /** * Function to check the request for setting the column order or visibility * * @param String $table the current table * @param String $db the current database * * @return void */ function <API key>($table, $db) { $pmatable = new PMA_Table($table, $db); $retval = false; // set column order if (isset($_REQUEST['col_order'])) { $retval = <API key>($pmatable, 'col_order'); } // set column visibility if ($retval === true && isset($_REQUEST['col_visib'])) { $retval = <API key>($pmatable, 'col_visib'); } $response = PMA_Response::getInstance(); $response->isSuccess($retval == true); exit; } /** * Function to add a bookmark * * @param String $pmaAbsoluteUri absolute URI * @param String $goto goto page URL * * @return void */ function PMA_addBookmark($pmaAbsoluteUri, $goto) { $result = PMA_Bookmark_save( $_POST['bkm_fields'], (isset($_POST['bkm_all_users']) && $_POST['bkm_all_users'] == 'true' ? true : false ) ); $response = PMA_Response::getInstance(); if ($response->isAjax()) { if ($result) { $msg = PMA_message::success(__('Bookmark %s has been created.')); $msg->addParam($_POST['bkm_fields']['bkm_label']); $response->addJSON('message', $msg); } else { $msg = PMA_message::error(__('Bookmark not created!')); $response->isSuccess(false); $response->addJSON('message', $msg); } exit; } else { // go back to sql.php to redisplay query; do not use &amp; in this case: /** * @todo In which scenario does this happen? */ <API key>( $pmaAbsoluteUri . $goto . '&label=' . $_POST['bkm_fields']['bkm_label'] ); } } /** * Function to find the real end of rows * * @param String $db the current database * @param String $table the current table * * @return mixed the number of rows if "retain" param is true, otherwise true */ function <API key>($db, $table) { $unlim_num_rows = PMA_Table::countRecords($db, $table, true); $_SESSION['tmpval']['pos'] = <API key>($unlim_num_rows); return $unlim_num_rows; } /** * Function to get values for the relational columns * * @param String $db the current database * @param String $table the current table * * @return void */ function <API key>($db, $table) { $column = $_REQUEST['column']; if ($_SESSION['tmpval']['relational_display'] == 'D' && isset($_REQUEST['<API key>']) && $_REQUEST['<API key>'] ) { $curr_value = $_REQUEST['<API key>']; } else { $curr_value = $_REQUEST['curr_value']; } $dropdown = <API key>( $db, $table, $column, $curr_value ); $response = PMA_Response::getInstance(); $response->addJSON('dropdown', $dropdown); exit; } /** * Function to get values for Enum or Set Columns * * @param String $db the current database * @param String $table the current table * @param String $columnType whether enum or set * * @return void */ function <API key>($db, $table, $columnType) { $column = $_REQUEST['column']; $curr_value = $_REQUEST['curr_value']; $response = PMA_Response::getInstance(); if ($columnType == "enum") { $dropdown = <API key>( $db, $table, $column, $curr_value ); $response->addJSON('dropdown', $dropdown); } else { $select = <API key>($db, $table, $column, $curr_value); $response->addJSON('select', $select); } exit; } /** * Function to get the default sql query for browsing page * * @param String $db the current database * @param String $table the current table * * @return String $sql_query the default $sql_query for browse page */ function <API key>($db, $table) { include_once 'libraries/bookmark.lib.php'; $book_sql_query = PMA_Bookmark_get( $db, '\'' . PMA_Util::sqlAddSlashes($table) . '\'', 'label', false, true ); if (! empty($book_sql_query)) { $GLOBALS['<API key>'] = PMA_message::notice( __('Using bookmark "%s" as default browse query.') ); $GLOBALS['<API key>']->addParam($table); $GLOBALS['<API key>']->addMessage( PMA_Util::showDocu('faq', 'faq6-22') ); $sql_query = $book_sql_query; } else { $<API key> = ''; if (isset($GLOBALS['cfg']['<API key>']) && ($GLOBALS['cfg']['<API key>'] !== 'NONE') ) { $primaryKey = null; $primary = PMA_Index::getPrimary($table, $db); if ($primary !== false) { $primarycols = $primary->getColumns(); foreach ($primarycols as $col) { $primaryKey = $col->getName(); break; } if ($primaryKey != null) { $<API key> = ' ORDER BY ' . PMA_Util::backquote($table) . '.' . PMA_Util::backquote($primaryKey) . ' ' . $GLOBALS['cfg']['<API key>']; } } } $sql_query = 'SELECT * FROM ' . PMA_Util::backquote($table) . $<API key>; } unset($book_sql_query); return $sql_query; } /** * Responds an error when an error happens when executing the query * * @param boolean $is_gotofile whether goto file or not * @param String $error error after executing the query * @param String $full_sql_query full sql query * * @return void */ function <API key>($is_gotofile, $error, $full_sql_query) { if ($is_gotofile) { $message = PMA_Message::rawError($error); $response = PMA_Response::getInstance(); $response->isSuccess(false); $response->addJSON('message', $message); } else { PMA_Util::mysqlDie($error, $full_sql_query, '', ''); } exit; } /** * Function to store the query as a bookmark * * @param String $db the current database * @param String $bkm_user the bookmarking user * @param String $<API key> the query to be stored in bookmark * @param String $bkm_label bookmark label * @param boolean $bkm_replace whether to replace existing bookmarks * * @return void */ function <API key>($db, $bkm_user, $<API key>, $bkm_label, $bkm_replace ) { include_once 'libraries/bookmark.lib.php'; $bfields = array( 'bkm_database' => $db, 'bkm_user' => $bkm_user, 'bkm_sql_query' => urlencode($<API key>), 'bkm_label' => $bkm_label ); // Should we replace bookmark? if (isset($bkm_replace)) { $bookmarks = <API key>($db); foreach ($bookmarks as $key => $val) { if ($val['label'] == $bkm_label) { PMA_Bookmark_delete($key); } } } PMA_Bookmark_save($bfields, isset($_POST['bkm_all_users'])); } /** * Function to execute the SQL query and set the execution time * * @param String $full_sql_query the full sql query * * @return mixed $result the results after running the query */ function <API key>($full_sql_query) { // close session in case the query takes too long session_write_close(); // Measure query time. $querytime_before = array_sum(explode(' ', microtime())); $result = @$GLOBALS['dbi']->tryQuery( $full_sql_query, null, <API key>::QUERY_STORE ); $querytime_after = array_sum(explode(' ', microtime())); // reopen session session_start(); $GLOBALS['querytime'] = $querytime_after - $querytime_before; return $result; } /** * Function to get the affected or changed number of rows after executing a query * * @param boolean $is_affected whether the query affected a table * @param mixed $result results of executing the query * * @return int $num_rows number of rows affected or changed */ function <API key>($is_affected, $result) { if (! $is_affected) { $num_rows = ($result) ? @$GLOBALS['dbi']->numRows($result) : 0; } else { $num_rows = @$GLOBALS['dbi']->affectedRows(); } return $num_rows; } /** * Checks if the current database has changed * This could happen if the user sends a query like "USE `database`;" * * @param String $db the database in the query * * @return int $reload whether to reload the navigation(1) or not(0) */ function <API key>($db) { if (/*overload*/mb_strlen($db)) { $current_db = $GLOBALS['dbi']->fetchValue('SELECT DATABASE()'); // $current_db is false, except when a USE statement was sent return ($current_db != false) && ($db !== $current_db); } return false; } /** * If a table, database or column gets dropped, clean comments. * * @param String $db current database * @param String $table current table * @param String $dropped_column dropped column if any * @param bool $purge whether purge set or not * @param array $extra_data extra data * * @return array $extra_data */ function <API key>($db, $table, $dropped_column, $purge, $extra_data) { include_once 'libraries/relation_cleanup.lib.php'; if (isset($purge) && $purge == 1) { if (/*overload*/mb_strlen($table) && /*overload*/mb_strlen($db)) { <API key>($db, $table); } elseif (/*overload*/mb_strlen($db)) { <API key>($db); } } if (isset($dropped_column) && !empty($dropped_column) && /*overload*/mb_strlen($db) && /*overload*/mb_strlen($table) ) { <API key>($db, $table, $dropped_column); // to refresh the list of indexes (Ajax mode) $extra_data['indexes_list'] = PMA_Index::getHtmlForIndexes($table, $db); } return $extra_data; } /** * Function to count the total number of rows for the same 'SELECT' query without * the 'LIMIT' clause that may have been programatically added * * @param int $num_rows number of rows affected/changed by the query * @param bool $justBrowsing whether just browsing or not * @param string $db the current database * @param string $table the current table * @param array $<API key> the analyzed query and other variables set * after analyzing the query * * @return int $unlim_num_rows unlimited number of rows */ function <API key>( $num_rows, $justBrowsing, $db, $table, $<API key> ) { if (!<API key>($<API key>)) { // if we did not append a limit, set this to get a correct // "Showing rows..." message // $_SESSION['tmpval']['max_rows'] = 'all'; $unlim_num_rows = $num_rows; } elseif ($<API key>['querytype'] == 'SELECT' || $<API key>['is_subquery'] ) { // c o u n t q u e r y // If we are "just browsing", there is only one table, // and no WHERE clause (or just 'WHERE 1 '), // we do a quick count (which uses MaxExactCount) because // SQL_CALC_FOUND_ROWS is not quick on large InnoDB tables // However, do not count again if we did it previously // due to $find_real_end == true if ($justBrowsing) { // Get row count (is approximate for InnoDB) $unlim_num_rows = PMA_Table::countRecords( $db, $table, false ); /** * @todo Can we know at this point that this is InnoDB, * (in this case there would be no need for getting * an exact count)? */ if ($unlim_num_rows < $GLOBALS['cfg']['MaxExactCount']) { // Get the exact count if approximate count // is less than MaxExactCount /** * @todo In countRecords(), MaxExactCount is also verified, * so can we avoid checking it twice? */ $unlim_num_rows = PMA_Table::countRecords( $db, $table, true ); } } else { // The SQL_CALC_FOUND_ROWS option of the SELECT statement is used. // For UNION statements, only a SQL_CALC_FOUND_ROWS is required // after the first SELECT. $count_query = SqlParser\Utils\Query::replaceClause( $<API key>['statement'], $<API key>['parser']->list, 'SELECT SQL_CALC_FOUND_ROWS', null, true ); // Another LIMIT clause is added to avoid long delays. // A complete result will be returned anyway, but the LIMIT would // stop the query as soon as the result that is required has been // computed. if (empty($<API key>['union'])) { $count_query .= ' LIMIT 1'; } // Running the count query. $GLOBALS['dbi']->tryQuery($count_query); $unlim_num_rows = $GLOBALS['dbi']->fetchValue('SELECT FOUND_ROWS()'); } // end else "just browsing" } else {// not $is_select $unlim_num_rows = 0; } return $unlim_num_rows; } /** * Function to handle all aspects relating to executing the query * * @param array $<API key> analyzed sql results * @param String $full_sql_query full sql query * @param boolean $is_gotofile whether to go to a file * @param String $db current database * @param String $table current table * @param boolean $find_real_end whether to find the real end * @param String $<API key> sql query to be stored as bookmark * @param array $extra_data extra data * * @return mixed */ function PMA_executeTheQuery($<API key>, $full_sql_query, $is_gotofile, $db, $table, $find_real_end, $<API key>, $extra_data ) { $response = PMA_Response::getInstance(); $response->getHeader()->getMenu()->setTable($table); // Only if we ask to see the php code if (isset($GLOBALS['show_as_php'])) { $result = null; $num_rows = 0; $unlim_num_rows = 0; } else { // If we don't ask to see the php code if (isset($_SESSION['profiling']) && PMA_Util::profilingSupported()) { $GLOBALS['dbi']->query('SET PROFILING=1;'); } $result = <API key>($full_sql_query); // Displays an error message if required and stop parsing the script $error = $GLOBALS['dbi']->getError(); if ($error) { <API key>($is_gotofile, $error, $full_sql_query); } // If there are no errors and bookmarklabel was given, // store the query as a bookmark if (! empty($_POST['bkm_label']) && ! empty($<API key>)) { $cfgBookmark = <API key>(); <API key>( $db, $cfgBookmark['user'], $<API key>, $_POST['bkm_label'], isset($_POST['bkm_replace']) ? $_POST['bkm_replace'] : null ); } // end store bookmarks // Gets the number of rows affected/returned // (This must be done immediately after the query because // mysql_affected_rows() reports about the last query done) $num_rows = <API key>( $<API key>['is_affected'], $result ); // Grabs the profiling results if (isset($_SESSION['profiling']) && PMA_Util::profilingSupported()) { $profiling_results = $GLOBALS['dbi']->fetchResult('SHOW PROFILE;'); } $justBrowsing = PMA_isJustBrowsing( $<API key>, isset($find_real_end) ? $find_real_end : null ); $unlim_num_rows = <API key>( $num_rows, $justBrowsing, $db, $table, $<API key> ); $extra_data = <API key>( isset($db) ? $db : '', isset($table) ? $table : '', isset($_REQUEST['dropped_column']) ? $_REQUEST['dropped_column'] : null, isset($_REQUEST['purge']) ? $_REQUEST['purge'] : null, isset($extra_data) ? $extra_data : null ); // Update Indexes list. if (isset($_REQUEST['index_change'])) { $extra_data['indexes_list'] = PMA_Index::getHtmlForIndexes($table, $db); } } return array($result, $num_rows, $unlim_num_rows, isset($profiling_results) ? $profiling_results : null, $extra_data ); } /** * Delete related <API key> information * * @param String $db current database * @param String $table current table * @param array $<API key> analyzed sql results * * @return void */ function <API key>($db, $table, $<API key>) { include_once 'libraries/transformations.lib.php'; $statement = $<API key>['statement']; if ($statement instanceof SqlParser\Statements\AlterStatement) { if ($statement->altered[0]->options->has('DROP')) { if (!empty($statement->altered[0]->field->column)) { <API key>( $db, $table, $statement->altered[0]->field->column ); } } } elseif ($statement instanceof SqlParser\Statements\DropStatement) { <API key>($db, $table); } } /** * Function to get the message for the no rows returned case * * @param string $message_to_show message to show * @param array $<API key> analyzed sql results * @param int $num_rows number of rows * * @return string $message */ function <API key>($message_to_show, $<API key>, $num_rows ) { if ($<API key>['querytype'] == 'DELETE"') { $message = PMA_Message::<API key>($num_rows); } elseif ($<API key>['is_insert']) { if ($<API key>['querytype'] == 'REPLACE') { // For REPLACE we get DELETED + INSERTED row count, // so we have to call it affected $message = PMA_Message::<API key>($num_rows); } else { $message = PMA_Message::<API key>($num_rows); } $insert_id = $GLOBALS['dbi']->insertId(); if ($insert_id != 0) { // insert_id is id of FIRST record inserted in one insert, // so if we inserted multiple rows, we had to increment this $message->addMessage('[br]'); // need to use a temporary because the Message class // currently supports adding parameters only to the first // message $_inserted = PMA_Message::notice(__('Inserted row id: %1$d')); $_inserted->addParam($insert_id + $num_rows - 1); $message->addMessage($_inserted); } } elseif ($<API key>['is_affected']) { $message = PMA_Message::<API key>($num_rows); // Ok, here is an explanation for the !$is_select. // The form generated by sql_query_form.lib.php // and db_sql.php has many submit buttons // on the same form, and some confusion arises from the // fact that $message_to_show is sent for every case. // The $message_to_show containing a success message and sent with // the form should not have priority over errors } elseif (! empty($message_to_show) && $<API key>['querytype'] != 'SELECT' ) { $message = PMA_Message::rawSuccess(htmlspecialchars($message_to_show)); } elseif (! empty($GLOBALS['show_as_php'])) { $message = PMA_Message::success(__('Showing as PHP code')); } elseif (isset($GLOBALS['show_as_php'])) { /* User disable showing as PHP, query is only displayed */ $message = PMA_Message::notice(__('Showing SQL query')); } else { $message = PMA_Message::success( __('MySQL returned an empty result set (i.e. zero rows).') ); } if (isset($GLOBALS['querytime'])) { $_querytime = PMA_Message::notice( '(' . __('Query took %01.4f seconds.') . ')' ); $_querytime->addParam($GLOBALS['querytime']); $message->addMessage($_querytime); } // In case of ROLLBACK, notify the user. if (isset($_REQUEST['rollback_query'])) { $message->addMessage(__('[ROLLBACK occurred.]')); } return $message; } /** * Function to respond back when the query returns zero rows * This method is called * 1-> When browsing an empty table * 2-> When executing a query on a non empty table which returns zero results * 3-> When executing a query on an empty table * 4-> When executing an INSERT, UPDATE, DELETE query from the SQL tab * 5-> When deleting a row from BROWSE tab * 6-> When searching using the SEARCH tab which returns zero results * 7-> When changing the structure of the table except change operation * * @param array $<API key> analyzed sql results * @param string $db current database * @param string $table current table * @param string $message_to_show message to show * @param int $num_rows number of rows * @param PMA_DisplayResults $<API key> DisplayResult instance * @param array $extra_data extra data * * @return string html */ function <API key>($<API key>, $db, $table, $message_to_show, $num_rows, $<API key>, $extra_data ) { if (<API key>($<API key>)) { <API key>($db, $table, $<API key>); } $message = <API key>( isset($message_to_show) ? $message_to_show : null, $<API key>, $num_rows ); $html_output = ''; if (!isset($GLOBALS['show_as_php'])) { if (! empty($GLOBALS['reload'])) { $extra_data['reload'] = 1; $extra_data['db'] = $GLOBALS['db']; } $html_message = PMA_Util::getMessage( $message, $GLOBALS['sql_query'], 'success' ); $html_output .= $html_message; // For ajax requests add message and sql_query as JSON if (empty($_REQUEST['ajax_page_request'])) { $extra_data['message'] = $message; if ($GLOBALS['cfg']['ShowSQL']) { $extra_data['sql_query'] = $html_message; } } $response = PMA_Response::getInstance(); $response->addJSON(isset($extra_data) ? $extra_data : array()); if (!empty($<API key>['is_select'])) { $html_output .= $<API key>-><API key>( $<API key> ); } } return $html_output; } /** * Function to send response for ajax grid edit * * @param object $result result of the executed query * * @return void */ function <API key>($result) { $row = $GLOBALS['dbi']->fetchRow($result); $field_flags = $GLOBALS['dbi']->fieldFlags($result, 0); if (stristr($field_flags, PMA_DisplayResults::BINARY_FIELD)) { $row[0] = bin2hex($row[0]); } $response = PMA_Response::getInstance(); $response->addJSON('value', $row[0]); exit; } /** * Function to get html for the sql query results div * * @param string $<API key> html for the previously * executed query * @param string $<API key> html for profiling * @param PMA_Message $<API key> message for the missing * unique column * @param PMA_Message $<API key> message for bookmark creation * @param string $table_html html for the table for * displaying sql results * @param string $<API key> html for displaying errors * in indexes * @param string $<API key> html for displaying bookmark form * * @return string $html_output */ function <API key>($<API key>, $<API key>, $<API key>, $<API key>, $table_html, $<API key>, $<API key> ) { //begin the sqlqueryresults div here. container div $html_output = '<div class="sqlqueryresults ajax">'; $html_output .= isset($<API key>) ? $<API key> : ''; $html_output .= isset($<API key>) ? $<API key> : ''; $html_output .= isset($<API key>) ? $<API key>->getDisplay() : ''; $html_output .= isset($<API key>) ? $<API key>->getDisplay() : ''; $html_output .= $table_html; $html_output .= isset($<API key>) ? $<API key> : ''; $html_output .= isset($<API key>) ? $<API key> : ''; $html_output .= '</div>'; // end sqlqueryresults div return $html_output; } /** * Returns a message for successful creation of a bookmark or null if a bookmark * was not created * * @return PMA_message $<API key> */ function <API key>() { if (isset($_GET['label'])) { $<API key> = PMA_message::success( __('Bookmark %s has been created.') ); $<API key>->addParam($_GET['label']); } else { $<API key> = null; } return $<API key>; } /** * Function to get html for the sql query results table * * @param PMA_DisplayResults $<API key> instance of DisplayResult.class * @param string $pmaThemeImage theme image uri * @param string $url_query url query * @param array $displayParts the parts to display * @param bool $editable whether the result table is * editable or not * @param int $unlim_num_rows unlimited number of rows * @param int $num_rows number of rows * @param bool $showtable whether to show table or not * @param object $result result of the executed query * @param array $<API key> analyzed sql results * * @return String */ function <API key>($<API key>, $pmaThemeImage, $url_query, $displayParts, $editable, $unlim_num_rows, $num_rows, $showtable, $result, $<API key> ) { $printview = isset($_REQUEST['printview']) ? $_REQUEST['printview'] : null; $table_html = ''; $browse_dist = ! empty($_REQUEST['is_browse_distinct']); if ($<API key>['is_procedure']) { do { if (! isset($result)) { $result = $GLOBALS['dbi']->storeResult(); } $num_rows = $GLOBALS['dbi']->numRows($result); if ($result !== false && $num_rows > 0) { $fields_meta = $GLOBALS['dbi']->getFieldsMeta($result); $fields_cnt = count($fields_meta); $<API key>->setProperties( $num_rows, $fields_meta, $<API key>['is_count'], $<API key>['is_export'], $<API key>['is_func'], $<API key>['is_analyse'], $num_rows, $fields_cnt, $GLOBALS['querytime'], $pmaThemeImage, $GLOBALS['text_dir'], $<API key>['is_maint'], $<API key>['is_explain'], $<API key>['is_show'], $showtable, $printview, $url_query, $editable, $browse_dist ); $displayParts = array( 'edit_lnk' => $<API key>::NO_EDIT_OR_DELETE, 'del_lnk' => $<API key>::NO_EDIT_OR_DELETE, 'sort_lnk' => '1', 'nav_bar' => '1', 'bkm_form' => '1', 'text_btn' => '1', 'pview_lnk' => '1' ); $table_html .= $<API key>->getTable( $result, $displayParts, $<API key> ); } $GLOBALS['dbi']->freeResult($result); unset($result); } while ($GLOBALS['dbi']->moreResults() && $GLOBALS['dbi']->nextResult()); } else { if (isset($result) && $result) { $fields_meta = $GLOBALS['dbi']->getFieldsMeta($result); $fields_cnt = count($fields_meta); } $_SESSION['is_multi_query'] = false; $<API key>->setProperties( $unlim_num_rows, $fields_meta, $<API key>['is_count'], $<API key>['is_export'], $<API key>['is_func'], $<API key>['is_analyse'], $num_rows, $fields_cnt, $GLOBALS['querytime'], $pmaThemeImage, $GLOBALS['text_dir'], $<API key>['is_maint'], $<API key>['is_explain'], $<API key>['is_show'], $showtable, $printview, $url_query, $editable, $browse_dist ); $table_html .= $<API key>->getTable( $result, $displayParts, $<API key> ); $GLOBALS['dbi']->freeResult($result); } return $table_html; } /** * Function to get html for the previous query if there is such. If not will return * null * * @param string $disp_query display query * @param bool $showSql whether to show sql * @param array $sql_data sql data * @param string $disp_message display message * * @return string $<API key> */ function <API key>($disp_query, $showSql, $sql_data, $disp_message ) { // previous update query (from tbl_replace) if (isset($disp_query) && ($showSql == true) && empty($sql_data)) { $<API key> = PMA_Util::getMessage( $disp_message, $disp_query, 'success' ); } else { $<API key> = null; } return $<API key>; } /** * To get the message if a column index is missing. If not will return null * * @param string $table current table * @param string $db current database * @param boolean $editable whether the results table can be editable or not * @param boolean $has_unique whether there is a unique key * * @return PMA_message $message */ function <API key>($table, $db, $editable, $has_unique) { if (!empty($table) && ($GLOBALS['dbi']->isSystemSchema($db) || !$editable)) { $<API key> = PMA_message::notice( sprintf( __( 'Current selection does not contain a unique column.' . ' Grid edit, checkbox, Edit, Copy and Delete features' . ' are not available. %s' ), PMA_Util::showDocu('config', '<API key>') ) ); } elseif (! empty($table) && ! $has_unique) { $<API key> = PMA_message::notice( sprintf( __( 'Current selection does not contain a unique column.' . ' Grid edit, Edit, Copy and Delete features may result in' . ' undesired behavior. %s' ), PMA_Util::showDocu('config', '<API key>') ) ); } else { $<API key> = null; } return $<API key>; } /** * Function to get html to display problems in indexes * * @param string $query_type query type * @param array|null $selectedTables array of table names selected from the * database structure page, for an action * like check table, optimize table, * analyze table or repair table * @param string $db current database * * @return string */ function <API key>($query_type, $selectedTables, $db) { // BEGIN INDEX CHECK See if indexes should be checked. if (isset($query_type) && $query_type == 'check_tbl' && isset($selectedTables) && is_array($selectedTables) ) { $<API key> = ''; foreach ($selectedTables as $tbl_name) { $check = PMA_Index::findDuplicates($tbl_name, $db); if (! empty($check)) { $<API key> .= sprintf( __('Problems with indexes of table `%s`'), $tbl_name ); $<API key> .= $check; } } } else { $<API key> = null; } return $<API key>; } /** * Function to display results when the executed query returns non empty results * * @param object $result executed query results * @param array $<API key> analysed sql results * @param string $db current database * @param string $table current table * @param string $message message to show * @param array $sql_data sql data * @param PMA_DisplayResults $<API key> Instance of DisplayResults.class * @param string $pmaThemeImage uri of the theme image * @param int $unlim_num_rows unlimited number of rows * @param int $num_rows number of rows * @param string $disp_query display query * @param string $disp_message display message * @param array $profiling_results profiling results * @param string $query_type query type * @param array|null $selectedTables array of table names selected * from * the database structure page, for * an action like check table, * optimize table, analyze table or * repair table * @param string $sql_query sql query * @param string $complete_query complete sql query * * @return string html */ function <API key>($result, $<API key>, $db, $table, $message, $sql_data, $<API key>, $pmaThemeImage, $unlim_num_rows, $num_rows, $disp_query, $disp_message, $profiling_results, $query_type, $selectedTables, $sql_query, $complete_query ) { // If we are retrieving the full value of a truncated field or the original // value of a transformed field, show it here if (isset($_REQUEST['grid_edit']) && $_REQUEST['grid_edit'] == true) { <API key>($result); // script has exited at this point } // Gets the list of fields properties if (isset($result) && $result) { $fields_meta = $GLOBALS['dbi']->getFieldsMeta($result); } // Should be initialized these parameters before parsing $showtable = isset($showtable) ? $showtable : null; $url_query = isset($url_query) ? $url_query : null; $response = PMA_Response::getInstance(); $header = $response->getHeader(); $scripts = $header->getScripts(); // hide edit and delete links: // - for information_schema // - if the result set does not contain all the columns of a unique key // (unless this is an updatable view) $updatableView = false; $statement = $<API key>['statement']; if ($statement instanceof SqlParser\Statements\SelectStatement) { if (!empty($statement->expr)) { if ($statement->expr[0]->expr === '*') { $updatableView = PMA_Table::isUpdatableView($db, $table); } } } $has_unique = <API key>( $db, $table, $fields_meta ); $just_one_table = <API key>($fields_meta); $editable = ($has_unique || $GLOBALS['cfg']['<API key>'] || $updatableView) && $just_one_table; $displayParts = array( 'edit_lnk' => $<API key>::UPDATE_ROW, 'del_lnk' => $<API key>::DELETE_ROW, 'sort_lnk' => '1', 'nav_bar' => '1', 'bkm_form' => '1', 'text_btn' => '0', 'pview_lnk' => '1' ); if (!empty($table) && ($GLOBALS['dbi']->isSystemSchema($db) || !$editable)) { $displayParts = array( 'edit_lnk' => $<API key>::NO_EDIT_OR_DELETE, 'del_lnk' => $<API key>::NO_EDIT_OR_DELETE, 'sort_lnk' => '1', 'nav_bar' => '1', 'bkm_form' => '1', 'text_btn' => '1', 'pview_lnk' => '1' ); } if (isset($_REQUEST['printview']) && $_REQUEST['printview'] == '1') { $displayParts = array( 'edit_lnk' => $<API key>::NO_EDIT_OR_DELETE, 'del_lnk' => $<API key>::NO_EDIT_OR_DELETE, 'sort_lnk' => '0', 'nav_bar' => '0', 'bkm_form' => '0', 'text_btn' => '0', 'pview_lnk' => '0' ); } if (isset($_REQUEST['table_maintenance'])) { $scripts->addFile('makegrid.js'); $scripts->addFile('sql.js'); $<API key> = ''; if (isset($message)) { $message = PMA_Message::success($message); $<API key> = PMA_Util::getMessage( $message, $GLOBALS['sql_query'], 'success' ); } $<API key> .= <API key>( $<API key>, $pmaThemeImage, $url_query, $displayParts, false, $unlim_num_rows, $num_rows, $showtable, $result, $<API key> ); if (empty($sql_data) || ($sql_data['valid_queries'] = 1)) { $response->addHTML($<API key>); exit(); } } if (!isset($_REQUEST['printview']) || $_REQUEST['printview'] != '1') { $scripts->addFile('makegrid.js'); $scripts->addFile('sql.js'); unset($GLOBALS['message']); //we don't need to buffer the output in getMessage here. //set a global variable and check against it in the function $GLOBALS['buffer_message'] = false; } $<API key> = <API key>( isset($disp_query) ? $disp_query : null, $GLOBALS['cfg']['ShowSQL'], isset($sql_data) ? $sql_data : null, isset($disp_message) ? $disp_message : null ); $<API key> = <API key>( $url_query, $db, isset($profiling_results) ? $profiling_results :array() ); $<API key> = <API key>( $table, $db, $editable, $has_unique ); $<API key> = <API key>(); $table_html = <API key>( $<API key>, $pmaThemeImage, $url_query, $displayParts, $editable, $unlim_num_rows, $num_rows, $showtable, $result, $<API key> ); $<API key> = <API key>( isset($query_type) ? $query_type : null, isset($selectedTables) ? $selectedTables : null, $db ); $cfgBookmark = <API key>(); if ($cfgBookmark) { $<API key> = <API key>( $displayParts, $cfgBookmark, $sql_query, $db, $table, isset($complete_query) ? $complete_query : $sql_query, $cfgBookmark['user'] ); } else { $<API key> = ''; } $html_output = isset($<API key>) ? $<API key> : ''; $html_output .= <API key>( $<API key>, $<API key>, $<API key>, $<API key>, $table_html, $<API key>, $<API key> ); return $html_output; } /** * Function to execute the query and send the response * * @param array $<API key> analysed sql results * @param bool $is_gotofile whether goto file or not * @param string $db current database * @param string $table current table * @param bool|null $find_real_end whether to find real end or not * @param string $<API key> the sql query to be stored as bookmark * @param array|null $extra_data extra data * @param string $message_to_show message to show * @param string $message message * @param array|null $sql_data sql data * @param string $goto goto page url * @param string $pmaThemeImage uri of the PMA theme image * @param string $disp_query display query * @param string $disp_message display message * @param string $query_type query type * @param string $sql_query sql query * @param array $selectedTables array of table names selected from the * database structure page, for an action * like check table, optimize table, * analyze table or repair table * @param string $complete_query complete query * * @return void */ function <API key>($<API key>, $is_gotofile, $db, $table, $find_real_end, $<API key>, $extra_data, $message_to_show, $message, $sql_data, $goto, $pmaThemeImage, $disp_query, $disp_message, $query_type, $sql_query, $selectedTables, $complete_query ) { $html_output = <API key>( $<API key>, // <API key> $is_gotofile, // is_gotofile $db, $table, // table $find_real_end, // find_real_end $<API key>, // <API key> $extra_data, // extra_data $message_to_show, // message_to_show $message, // message $sql_data, // sql_data $goto, // goto $pmaThemeImage, // pmaThemeImage $disp_query, // disp_query $disp_message, // disp_message $query_type, // query_type $sql_query, // sql_query $selectedTables, // selectedTables $complete_query // complete_query ); $response = PMA_Response::getInstance(); $response->addHTML($html_output); } /** * Function to execute the query and send the response * * @param array $<API key> analysed sql results * @param bool $is_gotofile whether goto file or not * @param string $db current database * @param string $table current table * @param bool|null $find_real_end whether to find real end or not * @param string $<API key> the sql query to be stored as bookmark * @param array|null $extra_data extra data * @param string $message_to_show message to show * @param string $message message * @param array|null $sql_data sql data * @param string $goto goto page url * @param string $pmaThemeImage uri of the PMA theme image * @param string $disp_query display query * @param string $disp_message display message * @param string $query_type query type * @param string $sql_query sql query * @param array $selectedTables array of table names selected from the * database structure page, for an action * like check table, optimize table, * analyze table or repair table * @param string $complete_query complete query * * @return string html */ function <API key>($<API key>, $is_gotofile, $db, $table, $find_real_end, $<API key>, $extra_data, $message_to_show, $message, $sql_data, $goto, $pmaThemeImage, $disp_query, $disp_message, $query_type, $sql_query, $selectedTables, $complete_query ) { // Include PMA_Index class for use in PMA_DisplayResults class include_once './libraries/Index.class.php'; include_once 'libraries/DisplayResults.class.php'; // Handle disable/enable foreign key checks $default_fk_check = PMA_Util::<API key>(); // Handle remembered sorting order, only for single table query. // Handling is not required when it's a union query // (the parser never sets the 'union' key to 0). // Handling is also not required if we came from the "Sort by key" // drop-down. if (<API key>($<API key>) && empty($<API key>['union']) && ! isset($_REQUEST['sort_by_key']) ) { if (! isset($_SESSION['sql_from_query_box'])) { PMA_handleSortOrder($db, $table, $<API key>, $sql_query); } else { unset($_SESSION['sql_from_query_box']); } } $<API key> = new PMA_DisplayResults( $GLOBALS['db'], $GLOBALS['table'], $GLOBALS['goto'], $sql_query ); $<API key>-><API key>(); // assign default full_sql_query $full_sql_query = $sql_query; // Do append a "LIMIT" clause? if (<API key>($<API key>)) { $full_sql_query = <API key>($<API key>); } $GLOBALS['reload'] = <API key>($db); $GLOBALS['dbi']->selectDb($db); // Execute the query list($result, $num_rows, $unlim_num_rows, $profiling_results, $extra_data) = PMA_executeTheQuery( $<API key>, $full_sql_query, $is_gotofile, $db, $table, isset($find_real_end) ? $find_real_end : null, isset($<API key>) ? $<API key> : null, isset($extra_data) ? $extra_data : null ); // No rows returned -> move back to the calling page if ((0 == $num_rows && 0 == $unlim_num_rows) || $<API key>['is_affected']) { $html_output = <API key>( $<API key>, $db, $table, isset($message_to_show) ? $message_to_show : null, $num_rows, $<API key>, $extra_data ); } else { // At least one row is returned -> displays a table with results $html_output = <API key>( isset($result) ? $result : null, $<API key>, $db, $table, isset($message) ? $message : null, isset($sql_data) ? $sql_data : null, $<API key>, $pmaThemeImage, $unlim_num_rows, $num_rows, isset($disp_query) ? $disp_query : null, isset($disp_message) ? $disp_message : null, $profiling_results, isset($query_type) ? $query_type : null, isset($selectedTables) ? $selectedTables : null, $sql_query, isset($complete_query) ? $complete_query : null ); } // Handle disable/enable foreign key checks PMA_Util::<API key>($default_fk_check); return $html_output; } /** * Function to define pos to display a row * * @param Int $number_of_line Number of the line to display * @param Int $max_rows Number of rows by page * * @return Int Start position to display the line */ function <API key>($number_of_line, $max_rows = null) { if (null === $max_rows) { $max_rows = $_SESSION['tmpval']['max_rows']; } return @((ceil($number_of_line / $max_rows) - 1) * $max_rows); } /** * Function to calculate new pos if pos is higher than number of rows * of displayed table * * @param String $db Database name * @param String $table Table name * @param Int|null $pos Initial position * * @return Int Number of pos to display last page */ function <API key>($db, $table, $pos) { if (null === $pos) { $pos = $_SESSION['tmpval']['pos']; } $unlim_num_rows = PMA_Table::countRecords($db, $table, true); //If position is higher than number of rows if ($unlim_num_rows <= $pos && 0 != $pos) { $pos = <API key>($unlim_num_rows); } return $pos; }
<?php /** * @file * Contains \Drupal\Console\Command\Generate\<API key>. */ namespace Drupal\Console\Command\Generate; use Drupal\Console\Generator\<API key>; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; use Drupal\Console\Command\Shared\ServicesTrait; use Drupal\Console\Command\Shared\ModuleTrait; use Drupal\Console\Command\Shared\FormTrait; use Drupal\Console\Command\Shared\ConfirmationTrait; use Symfony\Component\Console\Command\Command; use Drupal\Console\Style\DrupalStyle; use Drupal\Console\Extension\Manager; use Drupal\Console\Command\Shared\CommandTrait; use Drupal\Console\Utils\StringConverter; use Drupal\Console\Utils\ChainQueue; /** * Class <API key> * @package Drupal\Console\Command\Generate */ class <API key> extends Command { use ServicesTrait; use ModuleTrait; use FormTrait; use ConfirmationTrait; use CommandTrait; /** * @var Manager */ protected $extensionManager; /** * @var <API key> */ protected $generator; /** * @var StringConverter */ protected $stringConverter; /** * <API key> constructor. * @param Manager $extensionManager * @param <API key> $generator * @param StringConverter $stringConverter */ public function __construct( Manager $extensionManager, <API key> $generator, StringConverter $stringConverter ) { $this->extensionManager = $extensionManager; $this->generator = $generator; $this->stringConverter = $stringConverter; parent::__construct(); } protected function configure() { $this ->setName('generate:plugin:type:yaml') ->setDescription($this->trans('commands.generate.plugin.type.yaml.description')) ->setHelp($this->trans('commands.generate.plugin.type.yaml.help')) ->addOption('module', '', InputOption::VALUE_REQUIRED, $this->trans('commands.common.options.module')) ->addOption( 'class', '', InputOption::VALUE_OPTIONAL, $this->trans('commands.generate.plugin.type.yaml.options.class') ) ->addOption( 'plugin-name', '', InputOption::VALUE_OPTIONAL, $this->trans('commands.generate.plugin.type.yaml.options.plugin-name') ) ->addOption( 'plugin-file-name', '', InputOption::VALUE_OPTIONAL, $this->trans('commands.generate.plugin.type.yaml.options.plugin-file-name') ); } /** * {@inheritdoc} */ protected function execute(InputInterface $input, OutputInterface $output) { $module = $input->getOption('module'); $class_name = $input->getOption('class'); $plugin_name = $input->getOption('plugin-name'); $plugin_file_name = $input->getOption('plugin-file-name'); $this->generator->generate($module, $class_name, $plugin_name, $plugin_file_name); } protected function interact(InputInterface $input, OutputInterface $output) { $io = new DrupalStyle($input, $output); // --module option $module = $input->getOption('module'); if (!$module) { // @see Drupal\Console\Command\Shared\ModuleTrait::moduleQuestion $module = $this->moduleQuestion($io); $input->setOption('module', $module); } // --class option $class_name = $input->getOption('class'); if (!$class_name) { $class_name = $io->ask( $this->trans('commands.generate.plugin.type.yaml.options.class'), 'ExamplePlugin' ); $input->setOption('class', $class_name); } // --plugin-name option $plugin_name = $input->getOption('plugin-name'); if (!$plugin_name) { $plugin_name = $io->ask( $this->trans('commands.generate.plugin.type.yaml.options.plugin-name'), $this->stringConverter-><API key>($class_name) ); $input->setOption('plugin-name', $plugin_name); } // --plugin-file-name option $plugin_file_name = $input->getOption('plugin-file-name'); if (!$plugin_file_name) { $plugin_file_name = $io->ask( $this->trans('commands.generate.plugin.type.yaml.options.plugin-file-name'), strtr($plugin_name, '_-', '..') ); $input->setOption('plugin-file-name', $plugin_file_name); } } }
<?PHP ?> <?PHP require_once "../functions.php"; global $DEBUG; if ($DEBUG) { $starttime_main = microtime(true); } $pagId = 'management'; require_once "../session.php"; require_once "../header.php"; if (isset($_GET['sensorInfo'])) { // Runtime sensor info enable/disable if ($_GET['sensorInfo'] == 0) { $_SESSION['getSensorInfo'] = false; } elseif ($_GET['sensorInfo'] == 1) { $_SESSION['getSensorInfo'] = true; } } elseif (isset($GetSensorInfo)) { // Config time sensor info enable/disable if (!isset($_SESSION['getSensorInfo'])) { if ($GetSensorInfo == false) { $_SESSION['getSensorInfo'] = false; } else { $_SESSION['getSensorInfo'] = true; } } } if (isset($_GET['s'])) { // Sensors Tasks // Delete a sensor do if (isset($_GET['delete']) AND isset($_GET['sensor']) AND $sensorToDelete = @sanitize_int($_GET['sensor'], $min = '0')) { $_SESSION['delFilter']['src_sensor'] = $sensorToDelete; } elseif (isset($_POST['Edit']) AND $_POST['Edit'] == "Save" AND $_POST['Sensor'] != "") { // Save a edited sensor $sensorToSave = @sanitize_int($_POST['Sensor'], $min = '0'); $sensorName = @<API key>($_POST['Name']); if ($sensorName == "") { print "A name is needed!"; break; } $sensorPass = @<API key>($_POST['Pass'], $min = '5', $max = '20'); if (!$sensorPass) { print "Password too short, or too long."; break; } elseif ( preg_match('/[^a-zA-Z0-9\.\-\_\@\s]/', $_POST['Pass'])) { print "Invalid caracter: use \"a-z A-Z 0-9 . - _ @ / ? = &\""; break; } $sensorIp = $_POST['IP']; if ($sensorIp == "") { $sensorIp = null; } elseif (preg_match('/^Any$/i', $sensorIp )) { $sensorIp = null; } elseif (preg_match('/^0.0.0.0$/', $sensorIp)) { $sensorIp = null; } elseif (validateIP($sensorIp)) { $sensorIp = $sensorIp; } else { print "Invalid IP Address"; $sensorIp = ""; break; } $typeList = sensorsType(); $sensorTypeTry = @sanitize_int($_POST['type'], $min = '0' ); $typeCount = count($typeList[0]); foreach ($typeList[0] as $key => $type) { if ($type['type'] == $sensorTypeTry) { $sensorType = $sensorTypeTry; break; } if ($typeCount == $key + 1) { print "Invalid sensor type!"; break 2; } } if ($_POST['clientIPinHeader'] == "1") { $clientIpInHeader = true; $clientIpHeader = @<API key>($_POST['clientIPHeader'], $min = '2', $max = '40'); } else { $clientIpInHeader = false; $clientIpHeader = null; } $sensorDescription = @<API key>($_POST['Description']); if ($sensorToSave) { $sensorSaveResult = saveSensor($sensorToSave, $sensorName, $sensorIp, $sensorDescription, $sensorType, $sensorPass, $clientIpInHeader, $clientIpHeader); if (!$sensorSaveResult) { print $sensorSaveResult; } } } elseif (isset($_GET['disable']) AND $sensorToDisable = @sanitize_int($_GET['sensor'], $min = '0')) { // Disable a sensor disableEnableSensor($sensorToDisable, 'disable'); } elseif (isset($_GET['enable']) AND $sensorToEnable = @sanitize_int($_GET['sensor'], $min = '0')) { // Enable a sensor disableEnableSensor($sensorToEnable, 'enable'); }while (false); // Save a new sensor do if (isset($_POST['New']) AND $_POST['New'] == "Save") { $sensorName = @<API key>($_POST['Name'], $min = '5', $max = '30'); if ($sensorName == "") { print "A name is needed!"; break; } $sensorPass = @<API key>($_POST['Pass'], $min = '5', $max = '20'); if (!$sensorPass) { print "Password too short, or too long."; break; } elseif ( preg_match('/[^a-zA-Z0-9\.\-\_\@\s]/', $_POST['Pass'])) { print "Invalid caracter: use \"a-z A-Z 0-9 . - _ @ / ? = &\""; break; } $sensorIp = $_POST['IP']; // will be validated in specific functions. if ($sensorIp == "") { $sensorIp = null; } elseif (preg_match('/^Any$/i', $sensorIp)) { $sensorIp = null; } elseif (preg_match('/^0.0.0.0$/i', $sensorIp)) { $sensorIp = null; } elseif (validateIP($sensorIp)) { $sensorIp = $sensorIp; } else { print "Invalid IP Address"; break; } $typeList = sensorsType(); $sensorTypeTry = @sanitize_int($_POST['type'], $min = '0'); $typeCount = count($typeList[0]); foreach ($typeList[0] as $key => $type) { if ($type['type'] == $sensorTypeTry) { $sensorType = $sensorTypeTry; break; } if ($typeCount == $key + 1) { print "Invalid sensor type!"; break 2; } } if ($_POST['clientIPinHeader'] == "1") { $clientIpInHeader = true; $clientIpHeader = @<API key>($_POST['clientIPHeader'], $min = '2', $max = '40'); } else { $clientIpInHeader = false; $clientIpHeader = null; } $sensorDescription = @<API key>($_POST['Description']); $sensorToSave = "new"; if ($sensorToSave) { $sensorSaveResult = saveSensor($sensorToSave, $sensorName, $sensorIp, $sensorDescription, $sensorType, $sensorPass, $clientIpInHeader, $clientIpHeader); if (!$sensorSaveResult) { print $sensorSaveResult; } } } while (false); } elseif (isset($_GET['u'])) { // Users Tasks // Delete a user do if (isset($_GET['Delete']) AND isset($_GET['User']) AND $_GET['User'] > 1) { $userToDelete = @sanitize_int($_GET['User'], $min = '2'); if ($userToDelete == 1 ) { print "User Admin cannot be deleted!"; break; } if ($userToDelete) { $userDeleteResult = deleteUser($userToDelete); if (!$userDeleteResult) { print $userDeleteResult; } } } while (false); // Save a edited user do if (isset($_POST['Edit']) AND $_POST['Edit'] == "Save" AND $_POST['User'] != "") { $userToSave = @sanitize_int($_POST['User'], $min = '0'); $userName = @<API key>($_POST['Name']); if ($userName == "") { print "A username is needed!"; break; } if ($_POST['Pass'] != $_POST['Pass2']) { print "The passwords don't match!"; break; } if (strlen($_POST['Pass']) == 0 AND strlen($_POST['Pass2'] == 0)) { $userPass = ''; } else { $userPass = @<API key>($_POST['Pass'], $min = '5', $max = '30'); if (!$userPass) { print "Password too short, or too long."; break; } elseif ( preg_match('/[^a-zA-Z0-9\.\-\_\@\s]/', $_POST['Pass'])) { print "Invalid caracter: use \"a-z A-Z 0-9 . - _ @ / ? = &\""; break; } } $userEmail = @<API key>($_POST['email']); if ($userEmail == "") { $userEmail = null; } elseif (!preg_match('/@/i', $userEmail)) { print "Invalid email address"; break; } if ($userToSave) { $userSaveResult = userSave($userToSave, $userName, $userEmail, $userPass); if (!$userSaveResult) { print $userSaveResult; } } } while (false); // Save a new user do if (isset($_POST['New']) AND $_POST['New'] == "Save") { $userName = @<API key>($_POST['Name'], $min = '5', $max = '30'); if ($userName == "") { print "A username is needed!"; break; } if ($_POST['Pass'] != $_POST['Pass2']) { print "The passwords don't match!"; break; } $userPass = @<API key>($_POST['Pass'], $min = '5', $max = '30'); if (!$userPass) { print "Password too short, or too long."; break; } elseif ( preg_match('/[^a-zA-Z0-9\.\-\_\@\s]/', $_POST['Pass'])) { print "Invalid caracter: use \"a-z A-Z 0-9 . - _ @ / ? = &\""; break; } $userEmail = @<API key>($_POST['email']); if ($userEmail == "") { $userEmail = null; } elseif (!preg_match('/@/i', $userEmail)) { print "Invalid email address"; break; } $userToSave = "new"; if ($userToSave) { $userSaveResult = userSave($userToSave, $userName, $userEmail, $userPass); if (!$userSaveResult) { print $userSaveResult; } } } while (false); } ?> <!-- <div id="page-wrap"> --> <div id="page-wrap"> <div id="main-content"> <div id="management_menu"> <p> <?PHP if (isset($_GET['s']) OR empty($_GET)) { print "<div id=\"active\" class=\"mgtmenu\">"; } else { print "<div class=\"mgtmenu\">"; } print "<a href=\"management.php?s\">Sensors </a> <br />"; print "</div>"; if (isset($_GET['u'])) { print "<div id=\"active\" class=\"mgtmenu\">"; } else { print "<div class=\"mgtmenu\">"; } print "<a href=\"management.php?u\">Users </a><br />"; print "</div>"; if (isset($_GET['i'])) { print "<div id=\"active\" class=\"mgtmenu\">"; } else { print "<div class=\"mgtmenu\">"; } print "<a href=\"management.php?i\">Info </a><br />"; print "</div>"; ?> </p> </div> <div id="<API key>"> <div id="management_content"> <?PHP if (isset($_GET['u'])) { // Edit a user if (isset($_GET['Edit']) AND $_GET['User'] != "") { $userToEdit = @sanitize_int($_GET['User'], $min = '0'); $user = getUsers($userToEdit); print "<form method=\"POST\" action=\"management.php?u\">"; print "<table>"; print "<tr>"; print "<td>ID</td><td>$userToEdit <input type=\"hidden\" name=\"User\" value=\"".$userToEdit."\"></td>"; print "</tr><tr>"; print "<td>Username</td><td><input type=\"text\" name=\"Name\" value=\"" . $user[0]['username'] . "\" /> (Min. 5 - Max. 30 characters)</td>"; print "</tr><tr>"; print "<td>e-mail</td><td><input type=\"text\" name=\"email\" value=\"" . $user[0]['email'] . "\"></td>"; print "</tr>"; print "<tr>&nbsp;</tr>"; print "<tr><td>"; print "<input type=\"submit\" name=\"Edit\" value=\"Save\">"; print "</table>"; } elseif (isset($_GET['New']) AND $_GET['New'] == 'User') { print "<form method=\"POST\" action=\"management.php?u\">"; print "<table>"; print "<tr>"; print "<td>Username</td><td><input type=\"text\" name=\"Name\" value=\"\" /> (Min. 5 - Max. 30 characters)</td>"; print "</tr><tr>"; print "<td>Password</td><td><input type=\"password\" name=\"Pass\" value=\"\"> (Min. 5 - Max. 20 characters)</td>"; print "</tr><tr>"; print "<td>Password (confirmation)</td><td><input type=\"password\" name=\"Pass2\" value=\"\"> (Min. 5 - Max. 20 characters)</td>"; print "</tr><tr>"; print "<td>e-mail</td><td><input type=\"text\" name=\"email\" value=\"\"></td>"; print "</tr>"; print "<tr>&nbsp;</tr>"; print "<tr><td>"; print "<input type=\"submit\" name=\"New\" value=\"Save\">"; print "</table>"; } else { ?> <div id="events_header"> <table width="100%" cellspacing="0" cellpadding="0" border="0"> <tbody><tr> <td align="left" class="textHeaderDark"> </td> <td align="left" class="textHeaderDark"> <div class="toolmenu"> <ul> <li><a class="rigth" href="management.php?u&New=User">[+] Add New User</a></li> </ul> </div> </td> </tr></tbody> </table> </div> <?PHP print "<table id=\"ManagementTable\">"; print "<tr>"; print "<th width=\"20\" align=\"left\">ID</th>"; print "<th width=\"150\" align=\"left\">User</th>"; print "<th width=\"200\" align=\"left\">e-Mail</th>"; print "<th width=\"200\" align=\"left\"></th>"; print "</tr>"; $users = getUsers(); foreach ( $users as $user) { print "<tr>"; print "<td>".$user['user_id']."</td>"; print "<td>".$user['username']."</td>"; print "<td>".$user['email']."</td>"; print "<td>"; print "</td>"; print "<td>"; print "<div class=\"toolmenu\">"; print "<ul>"; print "<li><a class=\"rigth\" href=\"management.php?u&Edit&User=".$user['user_id']."\">Edit</a></li>"; print "<li><a class=\"rigth\" href=\"password.php?User=".$user['user_id']."\">Change Password</a></li>"; if ($user['user_id'] != 1) { print "<li><a class=\"left\" href=\"management.php?u&Delete&User=".$user['user_id']."\" onclick=\"return confirm('Are you sure you want to delete user ".$user['username']."?');\">Delete</a></li>"; } print "</ul>"; print "</div>"; print "</td>"; print "</tr>"; } print "</table>"; } } elseif (isset($_GET['i'])) { print "<table id=\"ManagementTable\">"; print "<tr>"; print "<td><span id=\"header_cap\">WAF-FLE Version:</span></td><td> $waffleVersion</td>"; print "</tr>"; print "<tr>"; print "<td><span id=\"header_cap\">APC Cache extension:</span></td><td> "; if (extension_loaded('apcu')) { print "Extension APCu (" . phpversion('apcu') . ") loaded, "; } elseif (extension_loaded('apc')) { print "Extension APCu (" . phpversion('apc') . ") loaded, "; } if (ini_get('apc.enabled')) { print "enabled "; } if ($APC_ON) { print " and turned \"on\" in WAF-FLE"; } else { print " but disabled in WAF-FLE"; } print "</td>"; print "</tr>"; if ($APC_ON) { print "<tr>"; print "<td><span id=\"header_cap\">APC Cache Timeout:</span></td><td> $CACHE_TIMEOUT seconds</td>"; print "</tr>"; } print "<tr>"; print "<td><span id=\"header_cap\">PHP version:</span></td><td> ". phpversion() ."</td>"; print "</tr>"; print "<tr>"; print "<td><span id=\"header_cap\">PHP Zend Version:</span></td><td> ".zend_version()."</td>"; print "</tr>"; $dbInfo = getDbInfo(); print "<tr>"; print "<td><span id=\"header_cap\">MySQL Version:</span></td><td>".$dbInfo['version']."</td>"; print "</tr>"; print "<tr>"; print "<td><span id=\"header_cap\">Database Name:</span></td><td>".$dbInfo['dbName']."</td>"; print "</tr>"; print "<tr>"; print "<td><span id=\"header_cap\">Database Size:</span></td><td>".bytesConvert($dbInfo['size'])."</td>"; print "</tr>"; $sensorCount = getSensors(); print "<tr>"; print "<td><span id=\"header_cap\">Number of sensors:</span></td><td>".count($sensorCount[0])."</td>"; print "</tr>"; print "<tr>"; print "<td><span id=\"header_cap\">Number of events on DB:</span></td><td>".number_format($dbInfo['total'])."</td>"; print "</tr>"; global $DEMO; if ($DEMO) { print "<tr>"; print "<td><span id=\"header_cap\">Demo mode: </span></td><td> Enabled</td>"; print "</tr>"; } print "</table>"; } else { // Edit a sensor ?> <script> function toggleStatus(){ if ($('#clientIPinHeader').is(':checked')) { $('#clientIPHeader').removeAttr('disabled','disabled'); } else{ $('#clientIPHeader').attr('disabled',""); }; }; </script> <?PHP if (isset($_GET['edit']) AND $sensorToEdit = @sanitize_int($_GET['sensor'], $min = '0')) { $sensor = getSensorName($sensorToEdit); $sensorType = sensorsType(); if ($sensor['IP'] == null) { $sensor['IP'] = "Any"; } print "<form method=\"POST\" action=\"management.php?s\">"; print "<table>"; print "<tr>"; print "<td width=\"100\">ID</td><td width=\"230\">$sensorToEdit <input type=\"hidden\" name=\"Sensor\" value=\"$sensorToEdit\"></td><td width=\"450\"></td>"; print "</tr><tr>"; print "<td>Sensor</td><td><input type=\"text\" name=\"Name\" value=\"".$sensor['name']."\" style=\"width: 195px\"></td><td> (Min. 5 - Max. 30 characters)</td>"; print "</tr><tr>"; print "<td>Password</td><td><input type=\"text\" name=\"Pass\" value=\"".$sensor['password']."\" style=\"width: 195px\"></td><td> (Min. 5 - Max. 20 characters)</td>"; print "</tr><tr>"; print "<td>IP</td><td><input type=\"text\" name=\"IP\" value=\"".$sensor['IP']."\" style=\"width: 195px\"></td><td> (empty|0.0.0.0 = Any, OR a host IP OR, a network range in CIDR)</td>"; print "</tr><tr>"; print "<td>Description</td><td><input type=\"text\" name=\"Description\" value=\"".$sensor['description']."\"></td><td></td>"; print "</tr><tr>"; if ($sensor['client_ip_via']) { print "<td>Use Client IP from header </td><td><input type=\"checkbox\" checked name=\"clientIPinHeader\" id=\"clientIPinHeader\" value=\"".$sensor['client_ip_via']."\" onchange=\"toggleStatus()\"> <input type=\"text\" name=\"clientIPHeader\" id=\"clientIPHeader\" value=\"".$sensor['client_ip_header']."\" style=\"width: 180px\" ></td><td> (Check if this ModSecurity sensor is behind a reverse proxy that send original client IP in a header. Define the header in text box, ie. \"X-Forwarded-For\", \"X-Real-IP\")</td>"; } else { print "<td>Use Client IP from header </td><td><input type=\"checkbox\" name=\"clientIPinHeader\" id=\"clientIPinHeader\" value=\"1\" onchange=\"toggleStatus()\"> <input type=\"text\" name=\"clientIPHeader\" id=\"clientIPHeader\" value=\"\" style=\"width: 180px\" disabled \"></td><td> (Check if this ModSecurity sensor is behind a reverse proxy that send original client IP in a header. Define the header in text box, ie. \"X-Forwarded-For\", \"X-Real-IP\")</td>"; } print "</tr><tr>"; print "<td>Type</td><td>"; print "<select name=\"type\">"; foreach ($sensorType[0] as $stype) { if ($sensor['type'] == $stype['type']) { print "<option value=\"".$stype['type']."\" selected=\"selected\">".$stype['Description']."</option>"; } else { print "<option value=\"".$stype['type']."\">".$stype['Description']."</option>"; } } print "</td><td></td>"; print "</tr>"; print "<tr>&nbsp;</tr>"; print "<tr><td>"; print "<input type=\"submit\" name=\"Edit\" value=\"Save\">"; print "</table>"; } elseif (isset($_GET['New']) AND $_GET['New'] == 'Sensor') { $sensorType = sensorsType(); print "<form method=\"POST\" action=\"management.php?s\">"; print "<table witdh=\"200\">"; print "<tr>"; print "<td><b>Sensor</b></td><td><input type=\"text\" name=\"Name\" value=\"\" /> (Min. 5 - Max. 30 characters)</td>"; print "</tr><tr>"; print "<td><b>Password</b></td><td><input type=\"text\" name=\"Pass\" value=\"\"> (Min. 5 - Max. 20 characters)</td>"; print "</tr><tr>"; print "<td><b>IP</b></td><td><input type=\"text\" name=\"IP\" value=\"Any\"> (empty|0.0.0.0 = Any, OR a host IP, OR a network range in CIDR)</td>"; print "</tr><tr>"; print "<td>Use Client IP from header </td><td><input type=\"checkbox\" name=\"clientIPinHeader\" id=\"clientIPinHeader\" value=\"1\" onchange=\"toggleStatus()\"> <input type=\"text\" name=\"clientIPHeader\" id=\"clientIPHeader\" value=\"\" style=\"width: 180px\" disabled \"></td><td> (Check if this ModSecurity sensor is behind a reverse proxy that send original client IP in a header. Define the header in text box, ie. \"X-Forwarded-For\", \"X-Real-IP\")</td>"; print "</tr><tr>"; print "<td><b>Description</b></td><td><input type=\"text\" name=\"Description\" value=\"\"></td>"; print "</tr><tr>"; print "<td><b>Type</b></td><td>"; print "<select name=\"type\">"; foreach ($sensorType[0] as $stype) { print "<option value=\"".$stype['type']."\">".$stype['Description']."</option>"; } print "</td>"; print "</tr>"; print "<tr>&nbsp;</tr>"; print "<tr><td>"; print "<input type=\"submit\" name=\"New\" value=\"Save\">"; print "</table>"; } else { ?> <div id="events_header"> <table width="100%" cellspacing="0" cellpadding="0" border="0"> <tbody><tr> <td align="left" class="textHeaderDark"> </td> <td align="left" class="textHeaderDark"> <div class="toolmenu"> <ul> <li><a class="rigth" href="management.php?New=Sensor">[+] Add New Sensor</a></li> </ul> </div> </td> </tr></tbody> </table> </div> <?PHP $sensors = getSensors(); if (count($sensors[0]) == 0) { print "<br>Please, add a new sensor."; } else { print "<table id=\"ManagementTable\">"; print "<tr>"; print "<th width=\"350\" align=\"left\">Sensor Details</th>"; if ($_SESSION['getSensorInfo'] == true) { print "<th width=\"450\" align=\"left\">Info/Stats (<a href=\"?sensorInfo=0\">disable load of this sensor info</a>)</th>"; } else { print "<th width=\"450\" align=\"left\">Info/Stats (<a href=\"?sensorInfo=1\">enable load of this sensor info</a>)</th>"; } print "<th width=\"200\" align=\"left\"></th>"; print "</tr>"; foreach ( $sensors[0] as $sensor) { if ($_SESSION['getSensorInfo'] == true) { $sensorInfo = getSensorInfo($sensor['sensor_id']); } print "<tr>"; print "<td width=\"350\" align=\"left\">"; print "<table id=\"sensorInfo\">"; print "<tr>"; print "<td><span id=\"header_cap\">Name:</span></td><td> ".$sensor['name']." (id: ".$sensor['sensor_id'].")</td>"; print "</tr><tr>"; if ($sensor['IP'] == "") { print "<td><span id=\"header_cap\">IP: </span></td><td> Any </td>"; } else { print "<td><span id=\"header_cap\">IP: </span></td><td>".$sensor['IP']." </td>"; } print "</tr><tr>"; print "<td><span id=\"header_cap\">Description: </span></td><td> ".$sensor['description']." </td>"; print "</tr><tr>"; print "<td><span id=\"header_cap\">Type: </span> </td><td>".$sensor['type_description']." </td>"; print "</tr><tr>"; print "<td><span id=\"header_cap\">Status: </span> </td><td>".$sensor['status']." </td>"; print "</tr></table>"; print "</td>"; print "<td width=\"450\" align=\"left\">"; print "<table id=\"sensorInfo\">"; print "<tr>"; print "<td><span id=\"header_cap\">Events total:</span></td><td>"; if ($_SESSION['getSensorInfo'] == true) { print number_format($sensorInfo['sensorEvents']); } print " </td>"; print "</tr><tr>"; print "<td><span id=\"header_cap\">Last event in:</span></td><td>".$sensorInfo['a_date']." </td>"; print "</tr><tr>"; print "<td><span id=\"header_cap\">Producer: </span></td><td>".$sensorInfo['h_producer']." </td>"; print "</tr><tr>"; print "<td><span id=\"header_cap\">Rule Set: </span></td><td>".$sensorInfo['h_producer_ruleset']." </td>"; print "</tr><tr>"; print "<td><span id=\"header_cap\">Server: </span></td><td>".$sensorInfo['h_server']." </td>"; print "</tr>"; print "</table>"; print "</td>"; print "<td width=\"200\">"; print "<div class=\"toolmenu\">"; print "<ul>"; print "<li><a class=\"rigth\" href=\"management.php?s&edit&sensor=".$sensor['sensor_id']."\">Edit</a></li>"; if ($sensor['status'] == 'Enabled') { print "<li><a class=\"rigth\" onclick=\"return confirm('Are you sure you want to disable sensor ".$sensor['name']."?');\" href=\"management.php?s&disable&sensor=".$sensor['sensor_id']."\">Disable</a></li>"; } elseif ($sensor['status'] == 'Disabled') { print "<li><a class=\"rigth\" onclick=\"return confirm('Are you sure you want to enable sensor ".$sensor['name']."?');\" href=\"management.php?s&enable&sensor=".$sensor['sensor_id']."\">Enable</a></li>"; } print "<li><a class=\"left\" href=\"management.php?s&delete&sensor=".$sensor['sensor_id']."\">Delete</a></li>"; print "</ul>"; print "<ul>"; print "<li><br><a class=\"left\" href=\"wizardfeeder.php?sensor=".$sensor['sensor_id']."\">Event Feeder Wizard</a></li>"; print "</ul>"; print "</div>"; print "</td>"; print "</tr>"; } } print "</table>"; } } ?> </p> </div> </div> </div> </div> <?PHP require_once "../footer.php"; ?>
package com.grillecube.client.renderer.camera; import com.grillecube.client.opengl.window.GLFWWindow; import com.grillecube.common.Logger; import com.grillecube.common.maths.Matrix4f; import com.grillecube.common.maths.Vector3f; import com.grillecube.common.world.terrain.WorldObjectTerrain; public class <API key> extends <API key> { public static final int <API key> = 32; public static final float RENDER_DISTANCE = WorldObjectTerrain.DIMX_SIZE * <API key>; public static final float FAR_DISTANCE = RENDER_DISTANCE * 1.2f; /** planes attributes */ private float fov; private float nearDistance; private float farDistance; class CameraPlane { Vector3f normal; Vector3f point; float d; CameraPlane() { this.normal = new Vector3f(); this.point = new Vector3f(); } void set(Vector3f a, Vector3f b, Vector3f c) { Vector3f aux1 = Vector3f.sub(a, b, null); Vector3f aux2 = Vector3f.sub(c, b, null); Vector3f.cross(aux2, aux1, this.normal); this.normal.normalise(); this.point.set(b); this.d = -(Vector3f.dot(this.normal, this.point)); } public float distance(float x, float y, float z) { return (d + Vector3f.dot(this.normal, x, y, z)); } public float distance(Vector3f point) { return (this.distance(point.x, point.y, point.z)); } } private static final int PLANE_TOP = 0; private static final int PLANE_BOT = 1; private static final int PLANE_LEFT = 2; private static final int PLANE_RIGHT = 3; private static final int PLANE_NEAR = 4; private static final int PLANE_FAR = 5; private CameraPlane[] planes; public <API key>(GLFWWindow window) { super(window); super.setPosition(0, 0, 16); this.setRotX(0); this.setRotY(0); this.setRotZ(0); this.planes = new CameraPlane[6]; for (int i = 0; i < this.planes.length; i++) { this.planes[i] = new CameraPlane(); } this.setFov(70); this.setNearDistance(0.01f); this.setFarDistance(RENDER_DISTANCE); this.setRenderDistance(RENDER_DISTANCE); } @Override public Camera clone() { <API key> camera = new <API key>(null); camera.setAspect(this.getAspect()); camera.setRot(this.getRot()); camera.setFov(this.getFov()); camera.setNearDistance(this.getNearDistance()); camera.setFarDistance(this.getFarDistance()); camera.setPosition(this.getPosition()); camera.setRenderDistance(this.getRenderDistance()); camera.setWorld(this.getWorld()); return (camera); } @Override public void update() { super.update(); this.createPlanes(); } @Override protected void <API key>(Matrix4f dst) { Matrix4f.perspective(dst, this.getAspect(), (float) Math.toRadians(this.getFov()), this.getNearDistance(), this.getFarDistance()); } /** recalculate the frustum planes */ Vector3f nc = new Vector3f(); Vector3f ntl = new Vector3f(); Vector3f ntr = new Vector3f(); Vector3f nbl = new Vector3f(); Vector3f nbr = new Vector3f(); Vector3f fc = new Vector3f(); Vector3f ftl = new Vector3f(); Vector3f ftr = new Vector3f(); Vector3f fbl = new Vector3f(); Vector3f fbr = new Vector3f(); /** * a function which creates the perspective view planes represented by the * camera */ private void createPlanes() { Vector3f up = Vector3f.AXIS_Y; Vector3f forward = this.getViewVector(); Vector3f right = Vector3f.cross(forward, up, null); up.normalise(); forward = forward.normalise(null); right.normalise(); float tang = (float) Math.tan(Math.toRadians(this.getFov() * 0.5f)); float nh = this.nearDistance * tang; float nw = nh * this.getAspect(); float fh = this.farDistance * tang; float fw = fh * this.getAspect(); nc.x = this.getPosition().x + forward.x * this.getNearDistance(); nc.y = this.getPosition().y + forward.y * this.getNearDistance(); nc.z = this.getPosition().z + forward.z * this.getNearDistance(); fc.x = this.getPosition().x + forward.x * this.getFarDistance(); fc.y = this.getPosition().y + forward.y * this.getFarDistance(); fc.z = this.getPosition().z + forward.z * this.getFarDistance(); // calculate rectangle planes corners (ftl = far, top, left) (nbr = // near, bot, right) // near plane corner ntl.x = nc.x + (up.x * nh) - (right.x * nw); ntl.y = nc.y + (up.y * nh) - (right.y * nw); ntl.z = nc.z + (up.z * nh) - (right.z * nw); ntr.x = nc.x + (up.x * nh) + (right.x * nw); ntr.y = nc.y + (up.y * nh) + (right.y * nw); ntr.z = nc.z + (up.z * nh) + (right.z * nw); nbl.x = nc.x - (up.x * nh) - (right.x * nw); nbl.y = nc.y - (up.y * nh) - (right.y * nw); nbl.z = nc.z - (up.z * nh) - (right.z * nw); nbr.x = nc.x - (up.x * nh) + (right.x * nw); nbr.y = nc.y - (up.y * nh) + (right.y * nw); nbr.z = nc.z - (up.z * nh) + (right.z * nw); // far plane corners ftl.x = fc.x + (up.x * fh) - (right.x * fw); ftl.y = fc.y + (up.y * fh) - (right.y * fw); ftl.z = fc.z + (up.z * fh) - (right.z * fw); ftr.x = fc.x + (up.x * fh) + (right.x * fw); ftr.y = fc.y + (up.y * fh) + (right.y * fw); ftr.z = fc.z + (up.z * fh) + (right.z * fw); fbl.x = fc.x - (up.x * fh) - (right.x * fw); fbl.y = fc.y - (up.y * fh) - (right.y * fw); fbl.z = fc.z - (up.z * fh) - (right.z * fw); fbr.x = fc.x - (up.x * fh) + (right.x * fw); fbr.y = fc.y - (up.y * fh) + (right.y * fw); fbr.z = fc.z - (up.z * fh) + (right.z * fw); // set the planes this.planes[PLANE_TOP].set(ntr, ntl, ftl); this.planes[PLANE_BOT].set(nbl, nbr, fbr); this.planes[PLANE_LEFT].set(ntl, nbl, fbl); this.planes[PLANE_RIGHT].set(nbr, ntr, fbr); this.planes[PLANE_NEAR].set(ntl, ntr, nbr); this.planes[PLANE_FAR].set(ftr, ftl, fbl); } public void setNearDistance(float f) { this.nearDistance = f; } public void setFarDistance(float f) { this.farDistance = f; } public void setFov(float f) { this.fov = f; } public float getNearDistance() { return (this.nearDistance); } public float getFarDistance() { return (this.farDistance); } public float getFov() { return (this.fov); } @Override public boolean isPointInFrustum(float x, float y, float z) { long t = System.nanoTime(); for (int i = 0; i < 6; i++) { if (this.planes[i].distance(x, y, z) < 0) { Logger.get().log(Logger.Level.DEBUG, "out: " + (System.nanoTime() - t)); return (false); } } Logger.get().log(Logger.Level.DEBUG, "in: " + (System.nanoTime() - t)); return (true); } @Override public boolean isBoxInFrustum(float x, float y, float z, float sx, float sy, float sz) { for (int i = 0; i < 6; i++) { CameraPlane plane = this.planes[i]; if (plane.distance(this.getVertexP(plane.normal, x, y, z, sx, sy, sz)) < 10) { return (false); // outside } if (plane.distance(this.getVertexN(plane.normal, x, y, z, sx, sy, sz)) < 0) { return (true); // intersect } } return (true); // fully inside } private Vector3f getVertexP(Vector3f normal, float x, float y, float z, float sx, float sy, float sz) { Vector3f res = new Vector3f(x, y, z); if (normal.x >= 0) { res.x += sx; } if (normal.y >= 0) { res.y += sy; } if (normal.z >= 0) { res.z += sz; } return (res); } private Vector3f getVertexN(Vector3f normal, float x, float y, float z, float sx, float sy, float sz) { Vector3f res = new Vector3f(x, y, z); if (normal.x <= 0) { res.x += sx; } if (normal.y <= 0) { res.y += sy; } if (normal.z <= 0) { res.z += sz; } return (res); } @Override public boolean isSphereInFrustum(Vector3f center, float radius) { for (int i = 0; i < 6; i++) { float distance = this.planes[i].distance(center); if (distance < -radius) { return (false); } if (distance < radius) { return (true); // intersect } } return (true); // inside } // UNDER HERE ARE MY OLD FASHION WAY TO CULL POINTS, MUCH SLOWER THAN THE // NEW // METHOD VIA PLANES // @Override // public boolean isBoxInFrustum(float x, float y, float z, float sx, float // sy, float sz) { // return (this.isPointInFrustum(x, y, z) || this.isPointInFrustum(x + sx, // y, z) // || this.isPointInFrustum(x, y, z + sz) || this.isPointInFrustum(x + sx, // y, z + sz) // || this.isPointInFrustum(x, y + sy, z) || this.isPointInFrustum(x + sx, y // + sy, z) // || this.isPointInFrustum(x, y + sy, z + sz) || this.isPointInFrustum(x + // sx, y + sy, z + sz)); // @Override // public boolean isSphereInFrustum(Vector3f center, float radius) { // return (this.isPointInFrustum(center)); // @Override // public boolean isPointInFrustum(float x, float y, float z) { // // get the vector which point to the given point // float vx = x - this.getPosition().x; // float vy = y - this.getPosition().y; // float vz = z - this.getPosition().z; // // get it length // float length = Vector3f.length(vx, vy, vz); // // normalize the vector // vx /= length; // vy /= length; // vz /= length; // double dot = vx * this.getViewVector().x + vy * this.getViewVector().y + // vz * this.getViewVector().z; // double angle = Math.toDegrees(Math.acos(dot)); // return (angle < this.getFov() / 2); // @Override // public boolean isBoxInFrustum(float x, float y, float z, float sx, float // sy, float sz) { // return (this.isPointInFrustum(x, y, z) || this.isPointInFrustum(x + sx, // y, z) // || this.isPointInFrustum(x, y, z + sz) || this.isPointInFrustum(x + sx, // y, z + sz) // || this.isPointInFrustum(x, y + sy, z) || this.isPointInFrustum(x + sx, y // + sy, z) // || this.isPointInFrustum(x, y + sy, z + sz) || this.isPointInFrustum(x + // sx, y + sy, z + sz)); // @Override // public boolean isSphereInFrustum(Vector3f center, float radius) { // return (this.isPointInFrustum(center)); }
<?php defined('_JEXEC') or die; $renderer = JFactory::getDocument()->loadRenderer('module'); $options = array('style' => 'raw'); $mod = JModuleHelper::getModule('mod_feed'); $param = array( 'rssurl' => 'https: 'rsstitle' => 0, 'rssdesc' => 0, 'rssimage' => 1, 'rssitems' => 5, 'rssitemdesc' => 1, 'word_count' => 200, 'cache' => 0, ); $params = array('params' => json_encode($param)); JHtml::_('formbehavior.chosen', 'select'); ?> <form action="index.php" method="post" name="adminForm" class="form-inline"> <input type="hidden" name="option" value="com_postinstall"> <label for="eid"><?php echo JText::_('<API key>'); ?></label> <?php echo JHtml::_('select.genericlist', $this->extension_options, 'eid', array('onchange' => 'this.form.submit()', 'class' => 'input-xlarge'), 'value', 'text', $this->eid, 'eid'); ?> </form> <?php if ($this->eid == 700) : ?> <div class="row-fluid"> <div class="span8"> <?php endif; ?> <?php if (empty($this->items)) : ?> <div class="hero-unit"> <h2><?php echo JText::_('<API key>'); ?></h2> <p><?php echo JText::_('<API key>'); ?></p> <a href="index.php?option=com_postinstall&amp;view=messages&amp;task=reset&amp;eid=<?php echo $this->eid; ?>&amp;<?php echo $this->token; ?>=1" class="btn btn-warning btn-large"> <span class="icon icon-eye-open" aria-hidden="true"></span> <?php echo JText::_('<API key>'); ?> </a> </div> <?php else : ?> <?php foreach ($this->items as $item) : ?> <fieldset> <legend><?php echo JText::_($item->title_key); ?></legend> <p class="small"> <?php echo JText::sprintf('<API key>', $item->version_introduced); ?> </p> <div> <?php echo JText::_($item->description_key); ?> <?php if ($item->type !== 'message') : ?> <a href="index.php?option=com_postinstall&amp;view=messages&amp;task=action&amp;id=<?php echo $item-><API key>; ?>&amp;<?php echo $this->token; ?>=1" class="btn btn-primary"> <?php echo JText::_($item->action_key); ?> </a> <?php endif; ?> <?php if (JFactory::getUser()->authorise('core.edit.state', 'com_postinstall')) : ?> <a href="index.php?option=com_postinstall&amp;view=message&amp;task=unpublish&amp;id=<?php echo $item-><API key>; ?>&amp;<?php echo $this->token; ?>=1" class="btn btn-inverse btn-small"> <?php echo JText::_('<API key>'); ?> </a> <?php endif; ?> </div> </fieldset> <?php endforeach; ?> <?php endif; ?> <?php if ($this->eid == 700) : ?> </div> <div class="span4"> <h2><?php echo JText::_('<API key>'); ?></h2> <?php echo $renderer->render($mod, $params, $options); ?> </div> </div> <?php endif; ?>
#ifndef LIBXLU_CFG_I_H #define LIBXLU_CFG_I_H #include "libxlu_internal.h" #include "libxlu_cfg_y.h" void xlu__cfg_set_free(XLU_ConfigSetting *set); XLU_ConfigSetting *xlu__cfg_set_mk(CfgParseContext*, int alloc, char *atom); void xlu__cfg_set_add(CfgParseContext*, XLU_ConfigSetting *set, char *atom); void xlu__cfg_set_store(CfgParseContext*, char *name, XLU_ConfigSetting *set, int lineno); char *xlu__cfgl_strdup(CfgParseContext*, const char *src); char *xlu__cfgl_dequote(CfgParseContext*, const char *src); void xlu__cfg_yyerror(YYLTYPE *locp, CfgParseContext*, char const *msg); void <API key>(CfgParseContext*, char const *msg); /* Why oh why does bison not declare this in its autogenerated .h ? */ int xlu__cfg_yyparse(CfgParseContext *ctx); #endif /*LIBXLU_CFG_I_H*/
<?xml version="1.0" ?><!DOCTYPE TS><TS language="pl" version="2.1"> <context> <name>AbstractCounter</name> <message> <location filename="../src/abstractcounter.cpp" line="62"/> <source>&amp;Set counter...</source> <translation>&amp;Ustaw licznik…</translation> </message> <message> <location filename="../src/abstractcounter.cpp" line="148"/> <source>Set counter</source> <translation>Ustaw licznik</translation> </message> <message> <location filename="../src/abstractcounter.cpp" line="148"/> <source>New value for counter &apos;%1&apos;:</source> <translation>Nowa wartość dla licznika &apos;%1&apos;:</translation> </message> </context> <context> <name><API key></name> <message> <location filename="../src/dlg_settings.cpp" line="381"/> <source>Theme settings</source> <translation>Ustawienia motywu</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="382"/> <source>Current theme:</source> <translation>Obecny motyw</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="384"/> <source>Card rendering</source> <translation>Rendering kart</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="385"/> <source>Display card names on cards having a picture</source> <translation>Wyświetl nazwy kart na kartach z obrazkami</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="386"/> <source>Scale cards on mouse over</source> <translation>Skaluj karty po najechaniu kursorem myszy</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="388"/> <source>Hand layout</source> <translation>Układ ręki</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="389"/> <source>Display hand horizontally (wastes space)</source> <translation>Wyświetl karty na ręce poziomo (marnuje miejsce)</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="390"/> <source>Enable left justification</source> <translation>Wyrównuj karty do lewej strony pola</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="392"/> <source>Table grid layout</source> <translation>Układ stołu</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="393"/> <source>Invert vertical coordinate</source> <translation>Odwróć współrzędne pionowe</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="394"/> <source>Minimum player count for multi-column layout:</source> <translation>Minimalna liczba graczy dla widoku wielokolumnowego</translation> </message> </context> <context> <name>BanDialog</name> <message> <location filename="../src/userlist.cpp" line="32"/> <source>ban &amp;user name</source> <translation>zbanuj nazwę &amp;użytkownika</translation> </message> <message> <location filename="../src/userlist.cpp" line="35"/> <source>ban &amp;IP address</source> <translation>zbanuj adres &amp;IP</translation> </message> <message> <location filename="../src/userlist.cpp" line="38"/> <source>ban client I&amp;D</source> <translation>ID zablokowanego konta</translation> </message> <message> <location filename="../src/userlist.cpp" line="51"/> <source>Ban type</source> <translation>Rodzaj bana</translation> </message> <message> <location filename="../src/userlist.cpp" line="54"/> <source>&amp;permanent ban</source> <translation>ban &amp;permanentny</translation> </message> <message> <location filename="../src/userlist.cpp" line="55"/> <source>&amp;temporary ban</source> <translation>ban &amp;tymczasowy</translation> </message> <message> <location filename="../src/userlist.cpp" line="58"/> <source>&amp;Days:</source> <translation>&amp;Dni:</translation> </message> <message> <location filename="../src/userlist.cpp" line="64"/> <source>&amp;Hours:</source> <translation>&amp;Godziny:</translation> </message> <message> <location filename="../src/userlist.cpp" line="70"/> <source>&amp;Minutes:</source> <translation>&amp;Minuty:</translation> </message> <message> <location filename="../src/userlist.cpp" line="85"/> <source>Duration of the ban</source> <translation>Czas trwania bana</translation> </message> <message> <location filename="../src/userlist.cpp" line="88"/> <source>Please enter the reason for the ban. This is only saved for moderators and cannot be seen by the banned person.</source> <translation>Podaj przyczynę bana. Informacja ta zachowywana jest dla moderatorów i nie jest widoczna dla zbanowanej osoby.</translation> </message> <message> <location filename="../src/userlist.cpp" line="91"/> <source>Please enter the reason for the ban that will be visible to the banned person.</source> <translation>Podaj przyczynę bana do wglądu dla banowanej osoby.</translation> </message> <message> <location filename="../src/userlist.cpp" line="94"/> <source>&amp;OK</source> <translation>&amp;OK</translation> </message> <message> <location filename="../src/userlist.cpp" line="97"/> <source>&amp;Cancel</source> <translation>&amp;Anuluj</translation> </message> <message> <location filename="../src/userlist.cpp" line="115"/> <source>Ban user from server</source> <translation>Zbanuj użytkownika z serwera</translation> </message> <message> <location filename="../src/userlist.cpp" line="186"/> <location filename="../src/userlist.cpp" line="192"/> <location filename="../src/userlist.cpp" line="198"/> <location filename="../src/userlist.cpp" line="204"/> <source>Error</source> <translation>Błąd</translation> </message> <message> <location filename="../src/userlist.cpp" line="186"/> <source>You have to select a name-based, IP-based, clientId based, or some combination of the three to place a ban.</source> <translation>Aby ustawić bana, musisz wybrać nazwę, IP, ID klienta lub dowolną kombinację tej trójki.</translation> </message> <message> <location filename="../src/userlist.cpp" line="192"/> <source>You must have a value in the name ban when selecting the name ban checkbox.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/userlist.cpp" line="198"/> <source>You must have a value in the ip ban when selecting the ip ban checkbox.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/userlist.cpp" line="204"/> <source>You must have a value in the clientid ban when selecting the clientid ban checkbox.</source> <translation type="unfinished"/> </message> </context> <context> <name>CardDatabaseModel</name> <message> <location filename="../src/carddatabasemodel.cpp" line="59"/> <source>Name</source> <translation>Nazwa</translation> </message> <message> <location filename="../src/carddatabasemodel.cpp" line="60"/> <source>Sets</source> <translation>Dodatki</translation> </message> <message> <location filename="../src/carddatabasemodel.cpp" line="61"/> <source>Mana cost</source> <translation>Koszt many</translation> </message> <message> <location filename="../src/carddatabasemodel.cpp" line="62"/> <source>Card type</source> <translation>Typ karty</translation> </message> <message> <location filename="../src/carddatabasemodel.cpp" line="63"/> <source>P/T</source> <translation>S/W</translation> </message> <message> <location filename="../src/carddatabasemodel.cpp" line="64"/> <source>Color(s)</source> <translation>Kolor(y)</translation> </message> </context> <context> <name>CardFrame</name> <message> <location filename="../src/cardframe.cpp" line="65"/> <source>Image</source> <translation>Karta</translation> </message> <message> <location filename="../src/cardframe.cpp" line="66"/> <source>Description</source> <translation>Opis</translation> </message> <message> <location filename="../src/cardframe.cpp" line="67"/> <source>Both</source> <translation>Karta + opis</translation> </message> </context> <context> <name>CardInfoText</name> <message> <location filename="../src/cardinfotext.cpp" line="84"/> <source>Name:</source> <translation>Nazwa:</translation> </message> <message> <location filename="../src/cardinfotext.cpp" line="85"/> <source>Mana cost:</source> <translation>Koszt many:</translation> </message> <message> <location filename="../src/cardinfotext.cpp" line="86"/> <source>Color(s):</source> <translation>Kolor(y):</translation> </message> <message> <location filename="../src/cardinfotext.cpp" line="87"/> <source>Card type:</source> <translation>Typ karty:</translation> </message> <message> <location filename="../src/cardinfotext.cpp" line="88"/> <source>P / T:</source> <translation>P / T:</translation> </message> <message> <location filename="../src/cardinfotext.cpp" line="89"/> <source>Loyalty:</source> <translation>Lojalność:</translation> </message> </context> <context> <name>CardItem</name> <message> <location filename="../src/carditem.cpp" line="83"/> <source>&amp;Move to</source> <translation>Prze&amp;mieść na</translation> </message> <message> <location filename="../src/carditem.cpp" line="84"/> <source>&amp;Power / toughness</source> <translation>&amp;Siła / Wytrzymałość</translation> </message> </context> <context> <name>CardZone</name> <message> <location filename="../src/cardzone.cpp" line="52"/> <source>their hand</source> <comment>nominative</comment> <translation>ich rękę</translation> </message> <message> <location filename="../src/cardzone.cpp" line="53"/> <source>%1&apos;s hand</source> <comment>nominative</comment> <translation>ręka gracza: %1</translation> </message> <message> <location filename="../src/cardzone.cpp" line="59"/> <source>their library</source> <comment>look at zone</comment> <translation>ich bibliotekę</translation> </message> <message> <location filename="../src/cardzone.cpp" line="60"/> <source>%1&apos;s library</source> <comment>look at zone</comment> <translation>bibliotekę gracza %1</translation> </message> <message> <location filename="../src/cardzone.cpp" line="64"/> <source>of their library</source> <comment>top cards of zone,</comment> <translation type="unfinished"/> </message> <message> <location filename="../src/cardzone.cpp" line="65"/> <source>of %1&apos;s library</source> <comment>top cards of zone</comment> <translation type="unfinished"/> </message> <message> <location filename="../src/cardzone.cpp" line="69"/> <source>their library</source> <comment>reveal zone</comment> <translation type="unfinished"/> </message> <message> <location filename="../src/cardzone.cpp" line="70"/> <source>%1&apos;s library</source> <comment>reveal zone</comment> <translation type="unfinished"/> </message> <message> <location filename="../src/cardzone.cpp" line="74"/> <source>their library</source> <comment>shuffle</comment> <translation type="unfinished"/> </message> <message> <location filename="../src/cardzone.cpp" line="75"/> <source>%1&apos;s library</source> <comment>shuffle</comment> <translation type="unfinished"/> </message> <message> <location filename="../src/cardzone.cpp" line="79"/> <source>their library</source> <comment>nominative</comment> <translation type="unfinished"/> </message> <message> <location filename="../src/cardzone.cpp" line="80"/> <source>%1&apos;s library</source> <comment>nominative</comment> <translation type="unfinished"/> </message> <message> <location filename="../src/cardzone.cpp" line="85"/> <source>their graveyard</source> <comment>nominative</comment> <translation type="unfinished"/> </message> <message> <location filename="../src/cardzone.cpp" line="86"/> <source>%1&apos;s graveyard</source> <comment>nominative</comment> <translation type="unfinished"/> </message> <message> <location filename="../src/cardzone.cpp" line="90"/> <source>their exile</source> <comment>nominative</comment> <translation type="unfinished"/> </message> <message> <location filename="../src/cardzone.cpp" line="91"/> <source>%1&apos;s exile</source> <comment>nominative</comment> <translation type="unfinished"/> </message> <message> <location filename="../src/cardzone.cpp" line="97"/> <source>their sideboard</source> <comment>look at zone</comment> <translation type="unfinished"/> </message> <message> <location filename="../src/cardzone.cpp" line="98"/> <source>%1&apos;s sideboard</source> <comment>look at zone</comment> <translation type="unfinished"/> </message> <message> <location filename="../src/cardzone.cpp" line="102"/> <source>their sideboard</source> <comment>nominative</comment> <translation type="unfinished"/> </message> <message> <location filename="../src/cardzone.cpp" line="103"/> <source>%1&apos;s sideboard</source> <comment>nominative</comment> <translation type="unfinished"/> </message> </context> <context> <name><API key></name> <message> <location filename="../src/dlg_settings.cpp" line="469"/> <source>Nothing is here... yet</source> <translation>Nic tu nie ma.... jeszcze!</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="483"/> <source>General</source> <translation>Ogólne</translation> </message> </context> <context> <name>DeckListModel</name> <message> <location filename="../src/decklistmodel.cpp" line="142"/> <source>Number</source> <translation>Ilość</translation> </message> <message> <location filename="../src/decklistmodel.cpp" line="143"/> <source>Card</source> <translation>Karta</translation> </message> <message> <location filename="../src/decklistmodel.cpp" line="144"/> <source>Price</source> <translation>Cena</translation> </message> </context> <context> <name>DeckStatsInterface</name> <message> <location filename="../src/deckstats_interface.cpp" line="23"/> <location filename="../src/deckstats_interface.cpp" line="34"/> <source>Error</source> <translation>Błąd</translation> </message> <message> <location filename="../src/deckstats_interface.cpp" line="34"/> <source>The reply from the server could not be parsed.</source> <translation>Odpowiedź serwera nie mogła zostać zinterpretowana.</translation> </message> </context> <context> <name>DeckViewContainer</name> <message> <location filename="../src/tab_game.cpp" line="140"/> <source>Load deck...</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_game.cpp" line="141"/> <source>Load remote deck...</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_game.cpp" line="142"/> <source>Ready to s&amp;tart</source> <translation>Go&amp;towy do gry</translation> </message> <message> <location filename="../src/tab_game.cpp" line="157"/> <source>S&amp;ideboard unlocked</source> <translation>Tal&amp;ia poboczna otwarta</translation> </message> <message> <location filename="../src/tab_game.cpp" line="159"/> <source>S&amp;ideboard locked</source> <translation>Tal&amp;ia poboczna zamknięta</translation> </message> <message> <location filename="../src/tab_game.cpp" line="219"/> <source>Load deck</source> <translation>Wczytaj talię</translation> </message> <message> <location filename="../src/tab_game.cpp" line="229"/> <source>Error</source> <translation>Błąd</translation> </message> <message> <location filename="../src/tab_game.cpp" line="229"/> <source>The selected file could not be loaded.</source> <translation>Wybrany plik nie mógł zostać wczytany.</translation> </message> </context> <context> <name>DevReleaseChannel</name> <message> <location filename="../src/releasechannel.cpp" line="222"/> <source>Development snapshots</source> <translation type="unfinished"/> </message> <message> <location filename="../src/releasechannel.cpp" line="240"/> <source>No reply received from the release update server.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/releasechannel.cpp" line="250"/> <source>Invalid reply received from the release update server.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/releasechannel.cpp" line="287"/> <source>No reply received from the file update server.</source> <translation type="unfinished"/> </message> </context> <context> <name>DlgConnect</name> <message> <location filename="../src/dlg_connect.cpp" line="21"/> <source>Previous Host</source> <translation>Poprzedni Host</translation> </message> <message> <location filename="../src/dlg_connect.cpp" line="35"/> <source>New Host</source> <translation>Nowy Host</translation> </message> <message> <location filename="../src/dlg_connect.cpp" line="37"/> <source>&amp;Host:</source> <translation>&amp;Host:</translation> </message> <message> <location filename="../src/dlg_connect.cpp" line="39"/> <source>Enter host name</source> <translation>Wprowadź nazwę Hosta</translation> </message> <message> <location filename="../src/dlg_connect.cpp" line="42"/> <source>&amp;Port:</source> <translation>&amp;Port:</translation> </message> <message> <location filename="../src/dlg_connect.cpp" line="46"/> <source>Player &amp;name:</source> <translation>&amp;Nazwa gracza:</translation> </message> <message> <location filename="../src/dlg_connect.cpp" line="50"/> <source>P&amp;assword:</source> <translation>H&amp;asło:</translation> </message> <message> <location filename="../src/dlg_connect.cpp" line="55"/> <source>&amp;Save password</source> <translation>Zapi&amp;sz hasło</translation> </message> <message> <location filename="../src/dlg_connect.cpp" line="58"/> <source>A&amp;uto connect</source> <translation type="unfinished"/> </message> <message> <location filename="../src/dlg_connect.cpp" line="59"/> <source>Automatically connect to the most recent login when Cockatrice opens</source> <translation>Automatycznie połącz ostatnim loginem przy otwarciu Cockatrice</translation> </message> <message> <location filename="../src/dlg_connect.cpp" line="73"/> <source>Forgot password</source> <translation type="unfinished"/> </message> <message> <location filename="../src/dlg_connect.cpp" line="76"/> <source>Connect</source> <translation type="unfinished"/> </message> <message> <location filename="../src/dlg_connect.cpp" line="80"/> <source>Cancel</source> <translation type="unfinished"/> </message> <message> <location filename="../src/dlg_connect.cpp" line="99"/> <source>Server</source> <translation>Serwer</translation> </message> <message> <location filename="../src/dlg_connect.cpp" line="109"/> <source>Login</source> <translation>Login</translation> </message> <message> <location filename="../src/dlg_connect.cpp" line="124"/> <source>Connect to server</source> <translation>Połącz z serwerem</translation> </message> <message> <location filename="../src/dlg_connect.cpp" line="191"/> <source>Connect Warning</source> <translation>Ostrzeżenie połączenia</translation> </message> <message> <location filename="../src/dlg_connect.cpp" line="191"/> <source>The player name can&apos;t be empty.</source> <translation>Nazwa użytkownika nie może być pusta</translation> </message> </context> <context> <name>DlgCreateGame</name> <message> <location filename="../src/dlg_creategame.cpp" line="21"/> <source>Re&amp;member settings</source> <translation>Zapa&amp;miętaj ustawienia</translation> </message> <message> <location filename="../src/dlg_creategame.cpp" line="22"/> <source>&amp;Description:</source> <translation>&amp;Opis:</translation> </message> <message> <location filename="../src/dlg_creategame.cpp" line="27"/> <source>P&amp;layers:</source> <translation>&amp;Liczba graczy:</translation> </message> <message> <location filename="../src/dlg_creategame.cpp" line="51"/> <source>Game type</source> <translation>Format</translation> </message> <message> <location filename="../src/dlg_creategame.cpp" line="54"/> <source>&amp;Password:</source> <translation>&amp;Hasło:</translation> </message> <message> <location filename="../src/dlg_creategame.cpp" line="58"/> <source>Only &amp;buddies can join</source> <translation>Tylko dla zn&amp;ajomych</translation> </message> <message> <location filename="../src/dlg_creategame.cpp" line="59"/> <source>Only &amp;registered users can join</source> <translation>Tylko dla &amp;zarejestrowanych użytkowników</translation> </message> <message> <location filename="../src/dlg_creategame.cpp" line="73"/> <source>Joining restrictions</source> <translation>Ograniczenia dostępu</translation> </message> <message> <location filename="../src/dlg_creategame.cpp" line="76"/> <source>&amp;Spectators can watch</source> <translation>&amp;Widzowie dozwoleni</translation> </message> <message> <location filename="../src/dlg_creategame.cpp" line="79"/> <source>Spectators &amp;need a password to watch</source> <translation>Widzowie muszą z&amp;nać hasło</translation> </message> <message> <location filename="../src/dlg_creategame.cpp" line="80"/> <source>Spectators can &amp;chat</source> <translation>Widzowie mogą korzystać z &amp;czatu</translation> </message> <message> <location filename="../src/dlg_creategame.cpp" line="81"/> <source>Spectators can see &amp;hands</source> <translation>Widzowie mogą oglądać &amp;ręce</translation> </message> <message> <location filename="../src/dlg_creategame.cpp" line="87"/> <source>Spectators</source> <translation>Widzowie</translation> </message> <message> <location filename="../src/dlg_creategame.cpp" line="132"/> <source>&amp;Clear</source> <translation>&amp;Wyczyść</translation> </message> <message> <location filename="../src/dlg_creategame.cpp" line="138"/> <source>Create game</source> <translation>Stwórz grę</translation> </message> <message> <location filename="../src/dlg_creategame.cpp" line="180"/> <source>Game information</source> <translation>Informacje o grze</translation> </message> <message> <location filename="../src/dlg_creategame.cpp" line="256"/> <source>Error</source> <translation>Błąd</translation> </message> <message> <location filename="../src/dlg_creategame.cpp" line="256"/> <source>Server error.</source> <translation>Błąd serwera.</translation> </message> </context> <context> <name>DlgCreateToken</name> <message> <location filename="../src/dlg_create_token.cpp" line="23"/> <source>&amp;Name:</source> <translation>&amp;Nazwa:</translation> </message> <message> <location filename="../src/dlg_create_token.cpp" line="24"/> <source>Token</source> <translation>Token</translation> </message> <message> <location filename="../src/dlg_create_token.cpp" line="29"/> <source>C&amp;olor:</source> <translation>&amp;Kolor:</translation> </message> <message> <location filename="../src/dlg_create_token.cpp" line="31"/> <source>white</source> <translation>biały</translation> </message> <message> <location filename="../src/dlg_create_token.cpp" line="32"/> <source>blue</source> <translation>niebieski</translation> </message> <message> <location filename="../src/dlg_create_token.cpp" line="33"/> <source>black</source> <translation>czarny</translation> </message> <message> <location filename="../src/dlg_create_token.cpp" line="34"/> <source>red</source> <translation>czerwony</translation> </message> <message> <location filename="../src/dlg_create_token.cpp" line="35"/> <source>green</source> <translation>zielony</translation> </message> <message> <location filename="../src/dlg_create_token.cpp" line="36"/> <source>multicolor</source> <translation>wielokolorowy</translation> </message> <message> <location filename="../src/dlg_create_token.cpp" line="37"/> <source>colorless</source> <translation>bezkolorowy</translation> </message> <message> <location filename="../src/dlg_create_token.cpp" line="40"/> <source>&amp;P/T:</source> <translation>&amp;S/W:</translation> </message> <message> <location filename="../src/dlg_create_token.cpp" line="44"/> <source>&amp;Annotation:</source> <translation>&amp;Adnotacja:</translation> </message> <message> <location filename="../src/dlg_create_token.cpp" line="48"/> <source>&amp;Destroy token when it leaves the table</source> <translation>&amp;Zniszcz tokena kiedy opuści stół</translation> </message> <message> <location filename="../src/dlg_create_token.cpp" line="62"/> <source>Token data</source> <translation>Dane tokena</translation> </message> <message> <location filename="../src/dlg_create_token.cpp" line="69"/> <source>Show &amp;all tokens</source> <translation>Pok&amp;azuj wszystkie tokeny</translation> </message> <message> <location filename="../src/dlg_create_token.cpp" line="71"/> <source>Show tokens from this &amp;deck</source> <translation>Pokazuj tokeny z tej &amp;talii</translation> </message> <message> <location filename="../src/dlg_create_token.cpp" line="103"/> <source>Choose token from list</source> <translation>Wybierz token z listy:</translation> </message> <message> <location filename="../src/dlg_create_token.cpp" line="124"/> <source>Create token</source> <translation>Tworzenie tokena</translation> </message> </context> <context> <name>DlgEditAvatar</name> <message> <location filename="../src/dlg_edit_avatar.cpp" line="16"/> <location filename="../src/dlg_edit_avatar.cpp" line="59"/> <source>No image chosen.</source> <translation>Nie wybrano obrazu.</translation> </message> <message> <location filename="../src/dlg_edit_avatar.cpp" line="21"/> <source>To change your avatar, choose a new image. To remove your current avatar, confirm without choosing a new image.</source> <translation>By zmienić twojego awatara wybierz nowy obrazek. By usunąć twojego bieżącego awatara potwierdź bez wybierania nowego obrazka.</translation> </message> <message> <location filename="../src/dlg_edit_avatar.cpp" line="22"/> <source>Browse...</source> <translation>Przeglądaj...</translation> </message> <message> <location filename="../src/dlg_edit_avatar.cpp" line="39"/> <source>Change avatar</source> <translation>Zmień awatar</translation> </message> <message> <location filename="../src/dlg_edit_avatar.cpp" line="56"/> <source>Open Image</source> <translation>Otwórz plik obrazu</translation> </message> <message> <location filename="../src/dlg_edit_avatar.cpp" line="56"/> <source>Image Files (*.png *.jpg *.bmp)</source> <translation>Obrazy (*.png *.jpg *.bmp)</translation> </message> <message> <location filename="../src/dlg_edit_avatar.cpp" line="70"/> <source>Invalid image chosen.</source> <translation>Nieprawidłowy obraz.</translation> </message> </context> <context> <name>DlgEditPassword</name> <message> <location filename="../src/dlg_edit_password.cpp" line="14"/> <source>Old password:</source> <translation>Bieżące hasło:</translation> </message> <message> <location filename="../src/dlg_edit_password.cpp" line="23"/> <source>New password:</source> <translation>Nowe hasło:</translation> </message> <message> <location filename="../src/dlg_edit_password.cpp" line="28"/> <source>Confirm new password:</source> <translation>Potwierdź nowe hasło:</translation> </message> <message> <location filename="../src/dlg_edit_password.cpp" line="50"/> <source>Change password</source> <translation>Zmień hasło</translation> </message> <message> <location filename="../src/dlg_edit_password.cpp" line="59"/> <source>Error</source> <translation>Błąd</translation> </message> <message> <location filename="../src/dlg_edit_password.cpp" line="59"/> <source>The new passwords don&apos;t match.</source> <translation>Hasła nie są zgodne.</translation> </message> </context> <context> <name>DlgEditTokens</name> <message> <location filename="../src/dlg_edit_tokens.cpp" line="23"/> <source>&amp;Name:</source> <translation>&amp;Nazwa:</translation> </message> <message> <location filename="../src/dlg_edit_tokens.cpp" line="28"/> <source>C&amp;olor:</source> <translation>K&amp;olor:</translation> </message> <message> <location filename="../src/dlg_edit_tokens.cpp" line="30"/> <source>white</source> <translation>biały</translation> </message> <message> <location filename="../src/dlg_edit_tokens.cpp" line="31"/> <source>blue</source> <translation>niebieski</translation> </message> <message> <location filename="../src/dlg_edit_tokens.cpp" line="32"/> <source>black</source> <translation>czarny</translation> </message> <message> <location filename="../src/dlg_edit_tokens.cpp" line="33"/> <source>red</source> <translation>czerwony</translation> </message> <message> <location filename="../src/dlg_edit_tokens.cpp" line="34"/> <source>green</source> <translation>zielony</translation> </message> <message> <location filename="../src/dlg_edit_tokens.cpp" line="35"/> <source>multicolor</source> <translation>multikolorowy</translation> </message> <message> <location filename="../src/dlg_edit_tokens.cpp" line="36"/> <source>colorless</source> <translation>bezkolorowy</translation> </message> <message> <location filename="../src/dlg_edit_tokens.cpp" line="40"/> <source>&amp;P/T:</source> <translation>&amp;S/W:</translation> </message> <message> <location filename="../src/dlg_edit_tokens.cpp" line="45"/> <source>&amp;Annotation:</source> <translation>&amp;Adnotacja:</translation> </message> <message> <location filename="../src/dlg_edit_tokens.cpp" line="60"/> <source>Token data</source> <translation>Dane tokena</translation> </message> <message> <location filename="../src/dlg_edit_tokens.cpp" line="85"/> <location filename="../src/dlg_edit_tokens.cpp" line="141"/> <source>Add token</source> <translation>Dodaj token</translation> </message> <message> <location filename="../src/dlg_edit_tokens.cpp" line="88"/> <source>Remove token</source> <translation>Usuń token</translation> </message> <message> <location filename="../src/dlg_edit_tokens.cpp" line="113"/> <source>Edit tokens</source> <translation>Edytuj tokeny</translation> </message> <message> <location filename="../src/dlg_edit_tokens.cpp" line="141"/> <source>Please enter the name of the token:</source> <translation>Wprowadź nazwę tokena:</translation> </message> <message> <location filename="../src/dlg_edit_tokens.cpp" line="145"/> <source>Error</source> <translation>Błąd</translation> </message> <message> <location filename="../src/dlg_edit_tokens.cpp" line="145"/> <source>The chosen name conflicts with an existing card or token. Make sure to enable the &apos;token set&apos; in the &apos;Edit sets...&apos; dialog to display them correctly.</source> <translation>Wybrana nazwa koliduje z istniejącą już kartą lub tokenem. Upewnij się, że &apos;Dodatek zawierający tokeny&apos; jest włączony w oknie &apos;Edytuj listę dodatków&apos;</translation> </message> </context> <context> <name>DlgEditUser</name> <message> <location filename="../src/dlg_edit_user.cpp" line="13"/> <source>Email:</source> <translation>Email:</translation> </message> <message> <location filename="../src/dlg_edit_user.cpp" line="18"/> <source>Country:</source> <translation>Kraj:</translation> </message> <message> <location filename="../src/dlg_edit_user.cpp" line="21"/> <source>Undefined</source> <translation>Niezdefiniowane</translation> </message> <message> <location filename="../src/dlg_edit_user.cpp" line="35"/> <source>Real name:</source> <translation>Prawdziwe imię:</translation> </message> <message> <location filename="../src/dlg_edit_user.cpp" line="57"/> <source>Edit user profile</source> <translation>Edycja profilu użytkownika</translation> </message> </context> <context> <name>DlgFilterGames</name> <message> <location filename="../src/dlg_filter_games.cpp" line="19"/> <source>Show &apos;&amp;buddies only&apos; games</source> <translation>Pokaż gry &apos;&amp;tylko kolesie&apos;</translation> </message> <message> <location filename="../src/dlg_filter_games.cpp" line="22"/> <source>Show &amp;unavailable games</source> <translation>Pokaż nie&amp;dostępne gry</translation> </message> <message> <location filename="../src/dlg_filter_games.cpp" line="25"/> <source>Show &amp;password protected games</source> <translation>&amp;Pokaż gry wymagające hasła</translation> </message> <message> <location filename="../src/dlg_filter_games.cpp" line="30"/> <source>Game &amp;description:</source> <translation>&amp;Opis gry</translation> </message> <message> <location filename="../src/dlg_filter_games.cpp" line="35"/> <source>&amp;Creator name:</source> <translation>Założy&amp;ciel gry</translation> </message> <message> <location filename="../src/dlg_filter_games.cpp" line="51"/> <source>&amp;Game types</source> <translation>Typy roz&amp;grywki</translation> </message> <message> <location filename="../src/dlg_filter_games.cpp" line="56"/> <source>at &amp;least:</source> <translation>co &amp;najmniej</translation> </message> <message> <location filename="../src/dlg_filter_games.cpp" line="63"/> <source>at &amp;most:</source> <translation>co naj&amp;wyżej</translation> </message> <message> <location filename="../src/dlg_filter_games.cpp" line="76"/> <source>Maximum player count</source> <translation>Maksymalna liczba graczy</translation> </message> <message> <location filename="../src/dlg_filter_games.cpp" line="84"/> <source>Restrictions</source> <translation>Ograniczenia</translation> </message> <message> <location filename="../src/dlg_filter_games.cpp" line="117"/> <source>Filter games</source> <translation>Filtruj gry</translation> </message> </context> <context> <name><API key></name> <message> <location filename="../src/<API key>.cpp" line="29"/> <location filename="../src/<API key>.cpp" line="86"/> <source>Forgot Password Challenge Warning</source> <translation type="unfinished"/> </message> <message> <location filename="../src/<API key>.cpp" line="29"/> <source>Oops, looks like something has gone wrong. Please restart the forgot password process by using the forgot password button on the connection screen.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/<API key>.cpp" line="33"/> <source>&amp;Host:</source> <translation type="unfinished"/> </message> <message> <location filename="../src/<API key>.cpp" line="37"/> <source>&amp;Port:</source> <translation type="unfinished"/> </message> <message> <location filename="../src/<API key>.cpp" line="41"/> <source>Player &amp;name:</source> <translation type="unfinished"/> </message> <message> <location filename="../src/<API key>.cpp" line="45"/> <source>Email:</source> <translation type="unfinished"/> </message> <message> <location filename="../src/<API key>.cpp" line="77"/> <source>Forgot Password Challenge</source> <translation type="unfinished"/> </message> <message> <location filename="../src/<API key>.cpp" line="86"/> <source>The email address can&apos;t be empty.</source> <translation type="unfinished"/> </message> </context> <context> <name><API key></name> <message> <location filename="../src/<API key>.cpp" line="27"/> <source>&amp;Host:</source> <translation type="unfinished"/> </message> <message> <location filename="../src/<API key>.cpp" line="31"/> <source>&amp;Port:</source> <translation type="unfinished"/> </message> <message> <location filename="../src/<API key>.cpp" line="35"/> <source>Player &amp;name:</source> <translation type="unfinished"/> </message> <message> <location filename="../src/<API key>.cpp" line="56"/> <source>Forgot Password Request</source> <translation type="unfinished"/> </message> <message> <location filename="../src/<API key>.cpp" line="65"/> <source>Forgot Password Request Warning</source> <translation type="unfinished"/> </message> <message> <location filename="../src/<API key>.cpp" line="65"/> <source>The player name can&apos;t be empty.</source> <translation type="unfinished"/> </message> </context> <context> <name><API key></name> <message> <location filename="../src/<API key>.cpp" line="29"/> <location filename="../src/<API key>.cpp" line="100"/> <location filename="../src/<API key>.cpp" line="106"/> <location filename="../src/<API key>.cpp" line="112"/> <location filename="../src/<API key>.cpp" line="118"/> <source>Forgot Password Reset Warning</source> <translation type="unfinished"/> </message> <message> <location filename="../src/<API key>.cpp" line="29"/> <source>Opps, looks like something has gone wrong. Please re-start the forgot password process by using the forgot password button on the connection screen.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/<API key>.cpp" line="33"/> <source>&amp;Host:</source> <translation type="unfinished"/> </message> <message> <location filename="../src/<API key>.cpp" line="37"/> <source>&amp;Port:</source> <translation type="unfinished"/> </message> <message> <location filename="../src/<API key>.cpp" line="41"/> <source>Player &amp;name:</source> <translation type="unfinished"/> </message> <message> <location filename="../src/<API key>.cpp" line="45"/> <source>Token:</source> <translation type="unfinished"/> </message> <message> <location filename="../src/<API key>.cpp" line="49"/> <location filename="../src/<API key>.cpp" line="54"/> <source>New Password:</source> <translation type="unfinished"/> </message> <message> <location filename="../src/<API key>.cpp" line="91"/> <source>Forgot Password Reset</source> <translation type="unfinished"/> </message> <message> <location filename="../src/<API key>.cpp" line="100"/> <source>The player name can&apos;t be empty.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/<API key>.cpp" line="106"/> <source>The token can&apos;t be empty.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/<API key>.cpp" line="112"/> <source>The new password can&apos;t be empty.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/<API key>.cpp" line="118"/> <source>The passwords do not match.</source> <translation type="unfinished"/> </message> </context> <context> <name><API key></name> <message> <location filename="../src/<API key>.cpp" line="20"/> <source>&amp;Refresh</source> <translation>&amp;Odśwież</translation> </message> <message> <location filename="../src/<API key>.cpp" line="34"/> <source>Load deck from clipboard</source> <translation>Wczytaj talię ze schowka</translation> </message> <message> <location filename="../src/<API key>.cpp" line="67"/> <location filename="../src/<API key>.cpp" line="75"/> <source>Error</source> <translation>Błąd</translation> </message> <message> <location filename="../src/<API key>.cpp" line="67"/> <location filename="../src/<API key>.cpp" line="75"/> <source>Invalid deck list.</source> <translation>Nieprawidłowa lista talii.</translation> </message> </context> <context> <name>DlgLoadRemoteDeck</name> <message> <location filename="../src/<API key>.cpp" line="25"/> <source>Load deck</source> <translation>Wczytaj talię</translation> </message> </context> <context> <name>DlgRegister</name> <message> <location filename="../src/dlg_register.cpp" line="16"/> <source>&amp;Host:</source> <translation>&amp;Host:</translation> </message> <message> <location filename="../src/dlg_register.cpp" line="20"/> <source>&amp;Port:</source> <translation>&amp;Port:</translation> </message> <message> <location filename="../src/dlg_register.cpp" line="24"/> <source>Player &amp;name:</source> <translation>&amp;Nazwa gracza:</translation> </message> <message> <location filename="../src/dlg_register.cpp" line="28"/> <source>P&amp;assword:</source> <translation>H&amp;asło:</translation> </message> <message> <location filename="../src/dlg_register.cpp" line="33"/> <source>Password (again):</source> <translation>Hasło (ponownie):</translation> </message> <message> <location filename="../src/dlg_register.cpp" line="38"/> <source>Email:</source> <translation>Email:</translation> </message> <message> <location filename="../src/dlg_register.cpp" line="42"/> <source>Email (again):</source> <translation>Email (ponownie):</translation> </message> <message> <location filename="../src/dlg_register.cpp" line="46"/> <source>Country:</source> <translation>Kraj:</translation> </message> <message> <location filename="../src/dlg_register.cpp" line="49"/> <source>Undefined</source> <translation>Nie wiadomo</translation> </message> <message> <location filename="../src/dlg_register.cpp" line="304"/> <source>Real name:</source> <translation>Prawdziwe imię:</translation> </message> <message> <location filename="../src/dlg_register.cpp" line="337"/> <source>Register to server</source> <translation>Zarejestruj się</translation> </message> <message> <location filename="../src/dlg_register.cpp" line="346"/> <location filename="../src/dlg_register.cpp" line="351"/> <location filename="../src/dlg_register.cpp" line="356"/> <source>Registration Warning</source> <translation>Ostrzeżenie rejestracji</translation> </message> <message> <location filename="../src/dlg_register.cpp" line="346"/> <source>Your passwords do not match, please try again.</source> <translation>Wpisane hasła nie są zgodne. Spróbuj ponownie.</translation> </message> <message> <location filename="../src/dlg_register.cpp" line="351"/> <source>Your email addresses do not match, please try again.</source> <translation>Wpisane adresy mailowe nie są zgodne. Spróbuj ponownie.</translation> </message> <message> <location filename="../src/dlg_register.cpp" line="356"/> <source>The player name can&apos;t be empty.</source> <translation>Nazwa użytkownika nie może być pusta</translation> </message> </context> <context> <name>DlgSettings</name> <message> <location filename="../src/dlg_settings.cpp" line="866"/> <source>Unknown Error loading card database</source> <translation>W trakcie wczytywania bazy kart wystąpił nieznany błąd</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="875"/> <source>Your card database is invalid. Cockatrice may not function correctly with an invalid database You may need to rerun oracle to update your card database. Would you like to change your database location setting?</source> <translation>Nieprawidłowa baza kart. Cockatrice nie może działać bez prawidłowej bazy kart. Może istnieć potrzeba uruchomienia Oracle w celu uaktualnienia bazy kart. Czy chcesz zmienić ustawienia położenia bazy kart?</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="882"/> <source>Your card database version is too old. This can cause problems loading card information or images Usually this can be fixed by rerunning oracle to to update your card database. Would you like to change your database location setting?</source> <translation>Twoja baza kart jest przestarzała. To może spowodować błędy we wczytywaniu kart i ich ilustracji. Zwykle można temu zaradzić poprzez uruchomienie narzędzia Oracle i uaktualnienie bazy kart. Czy chcesz zmienić ustawienia położenia bazy kart?</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="889"/> <source>Your card database did not finish loading Please file a ticket at http://github.com/Cockatrice/Cockatrice/issues with your cards.xml attached Would you like to change your database location setting?</source> <translation>Baza kart nie została wczytana do końca. Proszę wypełnić zgłoszenie błędu pod adresem http://github.com/Cockatrice/Cockatrice/issues with your cards.xml . Czy chcesz zmienić ustawienia położenia bazy kart?</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="895"/> <source>File Error loading your card database. Would you like to change your database location setting?</source> <translation>W trakcie wczytywania bazy kart nastąpił błąd pliku. Czy chcesz ustawić nową lokalizację bazy kart?</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="900"/> <source>Your card database was loaded but contains no cards. Would you like to change your database location setting?</source> <translation>Załadowana baza kart jest pusta. Czy chcesz ustawić nową lokalizację bazy kart?</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="905"/> <source>Unknown card database load status Please file a ticket at http://github.com/Cockatrice/Cockatrice/issues Would you like to change your database location setting?</source> <translation type="unfinished"/> </message> <message> <location filename="../src/dlg_settings.cpp" line="912"/> <location filename="../src/dlg_settings.cpp" line="918"/> <location filename="../src/dlg_settings.cpp" line="924"/> <source>Error</source> <translation>Błąd</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="918"/> <source>The path to your deck directory is invalid. Would you like to go back and set the correct path?</source> <translation>Ścieżka dostępu do twojego katalogu z taliami jest nieprawidłowa. Czy chcesz wrócić i ustawić poprawną ścieżkę?</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="924"/> <source>The path to your card pictures directory is invalid. Would you like to go back and set the correct path?</source> <translation>Ścieżka dostępu do twojego katalogu z obrazkami jest nieprawidłowa. Czy chcesz wrócić i ustawić poprawną ścieżkę?</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="933"/> <source>Settings</source> <translation>Ustawienia</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="935"/> <source>General</source> <translation>Ogólne</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="936"/> <source>Appearance</source> <translation>Wygląd</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="937"/> <source>User Interface</source> <translation>Interfejs</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="938"/> <source>Deck Editor</source> <translation>Edytor Talii</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="939"/> <source>Chat</source> <translation>Czat</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="940"/> <source>Sound</source> <translation>Dźwięk</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="941"/> <source>Shortcuts</source> <translation>Skróty</translation> </message> </context> <context> <name>DlgUpdate</name> <message> <location filename="../src/dlg_update.cpp" line="48"/> <location filename="../src/dlg_update.cpp" line="155"/> <location filename="../src/dlg_update.cpp" line="168"/> <source>Error</source> <translation>Błąd</translation> </message> <message> <location filename="../src/dlg_update.cpp" line="110"/> <location filename="../src/dlg_update.cpp" line="129"/> <source>Cockatrice Update</source> <translation>Aktualizacja Cocatrice</translation> </message> <message> <location filename="../src/dlg_update.cpp" line="26"/> <source>Update Anyway</source> <translation>Uaktualnij mimo wrzystko</translation> </message> <message> <location filename="../src/dlg_update.cpp" line="21"/> <source>Current release channel:</source> <translation type="unfinished"/> </message> <message> <location filename="../src/dlg_update.cpp" line="28"/> <source>Open Download Page</source> <translation>Otwórz stronę pobierań</translation> </message> <message> <location filename="../src/dlg_update.cpp" line="49"/> <source>Cockatrice was not built with SSL support, so you cannot download updates automatically! Please visit the download page to update manually.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/dlg_update.cpp" line="82"/> <source>Downloading update...</source> <translation>Pobieram uaktualnienie...</translation> </message> <message> <location filename="../src/dlg_update.cpp" line="91"/> <source>Checking for updates...</source> <translation>Sprawdzam aktualizacje...</translation> </message> <message> <location filename="../src/dlg_update.cpp" line="101"/> <source>Finished checking for updates.</source> <translation>Skończyłem sprawdzać aktualizacje.</translation> </message> <message> <location filename="../src/dlg_update.cpp" line="110"/> <source>Your version of Cockatrice is up to date.</source> <translation>Twoja wersja Cockatrice jest na bieżąco.</translation> </message> <message> <location filename="../src/dlg_update.cpp" line="121"/> <source>A new version is available:&lt;br/&gt;%1&lt;br/&gt;published on %2 .&lt;br/&gt;More informations are available on the &lt;a href=&quot;%3&quot;&gt;release changelog&lt;/a&gt;&lt;br/&gt;Do you want to update now?</source> <translation type="unfinished"/> </message> <message> <location filename="../src/dlg_update.cpp" line="130"/> <source>A new version is available:&lt;br/&gt;%1&lt;br/&gt;published on %2 .&lt;br/&gt;More informations are available on the &lt;a href=&quot;%3&quot;&gt;release changelog&lt;/a&gt;&lt;br/&gt;Unfortunately there are no packages available for your operating system. You may have to use a developer build or build from source yourself. Please visit the download page.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/dlg_update.cpp" line="151"/> <location filename="../src/dlg_update.cpp" line="157"/> <location filename="../src/dlg_update.cpp" line="169"/> <source>Update Error</source> <translation>Błąd aktualizacji</translation> </message> <message> <location filename="../src/dlg_update.cpp" line="151"/> <source>An error occurred while checking for updates: </source> <translation>Wystąpił błąd podczas sprawdzania aktualizacji</translation> </message> <message> <location filename="../src/dlg_update.cpp" line="157"/> <source>An error occurred while downloading an update: </source> <translation>Wystąpił błąd podczas pobierania aktualizacji</translation> </message> <message> <location filename="../src/dlg_update.cpp" line="161"/> <source>Installing...</source> <translation>Instaluję...</translation> </message> <message> <location filename="../src/dlg_update.cpp" line="170"/> <source>Unable to open the installer. You might be able to manually update by closing Cockatrice and running the installer at %1.</source> <translation type="unfinished"/> </message> </context> <context> <name>DlgViewLog</name> <message> <location filename="../src/dlg_viewlog.cpp" line="18"/> <source>Debug Log</source> <translation>Log Debugera</translation> </message> </context> <context> <name>GameSelector</name> <message> <location filename="../src/gameselector.cpp" line="144"/> <location filename="../src/gameselector.cpp" line="145"/> <location filename="../src/gameselector.cpp" line="146"/> <location filename="../src/gameselector.cpp" line="147"/> <location filename="../src/gameselector.cpp" line="148"/> <location filename="../src/gameselector.cpp" line="149"/> <location filename="../src/gameselector.cpp" line="150"/> <location filename="../src/gameselector.cpp" line="151"/> <location filename="../src/gameselector.cpp" line="180"/> <source>Error</source> <translation>Błąd</translation> </message> <message> <location filename="../src/gameselector.cpp" line="144"/> <source>Please join the appropriate room first.</source> <translation>Proszę najpierw dołączyć do właściwego pokoju.</translation> </message> <message> <location filename="../src/gameselector.cpp" line="145"/> <source>Wrong password.</source> <translation>Nieprawidłowe hasło.</translation> </message> <message> <location filename="../src/gameselector.cpp" line="146"/> <source>Spectators are not allowed in this game.</source> <translation>Ta rozgrywka nie dopuszcza widzów.</translation> </message> <message> <location filename="../src/gameselector.cpp" line="147"/> <source>The game is already full.</source> <translation>Ta rozgrywka jest już pełna.</translation> </message> <message> <location filename="../src/gameselector.cpp" line="148"/> <source>The game does not exist any more.</source> <translation>Ta rozgrywka już nie istnieje.</translation> </message> <message> <location filename="../src/gameselector.cpp" line="149"/> <source>This game is only open to registered users.</source> <translation>Ta rozgrywka jest dostępna tylko dla zarejestrowanych użytkowników.</translation> </message> <message> <location filename="../src/gameselector.cpp" line="150"/> <source>This game is only open to its creator&apos;s buddies.</source> <translation>Ta rozgrywka jest dostępna tylko dla znajomych jej twórcy.</translation> </message> <message> <location filename="../src/gameselector.cpp" line="151"/> <source>You are being ignored by the creator of this game.</source> <translation>Twórca tej rozgrywki cię ignoruje.</translation> </message> <message> <location filename="../src/gameselector.cpp" line="167"/> <source>Join game</source> <translation>Dołącz do gry</translation> </message> <message> <location filename="../src/gameselector.cpp" line="167"/> <source>Password:</source> <translation>Hasło:</translation> </message> <message> <location filename="../src/gameselector.cpp" line="180"/> <source>Please join the respective room first.</source> <translation>Proszę najpierw dołączyć do odpowiedniego pokoju. </translation> </message> <message> <location filename="../src/gameselector.cpp" line="196"/> <source>Games</source> <translation>Gry</translation> </message> <message> <location filename="../src/gameselector.cpp" line="197"/> <source>&amp;Filter games</source> <translation>&amp;Filtr rozgrywek</translation> </message> <message> <location filename="../src/gameselector.cpp" line="198"/> <source>C&amp;lear filter</source> <translation>Usuń fi&amp;ltr</translation> </message> <message> <location filename="../src/gameselector.cpp" line="200"/> <source>C&amp;reate</source> <translation>Utwó&amp;rz</translation> </message> <message> <location filename="../src/gameselector.cpp" line="201"/> <source>&amp;Join</source> <translation>&amp;Dołącz</translation> </message> <message> <location filename="../src/gameselector.cpp" line="202"/> <source>J&amp;oin as spectator</source> <translation>D&amp;ołącz jako widz</translation> </message> </context> <context> <name>GamesModel</name> <message> <location filename="../src/gamesmodel.cpp" line="17"/> <source>New</source> <translation>Nowy</translation> </message> <message> <location filename="../src/gamesmodel.cpp" line="109"/> <source>password</source> <translation>hasło</translation> </message> <message> <location filename="../src/gamesmodel.cpp" line="111"/> <source>buddies only</source> <translation>tylko znajomi</translation> </message> <message> <location filename="../src/gamesmodel.cpp" line="113"/> <source>reg. users only</source> <translation>tylko zarejestrowani użytkownicy</translation> </message> <message> <location filename="../src/gamesmodel.cpp" line="145"/> <location filename="../src/gamesmodel.cpp" line="149"/> <source>can chat</source> <translation>mogą rozmawiać</translation> </message> <message> <location filename="../src/gamesmodel.cpp" line="145"/> <source>see hands</source> <translation>widzą ręce</translation> </message> <message> <location filename="../src/gamesmodel.cpp" line="153"/> <source>can see hands</source> <translation>widzą ręce</translation> </message> <message> <location filename="../src/gamesmodel.cpp" line="158"/> <source>not allowed</source> <translation>niedozwoleni</translation> </message> <message> <location filename="../src/gamesmodel.cpp" line="174"/> <source>Room</source> <translation>Pokój</translation> </message> <message> <location filename="../src/gamesmodel.cpp" line="178"/> <source>Age</source> <translation type="unfinished"/> </message> <message> <location filename="../src/gamesmodel.cpp" line="185"/> <source>Type</source> <translation type="unfinished"/> </message> <message> <location filename="../src/gamesmodel.cpp" line="183"/> <source>Description</source> <translation>Opis</translation> </message> <message> <location filename="../src/gamesmodel.cpp" line="184"/> <source>Creator</source> <translation>Twórca</translation> </message> <message> <location filename="../src/gamesmodel.cpp" line="186"/> <source>Restrictions</source> <translation>Ograniczenia</translation> </message> <message> <location filename="../src/gamesmodel.cpp" line="190"/> <source>Players</source> <translation>Gracze</translation> </message> <message> <location filename="../src/gamesmodel.cpp" line="195"/> <source>Spectators</source> <translation>Widzowie</translation> </message> </context> <context> <name>GeneralSettingsPage</name> <message> <location filename="../src/dlg_settings.cpp" line="194"/> <location filename="../src/dlg_settings.cpp" line="204"/> <location filename="../src/dlg_settings.cpp" line="214"/> <location filename="../src/dlg_settings.cpp" line="248"/> <location filename="../src/dlg_settings.cpp" line="258"/> <source>Choose path</source> <translation>Wybierz ścieżkę</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="241"/> <source>Success</source> <translation>Powodzenie</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="241"/> <source>Downloaded card pictures have been reset.</source> <translation>Pobrane obrazki zostały wymazane.</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="243"/> <source>Error</source> <translation>Błąd</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="243"/> <source>One or more downloaded card pictures could not be cleared.</source> <translation>Co najmniej jeden z pobranych obrazków nie mógł zostać wymazany.</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="273"/> <source>Personal settings</source> <translation>Ustawienia osobiste</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="274"/> <source>Language:</source> <translation>Język:</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="275"/> <source>Download card pictures on the fly</source> <translation>Ściągaj obrazki na bieżąco</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="276"/> <source>Paths</source> <translation>Ścieżki</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="277"/> <source>Decks directory:</source> <translation>Katalog z taliami:</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="278"/> <source>Replays directory:</source> <translation>Katalog z powtórkami:</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="279"/> <source>Pictures directory:</source> <translation>Katalog z obrazkami:</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="280"/> <source>Card database:</source> <translation>Baza kart:</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="281"/> <source>Token database:</source> <translation>Baza tokenów:</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="282"/> <source>Picture cache size:</source> <translation>Rozmiar pamięci podręcznej dla obrazków:</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="283"/> <source>Primary download URL:</source> <translation type="unfinished"/> </message> <message> <location filename="../src/dlg_settings.cpp" line="284"/> <source>Fallback download URL:</source> <translation type="unfinished"/> </message> <message> <location filename="../src/dlg_settings.cpp" line="285"/> <source>How to set a custom picture url</source> <translation>Jak ustawić obraz url użytkownika</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="286"/> <source>Reset/clear downloaded pictures</source> <translation type="unfinished"/> </message> <message> <location filename="../src/dlg_settings.cpp" line="287"/> <source>Update channel</source> <translation type="unfinished"/> </message> <message> <location filename="../src/dlg_settings.cpp" line="288"/> <source>Notify if a feature supported by the server is missing in my client</source> <translation type="unfinished"/> </message> <message> <location filename="../src/dlg_settings.cpp" line="289"/> <location filename="../src/dlg_settings.cpp" line="290"/> <source>Reset</source> <translation>Zrestartuj</translation> </message> </context> <context> <name>MainWindow</name> <message> <location filename="../src/window_main.cpp" line="93"/> <location filename="../src/window_main.cpp" line="390"/> <source>The server has reached its maximum user capacity, please check back later.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="94"/> <source>There are too many concurrent connections from your address.</source> <translation>Trwa zbyt wiele równoległych połączeń z twojego adresu.</translation> </message> <message> <location filename="../src/window_main.cpp" line="96"/> <source>Banned by moderator</source> <translation>Zbanowany przez moderatora.</translation> </message> <message> <location filename="../src/window_main.cpp" line="98"/> <source>Expected end time: %1</source> <translation>Oczekiwany czas zakończenia: %1</translation> </message> <message> <location filename="../src/window_main.cpp" line="100"/> <source>This ban lasts indefinitely.</source> <translation>Ten ban jest bezterminowy.</translation> </message> <message> <location filename="../src/window_main.cpp" line="105"/> <source>Scheduled server shutdown.</source> <translation>Planowe wyłączenie serwera.</translation> </message> <message> <location filename="../src/window_main.cpp" line="106"/> <location filename="../src/window_main.cpp" line="402"/> <source>Invalid username.</source> <translation>Nieprawidłowa nazwa użytkownika.</translation> </message> <message> <location filename="../src/window_main.cpp" line="107"/> <source>You have been logged out due to logging in at another location.</source> <translation>Zostałeś wylogowany ze względu inny proces logowania.</translation> </message> <message> <location filename="../src/window_main.cpp" line="110"/> <source>Connection closed</source> <translation>Połączenie zakończone</translation> </message> <message> <location filename="../src/window_main.cpp" line="110"/> <source>The server has terminated your connection. Reason: %1</source> <translation>Serwer zakończył twoje połączenie. Przyczyna: %1</translation> </message> <message numerus="yes"> <location filename="../src/window_main.cpp" line="115"/> <source>The server is going to be restarted in %n minute(s). All running games will be lost. Reason for shutdown: %1</source> <translation><numerusform>Serwer zostanie wyłączony za jedną minutę. Wszystkie trwające gry zostaną utracone. Przyczyna zamknięcia: %1</numerusform><numerusform>Serwer zostanie wyłączony za %n minut. Wszystkie trwające gry zostaną utracone. Przyczyna zamknięcia: %1</numerusform><numerusform>Serwer zostanie wyłączony za minut: %n. Wszystkie trwające gry zostaną utracone. Przyczyna zamknięcia: %1</numerusform><numerusform>Serwer zostanie wyłączony za minut: %n. Wszystkie trwające gry zostaną utracone. Przyczyna zamknięcia: %1</numerusform></translation> </message> <message> <location filename="../src/window_main.cpp" line="117"/> <source>Scheduled server shutdown</source> <translation>Planowe wyłączenie serwera</translation> </message> <message> <location filename="../src/window_main.cpp" line="154"/> <location filename="../src/window_main.cpp" line="164"/> <source>Success</source> <translation>Operacja zakończona pomyślnie</translation> </message> <message> <location filename="../src/window_main.cpp" line="154"/> <source>Registration accepted. Will now login.</source> <translation>Rejestracja zaakceptowana. Rozpocznij logowanie.</translation> </message> <message> <location filename="../src/window_main.cpp" line="164"/> <source>Account activation accepted. Will now login.</source> <translation>Aktywacja konta zakończona pomyślnie. Rozpocznij logowanie.</translation> </message> <message> <location filename="../src/window_main.cpp" line="203"/> <source>Number of players</source> <translation>Liczba graczy</translation> </message> <message> <location filename="../src/window_main.cpp" line="203"/> <source>Please enter the number of players.</source> <translation>Wprowadź liczbę graczy.</translation> </message> <message> <location filename="../src/window_main.cpp" line="213"/> <location filename="../src/window_main.cpp" line="219"/> <source>Player %1</source> <translation>Gracz %1</translation> </message> <message> <location filename="../src/window_main.cpp" line="231"/> <source>Load replay</source> <translation>Wczytaj powtórkę</translation> </message> <message> <location filename="../src/window_main.cpp" line="286"/> <source>About Cockatrice</source> <translation>O Cockatrice</translation> </message> <message> <location filename="../src/window_main.cpp" line="288"/> <source>Version %1</source> <translation>Wersja %1</translation> </message> <message> <location filename="../src/window_main.cpp" line="289"/> <source>Cockatrice Webpage</source> <translation>Oficjalna strona Cocatrice</translation> </message> <message> <location filename="../src/window_main.cpp" line="290"/> <source>Project Manager:</source> <translation>Menadżer projektu:</translation> </message> <message> <location filename="../src/window_main.cpp" line="291"/> <source>Past Project Managers:</source> <translation>Poprzedni menadżerowie projektu:</translation> </message> <message> <location filename="../src/window_main.cpp" line="292"/> <source>Developers:</source> <translation>Twórcy:</translation> </message> <message> <location filename="../src/window_main.cpp" line="293"/> <source>Our Developers</source> <translation>Lista współpracowników</translation> </message> <message> <location filename="../src/window_main.cpp" line="294"/> <source>Help Develop!</source> <translation>Dołącz do grona twórców!</translation> </message> <message> <location filename="../src/window_main.cpp" line="295"/> <source>Translators:</source> <translation>Tłumacze:</translation> </message> <message> <location filename="../src/window_main.cpp" line="296"/> <source>Recognition Page</source> <translation>Lista tłumaczy</translation> </message> <message> <location filename="../src/window_main.cpp" line="297"/> <source>Help Translate!</source> <translation>Pomóż w tłumaczeniu!</translation> </message> <message> <location filename="../src/window_main.cpp" line="298"/> <source>Support:</source> <translation>Wsparcie:</translation> </message> <message> <location filename="../src/window_main.cpp" line="299"/> <source>Report an Issue</source> <translation>Zgłoś problem</translation> </message> <message> <location filename="../src/window_main.cpp" line="300"/> <source>Troubleshooting</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="301"/> <source>F.A.Q.</source> <translation>Najczęściej zadawane pytania</translation> </message> <message> <location filename="../src/window_main.cpp" line="323"/> <location filename="../src/window_main.cpp" line="346"/> <location filename="../src/window_main.cpp" line="349"/> <location filename="../src/window_main.cpp" line="360"/> <location filename="../src/window_main.cpp" line="364"/> <location filename="../src/window_main.cpp" line="368"/> <location filename="../src/window_main.cpp" line="373"/> <location filename="../src/window_main.cpp" line="376"/> <location filename="../src/window_main.cpp" line="394"/> <location filename="../src/window_main.cpp" line="467"/> <location filename="../src/window_main.cpp" line="471"/> <location filename="../src/window_main.cpp" line="475"/> <location filename="../src/window_main.cpp" line="478"/> <location filename="../src/window_main.cpp" line="485"/> <location filename="../src/window_main.cpp" line="492"/> <location filename="../src/window_main.cpp" line="499"/> <location filename="../src/window_main.cpp" line="501"/> <location filename="../src/window_main.cpp" line="912"/> <location filename="../src/window_main.cpp" line="948"/> <source>Error</source> <translation>Błąd</translation> </message> <message> <location filename="../src/window_main.cpp" line="323"/> <source>Server timeout</source> <translation>Upłynął limit czasu odpowiedzi serwera</translation> </message> <message> <location filename="../src/window_main.cpp" line="339"/> <source>Failed Login</source> <translation>Nie udało się zalogować</translation> </message> <message> <location filename="../src/window_main.cpp" line="346"/> <source>Incorrect username or password. Please check your authentication information and try again.</source> <translation>Nieprawidłowa nazwa użytkownika lub hasło. Sprawdź swoje dane weryfikacyjne i spróbuj ponownie.</translation> </message> <message> <location filename="../src/window_main.cpp" line="349"/> <source>There is already an active session using this user name. Please close that session first and re-login.</source> <translation>Istnieje już aktywna sesja dla tej nazwy użytkownika. Zakończ tamtą sesję i zaloguj się ponownie.</translation> </message> <message> <location filename="../src/window_main.cpp" line="354"/> <location filename="../src/window_main.cpp" line="461"/> <source>You are banned until %1.</source> <translation>Twój ban trwa do: %1.</translation> </message> <message> <location filename="../src/window_main.cpp" line="356"/> <location filename="../src/window_main.cpp" line="463"/> <source>You are banned indefinitely.</source> <translation>Zostałeś zbanowany bezterminowo.</translation> </message> <message> <location filename="../src/window_main.cpp" line="368"/> <source>This server requires user registration. Do you want to register now?</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="373"/> <source>This server requires client ID's. Your client is either failing to generate an ID or you are running a modified client. Please close and reopen your client to try again.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="376"/> <source>An internal error has occurred, please try closing and reopening your client and try again. If the error persists try updating your client to the most recent build and if need be contact your software provider.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="380"/> <source>Account activation</source> <translation>Aktywacja konta</translation> </message> <message> <location filename="../src/window_main.cpp" line="390"/> <source>Server Full</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="394"/> <source>Unknown login error: %1</source> <translation>Nieznany błąd logowania: %1</translation> </message> <message> <location filename="../src/window_main.cpp" line="394"/> <location filename="../src/window_main.cpp" line="478"/> <source> This usually means that your client version is out of date, and the server sent a reply your client doesn&apos;t understand.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="406"/> <source>Your username must respect these rules:</source> <translation>Twoja nazwa użytkownika musi być zgodna z poniższymi regułami:</translation> </message> <message> <location filename="../src/window_main.cpp" line="408"/> <source>is %1 - %2 characters long</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="409"/> <source>can %1 contain lowercase characters</source> <translation>może zawierać 1% małych liter</translation> </message> <message> <location filename="../src/window_main.cpp" line="409"/> <location filename="../src/window_main.cpp" line="410"/> <location filename="../src/window_main.cpp" line="411"/> <location filename="../src/window_main.cpp" line="416"/> <source>NOT</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="410"/> <source>can %1 contain uppercase characters</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="411"/> <source>can %1 contain numeric characters</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="414"/> <source>can contain the following punctuation: %1</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="416"/> <source>first character can %1 be a punctuation mark</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="421"/> <source>can not contain any of the following words: %1</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="424"/> <source>can not match any of the following expressions: %1</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="431"/> <source>You may only use A-Z, a-z, 0-9, _, ., and - in your username.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="441"/> <location filename="../src/window_main.cpp" line="444"/> <location filename="../src/window_main.cpp" line="447"/> <location filename="../src/window_main.cpp" line="450"/> <location filename="../src/window_main.cpp" line="453"/> <location filename="../src/window_main.cpp" line="456"/> <source>Registration denied</source> <translation>Rejestracja nieudana</translation> </message> <message> <location filename="../src/window_main.cpp" line="441"/> <source>Registration is currently disabled on this server</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="444"/> <source>There is already an existing account with the same user name.</source> <translation>Istnieje już konto o tej nazwie.</translation> </message> <message> <location filename="../src/window_main.cpp" line="447"/> <source>It&apos;s mandatory to specify a valid email address when registering.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="340"/> <source>Your client seems to be missing features this server requires for connection.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="380"/> <source>Your account has not been activated yet. You need to provide the activation token received in the activation email.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="450"/> <source>The email address provider used during registration has been blacklisted for use on this server.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="453"/> <source>Too many registration attempts, please try again later or contact the server operator for further details.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="456"/> <source>Password too short.</source> <translation>Hasło jest zbyt krótkie.</translation> </message> <message> <location filename="../src/window_main.cpp" line="475"/> <source>Registration failed for a technical problem on the server.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="478"/> <source>Unknown registration error: %1</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="485"/> <source>Account activation failed</source> <translation>Aktywacja konta zakończona niepowodzeniem</translation> </message> <message> <location filename="../src/window_main.cpp" line="492"/> <source>Socket error: %1</source> <translation>Błąd gniazda: %1</translation> </message> <message> <location filename="../src/window_main.cpp" line="499"/> <source>You are trying to connect to an obsolete server. Please downgrade your Cockatrice version or connect to a suitable server. Local version is %1, remote version is %2.</source> <translation>Próbujesz połączyć się z nieaktualnym serwerem. Zainstaluj starszą wersję Cockatrice lub wybierz odpowiedni serwer. Lokalna wersja to %1, wersja zdalna to %2.</translation> </message> <message> <location filename="../src/window_main.cpp" line="501"/> <source>Your Cockatrice client is obsolete. Please update your Cockatrice version. Local version is %1, remote version is %2.</source> <translation>Twój klient Cockatrice jest nieaktualny. Uaktualnij Cockatrice do nowszej wersji. Lokalna wersja to %1, wersja zdalna to %2.</translation> </message> <message> <location filename="../src/window_main.cpp" line="507"/> <source>Connecting to %1...</source> <translation>%1 — łączenie…</translation> </message> <message> <location filename="../src/window_main.cpp" line="508"/> <source>Registering to %1 as %2...</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="509"/> <source>Disconnected</source> <translation>Rozłączony</translation> </message> <message> <location filename="../src/window_main.cpp" line="510"/> <source>Connected, logging in at %1</source> <translation>Połączenie ustanowione; logowanie jako %1</translation> </message> <message> <location filename="../src/window_main.cpp" line="512"/> <location filename="../src/window_main.cpp" line="513"/> <location filename="../src/window_main.cpp" line="514"/> <source>Requesting forgot password to %1 as %2...</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="523"/> <source>&amp;Connect...</source> <translation>&amp;Połącz…</translation> </message> <message> <location filename="../src/window_main.cpp" line="524"/> <source>&amp;Disconnect</source> <translation>&amp;Rozłącz</translation> </message> <message> <location filename="../src/window_main.cpp" line="525"/> <source>Start &amp;local game...</source> <translation>Rozpocznij &amp;lokalną grę…</translation> </message> <message> <location filename="../src/window_main.cpp" line="526"/> <source>&amp;Watch replay...</source> <translation>&amp;Obejrzyj powtórkę…</translation> </message> <message> <location filename="../src/window_main.cpp" line="527"/> <source>&amp;Deck editor</source> <translation>&amp;Edytor talii</translation> </message> <message> <location filename="../src/window_main.cpp" line="528"/> <source>&amp;Full screen</source> <translation>Pełny ekra&amp;n</translation> </message> <message> <location filename="../src/window_main.cpp" line="529"/> <source>&amp;Register to server...</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="530"/> <source>&amp;Settings...</source> <translation>&amp;Ustawienia…</translation> </message> <message> <location filename="../src/window_main.cpp" line="532"/> <location filename="../src/window_main.cpp" line="759"/> <source>&amp;Exit</source> <translation>&amp;Wyjdź</translation> </message> <message> <location filename="../src/window_main.cpp" line="535"/> <source>A&amp;ctions</source> <translation>Ak&amp;cje</translation> </message> <message> <location filename="../src/window_main.cpp" line="537"/> <source>&amp;Cockatrice</source> <translation>&amp;Cockatrice</translation> </message> <message> <location filename="../src/window_main.cpp" line="540"/> <source>C&amp;ard Database</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="541"/> <source>Open custom image folder</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="542"/> <source>Open custom sets folder</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="543"/> <source>Add custom sets/cards</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="544"/> <source>&amp;Edit sets...</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="545"/> <source>Edit &amp;tokens...</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="547"/> <source>&amp;About Cockatrice</source> <translation>&amp;O Cockatrice</translation> </message> <message> <location filename="../src/window_main.cpp" line="548"/> <source>&amp;Update Cockatrice</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="549"/> <source>View &amp;debug log</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="550"/> <source>&amp;Help</source> <translation>Po&amp;moc</translation> </message> <message> <location filename="../src/window_main.cpp" line="551"/> <source>Check for card updates...</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="818"/> <source>Card database</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="820"/> <source>Cockatrice is unable to load the card database. Do you want to update your card database now? If unsure or first time user, choose &quot;Yes&quot;</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="824"/> <location filename="../src/window_main.cpp" line="849"/> <source>Yes</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="825"/> <location filename="../src/window_main.cpp" line="850"/> <source>No</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="826"/> <source>Open settings</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="841"/> <source>New sets found</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="844"/> <source>%1 new set(s) found in the card database Set code(s): %2 Do you want to enable it/them?</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="851"/> <source>View sets</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="868"/> <source>Welcome</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="868"/> <source>Hi! It seems like you're running this version of Cockatrice for the first time. All the sets in the card database have been enabled. Read more about changing the set order or disabling specific sets and consequent effects in the &quot;Edit Sets&quot; window.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="878"/> <location filename="../src/window_main.cpp" line="956"/> <location filename="../src/window_main.cpp" line="980"/> <source>Information</source> <translation>Informacja</translation> </message> <message> <location filename="../src/window_main.cpp" line="878"/> <source>A card database update is already running.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="912"/> <source>Unable to run the card database updater: </source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="925"/> <source>failed to start.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="928"/> <source>crashed.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="931"/> <source>timed out.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="934"/> <source>write error.</source> <translation>błąd zapisu.</translation> </message> <message> <location filename="../src/window_main.cpp" line="937"/> <source>read error.</source> <translation>błąd odczytu.</translation> </message> <message> <location filename="../src/window_main.cpp" line="941"/> <source>unknown error.</source> <translation>nieznany błąd.</translation> </message> <message> <location filename="../src/window_main.cpp" line="948"/> <source>The card database updater exited with an error: %1</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="956"/> <source>Update completed successfully. Cockatrice will now reload the card database.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="980"/> <source>This server supports additional features that your client doesn't have. This is most likely not a problem, but this message might mean there is a new version of Cockatrice available or this server is running a custom or pre-release version. To update your client, go to Help -&gt; Update Cockatrice.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="1035"/> <source>You can only import XML databases at this time.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="1092"/> <location filename="../src/window_main.cpp" line="1100"/> <location filename="../src/window_main.cpp" line="1108"/> <source>Forgot Password</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="1092"/> <source>Your password has been reset successfully, you now may log in using the new credentials.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="1100"/> <source>Failed to reset user account password, please contact the server operator to reset your password.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="1108"/> <source>Activation request received, please check your email for an activation token.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="1022"/> <location filename="../src/window_main.cpp" line="1030"/> <location filename="../src/window_main.cpp" line="1035"/> <location filename="../src/window_main.cpp" line="1048"/> <location filename="../src/window_main.cpp" line="1051"/> <source>Load sets/cards</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="1030"/> <source>Selected file cannot be found.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="1048"/> <source>The new sets/cards have been added successfully. Cockatrice will now reload the card database.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="1051"/> <source>Sets/cards failed to import.</source> <translation type="unfinished"/> </message> </context> <context> <name>MessageLogWidget</name> <message> <location filename="../src/messagelogwidget.cpp" line="53"/> <source>The game has been closed.</source> <translation>Gra została zakończona.</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="58"/> <source>You have been kicked out of the game.</source> <translation>Wyrzucono cię z gry.</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="64"/> <source>%1 is now watching the game.</source> <translation>%1 obserwuje grę.</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="70"/> <source>%1 is not watching the game any more.</source> <translation>%1 już nie obserwuje gry.</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="76"/> <source>%1 has loaded a deck (%2).</source> <translation>Gracz %1 wczytał talię (%2).</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="78"/> <source>%1 has loaded a deck with %2 sideboard cards (%3).</source> <translation>Gracz %1 wczytał talię oraz %2 kart talii pobocznej (hash: %3).</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="111"/> <source>The game has started.</source> <translation>Gra została rozpoczęta.</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="182"/> <source> from play</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="186"/> <source> from exile</source> <translation>ze strefy wygnania</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="193"/> <source>the top card of %1&apos;s library</source> <translation>karta z wierzchu biblioteki gracza %1</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="199"/> <source> from the top of %1&apos;s library</source> <translation>z wierzchu biblioteki gracza %1</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="206"/> <source>the bottom card of %1&apos;s library</source> <translation>karta z wierzchu biblioteki gracza %1</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="212"/> <source> from the bottom of %1&apos;s library</source> <translation>z dna biblioteki gracza %1</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="218"/> <source> from %1&apos;s library</source> <translation>z biblioteki gracza %1</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="223"/> <source> from sideboard</source> <translation>z talii pobocznej</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="225"/> <source> from the stack</source> <translation>ze stosu</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="251"/> <location filename="../src/messagelogwidget.cpp" line="505"/> <source>a card</source> <translation>kartę</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="256"/> <source>%1 gives %2 control over %3.</source> <translation>%1 oddaje %3 pod kontrolę gracza %2.</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="264"/> <source>%1 puts %2 into play tapped%3.</source> <translation>%1 zagrywa %3 zatapowaną kartę - %2.</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="266"/> <source>%1 puts %2 into play%3.</source> <translation>%1 zagrywa kartę %2 na pole bitwy %3.</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="270"/> <source>%1 exiles %2%3.</source> <translation>%1 przenosi kartę %2 do strefy wygnania %3.</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="283"/> <source>%1 moves %2%3 to sideboard.</source> <translation>%1 przenosi kartę %2 %3 do talii pobocznej.</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="286"/> <source>%1 plays %2%3.</source> <translation>%1 zagrywa kartę %2 %3.</translation> </message> <message numerus="yes"> <location filename="../src/messagelogwidget.cpp" line="394"/> <source>red</source> <translation><numerusform>czerwony</numerusform><numerusform>czerwone</numerusform><numerusform>czerwony</numerusform><numerusform>czerwony</numerusform></translation> </message> <message numerus="yes"> <location filename="../src/messagelogwidget.cpp" line="395"/> <source>yellow</source> <translation><numerusform>żółty</numerusform><numerusform>żółte</numerusform><numerusform>żółty</numerusform><numerusform>żółty</numerusform></translation> </message> <message numerus="yes"> <location filename="../src/messagelogwidget.cpp" line="396"/> <source>green</source> <translation><numerusform>zielony</numerusform><numerusform>zielone</numerusform><numerusform>zielony</numerusform><numerusform>zielony</numerusform></translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="550"/> <source>%1 is now keeping the top card %2 revealed.</source> <translation>%1 od teraz gra z odwróconą kartą z wierzchu %2.</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="551"/> <source>%1 is not revealing the top card %2 any longer.</source> <translation>%1 już nie gra z odwróconą kartą z wierzchu %2.</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="31"/> <source>You have joined game #%1.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="36"/> <source>You are watching a replay of game #%1.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="42"/> <source>%1 has joined the game.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="48"/> <source>%1 has left the game.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="86"/> <source>%1 is ready to start the game.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="91"/> <source>%1 is not ready to start the game any more.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="97"/> <source>%1 has locked their sideboard.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="99"/> <source>%1 has unlocked their sideboard.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="106"/> <source>%1 has conceded the game.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="118"/> <source>%1 has restored connection to the game.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="121"/> <source>%1 has lost connection to the game.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="140"/> <source>%1 shuffles %2.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="148"/> <source>Heads</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="148"/> <source>Tails</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="152"/> <source>%1 flipped a coin. It landed as %2.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="154"/> <source>%1 rolls a %2 with a %3-sided die.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="163"/> <source>%1 draws %2 card(s).</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="170"/> <source>%1 undoes their last draw.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="172"/> <source>%1 undoes their last draw (%2).</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="184"/> <source> from their graveyard</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="188"/> <source> from their hand</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="195"/> <source>the top card of their library</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="201"/> <source> from the top of their library</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="208"/> <source>the bottom card of their library</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="214"/> <source> from the bottom of their library</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="220"/> <source> from their library</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="268"/> <source>%1 puts %2%3 into their graveyard.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="272"/> <source>%1 moves %2%3 to their hand.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="275"/> <source>%1 puts %2%3 into their library.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="277"/> <source>%1 puts %2%3 on bottom of their library.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="279"/> <source>%1 puts %2%3 on top of their library.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="281"/> <source>%1 puts %2%3 into their library at position %4.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="309"/> <source>%1 takes a mulligan to %2.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="311"/> <source>%1 draws their initial hand.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="318"/> <source>%1 flips %2 face-down.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="320"/> <source>%1 flips %2 face-up.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="326"/> <source>%1 destroys %2.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="332"/> <source>%1 attaches %2 to %3&apos;s %4.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="338"/> <source>%1 unattaches %2.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="343"/> <source>%1 creates token: %2%3.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="353"/> <source>%1 points from their %2 to themselves.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="356"/> <source>%1 points from their %2 to %3.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="359"/> <source>%1 points from %2&apos;s %3 to themselves.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="362"/> <source>%1 points from %2&apos;s %3 to %4.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="367"/> <source>%1 points from their %2 to their %3.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="370"/> <source>%1 points from their %2 to %3&apos;s %4.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="373"/> <source>%1 points from %2&apos;s %3 to their own %4.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="376"/> <source>%1 points from %2&apos;s %3 to %4&apos;s %5.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="388"/> <source>%1 places %2 %3 counter(s) on %4 (now %5).</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="390"/> <source>%1 removes %2 %3 counter(s) from %4 (now %5).</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="416"/> <source>%1 taps their permanents.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="418"/> <source>%1 untaps their permanents.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="422"/> <source>%1 taps %2.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="424"/> <source>%1 untaps %2.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="436"/> <source>%1 sets counter %2 to %3 (%4%5).</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="444"/> <source>%1 sets %2 to not untap normally.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="446"/> <source>%1 sets %2 to untap normally.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="457"/> <source>%1 sets PT of %2 to %3.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="465"/> <source>%1 sets annotation of %2 to %3.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="473"/> <source>%1 is looking at %2.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="478"/> <source>%1 is looking at the top %2 card(s) %3.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="486"/> <source>%1 stops looking at %2.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="512"/> <source>%1 reveals %2 to %3.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="516"/> <source>%1 reveals %2.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="523"/> <source>%1 randomly reveals %2%3 to %4.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="526"/> <source>%1 randomly reveals %2%3.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="531"/> <source>%1 peeks at face down card #%2.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="534"/> <source>%1 peeks at face down card #%2: %3.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="539"/> <source>%1 reveals %2%3 to %4.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="542"/> <source>%1 reveals %2%3.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="561"/> <source>It is now %1&apos;s turn.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/messagelogwidget.cpp" line="569"/> <source>untap step</source> <translation>krok odtapowania</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="570"/> <source>upkeep step</source> <translation>krok utrzymania</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="571"/> <source>draw step</source> <translation>krok dobierania</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="572"/> <source>first main phase</source> <translation>pierwsza faza główna</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="573"/> <source>beginning of combat step</source> <translation>krok początku walki</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="574"/> <source>declare attackers step</source> <translation>krok deklaracji atakujących</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="575"/> <source>declare blockers step</source> <translation>krok deklaracji broniących</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="576"/> <source>combat damage step</source> <translation>krok obrażeń bitewnych</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="577"/> <source>end of combat step</source> <translation>krok zakończenia walki</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="578"/> <source>second main phase</source> <translation>druga faza główna</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="579"/> <source>ending phase</source> <translation>faza końcowa</translation> </message> <message> <location filename="../src/messagelogwidget.cpp" line="581"/> <source>It is now the %1.</source> <translation>Obecnie trwa %1.</translation> </message> </context> <context> <name><API key></name> <message> <location filename="../src/dlg_settings.cpp" line="647"/> <source>Add message</source> <translation>Dodaj wiadomość</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="647"/> <source>Message:</source> <translation>Wiadomość:</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="664"/> <source>Chat settings</source> <translation>Ustawienia czatu</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="665"/> <source>Custom alert words</source> <translation type="unfinished"/> </message> <message> <location filename="../src/dlg_settings.cpp" line="666"/> <source>Enable chat mentions</source> <translation>Włącz wywołania na czacie</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="667"/> <source>Enable mention completer</source> <translation type="unfinished"/> </message> <message> <location filename="../src/dlg_settings.cpp" line="668"/> <source>In-game message macros</source> <translation>Makra wiadomości w trakcie gry</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="669"/> <source>Ignore chat room messages sent by unregistered users</source> <translation type="unfinished"/> </message> <message> <location filename="../src/dlg_settings.cpp" line="670"/> <source>Ignore private messages sent by unregistered users</source> <translation type="unfinished"/> </message> <message> <location filename="../src/dlg_settings.cpp" line="671"/> <location filename="../src/dlg_settings.cpp" line="672"/> <source>Invert text color</source> <translation>Odwróć kolor tekstu</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="673"/> <source>Enable desktop notifications for private messages</source> <translation type="unfinished"/> </message> <message> <location filename="../src/dlg_settings.cpp" line="674"/> <source>Enable desktop notification for mentions</source> <translation type="unfinished"/> </message> <message> <location filename="../src/dlg_settings.cpp" line="675"/> <source>Enable room message history on join</source> <translation type="unfinished"/> </message> <message> <location filename="../src/dlg_settings.cpp" line="676"/> <location filename="../src/dlg_settings.cpp" line="677"/> <source>(Color is hexadecimal)</source> <translation>(Kolor w kodzie heksadecymalnym)</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="678"/> <source>Separate words with a space, alphanumeric characters only</source> <translation type="unfinished"/> </message> </context> <context> <name>PhasesToolbar</name> <message> <location filename="../src/phasestoolbar.cpp" line="151"/> <source>Untap step</source> <translation>Krok odtapowania</translation> </message> <message> <location filename="../src/phasestoolbar.cpp" line="152"/> <source>Upkeep step</source> <translation>Krok utrzymania</translation> </message> <message> <location filename="../src/phasestoolbar.cpp" line="153"/> <source>Draw step</source> <translation>Krok dobierania</translation> </message> <message> <location filename="../src/phasestoolbar.cpp" line="154"/> <source>First main phase</source> <translation>Pierwsza faza główna</translation> </message> <message> <location filename="../src/phasestoolbar.cpp" line="155"/> <source>Beginning of combat step</source> <translation>Krok początku walki</translation> </message> <message> <location filename="../src/phasestoolbar.cpp" line="156"/> <source>Declare attackers step</source> <translation>Krok deklaracji atakujących</translation> </message> <message> <location filename="../src/phasestoolbar.cpp" line="157"/> <source>Declare blockers step</source> <translation>Krok deklaracji broniących</translation> </message> <message> <location filename="../src/phasestoolbar.cpp" line="158"/> <source>Combat damage step</source> <translation>Krok obrażeń bitewnych</translation> </message> <message> <location filename="../src/phasestoolbar.cpp" line="159"/> <source>End of combat step</source> <translation>Krok zakończenia walki</translation> </message> <message> <location filename="../src/phasestoolbar.cpp" line="160"/> <source>Second main phase</source> <translation>Druga faza główna</translation> </message> <message> <location filename="../src/phasestoolbar.cpp" line="161"/> <source>End of turn step</source> <translation>Krok końca tury</translation> </message> </context> <context> <name>Player</name> <message> <location filename="../src/player.cpp" line="520"/> <source>Reveal top cards of library</source> <translation type="unfinished"/> </message> <message> <location filename="../src/player.cpp" line="520"/> <source>Number of cards: (max. %1)</source> <translation type="unfinished"/> </message> <message> <location filename="../src/player.cpp" line="607"/> <source>&amp;View graveyard</source> <translation>Przegląda&amp;j cmentarz</translation> </message> <message> <location filename="../src/player.cpp" line="608"/> <source>&amp;View exile</source> <translation>Przeglądaj strefę &amp;wygnania</translation> </message> <message> <location filename="../src/player.cpp" line="610"/> <source>Player &quot;%1&quot;</source> <translation>Gracz &quot;%1&quot;</translation> </message> <message> <location filename="../src/player.cpp" line="611"/> <location filename="../src/player.cpp" line="618"/> <location filename="../src/player.cpp" line="631"/> <location filename="../src/player.cpp" line="714"/> <source>&amp;Graveyard</source> <translation>C&amp;mentarz</translation> </message> <message> <location filename="../src/player.cpp" line="612"/> <location filename="../src/player.cpp" line="619"/> <location filename="../src/player.cpp" line="625"/> <location filename="../src/player.cpp" line="715"/> <source>&amp;Exile</source> <translation>Str&amp;efa wygnania</translation> </message> <message> <location filename="../src/player.cpp" line="615"/> <source>&amp;Move hand to...</source> <translation>Prze&amp;mieść rękę na…</translation> </message> <message> <location filename="../src/player.cpp" line="616"/> <location filename="../src/player.cpp" line="622"/> <location filename="../src/player.cpp" line="628"/> <location filename="../src/player.cpp" line="711"/> <source>&amp;Top of library</source> <translation>Wierzch biblio&amp;teki</translation> </message> <message> <location filename="../src/player.cpp" line="617"/> <location filename="../src/player.cpp" line="623"/> <location filename="../src/player.cpp" line="629"/> <location filename="../src/player.cpp" line="712"/> <source>&amp;Bottom of library</source> <translation>Dno &amp;biblioteki</translation> </message> <message> <location filename="../src/player.cpp" line="621"/> <source>&amp;Move graveyard to...</source> <translation>Prze&amp;mieść cmentarz na…</translation> </message> <message> <location filename="../src/player.cpp" line="624"/> <location filename="../src/player.cpp" line="630"/> <location filename="../src/player.cpp" line="651"/> <location filename="../src/player.cpp" line="713"/> <source>&amp;Hand</source> <translation>Rę&amp;ka</translation> </message> <message> <location filename="../src/player.cpp" line="627"/> <source>&amp;Move exile to...</source> <translation>Przen&amp;ieś strefę wygnania na…</translation> </message> <message> <location filename="../src/player.cpp" line="633"/> <source>&amp;View library</source> <translation>Przegląda&amp;j bibliotekę</translation> </message> <message> <location filename="../src/player.cpp" line="634"/> <source>View &amp;top cards of library...</source> <translation>Przeglądaj karty z &amp;wierzchu biblioteki…</translation> </message> <message> <location filename="../src/player.cpp" line="635"/> <source>Reveal &amp;library to...</source> <translation>Pokaż bib&amp;liotekę innym…</translation> </message> <message> <location filename="../src/player.cpp" line="636"/> <source>Reveal t&amp;op cards to...</source> <translation type="unfinished"/> </message> <message> <location filename="../src/player.cpp" line="637"/> <source>&amp;Always reveal top card</source> <translation>Z&amp;awsze graj z odwróconą kartą z wierzchu</translation> </message> <message> <location filename="../src/player.cpp" line="638"/> <source>O&amp;pen deck in deck editor</source> <translation>&amp;Otwórz talię w edytorze talii</translation> </message> <message> <location filename="../src/player.cpp" line="639"/> <source>&amp;View sideboard</source> <translation>Przegląda&amp;j talię poboczną</translation> </message> <message> <location filename="../src/player.cpp" line="640"/> <source>&amp;Draw card</source> <translation>&amp;Dobierz kartę</translation> </message> <message> <location filename="../src/player.cpp" line="641"/> <source>D&amp;raw cards...</source> <translation>Dobie&amp;rz karty…</translation> </message> <message> <location filename="../src/player.cpp" line="642"/> <source>&amp;Undo last draw</source> <translation>Co&amp;fnij ostatnie dobranie karty</translation> </message> <message> <location filename="../src/player.cpp" line="643"/> <source>Take &amp;mulligan</source> <translation>Weź &amp;mulligan</translation> </message> <message> <location filename="../src/player.cpp" line="644"/> <source>&amp;Shuffle</source> <translation>Przeta&amp;suj</translation> </message> <message> <location filename="../src/player.cpp" line="645"/> <source>Play top card &amp;face down</source> <translation type="unfinished"/> </message> <message> <location filename="../src/player.cpp" line="646"/> <source>Move top cards to &amp;graveyard...</source> <translation>Przemieść kart&amp;y z wierzchu na cmentarz…</translation> </message> <message> <location filename="../src/player.cpp" line="647"/> <source>Move top cards to &amp;exile...</source> <translation>Przemi&amp;eść karty z wierzchu do strefy wygnania…</translation> </message> <message> <location filename="../src/player.cpp" line="648"/> <source>Put top card on &amp;bottom</source> <translation>Połóż kartę z wierzc&amp;hu na dnie</translation> </message> <message> <location filename="../src/player.cpp" line="649"/> <source>Put bottom card &amp;in graveyard</source> <translation>Przen&amp;ieś kartę z dna na na cmentarz</translation> </message> <message> <location filename="../src/player.cpp" line="652"/> <source>&amp;Reveal hand to...</source> <translation>Pokaż &amp;rękę innym…</translation> </message> <message> <location filename="../src/player.cpp" line="653"/> <source>Reveal r&amp;andom card to...</source> <translation>Pok&amp;aż losową kartę innym…</translation> </message> <message> <location filename="../src/player.cpp" line="654"/> <source>&amp;Sideboard</source> <translation>Ta&amp;lia poboczna</translation> </message> <message> <location filename="../src/player.cpp" line="655"/> <source>&amp;Library</source> <translation>&amp;Biblioteka</translation> </message> <message> <location filename="../src/player.cpp" line="656"/> <source>&amp;Counters</source> <translation>Li&amp;czniki</translation> </message> <message> <location filename="../src/player.cpp" line="658"/> <source>&amp;Untap all permanents</source> <translation>Odtap&amp;uj wszystkie permanenty</translation> </message> <message> <location filename="../src/player.cpp" line="659"/> <source>R&amp;oll die...</source> <translation>Rzuć k&amp;ostką…</translation> </message> <message> <location filename="../src/player.cpp" line="660"/> <source>&amp;Create token...</source> <translation>Ut&amp;wórz token…</translation> </message> <message> <location filename="../src/player.cpp" line="661"/> <source>C&amp;reate another token</source> <translation>Utwó&amp;rz kolejny token</translation> </message> <message> <location filename="../src/player.cpp" line="662"/> <source>Cr&amp;eate predefined token</source> <translation>Utwórz zd&amp;efiniowany token</translation> </message> <message> <location filename="../src/player.cpp" line="663"/> <source>S&amp;ay</source> <translation>P&amp;owiedz</translation> </message> <message> <location filename="../src/player.cpp" line="669"/> <source>C&amp;ard</source> <translation>K&amp;arta</translation> </message> <message> <location filename="../src/player.cpp" line="672"/> <source>&amp;All players</source> <translation>Wszyscy gr&amp;acze</translation> </message> <message> <location filename="../src/player.cpp" line="675"/> <source>&amp;Play</source> <translation>&amp;Zagraj</translation> </message> <message> <location filename="../src/player.cpp" line="676"/> <source>&amp;Hide</source> <translation>Sc&amp;howaj</translation> </message> <message> <location filename="../src/player.cpp" line="677"/> <source>Play &amp;Face Down</source> <translation>Zagraj k&amp;oszulką do góry</translation> </message> <message> <location filename="../src/player.cpp" line="678"/> <source>&amp;Tap</source> <translation>&amp;Tapnij</translation> </message> <message> <location filename="../src/player.cpp" line="679"/> <source>&amp;Untap</source> <translation>Odtap&amp;uj</translation> </message> <message> <location filename="../src/player.cpp" line="680"/> <source>Toggle &amp;normal untapping</source> <translation>Przełącz &amp;normalne odtapowywanie</translation> </message> <message> <location filename="../src/player.cpp" line="681"/> <source>&amp;Flip</source> <translation>O&amp;dwróć</translation> </message> <message> <location filename="../src/player.cpp" line="682"/> <source>&amp;Peek at card face</source> <translation>S&amp;pójrz na awers karty</translation> </message> <message> <location filename="../src/player.cpp" line="683"/> <source>&amp;Clone</source> <translation>Klo&amp;nuj</translation> </message> <message> <location filename="../src/player.cpp" line="684"/> <source>Attac&amp;h to card...</source> <translation>Przyłącz do kart&amp;y…</translation> </message> <message> <location filename="../src/player.cpp" line="685"/> <source>Unattac&amp;h</source> <translation>Odłą&amp;cz</translation> </message> <message> <location filename="../src/player.cpp" line="686"/> <source>&amp;Draw arrow...</source> <translation>Narysuj wskaźni&amp;k</translation> </message> <message> <location filename="../src/player.cpp" line="687"/> <source>&amp;Increase power</source> <translation>Zw&amp;iększenie siły</translation> </message> <message> <location filename="../src/player.cpp" line="688"/> <source>&amp;Decrease power</source> <translation>Re&amp;dukcja siły</translation> </message> <message> <location filename="../src/player.cpp" line="689"/> <source>I&amp;ncrease toughness</source> <translation>Zwiększe&amp;nie wytrzymałości</translation> </message> <message> <location filename="../src/player.cpp" line="690"/> <source>D&amp;ecrease toughness</source> <translation>R&amp;edukcja wytrzymałości</translation> </message> <message> <location filename="../src/player.cpp" line="691"/> <source>In&amp;crease power and toughness</source> <translation>Zwięk&amp;sz siłę i wytrzymałość</translation> </message> <message> <location filename="../src/player.cpp" line="692"/> <source>Dec&amp;rease power and toughness</source> <translation>Red&amp;ukuj siłę i wytrzymałość</translation> </message> <message> <location filename="../src/player.cpp" line="693"/> <source>Set &amp;power and toughness...</source> <translation>Ustaw siłę i w&amp;ytrzymałość</translation> </message> <message> <location filename="../src/player.cpp" line="694"/> <source>&amp;Set annotation...</source> <translation>U&amp;staw adnotację…</translation> </message> <message> <location filename="../src/player.cpp" line="697"/> <source>Red</source> <translation>Czerwony</translation> </message> <message> <location filename="../src/player.cpp" line="698"/> <source>Yellow</source> <translation>Żółty</translation> </message> <message> <location filename="../src/player.cpp" line="699"/> <source>Green</source> <translation>Zielony</translation> </message> <message> <location filename="../src/player.cpp" line="2446"/> <location filename="../src/player.cpp" line="2458"/> <source>Token: </source> <translation type="unfinished"/> </message> <message> <location filename="../src/player.cpp" line="2462"/> <source>All tokens</source> <translation type="unfinished"/> </message> <message> <location filename="../src/player.cpp" line="865"/> <source>View top cards of library</source> <translation>Przeglądaj karty z wierzchu biblioteki</translation> </message> <message> <location filename="../src/player.cpp" line="702"/> <source>&amp;Add counter (%1)</source> <translation type="unfinished"/> </message> <message> <location filename="../src/player.cpp" line="705"/> <source>&amp;Remove counter (%1)</source> <translation type="unfinished"/> </message> <message> <location filename="../src/player.cpp" line="708"/> <source>&amp;Set counters (%1)...</source> <translation type="unfinished"/> </message> <message> <location filename="../src/player.cpp" line="865"/> <source>Number of cards:</source> <translation>Liczba kart:</translation> </message> <message> <location filename="../src/player.cpp" line="920"/> <source>Draw cards</source> <translation>Dobierz karty</translation> </message> <message> <location filename="../src/player.cpp" line="920"/> <location filename="../src/player.cpp" line="935"/> <location filename="../src/player.cpp" line="958"/> <location filename="../src/player.cpp" line="2277"/> <source>Number:</source> <translation>Liczba:</translation> </message> <message> <location filename="../src/player.cpp" line="935"/> <source>Move top cards to grave</source> <translation>Przenieś karty z wierzchu na cmentarz</translation> </message> <message> <location filename="../src/player.cpp" line="958"/> <source>Move top cards to exile</source> <translation>Przenieś karty z wierzchu do strefy wygnania</translation> </message> <message> <location filename="../src/player.cpp" line="1033"/> <source>Roll die</source> <translation>Rzuć kostką</translation> </message> <message> <location filename="../src/player.cpp" line="1033"/> <source>Number of sides:</source> <translation>Liczba ścian:</translation> </message> <message> <location filename="../src/player.cpp" line="2120"/> <source>Set power/toughness</source> <translation>Ustaw siłę/wytrzymałość</translation> </message> <message> <location filename="../src/player.cpp" line="2120"/> <source>Please enter the new PT:</source> <translation>Podaj nową watość SW:</translation> </message> <message> <location filename="../src/player.cpp" line="2195"/> <source>Set annotation</source> <translation>Ustaw adnotację</translation> </message> <message> <location filename="../src/player.cpp" line="2195"/> <source>Please enter the new annotation:</source> <translation>Podaj treść nowej adnotacji:</translation> </message> <message> <location filename="../src/player.cpp" line="2277"/> <source>Set counters</source> <translation>Ustaw znaczniki</translation> </message> </context> <context> <name>QMenuBar</name> <message> <location filename="../src/window_main.cpp" line="609"/> <source>Services</source> <translation>Usługi</translation> </message> <message> <location filename="../src/window_main.cpp" line="610"/> <source>Hide %1</source> <translation>Ukryj %1</translation> </message> <message> <location filename="../src/window_main.cpp" line="611"/> <source>Hide Others</source> <translation>Ukryj pozostałe</translation> </message> <message> <location filename="../src/window_main.cpp" line="612"/> <source>Show All</source> <translation>Pokaż wszystkie</translation> </message> <message> <location filename="../src/window_main.cpp" line="613"/> <source>Preferences...</source> <translation>Preferencje…</translation> </message> <message> <location filename="../src/window_main.cpp" line="614"/> <source>Quit %1</source> <translation>Zakończ %1</translation> </message> <message> <location filename="../src/window_main.cpp" line="615"/> <source>About %1</source> <translation>O programie %1</translation> </message> </context> <context> <name>QObject</name> <message> <location filename="../src/window_main.cpp" line="76"/> <source>Cockatrice card database (*.xml)</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_main.cpp" line="77"/> <location filename="../src/deck_loader.cpp" line="11"/> <source>All files (*.*)</source> <translation>Wszystkie pliki (*.*)</translation> </message> <message> <location filename="../src/window_main.cpp" line="233"/> <source>Cockatrice replays (*.cor)</source> <translation>Powtórki Cockatrice (*.cor)</translation> </message> <message> <location filename="../src/deck_loader.cpp" line="10"/> <source>Common deck formats (*.cod *.dec *.txt *.mwDeck)</source> <translation type="unfinished"/> </message> <message> <location filename="../../common/decklist.cpp" line="99"/> <source>Maindeck</source> <translation type="unfinished"/> </message> <message> <location filename="../../common/decklist.cpp" line="101"/> <source>Sideboard</source> <translation type="unfinished"/> </message> <message> <location filename="../../common/decklist.cpp" line="103"/> <source>Tokens</source> <translation type="unfinished"/> </message> </context> <context> <name><API key></name> <message> <location filename="../src/<API key>.cpp" line="161"/> <source>Name</source> <translation>Nazwa</translation> </message> <message> <location filename="../src/<API key>.cpp" line="162"/> <source>ID</source> <translation>ID</translation> </message> <message> <location filename="../src/<API key>.cpp" line="163"/> <source>Upload time</source> <translation>Data dodania</translation> </message> </context> <context> <name><API key></name> <message> <location filename="../src/<API key>.cpp" line="137"/> <source>ID</source> <translation>ID</translation> </message> <message> <location filename="../src/<API key>.cpp" line="138"/> <source>Name</source> <translation>Nazwa</translation> </message> <message> <location filename="../src/<API key>.cpp" line="139"/> <source>Players</source> <translation>Gracze</translation> </message> <message> <location filename="../src/<API key>.cpp" line="140"/> <source>Keep</source> <translation>Zachowaj</translation> </message> <message> <location filename="../src/<API key>.cpp" line="141"/> <source>Time started</source> <translation>Czas rozpoczęcia</translation> </message> <message> <location filename="../src/<API key>.cpp" line="142"/> <source>Duration (sec)</source> <translation>Czas trwania (sek)</translation> </message> </context> <context> <name>RoomSelector</name> <message> <location filename="../src/tab_server.cpp" line="55"/> <source>Rooms</source> <translation>Pokoje</translation> </message> <message> <location filename="../src/tab_server.cpp" line="56"/> <source>Joi&amp;n</source> <translation>&amp;Dołącz</translation> </message> <message> <location filename="../src/tab_server.cpp" line="59"/> <source>Room</source> <translation>Pokój</translation> </message> <message> <location filename="../src/tab_server.cpp" line="60"/> <source>Description</source> <translation>Opis</translation> </message> <message> <location filename="../src/tab_server.cpp" line="61"/> <source>Permissions</source> <translation>Zezwolenia</translation> </message> <message> <location filename="../src/tab_server.cpp" line="62"/> <source>Players</source> <translation>Gracze</translation> </message> <message> <location filename="../src/tab_server.cpp" line="63"/> <source>Games</source> <translation>Gry</translation> </message> </context> <context> <name>SequenceEdit</name> <message> <location filename="../src/sequenceEdit/sequenceedit.cpp" line="152"/> <source>Shortcut already in use</source> <translation type="unfinished"/> </message> </context> <context> <name>SetsModel</name> <message> <location filename="../src/setsmodel.cpp" line="67"/> <source>Enabled</source> <translation>Włączone</translation> </message> <message> <location filename="../src/setsmodel.cpp" line="68"/> <source>Set type</source> <translation>Rodzaj dodatku</translation> </message> <message> <location filename="../src/setsmodel.cpp" line="69"/> <source>Set code</source> <translation>Kod dodatku</translation> </message> <message> <location filename="../src/setsmodel.cpp" line="70"/> <source>Long name</source> <translation>Pełna nazwa</translation> </message> <message> <location filename="../src/setsmodel.cpp" line="71"/> <source>Release date</source> <translation>Data wydania</translation> </message> </context> <context> <name>ShortcutsTab</name> <message> <location filename="../src/sequenceEdit/shortcutstab.cpp" line="29"/> <source>Restore all default shortcuts</source> <translation>Przywróć domyślne skróty</translation> </message> <message> <location filename="../src/sequenceEdit/shortcutstab.cpp" line="30"/> <source>Do you really want to restore all default shortcuts?</source> <translation>Czy na pewno chcesz przywrócić wszystkie domyślne skróty?</translation> </message> <message> <location filename="../src/sequenceEdit/shortcutstab.cpp" line="47"/> <source>Clear all default shortcuts</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/shortcutstab.cpp" line="48"/> <source>Do you really want to clear all shortcuts?</source> <translation type="unfinished"/> </message> </context> <context> <name>ShutdownDialog</name> <message> <location filename="../src/tab_admin.cpp" line="19"/> <source>&amp;Reason for shutdown:</source> <translation>P&amp;rzyczyna zamknięcia:</translation> </message> <message> <location filename="../src/tab_admin.cpp" line="22"/> <source>&amp;Time until shutdown (minutes):</source> <translation>Czas do zamknięcia (w minu&amp;tach):</translation> </message> <message> <location filename="../src/tab_admin.cpp" line="41"/> <source>Shut down server</source> <translation>Zamknij serwer</translation> </message> </context> <context> <name>SoundSettingsPage</name> <message> <location filename="../src/dlg_settings.cpp" line="745"/> <source>Enable &amp;sounds</source> <translation type="unfinished"/> </message> <message> <location filename="../src/dlg_settings.cpp" line="746"/> <source>Current sounds theme:</source> <translation type="unfinished"/> </message> <message> <location filename="../src/dlg_settings.cpp" line="747"/> <source>Test system sound engine</source> <translation type="unfinished"/> </message> <message> <location filename="../src/dlg_settings.cpp" line="748"/> <source>Sound settings</source> <translation>Ustawienia dźwięku</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="749"/> <source>Master volume</source> <translation>Główne ustawienia głośności</translation> </message> </context> <context> <name><API key></name> <message> <location filename="../src/releasechannel.cpp" line="90"/> <source>Stable releases</source> <translation type="unfinished"/> </message> <message> <location filename="../src/releasechannel.cpp" line="108"/> <source>No reply received from the release update server.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/releasechannel.cpp" line="117"/> <source>Invalid reply received from the release update server.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/releasechannel.cpp" line="149"/> <source>No reply received from the tag update server.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/releasechannel.cpp" line="156"/> <source>Invalid reply received from the tag update server.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/releasechannel.cpp" line="179"/> <source>No reply received from the file update server.</source> <translation type="unfinished"/> </message> </context> <context> <name>TabAdmin</name> <message> <location filename="../src/tab_admin.h" line="46"/> <source>Administration</source> <translation>Administracja</translation> </message> <message> <location filename="../src/tab_admin.cpp" line="96"/> <source>Update server &amp;message</source> <translation>Aktualizuj wiado&amp;mość serwera</translation> </message> <message> <location filename="../src/tab_admin.cpp" line="97"/> <source>&amp;Shut down server</source> <translation>Zamknij &amp;serwer</translation> </message> <message> <location filename="../src/tab_admin.cpp" line="98"/> <source>&amp;Reload configuration</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_admin.cpp" line="99"/> <source>Server administration functions</source> <translation>Pokaż funkcje administracyjne</translation> </message> <message> <location filename="../src/tab_admin.cpp" line="101"/> <source>&amp;Unlock functions</source> <translation>Odblok&amp;uj funkcje</translation> </message> <message> <location filename="../src/tab_admin.cpp" line="102"/> <source>&amp;Lock functions</source> <translation>Zab&amp;lokuj funkcje</translation> </message> </context> <context> <name>TabDeckEditor</name> <message> <location filename="../src/tab_deck_editor.cpp" line="530"/> <source>&amp;Clear all filters</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="531"/> <source>Delete selected</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="533"/> <source>Deck &amp;name:</source> <translation>&amp;Nazwa talii:</translation> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="534"/> <source>&amp;Comments:</source> <translation>&amp;Komentarze:</translation> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="535"/> <source>Hash:</source> <translation>Hash:</translation> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="540"/> <source>&amp;New deck</source> <translation>&amp;Nowa talia</translation> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="541"/> <source>&amp;Load deck...</source> <translation>&amp;Wczytaj ta&amp;lię…</translation> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="542"/> <source>&amp;Save deck</source> <translation>Zapi&amp;sz talię</translation> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="543"/> <source>Save deck &amp;as...</source> <translation>Zaisz talię j&amp;ako…</translation> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="544"/> <source>Load deck from cl&amp;ipboard...</source> <translation>Wczytaj tal&amp;ię ze schowka…</translation> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="545"/> <source>Save deck to clip&amp;board</source> <translation>Zapisz talię do schow&amp;ka</translation> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="546"/> <source>&amp;Print deck...</source> <translation>&amp;Drukuj talię</translation> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="548"/> <source>&amp;Analyze deck online</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="552"/> <source>&amp;Close</source> <translation>&amp;Zakończ</translation> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="554"/> <source>Add card to &amp;maindeck</source> <translation>Dodaj kartę do talii &amp;głównej</translation> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="555"/> <source>Add card to &amp;sideboard</source> <translation>Dodaj kartę do talii po&amp;bocznej</translation> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="557"/> <source>&amp;Remove row</source> <translation>Usuń wie&amp;rsz</translation> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="559"/> <source>&amp;Increment number</source> <translation>Zwiększ l&amp;iczbę</translation> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="561"/> <source>&amp;Decrement number</source> <translation>Zmniejsz &amp;liczbę</translation> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="563"/> <source>&amp;Deck Editor</source> <translation>E&amp;dytor talii</translation> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="565"/> <location filename="../src/tab_deck_editor.cpp" line="570"/> <source>Card Info</source> <translation>Informacje o karcie</translation> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="566"/> <location filename="../src/tab_deck_editor.cpp" line="571"/> <source>Deck</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="567"/> <location filename="../src/tab_deck_editor.cpp" line="572"/> <source>Filters</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="569"/> <source>&amp;View</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="574"/> <location filename="../src/tab_deck_editor.cpp" line="577"/> <location filename="../src/tab_deck_editor.cpp" line="580"/> <source>Visible</source> <translation>Widoczne</translation> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="575"/> <location filename="../src/tab_deck_editor.cpp" line="578"/> <location filename="../src/tab_deck_editor.cpp" line="581"/> <source>Floating</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="583"/> <source>Reset layout</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="588"/> <source>Deck: %1</source> <translation>Talia: %1</translation> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="636"/> <source>Are you sure?</source> <translation>Czy na pewno?</translation> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="637"/> <source>The decklist has been modified. Do you want to save the changes?</source> <translation>Talia została zmodyfikowana. Czy chcesz zachować zmiany?</translation> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="667"/> <source>Load deck</source> <translation>Wczytaj talię</translation> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="686"/> <location filename="../src/tab_deck_editor.cpp" line="710"/> <location filename="../src/tab_deck_editor.cpp" line="730"/> <source>Error</source> <translation>Błąd</translation> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="686"/> <source>The deck could not be saved.</source> <translation>Talia nie mogła zostać zapisana.</translation> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="710"/> <location filename="../src/tab_deck_editor.cpp" line="730"/> <source>The deck could not be saved. Please check that the directory is writable and try again.</source> <translation>Zapisanie talii nie mogło zostać ukończone. Sprawdź, czy włączone są uprawnienia do zapisu w katalogu docelowym i spróbuj ponownie.</translation> </message> <message> <location filename="../src/tab_deck_editor.cpp" line="716"/> <source>Save deck</source> <translation>Zapisz talię</translation> </message> </context> <context> <name>TabDeckStorage</name> <message> <location filename="../src/tab_deck_storage.h" line="52"/> <source>Deck storage</source> <translation>Przechowalnia talii</translation> </message> <message> <location filename="../src/tab_deck_storage.cpp" line="117"/> <source>Local file system</source> <translation>Pliki lokalne</translation> </message> <message> <location filename="../src/tab_deck_storage.cpp" line="118"/> <source>Server deck storage</source> <translation>Przechowalnia talii na serwerze</translation> </message> <message> <location filename="../src/tab_deck_storage.cpp" line="120"/> <location filename="../src/tab_deck_storage.cpp" line="122"/> <source>Open in deck editor</source> <translation>Otwórz w edytorze talii</translation> </message> <message> <location filename="../src/tab_deck_storage.cpp" line="121"/> <source>Upload deck</source> <translation>Wyślij talię</translation> </message> <message> <location filename="../src/tab_deck_storage.cpp" line="123"/> <source>Download deck</source> <translation>Pobierz talię</translation> </message> <message> <location filename="../src/tab_deck_storage.cpp" line="124"/> <location filename="../src/tab_deck_storage.cpp" line="270"/> <source>New folder</source> <translation>Nowy folder</translation> </message> <message> <location filename="../src/tab_deck_storage.cpp" line="125"/> <location filename="../src/tab_deck_storage.cpp" line="126"/> <source>Delete</source> <translation>Usuń</translation> </message> <message> <location filename="../src/tab_deck_storage.cpp" line="156"/> <source>Enter deck name</source> <translation>Podaj nazwę talii</translation> </message> <message> <location filename="../src/tab_deck_storage.cpp" line="156"/> <source>This decklist does not have a name. Please enter a name:</source> <translation>Talia nie posiada nazwy. Wprowadź nazwę:</translation> </message> <message> <location filename="../src/tab_deck_storage.cpp" line="160"/> <source>Unnamed deck</source> <translation>Nienazwana talia</translation> </message> <message> <location filename="../src/tab_deck_storage.cpp" line="195"/> <source>Delete local file</source> <translation>Usuń plik lokalny</translation> </message> <message> <location filename="../src/tab_deck_storage.cpp" line="195"/> <location filename="../src/tab_deck_storage.cpp" line="316"/> <location filename="../src/tab_deck_storage.cpp" line="324"/> <source>Are you sure you want to delete &quot;%1&quot;?</source> <translation>Czy na pewno chcesz usunąć &quot;%1&quot;?</translation> </message> <message> <location filename="../src/tab_deck_storage.cpp" line="270"/> <source>Name of new folder:</source> <translation>Nazwa nowego folderu:</translation> </message> <message> <location filename="../src/tab_deck_storage.cpp" line="316"/> <source>Delete remote folder</source> <translation>Usuń zdalny folder</translation> </message> <message> <location filename="../src/tab_deck_storage.cpp" line="324"/> <source>Delete remote deck</source> <translation>Usuń przechowywaną talię</translation> </message> </context> <context> <name>TabGame</name> <message> <location filename="../src/tab_game.cpp" line="451"/> <location filename="../src/tab_game.cpp" line="458"/> <location filename="../src/tab_game.cpp" line="1183"/> <source>Replay</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_game.cpp" line="451"/> <location filename="../src/tab_game.cpp" line="458"/> <source>Game</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_game.cpp" line="461"/> <location filename="../src/tab_game.cpp" line="504"/> <source>Card Info</source> <translation>Informacje o karcie</translation> </message> <message> <location filename="../src/tab_game.cpp" line="453"/> <location filename="../src/tab_game.cpp" line="506"/> <source>Player List</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_game.cpp" line="462"/> <location filename="../src/tab_game.cpp" line="505"/> <source>Messages</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_game.cpp" line="464"/> <location filename="../src/tab_game.cpp" line="519"/> <source>Replay Timeline</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_game.cpp" line="469"/> <source>&amp;Phases</source> <translation>&amp;Fazy</translation> </message> <message> <location filename="../src/tab_game.cpp" line="472"/> <source>&amp;Game</source> <translation>&amp;Gra</translation> </message> <message> <location filename="../src/tab_game.cpp" line="474"/> <source>Next &amp;phase</source> <translation>Następna &amp;faza</translation> </message> <message> <location filename="../src/tab_game.cpp" line="477"/> <source>Next &amp;turn</source> <translation>Następna &amp;tura</translation> </message> <message> <location filename="../src/tab_game.cpp" line="480"/> <source>&amp;Remove all local arrows</source> <translation>Usuń wszystkie &amp;wskaźniki</translation> </message> <message> <location filename="../src/tab_game.cpp" line="483"/> <source>Rotate View Cl&amp;ockwise</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_game.cpp" line="486"/> <source>Rotate View Co&amp;unterclockwise</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_game.cpp" line="489"/> <source>Game &amp;information</source> <translation>&amp;Informacje o grze</translation> </message> <message> <location filename="../src/tab_game.cpp" line="491"/> <source>&amp;Concede</source> <translation>&amp;Poddaj grę</translation> </message> <message> <location filename="../src/tab_game.cpp" line="494"/> <source>&amp;Leave game</source> <translation>&amp;Opuść grę</translation> </message> <message> <location filename="../src/tab_game.cpp" line="497"/> <source>C&amp;lose replay</source> <translation>&amp;Zamknij powtórkę</translation> </message> <message> <location filename="../src/tab_game.cpp" line="500"/> <source>&amp;Say:</source> <translation>&amp;Powiedz:</translation> </message> <message> <location filename="../src/tab_game.cpp" line="503"/> <source>&amp;View</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_game.cpp" line="508"/> <location filename="../src/tab_game.cpp" line="511"/> <location filename="../src/tab_game.cpp" line="514"/> <location filename="../src/tab_game.cpp" line="520"/> <source>Visible</source> <translation>Widoczne</translation> </message> <message> <location filename="../src/tab_game.cpp" line="509"/> <location filename="../src/tab_game.cpp" line="512"/> <location filename="../src/tab_game.cpp" line="515"/> <location filename="../src/tab_game.cpp" line="521"/> <source>Floating</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_game.cpp" line="524"/> <source>Reset layout</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_game.cpp" line="605"/> <source>Concede</source> <translation>Poddaj grę</translation> </message> <message> <location filename="../src/tab_game.cpp" line="605"/> <source>Are you sure you want to concede this game?</source> <translation>Czy na pewno chcesz poddać tę grę?</translation> </message> <message> <location filename="../src/tab_game.cpp" line="615"/> <source>Leave game</source> <translation>Opuść grę</translation> </message> <message> <location filename="../src/tab_game.cpp" line="615"/> <source>Are you sure you want to leave this game?</source> <translation>Czy na pewno chcesz zakończyć tę rozgrywkę?</translation> </message> <message> <location filename="../src/tab_game.cpp" line="811"/> <source>You are flooding the game. Please wait a couple of seconds.</source> <translation>Spamujesz. Poczekaj chwilę.</translation> </message> <message> <location filename="../src/tab_game.cpp" line="1078"/> <source>You have been kicked out of the game.</source> <translation>Wyrzucono cię z gry.</translation> </message> </context> <context> <name>TabLog</name> <message> <location filename="../src/tab_logs.h" line="54"/> <source>Logs</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_logs.cpp" line="28"/> <location filename="../src/tab_logs.cpp" line="33"/> <location filename="../src/tab_logs.cpp" line="38"/> <source>Time;SenderName;SenderIP;Message;TargetID;TargetName</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_logs.cpp" line="41"/> <source>Room Logs</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_logs.cpp" line="42"/> <source>Game Logs</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_logs.cpp" line="43"/> <source>Chat Logs</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_logs.cpp" line="65"/> <location filename="../src/tab_logs.cpp" line="75"/> <source>Error</source> <translation>Błąd</translation> </message> <message> <location filename="../src/tab_logs.cpp" line="65"/> <source>You must select at least one filter.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_logs.cpp" line="75"/> <source>You have to select a valid number of days to locate.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_logs.cpp" line="140"/> <source>Username: </source> <translation>Nazwa użytkownika:</translation> </message> <message> <location filename="../src/tab_logs.cpp" line="143"/> <source>IP Address: </source> <translation>Adres IP:</translation> </message> <message> <location filename="../src/tab_logs.cpp" line="146"/> <source>Game Name: </source> <translation>Nazwa rozgrywki:</translation> </message> <message> <location filename="../src/tab_logs.cpp" line="149"/> <source>GameID: </source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_logs.cpp" line="152"/> <source>Message: </source> <translation>Wiadomość:</translation> </message> <message> <location filename="../src/tab_logs.cpp" line="156"/> <source>Main Room</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_logs.cpp" line="157"/> <source>Game Room</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_logs.cpp" line="158"/> <source>Private Chat</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_logs.cpp" line="160"/> <source>Past X Days: </source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_logs.cpp" line="161"/> <source>Today</source> <translation>Dziś</translation> </message> <message> <location filename="../src/tab_logs.cpp" line="162"/> <source>Last Hour</source> <translation>Ostatnia godzina</translation> </message> <message> <location filename="../src/tab_logs.cpp" line="167"/> <source>Maximum Results: </source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_logs.cpp" line="171"/> <source>At least one filter is required. The more information you put in, the more specific your results will be.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_logs.cpp" line="173"/> <source>Get User Logs</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_logs.cpp" line="177"/> <source>Clear Filters</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_logs.cpp" line="193"/> <source>Filters</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_logs.cpp" line="202"/> <source>Log Locations</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_logs.cpp" line="211"/> <source>Date Range</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_logs.cpp" line="218"/> <source>Maximum Results</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_logs.cpp" line="255"/> <location filename="../src/tab_logs.cpp" line="260"/> <source>Message History</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_logs.cpp" line="255"/> <source>Failed to collect message history information.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_logs.cpp" line="260"/> <source>There are no messages for the selected filters.</source> <translation type="unfinished"/> </message> </context> <context> <name>TabMessage</name> <message> <location filename="../src/tab_message.cpp" line="63"/> <source>Private &amp;chat</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_message.cpp" line="64"/> <source>&amp;Leave</source> <translation>&amp;Opuść</translation> </message> <message> <location filename="../src/tab_message.cpp" line="80"/> <source>%1 - Private chat</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_message.cpp" line="107"/> <source>This user is ignoring you, they cannot see your messages in main chat and you cannot join their games.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_message.cpp" line="140"/> <source>Private message from </source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_message.cpp" line="157"/> <source>%1 has left the server.</source> <translation>Gracz %1 opuścił serwer.</translation> </message> <message> <location filename="../src/tab_message.cpp" line="163"/> <source>%1 has joined the server.</source> <translation>Gracz %1 pojawił się na serwerze.</translation> </message> </context> <context> <name>TabReplays</name> <message> <location filename="../src/tab_replays.h" line="51"/> <source>Game replays</source> <translation>Powtórki</translation> </message> <message> <location filename="../src/tab_replays.cpp" line="115"/> <source>Local file system</source> <translation>Lokalny system plików</translation> </message> <message> <location filename="../src/tab_replays.cpp" line="116"/> <source>Server replay storage</source> <translation>Powtórki na serwerze</translation> </message> <message> <location filename="../src/tab_replays.cpp" line="118"/> <location filename="../src/tab_replays.cpp" line="120"/> <source>Watch replay</source> <translation>Obejrzyj powtórkę</translation> </message> <message> <location filename="../src/tab_replays.cpp" line="119"/> <location filename="../src/tab_replays.cpp" line="123"/> <source>Delete</source> <translation>Usuń</translation> </message> <message> <location filename="../src/tab_replays.cpp" line="121"/> <source>Download replay</source> <translation>Pobierz powtórkę</translation> </message> <message> <location filename="../src/tab_replays.cpp" line="122"/> <source>Toggle expiration lock</source> <translation>Wł./Wył. ochronę przed automatycznym usunięciem</translation> </message> <message> <location filename="../src/tab_replays.cpp" line="148"/> <source>Delete local file</source> <translation>Usuń plik lokalny</translation> </message> <message> <location filename="../src/tab_replays.cpp" line="148"/> <source>Are you sure you want to delete &quot;%1&quot;?</source> <translation>Czy na pewno chcesz usunąć &quot;%1&quot;?</translation> </message> <message> <location filename="../src/tab_replays.cpp" line="196"/> <source>Downloading Replays</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_replays.cpp" line="196"/> <source>You cannot download replay folders at this time</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_replays.cpp" line="259"/> <source>Delete remote replay</source> <translation>Usuń przechowywaną powtórkę</translation> </message> <message> <location filename="../src/tab_replays.cpp" line="259"/> <source>Are you sure you want to delete the replay of game %1?</source> <translation>Czy na pewno chcesz usunąć powtórkę gry %1?</translation> </message> </context> <context> <name>TabRoom</name> <message> <location filename="../src/tab_room.cpp" line="144"/> <source>&amp;Say:</source> <translation>&amp;Powiedz:</translation> </message> <message> <location filename="../src/tab_room.cpp" line="145"/> <source>Chat</source> <translation>Czat</translation> </message> <message> <location filename="../src/tab_room.cpp" line="146"/> <source>&amp;Room</source> <translation>P&amp;okój</translation> </message> <message> <location filename="../src/tab_room.cpp" line="147"/> <source>&amp;Leave room</source> <translation>Op&amp;uść pokój</translation> </message> <message> <location filename="../src/tab_room.cpp" line="148"/> <source>&amp;Clear chat</source> <translation>Wyczyść &amp;czat</translation> </message> <message> <location filename="../src/tab_room.cpp" line="149"/> <source>Chat Settings...</source> <translation>Ustawienia czatu…</translation> </message> <message> <location filename="../src/tab_room.cpp" line="162"/> <source> mentioned you.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_room.cpp" line="162"/> <source>Click to view</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_room.cpp" line="207"/> <source>You are flooding the chat. Please wait a couple of seconds.</source> <translation>Spamujesz. Poczekaj chwilę.</translation> </message> </context> <context> <name>TabServer</name> <message> <location filename="../src/tab_server.h" line="52"/> <source>Server</source> <translation>Serwer</translation> </message> <message> <location filename="../src/tab_server.cpp" line="183"/> <location filename="../src/tab_server.cpp" line="186"/> <location filename="../src/tab_server.cpp" line="189"/> <location filename="../src/tab_server.cpp" line="192"/> <source>Error</source> <translation>Błąd</translation> </message> <message> <location filename="../src/tab_server.cpp" line="183"/> <source>Failed to join the room: it doesn&apos;t exists on the server.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_server.cpp" line="186"/> <source>The server thinks you are in the room but Cockatrice is unable to display it. Try restarting Cockatrice.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_server.cpp" line="189"/> <source>You do not have the required permission to join this room.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_server.cpp" line="192"/> <source>Failed to join the room due to an unknown error: %1.</source> <translation type="unfinished"/> </message> </context> <context> <name>TabSupervisor</name> <message> <location filename="../src/tab_supervisor.cpp" line="143"/> <source>Are you sure?</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_supervisor.cpp" line="143"/> <source>There are still open games. Are you sure you want to quit?</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_supervisor.cpp" line="582"/> <source>Unknown Event</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_supervisor.cpp" line="582"/> <source>The server has sent you a message that your client does not understand. This message might mean there is a new version of Cockatrice available or this server is running a custom or pre-release version. To update your client, go to Help -&gt; Update Cockatrice.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_supervisor.cpp" line="583"/> <source>Idle Timeout</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_supervisor.cpp" line="583"/> <source>You are about to be logged out due to inactivity.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_supervisor.cpp" line="584"/> <source>Promotion</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_supervisor.cpp" line="584"/> <source>You have been promoted to moderator. Please log out and back in for changes to take effect.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_supervisor.cpp" line="587"/> <source>Warned</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_supervisor.cpp" line="587"/> <source>You have received a warning due to %1. Please refrain from engaging in this activity or further actions may be taken against you. If you have any questions, please private message a moderator.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tab_supervisor.cpp" line="597"/> <source>You have received the following message from the server. (custom messages like these could be untranslated)</source> <translation type="unfinished"/> </message> </context> <context> <name>TabUserLists</name> <message> <location filename="../src/tab_userlists.h" line="48"/> <source>Account</source> <translation>Konto</translation> </message> <message> <location filename="../src/tab_userlists.cpp" line="49"/> <source>Add to Buddy List</source> <translation>Dodaj do listy znajomych</translation> </message> <message> <location filename="../src/tab_userlists.cpp" line="58"/> <source>Add to Ignore List</source> <translation>Dodaj do listy ignorowanych</translation> </message> </context> <context> <name>TappedOutInterface</name> <message> <location filename="../src/tappedout_interface.cpp" line="23"/> <location filename="../src/tappedout_interface.cpp" line="67"/> <source>Error</source> <translation type="unfinished"/> </message> <message> <location filename="../src/tappedout_interface.cpp" line="45"/> <source>Unable to analyze the deck.</source> <translation type="unfinished"/> </message> </context> <context> <name>UpdateDownloader</name> <message> <location filename="../src/update_downloader.cpp" line="46"/> <source>Could not open the file for reading.</source> <translation type="unfinished"/> </message> </context> <context> <name>UserContextMenu</name> <message> <location filename="../src/user_context_menu.cpp" line="53"/> <source>User &amp;details</source> <translation>&amp;Dane użytkownika</translation> </message> <message> <location filename="../src/user_context_menu.cpp" line="54"/> <source>Private &amp;chat</source> <translation type="unfinished"/> </message> <message> <location filename="../src/user_context_menu.cpp" line="55"/> <source>Show this user&apos;s &amp;games</source> <translation>Wyświetl &amp;gry użytkownika</translation> </message> <message> <location filename="../src/user_context_menu.cpp" line="56"/> <source>Add to &amp;buddy list</source> <translation>&amp;Dodaj do listy znajomych</translation> </message> <message> <location filename="../src/user_context_menu.cpp" line="57"/> <source>Remove from &amp;buddy list</source> <translation>&amp;Usuń z listy znajomych</translation> </message> <message> <location filename="../src/user_context_menu.cpp" line="58"/> <source>Add to &amp;ignore list</source> <translation>Dodaj do listy &amp;ignorowanych</translation> </message> <message> <location filename="../src/user_context_menu.cpp" line="59"/> <source>Remove from &amp;ignore list</source> <translation>Usuń z listy &amp;ignorowanych</translation> </message> <message> <location filename="../src/user_context_menu.cpp" line="60"/> <source>Kick from &amp;game</source> <translation>Wyrzuć z &amp;gry</translation> </message> <message> <location filename="../src/user_context_menu.cpp" line="61"/> <source>Warn user</source> <translation type="unfinished"/> </message> <message> <location filename="../src/user_context_menu.cpp" line="62"/> <source>View user&apos;s war&amp;n history</source> <translation type="unfinished"/> </message> <message> <location filename="../src/user_context_menu.cpp" line="63"/> <source>Ban from &amp;server</source> <translation>Zbanuj z &amp;serwera</translation> </message> <message> <location filename="../src/user_context_menu.cpp" line="64"/> <source>View user&apos;s &amp;ban history</source> <translation type="unfinished"/> </message> <message> <location filename="../src/user_context_menu.cpp" line="65"/> <source>&amp;Promote user to moderator</source> <translation type="unfinished"/> </message> <message> <location filename="../src/user_context_menu.cpp" line="66"/> <source>Dem&amp;ote user from moderator</source> <translation type="unfinished"/> </message> <message> <location filename="../src/user_context_menu.cpp" line="94"/> <source>%1&apos;s games</source> <translation>Gry gracza %1</translation> </message> <message> <location filename="../src/user_context_menu.cpp" line="149"/> <location filename="../src/user_context_menu.cpp" line="170"/> <location filename="../src/user_context_menu.cpp" line="173"/> <source>Ban History</source> <translation type="unfinished"/> </message> <message> <location filename="../src/user_context_menu.cpp" line="155"/> <source>Ban Time;Moderator;Ban Length;Ban Reason;Visible Reason</source> <translation type="unfinished"/> </message> <message> <location filename="../src/user_context_menu.cpp" line="170"/> <source>User has never been banned.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/user_context_menu.cpp" line="173"/> <source>Failed to collecting ban information.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/user_context_menu.cpp" line="182"/> <location filename="../src/user_context_menu.cpp" line="202"/> <location filename="../src/user_context_menu.cpp" line="205"/> <source>Warning History</source> <translation type="unfinished"/> </message> <message> <location filename="../src/user_context_menu.cpp" line="188"/> <source>Warning Time;Moderator;User Name;Reason</source> <translation type="unfinished"/> </message> <message> <location filename="../src/user_context_menu.cpp" line="202"/> <source>User has never been warned.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/user_context_menu.cpp" line="205"/> <source>Failed to collecting warning information.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/user_context_menu.cpp" line="215"/> <location filename="../src/user_context_menu.cpp" line="217"/> <source>Success</source> <translation>Operacja zakończona pomyślnie</translation> </message> <message> <location filename="../src/user_context_menu.cpp" line="215"/> <source>Successfully promoted user.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/user_context_menu.cpp" line="217"/> <source>Successfully demoted user.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/user_context_menu.cpp" line="222"/> <location filename="../src/user_context_menu.cpp" line="224"/> <source>Failed</source> <translation type="unfinished"/> </message> <message> <location filename="../src/user_context_menu.cpp" line="222"/> <source>Failed to promote user.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/user_context_menu.cpp" line="224"/> <source>Failed to demote user.</source> <translation type="unfinished"/> </message> </context> <context> <name>UserInfoBox</name> <message> <location filename="../src/userinfobox.cpp" line="61"/> <source>User information</source> <translation>Informacje o użytkowniku</translation> </message> <message> <location filename="../src/userinfobox.cpp" line="68"/> <source>Real name:</source> <translation>Imię:</translation> </message> <message> <location filename="../src/userinfobox.cpp" line="69"/> <source>Location:</source> <translation>Lokacja:</translation> </message> <message> <location filename="../src/userinfobox.cpp" line="70"/> <source>User level:</source> <translation>Rodzaj użytkownika:</translation> </message> <message> <location filename="../src/userinfobox.cpp" line="71"/> <source>Account Age:</source> <translation>Wiek konta:</translation> </message> <message> <location filename="../src/userinfobox.cpp" line="73"/> <source>Edit</source> <translation type="unfinished"/> </message> <message> <location filename="../src/userinfobox.cpp" line="74"/> <source>Change password</source> <translation>Zmień hasło</translation> </message> <message> <location filename="../src/userinfobox.cpp" line="75"/> <source>Change avatar</source> <translation>Zmień awatar</translation> </message> <message> <location filename="../src/userinfobox.cpp" line="106"/> <source>Administrator</source> <translation>Administrator</translation> </message> <message> <location filename="../src/userinfobox.cpp" line="108"/> <source>Moderator</source> <translation>Moderator</translation> </message> <message> <location filename="../src/userinfobox.cpp" line="110"/> <source>Registered user</source> <translation>Zarejestrowany użytkownik</translation> </message> <message> <location filename="../src/userinfobox.cpp" line="112"/> <location filename="../src/userinfobox.cpp" line="120"/> <source>Unregistered user</source> <translation>Niezarejestrowany użytkownik</translation> </message> <message> <location filename="../src/userinfobox.cpp" line="115"/> <source>%1</source> <translation type="unfinished"/> </message> <message> <location filename="../src/userinfobox.cpp" line="123"/> <source>Unknown</source> <translation>Nieznany</translation> </message> <message> <location filename="../src/userinfobox.cpp" line="136"/> <source>Year</source> <translation>Rok</translation> </message> <message> <location filename="../src/userinfobox.cpp" line="136"/> <source>Years</source> <translation>Lata</translation> </message> <message> <location filename="../src/userinfobox.cpp" line="142"/> <source>Day</source> <translation>Dzień</translation> </message> <message> <location filename="../src/userinfobox.cpp" line="142"/> <source>Days</source> <translation>Dni</translation> </message> <message> <location filename="../src/userinfobox.cpp" line="238"/> <location filename="../src/userinfobox.cpp" line="254"/> <location filename="../src/userinfobox.cpp" line="277"/> <source>Information</source> <translation type="unfinished"/> </message> <message> <location filename="../src/userinfobox.cpp" line="238"/> <source>User information updated.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/userinfobox.cpp" line="241"/> <location filename="../src/userinfobox.cpp" line="245"/> <location filename="../src/userinfobox.cpp" line="257"/> <location filename="../src/userinfobox.cpp" line="260"/> <location filename="../src/userinfobox.cpp" line="263"/> <location filename="../src/userinfobox.cpp" line="267"/> <location filename="../src/userinfobox.cpp" line="280"/> <location filename="../src/userinfobox.cpp" line="284"/> <source>Error</source> <translation>Błąd</translation> </message> <message> <location filename="../src/userinfobox.cpp" line="241"/> <source>This server does not permit you to update your user informations.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/userinfobox.cpp" line="245"/> <location filename="../src/userinfobox.cpp" line="267"/> <source>An error occured while trying to update your user informations.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/userinfobox.cpp" line="254"/> <source>Password changed.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/userinfobox.cpp" line="257"/> <source>This server does not permit you to change your password.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/userinfobox.cpp" line="260"/> <source>The new password is too short.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/userinfobox.cpp" line="263"/> <source>The old password is incorrect.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/userinfobox.cpp" line="277"/> <source>Avatar updated.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/userinfobox.cpp" line="280"/> <source>This server does not permit you to update your avatar.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/userinfobox.cpp" line="284"/> <source>An error occured while trying to updater your avatar.</source> <translation type="unfinished"/> </message> </context> <context> <name><API key></name> <message> <location filename="../src/dlg_settings.cpp" line="448"/> <source>General interface settings</source> <translation>Ogólne ustawienia interfejsu</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="449"/> <source>Enable notifications in taskbar</source> <translation>Włącz &amp;powiadomienia na pasku zadań</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="450"/> <source>Notify in the taskbar for game events while you are spectating</source> <translation>Powiadomienia na pasku zadań dla gier, które &amp;obserwujesz</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="451"/> <source>&amp;Double-click cards to play them (instead of single-click)</source> <translation>Zagrywaj karty po&amp;dwójnym kliknięciem (zamiast pojedynczym)</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="452"/> <source>&amp;Play all nonlands onto the stack (not the battlefield) by default</source> <translation>Karty nie będące lądami zagrywaj domyślnie na stos (zamiast na &amp;pole bitwy)</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="453"/> <source>Annotate card text on tokens</source> <translation type="unfinished"/> </message> <message> <location filename="../src/dlg_settings.cpp" line="454"/> <source>Animation settings</source> <translation>Ustawienia animacji</translation> </message> <message> <location filename="../src/dlg_settings.cpp" line="455"/> <source>&amp;Tap/untap animation</source> <translation>Animacja &amp;tapowania/odtapowania</translation> </message> </context> <context> <name>UserList</name> <message> <location filename="../src/userlist.cpp" line="334"/> <source>Users connected to server: %1</source> <translation type="unfinished"/> </message> <message> <location filename="../src/userlist.cpp" line="335"/> <source>Users in this room: %1</source> <translation>Użytkownicy w tym pokoju: %1</translation> </message> <message> <location filename="../src/userlist.cpp" line="336"/> <source>Buddies online: %1 / %2</source> <translation>Znajomi online: %1 / %2</translation> </message> <message> <location filename="../src/userlist.cpp" line="337"/> <source>Ignored users online: %1 / %2</source> <translation>Ignorowani użytkownicy online: %1 / %2</translation> </message> </context> <context> <name>WarningDialog</name> <message> <location filename="../src/userlist.cpp" line="122"/> <source>Which warning would you like to send?</source> <translation type="unfinished"/> </message> <message> <location filename="../src/userlist.cpp" line="128"/> <source>&amp;OK</source> <translation type="unfinished"/> </message> <message> <location filename="../src/userlist.cpp" line="131"/> <source>&amp;Cancel</source> <translation type="unfinished"/> </message> <message> <location filename="../src/userlist.cpp" line="145"/> <source>Warn user for misconduct</source> <translation type="unfinished"/> </message> <message> <location filename="../src/userlist.cpp" line="151"/> <location filename="../src/userlist.cpp" line="156"/> <source>Error</source> <translation>Błąd</translation> </message> <message> <location filename="../src/userlist.cpp" line="151"/> <source>User name to send a warning to can not be blank, please specify a user to warn.</source> <translation type="unfinished"/> </message> <message> <location filename="../src/userlist.cpp" line="156"/> <source>Warning to use can not be blank, please select a valid warning to send.</source> <translation type="unfinished"/> </message> </context> <context> <name>WndSets</name> <message> <location filename="../src/window_sets.cpp" line="30"/> <source>Move selected set to the top</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_sets.cpp" line="37"/> <source>Move selected set up</source> <translation>Przesuć wybrany dodatek w górę</translation> </message> <message> <location filename="../src/window_sets.cpp" line="44"/> <source>Move selected set down</source> <translation>Przesuń wybrany dodatek w dół</translation> </message> <message> <location filename="../src/window_sets.cpp" line="51"/> <source>Move selected set to the bottom</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_sets.cpp" line="85"/> <source>Enable all sets</source> <translation>Włącz wszystkie dodatki</translation> </message> <message> <location filename="../src/window_sets.cpp" line="87"/> <source>Disable all sets</source> <translation>Wyłącz wszystkie dodatki</translation> </message> <message> <location filename="../src/window_sets.cpp" line="92"/> <source>hints:</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_sets.cpp" line="92"/> <source>Enable the sets that you want to have available in the deck editor</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_sets.cpp" line="92"/> <source>Move sets around to change their order, or click on a column header to sort sets on that field</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_sets.cpp" line="92"/> <source>Sets order decides the source that will be used when loading images for a specific card</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_sets.cpp" line="92"/> <source>Disabled sets will be used for loading images only if all the enabled sets failed</source> <translation type="unfinished"/> </message> <message> <location filename="../src/window_sets.cpp" line="112"/> <source>Edit sets</source> <translation>Edytuj listę dodatków</translation> </message> <message> <location filename="../src/window_sets.cpp" line="124"/> <source>Success</source> <translation>Powodzenie</translation> </message> <message> <location filename="../src/window_sets.cpp" line="124"/> <source>The sets database has been saved successfully.</source> <translation>Zapisywanie bazy dodatków zakończone powodzeniem.</translation> </message> </context> <context> <name>ZoneViewWidget</name> <message> <location filename="../src/zoneviewwidget.cpp" line="133"/> <source>sort by name</source> <translation>sortuj według nazwy</translation> </message> <message> <location filename="../src/zoneviewwidget.cpp" line="134"/> <source>sort by type</source> <translation>sortuj według typu</translation> </message> <message> <location filename="../src/zoneviewwidget.cpp" line="135"/> <source>shuffle when closing</source> <translation>przetasuj przy zamykaniu</translation> </message> <message> <location filename="../src/zoneviewwidget.cpp" line="136"/> <source>pile view</source> <translation>widok sterty</translation> </message> </context> <context> <name>i18n</name> <message> <location filename="../src/settingscache.cpp" line="153"/> <source>English</source> <translation>Polski (Polish)</translation> </message> </context> <context> <name>shortcutsTab</name> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1473"/> <source>Main Window</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1474"/> <source>Deck editor</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1475"/> <source>Local gameplay</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1476"/> <source>Watch replay</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1477"/> <source>Connect</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1478"/> <source>Register</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1479"/> <source>Full screen</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1480"/> <source>Settings</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1481"/> <source>Check for card updates</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1482"/> <source>Disconnect</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1483"/> <source>Exit</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1484"/> <source>Deck Editor</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1485"/> <source>Analyze deck</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1486"/> <source>Load deck (clipboard)</source> <translation>Wczytaj talię (ze schowka)</translation> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1487"/> <source>Clear all filters</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1488"/> <source>New deck</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1489"/> <source>Clear selected filter</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1490"/> <source>Open custom pic folder</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1491"/> <source>Close</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1492"/> <source>Print deck</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1493"/> <source>Edit sets</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1494"/> <source>Delete card</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1495"/> <source>Edit tokens</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1496"/> <source>Reset layout</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1497"/> <source>Add card</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1498"/> <source>Save deck</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1499"/> <source>Remove card</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1500"/> <source>Save deck as</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1501"/> <source>Load deck</source> <translation>Wczytaj talię</translation> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1502"/> <source>Save deck (clipboard)</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1503"/> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1594"/> <source>Counters</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1504"/> <source>Life</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1505"/> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1509"/> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1513"/> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1517"/> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1525"/> <source>Set</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1506"/> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1510"/> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1514"/> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1518"/> <source>Add</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1507"/> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1511"/> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1515"/> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1519"/> <source>Remove</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1508"/> <source>Red</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1512"/> <source>Green</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1516"/> <source>Yellow</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1520"/> <source>Main Window | Deck Editor</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1521"/> <source>Power / Toughness</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1522"/> <source>Power and Toughness</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1523"/> <source>Add (+1/+1)</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1524"/> <source>Remove (-1/-1)</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1526"/> <source>Toughness</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1527"/> <source>Remove (-0/-1)</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1528"/> <source>Add (+0/+1)</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1529"/> <source>Power</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1530"/> <source>Remove (-1/-0)</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1531"/> <source>Add (+1/+0)</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1532"/> <source>Game Phases</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1533"/> <source>Untap</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1534"/> <source>Upkeep</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1535"/> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1587"/> <source>Draw</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1536"/> <source>Main 1</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1537"/> <source>Start combat</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1538"/> <source>Attack</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1539"/> <source>Block</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1540"/> <source>Damage</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1541"/> <source>End combat</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1542"/> <source>Main 2</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1543"/> <source>End</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1544"/> <source>Next phase</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1545"/> <source>Next turn</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1546"/> <source>Playing Area</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1547"/> <source>Tap Card</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1548"/> <source>Untap Card</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1549"/> <source>Untap all</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1550"/> <source>Toggle untap</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1551"/> <source>Flip card</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1552"/> <source>Peek card</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1553"/> <source>Play card</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1554"/> <source>Attach card</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1555"/> <source>Unattach card</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1556"/> <source>Clone card</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1557"/> <source>Create token</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1558"/> <source>Create all related tokens</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1559"/> <source>Create another token</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1560"/> <source>Set annotation</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1561"/> <source>Phases | P/T | Playing Area</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1562"/> <source>Move card to</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1563"/> <source>Bottom library</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1564"/> <source>Top library</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1565"/> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1569"/> <source>Graveyard</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1566"/> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1573"/> <source>Exile</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1567"/> <source>Hand</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1568"/> <source>View</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1570"/> <source>Library</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1571"/> <source>Tops card of library</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1572"/> <source>Sideboard</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1574"/> <source>Close recent view</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1575"/> <source>Game Lobby</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1576"/> <source>Load remote deck</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1577"/> <source>Load local deck</source> <translation>Wczytaj talię lokalną</translation> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1578"/> <source>Gameplay</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1579"/> <source>Draw arrow</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1580"/> <source>Leave game</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1581"/> <source>Remove local arrows</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1582"/> <source>Concede</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1583"/> <source>Roll dice</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1584"/> <source>Rotate view CW</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1585"/> <source>Shuffle library</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1586"/> <source>Rotate view CCW</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1588"/> <source>Mulligan</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1589"/> <source>Draw card</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1590"/> <source>Draw cards</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1591"/> <source>Undo draw</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1592"/> <source>Always reveal top card</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1593"/> <source>Draw | Move | View | Gameplay</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1595"/> <source>How to set custom shortcuts</source> <translation type="unfinished"/> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1596"/> <source>Restore all default shortcuts</source> <translation>Przywróć domyślne skróty</translation> </message> <message> <location filename="../src/sequenceEdit/ui_shortcutstab.h" line="1597"/> <source>Clear all shortcuts</source> <translation>Wyczyść wrzystkie skróty</translation> </message> </context> </TS>
package com.github.mikephil.charting.renderer; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Paint.Align; import android.graphics.Path; import com.github.mikephil.charting.components.LimitLine; import com.github.mikephil.charting.components.XAxis; import com.github.mikephil.charting.components.XAxis.XAxisPosition; import com.github.mikephil.charting.utils.Transformer; import com.github.mikephil.charting.utils.Utils; import com.github.mikephil.charting.utils.ViewPortHandler; import java.util.List; public class XAxisRenderer extends AxisRenderer { protected XAxis mXAxis; public XAxisRenderer(ViewPortHandler viewPortHandler, XAxis xAxis, Transformer trans) { super(viewPortHandler, trans); this.mXAxis = xAxis; mAxisLabelPaint.setColor(Color.BLACK); mAxisLabelPaint.setTextAlign(Align.CENTER); mAxisLabelPaint.setTextSize(Utils.convertDpToPixel(10f)); } public void computeAxis(float xValAverageLength, List<String> xValues) { mAxisLabelPaint.setTypeface(mXAxis.getTypeface()); mAxisLabelPaint.setTextSize(mXAxis.getTextSize()); StringBuffer a = new StringBuffer(); int max = (int) Math.round(xValAverageLength + mXAxis.<API key>()); for (int i = 0; i < max; i++) { a.append("h"); } mXAxis.mLabelWidth = Utils.calcTextWidth(mAxisLabelPaint, a.toString()); mXAxis.mLabelHeight = Utils.calcTextHeight(mAxisLabelPaint, "Q"); mXAxis.setValues(xValues); } @Override public void renderAxisLabels(Canvas c) { if (!mXAxis.isEnabled() || !mXAxis.isDrawLabelsEnabled()) return; float yoffset = Utils.convertDpToPixel(4f); mAxisLabelPaint.setTypeface(mXAxis.getTypeface()); mAxisLabelPaint.setTextSize(mXAxis.getTextSize()); mAxisLabelPaint.setColor(mXAxis.getTextColor()); if (mXAxis.getPosition() == XAxisPosition.TOP) { drawLabels(c, mViewPortHandler.offsetTop() - yoffset); } else if (mXAxis.getPosition() == XAxisPosition.BOTTOM) { drawLabels(c, mViewPortHandler.contentBottom() + mXAxis.mLabelHeight + yoffset * 1.5f); } else if (mXAxis.getPosition() == XAxisPosition.BOTTOM_INSIDE) { drawLabels(c, mViewPortHandler.contentBottom() - yoffset); } else if (mXAxis.getPosition() == XAxisPosition.TOP_INSIDE) { drawLabels(c, mViewPortHandler.offsetTop() + yoffset + mXAxis.mLabelHeight); } else { // BOTH SIDED drawLabels(c, mViewPortHandler.offsetTop() - yoffset); drawLabels(c, mViewPortHandler.contentBottom() + mXAxis.mLabelHeight + yoffset * 1.6f); } } @Override public void renderAxisLine(Canvas c) { if (!mXAxis.<API key>() || !mXAxis.isEnabled()) return; mAxisLinePaint.setColor(mXAxis.getAxisLineColor()); mAxisLinePaint.setStrokeWidth(mXAxis.getAxisLineWidth()); if (mXAxis.getPosition() == XAxisPosition.TOP || mXAxis.getPosition() == XAxisPosition.TOP_INSIDE || mXAxis.getPosition() == XAxisPosition.BOTH_SIDED) { c.drawLine(mViewPortHandler.contentLeft(), mViewPortHandler.contentTop(), mViewPortHandler.contentRight(), mViewPortHandler.contentTop(), mAxisLinePaint); } if (mXAxis.getPosition() == XAxisPosition.BOTTOM || mXAxis.getPosition() == XAxisPosition.BOTTOM_INSIDE || mXAxis.getPosition() == XAxisPosition.BOTH_SIDED) { c.drawLine(mViewPortHandler.contentLeft(), mViewPortHandler.contentBottom(), mViewPortHandler.contentRight(), mViewPortHandler.contentBottom(), mAxisLinePaint); } } /** * draws the x-labels on the specified y-position * * @param pos */ protected void drawLabels(Canvas c, float pos) { // pre allocate to save performance (dont allocate in loop) float[] position = new float[] { 0f, 0f }; for (int i = mMinX; i <= mMaxX; i += mXAxis.mAxisLabelModulus) { position[0] = i; mTrans.pointValuesToPixel(position); if (mViewPortHandler.isInBoundsX(position[0])) { String label = mXAxis.getValues().get(i); if (mXAxis.<API key>()) { // avoid clipping of the last if (i == mXAxis.getValues().size() - 1 && mXAxis.getValues().size() > 1) { float width = Utils.calcTextWidth(mAxisLabelPaint, label); if (width > mViewPortHandler.offsetRight() * 2 && position[0] + width > mViewPortHandler.getChartWidth()) position[0] -= width / 2; // avoid clipping of the first } else if (i == 0) { float width = Utils.calcTextWidth(mAxisLabelPaint, label); position[0] += width / 2; } } c.drawText(label, position[0], pos, mAxisLabelPaint); } } } @Override public void renderGridLines(Canvas c) { if (!mXAxis.<API key>() || !mXAxis.isEnabled()) return; // pre alloc float[] position = new float[] { 0f, 0f }; mGridPaint.setColor(mXAxis.getGridColor()); mGridPaint.setStrokeWidth(mXAxis.getGridLineWidth()); mGridPaint.setPathEffect(mXAxis.<API key>()); Path gridLinePath = new Path(); for (int i = mMinX; i <= mMaxX; i += mXAxis.mAxisLabelModulus) { position[0] = i; mTrans.pointValuesToPixel(position); if (position[0] >= mViewPortHandler.offsetLeft() && position[0] <= mViewPortHandler.getChartWidth()) { gridLinePath.moveTo(position[0], mViewPortHandler.contentBottom()); gridLinePath.lineTo(position[0], mViewPortHandler.contentTop()); // draw a path because lines don't support dashing on lower android versions c.drawPath(gridLinePath, mGridPaint); } gridLinePath.reset(); } } /** * Draws the LimitLines associated with this axis to the screen. * * @param c */ @Override public void renderLimitLines(Canvas c) { List<LimitLine> limitLines = mXAxis.getLimitLines(); if (limitLines == null || limitLines.size() <= 0) return; float[] pts = new float[4]; Path limitLinePath = new Path(); for (int i = 0; i < limitLines.size(); i++) { LimitLine l = limitLines.get(i); pts[0] = l.getLimit(); pts[2] = l.getLimit(); mTrans.pointValuesToPixel(pts); pts[1] = mViewPortHandler.contentTop(); pts[3] = mViewPortHandler.contentBottom(); limitLinePath.moveTo(pts[0], pts[1]); limitLinePath.lineTo(pts[2], pts[3]); mLimitLinePaint.setStyle(Paint.Style.STROKE); mLimitLinePaint.setColor(l.getLineColor()); mLimitLinePaint.setStrokeWidth(l.getLineWidth()); mLimitLinePaint.setPathEffect(l.getDashPathEffect()); c.drawPath(limitLinePath, mLimitLinePaint); limitLinePath.reset(); String label = l.getLabel(); // if drawing the limit-value label is enabled if (label != null && !label.equals("")) { float xOffset = l.getLineWidth(); float add = Utils.convertDpToPixel(4f); mLimitLinePaint.setStyle(l.getTextStyle()); mLimitLinePaint.setPathEffect(null); mLimitLinePaint.setColor(l.getTextColor()); mLimitLinePaint.setStrokeWidth(0.5f); mLimitLinePaint.setTextSize(l.getTextSize()); float yOffset = Utils.calcTextHeight(mLimitLinePaint, label) + add / 2f; if (l.getLabelPosition() == LimitLine.LimitLabelPosition.POS_RIGHT) { c.drawText(label, pts[0] + xOffset, mViewPortHandler.contentBottom() - add, mLimitLinePaint); } else { c.drawText(label, pts[0] + xOffset, mViewPortHandler.contentTop() + yOffset, mLimitLinePaint); } } } } }
<?php namespace Drupal\Tests\<API key>\Kernel; use Drupal\Tests\search_api\Kernel\BackendTestBase; use Drupal\Tests\search_api_solr\Kernel\<API key>; /** * Tests index and search capabilities using the Solr search backend. * * @group <API key> */ class <API key> extends <API key> { /** * Modules to enable for this test. * * @var string[] */ public static $modules = array( 'language', '<API key>', '<API key>', ); /** * A Search API server ID. * * @var string */ protected $serverId = '<API key>'; /** * A Search API index ID. * * @var string */ protected $indexId = '<API key>'; /** * {@inheritdoc} */ public function setUp() { BackendTestBase::setUp(); $this->installConfig([ 'search_api_solr', '<API key>', '<API key>', ]); $this-><API key>(); } }
package ru.orangesoftware.financisto.db; import ru.orangesoftware.financisto.model.Attribute; import ru.orangesoftware.financisto.model.Category; import ru.orangesoftware.financisto.model.CategoryTree; import ru.orangesoftware.financisto.test.CategoryBuilder; import java.util.Collections; import java.util.Map; public class CategoriesTest extends AbstractDbTest { public void <API key>() { //given /** * A * - A1 * -- AA1 * - A2 * B */ CategoryBuilder.<API key>(db); //when Category categoryC = <API key>("C"); db.insertOrUpdate(categoryC, Collections.<Attribute>emptyList()); //then the new categories get inserted /** * A ... * B * C */ CategoryTree<Category> tree = db.getCategoriesTree(false); assertEquals(3, tree.size()); assertEquals("A", tree.getAt(0).title); assertEquals("B", tree.getAt(1).title); assertEquals("C", tree.getAt(2).title); //when Category categoryC1 = createChildCategory(categoryC, "C1"); db.insertOrUpdate(categoryC1, Collections.<Attribute>emptyList()); //then /** * A ... * B * C * - C1 */ tree = db.getCategoriesTree(false); assertEquals(3, tree.size()); assertEquals("A", tree.getAt(0).title); assertEquals("B", tree.getAt(1).title); assertEquals("C", tree.getAt(2).title); assertEquals(1, tree.getAt(2).children.size()); assertEquals("C1", tree.getAt(2).children.getAt(0).title); //when Category categoryD = <API key>("D"); db.insertOrUpdate(categoryD, Collections.<Attribute>emptyList()); //then /** * A ... * B * C ... * D */ tree = db.getCategoriesTree(false); assertEquals(4, tree.size()); assertEquals("A", tree.getAt(0).title); assertEquals("B", tree.getAt(1).title); assertEquals("C", tree.getAt(2).title); assertEquals("D", tree.getAt(3).title); //when Category categoryC2 = createChildCategory(categoryC, "C2"); db.insertOrUpdate(categoryC2, Collections.<Attribute>emptyList()); //then /** * A ... * B * C * - C1 * - C2 * D */ tree = db.getCategoriesTree(false); assertEquals(4, tree.size()); assertEquals("A", tree.getAt(0).title); assertEquals("B", tree.getAt(1).title); assertEquals("C", tree.getAt(2).title); assertEquals(2, tree.getAt(2).children.size()); assertEquals("C1", tree.getAt(2).children.getAt(0).title); assertEquals("C2", tree.getAt(2).children.getAt(1).title); assertEquals("D", tree.getAt(3).title); } public void <API key>() { //given /** * A * - A1 * -- AA1 * - A2 * B */ Map<String, Category> map = CategoryBuilder.<API key>(db); //when Category categoryA1 = map.get("A1"); categoryA1.parent = map.get("B"); db.insertOrUpdate(categoryA1, Collections.<Attribute>emptyList()); //then the category should be moved under a new parent /** * A * -A2 * B * -A1 * --AA1 */ CategoryTree<Category> tree = db.getCategoriesTree(false); assertEquals(2, tree.size()); Category a = tree.getAt(0); assertEquals("A", a.title); assertEquals(1, a.children.size()); Category a2 = a.children.getAt(0); assertEquals("A2", a2.title); assertEquals(Category.TYPE_EXPENSE, a2.type); Category b = tree.getAt(1); assertEquals("B", b.title); assertEquals(1, b.children.size()); Category a1 = b.children.getAt(0); assertEquals("A1", a1.title); assertEquals(Category.TYPE_INCOME, a1.type); assertEquals(1, a1.children.size()); Category aa1 = a1.children.getAt(0); assertEquals("AA1", aa1.title); assertEquals(Category.TYPE_INCOME, aa1.type); //when a1 = db.getCategory(categoryA1.id); a1.parent = db.getCategory(Category.NO_CATEGORY_ID); db.insertOrUpdate(a1, Collections.<Attribute>emptyList()); //then the category should be moved under a new parent /** * A * -A2 * B * A1 * -AA1 */ tree = db.getCategoriesTree(false); assertEquals(3, tree.size()); a = tree.getAt(0); assertEquals("A", a.title); assertEquals(1, a.children.size()); a2 = a.children.getAt(0); assertEquals("A2", a2.title); assertEquals(Category.TYPE_EXPENSE, a2.type); b = tree.getAt(1); assertEquals("B", b.title); assertFalse(b.hasChildren()); a1 = tree.getAt(2); assertEquals("A1", a1.title); assertEquals(Category.TYPE_INCOME, a1.type); assertEquals(1, a1.children.size()); aa1 = a1.children.getAt(0); assertEquals("AA1", aa1.title); assertEquals(Category.TYPE_INCOME, aa1.type); } private Category <API key>(String title) { Category c = new Category(); c.title = title; return c; } private Category createChildCategory(Category parent, String title) { Category c = new Category(); c.title = title; c.parent = parent; return c; } }
<!DOCTYPE html PUBLIC "- <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.4"/> <title>CORE POS - Fannie: Member List</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/search.js"></script> <script type="text/javascript"> $(document).ready(function() { if ($('.searchresults').length > 0) { searchBox.DOMSearchField().focus(); } }); </script> <link rel="search" href="search-opensearch.php?v=opensearch.xml" type="application/<API key>+xml" title="CORE POS - Fannie"/> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">CORE POS - Fannie </div> <div id="projectbrief">The CORE POS back end</div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.4 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main&#160;Page</span></a></li> <li><a href="pages.html"><span>Related&#160;Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <div class="left"> <form id="FSearchBox" action="search.php" method="get"> <img id="MSearchSelect" src="search/mag.png" alt=""/> <input type="text" id="MSearchField" name="query" value="Search" size="20" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)"/> </form> </div><div class="right"></div> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class&#160;List</span></a></li> <li><a href="classes.html"><span>Class&#160;Index</span></a></li> <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li> <li><a href="functions.html"><span>Class&#160;Members</span></a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">WfcHtFinal Member List</div> </div> </div><!--header <div class="contents"> <p>This is the complete list of members for <a class="el" href="class_wfc_ht_final.html">WfcHtFinal</a>, including all inherited members.</p> <table class="directory"> <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>$auth_classes</b> (defined in <a class="el" href="class_wfc_ht_final.html">WfcHtFinal</a>)</td><td class="entry"><a class="el" href="class_wfc_ht_final.html">WfcHtFinal</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr><td class="entry"><a class="el" href="<API key>.html#<API key>">$chart_data_columns</a></td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="<API key>.html#<API key>">$chart_label_column</a></td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr><td class="entry"><a class="el" href="<API key>.html#<API key>">$content_function</a></td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="<API key>.html#<API key>">$description</a></td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"></td></tr> <tr bgcolor="#f0f0f0"><td class="entry"><b>$discoverable</b> (defined in <a class="el" href="class_wfc_ht_final.html">WfcHtFinal</a>)</td><td class="entry"><a class="el" href="class_wfc_ht_final.html">WfcHtFinal</a></td><td class="entry"></td></tr> <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>$header</b> (defined in <a class="el" href="class_wfc_ht_final.html">WfcHtFinal</a>)</td><td class="entry"><a class="el" href="class_wfc_ht_final.html">WfcHtFinal</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr bgcolor="#f0f0f0"><td class="entry"><b>$header_index</b> (defined in <a class="el" href="<API key>.html">FannieReportPage</a>)</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>$multi_counter</b> (defined in <a class="el" href="<API key>.html">FannieReportPage</a>)</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr><td class="entry"><a class="el" href="<API key>.html#<API key>">$multi_report_mode</a></td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>$must_authenticate</b> (defined in <a class="el" href="class_wfc_ht_final.html">WfcHtFinal</a>)</td><td class="entry"><a class="el" href="class_wfc_ht_final.html">WfcHtFinal</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr><td class="entry"><a class="el" href="<API key>.html#<API key>">$no_jquery</a></td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="<API key>.html#<API key>">$no_sort_but_style</a></td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr bgcolor="#f0f0f0"><td class="entry"><b>$page_set</b> (defined in <a class="el" href="<API key>.html">FannieReportPage</a>)</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="<API key>.html#<API key>">$report_cache</a></td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr><td class="entry"><a class="el" href="<API key>.html#<API key>">$report_format</a></td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>$report_headers</b> (defined in <a class="el" href="class_wfc_ht_final.html">WfcHtFinal</a>)</td><td class="entry"><a class="el" href="class_wfc_ht_final.html">WfcHtFinal</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr><td class="entry"><a class="el" href="<API key>.html#<API key>">$report_set</a></td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"></td></tr> <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>$required</b> (defined in <a class="el" href="<API key>.html">FannieReportPage</a>)</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="<API key>.html#<API key>">$required_fields</a></td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="<API key>.html#<API key>">$sort_column</a></td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr><td class="entry"><a class="el" href="<API key>.html#<API key>">$sort_direction</a></td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="<API key>.html#<API key>">$sortable</a></td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr bgcolor="#f0f0f0"><td class="entry"><b>$title</b> (defined in <a class="el" href="class_wfc_ht_final.html">WfcHtFinal</a>)</td><td class="entry"><a class="el" href="class_wfc_ht_final.html">WfcHtFinal</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>__construct</b>() (defined in <a class="el" href="<API key>.html">FannieReportPage</a>)</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="<API key>.html#<API key>">assign_headers</a>()</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"></td></tr> <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>bodyContent</b>() (defined in <a class="el" href="<API key>.html">FannieReportPage</a>)</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="<API key>.html#<API key>">both_content</a>()</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="<API key>.html#<API key>">calculate_footers</a>($data)</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="<API key>.html#<API key>">checkDataCache</a>()</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="<API key>.html#<API key>">csvLine</a>($row)</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="<API key>.html#<API key>"><API key></a>($datefields=array())</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="<API key>.html#<API key>">dekey_array</a>($arr)</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"></td></tr> <tr bgcolor="#f0f0f0"><td class="entry"><b>draw_page</b>() (defined in <a class="el" href="<API key>.html">FannieReportPage</a>)</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="<API key>.html#<API key>">drawPage</a>()</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="<API key>.html#<API key>">excelFormat</a>($item, $style='')</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"></td></tr> <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>fetch_report_data</b>() (defined in <a class="el" href="class_wfc_ht_final.html">WfcHtFinal</a>)</td><td class="entry"><a class="el" href="class_wfc_ht_final.html">WfcHtFinal</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="<API key>.html#<API key>">form_content</a>()</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="<API key>.html#<API key>">format</a>($data)</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr><td class="entry"><a class="el" href="<API key>.html#<API key>">formatCheck</a>()</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="<API key>.html#<API key>">freshenCache</a>($data)</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr><td class="entry"><a class="el" href="<API key>.html#<API key>">htmlLine</a>($row, $header=False)</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"></td></tr> <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>META_BLANK</b> (defined in <a class="el" href="<API key>.html">FannieReportPage</a>)</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="<API key>.html#<API key>">META_BOLD</a></td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"></td></tr> <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>META_CHART_DATA</b> (defined in <a class="el" href="<API key>.html">FannieReportPage</a>)</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"></td></tr> <tr bgcolor="#f0f0f0"><td class="entry"><b>META_COLOR</b> (defined in <a class="el" href="<API key>.html">FannieReportPage</a>)</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"></td></tr> <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>META_REPEAT_HEADERS</b> (defined in <a class="el" href="<API key>.html">FannieReportPage</a>)</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"></td></tr> <tr bgcolor="#f0f0f0"><td class="entry"><b>preprocess</b>() (defined in <a class="el" href="class_wfc_ht_final.html">WfcHtFinal</a>)</td><td class="entry"><a class="el" href="class_wfc_ht_final.html">WfcHtFinal</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="<API key>.html#<API key>">render_data</a>($data, $headers=array(), $footers=array(), $format='html')</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="<API key>.html#<API key>">report_content</a>()</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="<API key>.html#<API key>"><API key></a>()</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="<API key>.html#<API key>">report_end_content</a>()</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="<API key>.html#<API key>">select_headers</a>($incrIndex=False)</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="<API key>.html#<API key>">xlsMeta</a>($data)</td><td class="entry"><a class="el" href="<API key>.html">FannieReportPage</a></td><td class="entry"></td></tr> </table></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Thu Apr 2 2015 12:27:32 for CORE POS - Fannie by & <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.4 </small></address> </body> </html>
[HEADER JS]Tools/Js/CkEditor/ckeditor.js[/HEADER] <div id="signatureAbt"> <div id="upperSig" > <div id="signForm" class="col-md-6"> <div class="abtelContent"> <div class="row"> <div class="formGrp col-md-6"> <label for="formSigEntity">Entité : </label> <select name="formSigEntity" id="formSigEntity"> [STORPROC Abtel/Entite|E] <option value="[!E::Id!]">[!E::Nom!]</option> [/STORPROC] </select> </div> <div class="clear"></div> <div class="formGrp col-md-6"> <label for="formSigNom">Nom : </label> <input type="text" name="formSigNom" id="formSigNom" value="[!formSigNom!]"> </div> <div class="formGrp col-md-6"> <label for="formSigPrenom">Prenom : </label> <input type="text" name="formSigPrenom" id="formSigPrenom" value="[!formSigPrenom!]"> </div> <div class="formGrp col-md-6"> <label for="formSigFonction">Fonction : </label> <input type="text" name="formSigFonction" id="formSigFonction" value="[!formSigFonction!]"> </div> <div class="formGrp col-md-6"> <label for="formSigTel">Tel : </label> <input type="text" name="formSigTel" id="formSigTel" placeholder="Facultatif" value="[!formSigTel!]"> </div> <div class="formGrp col-md-6"> <label for="formSigFax">Fax : </label> <input type="text" name="formSigFax" id="formSigFax" placeholder="Facultatif" value="[!formSigFax!]"> </div> <div class="formGrp col-md-6"> <label for="formSigEmail">Email : </label> <input type="text" name="formSigEmail" id="formSigEmail" value="[!formSigEmail!]"> </div> <div id="mpSig" class="formGrp col-md-12"> <label for="formSigPerso">Message Perso : </label> <textarea name="formSigPerso" id="formSigPerso">[!formSigPerso!]</textarea> </div> </div> </div> </div> <div id="signCode" class="col-md-6"> <div class="abtelContent"> <button id="copySig">Copier la signature</button> <pre id="displayCode" class="brush: html"> </pre> </div> </div> </div> <div id="lowerSig" class="row"> <div id="signPreview" class="col-md-12"> <div class="abtelContent"> <div id="sigContain"> <div id="hiddenCode"><table style="background-color: #fff; max-width: 600px;font-family: sans-serif;font-size: 11pt;color: #000;"> <tbody> <tr> [STORPROC Abtel/Entite/Nom=Groupe|EG][/STORPROC] <td rowspan="3" id="logoSig" style="background-color:[!EG::CodeCouleur!];padding:10px;padding-top: 25px;text-align: center;vertical-align: middle;width: 120px;font-size: 11pt;"> <img src="http://dev.abtel.fr/[!EG::Logo!]" alt="Logo Abtel" title="" style="width: 100px;"> </td> <td id="entSig" style="color:[!EG::CodeCouleur!];padding: 0 10px; padding-bottom: 5px;text-align: center;font-weight: 600;font-size: 11pt;" colspan="2"> Abtel <span>Méditerranée</span> </td> </tr> <tr> <td style="padding: 0 10px;width: 200px;font-size: 11pt;"> <p style="margin: 0;"><span id="nomSig" style="text-transform: uppercase; font-weight: 600;">nom</span> <span id="prenomSig" style="text-transform: capitalize">prenom</span></p> <p style="margin: 0;"><span id="fonctionSig">Fonction</span></p> <p style="margin: 0;">Tel : <span id="telSig" style="color: #4444aa;">04 66 04 06 13</span></p> <p style="margin: 0;">Fax : <span id="faxSig" style="color: #4444aa;">04 66 04 09 80</span></p> <p style="margin: 0;"><span id="mailSig" style="color: #992299;">Mail</span></p> </td> <td style="font-size: 11pt;"> <p style="margin: 0;">Parc delta</p> <p style="margin: 0;">Km 4 - Route d'Arles</p> <p style="margin: 0;">30230 Bouillargues</p> <p style="margin: 0;">France</p> <p style="margin: 0;"><a href="http: </td> </tr> <tr> <td id="persoSig" colspan="2" style="padding: 0 10px; padding-top: 5px;font-size: 11pt;"> <p style="color: green; font-family: verdana, helvetica, sans-serif; font-size: 8pt; font-weight: 600;font-style: italic;margin: 0;"> Pensez ENVIRONNEMENT : n'imprimez que si nécessaire ! </p> </td> </tr> <tr> <td id="pubSig" colspan="3"> <img src="http://dev.abtel.fr/[!EG::PubSignature!]?[!TMS::Now!]" alt="Pub Abtel" title="Pub Abtel"> </td> </tr> </tbody> </table></div> </div> </div> </div> [IF [!Systeme::User::Privilege!]] <div id="signPubChange" class="col-md-12"> [MODULE Abtel/Signature/ModImg] </div> [/IF] </div> </div> <script type="text/javascript"> var entites = { [STORPROC Abtel/Entite|E] [!E::Id!]: { Logo:"[!E::Logo!]", Nom:"[!E::Nom!]", Couleur:"[!E::CodeCouleur!]" }, [/STORPROC] } function escapeHtml(text) { return text .replace(/&/g, "&amp;") .replace(/</g, "&lt;") .replace(/>/g, "&gt;") .replace(/"/g, "&quot;") .replace(/'/g, "&#039;"); } function refreshCode() { $('.mCS_img_loaded').removeAttr('class'); $("#displayCode").replaceWith('<pre id="displayCode" class="brush: html"></pre>'); $("#displayCode").html(escapeHtml($("#hiddenCode").html())); SyntaxHighlighter.highlight(); } $(document).on('ready',function(){ refreshCode(); CKEDITOR.replace('formSigPerso', { toolbar: 'Basic' }); CKEDITOR.instances.formSigPerso.on('change', function() { $('#persoSig').html('\n\t\t\t\t\t\t\t\t'+CKEDITOR.instances.formSigPerso.getData()+'\n\t\t\t\t\t\t'); refreshCode(); }); $('#formSigEntity').on('change',function(){ var ent = entites[$('#formSigEntity').val()]; ent.Nom = ent.Nom != 'Groupe'? ent.Nom : 'Méditerranée' $(' $('#logoSig').css('background-color',ent.Couleur); $('#entSig span').text(ent.Nom); $('#entSig').css('color',ent.Couleur); refreshCode(); }); $('#formSigNom').on('change',function(){ $('#nomSig').text($('#formSigNom').val()); refreshCode(); }); $('#formSigPrenom').on('change',function(){ $('#prenomSig').text($('#formSigPrenom').val()); refreshCode(); }); $('#formSigFonction').on('change',function(){ $('#fonctionSig').text($('#formSigFonction').val()); refreshCode(); }); $('#formSigTel').on('change',function(){ $('#telSig').text($('#formSigTel').val()); refreshCode(); }); $('#formSigFax').on('change',function(){ $('#faxSig').text($('#formSigFax').val()); refreshCode(); }); $('#formSigEmail').on('change',function(){ $('#mailSig').text($('#formSigEmail').val()); refreshCode(); }); //$('#formSigPerso').on('change',function(){ // $('#persoSig').html($('#formSigEmail').val()); // refreshCode(); //Copie le html de la signature dnas le presse papier. $('#copySig').on('click',function(){ var src = document.getElementById('hiddenCode'); // create hidden text element, if it doesn't already exist var targetId = "_hiddenCopyText_"; var isInput = src.tagName === "INPUT" || src.tagName === "TEXTAREA"; var origSelectionStart, origSelectionEnd; if (isInput) { // can just use the original source element for the selection and copy target = src; origSelectionStart = src.selectionStart; origSelectionEnd = src.selectionEnd; } else { var source = $('#hiddenCode').html(); // must use a temporary form element for the selection and copy target = document.getElementById(targetId); if (!target) { var target = document.createElement("textarea"); target.style.position = "absolute"; target.style.left = "-9999px"; target.style.top = "0"; target.id = targetId; document.body.appendChild(target); } target.textContent = source; } // select the content var currentFocus = document.activeElement; target.focus(); target.setSelectionRange(0, target.value.length); // copy the selection var succeed; try { succeed = document.execCommand("copy"); } catch(e) { succeed = false; } // restore original focus if (currentFocus && typeof currentFocus.focus === "function") { currentFocus.focus(); } if (isInput) { // restore prior selection elem.setSelectionRange(origSelectionStart, origSelectionEnd); } else { // clear temporary content target.textContent = ""; } return succeed; }); }); </script>
<?php /* Template Name: CONTACT */ get_header(); ?> <div id="primary"> <div class="page-title-cont"> <div class="page-tab"> <span><?php dimox_breadcrumbs(); ?></span> </div> </div> <div id="content" role="main"> <?php query_posts( 'post_type=tri_contact','order=DESC' ); ?> <?php while ( have_posts() ) : the_post(); ?> <div class="contact-box <?php echo str_replace(' ','-',get_the_title()); ?>"> <div class="featured-image"> <?php the_post_thumbnail(); ?> <div id="map_canvas"></div> </div> <div class="main-content"> <a name="<?php echo str_replace(' ','-',get_the_title()); ?>"></a> <div class="title-cont"> <h1><?php the_title(); ?></h1> </div> <div class="divider-cont"> <div class="divider"></div> </div> <div class="post-text"> <?php the_content(); ?> </div> </div> </div> <?php endwhile; // end of the loop. ?> </div><!-- #content --> </div><!-- #primary --> <?php // get_sidebar(); ?> <?php get_footer(); ?> <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?&sensor=false"> </script> <script> $(document).ready(function() { initialize(); }); $('.free-consultations #map_canvas').remove(); $('.contact-us-today .featured-image').remove(); $('.contact-us-today').css('float', 'right'); function initialize() { // var image = src="/system/images/map-pin.png"; var myOptions = { center: new google.maps.LatLng(32.794649, -80.028228) , zoom: 15, mapTypeId: google.maps.MapTypeId.ROADMAP , scaleControl: false, panControl: false, mapTypeControl: false, streetViewControl: false, }; var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions); var marker = new google.maps.Marker({ position: map.getCenter(), map: map, }); } </script>
#include <linux/err.h> #include <linux/kernel.h> #include <linux/platform_device.h> #include <linux/io.h> #include <linux/irq.h> #include <linux/irqdomain.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux/of_platform.h> #include <linux/memory.h> #include <linux/regulator/machine.h> #if (defined(<API key>) || defined(<API key>)) #include <linux/regulator/consumer.h> //ranfei #endif #include <linux/regulator/krait-regulator.h> #include <linux/msm_tsens.h> #include <linux/msm_thermal.h> #ifdef VENDOR_EDIT //Zhilong.Zhang@OnlineRd.Driver, 2013/12/03, Add for ram_console device #include <linux/persistent_ram.h> #endif #include <asm/mach/map.h> #include <asm/hardware/gic.h> #include <asm/mach/map.h> #include <asm/mach/arch.h> #include <mach/board.h> #include <mach/gpiomux.h> #include <mach/msm_iomap.h> #ifdef CONFIG_ION_MSM #include <mach/ion.h> #endif #include <mach/msm_memtypes.h> #include <mach/msm_smd.h> #include <mach/restart.h> #include <mach/rpm-smd.h> #include <mach/rpm-regulator-smd.h> #include <mach/socinfo.h> #include <mach/msm_smem.h> #include "board-dt.h" #include "clock.h" #include "devices.h" #include "spm.h" #include "pm.h" #include "modem_notifier.h" #include "platsmp.h" #ifdef CONFIG_VENDOR_EDIT /* OPPO 2013.07.09 hewei add begin for factory mode*/ #include <linux/gpio.h> static struct kobject *systeminfo_kobj; /*OPPO yuyi 2013-07-15 add for version*/ #ifdef VENDOR_EDIT #include <linux/pcb_version.h> static char *<API key> = NULL; static char *<API key> = NULL; static int <API key> = PCB_VERSION_UNKNOWN; static int <API key> = RF_VERSION_UNKNOWN; #ifdef VENDOR_EDIT /* Goushengjun,2015-5-21 add for close BL when utomatic reboot */ int lcd_closebl_flag = 0; #endif /*CONFIG_VENDOR_EDIT*/ /* pcb_version_num: evb=10, evt=20, dvt=30, pvt=40, unkown=99 */ int get_pcb_version(void) { return <API key>; } int get_rf_version(void) { return <API key>; } int __init <API key>(void) { //<API key> = s; if (strstr(boot_command_line,"oppo.pcb_version=10")) <API key> = HW_VERSION__10; else if (strstr(boot_command_line,"oppo.pcb_version=11")) <API key> = HW_VERSION__11; else if (strstr(boot_command_line,"oppo.pcb_version=12")) <API key> = HW_VERSION__12; else if (strstr(boot_command_line,"oppo.pcb_version=13")) <API key> = HW_VERSION__13; else if (strstr(boot_command_line,"oppo.pcb_version=20")) <API key> = HW_VERSION__20; else if (strstr(boot_command_line,"oppo.pcb_version=21")) <API key> = HW_VERSION__21; else if (strstr(boot_command_line,"oppo.pcb_version=22")) <API key> = HW_VERSION__22; else if (strstr(boot_command_line,"oppo.pcb_version=23")) <API key> = HW_VERSION__23; /* wenxian.zhen@Onlinerd.Driver, 2014/06/18 Add begin for N3 PCB version */ else if (strstr(boot_command_line,"oppo.pcb_version=30")) <API key> = HW_VERSION__30; else if (strstr(boot_command_line,"oppo.pcb_version=31")) <API key> = HW_VERSION__31; else if (strstr(boot_command_line,"oppo.pcb_version=32")) <API key> = HW_VERSION__32; else if (strstr(boot_command_line,"oppo.pcb_version=33")) <API key> = HW_VERSION__33; else if (strstr(boot_command_line,"oppo.pcb_version=34")) <API key> = HW_VERSION__34; else if (strstr(boot_command_line,"oppo.pcb_version=40")) <API key> = HW_VERSION__40; else if (strstr(boot_command_line,"oppo.pcb_version=41")) <API key> = HW_VERSION__41; else if (strstr(boot_command_line,"oppo.pcb_version=42")) <API key> = HW_VERSION__42; else if (strstr(boot_command_line,"oppo.pcb_version=43")) <API key> = HW_VERSION__43; else if (strstr(boot_command_line,"oppo.pcb_version=44")) <API key> = HW_VERSION__44; /* wenxian.zhen@Onlinerd.Driver, 2014/06/18 Add end for N3 PCB version */ //printk("yuyi, pcb_version num %d \n",<API key>); return 0; } int __init <API key>(void) { //<API key> = s; if (strstr(boot_command_line,"oppo.rf_version=11")) <API key> = RF_VERSION__11; else if (strstr(boot_command_line,"oppo.rf_version=12")) <API key> = RF_VERSION__12; else if (strstr(boot_command_line,"oppo.rf_version=13")) <API key> = RF_VERSION__13; else if (strstr(boot_command_line,"oppo.rf_version=21")) <API key> = RF_VERSION__21; else if (strstr(boot_command_line,"oppo.rf_version=22")) <API key> = RF_VERSION__22; else if (strstr(boot_command_line,"oppo.rf_version=23")) <API key> = RF_VERSION__23; else if (strstr(boot_command_line,"oppo.rf_version=31")) <API key> = RF_VERSION__31; else if (strstr(boot_command_line,"oppo.rf_version=32")) <API key> = RF_VERSION__32; else if (strstr(boot_command_line,"oppo.rf_version=33")) <API key> = RF_VERSION__33; else if (strstr(boot_command_line,"oppo.rf_version=44")) <API key> = RF_VERSION__44; else if (strstr(boot_command_line,"oppo.rf_version=66")) <API key> = RF_VERSION__66; else if (strstr(boot_command_line,"oppo.rf_version=67")) <API key> = RF_VERSION__67; else if (strstr(boot_command_line,"oppo.rf_version=76")) <API key> = RF_VERSION__76; else if (strstr(boot_command_line,"oppo.rf_version=77")) <API key> = RF_VERSION__77; else if (strstr(boot_command_line,"oppo.rf_version=87")) <API key> = RF_VERSION__87; else if (strstr(boot_command_line,"oppo.rf_version=88")) <API key> = RF_VERSION__88; else if (strstr(boot_command_line,"oppo.rf_version=89")) <API key> = RF_VERSION__89; else if (strstr(boot_command_line,"oppo.rf_version=98")) <API key> = RF_VERSION__98; else if (strstr(boot_command_line,"oppo.rf_version=99")) <API key> = RF_VERSION__99; /* wenxian.zhen@Onlinerd.Driver, 2014/06/18 Add begin for N3 PCB RF version */ else if (strstr(boot_command_line,"oppo.rf_version=90")) <API key> = <API key>; else if (strstr(boot_command_line,"oppo.rf_version=91")) <API key> = <API key>; else if (strstr(boot_command_line,"oppo.rf_version=92")) <API key> = <API key>; else if (strstr(boot_command_line,"oppo.rf_version=93")) <API key> = <API key>; else if (strstr(boot_command_line,"oppo.rf_version=94")) <API key> = <API key>; else if (strstr(boot_command_line,"oppo.rf_version=95")) <API key> = <API key>; else if (strstr(boot_command_line,"oppo.rf_version=96")) <API key> = <API key>; else if (strstr(boot_command_line,"oppo.rf_version=97")) <API key> = <API key>; else if (strstr(boot_command_line,"oppo.rf_version=98")) <API key> = <API key>; else if (strstr(boot_command_line,"oppo.rf_version=99")) <API key> = <API key>; /* wenxian.zhen@Onlinerd.Driver, 2014/06/18 Add end for N3 PCB RF version */ //printk("yuyi, rf_version num %d \n",<API key>); return 0; } static ssize_t pcb_version_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) { return sprintf(buf, "%s\n", <API key>); } static struct kobj_attribute pcb_version_attr = { .attr = { .name = "pcb_version", .mode = 0444, }, .show = pcb_version_show, }; static ssize_t rf_version_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) { return sprintf(buf, "%s\n", <API key>); } static struct kobj_attribute rf_version_attr = { .attr = { .name = "rf_version", .mode = 0444, }, .show = rf_version_show, }; #endif /* OPPO 2013-07-15 yuyi add end */ static struct kobject *systeminfo_kobj; enum{ <API key>, <API key> = 2, //the number adapt system/core/init/init.c <API key>, MSM_BOOT_MODE__RF, MSM_BOOT_MODE__WLAN, MSM_BOOT_MODE__MOS, <API key>, }; static int ftm_mode = <API key>; int __init board_mfg_mode_init(void) { char *substr; substr = strstr(boot_command_line, "oppo_ftm_mode="); if(substr) { substr += strlen("oppo_ftm_mode="); if(strncmp(substr, "factory2", 5) == 0) ftm_mode = <API key>; else if(strncmp(substr, "ftmwifi", 5) == 0) ftm_mode = MSM_BOOT_MODE__WLAN; else if(strncmp(substr, "ftmmos", 5) == 0) ftm_mode = MSM_BOOT_MODE__MOS; else if(strncmp(substr, "ftmrf", 5) == 0) ftm_mode = MSM_BOOT_MODE__RF; else if(strncmp(substr, "ftmrecovery", 5) == 0) ftm_mode = <API key>; else if(strncmp(substr, "ftmsilence", 10) == 0) ftm_mode = <API key>; } pr_err("board_mfg_mode_init, " "ftm_mode=%d\n", ftm_mode); return 0; } //__setup("oppo_ftm_mode=", board_mfg_mode_init); int get_boot_mode(void) { return ftm_mode; } static ssize_t ftmmode_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) { return sprintf(buf, "%d\n", ftm_mode); } struct kobj_attribute ftmmode_attr = { .attr = {"ftmmode", 0644}, .show = &ftmmode_show, }; #ifdef VENDOR_EDIT /* Xiaori.Yuan@Mobile Phone Software Dept.Driver, 2014/04/12 Add for gamma correction */ int gamma_index = 0; int __init <API key>(void) { if (strstr(boot_command_line," gamma_index=1")) gamma_index = 1; else if (strstr(boot_command_line," gamma_index=2")) gamma_index = 2; else if (strstr(boot_command_line," gamma_index=3")) gamma_index = 3; else if (strstr(boot_command_line," gamma_index=4")) gamma_index = 4; pr_err("<API key>, " "gamma_index = %d yxr\n", gamma_index); return 0; } int get_gamma_index(void) { return gamma_index; } static ssize_t gamma_index_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) { return sprintf(buf, "%d\n", gamma_index); } static struct kobj_attribute gamma_index_attr = { .attr = { .name = "gamma_index", .mode = 0444, }, .show = gamma_index_show, }; #endif /*VENDOR_EDIT*/ /* OPPO 2013-01-04 Van add start for ftm close modem*/ #define <API key> 27 static ssize_t closemodem_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) { //writing '1' to close and '0' to open //pr_err("closemodem buf[0] = 0x%x",buf[0]); switch (buf[0]) { case 0x30: break; case 0x31: // pr_err("closemodem now"); <API key>(<API key>, 0); mdelay(4000); break; default: break; } return count; } #ifdef VENDOR_EDIT /* Xiaori.Yuan@Mobile Phone Software Dept.Driver, 2014/04/15 Add for find7s swap DSI port */ int LCD_id = 0; int __init <API key>(void) { #if (defined(<API key>) || defined(<API key>)) //zwx int rc; struct regulator *vdd_regulator_ldo9=0; struct regulator *vdd_regulator_lvs2=0; #endif if (strstr(boot_command_line," LCD_id<4")) LCD_id = 2; else if (strstr(boot_command_line," LCD_id=4")) LCD_id = 4; pr_err("board_LCD_id_init, " "LCD_id= %d yxr\n", LCD_id); #if (defined(<API key>) || defined(<API key>)) /*zhangzhilong add for SIM1*/ printk( "zwx---power on l9"); if(!vdd_regulator_ldo9) { vdd_regulator_ldo9 = regulator_get(NULL, "8941_l9"); if (IS_ERR(vdd_regulator_ldo9)) { rc = PTR_ERR(vdd_regulator_ldo9); printk( "zwx---Regulator get failed vcc_ana rc=%d\n", rc); return rc; } rc = <API key>(vdd_regulator_ldo9, 1800000, 1800000); if (rc) { printk( "zwx---regulator set_vtg failed rc=%d\n", rc); } } printk( "zwx---power on lvs2"); if(!vdd_regulator_lvs2) { vdd_regulator_lvs2 = regulator_get(NULL, "8941_lvs2"); if (IS_ERR(vdd_regulator_lvs2)) { rc = PTR_ERR(vdd_regulator_lvs2); printk( "zwx---Regulator get failed vcc_ana rc=%d\n", rc); return rc; } rc = <API key>(vdd_regulator_lvs2, 1800000, 1800000); if (rc) { printk( "zwx---regulator set_vtg failed rc=%d\n", rc); } } regulator_enable(vdd_regulator_lvs2); #endif return 0; } #endif /*VENDOR_EDIT*/ struct kobj_attribute closemodem_attr = { .attr = {"closemodem", 0644}, //.show = &closemodem_show, .store = &closemodem_store }; /* OPPO 2013-01-04 Van add end for ftm close modem*/ static struct attribute * g[] = { &ftmmode_attr.attr, /* OPPO 2013-01-04 Van add start for ftm close modem*/ &closemodem_attr.attr, /* OPPO 2013-01-04 Van add end for ftm close modem*/ /*OPPO yuyi 2013-7-15 add begin for version*/ #ifdef VENDOR_EDIT &pcb_version_attr.attr, &rf_version_attr.attr, #endif /*OPPO yuyi 2013-07-15 add end*/ #ifdef VENDOR_EDIT /* Xiaori.Yuan@Mobile Phone Software Dept.Driver, 2014/04/12 Add for gamma_correction */ &gamma_index_attr.attr, #endif /*VENDOR_EDIT*/ NULL, }; static struct attribute_group attr_group = { .attrs = g, }; /* OPPO 2013.07.09 hewei add end for factory modes*/ #endif // CONFIG_VENDOR_EDIT #ifdef CONFIG_VENDOR_EDIT /* OPPO 2013-09-03 zhanglong add for add interface start reason and boot_mode begin */ char pwron_event[16]; static int __init start_reason_init(void) { int i; char * substr = strstr(boot_command_line, "androidboot.startupmode="); substr += strlen("androidboot.startupmode="); for(i=0; substr[i] != ' '; i++) { pwron_event[i] = substr[i]; } pwron_event[i] = '\0'; printk(KERN_INFO "%s: parse poweron reason %s\n", __func__, pwron_event); return 1; } //__setup("androidboot.startupmode=", start_reason_setup); char boot_mode[16]; static int __init boot_mode_init(void) { int i; char *substr = strstr(boot_command_line, "androidboot.mode="); substr += strlen("androidboot.mode="); for(i=0; substr[i] != ' '; i++) { boot_mode[i] = substr[i]; } boot_mode[i] = '\0'; printk(KERN_INFO "%s: parse boot_mode is %s\n", __func__, boot_mode); return 1; } //__setup("androidboot.mode=", boot_mode_setup); /* OPPO 2013-09-03 zhanglong add for add interface start reason and boot_mode end */ #endif //CONFIG_VENDOR_EDIT static struct memtype_reserve <API key>[] __initdata = { [MEMTYPE_SMI] = { }, [MEMTYPE_EBI0] = { .flags = <API key>, }, [MEMTYPE_EBI1] = { .flags = <API key>, }, }; static int <API key>(phys_addr_t paddr) { return MEMTYPE_EBI1; } static struct reserve_info <API key> __initdata = { .<API key> = <API key>, .paddr_to_memtype = <API key>, }; void __init msm_8974_reserve(void) { reserve_info = &<API key>; of_scan_flat_dt(<API key>, <API key>); msm_reserve(); } static void __init <API key>(void) { reserve_info = &<API key>; of_scan_flat_dt(<API key>, <API key>); } /* * Used to satisfy dependencies for devices that need to be * run early or in a particular order. Most likely your device doesn't fall * into this category, and thus the driver should not be added here. The * EPROBE_DEFER can satisfy most dependency problems. */ void __init msm8974_add_drivers(void) { msm_smem_init(); <API key>(); msm_smd_init(); msm_rpm_driver_init(); <API key>(); <API key>(); msm_spm_device_init(); krait_power_init(); if (of_board_is_rumi()) msm_clock_init(&<API key>); else msm_clock_init(&<API key>); <API key>(); <API key>(); } static struct of_dev_auxdata msm_hsic_host_adata[] = { OF_DEV_AUXDATA("qcom,hsic-host", 0xF9A00000, "msm_hsic_host", NULL), {} }; static struct of_dev_auxdata <API key>[] __initdata = { OF_DEV_AUXDATA("qcom,hsusb-otg", 0xF9A55000, \ "msm_otg", NULL), OF_DEV_AUXDATA("qcom,ehci-host", 0xF9A55000, \ "msm_ehci_host", NULL), OF_DEV_AUXDATA("qcom,dwc-usb3-msm", 0xF9200000, \ "msm_dwc3", NULL), OF_DEV_AUXDATA("qcom,usb-bam-msm", 0xF9304000, \ "usb_bam", NULL), OF_DEV_AUXDATA("qcom,spi-qup-v2", 0xF9924000, \ "spi_qsd.1", NULL), OF_DEV_AUXDATA("qcom,msm-sdcc", 0xF9824000, \ "msm_sdcc.1", NULL), OF_DEV_AUXDATA("qcom,msm-sdcc", 0xF98A4000, \ "msm_sdcc.2", NULL), OF_DEV_AUXDATA("qcom,msm-sdcc", 0xF9864000, \ "msm_sdcc.3", NULL), OF_DEV_AUXDATA("qcom,msm-sdcc", 0xF98E4000, \ "msm_sdcc.4", NULL), OF_DEV_AUXDATA("qcom,sdhci-msm", 0xF9824900, \ "msm_sdcc.1", NULL), OF_DEV_AUXDATA("qcom,sdhci-msm", 0xF98A4900, \ "msm_sdcc.2", NULL), OF_DEV_AUXDATA("qcom,sdhci-msm", 0xF9864900, \ "msm_sdcc.3", NULL), OF_DEV_AUXDATA("qcom,sdhci-msm", 0xF98E4900, \ "msm_sdcc.4", NULL), OF_DEV_AUXDATA("qcom,msm-rng", 0xF9BFF000, \ "msm_rng", NULL), OF_DEV_AUXDATA("qcom,qseecom", 0xFE806000, \ "qseecom", NULL), OF_DEV_AUXDATA("qcom,mdss_mdp", 0xFD900000, "mdp.0", NULL), OF_DEV_AUXDATA("qcom,msm-tsens", 0xFC4A8000, \ "msm-tsens", NULL), OF_DEV_AUXDATA("qcom,qcedev", 0xFD440000, \ "qcedev.0", NULL), OF_DEV_AUXDATA("qcom,qcrypto", 0xFD440000, \ "qcrypto.0", NULL), OF_DEV_AUXDATA("qcom,hsic-host", 0xF9A00000, \ "msm_hsic_host", NULL), OF_DEV_AUXDATA("qcom,hsic-smsc-hub", 0, "msm_smsc_hub", msm_hsic_host_adata), {} }; static void __init msm8974_map_io(void) { msm_map_8974_io(); } void __init msm8974_init(void) { #ifdef CONFIG_VENDOR_EDIT /* OPPO 2013.07.09 hewei add begin for FTM */ int rc = 0; /* OPPO 2013.07.09 hewei add end for FTM */ #endif //CONFIG_VENDOR_EDIT struct of_dev_auxdata *adata = <API key>; if (socinfo_init() < 0) pr_err("%s: socinfo_init() failed\n", __func__); #ifdef CONFIG_VENDOR_EDIT /* OPPO 2013.07.09 hewei add begin for factory mode*/ board_mfg_mode_init(); /* OPPO 2013.07.09 hewei add end */ #endif //CONFIG_VENDOR_EDIT #ifdef CONFIG_VENDOR_EDIT /* OPPO 2013-09-03 zhanglong add for add interface start reason and boot_mode begin */ start_reason_init(); boot_mode_init(); /* OPPO 2013-09-03 zhanglong add for add interface start reason and boot_mode end */ #endif //CONFIG_VENDOR_EDIT <API key>(); <API key>(); board_dt_populate(adata); msm8974_add_drivers(); /*OPPO yuyi 2013-07-15 add begin for version */ #ifdef VENDOR_EDIT <API key>(); <API key>(); #endif /*OPPO yuyi 2013-07-15 add end for version*/ #ifdef VENDOR_EDIT /* Xiaori.Yuan@Mobile Phone Software Dept.Driver, 2014/04/12 Add for gamma correction */ <API key>(); #endif /*VENDOR_EDIT*/ #ifdef VENDOR_EDIT /* Xiaori.Yuan@Mobile Phone Software Dept.Driver, 2014/04/15 Add for find7s swap port */ <API key>(); #endif /*VENDOR_EDIT*/ #ifdef CONFIG_VENDOR_EDIT /* OPPO 2013.07.09 hewei add begin for factory mode*/ systeminfo_kobj = <API key>("systeminfo", NULL); printk("songxh create systeminto node suscess!\n"); if (systeminfo_kobj) rc = sysfs_create_group(systeminfo_kobj, &attr_group); /* OPPO 2013.07.09 hewei add end */ #endif //CONFIG_VENDOR_EDIT //#ifdef VENDOR_EDIT } #ifdef VENDOR_EDIT //Zhilong.Zhang@OnlineRd.Driver, 2013/12/03, Add for ram_console device static struct <API key> msm_prd[] __initdata = { { .name = "ram_console", .size = SZ_1M, }, }; static struct persistent_ram msm_pr __initdata = { .descs = msm_prd, .num_descs = ARRAY_SIZE(msm_prd), //.start = /*0xE0200000,//*/PLAT_PHYS_OFFSET + SZ_1G + SZ_512M, //solve the problem samsung 6GB dai DDR can't boot up .start = /*0xE0200000,//*/PLAT_PHYS_OFFSET + SZ_1G + SZ_256M, .size = SZ_1M, }; #endif /* VENDOR_EDIT */ void __init <API key>(void) { <API key>(); #ifdef VENDOR_EDIT //Zhilong.Zhang@OnlineRd.Driver, 2013/12/03, Add for ram_console device <API key>(&msm_pr); #endif /* VENDOR_EDIT */ #ifdef VENDOR_EDIT /* Goushengjun,2015-5-21 add for close BL when utomatic reboot */ if(strstr(boot_command_line, "oppo.lcd_closebl_flag=")) { lcd_closebl_flag = 1; }else{ lcd_closebl_flag = 0; } #endif /*CONFIG_VENDOR_EDIT*/ } #ifdef VENDOR_EDIT /* Goushengjun,2015-5-21 add for close BL when utomatic reboot */ unsigned int <API key>(void) { return lcd_closebl_flag; } #endif /*CONFIG_VENDOR_EDIT*/ static const char *msm8974_dt_match[] __initconst = { "qcom,msm8974", "qcom,apq8074", NULL }; DT_MACHINE_START(MSM8974_DT, "Qualcomm MSM 8974 (Flattened Device Tree)") .map_io = msm8974_map_io, .init_irq = msm_dt_init_irq, .init_machine = msm8974_init, .handle_irq = gic_handle_irq, .timer = &msm_dt_timer, .dt_compat = msm8974_dt_match, .reserve = msm_8974_reserve, .init_very_early = <API key>, .restart = msm_restart, .smp = &msm8974_smp_ops, MACHINE_END
/* transplant the usb solution from 8x25ICS to 8930JB */ /* modify for platform 8255 and 7x25a/27a */ #include <linux/init.h> #include <linux/string.h> #include <linux/kernel.h> #include <linux/printk.h> #include <asm-arm/huawei/smem_vendor_huawei.h> smem_huawei_vender usb_para_data; /* * import_kernel_nv: parse parameters in cmdline. * And then initialize the corresponding globle variables. * For usb.pid.index, usb.serial, androidboot.localproppath, * the globle variable is smem_huawei_vender usb_para_data. * If you want to use other parameters in cmdline, * define new globle variables and initialize them in this function. * Return value: void * Side effect : none */ static void import_kernel_nv(char *name) { unsigned long pid_index; char local_property_info[65] = {0}; char *country_name; if (*name != '\0') { char *value = strchr(name, '='); if (value != NULL) { *value++ = 0; /* Parse usb_pid_index in cmdline */ if (!strcmp(name,"usb.pid.index")) { if(!strict_strtoul(value, 10, &pid_index)) { usb_para_data.usb_para.usb_pid_index = (unsigned int)pid_index; } } /* Parse usb serial number in cmdline */ else if (!strcmp(name,"usb.serial")) { strlcpy(usb_para_data.usb_para.usb_serial, value, sizeof(usb_para_data.usb_para.usb_serial)); } /* Parse vender_name and country_name, format in cmdline is "vender_name/country_name" */ else if (!strcmp(name,"androidboot.localproppath")) { strlcpy(local_property_info, value, sizeof(local_property_info)); /* solve the problem that phone can't start up due to command line error */ if(0 == *local_property_info || '/' == *local_property_info || !strchr(local_property_info, '/')) { memcpy(local_property_info, "hw/default", strlen("hw/default")); } country_name= strchr(local_property_info, '/'); *country_name++ = 0; strlcpy(usb_para_data.vender_para.vender_name, local_property_info, sizeof(usb_para_data.vender_para.vender_name)); strlcpy(usb_para_data.vender_para.country_name, country_name, sizeof(usb_para_data.vender_para.country_name)); } } } } /* * <API key>: get parameters from cmdline and initialize * corresponding loble variables. * If you want use parameters in cmdline, you needn't change this funiton, * you should check wether import_kernel_nv() has parsed the parameter, if not, * add the parsing in import_kernel_nv(). * Return value: void * Side effect : none */ void <API key>(void) { char cmdline[512] = {0}; char *ptr; printk(KERN_INFO "%s\n", __func__); memcpy(cmdline, saved_command_line, strlen(saved_command_line)); ptr = cmdline; while (ptr && *ptr) { char *x = strchr(ptr, ' '); if (x != 0) *x++ = 0; import_kernel_nv(ptr); ptr = x; } printk(KERN_INFO "cmdline sb_serial=%s,usb_pid_index=%d\n", usb_para_data.usb_para.usb_serial, usb_para_data.usb_para.usb_pid_index); printk(KERN_INFO "cmdline vendor=%s,country=%s\n", usb_para_data.vender_para.vender_name, usb_para_data.vender_para.country_name); }
module FolderFileLister def <API key>(folders) files = [] folders.each do |folder| folder << "/" if folder[-1] != "/" # append trailing slash if not present all_files_in_folder = Dir["#{folder}**/*.*"] files.push(*all_files_in_folder) end files end end
#line 3 "ClntLexer.cpp" #define YY_INT_ALIGNED short int /* A lexical scanner generated by flex */ #define FLEX_SCANNER #define <API key> 2 #define <API key> 5 #define <API key> 39 #if <API key> > 0 #define FLEX_BETA #endif /* The c++ scanner is a mess. The FlexLexer.h header file relies on the * following macro. This is required in order to pass the c++-multiple-scanners * test in the regression suite. We get reports that it breaks inheritance. * We will address this in a future release of flex, or omit the C++ scanner * altogether. */ #define yyFlexLexer yyFlexLexer /* First, we deal with platform-specific or compiler-specific issues. */ /* begin standard C headers. */ /* end standard C headers. */ /* flex integer type definitions */ #ifndef FLEXINT_H #define FLEXINT_H /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, * if you want the limit (max/min) macros for int types. */ #ifndef __STDC_LIMIT_MACROS #define __STDC_LIMIT_MACROS 1 #endif #include <inttypes.h> typedef int8_t flex_int8_t; typedef uint8_t flex_uint8_t; typedef int16_t flex_int16_t; typedef uint16_t flex_uint16_t; typedef int32_t flex_int32_t; typedef uint32_t flex_uint32_t; #else typedef signed char flex_int8_t; typedef short int flex_int16_t; typedef int flex_int32_t; typedef unsigned char flex_uint8_t; typedef unsigned short int flex_uint16_t; typedef unsigned int flex_uint32_t; /* Limits of integral types. */ #ifndef INT8_MIN #define INT8_MIN (-128) #endif #ifndef INT16_MIN #define INT16_MIN (-32767-1) #endif #ifndef INT32_MIN #define INT32_MIN (-2147483647-1) #endif #ifndef INT8_MAX #define INT8_MAX (127) #endif #ifndef INT16_MAX #define INT16_MAX (32767) #endif #ifndef INT32_MAX #define INT32_MAX (2147483647) #endif #ifndef UINT8_MAX #define UINT8_MAX (255U) #endif #ifndef UINT16_MAX #define UINT16_MAX (65535U) #endif #ifndef UINT32_MAX #define UINT32_MAX (4294967295U) #endif #endif /* ! C99 */ #endif /* ! FLEXINT_H */ /* begin standard C++ headers. */ #include <iostream> #include <errno.h> #include <cstdlib> #include <cstdio> #include <cstring> /* end standard C++ headers. */ #ifdef __cplusplus /* The "const" <API key> is valid. */ #define YY_USE_CONST #else /* ! __cplusplus */ /* C99 requires __STDC__ to be defined as 1. */ #if defined (__STDC__) #define YY_USE_CONST #endif /* defined (__STDC__) */ #endif /* ! __cplusplus */ #ifdef YY_USE_CONST #define yyconst const #else #define yyconst #endif /* Returned upon end-of-file. */ #define YY_NULL 0 /* Promotes a possibly negative, possibly signed char to an unsigned * integer for use as an array index. If the signed char is negative, * we want to instead treat it as an 8-bit unsigned char, hence the * double cast. */ #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) /* Enter a start condition. This macro really ought to take a parameter, * but we do it the disgusting crufty way forced on us by the ()-less * definition of BEGIN. */ #define BEGIN (yy_start) = 1 + 2 * /* Translate the current start state into a value that can be later handed * to BEGIN to return to the state. The YYSTATE alias is for lex * compatibility. */ #define YY_START (((yy_start) - 1) / 2) #define YYSTATE YY_START /* Action number for EOF rule of a given start state. */ #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) /* Special action meaning "start processing a new file". */ #define YY_NEW_FILE yyrestart( yyin ) #define <API key> 0 /* Size of default input buffer. */ #ifndef YY_BUF_SIZE #ifdef __ia64__ /* On IA-64, the buffer size is 16k, not 8k. * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. * Ditto for the __ia64__ case accordingly. */ #define YY_BUF_SIZE 32768 #else #define YY_BUF_SIZE 16384 #endif /* __ia64__ */ #endif /* The state buf must be large enough to hold one state per character in the main buffer. */ #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) #ifndef <API key> #define <API key> typedef struct yy_buffer_state *YY_BUFFER_STATE; #endif #ifndef <API key> #define <API key> typedef size_t yy_size_t; #endif extern yy_size_t yyleng; #define <API key> 0 #define EOB_ACT_END_OF_FILE 1 #define EOB_ACT_LAST_MATCH 2 /* Note: We specifically omit the test for <API key> because it requires * access to the local variable yy_act. Since yyless() is a macro, it would break * existing scanners that call yyless() from OUTSIDE yylex. * One obvious solution it to make yy_act a global. I tried that, and saw * a 5% performance hit in a non-yylineno scanner, because yy_act is * normally declared as a register variable-- so it is not worth it. */ #define YY_LESS_LINENO(n) \ do { \ int yyl;\ for ( yyl = n; yyl < yyleng; ++yyl )\ if ( yytext[yyl] == '\n' )\ --yylineno;\ }while(0) #define YY_LINENO_REWIND_TO(dst) \ do {\ const char *p;\ for ( p = yy_cp-1; p >= (dst); --p)\ if ( *p == '\n' )\ --yylineno;\ }while(0) /* Return all but the first "n" matched characters back to the input stream. */ #define yyless(n) \ do \ { \ /* Undo effects of setting up yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ *yy_cp = (yy_hold_char); \ <API key> \ (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ YY_DO_BEFORE_ACTION; /* set up yytext again */ \ } \ while ( 0 ) #define unput(c) yyunput( c, (yytext_ptr) ) #ifndef <API key> #define <API key> struct yy_buffer_state { std::istream* yy_input_file; char *yy_ch_buf; /* input buffer */ char *yy_buf_pos; /* current position in input buffer */ /* Size of input buffer in bytes, not including room for EOB * characters. */ yy_size_t yy_buf_size; /* Number of characters read into yy_ch_buf, not including EOB * characters. */ yy_size_t yy_n_chars; /* Whether we "own" the buffer - i.e., we know we created it, * and can realloc() it to grow it, and should free() it to * delete it. */ int yy_is_our_buffer; /* Whether this is an "interactive" input source; if so, and * if we're using stdio for input, then we want to use getc() * instead of fread(), to make sure we stop fetching input after * each newline. */ int yy_is_interactive; /* Whether we're considered to be at the beginning of a line. * If so, '^' rules will be active on the next match, otherwise * not. */ int yy_at_bol; int yy_bs_lineno; /**< The line count. */ int yy_bs_column; /**< The column count. */ /* Whether to try to fill the input buffer when we reach the * end of it. */ int yy_fill_buffer; int yy_buffer_status; #define YY_BUFFER_NEW 0 #define YY_BUFFER_NORMAL 1 /* When an EOF's been seen but there's still some text to process * then we mark the buffer as YY_EOF_PENDING, to indicate that we * shouldn't try reading from the input source any more. We might * still have a bunch of tokens to match, though, because of * possible backing-up. * * When we actually see the EOF, we change the status to "new" * (via yyrestart()), so that the user can continue scanning by * just pointing yyin at a new input file. */ #define <API key> 2 }; #endif /* !<API key> */ /* We provide macros for accessing buffer states in case in the * future we want to put the buffer states in a more general * "scanner state". * * Returns the top of the stack, or NULL. */ #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ : NULL) /* Same as previous macro, but useful when we know that the buffer stack is not * NULL or when we need an lvalue. For internal use only. */ #define <API key> (yy_buffer_stack)[(yy_buffer_stack_top)] void *yyalloc (yy_size_t ); void *yyrealloc (void *,yy_size_t ); void yyfree (void * ); #define yy_new_buffer yy_create_buffer #define yy_set_interactive(is_interactive) \ { \ if ( ! YY_CURRENT_BUFFER ){ \ <API key> (); \ <API key> = \ yy_create_buffer( yyin, YY_BUF_SIZE ); \ } \ <API key>->yy_is_interactive = is_interactive; \ } #define yy_set_bol(at_bol) \ { \ if ( ! YY_CURRENT_BUFFER ){\ <API key> (); \ <API key> = \ yy_create_buffer( yyin, YY_BUF_SIZE ); \ } \ <API key>->yy_at_bol = at_bol; \ } #define YY_AT_BOL() (<API key>->yy_at_bol) /* Begin user sect3 */ #define YY_SKIP_YYWRAP typedef unsigned char YY_CHAR; #define yytext_ptr yytext #define YY_INTERACTIVE #include <FlexLexer.h> int yyFlexLexer::yywrap() { return 1; } /* Done after the current pattern has been matched and before the * corresponding action - sets up yytext. */ #define YY_DO_BEFORE_ACTION \ (yytext_ptr) = yy_bp; \ yyleng = (size_t) (yy_cp - yy_bp); \ (yy_hold_char) = *yy_cp; \ *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp; #define YY_NUM_RULES 101 #define YY_END_OF_BUFFER 102 /* This struct is not used in this scanner, but its presence is necessary. */ struct yy_trans_info { flex_int32_t yy_verify; flex_int32_t yy_nxt; }; static yyconst flex_int16_t yy_accept[867] = { 0, 1, 1, 0, 0, 0, 0, 102, 100, 2, 1, 1, 100, 82, 100, 100, 99, 99, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 86, 86, 101, 1, 1, 1, 0, 94, 82, 0, 94, 84, 83, 99, 0, 0, 98, 0, 91, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 11, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 53, 95, 95, 95, 95, 95, 95, 95, 95, 25, 26, 12, 95, 95, 95, 95, 95, 85, 83, 99, 0, 0, 0, 90, 96, 89, 89, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 8, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 99, 0, 0, 0, 0, 88, 88, 0, 89, 0, 89, 95, 95, 77, 95, 95, 95, 95, 95, 95, 95, 95, 7, 95, 34, 13, 95, 95, 95, 95, 95, 10, 0, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 99, 0, 97, 0, 0, 0, 88, 0, 88, 0, 89, 89, 89, 89, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 3, 95, 95, 95, 95, 95, 95, 95, 0, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 0, 0, 0, 0, 0, 88, 88, 88, 88, 0, 89, 89, 89, 0, 89, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 29, 95, 95, 95, 95, 95, 35, 95, 95, 95, 95, 95, 95, 95, 0, 0, 95, 95, 95, 95, 95, 27, 95, 54, 95, 95, 95, 95, 95, 20, 95, 95, 95, 95, 95, 6, 95, 95, 95, 95, 95, 0, 0, 0, 0, 88, 88, 88, 0, 88, 0, 0, 89, 89, 89, 89, 95, 5, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 58, 56, 95, 95, 95, 95, 95, 95, 95, 95, 95, 0, 0, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 43, 95, 95, 95, 95, 95, 95, 49, 95, 95, 95, 97, 0, 0, 0, 0, 0, 88, 88, 88, 88, 0, 89, 89, 89, 0, 89, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 57, 95, 95, 95, 95, 42, 95, 95, 16, 17, 0, 0, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 19, 0, 0, 0, 0, 88, 88, 88, 0, 88, 93, 89, 89, 89, 89, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 55, 95, 95, 95, 95, 15, 0, 0, 95, 95, 4, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 14, 95, 31, 95, 95, 0, 0, 0, 0, 92, 88, 88, 88, 88, 89, 89, 89, 0, 89, 95, 95, 95, 95, 95, 95, 67, 95, 95, 95, 95, 95, 95, 95, 28, 95, 95, 95, 95, 18, 0, 0, 39, 38, 30, 95, 95, 95, 95, 95, 95, 95, 95, 95, 33, 32, 95, 95, 95, 95, 97, 0, 0, 88, 88, 88, 0, 88, 89, 89, 89, 89, 81, 95, 95, 95, 95, 95, 66, 95, 95, 95, 95, 68, 95, 95, 95, 95, 61, 41, 40, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 59, 0, 0, 0, 0, 88, 88, 88, 88, 89, 89, 89, 0, 89, 9, 95, 95, 63, 95, 95, 95, 37, 95, 69, 95, 80, 95, 51, 95, 95, 95, 95, 95, 47, 95, 95, 95, 76, 95, 95, 0, 0, 0, 88, 88, 88, 0, 88, 89, 89, 89, 89, 95, 95, 64, 95, 36, 95, 95, 95, 62, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 97, 0, 0, 0, 88, 88, 88, 88, 89, 89, 89, 0, 89, 95, 65, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 44, 95, 95, 23, 0, 0, 87, 90, 88, 88, 88, 0, 88, 89, 89, 89, 89, 95, 79, 70, 95, 95, 95, 95, 95, 95, 95, 95, 24, 95, 0, 0, 87, 0, 88, 88, 88, 88, 88, 89, 89, 89, 0, 89, 95, 71, 95, 95, 95, 95, 95, 46, 95, 95, 95, 95, 95, 97, 87, 90, 88, 0, 88, 88, 88, 88, 89, 89, 89, 95, 95, 95, 95, 95, 95, 21, 95, 45, 52, 95, 95, 0, 87, 88, 88, 88, 88, 89, 89, 89, 95, 72, 73, 74, 75, 95, 22, 48, 95, 0, 88, 88, 0, 88, 88, 89, 95, 95, 95, 97, 88, 88, 89, 95, 95, 95, 0, 88, 88, 0, 60, 95, 50, 87, 88, 88, 78, 87, 88, 88, 0, 0, 88, 88, 0, 88, 88, 0, 97, 88, 88, 0, 88, 88, 0, 88, 88, 0 } ; static yyconst flex_int32_t yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 5, 6, 1, 1, 1, 7, 1, 1, 8, 9, 1, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 20, 22, 1, 1, 1, 1, 1, 1, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 1, 1, 1, 1, 1, 1, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 } ; static yyconst flex_int32_t yy_meta[75] = { 0, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 3, 3, 3, 3, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, 3, 3, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 } ; static yyconst flex_int16_t yy_base[952] = { 0, 0, 0, 1425, 1415, 0, 0, 1393, 4032, 4032, 72, 74, 1380, 0, 1377, 71, 71, 34, 1361, 134, 183, 184, 228, 215, 240, 297, 54, 77, 71, 321, 210, 223, 308, 331, 354, 67, 87, 67, 4032, 1370, 4032, 108, 112, 115, 1376, 4032, 0, 1373, 1371, 4032, 0, 399, 1355, 417, 4032, 0, 443, 0, 485, 83, 171, 0, 179, 176, 185, 188, 200, 190, 227, 239, 235, 252, 235, 269, 280, 331, 278, 279, 304, 300, 1330, 317, 333, 332, 0, 348, 338, 489, 336, 343, 390, 408, 493, 0, 0, 0, 411, 416, 457, 482, 479, 4032, 0, 547, 1317, 461, 1316, 591, 0, 635, 565, 677, 480, 482, 487, 495, 500, 486, 501, 1327, 506, 494, 505, 505, 551, 0, 568, 570, 577, 607, 612, 1326, 620, 123, 655, 1325, 634, 651, 655, 679, 674, 685, 676, 672, 684, 1324, 678, 675, 687, 692, 695, 690, 696, 690, 737, 616, 1311, 1283, 1267, 783, 755, 764, 827, 869, 801, 911, 803, 0, 784, 1277, 1276, 1275, 798, 831, 842, 840, 1274, 835, 1273, 0, 864, 865, 873, 873, 917, 0, 1272, 917, 907, 904, 1262, 909, 923, 921, 912, 924, 913, 925, 919, 959, 1261, 939, 961, 1260, 944, 961, 951, 1259, 988, 1245, 1101, 1092, 1091, 1014, 1025, 1067, 1043, 1085, 1111, 1129, 1155, 1173, 1090, 951, 949, 956, 1162, 952, 957, 954, 971, 1035, 1058, 1176, 1110, 1154, 0, 1165, 1156, 1168, 1164, 1185, 1176, 1191, 1189, 1179, 1190, 1183, 1193, 1191, 1196, 1193, 1188, 1101, 1207, 1195, 1220, 1212, 1207, 1213, 1224, 1227, 1219, 1212, 1226, 1214, 1223, 1100, 1225, 1240, 1087, 1086, 1085, 1051, 1282, 1293, 1311, 1337, 1355, 1138, 1381, 1050, 1393, 1435, 1411, 1245, 1282, 1304, 1345, 1411, 1399, 1413, 1404, 1417, 1437, 1060, 1429, 0, 1434, 1435, 1438, 1426, 1439, 0, 1431, 1059, 1441, 1443, 1434, 1453, 1445, 1444, 1455, 1455, 1451, 1464, 1453, 1486, 0, 1483, 1058, 1486, 1481, 1057, 1056, 1484, 0, 1479, 1475, 1483, 1494, 1055, 0, 1485, 1482, 1491, 1045, 1495, 1015, 997, 996, 1540, 1551, 937, 1563, 1605, 1581, 1623, 1649, 1660, 1678, 1704, 1722, 1569, 906, 1584, 1617, 1648, 1671, 1721, 903, 1708, 1711, 1730, 1703, 1715, 0, 1707, 1712, 1724, 1725, 1726, 1735, 1726, 1737, 1738, 1740, 1734, 1739, 1757, 1737, 1751, 1739, 902, 1758, 1769, 1771, 1761, 1770, 1759, 1778, 0, 1779, 1759, 1768, 1770, 1772, 1777, 0, 1783, 1774, 1776, 889, 888, 887, 886, 1832, 1843, 1854, 1872, 1898, 1916, 1881, 1942, 884, 1954, 1996, 1972, 1795, 1850, 1887, 1903, 1969, 1958, 1967, 1968, 1995, 1987, 2003, 1996, 1995, 1999, 2007, 895, 0, 2008, 2000, 894, 2000, 0, 1998, 2005, 0, 0, 2017, 1997, 2011, 2016, 2022, 2025, 2029, 893, 2028, 2043, 2036, 2029, 2046, 2031, 2044, 2049, 2053, 2041, 2055, 2057, 2057, 2048, 0, 880, 849, 848, 2074, 2102, 847, 2114, 2156, 2132, 2141, 2200, 2174, 2244, 2218, 2143, 2155, 858, 2190, 2210, 2211, 2240, 2253, 2251, 2241, 2242, 2257, 2245, 2259, 2243, 2246, 0, 2243, 2251, 2261, 2247, 0, 2258, 2263, 2255, 2252, 0, 2259, 2269, 2286, 857, 2285, 2286, 2282, 2283, 2282, 2292, 2289, 2299, 0, 2306, 0, 2305, 2306, 844, 842, 841, 840, 2321, 2349, 2367, 2393, 2411, 2437, 839, 2449, 2491, 2467, 2338, 2356, 2404, 2463, 2469, 2471, 0, 2450, 2487, 2499, 2482, 2501, 2500, 2497, 0, 2489, 2507, 2494, 2505, 0, 2497, 2494, 0, 0, 0, 2493, 2505, 2510, 2530, 2519, 2516, 2521, 2505, 2528, 0, 0, 2526, 850, 2525, 2543, 837, 836, 807, 2565, 806, 2587, 2629, 2605, 2673, 2647, 2717, 2691, 0, 2527, 2534, 2591, 2610, 2666, 0, 2680, 2684, 2706, 817, 0, 2713, 2723, 2717, 2726, 0, 4032, 4032, 2712, 2726, 2715, 2725, 2730, 2729, 2717, 816, 2733, 2736, 2727, 2727, 2733, 0, 803, 802, 801, 773, 2780, 2798, 2824, 2842, 2868, 770, 2880, 2922, 2898, 0, 2782, 2798, 0, 2832, 2898, 2892, 0, 2918, 0, 2900, 0, 2917, 0, 2928, 2912, 2929, 2918, 2937, 0, 2938, 2922, 2926, 0, 2927, 2930, 713, 712, 711, 2981, 710, 2993, 3035, 3011, 3079, 3053, 3123, 3097, 715, 2932, 0, 2998, 0, 3031, 3079, 3095, 0, 3085, 3127, 3128, 3112, 3115, 3133, 3118, 3124, 714, 3134, 657, 656, 655, 654, 3177, 3195, 3221, 3239, 3265, 653, 3277, 3319, 3295, 3123, 0, 3166, 656, 3202, 3217, 3291, 3283, 3282, 3298, 3310, 3327, 0, 3325, 3314, 0, 650, 649, 648, 0, 3344, 647, 3370, 3412, 3388, 3456, 3430, 3500, 3474, 3329, 0, 0, 377, 658, 3339, 3375, 3403, 3446, 3466, 3477, 0, 3494, 645, 644, 605, 604, 603, 3547, 3521, 3591, 3565, 3609, 602, 3635, 0, 3653, 3494, 0, 123, 602, 608, 3546, 3560, 0, 3560, 3598, 3639, 3638, 3634, 571, 570, 4032, 569, 0, 3693, 568, 3705, 3679, 3749, 3723, 0, 3636, 572, 569, 526, 475, 3663, 0, 3700, 0, 0, 3693, 3710, 467, 466, 465, 464, 3793, 3768, 3811, 463, 0, 3770, 0, 0, 0, 0, 3792, 0, 0, 3803, 462, 461, 423, 0, 3837, 4032, 0, 3794, 3811, 3801, 422, 421, 420, 4032, 3796, 3812, 3811, 419, 418, 388, 0, 0, 3808, 0, 386, 385, 384, 0, 382, 375, 374, 0, 372, 365, 321, 0, 320, 316, 0, 315, 314, 308, 306, 279, 273, 0, 271, 264, 4032, 3875, 3879, 3883, 3887, 3891, 3895, 3897, 230, 3899, 3901, 3903, 3905, 3907, 3909, 3911, 3913, 3915, 3917, 3919, 3921, 3923, 3925, 3927, 3929, 3931, 3933, 3935, 3937, 3939, 3941, 3943, 3945, 3947, 3949, 3951, 3953, 3955, 3957, 3959, 3961, 3963, 3965, 3967, 3969, 229, 3971, 3973, 3975, 227, 3977, 3979, 3981, 225, 222, 3983, 3985, 3987, 220, 3989, 3991, 219, 214, 3993, 3995, 3997, 3999, 4001, 212, 4003, 4005, 4007, 4009, 4011, 143, 4013, 4015, 4017, 139, 4019, 134, 4021, 4023, 4025, 79, 4027 } ; static yyconst flex_int16_t yy_def[952] = { 0, 866, 1, 867, 867, 868, 868, 866, 866, 866, 866, 866, 869, 870, 871, 866, 866, 16, 866, 866, 19, 19, 19, 19, 19, 19, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 866, 866, 866, 866, 866, 866, 869, 866, 870, 871, 866, 866, 872, 866, 873, 51, 866, 874, 866, 25, 25, 58, 58, 25, 25, 25, 25, 58, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 866, 872, 866, 875, 103, 876, 866, 874, 866, 109, 58, 111, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 866, 154, 877, 878, 879, 866, 159, 866, 866, 866, 162, 111, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 866, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 155, 155, 878, 880, 881, 866, 866, 866, 214, 866, 866, 218, 866, 220, 165, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 866, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 882, 866, 883, 884, 866, 866, 275, 866, 277, 866, 866, 866, 866, 866, 282, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 866, 866, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 885, 886, 887, 866, 866, 866, 866, 866, 344, 866, 866, 866, 349, 866, 351, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 866, 866, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 883, 866, 888, 889, 866, 866, 866, 408, 866, 410, 866, 866, 866, 866, 866, 415, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 866, 866, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 890, 891, 892, 866, 866, 866, 866, 866, 473, 866, 866, 477, 866, 479, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 866, 866, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 893, 866, 894, 895, 866, 866, 530, 866, 532, 866, 866, 866, 866, 536, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 866, 866, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 896, 897, 898, 866, 866, 866, 866, 584, 866, 587, 866, 589, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 866, 866, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 899, 866, 900, 901, 866, 628, 866, 630, 866, 866, 866, 866, 634, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 902, 903, 904, 866, 866, 866, 866, 668, 866, 671, 866, 673, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 905, 866, 906, 907, 866, 698, 866, 700, 866, 866, 866, 866, 704, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 908, 909, 910, 911, 866, 866, 866, 866, 729, 866, 732, 866, 734, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 912, 866, 913, 866, 914, 866, 754, 866, 756, 866, 866, 866, 915, 760, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 916, 917, 866, 918, 919, 866, 866, 866, 783, 866, 785, 920, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 921, 866, 922, 923, 866, 804, 866, 866, 924, 25, 25, 25, 25, 25, 25, 25, 25, 25, 925, 866, 926, 927, 866, 866, 928, 25, 25, 25, 929, 930, 931, 866, 25, 25, 25, 932, 866, 933, 934, 25, 25, 25, 935, 936, 937, 25, 938, 866, 939, 940, 941, 942, 943, 944, 866, 945, 946, 866, 947, 948, 941, 866, 949, 950, 951, 866, 0, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866 } ; static yyconst flex_int16_t yy_nxt[4107] = { 0, 8, 9, 10, 11, 12, 13, 14, 8, 8, 8, 8, 15, 16, 17, 17, 17, 17, 17, 17, 17, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 25, 25, 28, 25, 29, 30, 31, 25, 32, 33, 34, 35, 36, 37, 25, 25, 25, 19, 20, 21, 22, 23, 24, 25, 26, 27, 25, 25, 28, 25, 29, 30, 31, 25, 32, 33, 34, 35, 36, 37, 25, 25, 25, 41, 42, 43, 42, 49, 866, 72, 757, 50, 51, 51, 51, 51, 51, 51, 51, 51, 51, 52, 53, 53, 53, 53, 53, 53, 73, 54, 76, 97, 100, 74, 866, 72, 77, 112, 98, 41, 42, 75, 99, 43, 42, 55, 41, 42, 53, 53, 53, 53, 53, 53, 73, 54, 76, 97, 100, 74, 186, 187, 77, 112, 98, 859, 789, 75, 99, 790, 857, 55, 57, 57, 852, 58, 58, 58, 58, 58, 58, 58, 58, 58, 52, 58, 58, 58, 59, 58, 60, 57, 61, 57, 57, 57, 57, 57, 62, 57, 57, 57, 57, 57, 57, 63, 57, 57, 57, 57, 57, 58, 58, 58, 59, 58, 60, 57, 61, 57, 57, 57, 57, 57, 62, 57, 57, 57, 57, 57, 57, 63, 57, 57, 57, 57, 57, 58, 58, 58, 58, 113, 64, 844, 114, 831, 115, 57, 57, 116, 830, 824, 117, 808, 57, 57, 803, 118, 787, 119, 753, 108, 82, 58, 58, 58, 58, 113, 64, 58, 114, 58, 115, 57, 57, 116, 83, 84, 117, 57, 57, 57, 65, 118, 58, 119, 57, 66, 82, 70, 120, 85, 67, 68, 58, 58, 58, 58, 122, 69, 121, 123, 83, 84, 57, 57, 124, 71, 65, 125, 58, 57, 57, 66, 863, 70, 120, 85, 67, 68, 58, 863, 58, 863, 122, 69, 121, 123, 126, 856, 57, 127, 124, 71, 130, 125, 131, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 866, 57, 57, 57, 57, 57, 57, 126, 57, 866, 127, 863, 86, 130, 57, 131, 87, 856, 860, 856, 132, 57, 133, 849, 856, 78, 88, 57, 57, 57, 57, 57, 57, 79, 57, 128, 135, 89, 86, 80, 57, 136, 87, 90, 81, 91, 132, 57, 133, 93, 94, 78, 88, 129, 92, 137, 138, 139, 95, 79, 143, 128, 135, 89, 144, 80, 96, 136, 849, 90, 81, 91, 764, 765, 766, 778, 767, 849, 838, 129, 92, 137, 138, 139, 95, 850, 143, 849, 838, 752, 144, 838, 96, 103, 103, 103, 103, 103, 103, 103, 103, 103, 104, 105, 105, 105, 105, 105, 105, 145, 54, 105, 105, 105, 105, 105, 105, 105, 105, 105, 146, 821, 726, 838, 821, 835, 821, 149, 150, 105, 105, 105, 105, 105, 105, 145, 54, 109, 109, 109, 109, 109, 109, 109, 109, 109, 146, 110, 110, 110, 110, 110, 110, 149, 150, 155, 155, 155, 155, 155, 155, 155, 155, 155, 780, 697, 761, 821, 780, 752, 107, 813, 151, 110, 110, 110, 110, 110, 110, 111, 111, 111, 111, 111, 111, 111, 111, 111, 104, 111, 111, 111, 111, 111, 111, 140, 61, 147, 151, 152, 153, 166, 141, 167, 168, 142, 169, 170, 171, 172, 174, 175, 176, 177, 148, 111, 111, 111, 111, 111, 111, 140, 61, 147, 812, 152, 153, 166, 141, 167, 168, 142, 169, 170, 171, 172, 174, 175, 176, 177, 148, 154, 154, 154, 154, 154, 154, 154, 154, 154, 52, 155, 155, 155, 155, 155, 155, 866, 54, 164, 164, 164, 164, 164, 164, 164, 164, 164, 178, 811, 810, 730, 780, 752, 800, 179, 180, 155, 155, 155, 155, 155, 155, 181, 54, 159, 159, 159, 159, 159, 159, 159, 159, 159, 178, 160, 160, 160, 160, 160, 160, 179, 180, 792, 791, 705, 780, 778, 752, 181, 209, 209, 209, 209, 209, 209, 209, 209, 209, 182, 183, 160, 160, 160, 160, 160, 160, 161, 185, 162, 162, 162, 162, 162, 162, 162, 162, 162, 163, 164, 164, 164, 164, 164, 164, 182, 183, 697, 627, 768, 669, 752, 697, 107, 185, 738, 635, 726, 697, 627, 723, 188, 190, 191, 192, 164, 164, 164, 164, 164, 164, 165, 165, 165, 165, 165, 165, 165, 165, 165, 52, 165, 165, 165, 165, 165, 165, 188, 190, 191, 192, 193, 194, 195, 196, 197, 198, 200, 201, 202, 203, 204, 205, 206, 207, 721, 707, 165, 165, 165, 165, 165, 165, 585, 697, 627, 528, 193, 194, 195, 196, 197, 198, 200, 201, 202, 203, 204, 205, 206, 207, 208, 208, 208, 208, 208, 208, 208, 208, 208, 52, 209, 209, 209, 209, 209, 209, 866, 54, 216, 216, 216, 216, 216, 216, 216, 216, 216, 217, 217, 217, 217, 217, 217, 217, 217, 217, 209, 209, 209, 209, 209, 209, 537, 54, 213, 107, 214, 214, 214, 214, 214, 214, 214, 214, 214, 215, 216, 216, 216, 216, 216, 216, 866, 223, 219, 219, 219, 219, 219, 219, 219, 219, 219, 627, 528, 107, 657, 645, 474, 627, 224, 225, 216, 216, 216, 216, 216, 216, 161, 229, 218, 218, 218, 218, 218, 218, 218, 218, 218, 163, 219, 219, 219, 219, 219, 219, 224, 225, 528, 624, 621, 416, 107, 528, 405, 229, 405, 567, 541, 345, 528, 405, 230, 231, 232, 234, 219, 219, 219, 219, 219, 219, 220, 220, 220, 220, 220, 220, 220, 220, 220, 236, 221, 221, 221, 221, 221, 221, 230, 231, 232, 234, 107, 510, 499, 496, 283, 237, 107, 405, 273, 467, 450, 426, 238, 239, 419, 236, 221, 221, 221, 221, 221, 221, 222, 222, 222, 222, 222, 222, 222, 222, 222, 237, 222, 222, 222, 222, 222, 222, 238, 239, 240, 245, 247, 248, 250, 253, 254, 255, 251, 241, 242, 243, 252, 256, 257, 258, 246, 215, 222, 222, 222, 222, 222, 222, 262, 266, 240, 245, 247, 248, 250, 253, 254, 255, 251, 241, 242, 243, 252, 256, 257, 258, 246, 259, 263, 267, 268, 285, 286, 287, 262, 266, 292, 293, 295, 264, 296, 294, 260, 208, 208, 208, 208, 208, 208, 208, 208, 208, 866, 259, 263, 267, 268, 285, 286, 287, 405, 273, 292, 293, 295, 264, 296, 294, 260, 274, 274, 274, 274, 274, 274, 274, 274, 274, 213, 273, 275, 275, 275, 275, 275, 275, 275, 275, 275, 215, 276, 276, 276, 276, 276, 276, 866, 400, 276, 276, 276, 276, 276, 276, 276, 276, 276, 396, 390, 389, 386, 371, 363, 297, 163, 107, 276, 276, 276, 276, 276, 276, 277, 277, 277, 277, 277, 277, 277, 277, 277, 298, 278, 278, 278, 278, 278, 278, 279, 297, 217, 217, 217, 217, 217, 217, 217, 217, 217, 273, 158, 107, 335, 321, 866, 273, 158, 298, 278, 278, 278, 278, 278, 278, 161, 270, 280, 280, 280, 280, 280, 280, 280, 280, 280, 163, 281, 281, 281, 281, 281, 281, 866, 302, 281, 281, 281, 281, 281, 281, 281, 281, 281, 347, 347, 347, 347, 347, 347, 347, 347, 347, 281, 281, 281, 281, 281, 281, 161, 302, 282, 282, 282, 282, 282, 282, 282, 282, 282, 283, 284, 284, 284, 284, 284, 284, 866, 288, 284, 284, 284, 284, 284, 284, 284, 284, 284, 303, 304, 289, 305, 306, 290, 307, 291, 299, 284, 284, 284, 284, 284, 284, 300, 288, 308, 309, 310, 311, 313, 314, 301, 315, 316, 303, 304, 289, 305, 306, 290, 307, 291, 299, 312, 317, 318, 319, 320, 322, 300, 323, 308, 309, 310, 311, 313, 314, 301, 315, 316, 324, 325, 326, 327, 328, 329, 330, 331, 332, 312, 317, 318, 319, 320, 322, 333, 323, 334, 336, 337, 866, 353, 269, 265, 261, 249, 324, 325, 326, 327, 328, 329, 330, 331, 332, 244, 235, 233, 228, 227, 226, 333, 107, 334, 336, 337, 341, 353, 274, 274, 274, 274, 274, 274, 274, 274, 274, 213, 158, 342, 342, 342, 342, 342, 342, 342, 342, 342, 215, 343, 343, 343, 343, 343, 343, 866, 354, 343, 343, 343, 343, 343, 343, 343, 343, 343, 158, 199, 189, 184, 173, 158, 107, 134, 355, 343, 343, 343, 343, 343, 343, 213, 354, 344, 344, 344, 344, 344, 344, 344, 344, 344, 345, 346, 346, 346, 346, 346, 346, 866, 355, 346, 346, 346, 346, 346, 346, 346, 346, 346, 107, 47, 356, 48, 45, 101, 56, 48, 45, 346, 346, 346, 346, 346, 346, 161, 866, 348, 348, 348, 348, 348, 348, 348, 348, 348, 163, 161, 356, 349, 349, 349, 349, 349, 349, 349, 349, 349, 283, 350, 350, 350, 350, 350, 350, 866, 39, 350, 350, 350, 350, 350, 350, 350, 350, 350, 39, 866, 866, 866, 866, 357, 358, 359, 360, 350, 350, 350, 350, 350, 350, 351, 351, 351, 351, 351, 351, 351, 351, 351, 361, 352, 352, 352, 352, 352, 352, 357, 358, 359, 360, 362, 364, 365, 366, 367, 368, 369, 370, 372, 373, 374, 375, 376, 377, 378, 361, 352, 352, 352, 352, 352, 352, 379, 380, 381, 382, 362, 364, 365, 366, 367, 368, 369, 370, 372, 373, 374, 375, 376, 377, 378, 383, 384, 387, 388, 391, 392, 393, 379, 380, 381, 382, 394, 395, 397, 385, 398, 399, 401, 866, 866, 866, 866, 866, 866, 866, 866, 383, 384, 387, 388, 391, 392, 393, 866, 866, 866, 866, 394, 395, 397, 385, 398, 399, 401, 406, 406, 406, 406, 406, 406, 406, 406, 406, 213, 866, 407, 407, 407, 407, 407, 407, 407, 407, 407, 215, 213, 866, 408, 408, 408, 408, 408, 408, 408, 408, 408, 345, 409, 409, 409, 409, 409, 409, 866, 866, 409, 409, 409, 409, 409, 409, 409, 409, 409, 866, 866, 866, 866, 866, 866, 418, 866, 866, 409, 409, 409, 409, 409, 409, 410, 410, 410, 410, 410, 410, 410, 410, 410, 420, 411, 411, 411, 411, 411, 411, 412, 418, 347, 347, 347, 347, 347, 347, 347, 347, 347, 866, 421, 866, 866, 866, 866, 866, 866, 420, 411, 411, 411, 411, 411, 411, 161, 866, 348, 348, 348, 348, 348, 348, 348, 348, 348, 161, 421, 413, 413, 413, 413, 413, 413, 413, 413, 413, 283, 414, 414, 414, 414, 414, 414, 866, 422, 414, 414, 414, 414, 414, 414, 414, 414, 414, 866, 866, 866, 866, 866, 866, 866, 866, 423, 414, 414, 414, 414, 414, 414, 161, 422, 415, 415, 415, 415, 415, 415, 415, 415, 415, 416, 417, 417, 417, 417, 417, 417, 866, 423, 417, 417, 417, 417, 417, 417, 417, 417, 417, 424, 427, 428, 432, 433, 434, 435, 436, 437, 417, 417, 417, 417, 417, 417, 425, 429, 438, 439, 440, 441, 442, 430, 443, 431, 444, 424, 427, 428, 432, 433, 434, 435, 436, 437, 445, 446, 447, 448, 449, 451, 425, 429, 438, 439, 440, 441, 442, 430, 443, 431, 444, 452, 453, 454, 455, 456, 457, 458, 459, 460, 445, 446, 447, 448, 449, 451, 461, 462, 463, 464, 465, 466, 866, 481, 866, 866, 866, 452, 453, 454, 455, 456, 457, 458, 459, 460, 866, 866, 866, 866, 866, 866, 461, 462, 463, 464, 465, 466, 470, 481, 406, 406, 406, 406, 406, 406, 406, 406, 406, 213, 866, 407, 407, 407, 407, 407, 407, 407, 407, 407, 213, 866, 471, 471, 471, 471, 471, 471, 471, 471, 471, 345, 472, 472, 472, 472, 472, 472, 866, 482, 472, 472, 472, 472, 472, 472, 472, 472, 472, 476, 476, 476, 476, 476, 476, 476, 476, 476, 472, 472, 472, 472, 472, 472, 213, 482, 473, 473, 473, 473, 473, 473, 473, 473, 473, 474, 475, 475, 475, 475, 475, 475, 866, 483, 475, 475, 475, 475, 475, 475, 475, 475, 475, 866, 866, 484, 866, 866, 866, 866, 866, 866, 475, 475, 475, 475, 475, 475, 161, 483, 348, 348, 348, 348, 348, 348, 348, 348, 348, 283, 161, 484, 477, 477, 477, 477, 477, 477, 477, 477, 477, 416, 478, 478, 478, 478, 478, 478, 866, 866, 478, 478, 478, 478, 478, 478, 478, 478, 478, 866, 866, 866, 866, 866, 485, 486, 487, 488, 478, 478, 478, 478, 478, 478, 479, 479, 479, 479, 479, 479, 479, 479, 479, 489, 480, 480, 480, 480, 480, 480, 485, 486, 487, 488, 490, 491, 492, 493, 494, 495, 497, 498, 500, 501, 502, 503, 504, 505, 506, 489, 480, 480, 480, 480, 480, 480, 507, 508, 509, 511, 490, 491, 492, 493, 494, 495, 497, 498, 500, 501, 502, 503, 504, 505, 506, 512, 513, 514, 515, 516, 517, 518, 507, 508, 509, 511, 519, 520, 521, 522, 523, 524, 529, 529, 529, 529, 529, 529, 529, 529, 529, 512, 513, 514, 515, 516, 517, 518, 866, 866, 866, 866, 519, 520, 521, 522, 523, 524, 213, 866, 407, 407, 407, 407, 407, 407, 407, 407, 407, 345, 213, 866, 530, 530, 530, 530, 530, 530, 530, 530, 530, 474, 531, 531, 531, 531, 531, 531, 866, 866, 531, 531, 531, 531, 531, 531, 531, 531, 531, 476, 476, 476, 476, 476, 476, 476, 476, 476, 531, 531, 531, 531, 531, 531, 532, 532, 532, 532, 532, 532, 532, 532, 532, 539, 533, 533, 533, 533, 533, 533, 866, 540, 535, 535, 535, 535, 535, 535, 535, 535, 535, 866, 866, 866, 866, 866, 866, 866, 866, 539, 533, 533, 533, 533, 533, 533, 161, 540, 534, 534, 534, 534, 534, 534, 534, 534, 534, 416, 535, 535, 535, 535, 535, 535, 866, 542, 538, 538, 538, 538, 538, 538, 538, 538, 538, 866, 866, 866, 866, 866, 866, 866, 543, 544, 535, 535, 535, 535, 535, 535, 161, 542, 536, 536, 536, 536, 536, 536, 536, 536, 536, 537, 538, 538, 538, 538, 538, 538, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 538, 538, 538, 538, 538, 538, 563, 564, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 568, 565, 569, 570, 571, 572, 563, 564, 566, 573, 574, 575, 576, 577, 578, 529, 529, 529, 529, 529, 529, 529, 529, 529, 866, 866, 568, 565, 569, 570, 571, 572, 866, 866, 566, 573, 574, 575, 576, 577, 578, 213, 866, 582, 582, 582, 582, 582, 582, 582, 582, 582, 474, 583, 583, 583, 583, 583, 583, 866, 591, 583, 583, 583, 583, 583, 583, 583, 583, 583, 866, 866, 866, 866, 866, 866, 866, 866, 592, 583, 583, 583, 583, 583, 583, 213, 591, 584, 584, 584, 584, 584, 584, 584, 584, 584, 585, 586, 586, 586, 586, 586, 586, 866, 592, 586, 586, 586, 586, 586, 586, 586, 586, 586, 866, 866, 593, 866, 866, 866, 866, 866, 866, 586, 586, 586, 586, 586, 586, 161, 866, 348, 348, 348, 348, 348, 348, 348, 348, 348, 416, 161, 593, 587, 587, 587, 587, 587, 587, 587, 587, 587, 537, 588, 588, 588, 588, 588, 588, 866, 866, 588, 588, 588, 588, 588, 588, 588, 588, 588, 866, 866, 866, 866, 866, 594, 595, 596, 597, 588, 588, 588, 588, 588, 588, 589, 589, 589, 589, 589, 589, 589, 589, 589, 598, 590, 590, 590, 590, 590, 590, 594, 595, 596, 597, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 866, 598, 590, 590, 590, 590, 590, 590, 615, 616, 617, 618, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 619, 620, 622, 623, 637, 638, 614, 615, 616, 617, 618, 213, 866, 407, 407, 407, 407, 407, 407, 407, 407, 407, 474, 866, 866, 613, 619, 620, 622, 623, 637, 638, 614, 213, 866, 628, 628, 628, 628, 628, 628, 628, 628, 628, 585, 629, 629, 629, 629, 629, 629, 866, 866, 629, 629, 629, 629, 629, 629, 629, 629, 629, 866, 866, 866, 866, 866, 866, 639, 866, 866, 629, 629, 629, 629, 629, 629, 630, 630, 630, 630, 630, 630, 630, 630, 630, 640, 631, 631, 631, 631, 631, 631, 866, 639, 633, 633, 633, 633, 633, 633, 633, 633, 633, 866, 866, 866, 866, 866, 866, 866, 866, 640, 631, 631, 631, 631, 631, 631, 161, 866, 632, 632, 632, 632, 632, 632, 632, 632, 632, 537, 633, 633, 633, 633, 633, 633, 866, 641, 636, 636, 636, 636, 636, 636, 636, 636, 636, 866, 866, 866, 866, 866, 866, 866, 642, 643, 633, 633, 633, 633, 633, 633, 161, 641, 634, 634, 634, 634, 634, 634, 634, 634, 634, 635, 636, 636, 636, 636, 636, 636, 642, 643, 644, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 658, 659, 660, 661, 662, 866, 636, 636, 636, 636, 636, 636, 866, 866, 644, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 658, 659, 660, 661, 662, 213, 866, 666, 666, 666, 666, 666, 666, 666, 666, 666, 585, 667, 667, 667, 667, 667, 667, 866, 675, 667, 667, 667, 667, 667, 667, 667, 667, 667, 866, 866, 866, 866, 866, 866, 866, 866, 676, 667, 667, 667, 667, 667, 667, 213, 675, 668, 668, 668, 668, 668, 668, 668, 668, 668, 669, 670, 670, 670, 670, 670, 670, 866, 676, 670, 670, 670, 670, 670, 670, 670, 670, 670, 866, 866, 677, 866, 866, 866, 866, 866, 866, 670, 670, 670, 670, 670, 670, 161, 866, 348, 348, 348, 348, 348, 348, 348, 348, 348, 537, 161, 677, 671, 671, 671, 671, 671, 671, 671, 671, 671, 635, 672, 672, 672, 672, 672, 672, 866, 866, 672, 672, 672, 672, 672, 672, 672, 672, 672, 866, 866, 866, 866, 866, 678, 679, 866, 682, 672, 672, 672, 672, 672, 672, 673, 673, 673, 673, 673, 673, 673, 673, 673, 683, 674, 674, 674, 674, 674, 674, 678, 679, 680, 682, 684, 685, 686, 687, 681, 688, 689, 690, 691, 692, 693, 866, 708, 866, 866, 683, 674, 674, 674, 674, 674, 674, 866, 866, 680, 866, 684, 685, 686, 687, 681, 688, 689, 690, 691, 692, 693, 213, 708, 407, 407, 407, 407, 407, 407, 407, 407, 407, 585, 213, 866, 698, 698, 698, 698, 698, 698, 698, 698, 698, 669, 699, 699, 699, 699, 699, 699, 866, 866, 699, 699, 699, 699, 699, 699, 699, 699, 699, 866, 866, 866, 866, 866, 866, 709, 866, 866, 699, 699, 699, 699, 699, 699, 700, 700, 700, 700, 700, 700, 700, 700, 700, 710, 701, 701, 701, 701, 701, 701, 866, 709, 703, 703, 703, 703, 703, 703, 703, 703, 703, 866, 866, 866, 866, 866, 866, 866, 866, 710, 701, 701, 701, 701, 701, 701, 161, 866, 702, 702, 702, 702, 702, 702, 702, 702, 702, 635, 703, 703, 703, 703, 703, 703, 866, 711, 706, 706, 706, 706, 706, 706, 706, 706, 706, 866, 866, 866, 866, 866, 866, 866, 712, 713, 703, 703, 703, 703, 703, 703, 161, 711, 704, 704, 704, 704, 704, 704, 704, 704, 704, 705, 706, 706, 706, 706, 706, 706, 712, 713, 714, 715, 716, 717, 718, 719, 720, 722, 866, 736, 866, 866, 866, 866, 866, 866, 866, 866, 706, 706, 706, 706, 706, 706, 866, 866, 714, 715, 716, 717, 718, 719, 720, 722, 213, 736, 727, 727, 727, 727, 727, 727, 727, 727, 727, 669, 728, 728, 728, 728, 728, 728, 866, 737, 728, 728, 728, 728, 728, 728, 728, 728, 728, 866, 866, 866, 866, 866, 866, 866, 866, 739, 728, 728, 728, 728, 728, 728, 213, 737, 729, 729, 729, 729, 729, 729, 729, 729, 729, 730, 731, 731, 731, 731, 731, 731, 866, 739, 731, 731, 731, 731, 731, 731, 731, 731, 731, 866, 866, 740, 866, 866, 866, 866, 866, 866, 731, 731, 731, 731, 731, 731, 161, 866, 348, 348, 348, 348, 348, 348, 348, 348, 348, 635, 161, 740, 732, 732, 732, 732, 732, 732, 732, 732, 732, 705, 733, 733, 733, 733, 733, 733, 866, 866, 733, 733, 733, 733, 733, 733, 733, 733, 733, 866, 866, 866, 866, 866, 741, 742, 743, 744, 733, 733, 733, 733, 733, 733, 734, 734, 734, 734, 734, 734, 734, 734, 734, 745, 735, 735, 735, 735, 735, 735, 741, 742, 743, 744, 746, 747, 748, 213, 763, 407, 407, 407, 407, 407, 407, 407, 407, 407, 669, 745, 735, 735, 735, 735, 735, 735, 769, 866, 866, 866, 746, 747, 748, 213, 763, 754, 754, 754, 754, 754, 754, 754, 754, 754, 730, 755, 755, 755, 755, 755, 755, 866, 769, 755, 755, 755, 755, 755, 755, 755, 755, 755, 866, 866, 866, 866, 866, 866, 770, 866, 866, 755, 755, 755, 755, 755, 755, 756, 756, 756, 756, 756, 756, 756, 756, 756, 771, 757, 757, 757, 757, 757, 757, 866, 770, 759, 759, 759, 759, 759, 759, 759, 759, 759, 866, 866, 866, 866, 866, 866, 866, 866, 771, 757, 757, 757, 757, 757, 757, 161, 866, 758, 758, 758, 758, 758, 758, 758, 758, 758, 705, 759, 759, 759, 759, 759, 759, 866, 772, 762, 762, 762, 762, 762, 762, 762, 762, 762, 866, 866, 866, 866, 866, 866, 866, 773, 774, 759, 759, 759, 759, 759, 759, 161, 772, 760, 760, 760, 760, 760, 760, 760, 760, 760, 761, 762, 762, 762, 762, 762, 762, 773, 774, 775, 866, 788, 782, 782, 782, 782, 782, 782, 782, 782, 782, 866, 866, 866, 866, 866, 866, 762, 762, 762, 762, 762, 762, 866, 866, 775, 213, 788, 781, 781, 781, 781, 781, 781, 781, 781, 781, 730, 782, 782, 782, 782, 782, 782, 866, 793, 784, 784, 784, 784, 784, 784, 784, 784, 784, 794, 866, 866, 866, 866, 866, 866, 866, 795, 782, 782, 782, 782, 782, 782, 213, 793, 783, 783, 783, 783, 783, 783, 783, 783, 783, 794, 784, 784, 784, 784, 784, 784, 161, 795, 348, 348, 348, 348, 348, 348, 348, 348, 348, 705, 866, 866, 866, 866, 866, 866, 866, 796, 784, 784, 784, 784, 784, 784, 161, 866, 785, 785, 785, 785, 785, 785, 785, 785, 785, 761, 786, 786, 786, 786, 786, 786, 866, 796, 786, 786, 786, 786, 786, 786, 786, 786, 786, 797, 798, 799, 866, 809, 866, 866, 866, 866, 786, 786, 786, 786, 786, 786, 866, 814, 805, 805, 805, 805, 805, 805, 805, 805, 805, 797, 798, 799, 213, 809, 407, 407, 407, 407, 407, 407, 407, 407, 407, 730, 213, 814, 804, 804, 804, 804, 804, 804, 804, 804, 804, 815, 805, 805, 805, 805, 805, 805, 866, 816, 807, 807, 807, 807, 807, 807, 807, 807, 807, 866, 866, 866, 866, 866, 866, 866, 817, 815, 805, 805, 805, 805, 805, 805, 161, 816, 806, 806, 806, 806, 806, 806, 806, 806, 806, 761, 807, 807, 807, 807, 807, 807, 817, 866, 866, 823, 823, 823, 823, 823, 823, 823, 823, 823, 866, 866, 866, 866, 866, 866, 866, 825, 807, 807, 807, 807, 807, 807, 213, 866, 822, 822, 822, 822, 822, 822, 822, 822, 822, 826, 823, 823, 823, 823, 823, 823, 161, 825, 348, 348, 348, 348, 348, 348, 348, 348, 348, 761, 827, 832, 833, 834, 839, 840, 841, 826, 823, 823, 823, 823, 823, 823, 213, 845, 407, 407, 407, 407, 407, 407, 407, 407, 407, 866, 827, 832, 833, 834, 839, 840, 841, 866, 866, 866, 866, 866, 866, 866, 866, 845, 38, 38, 38, 38, 40, 40, 40, 40, 44, 44, 44, 44, 46, 866, 46, 46, 47, 47, 47, 47, 102, 866, 102, 102, 106, 106, 156, 156, 157, 157, 210, 210, 211, 211, 212, 212, 271, 271, 272, 272, 338, 338, 339, 339, 340, 340, 402, 402, 403, 403, 404, 404, 468, 468, 469, 469, 525, 525, 526, 526, 527, 527, 579, 579, 580, 580, 581, 581, 468, 468, 625, 625, 626, 626, 663, 663, 664, 664, 665, 665, 694, 694, 695, 695, 696, 696, 580, 580, 724, 724, 725, 725, 749, 749, 750, 750, 751, 751, 776, 776, 777, 777, 779, 779, 664, 664, 801, 801, 802, 802, 818, 818, 819, 819, 820, 820, 828, 828, 829, 829, 724, 724, 836, 836, 837, 837, 842, 842, 843, 843, 846, 846, 847, 847, 848, 848, 777, 777, 851, 851, 853, 853, 854, 854, 855, 855, 858, 858, 861, 861, 862, 862, 864, 864, 865, 865, 7, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866 } ; static yyconst flex_int16_t yy_chk[4107] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 10, 10, 11, 11, 15, 17, 26, 950, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 27, 16, 28, 35, 37, 27, 17, 26, 28, 59, 36, 41, 41, 27, 36, 42, 42, 16, 43, 43, 16, 16, 16, 16, 16, 16, 27, 16, 28, 35, 37, 27, 133, 133, 28, 59, 36, 946, 765, 27, 36, 765, 944, 16, 19, 19, 940, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 20, 21, 20, 21, 60, 20, 934, 62, 928, 63, 20, 21, 64, 927, 924, 65, 920, 20, 21, 919, 66, 915, 67, 911, 874, 30, 20, 21, 20, 21, 60, 20, 23, 62, 23, 63, 20, 21, 64, 30, 31, 65, 23, 20, 21, 22, 66, 22, 67, 23, 22, 30, 23, 68, 31, 22, 22, 24, 23, 24, 23, 69, 22, 68, 70, 30, 31, 24, 23, 71, 24, 22, 72, 22, 24, 23, 22, 865, 23, 68, 31, 22, 22, 24, 864, 24, 862, 69, 22, 68, 70, 73, 861, 24, 74, 71, 24, 76, 72, 77, 24, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 73, 25, 860, 74, 859, 32, 76, 25, 77, 32, 858, 857, 855, 78, 25, 79, 854, 852, 29, 32, 25, 25, 25, 25, 25, 25, 29, 25, 75, 81, 33, 32, 29, 25, 82, 32, 33, 29, 33, 78, 25, 79, 34, 34, 29, 32, 75, 33, 83, 85, 86, 34, 29, 88, 75, 81, 33, 89, 29, 34, 82, 851, 33, 29, 33, 739, 739, 739, 850, 739, 848, 847, 75, 33, 83, 85, 86, 34, 846, 88, 844, 843, 842, 89, 837, 34, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 90, 51, 53, 53, 53, 53, 53, 53, 53, 53, 53, 91, 836, 835, 830, 829, 828, 820, 96, 97, 51, 51, 51, 51, 51, 51, 90, 51, 56, 56, 56, 56, 56, 56, 56, 56, 56, 91, 56, 56, 56, 56, 56, 56, 96, 97, 105, 105, 105, 105, 105, 105, 105, 105, 105, 819, 818, 807, 803, 802, 801, 800, 792, 98, 56, 56, 56, 56, 56, 56, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 87, 58, 92, 98, 99, 100, 112, 87, 113, 114, 87, 115, 116, 117, 118, 120, 121, 122, 123, 92, 58, 58, 58, 58, 58, 58, 87, 58, 92, 791, 99, 100, 112, 87, 113, 114, 87, 115, 116, 117, 118, 120, 121, 122, 123, 92, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, 110, 103, 110, 110, 110, 110, 110, 110, 110, 110, 110, 124, 790, 789, 782, 779, 777, 776, 126, 127, 103, 103, 103, 103, 103, 103, 128, 103, 107, 107, 107, 107, 107, 107, 107, 107, 107, 124, 107, 107, 107, 107, 107, 107, 126, 127, 767, 766, 759, 753, 752, 751, 128, 155, 155, 155, 155, 155, 155, 155, 155, 155, 129, 130, 107, 107, 107, 107, 107, 107, 109, 132, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 129, 130, 750, 749, 740, 728, 725, 724, 723, 132, 710, 703, 697, 696, 695, 694, 134, 136, 137, 138, 109, 109, 109, 109, 109, 109, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 134, 136, 137, 138, 139, 140, 141, 142, 143, 144, 146, 147, 148, 149, 150, 151, 152, 153, 692, 675, 111, 111, 111, 111, 111, 111, 667, 665, 664, 663, 139, 140, 141, 142, 143, 144, 146, 147, 148, 149, 150, 151, 152, 153, 154, 154, 154, 154, 154, 154, 154, 154, 154, 154, 154, 154, 154, 154, 154, 154, 160, 154, 160, 160, 160, 160, 160, 160, 160, 160, 160, 161, 161, 161, 161, 161, 161, 161, 161, 161, 154, 154, 154, 154, 154, 154, 633, 154, 159, 627, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 164, 166, 164, 164, 164, 164, 164, 164, 164, 164, 164, 626, 625, 624, 617, 601, 583, 581, 166, 168, 159, 159, 159, 159, 159, 159, 162, 172, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 166, 168, 580, 579, 576, 535, 528, 527, 526, 172, 525, 511, 483, 472, 469, 468, 173, 174, 175, 177, 162, 162, 162, 162, 162, 162, 163, 163, 163, 163, 163, 163, 163, 163, 163, 180, 163, 163, 163, 163, 163, 163, 173, 174, 175, 177, 467, 451, 437, 433, 414, 181, 405, 404, 403, 402, 383, 360, 182, 183, 354, 180, 163, 163, 163, 163, 163, 163, 165, 165, 165, 165, 165, 165, 165, 165, 165, 181, 165, 165, 165, 165, 165, 165, 182, 183, 184, 187, 188, 189, 191, 193, 194, 195, 192, 184, 184, 184, 192, 196, 197, 198, 187, 343, 165, 165, 165, 165, 165, 165, 201, 204, 184, 187, 188, 189, 191, 193, 194, 195, 192, 184, 184, 184, 192, 196, 197, 198, 187, 199, 202, 205, 206, 223, 224, 225, 201, 204, 227, 228, 229, 202, 230, 228, 199, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 199, 202, 205, 206, 223, 224, 225, 340, 339, 227, 228, 229, 202, 230, 228, 199, 213, 213, 213, 213, 213, 213, 213, 213, 213, 214, 338, 214, 214, 214, 214, 214, 214, 214, 214, 214, 214, 214, 214, 214, 214, 214, 214, 216, 336, 216, 216, 216, 216, 216, 216, 216, 216, 216, 331, 324, 323, 320, 305, 295, 231, 281, 273, 214, 214, 214, 214, 214, 214, 215, 215, 215, 215, 215, 215, 215, 215, 215, 232, 215, 215, 215, 215, 215, 215, 217, 231, 217, 217, 217, 217, 217, 217, 217, 217, 217, 272, 271, 270, 267, 253, 222, 212, 211, 232, 215, 215, 215, 215, 215, 215, 218, 210, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 219, 234, 219, 219, 219, 219, 219, 219, 219, 219, 219, 279, 279, 279, 279, 279, 279, 279, 279, 279, 218, 218, 218, 218, 218, 218, 220, 234, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 221, 226, 221, 221, 221, 221, 221, 221, 221, 221, 221, 235, 237, 226, 238, 239, 226, 240, 226, 233, 220, 220, 220, 220, 220, 220, 233, 226, 241, 242, 243, 244, 245, 246, 233, 247, 248, 235, 237, 226, 238, 239, 226, 240, 226, 233, 244, 249, 250, 251, 252, 254, 233, 255, 241, 242, 243, 244, 245, 246, 233, 247, 248, 256, 257, 258, 259, 260, 261, 262, 263, 264, 244, 249, 250, 251, 252, 254, 265, 255, 266, 268, 269, 209, 285, 207, 203, 200, 190, 256, 257, 258, 259, 260, 261, 262, 263, 264, 186, 178, 176, 171, 170, 169, 265, 158, 266, 268, 269, 274, 285, 274, 274, 274, 274, 274, 274, 274, 274, 274, 275, 157, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 275, 276, 286, 276, 276, 276, 276, 276, 276, 276, 276, 276, 156, 145, 135, 131, 119, 106, 104, 80, 287, 275, 275, 275, 275, 275, 275, 277, 286, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 278, 287, 278, 278, 278, 278, 278, 278, 278, 278, 278, 52, 48, 288, 47, 44, 39, 18, 14, 12, 277, 277, 277, 277, 277, 277, 280, 7, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 282, 288, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 284, 4, 284, 284, 284, 284, 284, 284, 284, 284, 284, 3, 0, 0, 0, 0, 289, 290, 291, 292, 282, 282, 282, 282, 282, 282, 283, 283, 283, 283, 283, 283, 283, 283, 283, 293, 283, 283, 283, 283, 283, 283, 289, 290, 291, 292, 294, 296, 298, 299, 300, 301, 302, 304, 306, 307, 308, 309, 310, 311, 312, 293, 283, 283, 283, 283, 283, 283, 313, 314, 315, 316, 294, 296, 298, 299, 300, 301, 302, 304, 306, 307, 308, 309, 310, 311, 312, 317, 319, 321, 322, 325, 327, 328, 313, 314, 315, 316, 329, 330, 333, 319, 334, 335, 337, 0, 0, 0, 0, 0, 0, 0, 0, 317, 319, 321, 322, 325, 327, 328, 0, 0, 0, 0, 329, 330, 333, 319, 334, 335, 337, 341, 341, 341, 341, 341, 341, 341, 341, 341, 342, 0, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 344, 0, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 346, 0, 346, 346, 346, 346, 346, 346, 346, 346, 346, 0, 0, 0, 0, 0, 0, 353, 0, 0, 344, 344, 344, 344, 344, 344, 345, 345, 345, 345, 345, 345, 345, 345, 345, 355, 345, 345, 345, 345, 345, 345, 347, 353, 347, 347, 347, 347, 347, 347, 347, 347, 347, 0, 356, 0, 0, 0, 0, 0, 0, 355, 345, 345, 345, 345, 345, 345, 348, 0, 348, 348, 348, 348, 348, 348, 348, 348, 348, 349, 356, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 350, 357, 350, 350, 350, 350, 350, 350, 350, 350, 350, 0, 0, 0, 0, 0, 0, 0, 0, 358, 349, 349, 349, 349, 349, 349, 351, 357, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 351, 352, 358, 352, 352, 352, 352, 352, 352, 352, 352, 352, 359, 361, 362, 364, 365, 367, 368, 369, 370, 351, 351, 351, 351, 351, 351, 359, 363, 371, 372, 373, 374, 375, 363, 376, 363, 377, 359, 361, 362, 364, 365, 367, 368, 369, 370, 378, 379, 380, 381, 382, 384, 359, 363, 371, 372, 373, 374, 375, 363, 376, 363, 377, 385, 386, 387, 388, 389, 390, 392, 393, 394, 378, 379, 380, 381, 382, 384, 395, 396, 397, 399, 400, 401, 0, 418, 0, 0, 0, 385, 386, 387, 388, 389, 390, 392, 393, 394, 0, 0, 0, 0, 0, 0, 395, 396, 397, 399, 400, 401, 406, 418, 406, 406, 406, 406, 406, 406, 406, 406, 406, 407, 0, 407, 407, 407, 407, 407, 407, 407, 407, 407, 408, 0, 408, 408, 408, 408, 408, 408, 408, 408, 408, 408, 408, 408, 408, 408, 408, 408, 409, 419, 409, 409, 409, 409, 409, 409, 409, 409, 409, 412, 412, 412, 412, 412, 412, 412, 412, 412, 408, 408, 408, 408, 408, 408, 410, 419, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 411, 420, 411, 411, 411, 411, 411, 411, 411, 411, 411, 0, 0, 421, 0, 0, 0, 0, 0, 0, 410, 410, 410, 410, 410, 410, 413, 420, 413, 413, 413, 413, 413, 413, 413, 413, 413, 413, 415, 421, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 417, 0, 417, 417, 417, 417, 417, 417, 417, 417, 417, 0, 0, 0, 0, 0, 422, 423, 424, 425, 415, 415, 415, 415, 415, 415, 416, 416, 416, 416, 416, 416, 416, 416, 416, 426, 416, 416, 416, 416, 416, 416, 422, 423, 424, 425, 427, 428, 429, 430, 431, 432, 435, 436, 438, 440, 441, 444, 445, 446, 447, 426, 416, 416, 416, 416, 416, 416, 448, 449, 450, 452, 427, 428, 429, 430, 431, 432, 435, 436, 438, 440, 441, 444, 445, 446, 447, 453, 454, 455, 456, 457, 458, 459, 448, 449, 450, 452, 460, 461, 462, 463, 464, 465, 470, 470, 470, 470, 470, 470, 470, 470, 470, 453, 454, 455, 456, 457, 458, 459, 0, 0, 0, 0, 460, 461, 462, 463, 464, 465, 471, 0, 471, 471, 471, 471, 471, 471, 471, 471, 471, 471, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 475, 0, 475, 475, 475, 475, 475, 475, 475, 475, 475, 476, 476, 476, 476, 476, 476, 476, 476, 476, 473, 473, 473, 473, 473, 473, 474, 474, 474, 474, 474, 474, 474, 474, 474, 481, 474, 474, 474, 474, 474, 474, 478, 482, 478, 478, 478, 478, 478, 478, 478, 478, 478, 0, 0, 0, 0, 0, 0, 0, 0, 481, 474, 474, 474, 474, 474, 474, 477, 482, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 480, 484, 480, 480, 480, 480, 480, 480, 480, 480, 480, 0, 0, 0, 0, 0, 0, 0, 485, 486, 477, 477, 477, 477, 477, 477, 479, 484, 479, 479, 479, 479, 479, 479, 479, 479, 479, 479, 479, 479, 479, 479, 479, 479, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 498, 499, 500, 501, 503, 504, 505, 506, 479, 479, 479, 479, 479, 479, 508, 509, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 498, 499, 500, 501, 503, 504, 505, 506, 512, 510, 513, 514, 515, 516, 508, 509, 510, 517, 518, 519, 521, 523, 524, 529, 529, 529, 529, 529, 529, 529, 529, 529, 0, 0, 512, 510, 513, 514, 515, 516, 0, 0, 510, 517, 518, 519, 521, 523, 524, 530, 0, 530, 530, 530, 530, 530, 530, 530, 530, 530, 530, 530, 530, 530, 530, 530, 530, 531, 539, 531, 531, 531, 531, 531, 531, 531, 531, 531, 0, 0, 0, 0, 0, 0, 0, 0, 540, 530, 530, 530, 530, 530, 530, 532, 539, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 533, 540, 533, 533, 533, 533, 533, 533, 533, 533, 533, 0, 0, 541, 0, 0, 0, 0, 0, 0, 532, 532, 532, 532, 532, 532, 534, 0, 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, 536, 541, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, 538, 0, 538, 538, 538, 538, 538, 538, 538, 538, 538, 0, 0, 0, 0, 0, 542, 543, 544, 546, 536, 536, 536, 536, 536, 536, 537, 537, 537, 537, 537, 537, 537, 537, 537, 547, 537, 537, 537, 537, 537, 537, 542, 543, 544, 546, 548, 549, 550, 551, 552, 554, 555, 556, 557, 559, 560, 564, 565, 566, 0, 547, 537, 537, 537, 537, 537, 537, 568, 569, 570, 571, 548, 549, 550, 551, 552, 554, 555, 556, 557, 559, 560, 564, 565, 566, 567, 572, 575, 577, 578, 592, 593, 567, 568, 569, 570, 571, 582, 0, 582, 582, 582, 582, 582, 582, 582, 582, 582, 582, 0, 0, 567, 572, 575, 577, 578, 592, 593, 567, 584, 0, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 584, 586, 0, 586, 586, 586, 586, 586, 586, 586, 586, 586, 0, 0, 0, 0, 0, 0, 594, 0, 0, 584, 584, 584, 584, 584, 584, 585, 585, 585, 585, 585, 585, 585, 585, 585, 595, 585, 585, 585, 585, 585, 585, 588, 594, 588, 588, 588, 588, 588, 588, 588, 588, 588, 0, 0, 0, 0, 0, 0, 0, 0, 595, 585, 585, 585, 585, 585, 585, 587, 0, 587, 587, 587, 587, 587, 587, 587, 587, 587, 587, 587, 587, 587, 587, 587, 587, 590, 596, 590, 590, 590, 590, 590, 590, 590, 590, 590, 0, 0, 0, 0, 0, 0, 0, 598, 599, 587, 587, 587, 587, 587, 587, 589, 596, 589, 589, 589, 589, 589, 589, 589, 589, 589, 589, 589, 589, 589, 589, 589, 589, 598, 599, 600, 603, 604, 605, 606, 610, 611, 612, 613, 614, 615, 616, 618, 619, 620, 621, 622, 0, 589, 589, 589, 589, 589, 589, 0, 0, 600, 603, 604, 605, 606, 610, 611, 612, 613, 614, 615, 616, 618, 619, 620, 621, 622, 628, 0, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 628, 629, 638, 629, 629, 629, 629, 629, 629, 629, 629, 629, 0, 0, 0, 0, 0, 0, 0, 0, 639, 628, 628, 628, 628, 628, 628, 630, 638, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, 631, 639, 631, 631, 631, 631, 631, 631, 631, 631, 631, 0, 0, 641, 0, 0, 0, 0, 0, 0, 630, 630, 630, 630, 630, 630, 632, 0, 632, 632, 632, 632, 632, 632, 632, 632, 632, 632, 634, 641, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 634, 636, 0, 636, 636, 636, 636, 636, 636, 636, 636, 636, 0, 0, 0, 0, 0, 642, 643, 0, 647, 634, 634, 634, 634, 634, 634, 635, 635, 635, 635, 635, 635, 635, 635, 635, 649, 635, 635, 635, 635, 635, 635, 642, 643, 645, 647, 651, 652, 653, 654, 645, 655, 657, 658, 659, 661, 662, 0, 676, 0, 0, 649, 635, 635, 635, 635, 635, 635, 0, 0, 645, 0, 651, 652, 653, 654, 645, 655, 657, 658, 659, 661, 662, 666, 676, 666, 666, 666, 666, 666, 666, 666, 666, 666, 666, 668, 0, 668, 668, 668, 668, 668, 668, 668, 668, 668, 668, 668, 668, 668, 668, 668, 668, 670, 0, 670, 670, 670, 670, 670, 670, 670, 670, 670, 0, 0, 0, 0, 0, 0, 678, 0, 0, 668, 668, 668, 668, 668, 668, 669, 669, 669, 669, 669, 669, 669, 669, 669, 680, 669, 669, 669, 669, 669, 669, 672, 678, 672, 672, 672, 672, 672, 672, 672, 672, 672, 0, 0, 0, 0, 0, 0, 0, 0, 680, 669, 669, 669, 669, 669, 669, 671, 0, 671, 671, 671, 671, 671, 671, 671, 671, 671, 671, 671, 671, 671, 671, 671, 671, 674, 681, 674, 674, 674, 674, 674, 674, 674, 674, 674, 0, 0, 0, 0, 0, 0, 0, 682, 684, 671, 671, 671, 671, 671, 671, 673, 681, 673, 673, 673, 673, 673, 673, 673, 673, 673, 673, 673, 673, 673, 673, 673, 673, 682, 684, 685, 686, 687, 688, 689, 690, 691, 693, 0, 707, 0, 0, 0, 0, 0, 0, 0, 0, 673, 673, 673, 673, 673, 673, 0, 0, 685, 686, 687, 688, 689, 690, 691, 693, 698, 707, 698, 698, 698, 698, 698, 698, 698, 698, 698, 698, 698, 698, 698, 698, 698, 698, 699, 709, 699, 699, 699, 699, 699, 699, 699, 699, 699, 0, 0, 0, 0, 0, 0, 0, 0, 711, 698, 698, 698, 698, 698, 698, 700, 709, 700, 700, 700, 700, 700, 700, 700, 700, 700, 700, 700, 700, 700, 700, 700, 700, 701, 711, 701, 701, 701, 701, 701, 701, 701, 701, 701, 0, 0, 712, 0, 0, 0, 0, 0, 0, 700, 700, 700, 700, 700, 700, 702, 0, 702, 702, 702, 702, 702, 702, 702, 702, 702, 702, 704, 712, 704, 704, 704, 704, 704, 704, 704, 704, 704, 704, 704, 704, 704, 704, 704, 704, 706, 0, 706, 706, 706, 706, 706, 706, 706, 706, 706, 0, 0, 0, 0, 0, 713, 714, 715, 716, 704, 704, 704, 704, 704, 704, 705, 705, 705, 705, 705, 705, 705, 705, 705, 717, 705, 705, 705, 705, 705, 705, 713, 714, 715, 716, 718, 720, 721, 727, 736, 727, 727, 727, 727, 727, 727, 727, 727, 727, 727, 717, 705, 705, 705, 705, 705, 705, 741, 0, 0, 0, 718, 720, 721, 729, 736, 729, 729, 729, 729, 729, 729, 729, 729, 729, 729, 729, 729, 729, 729, 729, 729, 731, 741, 731, 731, 731, 731, 731, 731, 731, 731, 731, 0, 0, 0, 0, 0, 0, 742, 0, 0, 729, 729, 729, 729, 729, 729, 730, 730, 730, 730, 730, 730, 730, 730, 730, 743, 730, 730, 730, 730, 730, 730, 733, 742, 733, 733, 733, 733, 733, 733, 733, 733, 733, 0, 0, 0, 0, 0, 0, 0, 0, 743, 730, 730, 730, 730, 730, 730, 732, 0, 732, 732, 732, 732, 732, 732, 732, 732, 732, 732, 732, 732, 732, 732, 732, 732, 735, 744, 735, 735, 735, 735, 735, 735, 735, 735, 735, 0, 0, 0, 0, 0, 0, 0, 745, 746, 732, 732, 732, 732, 732, 732, 734, 744, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 745, 746, 748, 755, 763, 755, 755, 755, 755, 755, 755, 755, 755, 755, 0, 0, 0, 0, 0, 0, 734, 734, 734, 734, 734, 734, 0, 0, 748, 754, 763, 754, 754, 754, 754, 754, 754, 754, 754, 754, 754, 754, 754, 754, 754, 754, 754, 757, 768, 757, 757, 757, 757, 757, 757, 757, 757, 757, 769, 0, 0, 0, 0, 0, 0, 0, 771, 754, 754, 754, 754, 754, 754, 756, 768, 756, 756, 756, 756, 756, 756, 756, 756, 756, 769, 756, 756, 756, 756, 756, 756, 758, 771, 758, 758, 758, 758, 758, 758, 758, 758, 758, 758, 0, 0, 0, 0, 0, 0, 0, 772, 756, 756, 756, 756, 756, 756, 760, 0, 760, 760, 760, 760, 760, 760, 760, 760, 760, 760, 760, 760, 760, 760, 760, 760, 762, 772, 762, 762, 762, 762, 762, 762, 762, 762, 762, 773, 774, 775, 0, 788, 0, 0, 0, 0, 760, 760, 760, 760, 760, 760, 784, 793, 784, 784, 784, 784, 784, 784, 784, 784, 784, 773, 774, 775, 781, 788, 781, 781, 781, 781, 781, 781, 781, 781, 781, 781, 783, 793, 783, 783, 783, 783, 783, 783, 783, 783, 783, 795, 783, 783, 783, 783, 783, 783, 786, 798, 786, 786, 786, 786, 786, 786, 786, 786, 786, 0, 0, 0, 0, 0, 0, 0, 799, 795, 783, 783, 783, 783, 783, 783, 785, 798, 785, 785, 785, 785, 785, 785, 785, 785, 785, 785, 785, 785, 785, 785, 785, 785, 799, 805, 0, 805, 805, 805, 805, 805, 805, 805, 805, 805, 0, 0, 0, 0, 0, 0, 0, 809, 785, 785, 785, 785, 785, 785, 804, 0, 804, 804, 804, 804, 804, 804, 804, 804, 804, 814, 804, 804, 804, 804, 804, 804, 806, 809, 806, 806, 806, 806, 806, 806, 806, 806, 806, 806, 817, 825, 826, 827, 832, 833, 834, 814, 804, 804, 804, 804, 804, 804, 822, 840, 822, 822, 822, 822, 822, 822, 822, 822, 822, 0, 817, 825, 826, 827, 832, 833, 834, 0, 0, 0, 0, 0, 0, 0, 0, 840, 867, 867, 867, 867, 868, 868, 868, 868, 869, 869, 869, 869, 870, 0, 870, 870, 871, 871, 871, 871, 872, 0, 872, 872, 873, 873, 875, 875, 876, 876, 877, 877, 878, 878, 879, 879, 880, 880, 881, 881, 882, 882, 883, 883, 884, 884, 885, 885, 886, 886, 887, 887, 888, 888, 889, 889, 890, 890, 891, 891, 892, 892, 893, 893, 894, 894, 895, 895, 896, 896, 897, 897, 898, 898, 899, 899, 900, 900, 901, 901, 902, 902, 903, 903, 904, 904, 905, 905, 906, 906, 907, 907, 908, 908, 909, 909, 910, 910, 912, 912, 913, 913, 914, 914, 916, 916, 917, 917, 918, 918, 921, 921, 922, 922, 923, 923, 925, 925, 926, 926, 929, 929, 930, 930, 931, 931, 932, 932, 933, 933, 935, 935, 936, 936, 937, 937, 938, 938, 939, 939, 941, 941, 942, 942, 943, 943, 945, 945, 947, 947, 948, 948, 949, 949, 951, 951, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866 } ; /* Table of booleans, true if rule could match eol. */ static yyconst flex_int32_t <API key>[102] = { 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, }; /* The intent behind this definition is that it'll catch * any uses of REJECT which flex missed. */ #define REJECT <API key> #define yymore() <API key> #define YY_MORE_ADJ 0 #define <API key> #ifdef WIN32 #define strncasecmp _strnicmp #endif using namespace std; #include "ClntParser.h" #include "Portable.h" #define YYABORT yyterminate(); /* duplicate default definition from flex. This makes cppcheck check for defined YY_FATAL_ERROR() go away. */ #define YY_FATAL_ERROR(msg) LexerError(msg) using namespace std; namespace std { unsigned ComBeg; //line, in which comment begins unsigned LftCnt; //how many signs : on the left side of :: sign was interpreted unsigned RgtCnt; //the same as above, but on the right side of :: char Address[16]; //address, which is analizying right now char AddrPart[16]; unsigned intpos,pos; yy_ClntParser_stype yylval; } #define INITIAL 0 #define COMMENT 1 #define ADDR 2 #ifndef YY_NO_UNISTD_H /* Special case for "unistd.h", since it is non-ANSI. We include it way * down here because we want the user's section 1 to have been scanned first. * The user has a chance to override it with an option. */ #include <unistd.h> #endif #ifndef YY_EXTRA_TYPE #define YY_EXTRA_TYPE void * #endif #ifndef yytext_ptr static void yy_flex_strncpy (char *,yyconst char *,int ); #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * ); #endif #ifndef YY_NO_INPUT #endif /* Amount of stuff to slurp up with each read. */ #ifndef YY_READ_BUF_SIZE #ifdef __ia64__ /* On IA-64, the buffer size is 16k, not 8k */ #define YY_READ_BUF_SIZE 16384 #else #define YY_READ_BUF_SIZE 8192 #endif /* __ia64__ */ #endif /* Copy whatever the last rule matched to the standard output. */ #ifndef ECHO #define ECHO LexerOutput( yytext, yyleng ) #endif /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, * is returned in "result". */ #ifndef YY_INPUT #define YY_INPUT(buf,result,max_size) \ \ if ( (result = LexerInput( (char *) buf, max_size )) < 0 ) \ YY_FATAL_ERROR( "input in flex scanner failed" ); #endif /* No semi-colon after return; correct usage is to write "yyterminate();" - * we don't want an extra ';' after the "return" because that will cause * some compilers to complain about unreachable statements. */ #ifndef yyterminate #define yyterminate() return YY_NULL #endif /* Number of entries by which start-condition stack grows. */ #ifndef YY_START_STACK_INCR #define YY_START_STACK_INCR 25 #endif /* Report a fatal error. */ #ifndef YY_FATAL_ERROR #define YY_FATAL_ERROR(msg) LexerError( msg ) #endif /* end tables serialization structures and prototypes */ /* Default declaration of generated scanner - a define so the user can * easily add parameters. */ #ifndef YY_DECL #define YY_DECL_IS_OURS 1 #define YY_DECL int yyFlexLexer::yylex() #endif /* !YY_DECL */ /* Code executed at the beginning of each rule, after yytext and yyleng * have been set up. */ #ifndef YY_USER_ACTION #define YY_USER_ACTION #endif /* Code executed at the end of each rule. */ #ifndef YY_BREAK #define YY_BREAK break; #endif #define YY_RULE_SETUP \ YY_USER_ACTION /** The main scanner function which does all the work. */ YY_DECL { register yy_state_type yy_current_state; register char *yy_cp, *yy_bp; register int yy_act; if ( !(yy_init) ) { (yy_init) = 1; #ifdef YY_USER_INIT YY_USER_INIT; #endif if ( ! (yy_start) ) (yy_start) = 1; /* first start state */ if ( ! yyin ) yyin = & std::cin; if ( ! yyout ) yyout = & std::cout; if ( ! YY_CURRENT_BUFFER ) { <API key> (); <API key> = yy_create_buffer( yyin, YY_BUF_SIZE ); } <API key>( ); } { while ( 1 ) /* loops until end-of-file is reached */ { yy_cp = (yy_c_buf_p); /* Support of yytext. */ *yy_cp = (yy_hold_char); /* yy_bp points to the position in yy_ch_buf of the start of * the current run. */ yy_bp = yy_cp; yy_current_state = (yy_start); yy_match: do { register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; if ( yy_accept[yy_current_state] ) { (<API key>) = yy_current_state; (<API key>) = yy_cp; } while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 867 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; ++yy_cp; } while ( yy_base[yy_current_state] != 4032 ); yy_find_action: yy_act = yy_accept[yy_current_state]; if ( yy_act == 0 ) { /* have to back up */ yy_cp = (<API key>); yy_current_state = (<API key>); yy_act = yy_accept[yy_current_state]; } YY_DO_BEFORE_ACTION; if ( yy_act != YY_END_OF_BUFFER && <API key>[yy_act] ) { yy_size_t yyl; for ( yyl = 0; yyl < yyleng; ++yyl ) if ( yytext[yyl] == '\n' ) yylineno++; ; } do_action: /* This label is used only to access EOF actions. */ switch ( yy_act ) { /* beginning of action switch */ case 0: /* must back up */ /* undo the effects of YY_DO_BEFORE_ACTION */ *yy_cp = (yy_hold_char); yy_cp = (<API key>); yy_current_state = (<API key>); goto yy_find_action; case 1: /* rule 1 can match eol */ YY_RULE_SETUP ; // ignore end of line YY_BREAK case 2: YY_RULE_SETUP ; // ignore TABs and spaces YY_BREAK case 3: YY_RULE_SETUP { return ClntParser::IFACE_;} YY_BREAK case 4: YY_RULE_SETUP { return ClntParser::NO_CONFIG_;} YY_BREAK case 5: YY_RULE_SETUP { return ClntParser::ADDRESS_KEYWORD_;} YY_BREAK case 6: YY_RULE_SETUP { return ClntParser::STRING_KEYWORD_; } YY_BREAK case 7: YY_RULE_SETUP { return ClntParser::DUID_KEYWORD_; } YY_BREAK case 8: YY_RULE_SETUP { return ClntParser::HEX_KEYWORD_; } YY_BREAK case 9: YY_RULE_SETUP { return ClntParser::<API key>; } YY_BREAK case 10: YY_RULE_SETUP { return ClntParser::NAME_; } YY_BREAK case 11: YY_RULE_SETUP { return ClntParser::IA_;} YY_BREAK case 12: YY_RULE_SETUP { return ClntParser::TA_; } YY_BREAK case 13: YY_RULE_SETUP { return ClntParser::IAID_; } YY_BREAK case 14: YY_RULE_SETUP { return ClntParser::STATELESS_;} YY_BREAK case 15: YY_RULE_SETUP { return ClntParser::LOGLEVEL_; } YY_BREAK case 16: YY_RULE_SETUP { return ClntParser::LOGMODE_; } YY_BREAK case 17: YY_RULE_SETUP { return ClntParser::LOGNAME_; } YY_BREAK case 18: YY_RULE_SETUP { return ClntParser::LOGCOLORS_; } YY_BREAK case 19: YY_RULE_SETUP { return ClntParser::WORKDIR_;} YY_BREAK case 20: YY_RULE_SETUP { return ClntParser::SCRIPT_; } YY_BREAK case 21: YY_RULE_SETUP { return ClntParser::PREF_TIME_; } YY_BREAK case 22: YY_RULE_SETUP { return ClntParser::PREF_TIME_; } YY_BREAK case 23: YY_RULE_SETUP { return ClntParser::VALID_TIME_; } YY_BREAK case 24: YY_RULE_SETUP { return ClntParser::REMOTE_AUTOCONF_; } YY_BREAK case 25: YY_RULE_SETUP { return ClntParser::T1_;} YY_BREAK case 26: YY_RULE_SETUP { return ClntParser::T2_;} YY_BREAK case 27: YY_RULE_SETUP { return ClntParser::OPTION_; } YY_BREAK case 28: YY_RULE_SETUP { return ClntParser::DNS_SERVER_;} YY_BREAK case 29: YY_RULE_SETUP { return ClntParser::DOMAIN_;} YY_BREAK case 30: YY_RULE_SETUP { return ClntParser::NTP_SERVER_;} YY_BREAK case 31: YY_RULE_SETUP { return ClntParser::TIME_ZONE_;} YY_BREAK case 32: YY_RULE_SETUP { return ClntParser::SIP_SERVER_; } YY_BREAK case 33: YY_RULE_SETUP { return ClntParser::SIP_DOMAIN_; } YY_BREAK case 34: YY_RULE_SETUP { return ClntParser::FQDN_; } YY_BREAK case 35: YY_RULE_SETUP { return ClntParser::FQDN_S_; } YY_BREAK case 36: YY_RULE_SETUP { return ClntParser::DDNS_PROTOCOL_; } YY_BREAK case 37: YY_RULE_SETUP { return ClntParser::DDNS_TIMEOUT_; } YY_BREAK case 38: YY_RULE_SETUP { return ClntParser::NIS_SERVER_; } YY_BREAK case 39: YY_RULE_SETUP { return ClntParser::NIS_DOMAIN_; } YY_BREAK case 40: YY_RULE_SETUP { return ClntParser::NISP_SERVER_; } YY_BREAK case 41: YY_RULE_SETUP { return ClntParser::NISP_DOMAIN_; } YY_BREAK case 42: YY_RULE_SETUP { return ClntParser::LIFETIME_; } YY_BREAK case 43: YY_RULE_SETUP { return ClntParser::ROUTING_; } YY_BREAK case 44: YY_RULE_SETUP { return ClntParser::REJECT_SERVERS_;} YY_BREAK case 45: YY_RULE_SETUP { return ClntParser::PREFERRED_SERVERS_;} YY_BREAK case 46: YY_RULE_SETUP { return ClntParser::PREFERRED_SERVERS_;} YY_BREAK case 47: YY_RULE_SETUP { return ClntParser::RAPID_COMMIT_;} YY_BREAK case 48: YY_RULE_SETUP { return ClntParser::RECONFIGURE_; } YY_BREAK case 49: YY_RULE_SETUP { return ClntParser::UNICAST_; } YY_BREAK case 50: YY_RULE_SETUP { return ClntParser::<API key>; } YY_BREAK case 51: YY_RULE_SETUP { return ClntParser::OBEY_RA_BITS_; } YY_BREAK case 52: YY_RULE_SETUP { return ClntParser::PD_; } YY_BREAK case 53: YY_RULE_SETUP { return ClntParser::PD_; } YY_BREAK case 54: YY_RULE_SETUP { return ClntParser::PREFIX_; } YY_BREAK case 55: YY_RULE_SETUP { return ClntParser::DUID_TYPE_; } YY_BREAK case 56: YY_RULE_SETUP { return ClntParser::DUID_TYPE_LL_; } YY_BREAK case 57: YY_RULE_SETUP { return ClntParser::DUID_TYPE_LLT_; } YY_BREAK case 58: YY_RULE_SETUP { return ClntParser::DUID_TYPE_EN_; } YY_BREAK case 59: YY_RULE_SETUP { return ClntParser::VENDOR_SPEC_; } YY_BREAK case 60: YY_RULE_SETUP { return ClntParser::ANON_INF_REQUEST_; } YY_BREAK case 61: YY_RULE_SETUP { return ClntParser::INSIST_MODE_; } YY_BREAK case 62: YY_RULE_SETUP { return ClntParser::INACTIVE_MODE_; } YY_BREAK case 63: YY_RULE_SETUP { return ClntParser::AUTH_METHODS_; } YY_BREAK case 64: YY_RULE_SETUP { return ClntParser::AUTH_PROTOCOL_; } YY_BREAK case 65: YY_RULE_SETUP { return ClntParser::AUTH_ALGORITHM_; } YY_BREAK case 66: YY_RULE_SETUP { return ClntParser::AUTH_REPLAY_; } YY_BREAK case 67: YY_RULE_SETUP { return ClntParser::AUTH_REALM_; } YY_BREAK case 68: YY_RULE_SETUP { return ClntParser::DIGEST_NONE_; } YY_BREAK case 69: YY_RULE_SETUP { return ClntParser::DIGEST_PLAIN_; } YY_BREAK case 70: YY_RULE_SETUP { return ClntParser::DIGEST_HMAC_MD5_; } YY_BREAK case 71: YY_RULE_SETUP { return ClntParser::DIGEST_HMAC_SHA1_; } YY_BREAK case 72: YY_RULE_SETUP { return ClntParser::DIGEST_HMAC_SHA224_; } YY_BREAK case 73: YY_RULE_SETUP { return ClntParser::DIGEST_HMAC_SHA256_; } YY_BREAK case 74: YY_RULE_SETUP { return ClntParser::DIGEST_HMAC_SHA384_; } YY_BREAK case 75: YY_RULE_SETUP { return ClntParser::DIGEST_HMAC_SHA512_; } YY_BREAK case 76: YY_RULE_SETUP { return ClntParser::SKIP_CONFIRM_; } YY_BREAK case 77: YY_RULE_SETUP { return ClntParser::AFTR_; } YY_BREAK case 78: YY_RULE_SETUP { return ClntParser::<API key>; } YY_BREAK case 79: YY_RULE_SETUP { return ClntParser::BIND_TO_ADDR_; } YY_BREAK case 80: YY_RULE_SETUP { return ClntParser::EXPERIMENTAL_; } YY_BREAK case 81: YY_RULE_SETUP { return ClntParser::ADDR_PARAMS_; } YY_BREAK case 82: YY_RULE_SETUP ; YY_BREAK case 83: YY_RULE_SETUP ; YY_BREAK case 84: YY_RULE_SETUP { BEGIN(COMMENT); ComBeg=yylineno; } YY_BREAK case 85: YY_RULE_SETUP BEGIN(INITIAL); YY_BREAK case 86: /* rule 86 can match eol */ YY_RULE_SETUP ; YY_BREAK case YY_STATE_EOF(COMMENT): { /* rule 94 can match eol */ /* Amount of text matched not including the EOB char. */ /* Undo the effects of YY_DO_BEFORE_ACTION. */ /* We're scanning a new file or input source. It's * possible that this happened because the user * just pointed yyin at a new source and called * yylex(). If so, then we have to assure * consistency between YY_CURRENT_BUFFER and our * globals. Here is the right place to do so, because * this is the first action (other than possibly a * back-up) that will match for the new input source. */ (yy_n_chars) = <API key>->yy_n_chars; <API key>->yy_input_file = yyin; <API key>->yy_buffer_status = YY_BUFFER_NORMAL; } /* Note that here we test for yy_c_buf_p "<=" to the position * of the first EOB in the buffer, since yy_c_buf_p will * already have been incremented past the NUL character * (since all states make transitions on EOB to the * end-of-buffer state). Contrast this with the test * in input(). */ if ( (yy_c_buf_p) <= &<API key>->yy_ch_buf[(yy_n_chars)] ) { /* This was really a NUL. */ yy_state_type yy_next_state; (yy_c_buf_p) = (yytext_ptr) + <API key>; yy_current_state = <API key>( ); /* Okay, we're now positioned to make the NUL * transition. We couldn't have * <API key>() go ahead and do it * for us because it doesn't know how to deal * with the possibility of jamming (and we don't * want to build jamming into it because then it * will run more slowly). */ yy_next_state = yy_try_NUL_trans( yy_current_state ); yy_bp = (yytext_ptr) + YY_MORE_ADJ; if ( yy_next_state ) { /* Consume the NUL. */ yy_cp = ++(yy_c_buf_p); yy_current_state = yy_next_state; goto yy_match; } else { yy_cp = (yy_c_buf_p); goto yy_find_action; } } else switch ( yy_get_next_buffer( ) ) { case EOB_ACT_END_OF_FILE: { (<API key>) = 0; if ( yywrap( ) ) { /* Note: because we've taken care in * yy_get_next_buffer() to have set up * yytext, we can now set up * yy_c_buf_p so that if some total * hoser (like flex itself) wants to * call the scanner after we return the * YY_NULL, it'll still work - another * YY_NULL will get returned. */ (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; yy_act = YY_STATE_EOF(YY_START); goto do_action; } else { if ( ! (<API key>) ) YY_NEW_FILE; } break; } case <API key>: (yy_c_buf_p) = (yytext_ptr) + <API key>; yy_current_state = <API key>( ); yy_cp = (yy_c_buf_p); yy_bp = (yytext_ptr) + YY_MORE_ADJ; goto yy_match; case EOB_ACT_LAST_MATCH: (yy_c_buf_p) = &<API key>->yy_ch_buf[(yy_n_chars)]; yy_current_state = <API key>( ); yy_cp = (yy_c_buf_p); yy_bp = (yytext_ptr) + YY_MORE_ADJ; goto yy_find_action; } break; } default: YY_FATAL_ERROR( "fatal flex scanner internal error--no action found" ); } /* end of action switch */ } /* end of scanning one token */ } /* end of user's declarations */ } /* end of yylex */ /* The contents of this function are C++ specific, so the () macro is not used. */ yyFlexLexer::yyFlexLexer( std::istream* arg_yyin, std::ostream* arg_yyout ) { yyin = arg_yyin; yyout = arg_yyout; yy_c_buf_p = 0; yy_init = 0; yy_start = 0; yy_flex_debug = 0; yylineno = 1; // this will only get updated if %option yylineno <API key> = 0; <API key> = 0; yy_more_flag = 0; yy_more_len = 0; yy_more_offset = yy_prev_more_offset = 0; yy_start_stack_ptr = <API key> = 0; yy_start_stack = NULL; yy_buffer_stack = 0; yy_buffer_stack_top = 0; yy_buffer_stack_max = 0; yy_state_buf = 0; } /* The contents of this function are C++ specific, so the () macro is not used. */ yyFlexLexer::~yyFlexLexer() { delete [] yy_state_buf; yyfree(yy_start_stack ); yy_delete_buffer( YY_CURRENT_BUFFER ); yyfree(yy_buffer_stack ); } /* The contents of this function are C++ specific, so the () macro is not used. */ void yyFlexLexer::switch_streams( std::istream* new_in, std::ostream* new_out ) { if ( new_in ) { yy_delete_buffer( YY_CURRENT_BUFFER ); yy_switch_to_buffer( yy_create_buffer( new_in, YY_BUF_SIZE ) ); } if ( new_out ) yyout = new_out; } #ifdef YY_INTERACTIVE int yyFlexLexer::LexerInput( char* buf, int /* max_size */ ) #else int yyFlexLexer::LexerInput( char* buf, int max_size ) #endif { if ( yyin->eof() || yyin->fail() ) return 0; #ifdef YY_INTERACTIVE yyin->get( buf[0] ); if ( yyin->eof() ) return 0; if ( yyin->bad() ) return -1; return 1; #else (void) yyin->read( buf, max_size ); if ( yyin->bad() ) return -1; else return yyin->gcount(); #endif } void yyFlexLexer::LexerOutput( const char* buf, int size ) { (void) yyout->write( buf, size ); } /* yy_get_next_buffer - try to read in a new buffer * * Returns a code representing an action: * EOB_ACT_LAST_MATCH - * <API key> - continue scanning from current position * EOB_ACT_END_OF_FILE - end of file */ int yyFlexLexer::yy_get_next_buffer() { register char *dest = <API key>->yy_ch_buf; register char *source = (yytext_ptr); register int number_to_move, i; int ret_val; if ( (yy_c_buf_p) > &<API key>->yy_ch_buf[(yy_n_chars) + 1] ) YY_FATAL_ERROR( "fatal flex scanner internal error--end of buffer missed" ); if ( <API key>->yy_fill_buffer == 0 ) { /* Don't try to fill the buffer, so this is an EOF. */ if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) { /* We matched a single character, the EOB, so * treat this as a final EOF. */ return EOB_ACT_END_OF_FILE; } else { /* We matched some text prior to the EOB, first * process it. */ return EOB_ACT_LAST_MATCH; } } /* Try to read more data. */ /* First move last chars to start of buffer. */ number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; for ( i = 0; i < number_to_move; ++i ) *(dest++) = *(source++); if ( <API key>->yy_buffer_status == <API key> ) /* don't do the read, it's not guaranteed to return an EOF, * just force an EOF */ <API key>->yy_n_chars = (yy_n_chars) = 0; else { yy_size_t num_to_read = <API key>->yy_buf_size - number_to_move - 1; while ( num_to_read <= 0 ) { /* Not enough room in the buffer - grow it. */ /* just a shorter name for the current buffer */ YY_BUFFER_STATE b = <API key>; int yy_c_buf_p_offset = (int) ((yy_c_buf_p) - b->yy_ch_buf); if ( b->yy_is_our_buffer ) { yy_size_t new_size = b->yy_buf_size * 2; if ( new_size <= 0 ) b->yy_buf_size += b->yy_buf_size / 8; else b->yy_buf_size *= 2; b->yy_ch_buf = (char *) /* Include room in for 2 EOB chars. */ yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); } else /* Can't grow it, we don't own it. */ b->yy_ch_buf = 0; if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "fatal error - scanner input buffer overflow" ); (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; num_to_read = <API key>->yy_buf_size - number_to_move - 1; } if ( num_to_read > YY_READ_BUF_SIZE ) num_to_read = YY_READ_BUF_SIZE; /* Read in more data. */ YY_INPUT( (&<API key>->yy_ch_buf[number_to_move]), (yy_n_chars), num_to_read ); <API key>->yy_n_chars = (yy_n_chars); } if ( (yy_n_chars) == 0 ) { if ( number_to_move == YY_MORE_ADJ ) { ret_val = EOB_ACT_END_OF_FILE; yyrestart( yyin ); } else { ret_val = EOB_ACT_LAST_MATCH; <API key>->yy_buffer_status = <API key>; } } else ret_val = <API key>; if ((yy_size_t) ((yy_n_chars) + number_to_move) > <API key>->yy_buf_size) { /* Extend the array by 50%, plus the number we really need. */ yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); <API key>->yy_ch_buf = (char *) yyrealloc((void *) <API key>->yy_ch_buf,new_size ); if ( ! <API key>->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); } (yy_n_chars) += number_to_move; <API key>->yy_ch_buf[(yy_n_chars)] = <API key>; <API key>->yy_ch_buf[(yy_n_chars) + 1] = <API key>; (yytext_ptr) = &<API key>->yy_ch_buf[0]; return ret_val; } /* <API key> - get the state just before the EOB char was reached */ yy_state_type yyFlexLexer::<API key>() { register yy_state_type yy_current_state; register char *yy_cp; yy_current_state = (yy_start); for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) { register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); if ( yy_accept[yy_current_state] ) { (<API key>) = yy_current_state; (<API key>) = yy_cp; } while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 867 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; } return yy_current_state; } /* yy_try_NUL_trans - try to make a transition on the NUL character * * synopsis * next_state = yy_try_NUL_trans( current_state ); */ yy_state_type yyFlexLexer::yy_try_NUL_trans( yy_state_type yy_current_state ) { register int yy_is_jam; register char *yy_cp = (yy_c_buf_p); register YY_CHAR yy_c = 1; if ( yy_accept[yy_current_state] ) { (<API key>) = yy_current_state; (<API key>) = yy_cp; } while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 867 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; yy_is_jam = (yy_current_state == 866); return yy_is_jam ? 0 : yy_current_state; } void yyFlexLexer::yyunput( int c, register char* yy_bp) { register char *yy_cp; yy_cp = (yy_c_buf_p); /* undo effects of setting up yytext */ *yy_cp = (yy_hold_char); if ( yy_cp < <API key>->yy_ch_buf + 2 ) { /* need to shift things up to make room */ /* +2 for EOB chars. */ register yy_size_t number_to_move = (yy_n_chars) + 2; register char *dest = &<API key>->yy_ch_buf[ <API key>->yy_buf_size + 2]; register char *source = &<API key>->yy_ch_buf[number_to_move]; while ( source > <API key>->yy_ch_buf ) *--dest = *--source; yy_cp += (int) (dest - source); yy_bp += (int) (dest - source); <API key>->yy_n_chars = (yy_n_chars) = <API key>->yy_buf_size; if ( yy_cp < <API key>->yy_ch_buf + 2 ) YY_FATAL_ERROR( "flex scanner push-back overflow" ); } *--yy_cp = (char) c; if ( c == '\n' ){ --yylineno; } (yytext_ptr) = yy_bp; (yy_hold_char) = *yy_cp; (yy_c_buf_p) = yy_cp; } int yyFlexLexer::yyinput() { int c; *(yy_c_buf_p) = (yy_hold_char); if ( *(yy_c_buf_p) == <API key> ) { /* yy_c_buf_p now points to the character we want to return. * If this occurs *before* the EOB characters, then it's a * valid NUL; if not, then we've hit the end of the buffer. */ if ( (yy_c_buf_p) < &<API key>->yy_ch_buf[(yy_n_chars)] ) /* This was really a NUL. */ *(yy_c_buf_p) = '\0'; else { /* need more input */ yy_size_t offset = (yy_c_buf_p) - (yytext_ptr); ++(yy_c_buf_p); switch ( yy_get_next_buffer( ) ) { case EOB_ACT_LAST_MATCH: /* This happens because yy_g_n_b() * sees that we've accumulated a * token and flags that we need to * try matching the token before * proceeding. But for input(), * there's no matching to consider. * So convert the EOB_ACT_LAST_MATCH * to EOB_ACT_END_OF_FILE. */ /* Reset buffer status. */ yyrestart( yyin ); /*FALLTHROUGH*/ case EOB_ACT_END_OF_FILE: { if ( yywrap( ) ) return EOF; if ( ! (<API key>) ) YY_NEW_FILE; #ifdef __cplusplus return yyinput(); #else return input(); #endif } case <API key>: (yy_c_buf_p) = (yytext_ptr) + offset; break; } } } c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ *(yy_c_buf_p) = '\0'; /* preserve yytext */ (yy_hold_char) = *++(yy_c_buf_p); if ( c == '\n' ) yylineno++; ; return c; } /** Immediately switch to a different input stream. * @param input_file A readable stream. * * @note This function does not reset the start condition to @c INITIAL . */ void yyFlexLexer::yyrestart( std::istream* input_file ) { if ( ! YY_CURRENT_BUFFER ){ <API key> (); <API key> = yy_create_buffer( yyin, YY_BUF_SIZE ); } yy_init_buffer( YY_CURRENT_BUFFER, input_file ); <API key>( ); } /** Switch to a different input buffer. * @param new_buffer The new input buffer. * */ void yyFlexLexer::yy_switch_to_buffer( YY_BUFFER_STATE new_buffer ) { /* TODO. We should be able to replace this entire function body * with * yypop_buffer_state(); * yypush_buffer_state(new_buffer); */ <API key> (); if ( YY_CURRENT_BUFFER == new_buffer ) return; if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ *(yy_c_buf_p) = (yy_hold_char); <API key>->yy_buf_pos = (yy_c_buf_p); <API key>->yy_n_chars = (yy_n_chars); } <API key> = new_buffer; <API key>( ); /* We don't actually know whether we did this switch during * EOF (yywrap()) processing, but the only time this flag * is looked at is after yywrap() is called, so it's safe * to go ahead and always set it. */ (<API key>) = 1; } void yyFlexLexer::<API key>() { (yy_n_chars) = <API key>->yy_n_chars; (yytext_ptr) = (yy_c_buf_p) = <API key>->yy_buf_pos; yyin = <API key>->yy_input_file; (yy_hold_char) = *(yy_c_buf_p); } /** Allocate and initialize an input buffer state. * @param file A readable stream. * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. * * @return the allocated buffer state. */ YY_BUFFER_STATE yyFlexLexer::yy_create_buffer( std::istream* file, int size ) { YY_BUFFER_STATE b; b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_buf_size = size; /* yy_ch_buf has to be 2 characters longer than the size given because * we need to put in 2 end-of-buffer characters. */ b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_is_our_buffer = 1; yy_init_buffer( b, file ); return b; } /** Destroy the buffer. * @param b a buffer created with yy_create_buffer() * */ void yyFlexLexer::yy_delete_buffer( YY_BUFFER_STATE b ) { if ( ! b ) return; if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ <API key> = (YY_BUFFER_STATE) 0; if ( b->yy_is_our_buffer ) yyfree((void *) b->yy_ch_buf ); yyfree((void *) b ); } /* Initializes or reinitializes a buffer. * This function is sometimes called more than once on the same buffer, * such as during a yyrestart() or at EOF. */ void yyFlexLexer::yy_init_buffer( YY_BUFFER_STATE b, std::istream* file ) { int oerrno = errno; yy_flush_buffer( b ); b->yy_input_file = file; b->yy_fill_buffer = 1; /* If b is the current buffer, then yy_init_buffer was _probably_ * called from yyrestart() or through yy_get_next_buffer. * In that case, we don't want to reset the lineno or column. */ if (b != YY_CURRENT_BUFFER){ b->yy_bs_lineno = 1; b->yy_bs_column = 0; } b->yy_is_interactive = 0; errno = oerrno; } /** Discard all buffered characters. On the next scan, YY_INPUT will be called. * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. * */ void yyFlexLexer::yy_flush_buffer( YY_BUFFER_STATE b ) { if ( ! b ) return; b->yy_n_chars = 0; /* We always need two end-of-buffer characters. The first causes * a transition to the end-of-buffer state. The second causes * a jam in that state. */ b->yy_ch_buf[0] = <API key>; b->yy_ch_buf[1] = <API key>; b->yy_buf_pos = &b->yy_ch_buf[0]; b->yy_at_bol = 1; b->yy_buffer_status = YY_BUFFER_NEW; if ( b == YY_CURRENT_BUFFER ) <API key>( ); } /** Pushes the new state onto the stack. The new state becomes * the current state. This function will allocate the stack * if necessary. * @param new_buffer The new state. * */ void yyFlexLexer::yypush_buffer_state (YY_BUFFER_STATE new_buffer) { if (new_buffer == NULL) return; <API key>(); /* This block is copied from yy_switch_to_buffer. */ if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ *(yy_c_buf_p) = (yy_hold_char); <API key>->yy_buf_pos = (yy_c_buf_p); <API key>->yy_n_chars = (yy_n_chars); } /* Only push if top exists. Otherwise, replace top. */ if (YY_CURRENT_BUFFER) (yy_buffer_stack_top)++; <API key> = new_buffer; /* copied from yy_switch_to_buffer. */ <API key>( ); (<API key>) = 1; } /** Removes and deletes the top of the stack, if present. * The next element becomes the new top. * */ void yyFlexLexer::yypop_buffer_state (void) { if (!YY_CURRENT_BUFFER) return; yy_delete_buffer(YY_CURRENT_BUFFER ); <API key> = NULL; if ((yy_buffer_stack_top) > 0) --(yy_buffer_stack_top); if (YY_CURRENT_BUFFER) { <API key>( ); (<API key>) = 1; } } /* Allocates the stack if it does not exist. * Guarantees space for at least one push. */ void yyFlexLexer::<API key>(void) { yy_size_t num_to_alloc; if (!(yy_buffer_stack)) { /* First allocation is just for 2 elements, since we don't know if this * scanner will even need a stack. We use 2 instead of 1 to avoid an * immediate realloc on the next call. */ num_to_alloc = 1; (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc (num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) YY_FATAL_ERROR( "out of dynamic memory in <API key>()" ); memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); (yy_buffer_stack_max) = num_to_alloc; (yy_buffer_stack_top) = 0; return; } if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ /* Increase the buffer to prepare for a possible push. */ int grow_size = 8 /* arbitrary grow size */; num_to_alloc = (yy_buffer_stack_max) + grow_size; (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc ((yy_buffer_stack), num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) YY_FATAL_ERROR( "out of dynamic memory in <API key>()" ); /* zero only the new slots.*/ memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); (yy_buffer_stack_max) = num_to_alloc; } } void yyFlexLexer::yy_push_state( int new_state ) { if ( (yy_start_stack_ptr) >= (<API key>) ) { yy_size_t new_size; (<API key>) += YY_START_STACK_INCR; new_size = (<API key>) * sizeof( int ); if ( ! (yy_start_stack) ) (yy_start_stack) = (int *) yyalloc(new_size ); else (yy_start_stack) = (int *) yyrealloc((void *) (yy_start_stack),new_size ); if ( ! (yy_start_stack) ) YY_FATAL_ERROR( "out of memory expanding start-condition stack" ); } (yy_start_stack)[(yy_start_stack_ptr)++] = YY_START; BEGIN(new_state); } void yyFlexLexer::yy_pop_state() { if ( --(yy_start_stack_ptr) < 0 ) YY_FATAL_ERROR( "start-condition stack underflow" ); BEGIN((yy_start_stack)[(yy_start_stack_ptr)]); } int yyFlexLexer::yy_top_state() { return (yy_start_stack)[(yy_start_stack_ptr) - 1]; } #ifndef YY_EXIT_FAILURE #define YY_EXIT_FAILURE 2 #endif void yyFlexLexer::LexerError( yyconst char msg[] ) { std::cerr << msg << std::endl; exit( YY_EXIT_FAILURE ); } /* Redefine yyless() so it works in section 3 code. */ #undef yyless #define yyless(n) \ do \ { \ /* Undo effects of setting up yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ yytext[yyleng] = (yy_hold_char); \ (yy_c_buf_p) = yytext + yyless_macro_arg; \ (yy_hold_char) = *(yy_c_buf_p); \ *(yy_c_buf_p) = '\0'; \ yyleng = yyless_macro_arg; \ } \ while ( 0 ) /* Accessor methods (get/set functions) to struct members. */ /* * Internal utility routines. */ #ifndef yytext_ptr static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) { register int i; for ( i = 0; i < n; ++i ) s1[i] = s2[i]; } #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * s ) { register int n; for ( n = 0; s[n]; ++n ) ; return n; } #endif void *yyalloc (yy_size_t size ) { return (void *) malloc( size ); } void *yyrealloc (void * ptr, yy_size_t size ) { /* The cast to (char *) in the following accommodates both * implementations that use char* generic pointers, and those * that use void* generic pointers. It works with the latter * because both ANSI C and C++ allow castless assignment from * any pointer type to void*, and deal with argument conversions * as though doing an assignment. */ return (void *) realloc( (char *) ptr, size ); } void yyfree (void * ptr ) { free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ } #define YYTABLES_NAME "yytables"
// define integer data types used by LAMMPS and associated size limits // smallint = variables for on-procesor system (nlocal, nmax, etc) // tagint = variables for atom IDs (tag) // bigint = variables for total system (natoms, ntimestep, etc) // smallint must be an int, as defined by C compiler // tagint can be 32-bit or 64-bit int, must be >= smallint // bigint can be 32-bit or 64-bit int, must be >= tagint // MPI_LMP_TAGINT = MPI data type corresponding to a tagint // MPI_LMP_BIGINT = MPI data type corresponding to a bigint #ifndef LMP_LMPTYPE_H #define LMP_LMPTYPE_H #define __STDC_LIMIT_MACROS #define <API key> #include "limits.h" #include "stdint.h" #include "inttypes.h" // grrr - IBM Power6 does not provide this def in their system header files #ifndef PRId64 #define PRId64 "ld" #endif namespace LAMMPS_NS { // reserve 2 hi bits in molecular system neigh list for special bonds flag // max local + ghost atoms per processor = 2^30 - 1 #define SBBITS 30 #define NEIGHMASK 0x3FFFFFFF // default to 32-bit smallint and tagint, 64-bit bigint #if !defined(LAMMPS_SMALLSMALL) && !defined(LAMMPS_BIGBIG) #define LAMMPS_SMALLBIG #endif // allow user override of LONGLONG to LONG, necessary for some machines/MPI #ifdef <API key> #define MPI_LL MPI_LONG #define ATOLL atoll #else #define MPI_LL MPI_LONG_LONG #define ATOLL atol #endif // for atomic problems that exceed 2 billion (2^31) atoms // 32-bit smallint and tagint, 64-bit bigint #ifdef LAMMPS_SMALLBIG typedef int smallint; typedef int tagint; typedef int64_t bigint; #define MAXSMALLINT INT_MAX #define MAXTAGINT INT_MAX #define MAXBIGINT INT64_MAX #define MPI_LMP_TAGINT MPI_INT #define MPI_LMP_BIGINT MPI_LL #define TAGINT_FORMAT "%d" #define BIGINT_FORMAT "%" PRId64 #define ATOTAGINT atoi #define ATOBIGINT ATOLL #endif // for molecular problems that exceed 2 billion (2^31) atoms // 32-bit smallint, 64-bit tagint and bigint #ifdef LAMMPS_BIGBIG typedef int smallint; typedef int64_t tagint; typedef int64_t bigint; #define MAXSMALLINT INT_MAX #define MAXTAGINT INT64_MAX #define MAXBIGINT INT64_MAX #define MPI_LMP_TAGINT MPI_LL #define MPI_LMP_BIGINT MPI_LL #define TAGINT_FORMAT "%" PRId64 #define BIGINT_FORMAT "%" PRId64 #define ATOTAGINT ATOLL #define ATOBIGINT ATOLL #endif // for machines that do not support 64-bit ints // 32-bit smallint and tagint and bigint #ifdef LAMMPS_SMALLSMALL typedef int smallint; typedef int tagint; typedef int bigint; #define MAXSMALLINT INT_MAX #define MAXTAGINT INT_MAX #define MAXBIGINT INT_MAX #define MPI_LMP_TAGINT MPI_INT #define MPI_LMP_BIGINT MPI_INT #define TAGINT_FORMAT "%d" #define BIGINT_FORMAT "%d" #define ATOTAGINT atoi #define ATOBIGINT atoi #endif } // settings to enable LAMMPS to build under Windows #ifdef _WIN32 #include "lmpwindows.h" #endif #endif
<?xml version="1.0" ?> <!DOCTYPE html PUBLIC "- <html xmlns="http: <head> <title>UsedCongestAvoid.seq - Increase cwnd by MTU when partial_bytes_acked is equal to or greater than cwnd</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <link rev="made" href="mailto:root@localhost" /> </head> <body style="background-color: white"> <p><a name="__index__"></a></p> <!-- INDEX BEGIN --> <! <ul> <li><a href="#name">NAME</a></li> <li><a href="#purpose">PURPOSE</a></li> <li><a href="#synopsis">SYNOPSIS</a></li> <li><a href="#pretest_condition">PRE-TEST CONDITION</a></li> <li><a href="#test_procedure">TEST PROCEDURE</a></li> <li><a href="#note">NOTE</a></li> <li><a href="#reference">REFERENCE</a></li> </ul> <!-- INDEX END --> <p> </p> <h1><a name="name">NAME</a></h1> <pre> UsedCongestAvoid.seq - Increase cwnd by MTU when partial_bytes_acked is equal to or greater than cwnd</pre> <p> </p> <hr /> <h1><a name="purpose">PURPOSE</a></h1> <pre> To verify that When partial_bytes_acked is equal to or greater than cwnd and before the arrival of the SACK the sender had cwnd or more bytes of data outstanding (i.e., before arrival of the SACK, flightsize was greater than or equal to cwnd), increase cwnd by MTU, and reset partial_bytes_acked to (partial_bytes_acked - cwnd).</pre> <p> </p> <hr /> <h1><a name="synopsis">SYNOPSIS</a></h1> <PRE> <A HREF="./UsedCongestAvoid.seq">./UsedCongestAvoid.seq</A> [-tooloption ...] -pkt <A HREF="./UsedCongestAvoid.def">./UsedCongestAvoid.def</A> -tooloption : v6eval tool option See Also: <A HREF="../common/STD_PKT_COMMON.def">../common/STD_PKT_COMMON.def</A> <A HREF="../common/SCTP_COMMON.def">../common/SCTP_COMMON.def</A> </PRE><p> </p> <hr /> <h1><a name="pretest_condition">PRE-TEST CONDITION</a></h1> <pre> Association is established between endpoint A and B. Arrange data in endpoint B such that messages is sent to endpoint A.</pre> <p> </p> <hr /> <h1><a name="test_procedure">TEST PROCEDURE</a></h1> <pre> Endpoint A Endpoint B ULP (ESTABLISHED) (ESTABLISHED) &lt; &lt; Don't Send SACK &lt; Don't Send SACK &lt; Don't Send SACK &lt; <pre> SACK (For DATA 1) &lt; Don't Send SACK &lt; Don't Send SACK SACK (For DATA 1 and DATA 2) SACK (For DATA 1 and DATA 3, report DATA 2 is missing) SACK (For DATA 1, DATA 3 and DATA 4, report DATA 2 is missing) SACK (For DATA 1, DATA 3 to DATA 5, report DATA 2 is missing) &lt; &lt; SACK (For all DATAs) DATA <pre> &lt; <pre> &lt; Don't Send SACK &lt; Don't Send SACK &lt; Don't Send SACK &lt; Don't Send SACK &lt; <pre> SACK (For DATA 1 and DATA2) DATA <pre> &lt; <pre> &lt; <pre> &lt; <pre> SACK (For all DATAs) &lt; Don't Send SACK &lt; Don't Send SACK &lt; Don't Send SACK &lt; Don't Send SACK &lt; Don't Send SACK &lt; <pre> SACK (For DATA 1) DATA <pre> &lt; <pre> &lt; <pre> SACK (For all DATAs) &lt; Don't Send SACK &lt; Don't Send SACK &lt; Don't Send SACK &lt; Don't Send SACK &lt; Don't Send SACK &lt; Don't Send SACK &lt; <pre> SACK (For all DATAs)</pre> <pre> TEST DESCRIPTION:</pre> <pre> 1. Check A: the initial cwnd before DATA transmission is set to 4380. 2. From endpoint B, send valid DATA message 4 times to endpoint A, when there is association between them. 3. From endpoint A, send SACK of the first DATA message to endpoint B. 4. Check B: Congestion control window is increased by DATA size. 5. From endpoint A, receive DATA message 2 times. 6. From endpoint A, send SACK of the 1st, 3rd DATA messages to endpoint B, report the 2nd message is missing. 7. From endpoint A, send SACK of the 1st, 3rd and 4th DATA messages to endpoint B, report the 2nd message is missing. 8. From endpoint A, send SACK of the 1st, 3rd to 5th DATA messages to endpoint B, report the 2nd message is missing. 9. Check C: The 2nd DATA messages is send again immediately. 10.Check D: Congestion control window is 6000 now. 11.Send SACK of all DATA to endpoint B. 12.From endpoint A, Send DATA message to endpoint and receive SACK. 13.From endpoint A, receive DATA message 5 times. 14.Send SACK of first two messages. 15.Check E: Congestion control window is 7500 now. 16.From endpoint A, Send DATA message to endpoint and receive SACK. 17.Receive DATA message 2 times and send SACK of above DATA messages. 18.From endpoint A, receive DATA message 6 times. 19.Send SACK of first DATA messages, Send DATA message to endpoint and receive SACK. 20.From endpoint A, receive DATA message 1 times and send SACK of above DATA messages. 21.Check E: Congestion control window is 9000 now. 22.From endpoint A, receive DATA message 7 times. 23.Send SACK of all the above DATA messages. 21.Check F: Congestion control window is 10500 now.</pre> <p> </p> <hr /> <h1><a name="note">NOTE</a></h1> <pre> None</pre> <p> </p> <hr /> <h1><a name="reference">REFERENCE</a></h1> <pre> RFC 4960</pre> <pre> 7.2.2. Congestion Avoidance</pre> <pre> When cwnd is greater than ssthresh, cwnd should be incremented by 1*MTU per RTT if the sender has cwnd or more bytes of data outstanding for the corresponding transport address.</pre> <pre> In practice, an implementation can achieve this goal in the following way:</pre> <pre> o partial_bytes_acked is initialized to 0.</pre> <pre> o Whenever cwnd is greater than ssthresh, upon each SACK arrival that advances the Cumulative TSN Ack Point, increase partial_bytes_acked by the total number of bytes of all new chunks acknowledged in that SACK including chunks acknowledged by the new Cumulative TSN Ack and by Gap Ack Blocks.</pre> <PRE> <B>o When partial_bytes_acked is equal to or greater than cwnd and before the arrival of the SACK the sender had cwnd or more bytes of data outstanding (i.e., before arrival of the SACK, flightsize was greater than or equal to cwnd), increase cwnd by MTU, and reset partial_bytes_acked to (partial_bytes_acked - cwnd).</B> </PRE><pre> o Same as in the slow start, when the sender does not transmit DATA on a given transport address, the cwnd of the transport address should be adjusted to max(cwnd / 2, 4*MTU) per RTO.</pre> <pre> o When all of the data transmitted by the sender has been acknowledged by the receiver, partial_bytes_acked is initialized to 0.</pre> </body> </html>
package ExtUtils::XSpp::Node::Method; use strict; use warnings; use base 'ExtUtils::XSpp::Node::Function'; =head1 NAME ExtUtils::XSpp::Node::Method - Node representing a method =head1 DESCRIPTION An L<ExtUtils::XSpp::Node::Function> sub-class representing a single method declaration in a class such as class FooBar { int foo(double someArgument); // <-- this one } =head1 METHODS =head2 new Creates a new C<ExtUtils::XSpp::Node::Method>. Most of the functionality of this class is inherited. This means that all named parameters of L<ExtUtils::XSpp::Node::Function> are also valid for this class. Additional named parameters accepted by the constructor: C<class>, which can be an L<ExtUtils::XSpp::Node::Class> object, C<const> and C<virtual> that are true if the method has been declared C<const> or C<virtual>. =cut sub init { my $this = shift; my %args = @_; $this->SUPER::init( %args ); $this->{CLASS} = $args{class}; $this->{CONST} = $args{const}; $this->{VIRTUAL} = $args{virtual}; } =head2 perl_function_name Returns the name of the Perl function (method) that this method represents. It is constructed from the method's class's name and the C<perl_name> attribute. =cut sub perl_function_name { my( $self ) = @_; if( $self->package_static ) { return $self->perl_name; } else { return $self->class->cpp_name . '::' . $self->perl_name; } } sub _call_code { my( $self, $arg_string ) = @_; return $self->_call_code_aliased($self->cpp_name, $arg_string); } sub _call_code_aliased { my( $self, $alias_name, $arg_string ) = @_; if( $self->package_static ) { return $self->class->cpp_name . '::' . $alias_name . '(' . $arg_string . ')'; } else { return "THIS->" . $alias_name . '(' . $arg_string . ')'; } } =head2 is_method Returns true, since all objects of this class are methods. =cut sub is_method { 1 } =head2 ACCESSORS =head2 class Returns the class (L<ExtUtils::XSpp::Node::Class>) that the method belongs to. =head2 virtual Returns whether the method was declared virtual. =head2 set_virtual Set whether the method is to be considered virtual. =head2 const Returns whether the method was declared const. =head2 access Returns C<'public'>, C<'protected'> or C<'private'> depending on method access declaration. By default, only public methods are generated. =cut sub class { $_[0]->{CLASS} } sub virtual { $_[0]->{VIRTUAL} } sub set_virtual { $_[0]->{VIRTUAL} = $_[1] } sub const { $_[0]->{CONST} } sub access { $_[0]->{ACCESS} } sub set_access { $_[0]->{ACCESS} = $_[1] } 1;
# This program is free software; you can redistribute it and/or modify # (at your option) any later version. # This program is distributed in the hope that it will be useful, # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA """Bisection lookup multiple keys.""" from __future__ import absolute_import __all__ = [ 'bisect_multi_bytes', ] def bisect_multi_bytes(content_lookup, size, keys): """Perform bisection lookups for keys using byte based addressing. The keys are looked up via the content_lookup routine. The content_lookup routine gives bisect_multi_bytes information about where to keep looking up to find the data for the key, and bisect_multi_bytes feeds this back into the lookup function until the search is complete. The search is complete when the list of keys which have returned something other than -1 or +1 is empty. Keys which are not found are not returned to the caller. :param content_lookup: A callable that takes a list of (offset, key) pairs and returns a list of result tuples ((offset, key), result). Each result can be one of: -1: The key comes earlier in the content. False: The key is not present in the content. +1: The key comes later in the content. Any other value: A final result to return to the caller. :param size: The length of the content. :param keys: The keys to bisect for. :return: An iterator of the results. """ # possibly make this a generator, but a list meets the contract for now. result = [] delta = size search_keys = [(delta, key) for key in keys] while search_keys: search_results = content_lookup(search_keys) if delta > 1: delta = delta search_keys = [] for (location, key), status in search_results: if status == -1: search_keys.append((location - delta, key)) elif status == 1: search_keys.append((location + delta, key)) elif status == False: # not present, stop searching continue else: result.append((key, status)) return result
<div class="<API key> text-center"> <i ng-show="row.entity.locked === 1" class="fa fa-lock"></i> </div>';
function showOpenseadragon(id, data){ console.log("data:", data) //$.get(data.image_url.scheme + "://" + data.image_url.authority + data.image_url.path + "/info.json", function(infojson){ // this change is due to some odd change, possible in the RDF library, such that .scheme, .authority, //and .path are not longer being returned but only value $.get(data.image_url.value + "/info.json", function(infojson){ infojson["tiles"] = [{"scaleFactors": [1, 2, 4, 8], "width": 300}] var viewer = OpenSeadragon({ id: "openseadragon-" + id, prefixUrl: "/openseadragon/images/", preserveViewport: true, visibilityRatio: 1, minZoomLevel: 1, defaultZoomLevel: 1, tileSources: [infojson] }); viewer.addHandler("open", function() { console.log(data); var rect = new OpenSeadragon.Rect(data.xcomp, data.ycomp, data.widthcomp, data.heightcomp) var myBounds = viewer.viewport.fitBounds(rect, false); //this helps to keep the viewer in the same spot when toggling full screen viewer.preserveViewport = true; /* this resets the home tool tip to the rectangle focused on i'm not sure what contentSize.x does -- but it's important for this reset of home to work correctly this below line kind of works, but it prevents someone from being able to move around and navigate away from Home. */ viewer.viewport.setHomeBounds(rect, viewer.viewport.contentSize.x); }); }); } //like above image_url should be replaced with "data" which contains the image url; data results from a previous call to a manifest which finds the canvas and gets the desire image url function <API key>(id, data){ $.get(data.image_url + "/info.json", function(infojson){ infojson["tiles"] = [{"scaleFactors": [1, 2, 4, 8], "width": 300}] var viewer = OpenSeadragon({ id: "openseadragon-" + id, prefixUrl: "/openseadragon/images/", preserveViewport: true, visibilityRatio: 1, minZoomLevel: 1, defaultZoomLevel: 1, tileSources: [infojson] }); console.log(viewer); }); }
<html> <head><title>w3m manual</title> </head> <body> <h1>w3m ¥Þ¥Ë¥å¥¢¥ë</h1> <div align=right> °ËÆ£ ¾´Â§<br> aito@fw.ipsj.or.jp </div> <h2>¤â¤¯¤¸</h2> <menu> <li><a href=" <li><a href=" <li><a href=" <li><a href=" <li><a href=" <li><a href=" <li><a href=" <li><a href="#LocalCGI">Local CGI</a> </menu> <hr> <a name="Introduction"></a> <h2>¤Ï¤¸¤á¤Ë</h2> w3m ¤Ï¡¤¥Æ¥­¥¹¥È¥Ù¡¼¥¹¤Î¥Ú¡¼¥¸¥ã/WWW¥Ö¥é¥¦¥¶¤Ç¤¹¡¥¤³¤ì¤ò»È¤¦¤È¡¤kterm ¤Ê¤É¤Î¥­¥ã¥é¥¯¥¿ üËö¾å¤Ç¡¤¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¤ò¸«¤¿¤ê¡¤WWW¤ÎÆâÍÆ¤ò¸«¤¿¤ê¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡¥ <hr> <a name="Options"></a> <h2>µ¯Æ°¥ª¥×¥·¥ç¥ó</h2> µ¯Æ°»þ¤Î°ú¿ô¤Ï¼¡¤ÎÄ̤ê¤Ç¤¹¡¥ <p> <pre> w3m [options] [file|URL] </pre> <P> °ú¿ô¤Ë¥Õ¥¡¥¤¥ë̾¤ò»ØÄꤹ¤ì¤Ð¤½¤Î¥Õ¥¡¥¤¥ë¤òɽ¼¨¤·¡¤URL¤ò»ØÄꤹ¤ì¤Ð¤½¤ÎÆâÍÆ¤òɽ¼¨¤·¤Þ¤¹¡¥ ²¿¤â»ØÄꤷ¤Ê¤±¤ì¤Ð¡¤É¸½àÆþÎÏ¤ÎÆâÍÆ¤òɽ¼¨¤·¤Þ¤¹¡¥¤¿¤À¤·¡¤É¸½àÆþÎϤ¬ tty ¤Ç¤¢¤ë¾ì¹ç¤Ë¤Ï¡¤ ²¿¤â¤»¤º¤Ë½ªÎ»¤·¤Þ¤¹¡¥ <p> ¥ª¥×¥·¥ç¥ó¤Ï¼¡¤ÎÄ̤ê¤Ç¤¹¡¥ <dl> <dt>+ÈÖ¹æ <dd>µ¯Æ°¸å¡¤»ØÄê¤Î¹ÔÈÖ¹æ¤Ë°Üư¤¹¤ë¡¥ <dt>-t Éý <dd>¥¿¥Ö¤ÎÉý¤ò»ØÄꤹ¤ë¡¥¥Ç¥Õ¥©¥ë¥È¤Ï 8 ¡¥ <dt>-r <dd>text/plain ¤Îʸ½ñ¤òɽ¼¨¤¹¤ë¾ì¹ç¡¤½Å¤ÍÂǤÁ¤Ë¤è¤ë¶¯Ä´Ê¸»ú¤òɽ¼¨¤·¤Ê¤¤¡¥ ¤³¤Î¥ª¥×¥·¥ç¥ó¤òÉÕ¤±¤Ê¤¤¾ì¹ç¡¤``A^H_''¤ÏA¤Î¥¢¥ó¥À¡¼¥é¥¤¥ó¤È¤·¤ÆÉ½¼¨¤µ¤ì¡¤ ``A^HA''¤ÏA¤Î¥Ü¡¼¥ë¥É¤È¤·¤ÆÉ½¼¨¤µ¤ì¤ë¡¥ <dt>-l ¹Ô¿ô <dd>ɸ½àÆþÎÏ¤ÎÆâÍÆ¤òɽ¼¨¤¹¤ë¤È¤­¤ËÊݸ¤µ¤ì¤ëºÇÂç¹Ô¿ô¤ò»ØÄꤹ ¤ë¡¥¥Ç¥Õ¥©¥ë¥È¤Ï 10000¡¥ <dt>-s <dd>Shift_JIS ¥³¡¼¥É¤Çɽ¼¨¤¹¤ë¡¥ <dt>-e <dd>EUC ¥³¡¼¥É¤Çɽ¼¨¤¹¤ë¡¥ <dt>-j <dd>JIS(ISO-2022-JP) ¥³¡¼¥É¤Çɽ¼¨¤¹¤ë¡¥ <dt>-O e|s|j|N|m|n <dd>ɽ¼¨¤ËÍѤ¤¤ëʸ»ú¥³¡¼¥É¤ò»ØÄꤹ¤ë¡¥ <dt>-I e|s <dd>ÆþÎÏʸ½ñ¤Îʸ»ú¥³¡¼¥É¤ò»ØÄꤹ¤ë¡¥ <dt>-T ¥¿¥¤¥× <dd>ɽ¼¨¤¹¤ëʸ½ñ¤Î¥¿¥¤¥×¤ò»ØÄꤹ¤ë¡¥¤³¤Î»ØÄ꤬¤Ê¤¤¾ì¹ç¡¤¥Õ¥¡¥¤¥ë ̾¤Î³ÈÄ¥»Ò¤Ë¤è¤Ã¤Æ¼«Æ°È½Ê̤µ¤ì¤ë¡¥È½Ê̤Ǥ­¤Ê¤¤¾ì¹ç¤Ï text/plain ¤È¤ß¤Ê¤µ¤ì¤ë¡¥<p> Îã¡§<br> ɸ½àÆþÎϤ«¤é HTML ¥Õ¥¡¥¤¥ë¤òÆÉ¤ó¤Çɽ¼¨¤¹¤ë <pre> cat hoge.html | w3m -T text/html </pre> <p> HTML¥Õ¥¡¥¤¥ë¤Î¥½¡¼¥¹¤òɽ¼¨¤¹¤ë <pre> w3m -T text/plain hoge.html </pre> <dt>-m <dd>Internet message ¥â¡¼¥É¤Çɽ¼¨¤¹¤ë¡¥Internet message¥â¡¼¥É¤Î¾ì¹ç¡¤ ¥Ø¥Ã¥À¤ÎÆâÍÆ¤ò¸«¤Æ¡¤Content-Type: ¤¬¤¢¤ì¤Ð¤½¤ì¤ò»²¹Í¤Ë¤¹¤ë¡¥ÅŻҥ᡼¥ë¤ä ¥Í¥Ã¥È¥Ë¥å¡¼¥¹¤Îµ­»ö¤òÆÉ¤à¤È¤­¤ËÊØÍø¡¥ <dt>-v <dd>¥¹¥¿¡¼¥È¥¢¥Ã¥×¥Ú¡¼¥¸¤òɽ¼¨¤¹¤ë¡¥ <dt>-B <dd>Bookmark ¤òɽ¼¨¤¹¤ë¡¥ <dt>-bookmark file <dd>Bookmark¤Î¥Õ¥¡¥¤¥ë¤ò»ØÄꤹ¤ë¡¥ <dt>-M <dd>¥«¥é¡¼É½¼¨¤ò¤·¤Ê¤¤¡¥ <dt>-F <dd>¥Õ¥ì¡¼¥à¤ò¼«Æ°É½¼¨¤¹¤ë¡¥ <dt>-S <dd>Ϣ³¤¹¤ë¶õ¹Ô¤ò1¹Ô¤Ë¤Þ¤È¤á¤ÆÉ½¼¨¤¹¤ë¡¥ <dt>-X <dd>w3m½ªÎ»»þ¤Ë¡¤°ÊÁ°¤Î²èÌ̤ËÌá¤é¤Ê¤¤¡¥ <dt>-W <dd>ÀÞ¤êÊÖ¤·¥µ¡¼¥Á¤ò»È¤¦¤«¤É¤¦¤«¤òÀڤ꤫¤¨¤ë¡¥ <dt>-o option=value <dd>¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¡¥ ¥ª¥×¥·¥ç¥ó¤Î̾Á°¤äÃͤϡ¤~/.w3m/config ¤Ç»ØÄꤹ¤ë¤â¤Î¤ÈƱ¤¸¡¥ <dt>-no-proxy <dd>¥×¥í¥­¥·¤òÍøÍѤ·¤Ê¤¤¡¥ <dt>-no-mouse <dd>¥Þ¥¦¥¹¤òÍøÍѤ·¤Ê¤¤¡¥ <dt>-cookie <dd>¥¯¥Ã¥­¡¼¤ò½èÍý¤¹¤ë¡¥ <dt>-no-cookie <dd>¥¯¥Ã¥­¡¼¤ò½èÍý¤·¤Ê¤¤¡¥ <dt>-num <dd>¹ÔÈÖ¹æ¤òɽ¼¨¤¹¤ë¡¥ <dt>-dump <dd>URL¤ÎÆâÍÆ¤òÆÉ¤ß¤³¤ß¡¤À°·Á¤µ¤ì¤¿¥Ð¥Ã¥Õ¥¡¤ÎÆâÍÆ¤òɸ½à½ÐÎϤ˽ñ¤­½Ð¤¹¡¥ ʸ½ñ¤ÎÉý¤Ï80·å¤È²¾Äꤵ¤ì¤ë¡¥¤³¤ÎÉý¤Ï¡¤¼¡¤Î -cols ¥ª¥×¥·¥ç¥ó¤ÇÊѹ¹²Äǽ¡¥ <dt>-cols Éý <dd>-dump ¥ª¥×¥·¥ç¥ó¤ò»È¤¦¾ì¹ç¤Ë¡¤Ê¸½ñ¤ÎÉý¤ò»ØÄꤹ¤ë¡¥ <dt>-ppc ¥Ô¥¯¥»¥ë¿ô <dd>ʸ»ú¤ÎÉý¤ò»ØÄꤹ¤ë¡¥¥Ç¥Õ¥©¥ë¥È¤Ï¥¦¥¤¥ó¥É¥¦¤ÎÂ礭¤µ¤«¤é¼«Æ°Åª¤Ë·×»»¤¹¤ë¡¥ <dt>-ppl ¥Ô¥¯¥»¥ë¿ô <dd>ʸ»ú¤Î½ÄÉý¤ò»ØÄꤹ¤ë¡¥¥Ç¥Õ¥©¥ë¥È¤Ï¥¦¥¤¥ó¥É¥¦¤ÎÂ礭¤µ¤«¤é¼«Æ°Åª¤Ë·×»»¤¹¤ë¡¥ <dt>-dump_source <dd>URL¤ÎÆâÍÆ¤òÆÉ¤ß¤³¤ß¡¤À°·Á¤»¤º¤Ëɸ½à½ÐÎϤ˽ñ¤­½Ð¤¹¡¥ ´Á»ú¥³¡¼¥ÉÊÑ´¹¤â¤µ¤ì¤Ê¤¤¡¥ <dt>-dump_head <dd>URL¤Ë¥¢¥¯¥»¥¹¤·¡¤¥Ø¥Ã¥À¾ðÊó¤ò½ÐÎϤ¹¤ë¡¥ <dt>-dump_both <dd>URL¤Ë¥¢¥¯¥»¥¹¤·¡¤¥Ø¥Ã¥À¾ðÊó¤ÈHTML¥½¡¼¥¹¤ò½ÐÎϤ¹¤ë¡¥ <dt>-dump_extra <dd>URL¤Ë¥¢¥¯¥»¥¹¤·¡¤³ÈÄ¥¾ðÊó¤È¥Ø¥Ã¥À¾ðÊó¤ÈHTML¥½¡¼¥¹¤ò½ÐÎϤ¹¤ë¡¥ <dt>-post file <dd>¥Õ¥¡¥¤¥ë¤ÎÆâÍÆ¤òPOST¤¹¤ë¡¥ <dt>-header string <dd>HTTPÍ×µá¥Ø¥Ã¥À¤òÄɲ乤롥 <dt>-config file <dd>config¤Î¥Õ¥¡¥¤¥ë¤ò»ØÄꤹ¤ë¡¥ </dl> <hr> <a name="Color"></a> <h2>ʸ½ñ¤Îɽ¼¨ÆâÍÆ</h2> HTMLʸ½ñ¤òɽ¼¨¤·¤Æ¤¤¤ë¤È¤­¤Ë¤Ï¡¤¼¡¤Î¤è¤¦¤Êɽ¼¨¤Ë¤Ê¤ê¤Þ¤¹¡¥ <div align="center"> <table border="1"> <tr><th></th><th>¥«¥é¡¼É½¼¨»þ</th><th>Çò¹õɽ¼¨»þ</th></tr> <tr><td>¥ê¥ó¥¯</td><td>ÀÄ¿§</td><td>²¼Àþ</td></tr> <tr><td>¥¤¥ó¥é¥¤¥ó²èÁü</td><td>Îп§</td><td>ȿžɽ¼¨</td></tr> <tr><td>FORM¤ÎÆþÎÏÉôʬ</td><td>ÀÖ¿§</td><td>ȿžɽ¼¨</td></tr> </table> </div> ¥«¥é¡¼É½¼¨»þ¤Î¿§¤Ï¡¤¥ª¥×¥·¥ç¥óÀßÄê¥Ñ¥Í¥ë "o" ¤ÇÊѹ¹¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡¥ <hr> <a name="Key:orig"></a> <h2>µ¯Æ°¸å¤Î»È¤¤¤«¤¿(¥ª¥ê¥¸¥Ê¥ë)</h2> µ¯Æ°¤·¤¿¸å¤Ï¡¤1ʸ»ú¤Î¥³¥Þ¥ó¥É¤ò¥­¡¼¥Ü¡¼¥É¤«¤éÆþÎϤ¹¤ë¤³¤È¤Çw3m¤òÁàºî¤·¤Þ¤¹¡¥ ¥³¥Þ¥ó¥É¤Ë¤Ï¼¡¤Î¤è¤¦¤Ê¤â¤Î¤¬¤¢¤ê¤Þ¤¹¡¥°Ê²¼¤Îµ­½Ò¤Ç¤Ï¡¤C-x ¤Ï¥³¥ó¥È¥í¡¼¥ëx ¤òɽ¤·¤Þ¤¹¡¥¤Þ¤¿¡¤SPC ¤Ï¥¹¥Ú¡¼¥¹¥Ð¡¼¡¤RET ¤Ï¥ê¥¿¡¼¥ó¥­¡¼¡¤ESC ¤Ï¥¨¥¹¥±¡¼¥×¥­¡¼¤Ç¤¹¡¥ <P> ¤³¤³¤Ç½ñ¤¤¤Æ¤¢¤ë¤Î¤Ï¡¤¥ª¥ê¥¸¥Ê¥ëÈǤΥ­¡¼Áàºî¤Ç¤¹¡¥LynxÉ÷¤Î¥­¡¼ÁàºîÍÑ¤Ë ¥³¥ó¥Ñ¥¤¥ë¤·¤Æ¤¢¤ë¤â¤Î¤Ë¤Ä¤¤¤Æ¤Ï¡¤<a href=" ¤ò¤´¤é¤ó¤¯¤À¤µ¤¤¡¥ <H3>¥Ú¡¼¥¸/¥«¡¼¥½¥ë°Üư</H3> <table> <TR><TD>SPC,C-v<TD>¼¡¤Î¥Ú¡¼¥¸¤òɽ¼¨¤·¤Þ¤¹¡¥ <TR><TD>b,ESC v<TD>Á°¤Î¥Ú¡¼¥¸¤òɽ¼¨¤·¤Þ¤¹¡¥ <TR><TD>l,C-f,±¦Ìð°õ¥­¡¼<TD>¥«¡¼¥½¥ë¤ò±¦¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>h,C-b,º¸Ìð°õ¥­¡¼<TD>¥«¡¼¥½¥ë¤òº¸¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>j,C-n,²¼Ìð°õ¥­¡¼<TD>¥«¡¼¥½¥ë¤ò²¼¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>k,C-p,¾åÌð°õ¥­¡¼<TD>¥«¡¼¥½¥ë¤ò¾å¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>J<TD>²èÌ̤ò1¹Ô¾å¤Ë¥¹¥¯¥í¡¼¥ë¤·¤Þ¤¹¡¥ <TR><TD>K<TD>²èÌ̤ò1¹Ô²¼¤Ë¥¹¥¯¥í¡¼¥ë¤·¤Þ¤¹¡¥ <TR><TD>^,C-a<TD>¹ÔƬ¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>$,C-e<TD>¹ÔËö¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>w<TD>¼¡¤Îñ¸ì¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>W<TD>Á°¤Îñ¸ì¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>&gt;<TD>²èÌÌÁ´ÂΤò±¦¤Ë¤º¤é¤·¤Þ¤¹¡¥(ɽ¼¨ÆâÍÆ¤òº¸¤Ë¤º¤é¤¹) <TR><TD>&lt;<TD>²èÌÌÁ´ÂΤòº¸¤Ë¤º¤é¤·¤Þ¤¹¡¥(ɽ¼¨ÆâÍÆ¤ò±¦¤Ë¤º¤é¤¹) <TR><TD>.<TD>²èÌÌÁ´ÂΤò1ʸ»ú±¦¤Ë¤º¤é¤·¤Þ¤¹¡¥(ɽ¼¨ÆâÍÆ¤òº¸¤Ë¤º¤é¤¹) <TR><TD>,<TD>²èÌÌÁ´ÂΤò1ʸ»úº¸¤Ë¤º¤é¤·¤Þ¤¹¡¥(ɽ¼¨ÆâÍÆ¤ò±¦¤Ë¤º¤é¤¹) <TR><TD>g,M-&lt;<TD>ʸ½ñ¤Î¤¤¤Á¤Ð¤ó¾å¤Î¹Ô¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>G,M-&gt;<TD>ʸ½ñ¤Î¤¤¤Á¤Ð¤ó²¼¤Î¹Ô¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>ESC g<TD>²èÌ̲¼¤Ç¹ÔÈÖ¹æ¤òÆþÎϤ·¡¤¤½¤³¤Ç»ØÄꤷ¤¿¹Ô¤Ë°Üư¤·¤Þ¤¹¡¥ ¤³¤³¤Ç $ ¤òÆþÎϤ¹¤ë¤È¡¤ºÇ½ª¹Ô¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>Z<TD>¥«¡¼¥½¥ë¤Î¤¢¤ë°ÌÃÖ¤ò¹Ô¤ÎÃæ±û¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>z<TD>¥«¡¼¥½¥ë¤Î¤¢¤ë¹Ô¤ò²èÌ̤ÎÃæ±û¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>TAB<TD>¼¡¤Î¥ê¥ó¥¯¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>C-u, ESC TAB<TD>Á°¤Î¥ê¥ó¥¯¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>[<TD>ºÇ½é¤Î¥ê¥ó¥¯¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>]<TD>ºÇ¸å¤Î¥ê¥ó¥¯¤Ë°Üư¤·¤Þ¤¹¡¥ </table> <H3>¥Ï¥¤¥Ñ¡¼¥ê¥ó¥¯Áàºî</H3> <table> <TR><TD WIDTH=100>RET<TD>¸½ºß¥«¡¼¥½¥ë¤¬¤¢¤ë¥ê¥ó¥¯¤¬»Ø¤¹Àè¤Îʸ½ñ¤òÆÉ¤ß¤³¤ß¤Þ¤¹¡¥ <TR><TD>a, ESC RET<TD>¸½ºß¥«¡¼¥½¥ë¤¬¤¢¤ë¥ê¥ó¥¯¤¬»Ø¤¹Àè¤Îʸ½ñ¤ò¥Õ¥¡¥¤¥ë¤ËÊݸ¤·¤Þ¤¹¡¥ <TR><TD>u<TD>¸½ºß¥«¡¼¥½¥ë¤¬¤¢¤ë¥ê¥ó¥¯¤¬»Ø¤¹Àè¤ÎURL¤òɽ¼¨¤·¤Þ¤¹¡¥ <TR><TD>i<TD>¥ê¥ó¥¯¤Ë´ØÏ¢ÉÕ¤±¤é¤ì¤¿²èÁü¤Ø¤ÎURL¤Îɽ¼¨¤·¤Þ¤¹¡¥ <TR><TD>I<TD>¸½ºß¥«¡¼¥½¥ë¤¬¤¢¤ë¥ê¥ó¥¯¤ËÂбþ¤¹¤ë²èÁü¤òɽ¼¨¤·¤Þ¤¹¡¥ <TR><TD>ESC I<TD>¸½ºß¥«¡¼¥½¥ë¤¬¤¢¤ë¥ê¥ó¥¯¤¬»Ø¤¹ ²èÁü¤ò¥Õ¥¡¥¤¥ë¤ËÊݸ¤·¤Þ¤¹¡¥ <TR><TD>:<TD>URLÉ÷¤Îʸ»úÎó¤ò¥ê¥ó¥¯¤Ë¤·¤Þ¤¹¡¥¤³¤Îµ¡Ç½¤Ï¡¤HTML¤Ç¤Ê¤¤Ê¸½ñ¤ò ÆÉ¤ó¤Ç¤¤¤ë¤È¤­¤Ë¤âÍ­¸ú¤Ç¤¹¡¥ <TR><TD>ESC :<TD>Message-IDÉ÷¤Îʸ»úÎó¤ò¡¤news: ¤Î¥ê¥ó¥¯¤Ë¤·¤Þ¤¹¡¥¤³¤Îµ¡Ç½¤Ï¡¤HTML¤Ç¤Ê¤¤Ê¸½ñ¤ò ÆÉ¤ó¤Ç¤¤¤ë¤È¤­¤Ë¤âÍ­¸ú¤Ç¤¹¡¥ <TR><TD>c<TD>¸½ºß¤Îʸ½ñ¤ÎURL¤òɽ¼¨¤·¤Þ¤¹¡¥ <TR><TD>=<TD>¸½ºß¤Îʸ½ñ¤Ë´Ø¤¹¤ë¾ðÊó¤òɽ¼¨¤·¤Þ¤¹¡¥ <TR><TD>C-g<TD>¥Ú¡¼¥¸Ãæ¤Ç¤Î¸½ºß°ÌÃÖ¤òɽ¼¨¤·¤Þ¤¹¡¥ <TR><TD>C-h<TD>URLÍúÎò¤òɽ¼¨¤·¤Þ¤¹¡¥ <TR><TD>F<TD>&lt;FRAMESET&gt;¤ò´Þ¤àʸ½ñ¤òɽ¼¨¤·¤Æ¤¤¤ë¤È¤­¤Ë¡¤&lt;FRAME&gt; ¥¿¥°¤Î»Ø¤¹Ê£¿ô¤Îʸ½ñ¤ò1¤Ä¤Îʸ½ñ¤ËÊÑ´¹¤·¤ÆÉ½¼¨¤·¤Þ¤¹¡¥ <TR><TD>M<TD>¸½ºß¸«¤Æ¤¤¤ë¥Ú¡¼¥¸¤ò¡¤³°Éô¥Ö¥é¥¦¥¶¤ò»È¤Ã¤ÆÉ½¼¨¤·¤Þ¤¹¡¥ 2M, 3M ¤Ç2ÈÖÌܤÈ3ÈÖÌܤΥ֥饦¥¶¤ò»È¤¤¤Þ¤¹¡¥ <TR><TD>ESC M<TD>¸½ºß¤Î¥ê¥ó¥¯Àè¤ò¡¤³°Éô¥Ö¥é¥¦¥¶¤ò»È¤Ã¤ÆÉ½¼¨¤·¤Þ¤¹¡¥ 2ESC M, 3ESC M ¤Ç2ÈÖÌܤÈ3ÈÖÌܤΥ֥饦¥¶¤ò»È¤¤¤Þ¤¹¡¥ </table> <H3>¥Õ¥¡¥¤¥ë¤ÈURL´Ø·¸¤ÎÁàºî</H3> <table> <TR><TD WIDTH=100>U<TD>URL¤ò»ØÄꤷ¤Æ³«¤­¤Þ¤¹¡¥ <TR><TD>V<TD>¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¤ò»ØÄꤷ¤Æ³«¤­¤Þ¤¹¡¥ <TR><TD>@<TD>¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¡¤·ë²Ì¤òÁ´ÉôÆÉ¤ó¤Ç¤«¤éɽ¼¨¤·¤Þ¤¹¡¥ <TR><TD> </table> <H3>¥Ð¥Ã¥Õ¥¡Áàºî</H3> <table> <TR><TD WIDTH=100>B<TD>¸½ºß¸«¤Æ¤¤¤ë¥Ð¥Ã¥Õ¥¡¤òºï½ü¤·¡¤°ì¤ÄÁ°¤Î¥Ð¥Ã¥Õ¥¡¤òɽ¼¨¤·¤Þ¤¹¡¥ <TR><TD>v<TD>HTML¤Î¥½¡¼¥¹¤òɽ¼¨¤·¤Þ¤¹¡¥ <TR><TD>s<TD>¥Ð¥Ã¥Õ¥¡ÁªÂò¥â¡¼¥É¤ËÆþ¤ê¤Þ¤¹¡¥ <TR><TD>E<TD>¸½ºß¸«¤Æ¤¤¤ë¥Ð¥Ã¥Õ¥¡¤¬¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¤Î¾ì¹ç¡¤¤½¤Î¥Õ¥¡¥¤¥ë¤ò¥¨¥Ç¥£¥¿ ¤ÇÊÔ½¸¤·¤Þ¤¹¡¥¥¨¥Ç¥£¥¿¤ò½ªÎ»¤·¤¿¸å¡¤¤½¤Î¥Õ¥¡¥¤¥ë¤òºÆÅÙÆÉ¤ß¹þ¤ß¤Þ¤¹¡¥ <TR><TD>C-l<TD>²èÌ̤òºÆÉÁ²è¤·¤Þ¤¹¡¥ <TR><TD>R<TD>¥Ð¥Ã¥Õ¥¡¤òºÆÅÙÆÉ¤ß¹þ¤ß¤Þ¤¹¡¥ <TR><TD>S<TD>¥Ð¥Ã¥Õ¥¡¤Îɽ¼¨ÆâÍÆ¤ò¥Õ¥¡¥¤¥ë¤ËÊݸ¤·¤Þ¤¹¡¥ <TR><TD>ESC s<TD>HTML¤Î¥½¡¼¥¹¤ò¥Õ¥¡¥¤¥ë¤ËÊݸ¤·¤Þ¤¹¡¥v ¤Ç¥½¡¼¥¹¤òɽ¼¨¤·¤Æ S ¤Ç Êݸ¤¹¤ë¤Î¤È¤Û¤ÜƱ¤¸¤Ç¤¹¤¬¡¤ESC s ¤ÇÊݸ¤·¤¿¥Õ¥¡¥¤¥ë¤Ï´Á»ú¥³¡¼¥É¤¬¥ª¥ê¥¸¥Ê¥ë¤Î ¤Þ¤Þ¤Ç¤¢¤ë¤Î¤ËÂФ·¤Æ¡¤v S ¤ÇÊݸ¤¹¤ë¤È¸½ºßɽ¼¨¤Ë»È¤Ã¤Æ¤¤¤ë´Á»ú¥³¡¼¥É¤ËÊÑ´¹¤µ¤ì ¤ÆÊݸ¤µ¤ì¤Þ¤¹¡¥ <TR><TD>ESC e<TD>¸½ºßɽ¼¨¤µ¤ì¤Æ¤¤¤ë¥Ð¥Ã¥Õ¥¡¤ò¡¤É½¼¨¤µ¤ì¤Æ¤¤¤ë·Á¼°¤Î¤Þ¤Þ ¥¨¥Ç¥£¥¿¤ÇÊÔ½¸¤·¤Þ¤¹¡¥ </table> <H3>¥Ð¥Ã¥Õ¥¡ÁªÂò¥â¡¼¥É</H3> "s" ¤Ç¥Ð¥Ã¥Õ¥¡ÁªÂò¥â¡¼¥É¤ËÆþ¤Ã¤¿¤È¤­¤Î¥­¡¼Áàºî¤Ç¤¹¡¥ <table> <TR><TD WIDTH=100>k,C-p<TD>°ì¤Ä¾å¤Î¥Ð¥Ã¥Õ¥¡¤òÁªÂò¤·¤Þ¤¹¡¥ <TR><TD>j,C-n<TD>°ì¤Ä²¼¤Î¥Ð¥Ã¥Õ¥¡¤òÁªÂò¤·¤Þ¤¹¡¥ <TR><TD>D<TD>¸½ºßÁªÂò¤·¤Æ¤¤¤ë¥Ð¥Ã¥Õ¥¡¤òºï½ü¤·¤Þ¤¹¡¥ <TR><TD>RET<TD>¸½ºßÁªÂò¤·¤Æ¤¤¤ë¥Ð¥Ã¥Õ¥¡¤òɽ¼¨¤·¤Þ¤¹¡¥ </table> <H3>¥Ö¥Ã¥¯¥Þ¡¼¥¯Áàºî</H3> <table> <TR><TD WIDTH=100>ESC b<TD>¥Ö¥Ã¥¯¥Þ¡¼¥¯¤òÆÉ¤ß¹þ¤ß¤Þ¤¹¡¥ <TR><TD>ESC a<TD>¸½ºß¸«¤Æ¤¤¤ë¥Ú¡¼¥¸¤ò¥Ö¥Ã¥¯¥Þ¡¼¥¯¤ËÄɲä·¤Þ¤¹¡¥ </table> <H3>¸¡º÷</H3> <table> <TR><TD WIDTH=100>/,C-s<TD>¸½ºß¤Î¥«¡¼¥½¥ë°ÌÃÖ¤«¤é¥Õ¥¡¥¤¥ëËöÈø¤Ë¸þ¤«¤Ã¤ÆÀµµ¬É½¸½¤ò¸¡º÷¤·¤Þ¤¹¡¥ <TR><TD>?,C-r<TD>¸½ºß¤Î¥«¡¼¥½¥ë°ÌÃÖ¤«¤é¥Õ¥¡¥¤¥ë¤ÎÀèÆ¬¤Ë¸þ¤«¤Ã¤ÆÀµµ¬É½¸½¤ò¸¡º÷¤·¤Þ¤¹¡¥ <TR><TD>n<TD>¼¡¤ò¸¡º÷¤·¤Þ¤¹¡¥ <TR><TD>N<TD>Á°¤ò¸¡º÷¤·¤Þ¤¹¡¥ <TR><TD>C-w<TD>ÀÞ¤êÊÖ¤·¸¡º÷¥â¡¼¥É¤òÀڤ괹¤¨¤Þ¤¹¡¥ </table> <H3>¥Þ¡¼¥¯Áàºî</H3> <table> <TR><TD WIDTH=100>C-SPC<TD>¥Þ¡¼¥¯¤òÀßÄê¡¿²ò½ü¤·¤Þ¤¹¡¥¥Þ¡¼¥¯¤Ïȿžɽ¼¨¤µ¤ì¤Þ¤¹¡¥ <TR><TD>ESC p<TD>°ì¤ÄÁ°¤Î¥Þ¡¼¥¯¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>ESC n<TD>°ì¤Ä¸å¤Î¥Þ¡¼¥¯¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>"<TD>Àµµ¬É½¸½¤Ç»ØÄꤵ¤ì¤¿Ê¸»úÎó¤òÁ´¤Æ¥Þ¡¼¥¯¤·¤Þ¤¹¡¥ </table> <H3>¤½¤Î¾</H3> <table> <TR><TD WIDTH=100>!<TD>¥·¥§¥ë¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Þ¤¹¡¥ <TR><TD>H<TD>¥Ø¥ë¥×¥Õ¥¡¥¤¥ë¤òɽ¼¨¤·¤Þ¤¹¡¥ <TR><TD>o<TD>¥ª¥×¥·¥ç¥óÀßÄê¥Ñ¥Í¥ë¤òɽ¼¨¤·¤Þ¤¹¡¥ <TR><TD>C-k<TD>¥¯¥Ã¥­¡¼°ìÍ÷¤òɽ¼¨¤·¤Þ¤¹¡¥ <TR><TD>C-c<TD>ʸ½ñ¤ÎÆÉ¤ß¹þ¤ß¤òÃæÃǤ·¤Þ¤¹¡¥ <TR><TD>C-z<TD>¥µ¥¹¥Ú¥ó¥É <TR><TD>q<TD>w3m¤ò½ªÎ»¤·¤Þ¤¹¡¥¥ª¥×¥·¥ç¥ó¤ÎÀßÄê¤Ë¤è¤Ã¤Æ¡¤½ªÎ»¤¹¤ë¤«¤É¤¦¤«³Îǧ¤·¤Þ¤¹¡¥ <TR><TD>Q<TD>³Îǧ¤»¤º¤Ëw3m¤ò½ªÎ»¤·¤Þ¤¹¡¥ </table> <H3>¹ÔÊÔ½¸</H3> ²èÌ̤κDz¼¹Ô¤Çʸ»úÎó¤òÆþÎϤ¹¤ë¾ì¹ç¤ËÍ­¸ú¤Ê¥­¡¼Áàºî¤Ç¤¹¡¥ <table> <TR><TD WIDTH=100>C-f<TD>¥«¡¼¥½¥ë¤ò±¦¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>C-b<TD>¥«¡¼¥½¥ë¤òº¸¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>C-h<TD>¥«¡¼¥½¥ë¤ÎľÁ°¤Îʸ»ú¤òºï½ü¤·¤Þ¤¹¡¥ <TR><TD>C-d<TD>¥«¡¼¥½¥ë°ÌÃÖ¤Îʸ»ú¤òºï½ü¤·¤Þ¤¹¡¥ <TR><TD>C-k<TD>¥«¡¼¥½¥ë°ÌÃÖ¤«¤é¸å¤òºï½ü¤·¤Þ¤¹¡¥ <TR><TD>C-u<TD>¥«¡¼¥½¥ë°ÌÃÖ¤«¤éÁ°¤òºï½ü¤·¤Þ¤¹¡¥ <TR><TD>C-a<TD>ʸ»úÎó¤ÎÀèÆ¬¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>C-e<TD>ʸ»úÎó¤ÎºÇ¸å¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>C-p<TD>¥Ò¥¹¥È¥ê¤«¤é°ì¤ÄÁ°¤Îʸ»úÎó¤ò¼è¤ê½Ð¤·¤Þ¤¹¡¥ <TR><TD>C-n<TD>¥Ò¥¹¥È¥ê¤«¤é¼¡¤Îʸ»úÎó¤ò¼è¤ê½Ð¤·¤Þ¤¹¡¥ <TR><TD>TAB,SPC<TD>¥Õ¥¡¥¤¥ë̾ÆþÎÏ»þ¤Ë¡¤¥Õ¥¡¥¤¥ë̾¤òÊä´°¤·¤Þ¤¹¡¥ <TR><TD>RETURN<TD>ÆþÎϤò½ªÎ»¤·¤Þ¤¹¡¥ </table> <hr> <a name="Key:lynx"></a> <h2>µ¯Æ°¸å¤Î»È¤¤¤«¤¿(LynxÉ÷)</h2> LynxÉ÷¥­¡¼¥Ð¥¤¥ó¥É¤Ç¥³¥ó¥Ñ¥¤¥ë¤·¤¿¾ì¹ç¤Î»È¤¤¤«¤¿¤Ç¤¹¡¥ <H3>¥Ú¡¼¥¸/¥«¡¼¥½¥ë°Üư</H3> <table> <TR><TD>SPC,C-v,+<TD>¼¡¤Î¥Ú¡¼¥¸¤òɽ¼¨¤·¤Þ¤¹¡¥ <TR><TD>b,ESC v,-<TD>Á°¤Î¥Ú¡¼¥¸¤òɽ¼¨¤·¤Þ¤¹¡¥ <TR><TD>l<TD>¥«¡¼¥½¥ë¤ò±¦¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>h<TD>¥«¡¼¥½¥ë¤òº¸¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>j<TD>¥«¡¼¥½¥ë¤ò²¼¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>k<TD>¥«¡¼¥½¥ë¤ò¾å¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>J<TD>²èÌ̤ò1¹Ô¾å¤Ë¥¹¥¯¥í¡¼¥ë¤·¤Þ¤¹¡¥ <TR><TD>K<TD>²èÌ̤ò1¹Ô²¼¤Ë¥¹¥¯¥í¡¼¥ë¤·¤Þ¤¹¡¥ <TR><TD>^<TD>¹ÔƬ¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>$<TD>¹ÔËö¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>&gt;<TD>²èÌÌÁ´ÂΤò±¦¤Ë¤º¤é¤·¤Þ¤¹¡¥(ɽ¼¨ÆâÍÆ¤òº¸¤Ë¤º¤é¤¹) <TR><TD>&lt;<TD>²èÌÌÁ´ÂΤòº¸¤Ë¤º¤é¤·¤Þ¤¹¡¥(ɽ¼¨ÆâÍÆ¤ò±¦¤Ë¤º¤é¤¹) <TR><TD>C-a<TD>ʸ½ñ¤Î¤¤¤Á¤Ð¤ó¾å¤Î¹Ô¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>C-e<TD>ʸ½ñ¤Î¤¤¤Á¤Ð¤ó²¼¤Î¹Ô¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>G<TD>²èÌ̲¼¤Ç¹ÔÈÖ¹æ¤òÆþÎϤ·¡¤¤½¤³¤Ç»ØÄꤷ¤¿¹Ô¤Ë°Üư¤·¤Þ¤¹¡¥ ¤³¤³¤Ç $ ¤òÆþÎϤ¹¤ë¤È¡¤ºÇ½ª¹Ô¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>Z<TD>¥«¡¼¥½¥ë¤Î¤¢¤ë°ÌÃÖ¤ò¹Ô¤ÎÃæ±û¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>z<TD>¥«¡¼¥½¥ë¤Î¤¢¤ë¹Ô¤ò²èÌ̤ÎÃæ±û¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>TAB, C-n, ²¼Ìð°õ<TD>¼¡¤Î¥ê¥ó¥¯¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>ESC TAB, C-p, ¾åÌð°õ<TD>Á°¤Î¥ê¥ó¥¯¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>C-g<TD>¥Ú¡¼¥¸Ãæ¤Ç¤Î¸½ºß°ÌÃÖ¤òɽ¼¨¤·¤Þ¤¹¡¥ </table> <H3>¥Ï¥¤¥Ñ¡¼¥ê¥ó¥¯Áàºî</H3> <table> <TR><TD WIDTH=100>RET, C-f, ±¦Ìð°õ<TD>¸½ºß¥«¡¼¥½¥ë¤¬¤¢¤ë¥ê¥ó¥¯¤¬»Ø¤¹Àè¤Îʸ½ñ¤òÆÉ¤ß¤³¤ß¤Þ¤¹¡¥ <TR><TD>d, ESC RET<TD>¸½ºß¥«¡¼¥½¥ë¤¬¤¢¤ë¥ê¥ó¥¯¤¬»Ø¤¹Àè¤Îʸ½ñ¤ò¥Õ¥¡¥¤¥ë¤ËÊݸ¤·¤Þ¤¹¡¥ <TR><TD>u<TD>¸½ºß¥«¡¼¥½¥ë¤¬¤¢¤ë¥ê¥ó¥¯¤¬»Ø¤¹Àè¤ÎURL¤òɽ¼¨¤·¤Þ¤¹¡¥ <TR><TD>i<TD>¸½ºß¥«¡¼¥½¥ë¤¬¤¢¤ë¥ê¥ó¥¯¤ò´Þ¤à²èÁü¤½¤Î¤â¤Î¤ÎURL¤òɽ¼¨¤·¤Þ¤¹¡¥ <TR><TD>I<TD>¸½ºß¥«¡¼¥½¥ë¤¬¤¢¤ë¥ê¥ó¥¯¤ËÂбþ¤¹¤ë²èÁü¤òɽ¼¨¤·¤Þ¤¹¡¥ <TR><TD>ESC I<TD>¸½ºß¥«¡¼¥½¥ë¤¬¤¢¤ë¥ê¥ó¥¯¤¬»Ø¤¹²èÁü¤ò¥Õ¥¡¥¤¥ë¤ËÊݸ¤·¤Þ¤¹¡¥ <TR><TD>:<TD>URLÉ÷¤Îʸ»úÎó¤ò¥ê¥ó¥¯¤Ë¤·¤Þ¤¹¡¥¤³¤Îµ¡Ç½¤Ï¡¤HTML¤Ç¤Ê¤¤Ê¸½ñ¤ò ÆÉ¤ó¤Ç¤¤¤ë¤È¤­¤Ë¤âÍ­¸ú¤Ç¤¹¡¥ <TR><TD>ESC :<TD>Message-IDÉ÷¤Îʸ»úÎó¤ò¡¤news: ¤Î¥ê¥ó¥¯¤Ë¤·¤Þ¤¹¡¥¤³¤Îµ¡Ç½¤Ï¡¤HTML¤Ç¤Ê¤¤Ê¸½ñ¤òÆÉ¤ó¤Ç¤¤¤ë¤È¤­¤Ë¤âÍ­¸ú¤Ç¤¹¡¥ <TR><TD>c<TD>¸½ºß¤Îʸ½ñ¤ÎURL¤òɽ¼¨¤·¤Þ¤¹¡¥ <TR><TD>=<TD>¸½ºß¤Îʸ½ñ¤Ë´Ø¤¹¤ë¾ðÊó¤òɽ¼¨¤·¤Þ¤¹¡¥ <TR><TD>C-h<TD>URLÍúÎò¤òɽ¼¨¤·¤Þ¤¹¡¥ <TR><TD>F<TD>&lt;FRAMESET&gt;¤ò´Þ¤àʸ½ñ¤òɽ¼¨¤·¤Æ¤¤¤ë¤È¤­¤Ë¡¤&lt;FRAME&gt; ¥¿¥°¤Î»Ø¤¹Ê£¿ô¤Îʸ½ñ¤ò1¤Ä¤Îʸ½ñ¤ËÊÑ´¹¤·¤ÆÉ½¼¨¤·¤Þ¤¹¡¥ <TR><TD>M<TD>¸½ºß¸«¤Æ¤¤¤ë¥Ú¡¼¥¸¤ò¡¤³°Éô¥Ö¥é¥¦¥¶¤ò»È¤Ã¤ÆÉ½¼¨¤·¤Þ¤¹¡¥ 2M, 3M ¤Ç2ÈÖÌܤÈ3ÈÖÌܤΥ֥饦¥¶¤ò»È¤¤¤Þ¤¹¡¥ <TR><TD>ESC M<TD>¸½ºß¤Î¥ê¥ó¥¯Àè¤ò¡¤³°Éô¥Ö¥é¥¦¥¶¤ò»È¤Ã¤ÆÉ½¼¨¤·¤Þ¤¹¡¥ 2ESC M, 3ESC M ¤Ç2ÈÖÌܤÈ3ÈÖÌܤΥ֥饦¥¶¤ò»È¤¤¤Þ¤¹¡¥ </table> <H3>¥Õ¥¡¥¤¥ë¤ÈURL´Ø·¸¤ÎÁàºî</H3> <table> <TR><TD WIDTH=100>g, U<TD>URL¤ò»ØÄꤷ¤Æ³«¤­¤Þ¤¹¡¥ <TR><TD>V<TD>¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¤ò»ØÄꤷ¤Æ³«¤­¤Þ¤¹¡¥ <TR><TD>@<TD>¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¡¤·ë²Ì¤òÁ´ÉôÆÉ¤ó¤Ç¤«¤éɽ¼¨¤·¤Þ¤¹¡¥ <TR><TD> </table> <H3>¥Ð¥Ã¥Õ¥¡Áàºî</H3> <table> <TR><TD WIDTH=100>B, C-b, º¸Ìð°õ<TD>¸½ºß¸«¤Æ¤¤¤ë¥Ð¥Ã¥Õ¥¡¤òºï½ü¤·¡¤°ì¤ÄÁ°¤Î¥Ð¥Ã¥Õ¥¡¤òɽ¼¨¤·¤Þ¤¹¡¥ <TR><TD>\<TD>HTML¤Î¥½¡¼¥¹¤òɽ¼¨¤·¤Þ¤¹¡¥ <TR><TD>s<TD>¥Ð¥Ã¥Õ¥¡ÁªÂò¥â¡¼¥É¤ËÆþ¤ê¤Þ¤¹¡¥ <TR><TD>E<TD>¸½ºß¸«¤Æ¤¤¤ë¥Ð¥Ã¥Õ¥¡¤¬¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¤Î¾ì¹ç¡¤¤½¤Î¥Õ¥¡¥¤¥ë¤ò¥¨¥Ç¥£¥¿¤ÇÊÔ½¸¤·¤Þ¤¹¡¥¥¨¥Ç¥£¥¿¤ò½ªÎ»¤·¤¿¸å¡¤¤½¤Î¥Õ¥¡¥¤¥ë¤òºÆÅÙÆÉ¤ß¹þ¤ß¤Þ¤¹¡¥ <TR><TD>C-l, C-w<TD>²èÌ̤òºÆÉÁ²è¤·¤Þ¤¹¡¥ <TR><TD>R, C-r<TD>¥Ð¥Ã¥Õ¥¡¤òºÆÅÙÆÉ¤ß¹þ¤ß¤Þ¤¹¡¥ <TR><TD>S, p<TD>¥Ð¥Ã¥Õ¥¡¤Îɽ¼¨ÆâÍÆ¤ò¥Õ¥¡¥¤¥ë¤ËÊݸ¤·¤Þ¤¹¡¥ <TR><TD>ESC s<TD>HTML¤Î¥½¡¼¥¹¤ò¥Õ¥¡¥¤¥ë¤ËÊݸ¤·¤Þ¤¹¡¥v ¤Ç¥½¡¼¥¹¤òɽ¼¨¤·¤Æ S ¤Ç Êݸ¤¹¤ë¤Î¤È¤Û¤ÜƱ¤¸¤Ç¤¹¤¬¡¤ESC s ¤ÇÊݸ¤·¤¿¥Õ¥¡¥¤¥ë¤Ï´Á»ú¥³¡¼¥É¤¬¥ª¥ê¥¸¥Ê¥ë¤Î ¤Þ¤Þ¤Ç¤¢¤ë¤Î¤ËÂФ·¤Æ¡¤v S ¤ÇÊݸ¤¹¤ë¤È¸½ºßɽ¼¨¤Ë»È¤Ã¤Æ¤¤¤ë´Á»ú¥³¡¼¥É¤ËÊÑ´¹¤µ¤ì ¤ÆÊݸ¤µ¤ì¤Þ¤¹¡¥ <TR><TD>ESC e<TD>¸½ºßɽ¼¨¤µ¤ì¤Æ¤¤¤ë¥Ð¥Ã¥Õ¥¡¤ò¡¤É½¼¨¤µ¤ì¤Æ¤¤¤ë·Á¼°¤Î¤Þ¤Þ ¥¨¥Ç¥£¥¿¤ÇÊÔ½¸¤·¤Þ¤¹¡¥ </table> <H3>¥Ð¥Ã¥Õ¥¡ÁªÂò¥â¡¼¥É</H3> "s" ¤Ç¥Ð¥Ã¥Õ¥¡ÁªÂò¥â¡¼¥É¤ËÆþ¤Ã¤¿¤È¤­¤Î¥­¡¼Áàºî¤Ç¤¹¡¥ <table> <TR><TD WIDTH=100>k,C-p<TD>°ì¤Ä¾å¤Î¥Ð¥Ã¥Õ¥¡¤òÁªÂò¤·¤Þ¤¹¡¥ <TR><TD>j,C-n<TD>°ì¤Ä²¼¤Î¥Ð¥Ã¥Õ¥¡¤òÁªÂò¤·¤Þ¤¹¡¥ <TR><TD>D<TD>¸½ºßÁªÂò¤·¤Æ¤¤¤ë¥Ð¥Ã¥Õ¥¡¤òºï½ü¤·¤Þ¤¹¡¥ <TR><TD>RET<TD>¸½ºßÁªÂò¤·¤Æ¤¤¤ë¥Ð¥Ã¥Õ¥¡¤òɽ¼¨¤·¤Þ¤¹¡¥ </table> <H3>¥Ö¥Ã¥¯¥Þ¡¼¥¯Áàºî</H3> <table> <TR><TD WIDTH=100>v, ESC b<TD>¥Ö¥Ã¥¯¥Þ¡¼¥¯¤òÆÉ¤ß¹þ¤ß¤Þ¤¹¡¥ <TR><TD>a, ESC a<TD>¸½ºß¸«¤Æ¤¤¤ë¥Ú¡¼¥¸¤ò¥Ö¥Ã¥¯¥Þ¡¼¥¯¤ËÄɲä·¤Þ¤¹¡¥ </table> <H3>¸¡º÷</H3> <table> <TR><TD WIDTH=100>/,C-s<TD>¸½ºß¤Î¥«¡¼¥½¥ë°ÌÃÖ¤«¤é¥Õ¥¡¥¤¥ëËöÈø¤Ë¸þ¤«¤Ã¤ÆÀµµ¬É½¸½¤ò¸¡º÷¤·¤Þ¤¹¡¥ <TR><TD>n<TD>¼¡¤ò¸¡º÷¤·¤Þ¤¹¡¥ <TR><TD>w<TD>ÀÞ¤êÊÖ¤·¸¡º÷¥â¡¼¥É¤òÀڤ괹¤¨¤Þ¤¹¡¥ </table> <H3>¥Þ¡¼¥¯Áàºî</H3> <table> <TR><TD WIDTH=100>C-SPC<TD>¥Þ¡¼¥¯¤òÀßÄê¡¿²ò½ü¤·¤Þ¤¹¡¥¥Þ¡¼¥¯¤Ïȿžɽ¼¨¤µ¤ì¤Þ¤¹¡¥ <TR><TD>P<TD>°ì¤ÄÁ°¤Î¥Þ¡¼¥¯¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>N<TD>°ì¤Ä¸å¤Î¥Þ¡¼¥¯¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>"<TD>Àµµ¬É½¸½¤Ç»ØÄꤵ¤ì¤¿Ê¸»úÎó¤òÁ´¤Æ¥Þ¡¼¥¯¤·¤Þ¤¹¡¥ </table> <H3>¤½¤Î¾</H3> <table> <TR><TD WIDTH=100>!<TD>¥·¥§¥ë¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Þ¤¹¡¥ <TR><TD>H, ?<TD>¥Ø¥ë¥×¥Õ¥¡¥¤¥ë¤òɽ¼¨¤·¤Þ¤¹¡¥ <TR><TD>o<TD>¥ª¥×¥·¥ç¥óÀßÄê¥Ñ¥Í¥ë¤òɽ¼¨¤·¤Þ¤¹¡¥ <TR><TD>C-k<TD>¥¯¥Ã¥­¡¼°ìÍ÷¤òɽ¼¨¤·¤Þ¤¹¡¥ <TR><TD>C-c<TD>ʸ½ñ¤ÎÆÉ¤ß¹þ¤ß¤òÃæÃǤ·¤Þ¤¹¡¥ <TR><TD>C-z<TD>¥µ¥¹¥Ú¥ó¥É <TR><TD>q<TD>w3m¤ò½ªÎ»¤·¤Þ¤¹¡¥¥ª¥×¥·¥ç¥ó¤ÎÀßÄê¤Ë¤è¤Ã¤Æ¡¤½ªÎ»¤¹¤ë¤«¤É¤¦¤«³Îǧ¤·¤Þ¤¹¡¥ <TR><TD>Q<TD>³Îǧ¤»¤º¤Ëw3m¤ò½ªÎ»¤·¤Þ¤¹¡¥ </table> <H3>¹ÔÊÔ½¸</H3> ²èÌ̤κDz¼¹Ô¤Çʸ»úÎó¤òÆþÎϤ¹¤ë¾ì¹ç¤ËÍ­¸ú¤Ê¥­¡¼Áàºî¤Ç¤¹¡¥ <table> <TR><TD WIDTH=100>C-f<TD>¥«¡¼¥½¥ë¤ò±¦¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>C-b<TD>¥«¡¼¥½¥ë¤òº¸¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>C-h<TD>¥«¡¼¥½¥ë¤ÎľÁ°¤Îʸ»ú¤òºï½ü¤·¤Þ¤¹¡¥ <TR><TD>C-d<TD>¥«¡¼¥½¥ë°ÌÃÖ¤Îʸ»ú¤òºï½ü¤·¤Þ¤¹¡¥ <TR><TD>C-k<TD>¥«¡¼¥½¥ë°ÌÃÖ¤«¤é¸å¤òºï½ü¤·¤Þ¤¹¡¥ <TR><TD>C-u<TD>¥«¡¼¥½¥ë°ÌÃÖ¤«¤éÁ°¤òºï½ü¤·¤Þ¤¹¡¥ <TR><TD>C-a<TD>ʸ»úÎó¤ÎÀèÆ¬¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>C-e<TD>ʸ»úÎó¤ÎºÇ¸å¤Ë°Üư¤·¤Þ¤¹¡¥ <TR><TD>SPC<TD>¥Õ¥¡¥¤¥ë̾ÆþÎÏ»þ¤Ë¡¤¥Õ¥¡¥¤¥ë̾¤òÊä´°¤·¤Þ¤¹¡¥ <TR><TD>RETURN<TD>ÆþÎϤò½ªÎ»¤·¤Þ¤¹¡¥ </table> <hr> <a name="Mouse"></a> <h2>¥Þ¥¦¥¹Áàºî</h2> ¥Þ¥¦¥¹µ¡Ç½¤òON¤Ë¤·¤Æ¥³¥ó¥Ñ¥¤¥ë¤·¤Æ¤¢¤ì¤Ð¡¤¥Þ¥¦¥¹¤ò»È¤Ã¤Æ w3m¤òÁàºî¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡¥¥Þ¥¦¥¹¤¬»È¤¨¤ë¤Î¤Ï¡¤xterm/kterm/rxvt ¤ò»È¤Ã¤Æ¤¤¤ë¾ì¹ç(¤³¤Î¾ì¹ç¤Ë¤Ï¡¤´Ä¶­ÊÑ¿ôTERM¤ò xterm ¤« kterm ¤Ë ÀßÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹)¡¤¤Þ¤¿¤Ï GPM ¤¬Æ°¤¤¤Æ¤¤¤ë´Ä¶­¤ò»È¤Ã¤Æ¤¤¤ë¾ì¹ç ¤Ç¤¹¡¥ <p> <table border=0> <tr><td>º¸¥¯¥ê¥Ã¥¯ <td>¥«¡¼¥½¥ë¤ò¥Þ¥¦¥¹¥«¡¼¥½¥ë¤Î°ÌÃÖ¤Ë°ÜÆ°¤·¤Þ¤¹¡¥ ¤â¤·¥«¡¼¥½¥ë¤È¥Þ¥¦¥¹¥«¡¼¥½¥ë¤Î°ÌÃÖ¤¬Æ±¤¸¤Ç¡¤¥«¡¼¥½¥ë¤¬ ¥ê¥ó¥¯¤Î¾å¤Ë¤¢¤Ã¤¿¤È¤­¤Ï¡¤¤½¤Î¥ê¥ó¥¯¤ò¤¿¤É¤ê¤Þ¤¹¡¥ <tr><td>Ãæ¥¯¥ê¥Ã¥¯ <td>Á°¤Î¥Ð¥Ã¥Õ¥¡¤ËÌá¤ê¤Þ¤¹¡¥ <tr><td>±¦¥¯¥ê¥Ã¥¯ <td>¥á¥Ë¥å¡¼¤ò³«¤­¤Þ¤¹¡¥¥á¥Ë¥å¡¼¤Î¹àÌܤâ¥Þ¥¦¥¹¤ÇÁª¤Ö¤³¤È¤¬¤Ç¤­¤Þ¤¹¡¥ <tr><td>º¸¥É¥é¥Ã¥° <td>¥Ú¡¼¥¸¤ò¥¹¥¯¥í¡¼¥ë¤·¤Þ¤¹¡¥¥Ç¥Õ¥©¥ë¥È¤Îưºî¤Ç¤Ï¡¤ ¥Þ¥¦¥¹¤Î¥É¥é¥Ã¥°¤Ë¹ç¤ï¤»¤ÆÊ¸½ñ¤ÎÊý¤ò¥¹¥¯¥í¡¼¥ë¤·¤Þ¤¹¡¥ ¥ª¥×¥·¥ç¥óÀßÄê¥Ñ¥Í¥ë¤ÎÀßÄê¤Ç¡¤¤³¤Îưºî¤òµÕ¤Ë¤¹¤ë¤³¤È ¤¬¤Ç¤­¤Þ¤¹(¥Þ¥¦¥¹¤Î¥É¥é¥Ã¥°¤Ë¹ç¤ï¤»¤Æ¡¤¥¦¥£¥ó¥É¥¦¤ÎÊý¤ò ¥¹¥¯¥í¡¼¥ë¤¹¤ë)¡¥ </table> <p> <hr> <a name="Key:custom"></a> <h2>¥­¡¼¤ÎÄêµÁ</h2> ~/.w3m/keymap ¤òµ­½Ò¤¹¤ë¤È¡¤¥­¡¼¤Î³ä¤ê¤¢¤Æ¤òÊѤ¨¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹ (¹ÔÊÔ½¸¤Î¥­¡¼ÄêµÁ¤ò½ü¤¯)¡¥Î㤨¤Ð¡¤ <pre> keymap C-o NEXT_PAGE </pre> ¤Èµ­½Ò¤¹¤ë¤È¡¤NEXT_PAGEµ¡Ç½(Ä̾凉¥Ú¡¼¥¹¤È C-v)¤Ë³ä¤ê¤¢¤Æ¤é¤ì¤Æ ¤¤¤ë¤â¤Î)¤ò C-o ¤Ë³ä¤ê¤¢¤Æ¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡¥ ÍøÍѲÄǽ¤Êµ¡Ç½¤È¡¤¤½¤Î̾Á°¤Ë¤Ä¤¤¤Æ¤Ï¡¤ <a href="README.func">README.func</a>¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡¥ Îã¤È¤·¤Æ¡¤¥ª¥ê¥¸¥Ê¥ë¤ÈLynxÉ÷¤Î¥­¡¼ÄêµÁ¥Õ¥¡¥¤¥ë (<a href="keymap.default">keymap.default</a> ¤È<a href="keymap.lynx">keymap.lynx</a>)¤¬ÃÖ¤¤¤Æ¤¢¤ê¤Þ¤¹¡¥ <hr> <a name="LocalCGI"></a> <h2>Local CGI</h2> w3m¤ò»È¤¨¤Ð¡¤HTTP¥µ¡¼¥Ð¤Ê¤·¤ÇCGI¥¹¥¯¥ê¥×¥È¤òµ¯Æ°¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡¥ ¤³¤Î¤È¤­¡¤w3m¤¬¥µ¡¼¥Ð¤Î¤Õ¤ê¤ò¤·¤Æ¥¹¥¯¥ê¥×¥È¤òµ¯Æ°¤·¡¤¤½¤Î½ÐÎϤò ÆÉ¤ß¤³¤ó¤Çɽ¼¨¤¹¤ë¤ï¤±¤Ç¤¹¡¥ <a href="file: <a href="file: ¤Ï¡¤local CGI¤Î¥¹¥¯¥ê¥×¥È¤È¤·¤Æ¼Â¸½¤µ¤ì¤Æ¤¤¤Þ¤¹¡¥ local CGI¤ò»È¤¨¤Ð¡¤w3m¤òÈÆÍѤΥե©¡¼¥àÆþÎÏ¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤È¤·¤Æ »È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡¥ <P> ¥»¥­¥å¥ê¥Æ¥£¾å¤ÎÍýͳ¤Ë¤è¤ê¡¤µ¯Æ°¤¹¤ëCGI¥¹¥¯¥ê¥×¥È¤Ï¡¤¼¡¤Î¤É¤ì¤«¤Î ¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡¥ <ul> <li>w3m¤Î¥Ø¥ë¥×¥Õ¥¡¥¤¥ë¤Ê¤É¤¬ÃÖ¤¤¤Æ¤¢¤ë¥Ç¥£¥ì¥¯¥È¥ê (ŵ·¿Åª¤Ë¤Ï /usr/local/lib/w3m)¡¥¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ï¡¤ $LIB ¤Ç»²¾È¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡¥ <li>/cgi-bin/ ¥Ç¥£¥ì¥¯¥È¥ê¡¥¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ï¡¤Ç¤°Õ¤Î¾ì½ê¤Ë ³ä¤ê¤¢¤Æ¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹(¥ª¥×¥·¥ç¥óÀßÄê¥Ñ¥Í¥ë¤Î¡Ö/cgi-bin¤Çɽ¤µ¤ì¤ë ¥Ç¥£¥ì¥¯¥È¥ê¡×¤Î¹àÌÜ)¡¥¤³¤³¤Ë¤Ï¡¤: ¤Ç¶èÀڤäÆÊ£¿ô¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ò »ØÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹(Î㤨¤Ð /usr/local/cgi-bin:/home/aito/cgi-bin ¤Ê¤É)¡¥ /cgi-bin/ ¤ò»È¤¦¾ì¹ç¤Ï¡¢ <pre> w3m -o cgi_bin=/path/to/cgi-bin file:/cgi-bin/script.cgi </pre> ¤Î¤è¤¦¤Ë file:/cgi-bin¤È¤¤¤¦URL¤ò»È¤¦É¬Íפ¬¤¢¤ê¤Þ¤¹¡£ ¤³¤ÎÃæ¤Ë¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤òÆþ¤ì¤ë¤³¤È¤Ï¡¤¥»¥­¥å¥ê¥Æ¥£¾å¤ÎÍýͳ¤Ë¤è¤ê Á¦¤á¤é¤ì¤Þ¤»¤ó¡¥ </ul> <p> Local CGI¤È¤·¤Æ»È¤ï¤ì¤ë¥¹¥¯¥ê¥×¥È¤Ç¤Ï¡¤w3m¤ò¥³¥ó¥È¥í¡¼¥ë¤¹¤ë¤¿¤á¤Ë¡¤ ÆÃ¼ì¤Ê¥Ø¥Ã¥À `w3m-control:' ¤ò»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡¥¤³¤Î¥Ø¥Ã¥À¤Ë¤Ï¡¤ w3m¤ÎǤ°Õ¤Îµ¡Ç½ (<a href="README.func">README.func</a>»²¾È)¤ò½ñ¤¯ ¤³¤È¤¬¤Ç¤­¤Þ¤¹¡¥Ê¸½ñ¤¬É½¼¨¤µ¤ì¤¿¸å¡¤¤½¤Îµ¡Ç½¤¬¸Æ¤Ó½Ð¤µ¤ì¤Þ¤¹¡¥ Î㤨¤Ð¡¤ <pre> Content-Type: text/plain W3m-control: BACK </pre> ¤È¤¤¤¦¥Ø¥Ã¥À¤ò½ÐÎϤ·¤¿¾ì¹ç¡¤w3m¤Ï¶õ¤Î¥Ú¡¼¥¸¤òɽ¼¨¤·¡¤¤½¤Îľ¸å¤Ë ¤½¤Î¥Ð¥Ã¥Õ¥¡¤òºï½ü¤·¤Þ¤¹¡¥¤³¤ì¤Ï¡¤CGI¤ò¼Â¹Ô¤·¤¿¸å¤Ç¡¤²¿¤â¥Ú¡¼¥¸¤ò ɽ¼¨¤·¤¿¤¯¤Ê¤¤¾ì¹ç¤ËÍ­¸ú¤Ç¤¹¡¥¤Þ¤¿¡¤ <pre> Content-Type: text/plain W3m-control: DELETE_PREVBUF contents..... </pre> ¤Ï¡¤¿·¤·¤¤¥Ð¥Ã¥Õ¥¡¤ÇľÁ°¤Î¥Ð¥Ã¥Õ¥¡¤òÃÖ¤­¤«¤¨¤Þ¤¹¡¥ <p> °ì¤Ä¤Î w3m-control: ¥Ø¥Ã¥À¤Ë¤Ï¡¤°ì¤Ä¤Îµ¡Ç½¤À¤±¤ò»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡¥ ¤¿¤À¤·¡¤HTTP¥ì¥¹¥Ý¥ó¥¹¤ÎÃæ¤ËÊ£¿ô¤Î w3m-control: ¤òÆþ¤ì¤ë¤³¤È¤¬¤Ç¤­¡¤ ¤½¤³¤Ç»ØÄꤵ¤ì¤¿µ¡Ç½¤Ï½çÈ֤˼¹Ԥµ¤ì¤Þ¤¹¡¥ ¤µ¤é¤Ë¡¤GOTO ¤Ë¤Ï°ú¿ô¤ò»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡¥ <pre> Content-Type: text/plain W3m-control: GOTO http: </pre> ¤³¤ÎÎã¤Ï¡¤Location: ¤ò»È¤Ã¤¿¼¡¤ÎÎã¤ÈƱ¤¸¤è¤¦¤Ëưºî¤·¤Þ¤¹¡¥ <pre> Content-Type: text/plain Location: http: </pre> ¤¿¤À¤·¡¤w3m-control: ¥Ø¥Ã¥À¤Ïw3m¤¬¥¹¥¯¥ê¥×¥È¤òľÀܸƤӤÀ¤·¤¿»þ¤À¤±¤Ë Í­¸ú¤Ç¤¹¡¥Æ±¤¸¥¹¥¯¥ê¥×¥È¤ò HTTP¥µ¡¼¥Ð·Ðͳ¤Ç¸Æ¤Ó¤À¤·¤¿¾ì¹ç¡¤ w3m-control: ¥Ø¥Ã¥À¤Ï̵»ë¤µ¤ì¤Þ¤¹¡¥ </body> </html>
/* -*- Mode:C++; c-basic-offset:8; tab-width:8; indent-tabs-mode:t -*- */ #ifndef ns_ranvar_h #define ns_ranvar_h /* XXX still need to clean up dependencies among parameters such that * when one parameter is changed, other parameters are recomputed as * appropriate. */ #include "random.h" #include "rng.h" class RandomVariable : public TclObject { public: virtual double value() = 0; virtual double avg() = 0; int command(int argc, const char*const* argv); RandomVariable(); // This is added by Debojyoti Dutta 12th Oct 2000 int seed(char *); protected: RNG* rng_; }; class <API key> : public RandomVariable { public: virtual double value(); virtual inline double avg() { return (max_-min_)/2; }; <API key>(); <API key>(double, double); double* minp() { return &min_; }; double* maxp() { return &max_; }; double min() { return min_; }; double max() { return max_; }; void setmin(double d) { min_ = d; }; void setmax(double d) { max_ = d; }; private: double min_; double max_; }; class <API key> : public RandomVariable { public: virtual double value(); <API key>(); <API key>(double); double* avgp() { return &avg_; }; virtual inline double avg() { return avg_; }; void setavg(double d) { avg_ = d; }; private: double avg_; }; class <API key> : public RandomVariable { public: virtual double value(); <API key>(); <API key>(double, int); virtual inline double avg() { return k_/lambda_; }; private: double lambda_; int k_; }; class GammaRandomVariable : public RandomVariable { public: virtual double value(); GammaRandomVariable(); GammaRandomVariable(double, double); virtual inline double avg() { return alpha_*beta_; }; private: double alpha_; double beta_; }; class <API key> : public RandomVariable { public: virtual double value(); <API key>(); <API key>(double, double); double* avgp() { return &avg_; }; double* shapep() { return &shape_; }; virtual inline double avg() { return avg_; }; double shape() { return shape_; }; void setavg(double d) { avg_ = d; }; void setshape(double d) { shape_ = d; }; private: double avg_; double shape_; double scale_; }; class <API key> : public RandomVariable { public: virtual double value(); <API key>(); <API key>(double, double); double* avgp() { return &avg_; }; double* shapep() { return &shape_; }; virtual inline double avg() { return avg_; }; double shape() { return shape_; }; void setavg(double d) { avg_ = d; }; void setshape(double d) { shape_ = d; }; private: double avg_; double shape_; double scale_; }; class <API key> : public RandomVariable { public: virtual double value(); <API key>(); inline double* avgp() { return &avg_; }; inline double* stdp() { return &std_; }; virtual inline double avg() { return avg_; }; inline double std() { return std_; }; inline void setavg(double d) { avg_ = d; }; inline void setstd(double d) { std_ = d; }; private: double avg_; double std_; }; class <API key> : public RandomVariable { public: virtual double value(); <API key>(); inline double* avgp() { return &avg_; }; inline double* stdp() { return &std_; }; virtual inline double avg() { return avg_; }; inline double std() { return std_; }; inline void setavg(double d) { avg_ = d; }; inline void setstd(double d) { std_ = d; }; private: double avg_; double std_; }; class <API key> : public RandomVariable { public: virtual double value(); virtual double avg(){ return val_;} <API key>(); <API key>(double); double* valp() { return &val_; }; double val() { return val_; }; void setval(double d) { val_ = d; }; private: double val_; }; class <API key> : public RandomVariable { public: virtual double value(); <API key>(); <API key>(double, double); double* avgp() { return &avg_; }; double* covp() { return &cov_; }; virtual double avg() { return avg_; }; double cov() { return cov_; }; void setavg(double d) { avg_ = d; }; void setcov(double d) { cov_ = d; }; private: double avg_; double cov_; double alpha_; }; class <API key> : public RandomVariable { public: virtual double value(); virtual double avg(); <API key>(); <API key>(double shape, double scale); <API key>(double shape, double scale, RNG* rng); double* shapep() { return &shape_; }; double* scalep() { return &scale_; }; double shape() { return shape_; }; double scale() { return scale_; }; void setshape(double d) { shape_ = d; }; void setscale(double d) { scale_ = d; }; private: double shape_; double scale_; }; #define INTER_DISCRETE 0 // no interpolation (discrete) #define INTER_CONTINUOUS 1 // linear interpolation #define INTER_INTEGRAL 2 // linear interpolation and round up struct CDFentry { double cdf_; double val_; }; class <API key> : public RandomVariable { public: virtual double value(); virtual double interpolate(double u, double x1, double y1, double x2, double y2); virtual double avg(){ return value(); } // junk <API key>(); double& minCDF() { return minCDF_; } double& maxCDF() { return maxCDF_; } int loadCDF(const char* filename); protected: int command(int argc, const char*const* argv); int lookup(double u); double minCDF_; // min value of the CDF (default to 0) double maxCDF_; // max value of the CDF (default to 1) int interpolation_; // how to interpolate data (INTER_DISCRETE...) int numEntry_; // number of entries in the CDF table int maxEntry_; // size of the CDF table (mem allocation) CDFentry* table_; // CDF table of (val_, cdf_) }; #endif
package org.xmlvm.ios; import java.util.*; import org.xmlvm.XMLVMSkeletonOnly; @XMLVMSkeletonOnly public interface UITextInput { /* * Properties */ /** * @property(readwrite, copy) UITextRange *selectedTextRange; */ public abstract UITextRange <API key>(); /** * @property(readwrite, copy) UITextRange *selectedTextRange; */ public abstract void <API key>(UITextRange selectedTextRange); /** * @property(nonatomic, readonly) UITextRange *markedTextRange; */ public abstract UITextRange getMarkedTextRange(); /** * @property(nonatomic, copy) NSDictionary *markedTextStyle; */ public abstract Map getMarkedTextStyle(); /** * @property(nonatomic, copy) NSDictionary *markedTextStyle; */ public abstract void setMarkedTextStyle(Map markedTextStyle); /** * @property(nonatomic, readonly) UITextPosition *beginningOfDocument; */ public abstract UITextPosition <API key>(); /** * @property(nonatomic, readonly) UITextPosition *endOfDocument; */ public abstract UITextPosition getEndOfDocument(); /** * @property(nonatomic, assign) id <UITextInputDelegate> inputDelegate; */ public abstract UITextInputDelegate getInputDelegate(); /** * @property(nonatomic, assign) id <UITextInputDelegate> inputDelegate; */ public abstract void setInputDelegate(UITextInputDelegate inputDelegate); /** * @property(nonatomic, readonly) id <<API key>> tokenizer; */ public abstract <API key> getTokenizer(); /** * @property(nonatomic, readonly) UIView *textInputView; */ public abstract UIView getTextInputView(); /** * @property(nonatomic) <API key> selectionAffinity; */ public abstract int <API key>(); /** * @property(nonatomic) <API key> selectionAffinity; */ public abstract void <API key>(int selectionAffinity); /* * Instance methods */ /** * - (NSString *)textInRange:(UITextRange *)range; */ public abstract String textInRange(UITextRange range); /** * - (void)replaceRange:(UITextRange *)range withText:(NSString *)text; */ public abstract void replaceRange(UITextRange range, String text); /** * - (void)setMarkedText:(NSString *)markedText selectedRange:(NSRange)selectedRange; */ public abstract void setMarkedText(String markedText, NSRange selectedRange); /** * - (void)unmarkText; */ public abstract void unmarkText(); /** * - (UITextRange *)<API key>:(UITextPosition *)fromPosition toPosition:(UITextPosition *)toPosition; */ public abstract UITextRange <API key>(UITextPosition fromPosition, UITextPosition toPosition); /** * - (UITextPosition *)<API key>:(UITextPosition *)position offset:(NSInteger)offset; */ public abstract UITextPosition <API key>(UITextPosition position, int offset); /** * - (UITextPosition *)<API key>:(UITextPosition *)position inDirection:(<API key>)direction offset:(NSInteger)offset; */ public abstract UITextPosition <API key>(UITextPosition position, int direction, int offset); /** * - (NSComparisonResult)comparePosition:(UITextPosition *)position toPosition:(UITextPosition *)other; */ public abstract int comparePosition(UITextPosition position, UITextPosition other); /** * - (NSInteger)offsetFromPosition:(UITextPosition *)from toPosition:(UITextPosition *)toPosition; */ public abstract int offsetFromPosition(UITextPosition from, UITextPosition toPosition); /** * - (UITextPosition *)positionWithinRange:(UITextRange *)range farthestInDirection:(<API key>)direction; */ public abstract UITextPosition <API key>(UITextRange range, int direction); /** * - (UITextRange *)<API key>:(UITextPosition *)position inDirection:(<API key>)direction; */ public abstract UITextRange <API key>(UITextPosition position, int direction); /** * - (<API key>)<API key>:(UITextPosition *)position inDirection:(<API key>)direction; */ public abstract int <API key>(UITextPosition position, int direction); /** * - (void)<API key>:(<API key>)writingDirection forRange:(UITextRange *)range; */ public abstract void <API key>(int writingDirection, UITextRange range); /** * - (CGRect)firstRectForRange:(UITextRange *)range; */ public abstract CGRect firstRectForRange(UITextRange range); /** * - (CGRect)<API key>:(UITextPosition *)position; */ public abstract CGRect <API key>(UITextPosition position); /** * - (UITextPosition *)<API key>:(CGPoint)point; */ public abstract UITextPosition <API key>(CGPoint point); /** * - (UITextPosition *)<API key>:(CGPoint)point withinRange:(UITextRange *)range; */ public abstract UITextPosition <API key>(CGPoint point, UITextRange range); /** * - (UITextRange *)<API key>:(CGPoint)point; */ public abstract UITextRange <API key>(CGPoint point); /** * - (NSDictionary *)<API key>:(UITextPosition *)position inDirection:(<API key>)direction; */ public abstract Map <API key>(UITextPosition position, int direction); /** * - (UITextPosition *)positionWithinRange:(UITextRange *)range atCharacterOffset:(NSInteger)offset; */ public abstract UITextPosition <API key>(UITextRange range, int offset); /** * - (NSInteger)<API key>:(UITextPosition *)position withinRange:(UITextRange *)range; */ public abstract int <API key>(UITextPosition position, UITextRange range); }
#include "dcmtk/config/osconfig.h" #include "dcmtk/dcmimgle/didislut.h" DiDisplayLUT::DiDisplayLUT(const unsigned long count, const Uint16 max, const double amb, const double illum) : DiBaseLUT(count, DicomImageClass::tobits(max, 0)), AmbientLight((amb > 0) ? amb : 0), Illumination((illum > 0) ? illum : 0) { } DiDisplayLUT::~DiDisplayLUT() { }
<?php /** * Test class for JForm. * * @package Joomla.UnitTest * @subpackage Form */ class <API key> extends JoomlaTestCase { /** * Sets up dependancies for the test. */ protected function setUp() { jimport('joomla.form.form'); jimport('joomla.form.formfield'); require_once JPATH_BASE.'/libraries/joomla/form/fields/language.php'; include_once dirname(dirname(__FILE__)).'/inspectors.php'; } /** * Test the getInput method. */ public function testGetInput() { $form = new JFormInspector('form1'); $this->assertThat( $form->load('<form><field name="language" type="language" /></form>'), $this->isTrue(), 'Line:'.__LINE__.' XML string should load successfully.' ); $field = new JFormFieldLanguage($form); $this->assertThat( $field->setup($form->getXml()->field, 'value'), $this->isTrue(), 'Line:'.__LINE__.' The setup method should return true.' ); $this->markTestIncomplete('Problems encountered in next assertion'); $this->assertThat( strlen($field->input), $this->greaterThan(0), 'Line:'.__LINE__.' The getInput method should return something without error.' ); // TODO: Should check all the attributes have come in properly. } }
# the name of the target operating system SET(CMAKE_SYSTEM_NAME Windows) # which compilers to use for C and C++ SET(CMAKE_C_COMPILER <API key>) SET(CMAKE_CXX_COMPILER i586-mingw32msvc-g++) SET( wxWidgets_ROOT_DIR /var/lib/buildbot/lib/mingw/wx/2.8/ ) # here is the target environment located SET(<API key> /usr/bin/i586-mingw32msvc /var/lib/buildbot/lib/mingw /var/lib/buildbot/lib/mingw/wx/2.8/include/wx-2.8) # adjust the default behaviour of the FIND_XXX() commands: # search headers and libraries in the target environment, search # programs in the host environment # SET(<API key> NEVER) # SET(<API key> ONLY) # SET(<API key> ONLY) SET( <API key> /var/lib/buildbot/lib/mingw/wx/2.8/bin/wx-config ) SET( wxWidgets_LIBRARIES wx_baseu-2.8-i586-mingw32msvc wx_mswu_core-2.8-i586-mingw32msvc wx_baseu_net-2.8-i586-mingw32msvc wx_mswu_adv-2.8-i586-mingw32msvc wx_mswu_aui-2.8-i586-mingw32msvc wx_mswu_html-2.8-i586-mingw32msvc wx_baseu_xml-2.8-i586-mingw32msvc) SET( <API key> /var/lib/buildbot/lib/mingw/wx/2.8/include/wx-2.8 /var/lib/buildbot/lib/mingw/wx/2.8/lib/wx/include/<API key>.8/) SET( wxWidgets_LIB_DIR /var/lib/buildbot/lib/mingw/wx/2.8/lib ) SET( <API key> mswu ) SET( <API key> ON ) SET( sdl_INCLUDE_DIR /var/lib/buildbot/lib/mingw/include/SDL ) SET( sdl_LIB_DIR /var/lib/buildbot/lib/mingw/lib ) SET( libcurl_INCLUDE_DIR /var/lib/buildbot/lib/mingw/include/ ) SET( libcurl_LIB_DIR /var/lib/buildbot/lib/mingw/lib/ ) SET( wxWidgets_RC_DIR /var/lib/buildbot/lib/mingw/wx/2.8/include/wx-2.8 ) SET( Boost_LIBRARIES <API key>.a <API key> <API key> <API key> ) SET( boost_LIB_DIR /var/lib/buildbot/lib/mingw/lib ) SET( boost_INCLUDE_DIR /var/lib/buildbot/lib/mingw/include ) link_directories( /var/lib/buildbot/lib/mingw/lib ) INCLUDE_DIRECTORIES(/var/lib/buildbot/lib/mingw/include /var/lib/buildbot/lib/mingw/include/zlib/ ) ADD_DEFINITIONS( -DWXUSINGDLL -D__WXMSW__)