---
title: update
framework: kernel
role: pseudoSymbol
path: kernel/ioconfigdirectory/1811231-update
---

# update

## Declaration

```occ
virtual IOReturn update(
 UInt32 offset,
 const UInt32 *&romBase) = 0; 
```

## Return Value

Return Value kIOReturnSuccess if the specified offset is now accessable at romBase[offset].

## Overview

Overview makes sure that the ROM has at least the specified capacity, and that the ROM is uptodate from its start to at least the specified quadlet offset.

## See Also

### Miscellaneous

- [getIndexEntry](kernel/ioconfigdirectory/1811146-getindexentry.md)
- [getIndexKey](kernel/ioconfigdirectory/1811157-getindexkey.md)
- [getIndexType](kernel/ioconfigdirectory/1811166-getindextype.md)
- [getIndexValue](kernel/ioconfigdirectory/1811176-getindexvalue.md)
- [getKeySubdirectories](kernel/ioconfigdirectory/1811186-getkeysubdirectories.md)
- [getKeyType](kernel/ioconfigdirectory/1811199-getkeytype.md)
- [getKeyValue](kernel/ioconfigdirectory/1811212-getkeyvalue.md)
- [getSubdirectories](kernel/ioconfigdirectory/1811222-getsubdirectories.md)
