Skip to content

Commit

Permalink
Build OK yay!
Browse files Browse the repository at this point in the history
  • Loading branch information
lupyuen committed Aug 3, 2023
1 parent 7a92743 commit 3c325ad
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 46 deletions.
8 changes: 4 additions & 4 deletions arch/risc-v/include/jh7110/irq.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* arch/risc-v/include/jh7110irq.h
* arch/risc-v/include/jh7110/irq.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand All @@ -18,8 +18,8 @@
*
****************************************************************************/

#ifndef __ARCH_RISCV_INCLUDE_JH7110IRQ_H
#define __ARCH_RISCV_INCLUDE_JH7110IRQ_H
#ifndef __ARCH_RISCV_INCLUDE_JH7110_IRQ_H
#define __ARCH_RISCV_INCLUDE_JH7110_IRQ_H

/****************************************************************************
* Included Files
Expand All @@ -33,4 +33,4 @@

#define NR_IRQS (RISCV_IRQ_SEXT + 127)

#endif /* __ARCH_RISCV_INCLUDE_JH7110IRQ_H */
#endif /* __ARCH_RISCV_INCLUDE_JH7110_IRQ_H */
14 changes: 7 additions & 7 deletions boards/risc-v/jh7110/star64/include/board_memorymap.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* boards/risc-v/jh7110/rv-virt/include/board_memorymap.h
* boards/risc-v/jh7110/star64/include/board_memorymap.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand All @@ -18,8 +18,8 @@
*
****************************************************************************/

#ifndef __BOARDS_RISCV_QEMURV_RVVIRT_INCLUDE_BOARD_MEMORYMAP_H
#define __BOARDS_RISCV_QEMURV_RVVIRT_INCLUDE_BOARD_MEMORYMAP_H
#ifndef __BOARDS_RISCV_JH7110_STAR64_INCLUDE_BOARD_MEMORYMAP_H
#define __BOARDS_RISCV_JH7110_STAR64_INCLUDE_BOARD_MEMORYMAP_H

/****************************************************************************
* Included Files
Expand All @@ -33,8 +33,8 @@

/* DDR start address */

#define QEMURV_DDR_BASE (0x40200000)
#define QEMURV_DDR_SIZE (0x40000000)
#define JH7110_DDR_BASE (0x40200000)
#define JH7110_DDR_SIZE (0x40000000)

/* Kernel code memory (RX) */

Expand All @@ -55,7 +55,7 @@
#define PGPOOL_SIZE (uintptr_t)__pgheap_size
#define PGPOOL_END (PGPOOL_START + PGPOOL_SIZE)

/* Ramdisk */
/* Ramdisk (RW) */

#define RAMDISK_START (uintptr_t)__ramdisk_start
#define RAMDISK_SIZE (uintptr_t)__ramdisk_size
Expand Down Expand Up @@ -85,4 +85,4 @@ extern uint8_t __pgheap_size[];
extern uint8_t __ramdisk_start[];
extern uint8_t __ramdisk_size[];

