Skip to content

Conversation

@chenyukang
Copy link
Contributor

A initial experiment version for task table.

proc seems still a keyword for compiler,
according to this: rust-lang/rust#19338, it should have been removed.
I found a bug? :)

@ckkashyap
Copy link
Owner

wow ... linking std is working? that is good news.
I looked for a task.c in xv6 but could not find it. What content of xv6 is in task.rs? Or is it just to exercise libstd?

@chenyukang
Copy link
Contributor Author

In xv6, it's named proc.c, if I named it as task.rs, then in kernel.rs

mod proc;

the compiler report an error for : "proc is a reserved keyword"

ckkashyap added a commit that referenced this pull request Jan 22, 2015
Task

oh, now I understand!
I think it will be a good idea to maintain a file where we do a mapping of symbol/filenames between rustix and xv6.
@ckkashyap ckkashyap merged commit 9d6c34f into ckkashyap:master Jan 22, 2015
@ckkashyap
Copy link
Owner

btw ... I just realised that libstd is not being linked .... so it seems we dont need stdlib

@chenyukang
Copy link
Contributor Author

yes, I forgotten remove that line in Makefile.

@ckkashyap
Copy link
Owner

It would be great if you could take up spinlock.rs ... the definition of cpu is pending .... which in turn depends on a few things

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants