loader_prompt.c (161202) | loader_prompt.c (161370) |
---|---|
1/****************************************************************************** 2 * 3 * Filename: loader_prompt.c 4 * 5 * Instantiation of the interactive loader functions. 6 * 7 * Revision information: 8 * --- 5 unchanged lines hidden (view full) --- 14 * No warranty, expressed or implied, is included with this software. It is 15 * provided "AS IS" and no warranty of any kind including statutory or aspects 16 * relating to merchantability or fitness for any purpose is provided. All 17 * intellectual property rights of others is maintained with the respective 18 * owners. This software is not copyrighted and is intended for reference 19 * only. 20 * END_BLOCK 21 * | 1/****************************************************************************** 2 * 3 * Filename: loader_prompt.c 4 * 5 * Instantiation of the interactive loader functions. 6 * 7 * Revision information: 8 * --- 5 unchanged lines hidden (view full) --- 14 * No warranty, expressed or implied, is included with this software. It is 15 * provided "AS IS" and no warranty of any kind including statutory or aspects 16 * relating to merchantability or fitness for any purpose is provided. All 17 * intellectual property rights of others is maintained with the respective 18 * owners. This software is not copyrighted and is intended for reference 19 * only. 20 * END_BLOCK 21 * |
22 * $FreeBSD: head/sys/boot/arm/at91/bootiic/loader_prompt.c 161202 2006-08-10 19:55:52Z imp $ | 22 * $FreeBSD: head/sys/boot/arm/at91/bootiic/loader_prompt.c 161370 2006-08-16 23:39:58Z imp $ |
23 *****************************************************************************/ 24 25#include "at91rm9200_lowlevel.h" 26#ifdef SUPPORT_TAG_LIST 27#include "tag_list.h" 28#endif 29#include "emac.h" 30#include "loader_prompt.h" --- 230 unchanged lines hidden (view full) --- 261 { 262 // "m <mac address 12 34 56 78 9a bc> 263 // set mac address using 6 byte values 264 unsigned char mac[6]; 265 266 if (argc > 6) { 267 for (i = 0; i < 6; i++) 268 mac[i] = p_ASCIIToHex(argv[i + 1]); | 23 *****************************************************************************/ 24 25#include "at91rm9200_lowlevel.h" 26#ifdef SUPPORT_TAG_LIST 27#include "tag_list.h" 28#endif 29#include "emac.h" 30#include "loader_prompt.h" --- 230 unchanged lines hidden (view full) --- 261 { 262 // "m <mac address 12 34 56 78 9a bc> 263 // set mac address using 6 byte values 264 unsigned char mac[6]; 265 266 if (argc > 6) { 267 for (i = 0; i < 6; i++) 268 mac[i] = p_ASCIIToHex(argv[i + 1]); |
269 SetMACAddress(mac); | 269 EMAC_SetMACAddress(mac); |
270 } 271 break; 272 } 273 274 case COMMAND_SET: 275 { 276 // s <index> <new boot command> 277 // set the boot command at index (0-based) --- 110 unchanged lines hidden --- | 270 } 271 break; 272 } 273 274 case COMMAND_SET: 275 { 276 // s <index> <new boot command> 277 // set the boot command at index (0-based) --- 110 unchanged lines hidden --- |