commit | 2650815fb03fe2bf1e6701584087ba669dcf92cd | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Wed Aug 26 16:52:40 2009 +0200 |
committer | Joerg Roedel <joerg.roedel@amd.com> | Thu Sep 03 16:15:34 2009 +0200 |
tree | 7b54969835f05ed3939fa91185e506842a056333 | |
parent | ac0101d396fee24994632f71b55b9f7f9ee16eff [diff] |
x86/amd-iommu: Add core functions for pd allocation/freeing This patch factors some code of protection domain allocation into seperate functions. This way the logic can be used to allocate the passthrough domain later. As a side effect this patch fixes an unlikely domain id leakage bug. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>