Re: What is the relavence of FIXUPVAR, and K flag in the BIB files

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Steve Maillet \(eMVP\) (nospam1_at_EntelechyConsulting.com)
Date: 01/16/05


Date: Sun, 16 Jan 2005 12:21:56 -0500

1) Yes FIXUPVAR documentation is correct. It allows you to specify in a BIB
file a replacement of some value in the code. ROMIMAGE will replace the
value of the variable in the code with the one in the BIB file at build
time. This is useful in cases where you are given binary code from a silicon
vendor for their latest ad greatest hot chip and need to use it in a boot
loader or OAL with a hard coded address. Since they don't give you the
source you can use that. (Granted this is a bit contrived example as there
are better ways to handle that scenario) In the end it's only used VERY
rarely and you should think REAL hard about finding another way anytime
someone suggest using this.

2) K flag fixes up the DLL to run in the kernel space (Above the 2G mark) in
windows CE V1.0-V3.0 all dlls were loaded in to process slot 0. in V4.x this
was changed to solve a number of problems and as a result the kernel was
moved out of a process slot (slot1) and placed in the kernel space above 2G.
This means that special fixups must be applied to have a DLL loaded into the
kernel's space. This is needed in 2 cases CELOG dlls and Installable ISR
DLLs

-- 
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com


Relevant Pages

  • Re: IOCTL within Kernel-Mode?
    ... It is true that IOCTLs can be issued from kernel space. ... that your DLL has other code that is not suitable to kernel space; ... "Wolfgang" wrote in message ... Is it possible to use IOCTL within kernel-mode, ...
    (microsoft.public.development.device.drivers)
  • Re: DLL File
    ... need to use this order of RegSvrCE? ... To include a DLL in your OS image you should add an entry to a .bib ... (l'indirizzo di reply di questo messaggio non è ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How to prevent XIP
    ... If the DLL is decompressed into RAM it will reside in the Slot 0. ... let the display driver loaded into Kernel Space (that can reduce the TLB ... >> Embedded newsgroups? ...
    (microsoft.public.windowsce.platbuilder)
  • Cant load device with KITL?
    ... I want to debug my device driver. ... So I have removed the Dll from the BIB ... Added the reg settings to the platform.reg file. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: OpenNetCf dlls
    ... Remember that it's a managed code DLL, ... It can't be in the MODULES section of your BIB file... ... Exception. ...
    (microsoft.public.windowsce.platbuilder)