Remove refencenes to defunct zx_log_create Change-Id: I70b48e89c0d26ba1228dbd24e40bf23af7966ea0
diff --git a/executor/syscalls_fuchsia.h b/executor/syscalls_fuchsia.h index 6967155..06040b7 100644 --- a/executor/syscalls_fuchsia.h +++ b/executor/syscalls_fuchsia.h
@@ -89,7 +89,6 @@ {"zx_handle_replace", 0, (syscall_t)zx_handle_replace}, {"zx_job_create", 0, (syscall_t)zx_job_create}, {"zx_job_set_policy", 0, (syscall_t)zx_job_set_policy}, - {"zx_log_create", 0, (syscall_t)zx_log_create}, {"zx_log_read", 0, (syscall_t)zx_log_read}, {"zx_log_write", 0, (syscall_t)zx_log_write}, {"zx_nanosleep", 0, (syscall_t)zx_nanosleep}, @@ -259,7 +258,6 @@ {"zx_handle_replace", 0, (syscall_t)zx_handle_replace}, {"zx_job_create", 0, (syscall_t)zx_job_create}, {"zx_job_set_policy", 0, (syscall_t)zx_job_set_policy}, - {"zx_log_create", 0, (syscall_t)zx_log_create}, {"zx_log_read", 0, (syscall_t)zx_log_read}, {"zx_log_write", 0, (syscall_t)zx_log_write}, {"zx_nanosleep", 0, (syscall_t)zx_nanosleep},
diff --git a/sys/fuchsia/gen/amd64.go b/sys/fuchsia/gen/amd64.go index 2381190..e6f1681 100644 --- a/sys/fuchsia/gen/amd64.go +++ b/sys/fuchsia/gen/amd64.go
@@ -595,10 +595,6 @@ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "policy", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "zx_policy_basic"}}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "count", TypeSize: 8}}, Buf: "policy"}, }}, - {Name: "zx_log_create", CallName: "zx_log_create", Args: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "log_create_options", FldName: "options", TypeSize: 8}}, Vals: []uint64{1073741824}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "out", TypeSize: 8}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "zx_log", TypeSize: 4, ArgDir: 1}}}, - }}, {Name: "zx_log_read", CallName: "zx_log_read", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "zx_log", FldName: "handle", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "ptr"},
diff --git a/sys/fuchsia/gen/arm64.go b/sys/fuchsia/gen/arm64.go index aebac76..b0ad159 100644 --- a/sys/fuchsia/gen/arm64.go +++ b/sys/fuchsia/gen/arm64.go
@@ -595,10 +595,6 @@ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "policy", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "zx_policy_basic"}}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "count", TypeSize: 8}}, Buf: "policy"}, }}, - {Name: "zx_log_create", CallName: "zx_log_create", Args: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "log_create_options", FldName: "options", TypeSize: 8}}, Vals: []uint64{1073741824}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "out", TypeSize: 8}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "zx_log", TypeSize: 4, ArgDir: 1}}}, - }}, {Name: "zx_log_read", CallName: "zx_log_read", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "zx_log", FldName: "handle", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "ptr"},
diff --git a/sys/fuchsia/log.txt b/sys/fuchsia/log.txt index 2511bcb..645ffa9 100644 --- a/sys/fuchsia/log.txt +++ b/sys/fuchsia/log.txt
@@ -7,7 +7,6 @@ resource zx_log[zx_handle] # TODO: do we need root resource for this? kernel actually has debuglog_create syscall that accepts resource... -zx_log_create(options flags[log_create_options], out ptr[out, zx_log]) zx_log_write(handle zx_log, len len[ptr], ptr ptr[in, array[int8]], options int32) zx_log_read(handle zx_log, len len[ptr], ptr ptr[out, array[int8]], options int32)