Add the null implementation of stack_save and stack_save_td.
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
21227b55b3
commit
9e68017553
@ -43,11 +43,18 @@ __FBSDID("$FreeBSD$");
|
||||
void
|
||||
stack_save_td(struct stack *st, struct thread *td)
|
||||
{
|
||||
panic("stack_save_td");
|
||||
|
||||
if (TD_IS_SWAPPED(td))
|
||||
panic("stack_save_td: swapped");
|
||||
if (TD_IS_RUNNING(td))
|
||||
panic("stack_save_td: running");
|
||||
|
||||
stack_zero(st);
|
||||
}
|
||||
|
||||
void
|
||||
stack_save(struct stack *st)
|
||||
{
|
||||
panic("stack_save");
|
||||
|
||||
stack_zero(st);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user