Skip to content

Commit

Permalink
multiboot2: remove unused stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
phip1611 committed Jun 19, 2023
1 parent 62daf2a commit 637f3c2
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions multiboot2/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -528,14 +528,6 @@ impl Reader {
self.read_u16() as u32 | (self.read_u16() as u32) << 16
}

pub(crate) fn read_u64(&mut self) -> u64 {
self.read_u32() as u64 | (self.read_u32() as u64) << 32
}

pub(crate) fn skip(&mut self, n: usize) {
self.off += n;
}

pub(crate) fn current_address(&self) -> usize {
unsafe { self.ptr.add(self.off) as usize }
}
Expand Down

0 comments on commit 637f3c2

Please sign in to comment.