[Top] [All Lists]

Re: Magic numbers about stack layout

Subject: Re: Magic numbers about stack layout
From: Atsushi Nemoto <>
Date: Wed, 22 Aug 2001 16:15:29 +0900 (JST)
In-reply-to: <>
Organization: TOSHIBA Personal Computer System Corporation
References: <> <>
>>>>> On Wed, 22 Aug 2001 08:46:01 +0200 (MET DST), Hartvig Ekner 
>>>>> <> said:
hartvige> what is the purpose of replacing the magic numbers with code
hartvige> analysis?

The magic numbers are affected by frame size of some kernel functions
such as schedule(), sleep_on(), etc.  These values may change for
various reason (code modification, new compiler, more optimize, ...).

hartvige> And what will happen when you run userland with MIPS16 or
hartvige> MIPS16e code?

Nothing.  The targets of this analysis are only kernel functions.

Atsushi Nemoto

<Prev in Thread] Current Thread [Next in Thread>