1
0
mirror of https://github.com/DoctorWkt/unix-jun72.git synced 2026-03-07 19:50:44 +00:00

- fix utf8 characters.

This commit is contained in:
tim.newsham
2008-04-27 17:10:38 +00:00
parent d38dc202a4
commit 44abf1e2cb
3 changed files with 4 additions and 4 deletions

View File

@@ -24,7 +24,7 @@ sysent:
mov -(r0),r0 / sys inst in r0 10400xxx
sub $sys,r0 / get xxx code
asl r0 / multiply by 2 to jump indirect in bytes
cmp r0,$2f1f / limit of table (35) exceeded
cmp r0,$2f-1f / limit of table (35) exceeded
bhis badsys / yes, bad system call
bic $341,20.(sp) / set users processor priority to 0 and clear
/ carry bit

View File

@@ -23,7 +23,7 @@ sysret:
bne sysexit / of an error? yes, go to sysexit
mov u.sp,sp / no point stack to users stack
clr r1 / zero r1 to check last mentioned i-node
jsr r0,iget / if last mentioned inode has been modified
jsr r0,iget / if last mentioned i-node has been modified
/ it is written out
tstb smod / has the super block been modified
beq 1f / no, 1f

View File

@@ -9,7 +9,7 @@
badsys:
incb u.bsys / turn on the user's bad system flag
mov $3f,u.namep / point u.namep to "core\0\O"
jsr r0,namei / get the inumber for the core image file
jsr r0,namei / get the i-number for the core image file
br 1f / error
neg r1 / negate the i-number to open the core image file
/ for writing
@@ -47,7 +47,7 @@ sysexit: / terminate process
movb u.uno,r1 / yes, move dying process's number to r1
clrb p.stat-1(r1) / free the process
asl r1 / use r1 for index into the below tables
mov p.pid2(r1),r3 / move dying process's name to r3
mov p.pid-2(r1),r3 / move dying process's name to r3
mov p.ppid-2(r1),r4 / move its parents name to r4
clr r2
clr r5 / initialize reg