- refactored libsys
- added critical section - added interrupt global enable/disable - added console::getInstanveByName git-svn-id: http://moon:8086/svn/mips@76 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
+2
-2
@@ -16,7 +16,7 @@ char * volatile pPtr_w;
|
||||
volatile int timeout_cnt;
|
||||
volatile int file_len;
|
||||
|
||||
void handler3(void)
|
||||
void handler3(struct xcptcontext *xcp)
|
||||
{
|
||||
volatile uint32_t *pUART_stat = (uint32_t*)SYS_UART0_STAT;
|
||||
volatile uint32_t *pUART_data = (uint32_t*)SYS_UART0_DATA;
|
||||
@@ -54,7 +54,7 @@ int main(int argc, char **argv)
|
||||
z_stream zs;
|
||||
time_t start_time, work_time;
|
||||
|
||||
UART0_setbaud(460800);
|
||||
UART_setbaud(con_getInstanceByName("UART-0"), 460800);
|
||||
|
||||
fprintf(stdout, "Reading gzipped stream..\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user