Skip to content

Commit 3c033da

Browse files
chanbengzdavide125
authored andcommitted
Fix typos
Signed-off-by: chanbengz <chanben04gz@gmail.com>
1 parent 3d71366 commit 3c033da

8 files changed

Lines changed: 12 additions & 12 deletions

File tree

docs/alt/policy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ unstable package stream) within 2 weeks of becoming available upstream.
7272
## Installation procedure
7373
Asahi Linux uses Das U-Boot's UEFI environment to chainload standard UEFI
7474
bootloaders, such as GRUB and systemd-boot. The Asahi Installer is capable
75-
of setting up a minial UEFI-only environment capable of booting UEFI
75+
of setting up a minimal UEFI-only environment capable of booting UEFI
7676
executables on removable media. This provides users an installation
7777
experience that is almost identical to a standard amd64-based workstation.
7878
Building Apple Silicon support into your distro's existing AArch64 bootable
@@ -170,7 +170,7 @@ installation tooling sufficiently foolproof on Apple Silicon devices, we _may_ r
170170
the need to support the image-based installation flow going forward.
171171

172172
## Disendorsement
173-
Through dilligent QA and attention to detail, Asahi Linux has
173+
Through diligent QA and attention to detail, Asahi Linux has
174174
become well-regarded as one of the best desktop Linux experiences available.
175175
This is a great source of pride for us, and we are determined to meet the high
176176
user expectations that come with such a reputation. We expect officially

