mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Update machine.mapPhysical's docstring for panic -> throw.
PiperOrigin-RevId: 476249730
This commit is contained in:
committed by
gVisor bot
parent
da7a6c2991
commit
c895fa2441
@@ -372,7 +372,7 @@ func (m *machine) hasSlot(physical uintptr) bool {
|
||||
// mapPhysical checks for the mapping of a physical range, and installs one if
|
||||
// not available. This attempts to be efficient for calls in the hot path.
|
||||
//
|
||||
// This panics on error.
|
||||
// This throws on error.
|
||||
//
|
||||
//go:nosplit
|
||||
func (m *machine) mapPhysical(physical, length uintptr, phyRegions []physicalRegion) {
|
||||
|
||||
Reference in New Issue
Block a user