dspic33 port question: memory segments

I’m about to flash enable code protection feature on the dspic. I have a questions regard this feature as it relates to the kernel. The dspic has 3 code segments: boot, secure and general. Does the dspic port place itself in a specific segment or is it left to the user to decide where to place this? Thank you.

dspic33 port question: memory segments

It is up to the user.