Hi FreeBSD lovers I can't remember if I'm on the list, so please CC to me. I used to program in C++ and assembly under windows, but now I only run FreeBSD (4.7). I have to get used to not playing with BIOS interrupts and direct hardware accessing, but I'll live. My questions are: 1. Can you guide my to some good info on asm programming under FreeBSD (I have read www.int80h.org/bsdasm) 2. /usr/src/sys/kern/syscalls.master gives argument passing info, but it doesn't tell you about the function returns. I have read that for most parts it is in EAX, but I wan't to be 100% where the return value is. Btw why do we need to pad arguments? 3. Why do BSD use the stack and not the registres to pass arguments to functions? I bet there is a really good reason, but isn't the Linux/Windows way better performancewise? 4. I would really like to know more (everything) about the ELF file format (this is the primary format in FreeBSD right?) So can you recommend some good links? I would like to know things like the use of .bss (the heap right?), .text, .data and also about the linker (ld). 5. When you run int 80h that happens? Is the functions staticly in the kernel and thereby in RAM or will the kernel use a .so file? If so, how does it know which file to use? (I am trying to see the whole picture, how things fit together)
I hope can/will answer these questions :-) br socketd To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message