Hello, I am working on Porting BSD libc. The library is taken from OpenBSD and modified as needed. Syscalls related to printf etc work. Most of the other syscalls are just plugged in and do nothing. The major trouble for me is to port malloc and related functions and how the scheduler is working. They go in page faults and I am trying to locate the problem. The code is at: https://github.com/ragas/Porting-libc I am working on Block access right now and lagging as per planned schedule ( The block access should have been complete by now) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Hi, The progress with porting BSD libc. 1. The character device is complete. 2. Block device is accessible. -- Some testing has to be done for completing the sector reading. Next in line: Implementation of POSIX pthread for the Mini-OS. -Sagar On 07/08/2011 08:41 AM, Sagar Kadam wrote:> Hello, > I am working on Porting BSD libc. The library is taken from OpenBSD > and modified as needed. > Syscalls related to printf etc work. > Most of the other syscalls are just plugged in and do nothing. > > The major trouble for me is to port malloc and related functions and > how the scheduler is working. They go in page faults and I am trying > to locate the problem. > > The code is at: > https://github.com/ragas/Porting-libc > > I am working on Block access right now and lagging as per planned > schedule ( The block access should have been complete by now) >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Hi, The progress with porting BSD libc. The character device and block device are accessible. A small test program is available to test the functioning. Currently implementing pthread library., Sagar The code is at: https://github.com/ragas/Porting-libc _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Fri, Jul 22, 2011 at 07:06:51PM -0400, Sagar Kadam wrote:> Hi, > The progress with porting BSD libc. > The character device and block device are accessible. > A small test program is available to test the functioning. >How do I get it compiled in? The mini-os does not seem to have it?> Currently implementing pthread library., > > Sagar > The code is at: > https://github.com/ragas/Porting-libc > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
The main.c file has the test code. Running ''make'' in main folder should compile everything. On Fri, Jul 29, 2011 at 10:53 AM, Konrad Rzeszutek Wilk < konrad.wilk@oracle.com> wrote:> On Fri, Jul 22, 2011 at 07:06:51PM -0400, Sagar Kadam wrote: > > Hi, > > The progress with porting BSD libc. > > The character device and block device are accessible. > > A small test program is available to test the functioning. > > > > How do I get it compiled in? The mini-os does not seem to have it? > > > Currently implementing pthread library., > > > > Sagar > > The code is at: > > https://github.com/ragas/Porting-libc > > > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel >-- Sagar Kadam _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel