Subversion Repositories HelenOS-historic

Rev

Rev 1257 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1257 Rev 1587
Line 25... Line 25...
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
29
#include <proc/task.h>
29
#include <proc/task.h>
-
 
30
#include <mm/slab.h>
30
#include <arch/types.h>
31
#include <arch/types.h>
31
 
32
 
32
/** Perform amd64 specific task initialization.
33
/** Perform amd64 specific task initialization.
33
 *
34
 *
34
 * @param t Task to be initialized.
35
 * @param t Task to be initialized.
Line 36... Line 37...
36
void task_create_arch(task_t *t)
37
void task_create_arch(task_t *t)
37
{
38
{
38
    t->arch.iomapver = 0;
39
    t->arch.iomapver = 0;
39
    bitmap_initialize(&t->arch.iomap, NULL, 0);
40
    bitmap_initialize(&t->arch.iomap, NULL, 0);
40
}
41
}
-
 
42
 
-
 
43
/** Perform amd64 specific task destruction.
-
 
44
 *
-
 
45
 * @param t Task to be initialized.
-
 
46
 */
-
 
47
void task_destroy_arch(task_t *t)
-
 
48
{
-
 
49
    if (t->arch.iomap.map)
-
 
50
        free(t->arch.iomap.map);
-
 
51
}