-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preliminary support code for Ingenic (needs to be reworked since fork…
…ing causes issues with libimp), added independent builds for infinity6b0, fixed regions for hardware that have less granularity over their dimensions
- Loading branch information
Showing
31 changed files
with
10,087 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
/firmware | ||
/toolchain | ||
/osd/osd* | ||
/osd/osd-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,27 @@ | ||
#include <stdio.h> | ||
|
||
int __ctype_b; | ||
#ifdef __INGENIC__ | ||
#include <sys/syscall.h> | ||
#include <unistd.h> | ||
#endif | ||
|
||
void __ctype_b(void) {} | ||
|
||
int __fgetc_unlocked(FILE *stream) { | ||
return fgetc(stream); | ||
} | ||
|
||
size_t _stdlib_mb_cur_max(void) { | ||
return 0; | ||
} | ||
} | ||
|
||
#ifdef __INGENIC__ | ||
void __assert(void) {} | ||
void __ctype_tolower(void) {} | ||
void __pthread_register_cancel(void) {} | ||
void __pthread_unregister_cancel(void) {} | ||
|
||
void *mmap(void *start, size_t len, int prot, int flags, int fd, unsigned int off) { | ||
return (void *)syscall(SYS_mmap2, start, len, prot, flags, fd, off >> 12); | ||
} | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.