blob: 639c564ca94d17ad21f9ff54da7e29a6a8f7d8aa [file] [log] [blame]
Daniel Stenberg0fc30d12006-08-01 22:28:14 +00001/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
Daniel Stenbergf2591d32006-08-03 09:19:32 +000010 * Copyright (C) 2006 Daniel Stenberg
Daniel Stenberg0fc30d12006-08-01 22:28:14 +000011 *
Daniel Stenberg0fc30d12006-08-01 22:28:14 +000012 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
14 *
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
17 *
18 ****************************************************************************/
19#include "config.h"
20
21#include <stdlib.h>
22#include <stdio.h>
23#include <string.h>
24#include "cpu.h"
25#include "system.h"
26#include "lcd.h"
27#include "kernel.h"
28#include "thread.h"
29#include "ata.h"
30#include "fat.h"
31#include "disk.h"
32#include "font.h"
33#include "adc.h"
34#include "backlight.h"
35#include "panic.h"
36#include "power.h"
37#include "file.h"
38
Daniel Stenberg57470492006-08-02 09:47:17 +000039void main(void)
Daniel Stenberg0fc30d12006-08-01 22:28:14 +000040{
Daniel Stenberg0fc30d12006-08-01 22:28:14 +000041 int i;
Daniel Stenbergf2591d32006-08-03 09:19:32 +000042
43 volatile unsigned short *ptr = (unsigned short *)0x14700000;
44
45 for(i=0; i< 10000; i++)
46 *ptr++=i;
47 while(1);
Daniel Stenberg0fc30d12006-08-01 22:28:14 +000048}
49
50/* These functions are present in the firmware library, but we reimplement
51 them here because the originals do a lot more than we want */
52
53void reset_poweroff_timer(void)
54{
55}
56
57int dbg_ports(void)
58{
59 return 0;
60}
61
62void mpeg_stop(void)
63{
64}
65
66void usb_acknowledge(void)
67{
68}
69
70void usb_wait_for_disconnect(void)
71{
72}
73
74void sys_poweroff(void)
75{
76}
77
78void system_reboot(void)
79{
80
81}