docs/fw/adt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ copy the im4p file from the below directory. See [Devices](../hw/devices/device-
5454

5555
`/System/Volumes/Preboot/[UUID]/restore/Firmware/all_flash/DeviceTree.{model}.im4p`
5656

57-
If the dir doesn't exist try disabling csrutil in recovery mode, going to settings and enabling terminal to acces all files, or start from `Volumes/Macintosh HD/` because it may be symlinked. If it's still not accessible, try good ol `sudo find . -type f -name '*.im4p'`.
57+
If the dir doesn't exist try disabling csrutil in recovery mode, going to settings and enabling terminal to access all files, or start from `Volumes/Macintosh HD/` because it may be symlinked. If it's still not accessible, try good ol `sudo find . -type f -name '*.im4p'`.
5858

5959
then use img4tool to extract the im4p file into a .bin file e.g.
6060
```

docs/fw/macho-boot-protocol.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,6 @@ When running m1n1 initially, the relevant memory looks like this:
121121
+==========================+ <-- boot_args->top_of_kdata + boot_args->mem_size
122122
```
123123

124-
m1n1's heapblock area (used as a backend for malloc, and for loading payloads) starts at `boot_args.top_of_kdata` and has no bound at this time. When using proxyclient, ProxyUtils will set up a Python heap base 128MiB above whatever the current heapblock top is, which means m1n1 can use up to 128MiB of additional memory before it runs into Python-side structures. Note that fresh executions of the Python side will re-initialize their heap starting at whatever the current m1n1 end is, so e.g. m1n1-side memory leaks on each Python excecution are not an immediate problem until you run out of total RAM.
124+
m1n1's heapblock area (used as a backend for malloc, and for loading payloads) starts at `boot_args.top_of_kdata` and has no bound at this time. When using proxyclient, ProxyUtils will set up a Python heap base 128MiB above whatever the current heapblock top is, which means m1n1 can use up to 128MiB of additional memory before it runs into Python-side structures. Note that fresh executions of the Python side will re-initialize their heap starting at whatever the current m1n1 end is, so e.g. m1n1-side memory leaks on each Python execution are not an immediate problem until you run out of total RAM.
125125

126126
When chainloading another Mach-O payload, the next stage overwrites m1n1 in-place. The chainload.py Mach-O loading code skips the padding end of the m1n1 payload section (except 4 zero bytes as a marker), so SEP firmware and BootArgs follow directly in what would've otherwise been the m1n1 payload area, saving RAM. Relocating the SEP firmware is optional; if it is not enabled, it remains where it is, and top_of_kdata is kept untouched. Unless m1n1 grows by more than the size of its payload region, this should be safe.

docs/hw/soc/agx.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Data structures: see [cmdqueue.py](https://github.com/AsahiLinux/m1n1/blob/main/
109109

110110
### Micro Sequences
111111

112-
The ASC firmware contains a command sequencer that can run fairly complext "scripts" as part of work commands, but it is usually used in a fairly basic manner. These sequences are packed buffers of commands that are executed as part of a work item. The typical sequence is:
112+
The ASC firmware contains a command sequencer that can run fairly complex "scripts" as part of work commands, but it is usually used in a fairly basic manner. These sequences are packed buffers of commands that are executed as part of a work item. The typical sequence is:
113113

114114
* Start (3D/TA/CP)
115115
* Write Timestamp
@@ -163,7 +163,7 @@ The TA work usually looks like this:
163163

164164
#### Initialize Heap Manager
165165

166-
Needed the first time or when the heap size changes. Tells the GPU that the CPU re-initialized the management struture.
166+
Needed the first time or when the heap size changes. Tells the GPU that the CPU re-initialized the management structure.
167167

168168
There is an unknown context-related ID involved. This might be a heap manager ID? The (new) TA stamp value is also passed.
169169

docs/hw/soc/asc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ title: ASC
1919
0 - CPU_IDLE
2020
2121
0x400
22-
10 - set when the CPU is started (probaby by firmware)
22+
10 - set when the CPU is started (probably by firmware)
2323
2424
0x80c - IRQ_CONFIG
2525
0 - IRQ_CONTROLLER_ENABLE

docs/project/glossary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ If you want to collect a large set of terms specific to a sub-field (such as GPU
6666
* **iBSS**: iBoot Single Stage. Replacement for the first-stage iBoot (iBoot1/LLB), loaded in the DFU boot flow when the NOR is corrupted.
6767
* **IOKit**: I/O Kit is Apple's device driver framework for XNU (Apple's operating system kernel).
6868
* **IOMMU**: I/O Memory Management Unit, a more general term for Apple's DART.
69-
* **IPI**: Inter-processor interupt. An interrupt used by one processor to interrupt another.
69+
* **IPI**: Inter-processor interrupt. An interrupt used by one processor to interrupt another.
7070
* **iSC**: iBoot System Container. A disk partition (usually first on the internal SSD) containing the system wide boot data. (See [Stock Partition Layout](../platform/stock-partition-layout.md))
7171
* **ISP**: Image Signal Processor. Webcam on M-series laptops. Denotes the entire camera unit, from sensors to strobe to the coprocessor.
7272

docs/sw/m1n1-hypervisor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Here are some numbers from some experiment with macOS `11.5.2` and m1n1 version
131131

132132
## Updating your m1n1 hypervisor tree
133133

134-
The hypervisor/m1n1 ABI is *not* stable. If you have installed a fresh m1n1 build as above, you can use `run_guest.py` directy to save some time. However, as soon as you update your m1n1 git tree, you *must* build the updated m1n1 and run
134+
The hypervisor/m1n1 ABI is *not* stable. If you have installed a fresh m1n1 build as above, you can use `run_guest.py` directly to save some time. However, as soon as you update your m1n1 git tree, you *must* build the updated m1n1 and run
135135
```
136136
python tools/chainload.py -r ../build/m1n1.bin
137137
```

docs/sw/tethered-boot-macos-host.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This guide will give more details about tethered boot prerequisites setup for a
1111
Host's requirements:
1212

1313
* Any Apple computer running a decently recent MacOs version
14-
* Enough disk space on the host for installing and commpiling software
14+
* Enough disk space on the host for installing and compiling software
1515
* a free USB port on the host
1616
* a USB-A/USB-C or USB-C/USB-C cable
1717
* [prerequisites installed](#installing-prerequisite-software)
@@ -126,7 +126,7 @@ pyserial-ports is /usr/local/bin/pyserial-ports
126126

127127
### Installing picocom
128128

129-
A serial port communication software is required to establish communication with m1n1 proxy. We recommend installing `picocom` for use as a serial terminal, which is vailable with homebrew:
129+
A serial port communication software is required to establish communication with m1n1 proxy. We recommend installing `picocom` for use as a serial terminal, which is available with homebrew:
130130

131131
```shell
132132
brew install picocom
@@ -149,7 +149,7 @@ brew install img4tool
149149

150150
If you intend to boot a stock macOS kernel, you'll need these tools to extract the actual kernel file from the kernlecache of a macOS install on the target machine. In the absence of precompiled version for macOS you'll have to compile it.
151151

152-
For this step, setup a `asahi` folder in your home directory and clone everything there, additionaly install everything in an `~/asahi/deps` folder so as to not mess up with the rest of the system.
152+
For this step, setup a `asahi` folder in your home directory and clone everything there, additionally install everything in an `~/asahi/deps` folder so as to not mess up with the rest of the system.
153153

154154
First clone, build and install `libgeneral`
155155

0 commit comments

Comments
 (0)