#endif /* __BOARDS_RISC_V_QEMURV_RVVIRT_INCLUDE_BOARD_MEMORYMAP_H */
#endif /* __BOARDS_RISCV_JH7110_STAR64_INCLUDE_BOARD_MEMORYMAP_H */
2 changes: 1 addition & 1 deletion boards/risc-v/jh7110/star64/src/jh7110_appinit.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* boards/risc-v/jh7110/rv-virt/src/jh7110_appinit.c
* boards/risc-v/jh7110/star64/src/jh7110_appinit.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand Down
68 changes: 34 additions & 34 deletions init.S
Original file line number Diff line number Diff line change
Expand Up @@ -25394,9 +25394,9 @@ SYMBOL TABLE:
0000000000008c3a l .text 0000000000000000 .L0
0000000000015568 l .rodata 0000000000000000 .LC4
0000000000008c42 l .text 0000000000000000 .L0
0000000000015570 l .rodata 0000000000000000 .LC5
0000000000015578 l .rodata 0000000000000000 .LC5
0000000000008c4a l .text 0000000000000000 .L0
0000000000015580 l .rodata 0000000000000000 .LC6
0000000000015588 l .rodata 0000000000000000 .LC6
0000000000008c68 l .text 0000000000000000 .L0
00000000000099b5 l .debug_abbrev 0000000000000000 .Ldebug_abbrev0
0000000000018d08 l .debug_str 0000000000000000 .LASF20
Expand Down Expand Up @@ -25466,7 +25466,7 @@ SYMBOL TABLE:
0000000000008bec l .text 0000000000000000 .L0
0000000000008c7a l .text 0000000000000000 .L0
0000000000000000 l df *ABS* 0000000000000000 pthread_attr_init.c
0000000000015588 l .rodata 0000000000000000 .LANCHOR0
0000000000015590 l .rodata 0000000000000000 .LANCHOR0
0000000000008c8a l .text 0000000000000000 .L0
0000000000008ca4 l .text 0000000000000000 .L3
0000000000009aa6 l .debug_abbrev 0000000000000000 .Ldebug_abbrev0
Expand Down Expand Up @@ -25691,9 +25691,9 @@ SYMBOL TABLE:
0000000000008cd4 l .text 0000000000000000 .L0
0000000000000000 l df *ABS* 0000000000000000 pthread_create.c
0000000000008cd4 l F .text 0000000000000030 pthread_startup
00000000000155a0 l .rodata 0000000000000000 .LC0
00000000000155a8 l .rodata 0000000000000000 .LC0
0000000000008cdc l .text 0000000000000000 .L0
00000000000155b8 l .rodata 0000000000000000 .LC1
00000000000155c0 l .rodata 0000000000000000 .LC1
0000000000008ce8 l .text 0000000000000000 .L0
0000000000008cf8 l .text 0000000000000000 .L2
0000000000008d0c l .text 0000000000000000 .L0
Expand Down Expand Up @@ -25996,9 +25996,9 @@ SYMBOL TABLE:
0000000000008d8a l .text 0000000000000000 .L0
0000000000008d7c l .text 0000000000000000 .L0
0000000000000000 l df *ABS* 0000000000000000 sched_getprioritymin.c
00000000000155d8 l .rodata 0000000000000000 .LC0
00000000000155e0 l .rodata 0000000000000000 .LC0
0000000000008d9e l .text 0000000000000000 .L0
00000000000155f8 l .rodata 0000000000000000 .LC1
0000000000015600 l .rodata 0000000000000000 .LC1
0000000000008daa l .text 0000000000000000 .L0
0000000000008dbc l .text 0000000000000000 .L2
000000000000a158 l .debug_abbrev 0000000000000000 .Ldebug_abbrev0
Expand Down Expand Up @@ -26049,9 +26049,9 @@ SYMBOL TABLE:
0000000000008db4 l .text 0000000000000000 .L0
0000000000008dbc l .text 0000000000000000 .L0
0000000000000000 l df *ABS* 0000000000000000 lib_psfa_addopen.c
0000000000015618 l .rodata 0000000000000000 .LC0
0000000000015620 l .rodata 0000000000000000 .LC0
0000000000008dde l .text 0000000000000000 .L0
0000000000015638 l .rodata 0000000000000000 .LC1
0000000000015640 l .rodata 0000000000000000 .LC1
0000000000008dea l .text 0000000000000000 .L0
0000000000008dde l .text 0000000000000000 .L2
0000000000008dfa l .text 0000000000000000 .L3
Expand Down Expand Up @@ -26171,9 +26171,9 @@ SYMBOL TABLE:
0000000000008e50 l .text 0000000000000000 .L0
0000000000008dd2 l .text 0000000000000000 .L0
0000000000000000 l df *ABS* 0000000000000000 lib_psfa_destroy.c
0000000000015658 l .rodata 0000000000000000 .LC0
0000000000015660 l .rodata 0000000000000000 .LC0
0000000000008e6c l .text 0000000000000000 .L0
0000000000015668 l .rodata 0000000000000000 .LC1
0000000000015670 l .rodata 0000000000000000 .LC1
0000000000008e78 l .text 0000000000000000 .L0
0000000000008e88 l .text 0000000000000000 .L2
0000000000008e9c l .text 0000000000000000 .L4
Expand Down Expand Up @@ -26290,9 +26290,9 @@ SYMBOL TABLE:
0000000000008eaa l .text 0000000000000000 .L0
0000000000008eb2 l .text 0000000000000000 .L0
0000000000000000 l df *ABS* 0000000000000000 lib_psa_init.c
0000000000015688 l .rodata 0000000000000000 .LC0
0000000000015690 l .rodata 0000000000000000 .LC0
0000000000008eba l .text 0000000000000000 .L0
0000000000015690 l .rodata 0000000000000000 .LC1
0000000000015698 l .rodata 0000000000000000 .LC1
0000000000008ec6 l .text 0000000000000000 .L0
0000000000008ed6 l .text 0000000000000000 .L2
0000000000008efe l .text 0000000000000000 .L3
Expand Down Expand Up @@ -26545,11 +26545,11 @@ SYMBOL TABLE:
0000000000008f86 l .text 0000000000000000 .L0
0000000000008f56 l .text 0000000000000000 .L0
0000000000000000 l df *ABS* 0000000000000000 lib_vasprintf.c
00000000000156a8 l .rodata 0000000000000000 .LC0
00000000000156b0 l .rodata 0000000000000000 .LC0
0000000000008faa l .text 0000000000000000 .L0
00000000000156b8 l .rodata 0000000000000000 .LC1
00000000000156c0 l .rodata 0000000000000000 .LC1
0000000000008fb6 l .text 0000000000000000 .L0
00000000000156d0 l .rodata 0000000000000000 .LC2
00000000000156d8 l .rodata 0000000000000000 .LC2
000000000000901c l .text 0000000000000000 .L0
0000000000008faa l .text 0000000000000000 .L2
0000000000008fc6 l .text 0000000000000000 .L3
Expand Down Expand Up @@ -27124,9 +27124,9 @@ SYMBOL TABLE:
0000000000000000 l df *ABS* 0000000000000000 lib_memoutstream.c
00000000000092ac l F .text 0000000000000064 memoutstream_puts
0000000000009310 l F .text 000000000000001c memoutstream_putc
0000000000015700 l .rodata 0000000000000000 .LC0
0000000000015708 l .rodata 0000000000000000 .LC0
00000000000092b6 l .text 0000000000000000 .L0
0000000000015708 l .rodata 0000000000000000 .LC1
0000000000015710 l .rodata 0000000000000000 .LC1
00000000000092c2 l .text 0000000000000000 .L0
00000000000092d2 l .text 0000000000000000 .L2
00000000000092e0 l .text 0000000000000000 .L3
Expand Down Expand Up @@ -27284,9 +27284,9 @@ SYMBOL TABLE:
0000000000000000 l df *ABS* 0000000000000000 lib_nulloutstream.c
000000000000935a l F .text 000000000000002e nulloutstream_puts
0000000000009388 l F .text 000000000000002a nulloutstream_putc
0000000000015728 l .rodata 0000000000000000 .LC0
0000000000015730 l .rodata 0000000000000000 .LC0
0000000000009360 l .text 0000000000000000 .L0
0000000000015730 l .rodata 0000000000000000 .LC1
0000000000015738 l .rodata 0000000000000000 .LC1
000000000000936c l .text 0000000000000000 .L0
000000000000937e l .text 0000000000000000 .L2
000000000000938c l .text 0000000000000000 .L0
Expand Down Expand Up @@ -29061,11 +29061,11 @@ SYMBOL TABLE:
0000000000009912 l .text 0000000000000000 .L0
00000000000098f2 l .text 0000000000000000 .L0
0000000000000000 l df *ABS* 0000000000000000 lib_chdir.c
0000000000015758 l .rodata 0000000000000000 .LC1
0000000000015760 l .rodata 0000000000000000 .LC1
0000000000009974 l .text 0000000000000000 .L0
0000000000015750 l .rodata 0000000000000000 .LC0
0000000000015758 l .rodata 0000000000000000 .LC0
0000000000009988 l .text 0000000000000000 .L0
0000000000015760 l .rodata 0000000000000000 .LC2
0000000000015768 l .rodata 0000000000000000 .LC2
0000000000009992 l .text 0000000000000000 .L0
00000000000099a6 l .text 0000000000000000 .L0
000000000000994e l .text 0000000000000000 .L2
Expand Down Expand Up @@ -29207,9 +29207,9 @@ SYMBOL TABLE:
0000000000009950 l .text 0000000000000000 .L0
0000000000009924 l .text 0000000000000000 .L0
0000000000000000 l df *ABS* 0000000000000000 lib_truncate.c
0000000000015768 l .rodata 0000000000000000 .LC0
0000000000015770 l .rodata 0000000000000000 .LC0
00000000000099de l .text 0000000000000000 .L0
0000000000015790 l .rodata 0000000000000000 .LC1
0000000000015798 l .rodata 0000000000000000 .LC1
00000000000099ea l .text 0000000000000000 .L0
00000000000099de l .text 0000000000000000 .L2
00000000000099fa l .text 0000000000000000 .L3
Expand Down Expand Up @@ -29662,8 +29662,8 @@ SYMBOL TABLE:
0000000000009ac0 l .text 0000000000000000 .L0
0000000000009a72 l .text 0000000000000000 .L0
0000000000000000 l df *ABS* 0000000000000000 lib_daysbeforemonth.c
00000000000157a8 l O .rodata 000000000000001a g_daysbeforemonth
00000000000157a8 l .rodata 0000000000000000 .LANCHOR0
00000000000157b0 l O .rodata 000000000000001a g_daysbeforemonth
00000000000157b0 l .rodata 0000000000000000 .LANCHOR0
0000000000009c02 l .text 0000000000000000 .L0
0000000000009c1c l .text 0000000000000000 .L2
000000000000c59b l .debug_abbrev 0000000000000000 .Ldebug_abbrev0
Expand Down Expand Up @@ -29837,9 +29837,9 @@ SYMBOL TABLE:
0000000000009d78 l .text 0000000000000000 .L18
0000000000009d24 l .text 0000000000000000 .L39
0000000000009c90 l .text 0000000000000000 .L3
00000000000157c8 l .rodata 0000000000000000 .LC0
00000000000157d0 l .rodata 0000000000000000 .LC0
0000000000009eae l .text 0000000000000000 .L0
00000000000157e8 l .rodata 0000000000000000 .LC1
00000000000157f0 l .rodata 0000000000000000 .LC1
0000000000009eba l .text 0000000000000000 .L0
0000000000009f8c l .text 0000000000000000 .L0
0000000000009e02 l .text 0000000000000000 .L68
Expand Down Expand Up @@ -30385,9 +30385,9 @@ SYMBOL TABLE:
0000000000009f9a l .text 0000000000000000 .L0
0000000000009fa4 l .text 0000000000000000 .L0
0000000000000000 l df *ABS* 0000000000000000 lib_getcwd.c
0000000000015810 l .rodata 0000000000000000 .LC1
0000000000015818 l .rodata 0000000000000000 .LC1
0000000000009fd8 l .text 0000000000000000 .L0
0000000000015808 l .rodata 0000000000000000 .LC0
0000000000015810 l .rodata 0000000000000000 .LC0
0000000000009fec l .text 0000000000000000 .L0
0000000000009fd2 l .text 0000000000000000 .L2
0000000000009fd8 l .text 0000000000000000 .L3
Expand Down Expand Up @@ -37440,7 +37440,7 @@ SYMBOL TABLE:
00000000000099cc g F .text 0000000000000064 truncate
00000000000018bc g F .text 0000000000000016 sem_clockwait
0000000000000b16 g F .text 0000000000000040 __ultoa_invert
0000000000015588 g O .rodata 0000000000000018 g_default_pthread_attr
0000000000015590 g O .rodata 0000000000000018 g_default_pthread_attr
0000000000008b6a g F .text 0000000000000080 dirname
0000000000000df2 g F .text 0000000000000004 lib_noflush
000000000000a960 g O .rodata 000000000000001c g_fmtcmdnotfound
Expand All @@ -37455,7 +37455,7 @@ SYMBOL TABLE:
000000000000a8e0 g O .rodata 000000000000001b g_fmtarginvalid
00000000000079c8 g F .text 0000000000000008 nsh_aliasfree
00000000000018d2 g F .text 000000000000000e sem_destroy
0000000000015814 g .rodata 0000000000000000 _srodata
000000000001581c g .rodata 0000000000000000 _srodata
0000000000008a1a g F .text 0000000000000010 tolower
0000000000001af4 g F .text 0000000000000096 nsh_newconsole
0000000000007c14 g F .text 000000000000000c malloc
Expand Down Expand Up @@ -37679,7 +37679,7 @@ SYMBOL TABLE:
00000000000047a4 g F .text 0000000000000076 cmd_rmdir
0000000000009d8e g F .text 000000000000020c getopt_common
0000000000007c02 g F .text 0000000000000012 free
0000000000015814 g .rodata 0000000000000000 _erodata
000000000001581c g .rodata 0000000000000000 _erodata
0000000000008770 g F .text 0000000000000046 mm_size2ndx
0000000000000008 g O .data 0000000000000028 g_getopt_vars

Expand Down
Binary file modified initrd
Binary file not shown.

0 comments on commit 3c325ad

Please sign in to comment.