Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add POSIX support #90

Merged
merged 31 commits into from
Jan 14, 2022
Merged

Add POSIX support #90

merged 31 commits into from
Jan 14, 2022

Conversation

pranjalchanda08
Copy link
Contributor

No description provided.

@pranjalchanda08
Copy link
Contributor Author

#define EPERM error_op_not_perm // This is from status.h

We need to redefine all the codes. If we see all are positive integers. But CC works with negative error codes.

@pranjalchanda08 pranjalchanda08 added this to the Release #3 milestone Jan 4, 2022
@akashkollipara
Copy link
Member

#define EPERM error_op_not_perm // This is from status.h

We need to redefine all the codes. If we see all are positive integers. But CC works with negative error codes.

Yes... but use double -ve
like this #define ERERM -error_op_not_perm

*
* @note This function does NOT report the number of ticks spent by the calling thread.
*/
clock_t clock( void );
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for this we shall use our custom libc time.h format.

@akashkollipara akashkollipara requested review from shreeroopajay and removed request for gkunalupta January 4, 2022 18:35
@akashkollipara akashkollipara added critical update This is a critical update cyancore framework Cyancore framework feature request FR Add new feature or request terravisor Terravisor related issue labels Jan 4, 2022
@pranjalchanda08 pranjalchanda08 changed the base branch from cc-kernel-dev to development January 5, 2022 15:49
@pranjalchanda08 pranjalchanda08 changed the base branch from development to cc-kernel-dev January 5, 2022 16:00
@pranjalchanda08 pranjalchanda08 added the supervisor supervisor related issue label Jan 6, 2022
@akashkollipara
Copy link
Member

akashkollipara commented Jan 12, 2022

bro this branch has huge amount merge conflict with development... which is getting tracked indirectly
please have a look

@akashkollipara
Copy link
Member

Fixed the merge conflicts, but still the history is not linear...

akashkollipara and others added 21 commits January 14, 2022 01:05
- Added platform bootsrap support
- Updated linker script to support driver init
- Fixed memory alignment in linker script and section arrangement
- As the platform currently doesnt support reset source
  identification, the reset syndrome is by default pogrammed
  to "power on reset"
- Fixed machine call bug while parsing the handler table
- Added check for return pointers for arch_machine_call
- Updated FE310 platform support
- Updated projects to test riscv mcall
eg:
copy_to_remote: $(ELF)
	scp @^ <username>@<server>:/<path>
- Cleaned up project.mk and simplified targets assessment
- Updated remote copy feature
@akashkollipara akashkollipara self-requested a review January 14, 2022 06:41
@akashkollipara akashkollipara marked this pull request as ready for review January 14, 2022 06:42
@akashkollipara
Copy link
Member

Merging it into cc-kernel to avoid conflicts...

@akashkollipara akashkollipara merged commit 92dff9f into cc-kernel-dev Jan 14, 2022
@akashkollipara akashkollipara deleted the fr-cc-posix branch January 14, 2022 06:43
@akashkollipara akashkollipara restored the fr-cc-posix branch January 14, 2022 06:54
@akashkollipara akashkollipara deleted the fr-cc-posix branch January 14, 2022 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
critical update This is a critical update cyancore framework Cyancore framework feature request FR Add new feature or request supervisor supervisor related issue terravisor Terravisor related issue
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

FR: Add support for unified POSIX framework to support multiple kernel support to CC
2 participants