x86-64 syscall ABI conventions
To start with the FPC port for x86-64, I've objdumped an empty C prg on an x86-64, and read the abi document on x86-64.org, but don't understand the move rcx,r10 before each syscall. Why is this done? What is exactly saved? If it is a save, where is it restored from r10? E.g. 00402094 __sys_sigaction: 402094: 48 c7 c0 a0 01 00 00mov$0x1a0,%rax 40209b: 49 89 camov%rcx,%r10- This one 40209e: 0f 05 syscall 4020a0: 72 01 jb 4020a3 __sys_sigaction+0xf 4020a2: c3 retq I did notice that the x86-64 linux abi mentions rcx as being destroyed by the kernel. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
md(8) panic
Hi, I am trying to access some ancient 5 1/4 floppies, with 256 byte sectors. Leaving aside the interesting hardware problems, the filesystem on these disks is (surprisingly enough) not supported on -CURRENT. While attempting to write one, I ran: # mdconfig -a -t malloc -S 256 -s 20 Thinking that this would give me some fake media to play with. Instead, it panics the box. This happens at line 809 of md.c version 1.222 which says: sc-nsect /= (sc-secsize / DEV_BSIZE); (where sc-secsize has been initialised to 256, as per my request). It would be easy to check for, and reject, such requests, but should md(8) allow people to create such devices? Or am I being silly in even asking for it? Cheers, Mike -- Mike Bristow - http://www.urgle.com/~mike/ - [EMAIL PROTECTED] Who is the most famous woman in America? Squash. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPC nsswitch implementation
On Fri, 5 Mar 2004, Michael Bushkov wrote: Some time ago there was a discussion concerning in-process vs. IPC nsswitch implementation. We agreed that we should develop an example of IPC implementation and ask for a discussion. We are glad to present you sample implementation of the IPC nsswitch model. can you release a new version with copyright and license information for each source file? has any further work been done since the original release? -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]