-
Notifications
You must be signed in to change notification settings - Fork 31
Closed
Labels
arch: noneAffects common code across architecturesAffects common code across architecturesarch: x86Affects the x86 portAffects the x86 portbugSomething isn't working as it shouldSomething isn't working as it shouldcode qualityAn issue of source code qualityAn issue of source code quality
Milestone
Description
There are some cases where a u32 is used but a usize is better as it would scale up on a 64 bit architecture. These should be changed to make the code more versatile.
Found culprits are:
kmap_endandkmap_startin panic.init should be declared as usizemod_startandmod_endin panic.init should be casted to a usizearch.MEMORY_BLOCK_SIZE,pmm.BLOCK_SIZEandvmm.BLOCK_SIZEshould be usizemem.MemProfile.mem_kbBitmap.initshould accept the number of entries as a usize- Bitmap types should use usize as the entry type
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
arch: noneAffects common code across architecturesAffects common code across architecturesarch: x86Affects the x86 portAffects the x86 portbugSomething isn't working as it shouldSomething isn't working as it shouldcode qualityAn issue of source code qualityAn issue of source code quality