aboutsummaryrefslogtreecommitdiffstats
path: root/docs/tmk_readme.md
diff options
context:
space:
mode:
authorLasko Height <lasko@nastyninja.net>2016-02-11 20:46:12 -0800
committerLasko Height <lasko@nastyninja.net>2016-02-11 20:46:12 -0800
commit006d277ec1f902d80aac77d4535274d5d1aac53a (patch)
tree9fe18ec7e64d7e1c3c07b3c720ff4859c6c4decb /docs/tmk_readme.md
parentd3488f131c277a444b42224289af4cf36956ce22 (diff)
downloadfirmware-006d277ec1f902d80aac77d4535274d5d1aac53a.tar.gz
firmware-006d277ec1f902d80aac77d4535274d5d1aac53a.tar.bz2
firmware-006d277ec1f902d80aac77d4535274d5d1aac53a.zip
Added a Tenkey layer and moved the del key
Diffstat (limited to 'docs/tmk_readme.md')
0 files changed, 0 insertions, 0 deletions
a> 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225
/*
 *
 *  Copyright (C) 2007-2008 OpenWrt.org
 *  Copyright (C) 2007-2008 Gabor Juhos <juhosg at openwrt.org>
 *
 *  This code was based on the information of the ZyXEL's firmware
 *  image format written by Kolja Waschk, can be found at:
 *  http://www.ixo.de/info/zyxel_uclinux
 *
 *  This program is free software; you can redistribute it and/or modify it
 *  under the terms of the GNU General Public License version 2 as published
 *  by the Free Software Foundation.
 *
 */

#ifndef _ZYNOS_H
#define _ZYNOS_H

#define BOOTBASE_NAME_LEN	32
#define BOOTBASE_MAC_LEN	6
#define BOOTBASE_FEAT_LEN	22

#define BOOTEXT_DEF_SIZE	0x18000

struct zyn_bootbase_info {
	char		vendor[BOOTBASE_NAME_LEN]; /* Vendor name */
	char		model[BOOTBASE_NAME_LEN]; /* Model name */
	uint32_t	bootext_addr;	/* absolute address of the Boot Extension */
	uint16_t	res0;		/* reserved/unknown */
	uint8_t		sys_type;	/* system type */
	uint8_t		res1;		/* reserved/unknown */
	uint16_t	model_id;	/* model id */
	uint8_t		feat_other[BOOTBASE_FEAT_LEN]; /* other feature bits */
	uint8_t		feat_main;	/* main feature bits */
	uint8_t		res2;		/* reserved/unknown */
	uint8_t		mac[BOOTBASE_MAC_LEN]; /* mac address */