- minor changes
Committed on the Free edition of March Hare Software CVSNT Server. Upgrade to CVS Suite for more features and support: http://march-hare.com/cvsnt/ git-svn-id: http://moon:8086/svn/vhdl/trunk@629 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
@@ -15,7 +15,7 @@ PROG = hello.elf testbench.elf test_irq.elf dhry.elf queens.elf stanford.elf par
|
||||
|
||||
all: $(PROG)
|
||||
|
||||
libsys.a: startup.S kernel.S libsys.c xcpt.c irq.c
|
||||
libsys.a: startup.S kernel.S libsys.c xcpt.c irq.c dbg.c mipsdis.c
|
||||
$(CC) $(CFLAGS) -G 0 -c startup.S -o startup.o
|
||||
$(CC) $(CFLAGS) -G 0 -c kernel.S -o kernel.o
|
||||
$(CC) $(CFLAGS) -G 0 -c libsys.c -o libsys.o
|
||||
|
||||
@@ -233,7 +233,7 @@ void dbg_handler(struct xcptcontext * xcp)
|
||||
do
|
||||
{
|
||||
leave_isr = 0;
|
||||
switch(readchar(0))
|
||||
switch(_getchar())
|
||||
{
|
||||
case 'g':
|
||||
leave_isr = 1;
|
||||
|
||||
@@ -148,7 +148,7 @@ void print_word(int word);
|
||||
void _exit (int exitcode);
|
||||
void sleep(unsigned ms);
|
||||
|
||||
char _getch(void);
|
||||
char _getchar(void);
|
||||
|
||||
void PrintBuffer8(UINT8 *pBuf, int nbpr, int len);
|
||||
void memdump(UINT8 *pBuf, int print_offset_only, int num_bytes_per_row, int len);
|
||||
|
||||
Reference in New Issue
Block a user