You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Probably just hardcode how many IST stacks we create, and their indices
Allocate them using the kernel stack allocator (potentially for each CPU, see below)
Put all IST stacks in every CPUs (wait... do we need distinct stacks for every CPU [imagine if two CPUs page-fault, and then use the same stacks...] - maybe check what other people do)
Put the correct IST indices in the IDT entries for exceptions
To nicely detect kernel stack overflows:
Maybe extract symbols of the guard page for the initial kernel stack
Make some way of detecting guard pages for non-initial kernel stacks
Check for them in the #PF handler
The text was updated successfully, but these errors were encountered:
Remaining tasks:
To nicely detect kernel stack overflows:
#PF
handlerThe text was updated successfully, but these errors were encountered: