Maybe it's time to commit parts of S/390 port?

2002-09-27 Thread Serguei Tzukanov
Hi! Just want to let your know I can send some patches to be committed to -current. Anyone interested? I'am asking because I tried to communicate with some FreeBSD people this week, but their did't respond for unknown reason (busy?). To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscri

Re: A question about S/390 port

2002-07-11 Thread Serguei Tzukanov
On Thursday 11 July 2002 18:43, Jake Burkholder wrote: > Where exactly in init are you trying to print? If you're in the > single_user function, you can only use stdio in the forked child > after it calls setctty. Before that you have to open an fd on > /dev/console yourself and write(2) to it, o

Re: A question about S/390 port

2002-07-10 Thread Serguei Tzukanov
On Thursday 11 July 2002 02:45, Jake Burkholder wrote: > > I think this is because your console driver (hc) doesn't have a tty > interface, just the low level cn* stuff. If you look at the > ofw_console driver, it provides a rudimentary tty interface using > polling and cngetc, cnputc equivalents

Re: A question about S/390 port

2002-07-10 Thread Serguei Tzukanov
On Wednesday 10 July 2002 23:04, Julian Elischer wrote: > OK so I have to ask.. S/390 as in IBM Mainframem S/390? Yeas, ESA/390. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: A question about S/390 port

2002-07-10 Thread Serguei Tzukanov
> td_retval[0] is the low word, and td_retval[1] is the high word, you > just need to make sure the values from those two words get returned > properly to userland. 1) syscall returns 32-bit value: r2 = rv[0]; r3 = rv[1]; r3 is irrelevant here (ABI: "32-bit values returne

A question about S/390 port

2002-07-10 Thread Serguei Tzukanov
Some working notes. I've written the libc/csu part, kernel successfully starts init and init forks off for the execve of -sh, (http://tzukanov.narod.ru/freebsd390/bootlog.txt) but there is problem with printing from userland, e.g. output from userland are not visible. Write syscall to descs 1,2

S/390 port status

2002-07-01 Thread Serguei Tzukanov
Reaches mount root prompt in emulator. More info is on http://tzukanov.narod.ru/freebsd390/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message