Initial commit: Loongson FPGA SoC project for 2026 CIC-IEC

This commit is contained in:
2026-06-23 01:22:45 +08:00
commit fbc993b846
181 changed files with 51135 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
#ifndef _UART_PRINT_H
#define _UART_PRINT_H
#define UART_PRINT(str)\
la a0, 1f;\
.section .rodata ;\
1: ;\
.asciz str ;\
.section .init ;\
bl %plt(puts)
#endif