[okl4-developer] where is KUCB_BITS defined?

Ben Leslie benno at ok-labs.com
Tue Jun 19 06:20:43 EST 2007


On Mon Jun 18, 2007 at 16:13:08 +0900, Bae Seok Heon wrote:
>Hi All
>
>Maybe I think I found a mispelling word (KUCB_BITS)
>in Line 106
>
>okl4_release_1.4.1.1/pistachio/arch/ia32/include/arch/config.h
>
>101
>102 /* configuration for UTCBs */
>103 #define UTCB_PGSIZE             pgent_t::size_4k
>104 #define UTCB_PAGESIZE           (IA32_PAGE_SIZE)
>105 #define UTCB_BITS               (9)
>106 #define UTCB_SIZE               (1 << KUCB_BITS)
>107 #define UTCB_MASK               (~(UTCB_SIZE-1))
>108

Thanks for that. As Jorge pointed out, UTCB_SIZE is not actually used,
so this is not a bug. In fact these defines should probably be removed
as they are unused. Thanks for picking it up.

Cheers,

Ben




More information about the Developer mailing list