On Mon, Mar 19, 2007 at 07:23:25AM -0400, linux-os (Dick Johnson) wrote:
>
> On Sun, 18 Mar 2007, Ahmed S. Darwish wrote:
>
> > Hi list,
> >
> > Reading the kernel threads initialization code I see:
> >
> > int kernel_thread(...) {
> >
> > struct pt_regs regs;
> > memset(, 0,
On Mon, Mar 19, 2007 at 07:23:25AM -0400, linux-os (Dick Johnson) wrote:
On Sun, 18 Mar 2007, Ahmed S. Darwish wrote:
Hi list,
Reading the kernel threads initialization code I see:
int kernel_thread(...) {
struct pt_regs regs;
memset(regs, 0, sizeof(regs));
[...]
On Sun, 18 Mar 2007, Ahmed S. Darwish wrote:
> Hi list,
>
> Reading the kernel threads initialization code I see:
>
> int kernel_thread(...) {
>
> struct pt_regs regs;
> memset(, 0, sizeof(regs));
> [...]
> **regs.xds = __USER_DS;
> **regs.xes = __USER_DS;
> [...]
On Sun, 18 Mar 2007, Ahmed S. Darwish wrote:
Hi list,
Reading the kernel threads initialization code I see:
int kernel_thread(...) {
struct pt_regs regs;
memset(regs, 0, sizeof(regs));
[...]
**regs.xds = __USER_DS;
**regs.xes = __USER_DS;
[...]
On Mon, Mar 19, 2007 at 12:58:31AM +0200, ahmed wrote:
>
> P.S. I've tried commenting out both lines which led to a non functional init,
> Also setting them to __USER_DS made init start but stopped issuing the error:
> `Panic: Segment violation at 0x8049798 - Sleeping for 30 seconds'
>
Sorry, I
Hi list,
Reading the kernel threads initialization code I see:
int kernel_thread(...) {
struct pt_regs regs;
memset(, 0, sizeof(regs));
[...]
** regs.xds = __USER_DS;
** regs.xes = __USER_DS;
[...]
/* Ok, create the new process.. */
Hi list,
Reading the kernel threads initialization code I see:
int kernel_thread(...) {
struct pt_regs regs;
memset(regs, 0, sizeof(regs));
[...]
** regs.xds = __USER_DS;
** regs.xes = __USER_DS;
[...]
/* Ok, create the new process.. */
On Mon, Mar 19, 2007 at 12:58:31AM +0200, ahmed wrote:
P.S. I've tried commenting out both lines which led to a non functional init,
Also setting them to __USER_DS made init start but stopped issuing the error:
`Panic: Segment violation at 0x8049798 - Sleeping for 30 seconds'
Sorry, I
8 matches
Mail list logo