Skip to contentSkip to conversation

Poring BSD Libc

DISCUSSION Sagar Kadam 2 participants 5 messages Jul 8, 2011 – Jul 30, 2011

lore
Share & tools
lore
#0 lore raw

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)

#1 lore raw

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

Quoted 12 lines · Sagar Kadam

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)

#2 lore raw

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

#3 lore raw
Quoted 5 lines · Sagar Kadam

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?

Quoted 11 lines

Currently implementing pthread library.,

Sagar
The code is at:
https://github.com/ragas/Porting-libc

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#4 lore raw

The main.c file has the test code.
Running 'make' in main folder should compile everything.

Quoted 21 lines · Konrad Rzeszutek Wilk
Quoted 5 lines · Sagar Kadam

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?

Quoted 11 lines

Currently implementing pthread library.,

Sagar
The code is at:
https://github.com/ragas/Porting-libc

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Signature · 1 line
Sagar Kadam

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel