Changeset 5e629ad4 in mainline
- Timestamp:
- 2022-01-31T15:50:14Z (3 years ago)
- Branches:
- master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 50c8e72, c6d8c535
- Parents:
- 7fc81da
- git-author:
- Jiri Svoboda <jiri@…> (2022-01-30 03:44:31)
- git-committer:
- Jiri Svoboda <jiri@…> (2022-01-31 15:50:14)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/cpu/cpu.c
r7fc81da r5e629ad4 71 71 void fpu_disable(void) 72 72 { 73 write_cr0(read_cr0() & ~CR0_TS);73 write_cr0(read_cr0() | CR0_TS); 74 74 } 75 75 76 76 void fpu_enable(void) 77 77 { 78 write_cr0(read_cr0() |CR0_TS);78 write_cr0(read_cr0() & ~CR0_TS); 79 79 } 80 80
Note:
See TracChangeset
for help on using the changeset viewer.