difference between unix and genunix files

Hi,

    Please explain difference between unix and genunix files in solaris.

Thanks in advance

They are both components combined to form the kernel at boot time. genunix is generic while there are several variants of unix depending on the architecture.

The unix kernel program is a combination of 2 programs 1.genunix (generic unix) and 2.unix.
The genunix part is common for all architectures irrespective of sparc or x86, etc. So that program code will be the same for all architecture. (platform -independent).
but the unix part is written specifically for an architecture. (unix for sparc and unix for x86). so , it is platform dependant.

While booting these 2 will be combined to form a UNIX kernel, which manages our system.
hope i am correct.

This is partially incorrect.

While the source code used to build them is common, the genunix file binary content is different from an x86 to an SPARC architecture and also between a 32 bit (x86) and a 64 bit (amd64/x64) mode.

thanks for the correction.