@@ -53,7 +53,7 @@ impl<'a, P: PhysToVirt> MappedPageTable<'a, P> {
53
53
allocator : & mut A ,
54
54
) -> Result < MapperFlush < Size1GiB > , MapToError < Size1GiB > >
55
55
where
56
- A : FrameAllocator < Size4KiB > ,
56
+ A : FrameAllocator < Size4KiB > + ? Sized ,
57
57
{
58
58
let p4 = & mut self . level_4_table ;
59
59
let p3 = self . page_table_walker . create_next_table (
@@ -81,7 +81,7 @@ impl<'a, P: PhysToVirt> MappedPageTable<'a, P> {
81
81
allocator : & mut A ,
82
82
) -> Result < MapperFlush < Size2MiB > , MapToError < Size2MiB > >
83
83
where
84
- A : FrameAllocator < Size4KiB > ,
84
+ A : FrameAllocator < Size4KiB > + ? Sized ,
85
85
{
86
86
let p4 = & mut self . level_4_table ;
87
87
let p3 = self . page_table_walker . create_next_table (
@@ -114,7 +114,7 @@ impl<'a, P: PhysToVirt> MappedPageTable<'a, P> {
114
114
allocator : & mut A ,
115
115
) -> Result < MapperFlush < Size4KiB > , MapToError < Size4KiB > >
116
116
where
117
- A : FrameAllocator < Size4KiB > ,
117
+ A : FrameAllocator < Size4KiB > + ? Sized ,
118
118
{
119
119
let p4 = & mut self . level_4_table ;
120
120
let p3 = self . page_table_walker . create_next_table (
@@ -153,7 +153,7 @@ impl<'a, P: PhysToVirt> Mapper<Size1GiB> for MappedPageTable<'a, P> {
153
153
allocator : & mut A ,
154
154
) -> Result < MapperFlush < Size1GiB > , MapToError < Size1GiB > >
155
155
where
156
- A : FrameAllocator < Size4KiB > ,
156
+ A : FrameAllocator < Size4KiB > + ? Sized ,
157
157
{
158
158
self . map_to_1gib ( page, frame, flags, parent_table_flags, allocator)
159
159
}
@@ -261,7 +261,7 @@ impl<'a, P: PhysToVirt> Mapper<Size2MiB> for MappedPageTable<'a, P> {
261
261
allocator : & mut A ,
262
262
) -> Result < MapperFlush < Size2MiB > , MapToError < Size2MiB > >
263
263
where
264
- A : FrameAllocator < Size4KiB > ,
264
+ A : FrameAllocator < Size4KiB > + ? Sized ,
265
265
{
266
266
self . map_to_2mib ( page, frame, flags, parent_table_flags, allocator)
267
267
}
@@ -389,7 +389,7 @@ impl<'a, P: PhysToVirt> Mapper<Size4KiB> for MappedPageTable<'a, P> {
389
389
allocator : & mut A ,
390
390
) -> Result < MapperFlush < Size4KiB > , MapToError < Size4KiB > >
391
391
where
392
- A : FrameAllocator < Size4KiB > ,
392
+ A : FrameAllocator < Size4KiB > + ? Sized ,
393
393
{
394
394
self . map_to_4kib ( page, frame, flags, parent_table_flags, allocator)
395
395
}
@@ -643,7 +643,7 @@ impl<P: PhysToVirt> PageTableWalker<P> {
643
643
allocator : & mut A ,
644
644
) -> Result < & ' b mut PageTable , PageTableCreateError >
645
645
where
646
- A : FrameAllocator < Size4KiB > ,
646
+ A : FrameAllocator < Size4KiB > + ? Sized ,
647
647
{
648
648
let created;
649
649
0 commit comments