Exemplo n.º 1
0
void pre_suspend(void)
{
#ifdef CONFIG_NETFRONT
    suspend_netfront();
#endif

    suspend_xenbus();

    local_irq_disable();

    suspend_gnttab();

    suspend_time();

    suspend_console();

    suspend_events();
}
Exemplo n.º 2
0
void suspend_networking(void)
{
  suspend_netfront(dev);
  up(&tcpip_is_up);
}