initializing constant variable from file

I need a constant that should not change after initialization. Initialization value is stored in a file. How can i do this? The obvious way is to skip the “const” part and use it freely as a variable, which i resent, as it is really a constant.

By
Finley Bull
Handforth Dean Parking
Long Stay Parking

You should be able to read the variable in from the host, and pass into the kernel as a READ_ONLY buffer.