Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hirbodbehnam/uefi-sse
Use SSE instructions in UEFI via inline assembly
https://github.com/hirbodbehnam/uefi-sse
Last synced: 14 days ago
JSON representation
Use SSE instructions in UEFI via inline assembly
- Host: GitHub
- URL: https://github.com/hirbodbehnam/uefi-sse
- Owner: HirbodBehnam
- License: mit
- Created: 2023-08-14T12:26:54.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-08-14T13:12:27.000Z (about 1 year ago)
- Last Synced: 2024-04-24T12:56:48.312Z (7 months ago)
- Language: C
- Homepage:
- Size: 39.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# UEFI SSE
Proof of concept to use SSE instruction (XMM/YMM registers) in UEFI environmnet.## Building
At first, clone this repo and submodules of it:
```bash
git clone --recurse-submodules https://github.com/HirbodBehnam/UEFI-SSE.git
```
Now, simply navigate to `UEFI-SSE` folder and use `make` to build the project.### Intel Syntax Error
You might run into a problem which roots in me writing and assembling in Intel syntax because fuck AT&T. If you run into this problem, remove the `-masm=intel`, compile the project (this will compile the `posix-uefi` library) and then add it again and make the project again. From now on, you can just leave the `-masm=intel` there.
## Running
To run this project, I used qemu, ovmf and uefi-run. After installing all of them, you can run the application with this command:
```bash
uefi-run -b /usr/share/qemu/OVMF.fd sse-enable.efi
```